/* ============================================================
   Contact page redesign — dist/css/contact.css
   Figma: "Tigera Contact page" (desktop node 1:256, mobile node 1:12).
   Dedicated stylesheet (not shared with contact-lynx.css) — the new design
   (routed-form hero, "more ways to reach us" cards, dark office cards) has
   diverged enough to make page-id overrides on a shared file unmanageable.
   .ctc-* namespace, dep webstick-css (tokens, .section-container, .ti-btn).
   ============================================================ */

:root {
  --ctc-dark-bg: #1C1B1F;
  --ctc-office-border: #454444;
  --ctc-eyebrow-on-light: #06616D;
  --ctc-eyebrow-on-dark: #2899AA;
  --ctc-muted: #757575;
  --ctc-body-66: #484848;
}

/* ---- shared ---- */
/* Same container system every other 2026 page/section uses to line up with
   the fixed nav — #hn .hn-bar (header-2026.css) and .lx-wrap (lynx-2026.css)
   both resolve to this exact max-width:1240px box via margin:auto. Reusing
   the identical formula (not a hand-derived Figma number) is what actually
   keeps this page's content flush with the nav, at every viewport, the same
   way the nav itself scales. */
.ctc-container {
  --ctc-gutter: clamp(24px, 7.225vw - 4.04px, 100px);
  --ctc-max: 1240px;
  width: min(var(--ctc-max), 100% - 2 * var(--ctc-gutter));
  margin-inline: auto;
  position: relative;
}
.ctc-section {
  padding: 80px 0;
}
.ctc-eyebrow {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .075em;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.ctc-eyebrow--on-light { color: var(--ctc-eyebrow-on-light); }
.ctc-eyebrow--on-dark { color: var(--ctc-eyebrow-on-dark); }
.ctc-heading-xl {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.2px;
  color: var(--color-gray-900);
  margin: 0 0 20px;
}

/* ---- HERO + FORM ----
   .menu is sitewide position:fixed (webstick.css), so every first-section
   must self-provide top clearance — 120px matches the proven .cl-hero /
   .dty-hero convention used by the other clean-code templates. */
.ctc-hero {
  background: var(--color-white);
  /* 137 = 87 (real fixed .menu height) + 50 (Figma's post-header gap for this
     frame) — reproduces the Figma's intended 50px/82px gaps (eyebrow/form
     heading below the nav) exactly, rather than borrowing another
     template's clearance value. Measured 2026-11-08. */
  padding: 137px 0 80px;
}
.ctc-hero__container {
  display: flex;
  align-items: flex-start;
  gap: 62px;
}
.ctc-hero__intro {
  flex: 0 0 600px;
  max-width: 600px;
  padding: 60px 0;
}
.ctc-hero__headline {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.2px;
  color: var(--color-gray-900);
  margin: 0 0 20px;
}
.ctc-hero__highlight {
  color: var(--color-orange-500);
}
.ctc-hero__desc {
  font-size: 24px;
  line-height: 1.55;
  color: #000;
  margin: 0 0 20px;
}
.ctc-hero__shortcuts {
  padding-top: 12px;
}
.ctc-hero__shortcuts-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 12px;
}
.ctc-shortcuts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ctc-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 30px;
  border: 1px solid var(--color-gray-500);
  border-radius: 15px;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.ctc-shortcut:hover {
  border-color: var(--color-gray-900);
  background: var(--color-bg-light);
}
.ctc-shortcut__text {
  font-size: 16px;
  line-height: 1.5;
}
.ctc-shortcut__title {
  font-weight: 700;
  color: var(--color-gray-900);
}
.ctc-shortcut__desc {
  color: var(--ctc-body-66);
}
.ctc-shortcut__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--color-gray-900);
}

/* Form card */
.ctc-form-card {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 15px;
  box-shadow: 0 16px 40px 0 rgba(28, 26, 30, .05);
  padding: 32px;
}
/* .ctc-form-card owns the padding — neutralize the Marketo wrapper's own
   padding:45px (marketo-form.css .marketo-form__container), same pattern
   contact-lynx.css uses for its own form card. Without this the real
   Marketo embed double-pads (card padding + Marketo's own = ~65-77px). */
