/* ==========================================================================
   Triple Eight Advisory - Contact page
   Ported from src/routes/contact.tsx. FAQ reuses home.css / home.js.
   Depends on theme.css tokens + the shared .ab-eyebrow / .te-ring-motif.
   ========================================================================== */

/* ---------------- Hero ---------------- */
.ct-hero { position: relative; overflow: hidden; padding: 9rem 1.5rem 4rem; background: linear-gradient(180deg, var(--te-gold-tint) 0%, var(--te-card) 100%); }
@media (min-width: 768px) { .ct-hero { padding: 9rem 2.5rem 4rem; } }
.ct-hero__motif { position: absolute; top: -6rem; right: -8rem; opacity: 0.08; pointer-events: none; }
.ct-hero__inner { position: relative; max-width: 56rem; margin-inline: auto; text-align: center; }
.ct-hero__badge { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.375rem 1rem; border-radius: 999px; background: rgb(255 255 255 / 0.75); border: 1px solid var(--te-line); }
.ct-hero__badge-line { display: block; width: 1.5rem; height: 2px; background: var(--te-gold); }
.ct-hero__badge span:last-child { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--te-navy-deep); }
.ct-hero__title { margin: 1.75rem 0 0; font-family: var(--te-font-display); font-weight: 500; font-size: clamp(2.4rem, 1.8rem + 2.8vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--te-navy-deep); }
.ct-hero__title em { font-style: italic; color: var(--te-gold-deep); }
.ct-hero__lead { margin: 1.5rem auto 0; max-width: 40rem; font-size: 1rem; line-height: 1.75; color: var(--te-ink-muted); }
.ct-hero__trust { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2rem; font-size: 13px; color: var(--te-ink-muted); }
.ct-hero__trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.ct-hero__trust .icon { width: 15px; height: 15px; color: var(--te-gold-deep); }

/* ---------------- Main: channels + form ---------------- */
.ct-main { padding: 6rem 1.5rem; background: var(--te-canvas); }
@media (min-width: 768px) { .ct-main { padding: 7rem 2.5rem; } }
.ct-main__grid { max-width: 80rem; margin-inline: auto; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .ct-main__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

.ct-channels { }
@media (min-width: 1024px) { .ct-channels { position: sticky; top: 7rem; } }
.ct-channels__title { margin: 1.25rem 0 0; font-family: var(--te-font-display); font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 2.625rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--te-navy-deep); }
.ct-channels__lead { margin: 1.25rem 0 0; max-width: 28rem; font-size: 15px; line-height: 1.75; color: var(--te-ink-muted); }
.ct-channels__list { margin: 2.25rem 0 0; padding: 0; list-style: none; }
.ct-channel { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--te-line); }
.ct-channel__ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: var(--te-radius-md); background: var(--te-gold-tint); color: var(--te-gold-deep); }
.ct-channel__ico .icon { width: 19px; height: 19px; }
.ct-channel__label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--te-ink-muted); }
.ct-channel__value { margin-top: 0.25rem; font-size: 15px; font-weight: 600; color: var(--te-navy-deep); word-break: break-word; }
.ct-channel__sub { margin-top: 0.125rem; font-size: 13px; color: var(--te-ink-muted); }
.ct-channels__social { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--te-gold-deep); text-decoration: none; }
.ct-channels__social .icon { width: 16px; height: 16px; }

