/**
 * pages.css - page sections and marketing components
 */

main {
  position: relative;
}

.page-banner,
.hero-full,
.section-padding {
  position: relative;
}

.page-banner {
  overflow: hidden;
}

.page-banner::before,
.hero-full::before,
.page-section-alt::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(
    circle,
    rgba(113, 151, 215, 0.08),
    transparent 72%
  );
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.page-banner::after,
.hero-full::after,
.page-section-alt::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(
    circle,
    rgba(136, 204, 196, 0.08),
    transparent 74%
  );
  filter: blur(20px);
  opacity: 0.65;
  pointer-events: none;
}

.page-section-title {
  position: relative;
  display: inline-block;
  padding-left: 1rem;
  margin-bottom: 0.85rem;
  font-size: var(--font-size-2xl);
  font-family: var(--font-display);
  font-weight: 700;
}

.page-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

.page-section-desc {
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

.page-banner {
  padding-top: 1rem;
}

.page-banner .section-padding,
.hero-full {
  z-index: 1;
}

.page-banner-title {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: var(--color-heading);
  text-wrap: balance;
}

.page-banner-subtitle {
  max-width: 44rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.page-banner-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-banner-heading .page-link-primary {
  margin-left: auto;
}

.about-banner-heading {
  margin-bottom: 1.5rem;
}

.about-banner-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.about-banner-copy {
  margin-bottom: 24px;
  color: #4e5f78;
  font-size: 1.06rem;
  line-height: 1.7;
  font-weight: 400;
}

.about-banner-copy:last-of-type {
  margin-bottom: 0;
}

.hero-full {
  padding-top: 0;
}

.hero-full-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: clamp(28rem, 72vh, 42rem);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #dce8f8;
  box-shadow: none;
}

.hero-full-slides,
.hero-full-slide {
  position: absolute;
  inset: 0;
}

.hero-full-slide {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-full-slide.is-active {
  opacity: 1;
}

.hero-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(241, 245, 249, 0.72) 0%,
    rgba(244, 247, 251, 0.58) 24%,
    rgba(247, 250, 253, 0.32) 46%,
    rgba(250, 252, 254, 0.12) 66%,
    rgba(255, 255, 255, 0.03) 100%
  );
}

.hero-full-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-full-title {
  max-width: 50ch;
  margin-bottom: 1rem;
  color: #081224;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-full-title1 {
  max-width: 50ch;
  margin-bottom: 1rem;
  color: white;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-full-subtitle {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  color: #223247;
  font-size: clamp(1.15rem, 1.4vw, 1.38rem);
  line-height: 1.82;
  font-weight: 500;
}

.hero-full-btns,
.page-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.page-link-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid rgba(18, 58, 122, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-primary);
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.page-link-outline:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 58, 122, 0.28);
  background: #fff;
}

.page-link-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #184d9a 0%, #123a7a 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(18, 58, 122, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.page-link-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 58, 122, 0.24);
}

.hero-full-indicators,
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.hero-full-indicators {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.hero-full-indicator,
.carousel-dot {
  width: 0.58rem;
  height: 0.58rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(18, 58, 122, 0.2);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    width 0.2s ease;
}

.hero-full-indicator.is-active,
.carousel-dot.is-active {
  width: 1.75rem;
  background: var(--color-primary);
}

.page-section-alt {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.52),
      rgba(255, 255, 255, 0.3)
    ),
    var(--color-bg-alt);
}

.page-card,
.page-stat,
.page-media-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 33, 66, 0.08);
  background: var(--color-surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.page-card,
.page-media-wrap {
  border-radius: var(--radius-lg);
}

.page-stat {
  border-radius: 1.2rem;
  padding: 1.15rem 1.2rem;
}

.page-stat--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: none;
}

.page-stat--logo img {
  width: auto;
  height: 8rem;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.about-logo-block {
  margin-top: 30px;
  margin-bottom: 0;
}

.about-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 2rem;
}

.page-stat--logo::before {
  display: none;
}

.page-stat--logo:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.about-logo-slogan {
  margin-top: 16px;
  margin-bottom: 0;
  color: rgba(17, 33, 66, 0.5);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

.page-card::before,
.page-stat::before,
.page-media-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.26),
    transparent 45%
  );
  pointer-events: none;
}

.page-card:hover,
.page-stat:hover,
.page-media-wrap:hover {
  border-color: rgba(18, 58, 122, 0.18);
  box-shadow: var(--shadow-md);
}

a.page-card-link {
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}

a.page-card-link > .page-card {
  flex: 1;
}

a.page-card-link:hover {
  transform: translateY(-4px) scale(1.02);
}

.page-card-body {
  padding: 1.5rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

.preview-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.preview-card__media {
  position: relative;
  overflow: hidden;
}

.preview-card img {
  aspect-ratio: 16 / 10;
}

.preview-card__hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(8, 18, 36, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) translateY(0.4rem);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    color 0.24s ease;
  pointer-events: none;
}

.preview-card__hover::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(0.02rem) rotate(45deg);
}

