/* ==========================================================================
   Automobile World — Precision Attorneys' design language (from FDRSA) in white + blue.
   Inter Tight throughout, square corners, generous editorial pacing, slow eased motion.
   ========================================================================== */

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-tight-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — white canvas, cool blue-grey bands */
  --paper:        #ffffff;
  --cream:        #f3f6fa;
  --mint:         #e7effa;   /* soft blue band, used sparingly */
  --white:        #ffffff;   /* raised surfaces, form fields only */
  --line:         #e2e8f0;
  --line-strong:  #cdd6e2;

  /* Ink — near-black navy */
  --ink:          #0d1a2c;
  --ink-muted:    #526073;
  --ink-soft:     #7b8798;

  /* Brand blue (token names kept from the source stylesheet: --emerald* = brand blue) */
  --emerald:      #0B4FA8;
  --emerald-deep: #083a7d;
  --emerald-line: #2163c4;
  --emerald-soft: #d3e2f7;

  /* Whisper warm accent (kept from the language, used only as small marks) */
  --clay:         #b6543a;

  --radius: 0px;

  --container: 1200px;
  --gutter: clamp(1.4rem, 5vw, 4rem);
  --section: clamp(5rem, 9.5vw, 9rem);

  --ff: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 0.8, 0.3, 1);
}

/* ---------- Reset (plain CSS, no Tailwind) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--ff);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; }

::selection { background: var(--emerald); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.band-cream { background: var(--cream); }
.band-mint  { background: var(--mint); }

/* ---------- Type roles ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--emerald-line);
  display: inline-block;
}
.eyebrow--muted { color: var(--ink-soft); }
.eyebrow--muted::before { background: var(--line-strong); }

.display {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.026em;
}
.h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.014em;
}
.prose p { margin-bottom: 1.35rem; color: var(--ink-muted); max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-muted); }
.mark { color: var(--emerald); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
.btn--primary { background: var(--emerald); color: #fff; }
.btn--primary:hover { background: var(--emerald-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-dark { background: #fff; color: var(--emerald-deep); }
.btn--on-dark:hover { background: var(--emerald-soft); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-dark:hover { border-color: #fff; }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--emerald);
  border-bottom: 1px solid var(--emerald-soft);
  padding-bottom: 3px;
  transition: border-color .4s var(--ease), gap .4s var(--ease);
}
.textlink:hover { border-color: var(--emerald); gap: 0.85rem; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header.is-solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 0; }
.brand__name { font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.brand__name .sa { color: var(--emerald); }
/* Nav text is light while transparent over the hero photo — but ONLY on pages
   that actually have a hero. Every inner page opens on warm paper, where white
   nav text was invisible until the reader scrolled 40px and .is-solid kicked in.
   :has() scopes the light treatment to the home page; main.js carries a fallback
   for engines without :has(). */