.ctc-form-card .marketo-form__wrapper,
.ctc-form-card .marketo-form__container,
.ctc-form-card .marketo-form__container-form {
  padding: 0;
  margin: 0;
  background: transparent;
}
.ctc-form-card__heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.2px;
  color: var(--color-gray-900);
  margin: 0 0 20px;
}
.ctc-field {
  margin-bottom: 20px;
}
.ctc-field__label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 8px;
}
.ctc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ctc-input,
.ctc-select,
.ctc-textarea {
  width: 100%;
  font-family: var(--font-family-base);
  font-size: 16px;
  color: var(--color-gray-900);
  padding: 12px 16px;
  border: 1px solid var(--color-gray-500);
  border-radius: 8px;
  background: var(--color-white);
  appearance: none;
  transition: border-color .15s ease;
}
.ctc-input:focus,
.ctc-select:focus,
.ctc-textarea:focus {
  outline: none;
  border-color: var(--color-gray-900);
}
.ctc-input::placeholder,
.ctc-textarea::placeholder {
  color: var(--ctc-muted);
}
.ctc-textarea {
  height: 128px;
  resize: vertical;
  font-family: var(--font-family-base);
}
.ctc-select-wrap {
  position: relative;
}
.ctc-select-wrap .ctc-select {
  padding-right: 40px;
  cursor: pointer;
}
.ctc-select-wrap__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-gray-900);
  pointer-events: none;
}
.ctc-form-card .ctc-form__submit {
  width: 100%;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 15px;
  font-size: 16px;
  cursor: pointer;
}
.ctc-form__disclaimer {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ctc-body-66);
  margin: 0;
}
.ctc-form__disclaimer a {
  color: inherit;
  text-decoration: underline;
}
.ctc-form__success {
  display: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gray-900);
  text-align: center;
  padding: 40px 0;
}
.ctc-form.is-submitted .ctc-form__fields {
  display: none;
}
.ctc-form.is-submitted .ctc-form__success {
  display: block;
}

/* ---- MORE WAYS TO REACH US ---- */
.ctc-reach {
  background: var(--ctc-dark-bg);
}
.ctc-reach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ctc-reach-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-white);
  border-radius: 15px;
  padding: 20px;
}
.ctc-reach-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.ctc-reach-card__heading {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-gray-900);
  margin: 0;
}
.ctc-reach-card__desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-gray-900);
  margin: 0;
}
.ctc-reach-card__links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ctc-reach-card__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-orange-600);
  text-decoration: none;
}
.ctc-reach-card__link:hover {
  text-decoration: underline;
}

/* ---- OFFICES + DIRECT CONTACT ---- */
.ctc-offices {
  background: var(--color-white);
}
.ctc-offices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 4 offices since the London card was removed (2026-11-09) */
  gap: 20px;
  margin-bottom: 24px;
}
.ctc-office-card {
  display: block;
  background: var(--ctc-dark-bg);
  border: 1px solid var(--ctc-office-border);
  border-radius: 15px;
  padding: 24px;
  color: var(--color-white);
  text-decoration: none;
}
.ctc-office-card__region {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 13px;
}
.ctc-office-card__city {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-orange-500);
  margin: 0 0 13px;
}
.ctc-office-card__address {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-white);
  opacity: .85;
  margin: 0;
}
.ctc-direct {
  display: flex;
  align-items: center;
  gap: 50px;
  background: var(--ctc-dark-bg);
  border-radius: 15px;
  padding: 28px;
}
.ctc-direct__label {
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
  flex: none;
}
.ctc-direct__value {
  font-size: 20px;
  font-weight: 700;
  color: #F8FAFC;
  text-decoration: none;
}
.ctc-direct__value:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ctc-offices__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .ctc-section {
    padding: 56px 0;
  }
  .ctc-hero {
    padding: 100px 0 56px;
  }
  .ctc-hero__container {
    flex-direction: column;
    gap: 40px;
  }
  .ctc-hero__intro {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    padding: 0;
  }
  .ctc-hero__headline {
    font-size: 40px;
  }
  .ctc-heading-xl {
    font-size: 32px;
  }
  .ctc-reach__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ctc-offices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ctc-hero {
    padding: 90px 0 48px;
  }
  .ctc-hero__headline {
    font-size: 36px;
  }
  .ctc-hero__desc {
    font-size: 19px;
  }
  .ctc-shortcut {
    align-items: flex-start;
    padding: 16px 20px;
  }
  .ctc-shortcut__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .ctc-shortcut__title,
  .ctc-shortcut__desc {
    display: block;
  }
  .ctc-form-card {
    padding: 20px;
  }
  .ctc-form-card__heading {
    font-size: 32px;
  }
  .ctc-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ctc-textarea {
    height: 144px;
  }
  .ctc-reach__grid {
    grid-template-columns: 1fr;
  }
  .ctc-heading-xl {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .ctc-offices__grid {
    grid-template-columns: 1fr;
  }
  .ctc-direct {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