/* Form card */
.ct-form { border-radius: var(--te-radius-2xl); background: #fff; padding: 2rem; border: 1px solid var(--te-line); box-shadow: 0 30px 60px -30px rgb(8 20 38 / 0.2); }
@media (min-width: 768px) { .ct-form { padding: 2.5rem; } }
.ct-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-form__head { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--te-line); }
.ct-form__kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--te-gold-deep); }
.ct-form__title { margin: 0.5rem 0 0; font-family: var(--te-font-display); font-weight: 500; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--te-navy-deep); }
.ct-form__note { margin: 0.5rem 0 0; font-size: 13px; color: var(--te-ink-muted); }
.ct-req { color: var(--te-gold-deep); }
.ct-form__alert { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 1.5rem; padding: 0.875rem 1rem; border-radius: var(--te-radius-md); font-size: 0.875rem; line-height: 1.5; }
.ct-form__alert .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.ct-form__alert--ok { background: rgb(201 162 75 / 0.1); border: 1px solid rgb(201 162 75 / 0.3); color: #7c5e16; }
.ct-form__alert--err { background: rgb(190 60 60 / 0.07); border: 1px solid rgb(190 60 60 / 0.25); color: #9a2b2b; }
.ct-form__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ct-form__row { grid-template-columns: repeat(2, 1fr); } }
.ct-field { display: flex; flex-direction: column; }
.ct-field--full { margin-top: 1.25rem; }
.ct-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--te-ink-muted); }
.ct-field input, .ct-field select, .ct-field textarea { margin-top: 0.5rem; width: 100%; padding: 0.75rem 1rem; border-radius: var(--te-radius-md); border: 1px solid var(--te-line); background: #fff; font: inherit; font-size: 14px; color: var(--te-ink); outline: none; transition: border-color 0.2s var(--te-ease), box-shadow 0.2s var(--te-ease); }
.ct-field textarea { resize: vertical; min-height: 8rem; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { border-color: var(--te-gold); box-shadow: 0 0 0 3px rgb(201 162 75 / 0.12); }
.ct-consent { margin-top: 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 13px; line-height: 1.6; color: var(--te-ink-muted); }
.ct-consent input { margin-top: 3px; width: 15px; height: 15px; flex-shrink: 0; accent-color: var(--te-gold-deep); }
.ct-submit { margin-top: 1.75rem; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; border: 0; border-radius: var(--te-radius-md); font-size: 15px; font-weight: 600; background: var(--te-navy-deep); color: #fff; cursor: pointer; box-shadow: 0 12px 28px -14px rgb(8 20 38 / 0.55); transition: transform 0.2s var(--te-ease); }
.ct-submit:hover { transform: translateY(-2px); }
.ct-submit .icon { width: 16px; height: 16px; }
.ct-form__foot { margin: 1rem 0 0; text-align: center; font-size: 12px; color: var(--te-ink-muted); }
.ct-form__foot a { color: var(--te-gold-deep); font-weight: 600; }

/* ---------------- Offices ---------------- */
.ct-offices { padding: 6rem 1.5rem; background: var(--te-card); }
@media (min-width: 768px) { .ct-offices { padding: 7rem 2.5rem; } }
.ct-offices__inner { max-width: 80rem; margin-inline: auto; }
.ct-offices__title { margin: 1.25rem 0 0; max-width: 32rem; font-family: var(--te-font-display); font-weight: 500; font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3rem); line-height: 1.15; color: var(--te-navy); }
.ct-offices__grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ct-offices__grid { grid-template-columns: repeat(3, 1fr); } }
.ct-office { padding: 1.75rem; border-radius: var(--te-radius-lg); background: #fff; border: 1px solid var(--te-line); }
.ct-office__role { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--te-gold-deep); }
.ct-office__city { margin: 0.5rem 0 0; font-family: var(--te-font-display); font-size: 1.5rem; font-weight: 500; color: var(--te-navy); }
.ct-office__row { margin-top: 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 14px; line-height: 1.5; color: var(--te-ink); }
.ct-office__row .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--te-gold-deep); }
.ct-office__row--inline { align-items: center; margin-top: 0.75rem; }
.ct-office__row--inline .icon { margin-top: 0; }
.ct-office__row--muted { font-size: 13px; color: var(--te-ink-muted); }

/* ---------------- Map ---------------- */
.ct-map { padding: 6rem 1.5rem; background: var(--te-canvas); }
@media (min-width: 768px) { .ct-map { padding: 7rem 2.5rem; } }
.ct-map__inner { max-width: 80rem; margin-inline: auto; }
.ct-map__title { margin: 1.25rem 0 0; max-width: 32rem; font-family: var(--te-font-display); font-weight: 500; font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3rem); line-height: 1.15; color: var(--te-navy); }
.ct-map__lead { margin: 1.25rem 0 0; max-width: 40rem; font-size: 1rem; line-height: 1.7; color: var(--te-ink-muted); }
.ct-map__frame { margin-top: 3rem; border-radius: var(--te-radius-2xl); overflow: hidden; border: 1px solid var(--te-line); box-shadow: 0 1px 3px rgb(13 27 51 / 0.04); }
.ct-map__frame iframe { display: block; width: 100%; height: 480px; border: 0; }
