/* =========================================================================
   paultan.org × Carro — "Leaving Malaysia? Sell your car before you fly."
   Expat / relocation funnel. Editorial "departures" aesthetic: warm sand +
   cream paper, passport NAVY structure, an ink-STAMP red accent and a
   boarding-pass hero motif (KUL → your new home, route line, perforation,
   barcode). Fraunces (display serif) + Hanken Grotesk (UI) + JetBrains Mono
   (boarding-pass / detail labels). Shares sell-landing.js — every JS hook
   (#ids, .step, .step-progress, .sell-flow__thankyou, .faq-tab,
   [data-centre-*], .tac-dialog, .mobile-cta) is preserved and restyled here.
   ========================================================================= */

:root {
  /* paper / surfaces */
  --cream: #faf5ea;
  --sand: #f3ebdd;
  --sand-2: #ece1cd;
  --paper: #ffffff;
  --paper-tint: #fcf8f0;

  /* passport navy structure */
  --navy: #13233f;
  --navy-2: #1b3050;
  --navy-3: #25416b;

  /* type colours */
  --ink: #1c2230;
  --ink-soft: #46506a;
  --ink-muted: #6b748c;

  /* accents */
  --stamp: #c4452f;          /* muted ink-stamp red */
  --stamp-bright: #d6543b;
  --stamp-ink: #ffffff;
  --gold: #c79a4b;           /* warm boarding-pass gold */
  --gold-deep: #9c7531;
  --teal: #2f8f73;           /* success / "boarded" */

  /* lines */
  --line: #e3d9c5;
  --line-soft: #ece3d2;
  --line-strong: #d3c6ac;
  --navy-line: rgba(255, 255, 255, 0.14);

  --ring: rgba(196, 69, 47, 0.4);
  --ring-navy: rgba(37, 65, 107, 0.4);

  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --container: 1180px;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --t-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 22px 50px -26px rgba(19, 35, 63, 0.4),
    0 2px 8px -2px rgba(19, 35, 63, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

a {
  color: var(--stamp);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}
a:hover { color: var(--gold-deep); }

::selection { background: var(--navy); color: var(--cream); }

/* ----------------------------- a11y ----------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
  border-radius: var(--radius-sm);
}

/* ----------------------------- header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 234, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-header__pt { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__pt img { height: 30px; width: auto; }

.site-header__tail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header__partnership { display: flex; align-items: center; gap: 0.7rem; }

.site-header__eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-header__carro { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__carro img { height: 22px; width: auto; }

@media (max-width: 460px) { .site-header__partnership { display: none; } }

@media (min-width: 768px) {
  .site-header__inner { padding: 0.85rem 1.75rem; gap: 1rem; }
  .site-header__pt img { height: 34px; }
  .site-header__carro img { height: 25px; }
}

/* ----------------------------- generic section ----------------------------- */

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
}
@media (min-width: 768px) {
  .section-inner { padding: 4.75rem 1.75rem; }
}

.section-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-title {
  margin: 0 0 2.25rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--navy);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--stamp);
}

/* ===================================================================
   HERO STAGE — sand "departures board"
   =================================================================== */

.ex-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 92% -10%, rgba(199, 154, 75, 0.18), transparent 60%),
    radial-gradient(800px 600px at 0% 0%, rgba(37, 65, 107, 0.07), transparent 55%),
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 70%);
  border-bottom: 1px solid var(--line);
}

/* faint dotted route texture, like a map */
.ex-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(19, 35, 63, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(900px 560px at 28% 18%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(900px 560px at 28% 18%, #000 25%, transparent 80%);
}

.landing-top {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .landing-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
      "headline headline"
      "hero form";
    column-gap: 3rem;
    row-gap: 2.5rem;
    align-items: start;
    padding: 3.5rem 1.75rem 4.5rem;
  }
  .landing-headline { grid-area: headline; }
  .landing-hero { grid-area: hero; }
  .landing-form-wrap { grid-area: form; }
  .hero__brk { display: none; }
}

.landing-headline { position: relative; }
.landing-hero { position: relative; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

/* tilted ink "ONE-WAY" stamp */
.hero__stamp {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--stamp);
  border: 2px solid var(--stamp);
  border-radius: 4px;
  transform: rotate(-6deg);
  opacity: 0.92;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--navy);
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--stamp);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.36em;
  background: linear-gradient(180deg, transparent 60%, rgba(199, 154, 75, 0.32) 60%);
  z-index: -1;
}

.hero__lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 48ch;
}
.hero__lead strong { color: var(--navy); font-weight: 700; }

