/* =========================================================
   Milestone Cabs — site styles
   Colours and type follow Media/Milestone-Cabs-Design-Specs.txt
   ========================================================= */

:root {
  --stone-red: #E63323;
  --stone-red-dark: #C0281B;
  --carbon: #161616;
  --carbon-soft: #2B2B2B;
  --paper: #F5F2EA;
  --paper-deep: #E8E3D7;
  --white: #FFFFFF;
  --stone-grey: #5C5850;
  --border: #E2DED4;
  --border-strong: #D8D3C7;

  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 12px 28px rgba(0, 0, 0, .08);
  --container: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--carbon);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: from-font; }
p { margin: 0; text-wrap: pretty; }

::selection { background: var(--stone-red); color: var(--white); }
input, select, textarea { caret-color: var(--stone-red); accent-color: var(--stone-red-dark); }
html { scrollbar-color: #A9A397 var(--paper); }

h1, h2, h3, h4 { text-wrap: balance; }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.04em; }
h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: .95; }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
/* Sub-headings inside a section that should look like section titles */
.subhead, .detail__title { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; }

.dot { color: var(--stone-red); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--carbon); color: var(--paper); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--stone-grey); }
.section--dark .section-head p { color: #BDB8AD; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--carbon); color: var(--paper);
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--stone-red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 800 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--stone-red-dark); color: var(--white); }
.btn--primary:hover { background: #A82216; }
.btn--dark { background: var(--carbon); color: var(--paper); }
.btn--dark:hover { background: var(--carbon-soft); }
.btn--ghost { background: transparent; border-color: var(--carbon); color: var(--carbon); }
.btn--ghost:hover { background: var(--carbon); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--carbon); }
.btn--light:hover { background: var(--white); }
.btn--ghost-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--carbon); }
.btn--lg { padding: 19px 34px; font-size: 17px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; text-decoration: none; color: var(--carbon);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 234, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 24px;
}
.nav__logo img { height: 28px; width: auto; }

.nav__links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  font-weight: 600; text-decoration: none; font-size: 16px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover, .nav__links a[aria-current] { border-bottom-color: var(--stone-red); }
.nav__links .btn { padding: 12px 22px; border-bottom: 2px solid transparent; }
.nav__links .btn:hover { border-bottom-color: transparent; }

.nav__toggle {
  position: absolute; width: 1px; height: 1px; opacity: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.nav__burger {
  display: none;
  width: 48px; height: 48px; border-radius: 999px;
  align-items: center; justify-content: center;
  cursor: pointer; background: var(--carbon); color: var(--paper);
}
.nav__burger svg { width: 22px; height: 22px; }
.nav__burger .icon-close { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: clamp(40px, 6vw, 88px);
}
.hero__text p {
  margin-top: 28px; max-width: 480px;
  font-size: clamp(18px, 1.6vw, 21px); color: var(--stone-grey);
}
.hero__text .btn { margin-top: 40px; }
.hero__art img { width: 100%; border-radius: var(--radius-lg); }
.hero__art picture { display: block; }
.hero__art .photo {
  aspect-ratio: 10 / 9; height: auto; object-fit: cover;
  background: var(--border); box-shadow: var(--shadow);
}
.photo--handover { object-position: 50% 50%; }
@media (max-width: 880px) { .hero__art .photo { aspect-ratio: 4 / 3; } }

/* Full-width photo banner at the top of the home page */
.hero-banner {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--carbon); color: var(--paper);
}
.hero-banner__bg, .hero-banner__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-banner__bg { z-index: -2; }
.hero-banner__bg img { object-fit: cover; object-position: 70% 60%; }
.hero-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22,22,22,.96) 0%, rgba(22,22,22,.88) 38%, rgba(22,22,22,.25) 70%, rgba(22,22,22,0) 100%);
}
.hero-banner__inner {
  min-height: clamp(520px, 74vh, 720px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px);
}
.hero-banner h1 { max-width: 620px; color: var(--paper); }
.hero-banner p {
  margin-top: 24px; max-width: 480px;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: #D8D3C7;
}
.hero-banner .btn { margin-top: 40px; }
@media (max-width: 880px) {
  .hero-banner__bg img { object-position: 62% 60%; }
  .hero-banner::after {
    background: linear-gradient(0deg, rgba(22,22,22,.96) 0%, rgba(22,22,22,.86) 45%, rgba(22,22,22,.45) 75%, rgba(22,22,22,.25) 100%);
  }
  .hero-banner__inner { justify-content: flex-end; min-height: 640px; }
  .hero-banner .btn { width: 100%; }
}