body:has(.hero) .header:not(.is-solid) .brand__name { color: #fff; }
body:has(.hero) .header:not(.is-solid) .brand__name .sa { color: #d2e3fa; }
body:has(.hero) .header:not(.is-solid) .nav__link { color: rgba(255,255,255,.9); }
body:has(.hero) .header:not(.is-solid) .nav__link::after { background: #fff; }
body:has(.hero) .header:not(.is-solid) .burger span { background: #fff; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; padding: 0; margin: 0; }
.nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  position: relative;
  padding-block: 4px;
  transition: color .4s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.header.is-solid .nav__link[aria-current="page"] { color: var(--emerald); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  position: relative;
  align-items: center; justify-content: center;
  z-index: 210;
}
.burger span {
  position: absolute;
  width: 26px; height: 1.6px;
  background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s var(--ease), background .3s;
}
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(3) { transform: translateY(5px); }
body.menu-open .burger span:nth-child(1) { transform: translateY(0) rotate(45deg); background: var(--ink); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(0) rotate(-45deg); background: var(--ink); }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 6rem var(--gutter) 2.5rem;
  visibility: hidden;
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateY(0); visibility: visible; }
.drawer__links { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; }
.drawer__links a {
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.drawer__links a .idx { font-size: 0.8rem; letter-spacing: 0.15em; color: var(--ink-soft); font-weight: 500; }
.drawer__links a:hover { color: var(--emerald); padding-left: 0.6rem; }
.drawer__foot { padding-top: 2.5rem; display: grid; gap: 1.4rem; }
.drawer__foot .btn { justify-content: center; }
.drawer__contact { display: grid; gap: 0.5rem; font-size: 0.95rem; color: var(--ink-muted); }
.drawer__contact a:hover { color: var(--emerald); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(5,20,46,0.72) 0%, rgba(5,20,46,0.30) 46%, rgba(5,20,46,0.05) 78%),
    linear-gradient(to top, rgba(6,22,50,0.82) 0%, rgba(6,22,50,0.30) 44%, rgba(6,22,50,0.18) 70%, rgba(6,22,50,0.34) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3.5rem, 7vw, 6rem);
}
.hero .eyebrow { color: #bcd5f6; }
.hero .eyebrow::before { background: #bcd5f6; }
.hero__title {
  font-size: clamp(2.6rem, 6.6vw, 5.3rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 17ch;
  text-shadow: 0 1px 40px rgba(4,16,38,.3);
}
.hero__title em { font-style: normal; color: #a9c8f3; }
.hero__sub { margin-top: 1.7rem; max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,.92); line-height: 1.6; }
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__trust {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem;
  font-size: 0.85rem; letter-spacing: 0.01em; color: rgba(255,255,255,.85);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__trust svg { flex: none; }

/* Page header (inner pages) */
.pagehead { position: relative; padding-top: clamp(8rem, 12vw, 11rem); }
.pagehead .display { max-width: 20ch; }
.pagehead__lead { margin-top: 1.8rem; max-width: 58ch; }
.pagehead--media { color: #fff; overflow: hidden; min-height: 74svh; display: flex; align-items: flex-end; }
.pagehead--media .pagehead__inner { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.pagehead--media .hero__media::after {
  background:
    linear-gradient(to right, rgba(5,20,46,0.68) 0%, rgba(5,20,46,0.28) 50%, rgba(5,20,46,0.05) 82%),
    linear-gradient(to top, rgba(6,22,50,0.82) 0%, rgba(6,22,50,0.26) 55%, rgba(6,22,50,0.3) 100%);
}
.pagehead--media .eyebrow { color: #bcd5f6; }
.pagehead--media .eyebrow::before { background: #bcd5f6; }
.pagehead--media .pagehead__lead { color: rgba(255,255,255,.92); }

.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.02em; margin-bottom: 1.3rem; }
.pagehead--media .breadcrumb { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--emerald); }
.pagehead--media .breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Editorial blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split--2 { grid-template-columns: 0.9fr 1.1fr; } .split--text-first { grid-template-columns: 1.1fr 0.9fr; } }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.lead-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 860px) {
  .lead-grid { grid-template-columns: 0.8fr 1.2fr; align-items: end; }
  .lead-grid > :first-child { align-self: start; }
}

/* Figures band (hairline separated, NOT boxed cards) */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 780px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { padding: 2.2rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure__num { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 300; letter-spacing: -0.03em; color: var(--emerald); line-height: 1; }
.figure__label { margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-muted); line-height: 1.45; }

/* Numbered editorial rows */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem 2.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) { .row { grid-template-columns: 5rem 1fr 12rem; align-items: start; } }
.row__idx { font-size: 0.82rem; letter-spacing: 0.18em; color: var(--emerald); font-weight: 600; padding-top: 0.4rem; }
.row__body h3 { margin-bottom: 0.7rem; }
.row__body p { color: var(--ink-muted); max-width: 60ch; }
.row__aside { color: var(--ink-soft); font-size: 0.9rem; }
.row__aside .price { color: var(--ink); font-weight: 500; display: block; margin-bottom: 0.3rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { padding: clamp(1.8rem,3vw,2.6rem) 0; border-bottom: 1px solid var(--line); padding-right: 2rem; display: flex; gap: 1.5rem; }
@media (min-width: 900px) {
  .step:nth-child(odd) { padding-right: clamp(2rem,4vw,4rem); border-right: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: clamp(2rem,4vw,4rem); }
}
.step__n { font-size: 0.8rem; letter-spacing: 0.16em; color: var(--emerald); font-weight: 600; flex: none; padding-top: 0.35rem; }
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-muted); }

/* Two-column comparison (Route A / Route B) */
.compare { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); background: var(--white); }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: clamp(2rem, 3.5vw, 3rem); }
.compare__col + .compare__col { border-top: 1px solid var(--line); }
@media (min-width: 820px) { .compare__col + .compare__col { border-top: 0; border-left: 1px solid var(--line); } }
.compare__tag { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--emerald); }
.compare__col h3 { margin: 0.9rem 0 0.4rem; }
@media (min-width: 820px) { .compare__col h3 { min-height: 2.24em; } }
.compare__time { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.compare__col p { color: var(--ink-muted); }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.95rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 0.9rem; align-items: start; color: var(--ink-muted); }
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist .tick { margin-top: 3px; color: var(--emerald); }
.checklist--two { grid-template-columns: 1fr; }
@media (min-width: 720px) { .checklist--two { grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; } }

/* Pull quote */
.pullquote { border-left: 2px solid var(--emerald); padding-left: clamp(1.4rem, 3vw, 2.4rem); }
.pullquote p { font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }

/* ==========================================================================
   Parallax breaker
   ========================================================================== */
.breaker { position: relative; overflow: hidden; height: clamp(46vh, 60vh, 640px); display: flex; align-items: center; color: #fff; }
.breaker__media { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.breaker__media img { width: 100%; height: 100%; object-fit: cover; }
.breaker::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,19,44,0.72), rgba(5,19,44,0.4)); z-index: 1; }
.breaker__inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.breaker__title { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 300; letter-spacing: -0.028em; line-height: 1.12; max-width: 20ch; }
.breaker__sub { margin-top: 1.2rem; max-width: 46ch; color: rgba(255,255,255,.88); font-weight: 300; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.6rem 3rem 1.6rem 0;
  position: relative;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  transition: color .35s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--emerald); }