/* ---- boarding-pass hero motif ---- */
.boarding-pass {
  position: relative;
  margin-top: 1.8rem;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 54px -28px rgba(19, 35, 63, 0.5),
    0 2px 8px -2px rgba(19, 35, 63, 0.12);
  overflow: hidden;
}
@media (min-width: 992px) { .boarding-pass { margin-top: 2rem; } }

.boarding-pass__stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.boarding-pass__seq { color: var(--gold); }

.boarding-pass__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 1.2rem 1.1rem;
}
.route-node { display: flex; flex-direction: column; gap: 0.15rem; }
.route-node--dest { text-align: right; }
.route-node__code {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.route-node__city {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.route-line {
  position: relative;
  height: 2px;
  background-image: linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  background-position: 0 center;
}
.route-line__plane {
  position: absolute;
  top: 50%;
  left: 0;
  color: var(--stamp);
  transform: translate(-50%, -50%);
  animation: planeGlide 3.4s cubic-bezier(0.45, 0, 0.3, 1) 0.4s forwards;
}
@keyframes planeGlide {
  0% { left: 0; opacity: 0; }
  18% { opacity: 1; }
  100% { left: 100%; opacity: 1; }
}

.boarding-pass__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  padding: 0.6rem 1.2rem 1.2rem;
  border-top: 1px dashed var(--line-strong);
  margin-top: 0.2rem;
}
.boarding-pass__grid > div { display: flex; flex-direction: column; gap: 0.1rem; }
.bp-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bp-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
}
.bp-value--ok { color: var(--teal); }

/* perforation + barcode footer */
.boarding-pass__barcode {
  position: relative;
  height: 40px;
  background: var(--paper-tint);
  border-top: 1px dashed var(--line-strong);
  background-image: repeating-linear-gradient(
    90deg,
    var(--navy) 0 2px,
    transparent 2px 4px,
    var(--navy) 4px 5px,
    transparent 5px 9px
  );
  background-size: 9px 22px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.85;
}
.boarding-pass__barcode::before,
.boarding-pass__barcode::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
}
.boarding-pass__barcode::before { left: -7px; }
.boarding-pass__barcode::after { right: -7px; }

/* ===================================================================
   FORM CARD — passport / document panel
   =================================================================== */

.landing-form-wrap {
  scroll-margin-top: 5.5rem;
  position: relative;
}
.landing-form-wrap::before {
  content: "";
  position: absolute;
  inset: -12% -7%;
  background: radial-gradient(closest-side, rgba(199, 154, 75, 0.18), transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.form-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.35rem 1.65rem;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 60%, var(--gold) 60%, var(--stamp));
}
@media (min-width: 768px) {
  .form-card { padding: 2rem 2rem 2.1rem; }
}

.form-card__head { margin-bottom: 1.35rem; }
.form-card__kicker {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.55rem;
}
.form-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.form-card__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* step progress */
.step-progress {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.step-progress__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  background: var(--paper-tint);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all var(--t-fast);
}
.step-progress__num {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.step-progress__pill.is-active {
  border-color: var(--stamp);
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(196, 69, 47, 0.12);
}
.step-progress__pill.is-active .step-progress__num {
  background: var(--stamp);
  border-color: var(--stamp);
  color: var(--stamp-ink);
}
.step-progress__pill.is-done {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.step-progress__pill.is-done .step-progress__num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.step-progress__bar {
  flex: 1;
  height: 2px;
  background: var(--line-strong);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.step-progress__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--stamp), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.step-progress[data-step="2"] .step-progress__bar::after { transform: scaleX(1); }

@media (max-width: 380px) {
  .step-progress__label { display: none; }
  .step-progress__pill { padding: 0.4rem; }
}

/* fieldsets / steps */
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step.is-active { animation: stepIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sell-form-grid { display: grid; gap: 0.95rem; }
@media (min-width: 600px) {
  .sell-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.1rem;
    align-items: start;
  }
  .sell-form-grid .form-group--full { grid-column: 1 / -1; }
}

.form-group { margin: 0; min-width: 0; }
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}
.form-group .field-hint {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.form-control {
  width: 100%;
  padding: 0.78rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  min-height: 50px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-control::placeholder { color: #9aa0a8; }
.form-control:hover:not(:disabled) { border-color: var(--navy-3); }
.form-control:focus,
.form-control:focus-visible {
  outline: none;
  border-color: var(--stamp);
  box-shadow: 0 0 0 3px rgba(196, 69, 47, 0.16);
}
.form-control:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--sand);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2313233f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px 10px;
  padding-right: 2.4rem;
}

.form-consent {
  margin: 1.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.form-consent a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--stamp); }

/* buttons */
.btn-primary, .btn-ghost {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  transition: background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  box-shadow: 0 8px 22px -10px rgba(19, 35, 63, 0.65);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(199, 154, 75, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring-navy), 0 8px 22px -10px rgba(19, 35, 63, 0.65);
}
.btn-primary--block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--paper-tint); border-color: var(--navy); }

