/* Contact page — dedicated layout */
.page-contact {
  background: #f4f7fc;
}

.page-contact .nav__link.is-active {
  color: var(--h2-blue, #0066ff);
}

.page-contact #contact {
  scroll-margin-top: calc(var(--header-h, 72px) + 16px);
}

.contact-page {
  position: relative;
  padding: calc(var(--header-h, 72px) + clamp(32px, 6vw, 56px)) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
}

.contact-page__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(0, 102, 255, .14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(96, 165, 250, .12), transparent 50%),
    linear-gradient(180deg, #eef4ff 0%, #f4f7fc 42%, #fff 100%);
}

.contact-page__ambient::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, .12), transparent);
}

.contact-page__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-page__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--h2-blue, #0066ff);
  margin-bottom: 14px;
}

.contact-page__kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--h2-blue, #0066ff);
}

.contact-page__title {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.18;
  color: var(--h2-ink, #0f172a);
  max-width: 14ch;
}

.contact-page__title-accent {
  display: block;
  margin-top: 0.06em;
  line-height: 1.22;
  padding-bottom: 0.12em;
  color: #0066ff;
  background: linear-gradient(100deg, #0066ff 0%, #2563eb 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.contact-page__lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: #475569;
  max-width: 46ch;
}

.contact-page__direct {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  max-width: 46ch;
}

.contact-page__direct a {
  color: var(--h2-blue, #0066ff);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page__direct a:hover {
  color: #0052cc;
}

.contact-page__signals {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-page__signal {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(226, 232, 240, .9);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

.contact-page__signal .ico {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--h2-blue, #0066ff);
  flex-shrink: 0;
}

.contact-page__signal span {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--h2-muted, #64748b);
  margin-top: 2px;
}

.contact-page__book {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a2d6b 0%, #1e43c1 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(30, 67, 193, .25);
}

.contact-page__book p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .92);
}

.contact-page__book .btn {
  background: #fff;
  color: #1e43c1;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.contact-page__book .btn:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.contact-page__highlight {
  margin: 32px 0 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .14);
  max-width: 520px;
  color: #fff;
}

.contact-page__highlight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  pointer-events: none;
}

.contact-page__highlight-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(10, 45, 107, .92) 0%, rgba(30, 67, 193, .78) 45%, rgba(0, 102, 255, .55) 100%);
  pointer-events: none;
}

.contact-page__highlight-body {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3.5vw, 28px);
}

.contact-page__highlight-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 10px;
}

.contact-page__highlight-lead {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255, 255, 255, .95);
  max-width: 38ch;
}

.contact-page__highlight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
}

.contact-page__highlight-stats div {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  text-align: center;
}

.contact-page__highlight-stats dt {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.contact-page__highlight-stats dd {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, .85);
}

.contact-page__highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page__highlight-link:hover {
  color: #e0eaff;
}

.contact-page__highlight-link .ico {
  transition: transform .2s ease;
}

.contact-page__highlight-link:hover .ico {
  transform: translateX(3px);
}

.contact-page__panel {
  position: sticky;
  top: calc(var(--header-h, 72px) + 20px);
}

.contact-page__form {
  padding: clamp(26px, 3.5vw, 32px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, .04),
    0 20px 50px rgba(15, 23, 42, .08);
}

.contact-page__form-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--h2-line, #e2e8f0);
}

.contact-page__form-head .h2-contact-form__title {
  font-size: 22px;
  letter-spacing: -.03em;
}

.contact-page__form-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--h2-muted, #64748b);
  line-height: 1.5;
}

/* Override floating labels → static labels on contact page */
.page-contact .contact-page__form .field label {
  position: static;
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  pointer-events: auto;
}

.page-contact .contact-page__form .field input,
.page-contact .contact-page__form .field textarea {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--h2-line, #e2e8f0);
  background: #f8fafc;
  font-size: 15px;
}

.page-contact .contact-page__form .field input:focus,
.page-contact .contact-page__form .field textarea:focus {
  background: #fff;
  border-color: var(--h2-blue, #0066ff);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, .1);
}

.page-contact .contact-page__form .field input::placeholder,
.page-contact .contact-page__form .field textarea::placeholder {
  color: transparent;
}

.page-contact .contact-page__form .h2-contact-form__field--select select {
  padding: 13px 14px;
  font-size: 15px;
  background: #f8fafc;
}

.page-contact .contact-page__form .h2-contact-form__submit {
  margin-top: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 16px;
  border-radius: 12px;
}

.page-contact .contact-page__form .h2-contact-form__note {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.page-contact .contact-page__form .h2-contact-form__note .ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
}

.contact-page__steps {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 36px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--h2-line, #e2e8f0);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}

.contact-page__steps-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--h2-blue, #0066ff);
  margin-bottom: 20px;
}

.contact-page__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-page__step {
  display: grid;
  gap: 8px;
}

.contact-page__step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--h2-blue, #0066ff);
  background: rgba(0, 102, 255, .08);
}

.contact-page__step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--h2-ink, #0f172a);
}

.contact-page__step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--h2-muted, #64748b);
}

.page-contact .h2-contact-calendly {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

.page-contact .h2-contact-form__success {
  padding: 24px 8px;
}

.page-contact .h2-contact-form__success-title {
  font-size: 24px;
}

@media (max-width: 1024px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }
  .contact-page__panel {
    position: static;
  }
  .contact-page__title {
    max-width: none;
  }
  .contact-page__highlight {
    max-width: none;
  }
  .contact-page__steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .contact-page__signal {
    padding: 12px 14px;
  }
  .contact-page__highlight {
    margin-top: 24px;
  }

  .contact-page__highlight-stats {
    grid-template-columns: 1fr;
  }

  .contact-page__highlight-stats div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 12px 14px;
  }

  .contact-page__highlight-stats dd {
    margin: 0;
    text-align: right;
    max-width: 12rem;
  }
}