.hero--center { text-align: center; }
.hero--center .hero__text { max-width: 820px; margin: 0 auto; }
.hero--center .hero__text p { margin-left: auto; margin-right: auto; }

/* Services overview strip under the services hero */
.route-strip {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.route-strip::before {
  content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 15px;
  border-top: 4px dotted var(--border-strong);
}
.route-strip a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-decoration: none; font-weight: 800; font-size: 18px;
}
.route-strip a::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  background: var(--carbon); border: 6px solid var(--paper);
  box-shadow: 0 0 0 2px var(--border-strong);
  transition: background-color .2s ease;
}
.route-strip a:hover::before { background: var(--stone-red); }
.section .route-strip { margin: 0 0 clamp(72px, 9vw, 112px); }
.section--white .route-strip a::before { border-color: var(--white); }

/* Drive with us: intro block, then features, steps and the form */
.drivers-intro { margin-bottom: clamp(72px, 9vw, 120px); }
.drivers-intro .drivers-intro__title { font-size: clamp(40px, 5.4vw, 64px); line-height: .98; letter-spacing: -0.04em; }
.steps + .apply { margin-top: clamp(80px, 10vw, 140px); }
.drivers-intro--solo { margin-bottom: 0; }

/* Two buttons side by side */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__text .btn-row .btn { margin-top: 0; }

/* ---------- Drivers page ---------- */
/* Photo banner. The handover fills the whole photo (arm from the left, driver's hand at the bottom right),
   so the photo is never cropped: on wide screens it sits on the right at full height with the text on the
   dark area to its left; on smaller screens the whole photo sits above the text. */
.hero-banner--driver::after { display: none; }
.hero-banner--driver .hero-banner__bg {
  inset: 0 0 0 auto; width: auto; height: 100%;
  aspect-ratio: 1200 / 750;
}
.hero-banner--driver .hero-banner__bg img { object-fit: cover; object-position: center; }
.hero-banner--driver .hero-banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--carbon) 0%, rgba(22,22,22,.55) 12%, rgba(22,22,22,0) 26%);
}
.hero-banner--driver .hero-banner__inner { min-height: clamp(520px, 46vw, 680px); }
.hero-banner--driver h1 { max-width: 460px; }
.hero-banner--driver p { max-width: 420px; }
.hero-banner .btn-row .btn { margin-top: 0; }
@media (max-width: 1200px) {
  .hero-banner--driver .hero-banner__bg {
    position: relative; inset: auto; z-index: auto;
    display: block; width: 100%; height: auto;
  }
  .hero-banner--driver .hero-banner__bg::after {
    background: linear-gradient(0deg, var(--carbon) 0%, rgba(22,22,22,0) 22%);
  }
  .hero-banner--driver .hero-banner__inner {
    min-height: 0; justify-content: flex-start;
    padding-top: 8px; padding-bottom: clamp(48px, 7vw, 72px);
  }
  .hero-banner--driver h1, .hero-banner--driver p { max-width: 620px; }
}

.facts-band { padding-top: clamp(40px, 5vw, 64px); }
.facts-band .facts { margin-top: 0; }
.facts-band + .section { margin-top: clamp(40px, 5vw, 64px); }
.facts {
  list-style: none; padding: 0; margin: clamp(56px, 7vw, 88px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--border-strong); border-radius: var(--radius); overflow: hidden;
}
.fact { background: var(--white); padding: 24px 28px; }
.fact strong { display: block; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 6px; color: var(--stone-grey); font-size: 15px; }