.step-actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
}
.step-actions .btn-primary { width: 100%; }
@media (min-width: 600px) {
  .step-actions .btn-primary { width: auto; min-width: 190px; }
}
.step-actions--split { justify-content: space-between; gap: 0.75rem; }
.step-actions--split .btn-ghost { flex: 0 0 auto; }
.step-actions--split .btn-primary { flex: 1 1 auto; width: auto; }
@media (min-width: 600px) {
  .step-actions--split .btn-primary { flex: 0 0 auto; min-width: 200px; }
}

/* sell-flow + thank-you overlay */
.sell-flow { position: relative; min-height: 220px; }
.sell-flow__thankyou {
  display: none;
  position: absolute;
  inset: -0.5rem;
  background: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 3;
  color: var(--ink);
  border-radius: var(--radius);
}
.sell-flow__thankyou.is-visible {
  display: flex;
  animation: stepIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sell-flow__thankyou svg { color: var(--teal); margin-bottom: 0.9rem; }
.sell-flow__thankyou h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.sell-flow__thankyou p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-muted);
  max-width: 40ch;
}

/* ===================================================================
   HOW IT WORKS — navy "departures board" band
   =================================================================== */

.section-steps {
  background:
    radial-gradient(800px 460px at 85% 0%, rgba(199, 154, 75, 0.16), transparent 60%),
    var(--navy);
  color: var(--cream);
  border-bottom: 1px solid var(--line);
}
.section-steps .section-eyebrow { color: var(--gold); }
.section-steps .section-title { color: var(--cream); }
.section-steps .section-title em { color: var(--gold); }

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 55%);
  opacity: 0.8;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.step-card__num {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.step-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.step-card p { margin: 0; font-size: 0.94rem; color: rgba(247, 242, 230, 0.78); }

/* ===================================================================
   TRUST
   =================================================================== */

.section-trust {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(199, 154, 75, 0.14), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}

.trust-tile {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem 1.55rem;
  overflow: hidden;
  box-shadow: 0 14px 32px -28px rgba(19, 35, 63, 0.4);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.trust-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -28px rgba(19, 35, 63, 0.5);
}
.trust-tile__accent {
  position: absolute;
  top: 0; left: 1.5rem;
  width: 40px; height: 3px;
  background: var(--stamp);
  border-radius: 0 0 3px 3px;
}
.trust-tile h3 {
  margin: 0.6rem 0 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.trust-tile p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

/* ===================================================================
   FAQ
   =================================================================== */

.section-faq { background: var(--sand); border-bottom: 1px solid var(--line); }

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.faq-tab {
  flex: 0 0 auto;
  padding: 0.55rem 1.05rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.faq-tab:hover { border-color: var(--navy-3); color: var(--navy); }
.faq-tab.is-active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  font-weight: 500;
}
.faq-tab:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring-navy); }

/* On small screens the variable-width chips wrap unevenly and orphan the last
   one; a fixed 2-column grid keeps the six pills as a tidy 3x2 block with no
   horizontal scroll. */
@media (max-width: 600px) {
  .faq-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .faq-tab {
    padding: 0.6rem 0.75rem;
    text-align: center;
    white-space: normal;
  }
}

.faq-list details {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  background: var(--paper);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.faq-list details[hidden] { display: none; }
.faq-list details:hover { border-color: var(--navy-3); }
.faq-list details[open] {
  border-color: var(--gold-deep);
  background: var(--paper-tint);
}
.faq-list summary {
  position: relative;
  padding: 1.05rem 2.9rem 1.05rem 1.15rem;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.2rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
  border-color: var(--stamp);
}
.faq-list .faq-answer {
  padding: 0 1.15rem 1.15rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

/* ===================================================================
   INSPECTION CENTRES
   =================================================================== */

.section-centres { background: var(--cream); border-bottom: 1px solid var(--line); }

.centres-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.centres-head .section-title { margin-bottom: 0; }
.centres-head__copy { margin: 0; color: var(--ink-soft); max-width: 56ch; }
@media (min-width: 880px) {
  .centres-head {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
    align-items: end;
    gap: 2.5rem;
  }
}

.centre-filter { max-width: 36rem; margin-bottom: 1.1rem; }
.centre-filter label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.centre-filter .form-control { background: var(--paper); }
.centre-filter .form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--ring-navy);
}