.group:hover .preview-card__hover,
.group:focus-visible .preview-card__hover {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.preview-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 36, 0) 0%,
    rgba(8, 18, 36, 0.12) 45%,
    rgba(8, 18, 36, 0.22) 100%
  );
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.group:hover .preview-card__media::after,
.group:focus-visible .preview-card__media::after {
  opacity: 1;
}

.preview-card .page-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.preview-card .page-card-title {
  font-size: 1.05rem;
}

.preview-card .page-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-card-title {
  margin-bottom: 0.55rem;
  color: var(--color-heading);
  font-size: var(--font-size-lg);
  line-height: 1.35;
}

.page-card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.workflow-visual {
  width: 100%;
}

.workflow-visual__desktop {
  display: none;
}

.workflow-visual__mobile,
.workflow-visual__desktop {
  width: 100%;
}

.workflow-visual__image {
  width: 100%;
  max-width: 38rem;
  height: auto;
  margin: 0 auto;
}

.workflow-visual__mobile .workflow-visual__image {
  max-width: 15rem;
}

@media (min-width: 768px) {
  .workflow-visual__desktop {
    display: block;
  }

  .workflow-visual__mobile {
    display: none;
  }

  .workflow-visual__image {
    max-width: 64rem;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 14px 26px rgba(17, 33, 66, 0.12);
}

.feature-card__title {
  margin-top: 0;
  margin-bottom: 0;
}

.feature-card__icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.feature-card__icon--primary {
  background: linear-gradient(135deg, #4b5ca8 0%, #2d3f87 100%);
}

.feature-card__icon--secondary {
  background: linear-gradient(135deg, #43a89a 0%, #257e78 100%);
}

.feature-card__icon--accent {
  background: linear-gradient(135deg, #f4bf66 0%, #e8a23a 100%);
}

.home-reasons-wrap {
  width: 100%;
}

.home-reasons {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.home-reasons__list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.home-reasons__list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: rgba(17, 33, 66, 0.12);
}

.home-reasons__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.4rem 0 1.4rem 1.6rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.home-reasons__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  bottom: 1.15rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--color-primary),
    var(--color-secondary)
  );
  opacity: 0;
  transform: scaleY(0.35);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.home-reasons__item + .home-reasons__item {
  border-top: 1px solid rgba(17, 33, 66, 0.08);
}

.home-reasons__item-inner {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-reasons__title {
  color: var(--color-heading);
  font-size: clamp(1.12rem, 1.36vw, 1.32rem);
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.home-reasons__desc {
  max-width: 34rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  transition: color 0.25s ease;
}

.home-reasons__item.is-active {
  opacity: 1;
  transform: translateX(0.2rem);
}

.home-reasons__item.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.home-reasons__item.is-active .home-reasons__title {
  color: var(--color-primary);
}

.home-reasons__item:focus-visible {
  outline: 2px solid rgba(18, 58, 122, 0.18);
  outline-offset: 0.3rem;
}

.home-reasons__visual {
  position: relative;
  min-height: clamp(20rem, 38vw, 31rem);
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(113, 151, 215, 0.22),
      transparent 42%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 250, 0.9));
  box-shadow: 0 28px 50px rgba(17, 33, 66, 0.1);
}

.home-reasons__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.8rem) scale(0.985);
  transition:
    opacity 0.95s ease,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1.1s ease;
}

.home-reasons__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.home-reasons__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-reasons__panel.is-active .home-reasons__image {
  transform: scale(1);
}

.home-reasons__item.is-active .home-reasons__desc {
  color: var(--color-text);
}

.home-reasons__panel,
.home-reasons__item {
  -webkit-tap-highlight-color: transparent;
}

.home-reasons__item[aria-selected="false"] .home-reasons__desc {
  color: rgba(34, 50, 71, 0.78);
}

@media (min-width: 1024px) {
  .home-reasons {
    grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.95fr);
    gap: 3rem;
  }
}