.tag {
  align-self: flex-start; margin-bottom: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--white); font-size: 14px; font-weight: 700;
}

.steps.steps--4 { grid-template-columns: repeat(4, 1fr); }
.apply__label { margin-top: 36px; font-size: 18px; }
.apply__label + .ticks { margin-top: 16px; }

.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); padding: 0 28px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--carbon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2EA' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--stone-red-dark); }
.faq details p { padding: 0 0 24px; color: var(--stone-grey); max-width: 680px; }
.faq a { color: var(--stone-red-dark); font-weight: 700; }
.cta--spaced { margin-top: clamp(72px, 9vw, 120px); }

/* ---------- Legal pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: .98; }
.page-hero p { margin-top: 20px; max-width: 620px; font-size: 18px; color: var(--stone-grey); }
.page-hero .page-hero__meta { margin-top: 16px; font-size: 15px; font-weight: 600; }
.legal-section { padding-top: clamp(56px, 7vw, 96px); }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 112px; }
.legal__toc h2 {
  margin-bottom: 14px; font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--stone-grey);
}
.legal__toc ol { list-style: none; margin: 0; padding: 0; }
.legal__toc a {
  display: block; padding: 7px 0 7px 16px;
  border-left: 2px solid var(--border); text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--stone-grey);
}
.legal__toc a:hover { color: var(--carbon); border-left-color: var(--stone-red); }

.prose { max-width: 720px; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(24px, 2.6vw, 30px); scroll-margin-top: 104px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 19px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--carbon-soft); }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--stone-red); }
.prose a { color: var(--stone-red-dark); font-weight: 600; }
.prose strong { font-weight: 800; color: var(--carbon); }
.callout {
  margin: 20px 0; padding: 24px 28px;
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--border-strong);
}
.callout p + p { margin-top: 8px; }

/* ---------- Service cards (home) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.section--white .card { background: var(--paper); box-shadow: none; }
.card__art {
  margin: -8px -8px 28px; border-radius: 12px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-deep);
}
.card__art img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--stone-grey); margin-bottom: 24px; }
.card .link-arrow { margin-top: auto; }

/* ---------- Features (why us) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--carbon); color: var(--paper);
  margin-bottom: 22px; position: relative;
}
.feature__icon::after {
  content: ""; position: absolute; right: -4px; top: -4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--stone-red); border: 3px solid var(--paper);
}
.section--white .feature__icon::after { border-color: var(--white); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; font-size: 21px; }
.feature p { color: var(--stone-grey); }

/* ---------- About + stats ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text p { margin-top: 20px; font-size: 18px; color: #BDB8AD; max-width: 460px; }
.about__logo { width: 180px; margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: #2E2E2E; border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--carbon); padding: clamp(28px, 3.5vw, 44px); }
.stat__num {
  display: block; font-variant-numeric: tabular-nums; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(44px, 5vw, 64px);
}
.stat__num span { color: var(--stone-red); }
.stat__label { display: block; margin-top: 10px; color: #BDB8AD; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0; background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 28px;
}
.quote__mark { width: 36px; height: 36px; color: var(--stone-red); }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--carbon); color: var(--paper);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.quote__who strong { display: block; font-weight: 800; }
.quote__who span { color: var(--stone-grey); font-size: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__text p { margin-top: 18px; font-size: 18px; color: var(--stone-grey); max-width: 420px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact__list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 4px; }
.contact__list a, .contact__list div {
  display: flex; font-variant-numeric: tabular-nums; align-items: center; gap: 16px;
  padding: 14px 0; text-decoration: none; font-weight: 600; font-size: 17px;
  border-top: 1px solid var(--border-strong);
}
.contact__list li:last-child a, .contact__list li:last-child div { border-bottom: 1px solid var(--border-strong); }
.contact__list a:hover { color: var(--stone-red-dark); }
.contact__list svg { width: 22px; height: 22px; flex: none; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 24px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; letter-spacing: -0.03em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--carbon);
  background: var(--paper); border: 2px solid transparent; border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s ease, background-color .2s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field ::placeholder { color: var(--stone-grey); opacity: 1; }
.field label .optional { font-weight: 500; color: var(--stone-grey); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--stone-red-dark); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--carbon); background: var(--white);
}
.form .btn { grid-column: 1 / -1; margin-top: 8px; }
.form__note { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--stone-grey); }
.form__note a { color: inherit; font-weight: 700; }
.form__status {
  grid-column: 1 / -1; margin: 0; padding: 14px 18px;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--border-strong);
  font-size: 15px; text-align: center;
}
.form__status[hidden] { display: none; }
.form__status a { color: var(--stone-red-dark); font-weight: 800; }

/* ---------- Service detail (services page) ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.detail + .detail { margin-top: clamp(80px, 10vw, 140px); }
.detail--flip .detail__art { order: 2; }
.detail__art img { width: 100%; border-radius: var(--radius-lg); }
.detail__art picture { display: block; }
.detail__art .photo {
  aspect-ratio: 4 / 3; height: auto; object-fit: cover;
  background: var(--border); box-shadow: var(--shadow);
}
.detail__text > p { margin-top: 18px; font-size: 18px; color: var(--stone-grey); max-width: 460px; }
.detail__text .btn { margin-top: 36px; }

.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: baseline; }
.ticks li::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--stone-red); transform: translateY(1px);
}
.ticks strong { font-weight: 800; }
.ticks span { color: var(--stone-grey); }

.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.split-card { background: var(--white); border-radius: var(--radius); padding: 24px; }
.section--white .split-card { background: var(--paper); }
.split-card h4 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.split-card p { color: var(--stone-grey); font-size: 15px; }

/* ---------- Steps (drivers) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--carbon); color: var(--paper); font-weight: 900;
}
.step::after {
  content: ""; position: absolute; top: 21px; left: 60px; right: -12px;
  border-top: 3px dotted var(--border-strong);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--stone-grey); }

.apply { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.apply__text > p { margin-top: 18px; font-size: 18px; color: var(--stone-grey); max-width: 420px; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--carbon); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%; background: var(--stone-red);
  opacity: .95;
}
.cta > * { position: relative; z-index: 1; }
.cta p { margin-top: 14px; color: #BDB8AD; font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--carbon); color: var(--paper); padding: 88px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer__logo { width: 190px; }
.footer__tag { margin-top: 24px; color: #BDB8AD; max-width: 300px; }
.footer__col h4 { margin: 0 0 18px; font-size: 16px; font-weight: 800; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a { text-decoration: none; color: #BDB8AD; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid #2E2E2E;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: #8F8A80;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 24px; }
}

@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes .quote:last-child { grid-column: 1 / -1; }
  .steps.steps--4 { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps--4 .step:nth-child(2)::after { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  :root { --gutter: 20px; }

  .nav { height: 68px; }
  .nav__logo img { height: 22px; }
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav__links li a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 18px; }
  .nav__links li a[aria-current]:not(.btn) { color: var(--stone-red-dark); }
  .nav__links .btn { width: 100%; margin-top: 20px; padding: 16px; }
  .nav__toggle:checked ~ .nav__links { display: flex; }
  .nav__toggle:checked ~ .nav__burger .icon-open { display: none; }
  .nav__toggle:checked ~ .nav__burger .icon-close { display: block; }
  .nav__toggle:focus-visible ~ .nav__burger { outline: 3px solid var(--stone-red); outline-offset: 3px; }

  .hero__grid, .about, .contact, .detail, .apply, .cta { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; }
  .detail--flip .detail__art { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps, .steps.steps--4 { grid-template-columns: 1fr; gap: 36px; }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta::after { width: 140px; height: 140px; right: -50px; top: -50px; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { columns: 2; column-gap: 24px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero__text .btn { width: 100%; }
  .features { grid-template-columns: 1fr; gap: 36px; }
  .quotes { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .split-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .route-strip a { font-size: 15px; }
  .contact__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .faq details { padding: 0 20px; }
  .fact { padding: 20px; }
  .legal__toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
