/* ==========================================================================
   Contact page 2026 — Figma "Contact Us" (node 11418:9671)
   Loaded after ak-2026-base.css (tokens, .v2-field, .v2-chip, form states).
   The nav and the footer (wordmark band + columns + Get To Know Us) are the
   shared 2026 shell; this file styles only the hero and the Reach Us grid.
   All sizes are the Figma 1920-canvas values ×0.75 (the frame is a 1440 design).
   ========================================================================== */

.cx2026 {
  background: var(--ak26-surface);
  color: var(--ak26-ink);
  font-family: var(--ak26-font);
  overflow-x: clip;
}

/* The brand gradient as a text fill, matching the Figma hero heading (a smooth
   teal-to-deep-green vertical wash, not the homepage particle wave). */
.cx-grad {
  display: inline-block;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  background-image: linear-gradient(180deg, #2c7a8c 0%, #0f4c5c 46%, #072a24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Hero: avatars eyebrow, "Let's Talk!", lede, then the quote card
   -------------------------------------------------------------------------- */

.cx-hero {
  padding-block: clamp(32px, 5vw, 56px) clamp(48px, 6vw, 72px);
}

.cx-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 40px;
}

.cx-eyebrow-avatars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
}

.cx-avatars {
  display: inline-flex;
  align-items: center;
}

.cx-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cx-avatars img + img {
  margin-left: -9px;
}

.cx-hero__title {
  margin: 0;
  font-size: clamp(46px, 6.6vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cx-hero__lede {
  max-width: 640px;
  margin: 0;
  font-size: clamp(15px, 1.6vw, 16.5px);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   Quote card: dark scope panel (left) + form (right) in one white card
   -------------------------------------------------------------------------- */

.cx-quote {
  display: flex;
  gap: 9px;
  max-width: 977px;
  margin: 0 auto;
  padding: 9px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

/* ----- left scope panel ----- */
.cx-quote__panel {
  position: relative;
  flex: 0 0 459px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 5vh, 56px);
  padding: 60px 36px 36px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(131deg, #051c21 14%, #0f4c5c 54%, #2c7a8c 86%);
}

/* soft glow top, faint rings bottom-right (Figma BG / Glow + BG / Ring) */
.cx-quote__panel::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 110px;
  width: 300px;
  height: 230px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(66, 226, 222, 0.35) 0%, rgba(66, 226, 222, 0) 70%);
  pointer-events: none;
}

.cx-quote__panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cx-quote__panel > * {
  position: relative;
  z-index: 1;
}

.cx-scope-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.9px;
}

.cx-scope-sub {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.cx-promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cx-promises li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
}

.cx-promises svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.cx-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
}

.cx-rating__num {
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
}

.cx-rating__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cx-stars {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #ffc740;
}

.cx-rating__src {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ----- right form column ----- */
.cx-quote__form {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  scroll-margin-top: calc(var(--header, 96px) + 16px);
}

.cx-form .v2-field { margin-bottom: 0; }
.cx-form .v2-chips { margin: 0; }

.cx-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cx-form .v2-row2 { gap: 0 12px; }

.cx-form label,
.cx-form legend {
  font-size: 12px;
  font-weight: 500;
  color: rgba(18, 18, 18, 0.8);
  margin-bottom: 8px;
}

/* Figma inputs: faint grey fill, barely-there border, soft 12px radius */
.cx-form .v2-field input,
.cx-form .v2-field textarea {
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  font-size: 13.5px;
}

.cx-form .v2-field textarea {
  min-height: 72px;
  padding-top: 15px;
}

.cx-form .v2-field input:hover,
.cx-form .v2-field textarea:hover { border-color: rgba(0, 0, 0, 0.14); }

.cx-form .v2-field input:focus,
.cx-form .v2-field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44, 122, 140, 0.16);
}

.cx-form .v2-chip-row { gap: 8px; }

.cx-form .v2-chip span {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13.5px;
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(18, 18, 18, 0.75);
}