.page-stat-label {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-stat-value {
  color: var(--color-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Tech spec table — horizontal borders only */
.tech-table {
  border-collapse: collapse;
  width: 100%;
}

.tech-table th,
.tech-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(17, 33, 66, 0.1);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.tech-table thead th {
  border-bottom: 2px solid rgba(18, 58, 122, 0.2);
  color: var(--color-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.tech-table td {
  color: var(--color-text);
  font-size: 0.92rem;
}

.tech-table tbody tr:hover {
  background: rgba(18, 58, 122, 0.03);
}

.tech-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-media-wrap img {
  width: 100%;
  height: auto;
}

body[data-page="about"] .page-media-wrap img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-media-wrap.h-full {
  height: 100%;
}

.page-media-wrap.h-full img {
  height: 100%;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-side__media {
  flex: 0 0 auto;
}

.contact-side__panel {
  min-height: 0;
}

.contact-side__list {
  display: grid;
  gap: 0.85rem;
}

.contact-side__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(17, 33, 66, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.contact-side__item-title {
  color: var(--color-heading);
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-side__item-desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.carousel-dots {
  margin-top: 1.15rem;
}

@media (min-width: 768px) {
  .preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

form[data-validate] {
  padding: 1.5rem;
  border: 1px solid rgba(17, 33, 66, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

form[data-validate] input,
form[data-validate] textarea {
  width: 100%;
  border: 1px solid rgba(17, 33, 66, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

form[data-validate] input:focus,
form[data-validate] textarea:focus {
  border-color: rgba(18, 58, 122, 0.24);
  box-shadow: 0 0 0 4px rgba(18, 58, 122, 0.08);
  outline: 0;
}

@media (max-width: 767px) {
  .page-banner-heading {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .page-banner-heading .page-link-primary {
    margin-left: 0;
  }

  .page-banner-title,
  .hero-full-title {
    max-width: none;
  }

  .hero-full-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.12;
  }

  .hero-full-inner {
    width: 100%;
    min-height: 32rem;
    border-radius: 0;
  }

  .hero-full-overlay {
    background: linear-gradient(
      180deg,
      rgba(241, 245, 249, 0.78) 0%,
      rgba(244, 247, 251, 0.56) 42%,
      rgba(248, 250, 252, 0.18) 72%,
      rgba(255, 255, 255, 0.04) 100%
    );
  }

  .hero-full-content {
    justify-content: flex-end;
    padding-top: 3rem;
  }

  .home-reasons {
    gap: 1.5rem;
  }

  .home-reasons__item {
    padding-left: 1.25rem;
  }

  .home-reasons__visual {
    min-height: 16rem;
    border-radius: 1.35rem;
  }

  .page-banner-subtitle,
  .hero-full-subtitle {
    font-size: 1.06rem;
  }
}

.contact-page {
  position: relative;
}

.contact-hero {
  position: relative;
  height: clamp(20rem, 26vw, 22rem);
  overflow: hidden;
}

.contact-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero__overlay {
  display: none;
}

.contact-hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.contact-hero__eyebrow,
.contact-section-heading__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
}

.contact-hero__desc {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-breadcrumb {
  border-bottom: 1px solid rgba(17, 33, 66, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.contact-breadcrumb__text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-height: 4.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-breadcrumb__text a:hover {
  color: var(--color-primary);
}

.contact-section-heading {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.contact-section-heading__eyebrow {
  color: var(--color-primary);
}

.contact-section-heading__title {
  margin: 0.65rem 0 0;
  color: var(--color-heading);
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-section-heading__desc {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.contact-overview {
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(242, 247, 255, 0.92),
      rgba(233, 241, 251, 0.9)
    ),
    var(--color-bg-alt);
}

.contact-overview__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-overview__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 2rem 1.4rem 2.1rem;
  border: 1px solid rgba(17, 33, 66, 0.08);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-overview__card::before,
.contact-overview__card::after {
  content: "";
  position: absolute;
  top: 4rem;
  width: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(18, 58, 122, 0.16),
    transparent
  );
}

.contact-overview__card::before {
  left: -10%;
}

.contact-overview__card::after {
  right: -10%;
}

.contact-overview__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 1.8rem;
  box-shadow: 0 14px 30px rgba(17, 33, 66, 0.08);
}

.contact-overview__card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.contact-overview__card p,
.contact-overview__card span,
.contact-overview__card a {
  max-width: 19rem;
  margin: 0;
}

.contact-overview__card p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.contact-overview__card a,
.contact-overview__card span:last-child {
  color: var(--color-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-message {
  background: #fff;
}

.contact-message__form {
  padding: 2rem;
  border: 1px solid rgba(17, 33, 66, 0.08);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.contact-message__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.1rem;
}

.contact-message__grid-span {
  grid-column: 1 / -1;
}

.contact-message__input,
.contact-message__textarea {
  width: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(17, 33, 66, 0.1);
  border-radius: 0.95rem;
  background: #f7f9fc;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-message__input:focus,
.contact-message__textarea:focus {
  border-color: rgba(18, 58, 122, 0.24);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 58, 122, 0.08);
  outline: 0;
}

.contact-message__textarea {
  resize: vertical;
  min-height: 15rem;
}

.contact-message__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.contact-message__meta > div {
  width: 100%;
}

.contact-message__policy {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-message__submit {
  display: inline-flex;
  justify-content: center;
  width: min(100%, 30rem);
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
}

.contact-message__meta .btn-primary {
  width: min(100%, 12rem);
  min-height: 3.4rem;
  margin: 0 auto;
  padding: 1rem 2rem;
}

@media (min-width: 768px) {
  .contact-overview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-message__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-message__meta {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    height: 9rem;
  }

  .contact-hero__content {
    padding-top: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .contact-hero__title {
    font-size: 1.8rem;
  }

  .contact-hero__desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .contact-breadcrumb__text {
    min-height: 3.5rem;
    font-size: 0.88rem;
  }

  .contact-overview__card::before,
  .contact-overview__card::after {
    display: none;
  }

  .contact-message__form {
    padding: 1.25rem;
    border-radius: 1.5rem;
  }
}