.faq summary::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 15px; height: 15px;
  margin-top: -7px;
  background:
    linear-gradient(var(--emerald), var(--emerald)) center/100% 1.6px no-repeat,
    linear-gradient(var(--emerald), var(--emerald)) center/1.6px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__answer { padding: 0 3rem 1.9rem 0; color: var(--ink-muted); max-width: 76ch; }
.faq__answer p + p { margin-top: 1rem; }
.faq__answer ul { margin: 0.8rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.faq__group-label { margin-bottom: 1.4rem; }

/* ==========================================================================
   CTA blue block + footer
   ========================================================================== */
.cta {
  background: var(--emerald);
  color: #fff;
  position: relative;
}
.cta .eyebrow { color: #a9c8f3; }
.cta .eyebrow::before { background: #a9c8f3; }
.cta__title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 300; letter-spacing: -0.028em; line-height: 1.1; max-width: 18ch; }
.cta__sub { margin-top: 1.5rem; max-width: 52ch; color: rgba(255,255,255,.9); font-weight: 300; font-size: 1.1rem; }
.cta__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.cta__meta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; font-size: 0.95rem; color: rgba(255,255,255,.85); }
.cta__meta a { border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.cta__meta a:hover { border-color: #fff; }

.footer { background: var(--emerald-deep); color: rgba(255,255,255,.82); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name .sa { color: #a9c8f3; }
.footer__blurb { margin-top: 1.3rem; max-width: 34ch; font-size: 0.92rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.footer__col h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 1.2rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; font-size: 0.94rem; }
.footer__col address { font-style: normal; display: grid; gap: 0.7rem; font-size: 0.94rem; line-height: 1.5; }
.footer__bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,.6); }
.footer__bottom a { border-bottom: 1px solid rgba(255,255,255,.25); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 1.5rem; min-width: 0; }
.field { display: grid; gap: 0.55rem; min-width: 0; }
.field label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: var(--ink);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(13,110,66,.13);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.8rem; align-items: start; font-size: 0.88rem; color: var(--ink-muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--emerald); }
.form__note { font-size: 0.82rem; color: var(--ink-soft); }
.form__status { font-size: 0.95rem; color: var(--emerald); font-weight: 500; min-height: 1.2em; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
.contact-grid > * { min-width: 0; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.info-list { display: grid; gap: 1.6rem; min-width: 0; }
.info-list .item { display: grid; grid-template-columns: 26px 1fr; gap: 1rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.info-list .item > div { min-width: 0; }
.info-list .v a { overflow-wrap: anywhere; }
.info-list .item:last-child { border-bottom: 0; }
.info-list .k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.35rem; }
.info-list .v { font-size: 1.05rem; color: var(--ink); }
.info-list .v a:hover { color: var(--emerald); }
.info-list .ic { color: var(--emerald); margin-top: 3px; }
.hours { display: grid; gap: 0.4rem; font-size: 0.98rem; color: var(--ink-muted); max-width: 100%; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.15rem 1.5rem; max-width: 400px; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours .d { color: var(--ink); }

/* Legal body */
.legal h2 { margin-top: 3rem; margin-bottom: 1rem; }
.legal h3 { margin-top: 2rem; margin-bottom: 0.7rem; }
.legal p, .legal li { color: var(--ink-muted); }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.legal .toc { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.legal .toc a { color: var(--emerald); border-bottom: 1px solid var(--emerald-soft); padding-bottom: 2px; display: inline-block; }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(5,19,44,.28);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Reveal motion (no-JS safe: only hides when .js present)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .breaker__media { transform: none !important; }
}

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader__mark { display: flex; align-items: center; gap: 0.8rem; opacity: .0; animation: pl-in .8s var(--ease) forwards; }
.preloader__mark span { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes pl-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 880px) {
  .nav__links, .nav .btn { display: none; }
  .burger { display: flex; }
}
@media (min-width: 881px) { .drawer { display: none; } }

/* ==========================================================================
   Automobile World additions
   ========================================================================== */
/* Phones: the photo is a 4:3 band above the text (a full-height crop loses the truck and blurs at 3x), text on white. */
.hero__media img { object-position: var(--pos, 50% 50%); }
@media (max-width: 720px) {
  .hero { display: block; min-height: 0; color: var(--ink); background: var(--paper); }
  .hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero__media img { object-position: var(--pos-phone, var(--pos, 50% 50%)); }
  .hero__media::after { background: linear-gradient(to bottom, rgba(5,20,46,.6) 0%, rgba(5,20,46,0) 42%); }
  .hero__inner { padding: 2.2rem var(--gutter) 3.2rem; }
  .hero .eyebrow { color: var(--emerald); }
  .hero .eyebrow::before { background: var(--emerald); }
  .hero__title { text-shadow: none; }
  .hero__title em { color: var(--emerald); }
  .hero__sub { color: var(--ink-muted); }
  .hero__trust { border-top-color: var(--line); color: var(--ink-muted); }
  .hero__trust svg { color: var(--emerald); }
  .hero .btn--ghost-dark { color: var(--ink); border-color: var(--line-strong); }
}

/* Loader: the road mark unrolls from the horizon, then its centre line runs toward you. */
.pl-road { width: 40px; height: 40px; flex: none; }
.pl-road__lane { transform-box: view-box; transform-origin: 32px 14px; animation: pl-lane .75s var(--ease) both; }
.pl-road__dash { stroke-dasharray: 6 5; animation: pl-dash .5s linear .5s infinite; }
@keyframes pl-lane { from { transform: scaleY(0); } }
@keyframes pl-dash { to { stroke-dashoffset: -11; } }

/* Photo frames: fixed aspect, image 114% tall so the scroll drift (main.js) never shows an edge; wipe in on reveal. */
.frame { position: relative; overflow: hidden; aspect-ratio: var(--ar, 4 / 3); background: var(--cream); }
.frame img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.frame--tall { --ar: 5 / 4; }
.js .frame.reveal { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .frame.reveal.is-visible { clip-path: inset(0 0 0 0); }
.js .frame.reveal.d2 { transition-delay: .25s; }

/* Service blocks: big photo beside the copy, alternating sides */
.svc-block + .svc-block { padding-top: 0; }
.svc { display: grid; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1.2fr 0.8fr; }
  .svc--flip { grid-template-columns: 0.8fr 1.2fr; }
  .svc--flip > .frame { order: 2; }
}
.svc__body .h2 { margin-top: 0.2rem; }
.prose-lead { margin-top: 1.4rem; color: var(--ink-muted); font-size: 1.08rem; line-height: 1.65; max-width: 46ch; }
.svc__body .textlink { margin-top: 2rem; }
.uses { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.use { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.use h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.use p { margin-top: 0.35rem; color: var(--ink-muted); font-size: 0.97rem; }

/* Truck hire collage: wide main photo, square inset overlapping its lower-left corner */
.collage { position: relative; padding-bottom: 16%; }
.collage .frame--main { width: 86%; margin-left: auto; }
.collage .frame--inset { --ar: 1 / 1; position: absolute; left: 0; bottom: 0; width: 40%; outline: 8px solid var(--paper); }

.breaker--tall { height: clamp(62vh, 82vh, 860px); }
.breaker .eyebrow { color: #bcd5f6; }
.breaker .eyebrow::before { background: #bcd5f6; }
@media (min-width: 900px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
#services { padding-bottom: clamp(1rem, 2.5vw, 2rem); }
.breaker__media { inset: -17% 0; }
/* Photo-only band (no text, no overlay) — the fleet shot is shown clean, with the parallax drift */
.breaker--photo { height: clamp(56vh, 80vh, 860px); }
.breaker--photo::after { display: none; }
@media (max-width: 720px) { .breaker--photo { height: auto; aspect-ratio: 4 / 3; } }
/* Hero over a bright daylight photo: a firmer left-to-middle wash so the headline never fights the white trailer */
@media (min-width: 721px) {
  .hero__media::after {
    background:
      linear-gradient(to right, rgba(5,20,46,0.82) 0%, rgba(5,20,46,0.55) 45%, rgba(5,20,46,0.12) 72%, rgba(5,20,46,0) 88%),
      linear-gradient(to top, rgba(6,22,50,0.7) 0%, rgba(6,22,50,0.2) 40%, rgba(6,22,50,0) 70%, rgba(6,22,50,0.3) 100%);
  }
}
.breaker--photo .breaker__media img { object-position: 72% 50%; }
@media (max-width: 720px) {
  .breaker--photo { aspect-ratio: 16 / 10; }
  .breaker--photo .breaker__media img { object-position: 100% 50%; }
}
@media (min-width: 721px) {
  .hero__title { font-size: clamp(2.6rem, 6vw, 4.7rem); max-width: none; }
  .hero__sub { max-width: 46ch; }
}