.centre-groups { display: grid; gap: 0.7rem; }
.centre-group {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.centre-group[hidden] { display: none; }
.centre-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
.centre-group summary::-webkit-details-marker { display: none; }
.centre-group summary span:last-child {
  flex-shrink: 0;
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.centre-grid {
  display: grid;
  gap: 0.7rem;
  padding: 0 1.15rem 1.15rem;
}
@media (min-width: 720px) {
  .centre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.centre-card {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
}
.centre-card[hidden] { display: none; }
.centre-card h3 { margin: 0 0 0.4rem; font-size: 0.96rem; line-height: 1.3; color: var(--navy); }
.centre-card p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }
.centre-empty { margin: 1.1rem 0 0; color: var(--ink-soft); font-weight: 600; }
[data-centre-empty][hidden] { display: none; }

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer { background: var(--navy); color: var(--cream); border-top: 1px solid var(--navy-2); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3rem;
}
@media (min-width: 768px) {
  .site-footer__inner { padding: 3.25rem 1.75rem 3.5rem; }
}
.site-footer__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--navy-line);
}
.site-footer__brand p {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: rgba(247, 242, 230, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-footer__brand a { display: inline-block; }
.site-footer__brand--pt img { height: 34px; width: auto; }
.site-footer__brand--carro img { height: 26px; width: auto; }
@media (min-width: 768px) {
  .site-footer__brand--pt img { height: 38px; }
  .site-footer__brand--carro img { height: 29px; }
}
.site-footer__copy p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(247, 242, 230, 0.72);
  max-width: 72ch;
}
.site-footer__copy strong { color: var(--cream); }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.95rem;
  align-items: center;
  margin-top: 1rem !important;
}
.site-footer__links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links span { color: rgba(247, 242, 230, 0.5); }

/* ===================================================================
   MOBILE STICKY CTA
   =================================================================== */

.mobile-cta {
  position: fixed;
  left: 1rem; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px -8px rgba(19, 35, 63, 0.55), 0 4px 12px -4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(120%);
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}
.mobile-cta:not([hidden]).is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-cta:hover { background: var(--navy-2); border-color: var(--navy-2); }
.mobile-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring-navy), 0 14px 30px -8px rgba(19, 35, 63, 0.55);
}
@media (min-width: 768px) { .mobile-cta { display: none !important; } }

/* ===================================================================
   FLOATING WHATSAPP
   =================================================================== */

.wa-float {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 62;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55), 0 4px 12px -4px rgba(0, 0, 0, 0.35);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
}
.wa-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45), 0 10px 26px -6px rgba(37, 211, 102, 0.55);
}
.wa-float__icon { display: block; }
@media (min-width: 768px) {
  .wa-float { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
}

/* ===================================================================
   TAC DIALOG — passport document panel
   =================================================================== */

.tac-dialog {
  width: calc(100vw - 2rem);
  max-width: 430px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -24px rgba(19, 35, 63, 0.6);
  background: var(--paper);
  color: var(--ink);
}
.tac-dialog::backdrop {
  background: rgba(19, 35, 63, 0.55);
  backdrop-filter: blur(3px);
}
.tac-dialog__inner { position: relative; padding: 1.75rem 1.5rem 1.5rem; }
.tac-dialog__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 50%;
  margin-bottom: 0.9rem;
}
.tac-dialog__inner h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  padding-right: 2.5rem;
  color: var(--navy);
}
.tac-dialog__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.tac-dialog__close:hover { background: var(--paper-tint); border-color: var(--navy); }
.tac-dialog__close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.tac-dialog__desc { font-size: 0.94rem; color: var(--ink-muted); margin: 0 0 1.1rem; }
.tac-alert {
  display: none;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  background: #fbeae6;
  border: 1px solid #eebcb0;
  border-radius: var(--radius-sm);
  color: #8a2a17;
}
.tac-alert.is-visible { display: block; }
.tac-dialog #carro-tac {
  letter-spacing: 0.42em;
  text-align: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.2rem;
  padding-right: 0.9rem;
  margin-bottom: 0.9rem;
}

/* ===================================================================
   ENTRANCE ANIMATIONS (staggered hero reveal)
   =================================================================== */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.landing-headline > *,
.landing-hero > * { animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.landing-headline > *:nth-child(1) { animation-delay: 0.05s; }
.landing-headline > *:nth-child(2) { animation-delay: 0.13s; }
.landing-hero > *:nth-child(1) { animation-delay: 0.22s; }
.landing-hero > *:nth-child(2) { animation-delay: 0.3s; }
.landing-form-wrap { animation: riseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }

/* ===================================================================
   REDUCED MOTION
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .route-line__plane { left: 100%; opacity: 1; }
}