/* submit: gradient pill with a circular arrow, right-aligned (Figma Submit Row) */
.cx-submit-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.cx-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 61.5px;
  padding: 6px 8px 6px 29px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.33px;
  background-image:
    linear-gradient(173deg, rgba(22, 76, 89, 0.2) 15%, rgba(42, 226, 222, 0.2) 88%),
    linear-gradient(90deg, #0f4c5c 0%, #2c7a8c 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ak26-ease), filter 0.2s var(--ak26-ease);
}

.cx-submit:hover { transform: translateY(-2px); filter: brightness(1.06); }
.cx-submit:active { transform: translateY(0); }
.cx-submit[disabled] { opacity: 0.7; cursor: default; transform: none; }

.cx-submit__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  flex-shrink: 0;
}

.cx-form-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.cx-form-foot svg { flex-shrink: 0; }

/* success state (ak-quote.js toggles .is-done on the [data-ak-quote] wrapper) */
.cx-quote__form .ak-success { display: none; }
.cx-quote__form.is-done form { display: none; }
.cx-quote__form.is-done .ak-success { display: block; }
.cx-quote__form .ak-success h3 { margin: 0 0 8px; font: 600 22px var(--ak26-font); color: var(--ok); }
.cx-quote__form .ak-success p { margin: 0 0 12px; font: 400 15px/1.6 var(--ak26-font); color: var(--body); }

/* --------------------------------------------------------------------------
   Reach Us: heading row + 4 channel cards
   -------------------------------------------------------------------------- */

.cx-reach {
  padding-block: clamp(48px, 6vw, 72px);
}

.cx-reach__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.cx-eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.27px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
}

.cx-reach__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cx-reach__note {
  flex-shrink: 0;
  max-width: 320px;
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.55);
}

.cx-reach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cx-card {
  display: flex;
  flex-direction: column;
  padding: 27px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s var(--ak26-ease), background-color 0.22s, box-shadow 0.22s;
}

a.cx-card:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.065);
  box-shadow: 0 16px 36px rgba(15, 76, 92, 0.12);
}

.cx-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.cx-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  flex-shrink: 0;
}

.cx-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  background-image: linear-gradient(90deg, #0f4c5c 0%, #2c7a8c 100%);
  transition: transform 0.22s var(--ak26-ease);
}

a.cx-card:hover .cx-card__arrow { transform: translate(2px, -2px); }

.cx-card__label {
  margin: 0 0 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.65);
}

.cx-card__value {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.48px;
  color: #000;
  word-break: break-word;
}

.cx-card__desc {
  margin: 15px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
}

.cx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cx-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}

.cx-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Responsive — small laptop, tablet, mobile (incl. landscape)
   -------------------------------------------------------------------------- */

/* small laptop / large tablet: reach grid to two columns */
@media (max-width: 1199.98px) {
  .cx-reach__grid { grid-template-columns: repeat(2, 1fr); }
}

/* tablet / mobile landscape: scope panel stacks above the form */
@media (max-width: 991.98px) {
  .cx-quote { flex-direction: column; }
  .cx-quote__panel {
    flex: 0 0 auto;
    gap: 24px;
    padding: 40px 28px;
  }
  .cx-quote__panel::after { right: -160px; bottom: -180px; }
  .cx-quote__form { padding: 32px 28px; }
}

@media (max-width: 767.98px) {
  .cx-reach__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cx-reach__note { max-width: none; margin-bottom: 0; }
}

/* mobile portrait: single-column cards + form fields */
@media (max-width: 575.98px) {
  .cx-reach__grid { grid-template-columns: 1fr; }
  .cx-quote { padding: 7px; border-radius: 18px; }
  .cx-quote__panel { padding: 32px 22px; border-radius: 12px; }
  .cx-quote__form { padding: 26px 20px; }
  .cx-form .v2-row2 { grid-template-columns: 1fr; gap: 15px 0; }
  .cx-submit { width: 100%; justify-content: space-between; padding-left: 24px; }
  .cx-card { padding: 22px; }
}
