/* =========================================================
   FixASAP Mobile Mechanics – main stylesheet
   Design tokens taken from the approved homepage design.
   ========================================================= */

@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/kanit-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/kanit-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-700.woff2') format('woff2'); }

:root {
  --red: #ED1C24;
  --red-dark: #C8141B;
  --red-darker: #9E0F15;
  --black: #141112;
  --ink: #231F20;
  --ink-2: #2E2A2B;
  --bg: #F6F5F2;
  --white: #FFFFFF;
  --line: #E4E1DB;
  --input-line: #D8D4CE;
  --muted: #4A4546;
  --muted-2: #6A6360;
  --on-dark: #C9C3BF;
  --on-dark-2: #A8A19D;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-display: 'Kanit', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-dark); }
a:hover { color: var(--red-darker); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid rgba(237, 28, 36, .5); outline-offset: 2px; border-radius: 6px; }
.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted-2); }
.small { font-size: 15px; }
.red { color: var(--red); }
/* Two-colour headings: the emphasised phrase is red on light and dark backgrounds, and white on red. */
.hl { color: var(--red); }
.cta .h2, .price-card--red .h2, .price-card--red .h3 { color: var(--ink); }
.cta .hl, .price-card--red .hl { color: #fff; }
/* Avoid single-word last lines */
.h1, .h2, .h3, .h4, .prose h2, .step__title, .faq-group__title { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
mark.placeholder { background: #FFF1A8; color: #3B3000; padding: 0 4px; border-radius: 4px; font-size: .92em; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Type ---------- */
.h1 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -1px; }
.h1--md { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.h2 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05; }
@media (min-width: 900px) { .h2--single { white-space: nowrap; } .section-head:has(.h2--single) { max-width: none; } }
.h3 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 26px; line-height: 1.1; }
.h3--lg { font-size: 30px; }
.h4 { font-size: 22px; font-weight: 700; line-height: 1.25; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.lead--dark { color: var(--on-dark); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red-dark); }
.eyebrow--dark { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 10px 20px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #F0EEEA; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 46px; height: 46px; border-radius: 23px; border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: transparent; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--ink); color: #fff; }
.icon-btn--light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.text-link { font-weight: 700; color: var(--ink); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--black); color: #D9D4D0; font-size: 14px; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .dot { color: var(--red); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 245, 242, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nav__logo img { height: 48px; width: auto; }
.nav__links { display: flex; gap: 22px; list-style: none; }
.navlink { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 4px; position: relative; }
.navlink::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 3px; background: var(--red); transform: scaleX(0) skewX(-24deg); transform-origin: left; transition: transform .3s var(--ease); }
.navlink:hover, .navlink.is-active { color: var(--ink); }
.navlink:hover::after, .navlink.is-active::after { transform: scaleX(1) skewX(-24deg); }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--black); color: #fff; padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__top img { height: 46px; width: auto; }
.mobile-menu__links { list-style: none; display: flex; flex-direction: column; }
.mobile-menu__links a { display: block; padding: 14px 0; border-bottom: 1px solid #2E2A2B; color: #fff; text-decoration: none; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; }
.mobile-menu__links a:hover { color: var(--red); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1060px) { .nav__links { gap: 14px; } .navlink { font-size: 15px; } }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
  .nav__logo img { height: 40px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; padding-bottom: 0; font-size: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted-2); margin-right: 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); color: #F7F6F3; }
.hero__bg, .hero picture:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture:first-child { position: absolute; inset: 0; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 18, .97) 0%, rgba(20, 17, 18, .88) 45%, rgba(20, 17, 18, .6) 100%); }
.hero__glow { position: absolute; right: -120px; top: -80px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 28, 36, .28), rgba(237, 28, 36, 0) 70%); }
.hero__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero--page .hero__inner { padding-top: 64px; padding-bottom: 72px; }
.hero--page .hero__copy { flex-basis: 100%; }
.hero--page .h1 { font-size: clamp(1.9rem, 4vw, 3.6rem); }
.hero--page .lead { max-width: 760px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.chip { display: inline-flex; align-self: flex-start; gap: 10px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.chip__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--red); }
.facts { display: flex; flex-wrap: wrap; gap: 16px 28px; padding-top: 8px; }
.fact { border-left: 3px solid var(--red); padding-left: 14px; }
.fact__value { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 28px; line-height: 1.1; }
.fact__label { font-size: 14px; color: var(--on-dark-2); }
.hero--home .hero__shade { background: linear-gradient(90deg, rgba(20, 17, 18, .96) 0%, rgba(20, 17, 18, .82) 38%, rgba(20, 17, 18, .25) 68%, rgba(20, 17, 18, .1) 100%), linear-gradient(0deg, rgba(20, 17, 18, .85) 0%, rgba(20, 17, 18, 0) 38%); }
.hero--home .hero__inner { padding-bottom: 48px; min-height: 520px; }
.hero--home .hero__copy { flex: 0 1 640px; }
.hero__bar { position: relative; z-index: 3; padding-bottom: 40px; }
.slide-up { animation: fx-rise .9s .35s var(--ease) both; }
.quote-card--bar { padding: 24px 28px; }
.quote-card--bar .quote-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px 14px; align-items: start; }
.quote-card--bar .quote-form__head { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.quote-card--bar .alert { grid-column: 1 / -1; }
.quote-card--bar .field-row { display: contents; }
.quote-card--bar .consent { grid-column: 1 / 5; order: 2; }
.quote-card--bar .consent + .field-error { order: 3; grid-column: 1 / -1; }
.quote-card--bar .field-error { grid-column: auto; }
.quote-card--bar button[type=submit] { grid-column: 5; order: 1; align-self: start; margin-top: 27px; white-space: nowrap; }
.quote-card--bar .quote-done { grid-column: 1 / -1; padding: 8px 0; }
@media (max-width: 1100px) {
  .quote-card--bar .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-card--bar .consent { grid-column: 1 / -1; order: 1; }
  .quote-card--bar button[type=submit] { grid-column: 1 / -1; order: 2; margin-top: 0; }
}
@media (max-width: 520px) { .quote-card--bar .quote-form { grid-template-columns: 1fr; } .hero--home .hero__shade { background: linear-gradient(0deg, rgba(20, 17, 18, .95) 0%, rgba(20, 17, 18, .75) 60%, rgba(20, 17, 18, .55) 100%); } }
.hero__side { flex: 1 1 400px; min-width: 0; max-width: 480px; }

/* speed streaks */
.streak { position: absolute; left: 0; height: 5px; border-radius: 3px; background: var(--red); transform: skewX(-24deg); animation: fx-streak 3.6s cubic-bezier(.6, 0, .25, 1) infinite; pointer-events: none; z-index: 1; }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 16px 0; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 24px; white-space: nowrap; }
.ticker__track { display: flex; width: max-content; animation: fx-ticker 34s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__row { display: flex; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker__dash { width: 26px; height: 6px; background: var(--black); transform: skewX(-24deg); display: inline-block; }

/* ---------- Car-brand carousel ---------- */
.brands { position: relative; background: var(--black); border-top: 4px solid var(--red); border-bottom: 4px solid var(--red); color: #fff; overflow: hidden; padding: 26px 0 30px; }
.brands::before, .brands::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; }
.brands::before { left: 0; background: linear-gradient(90deg, var(--black) 15%, rgba(20, 17, 18, 0)); }
.brands::after { right: 0; background: linear-gradient(270deg, var(--black) 15%, rgba(20, 17, 18, 0)); }
.brands__viewport { overflow: visible; }
.brands__track { list-style: none; display: flex; align-items: center; width: max-content; will-change: transform; }
.brands__track.is-moving { transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.brand { flex: 0 0 220px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: .6; transform: scale(.85); transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .55s; }
.brand svg { height: 56px; width: auto; max-width: 140px; }
.brand__name { position: relative; padding-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.brand.is-active { opacity: 1; transform: scale(1.4); }
.brand.is-active .brand__name { opacity: 1; }
.brand__name::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 28px; height: 3px; margin-left: -14px; background: var(--red); transform: skewX(-24deg); }
.brands__more { position: absolute; right: 24px; bottom: 10px; z-index: 3; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 16px; color: var(--red); opacity: 1; }
/* Without JavaScript (or with reduced motion): a static, centred row of the logos */
.brands:not(.is-ready) .brands__track { margin: 0 auto; }
.brands:not(.is-ready) .brand--clone { display: none; }
.brands:not(.is-ready) .brand { opacity: 1; transform: none; flex-basis: 170px; }
.brands:not(.is-ready)::before, .brands:not(.is-ready)::after { display: none; }
@media (max-width: 600px) {
  .brand { flex-basis: 150px; height: 84px; }
  .brand svg { height: 38px; }
  .brands:not(.is-ready) .brands__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .brands:not(.is-ready) .brand { flex-basis: 33%; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--black); color: #F7F6F3; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 1040px; }
.section-head__intro { max-width: 760px; }
.section-head--center { align-items: center; text-align: center; margin: 0 auto; }
.section-head__intro { color: var(--muted); font-size: 18px; }
.section--dark .section-head__intro { color: var(--on-dark); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--top { align-items: flex-start; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; line-height: 1.15; margin-top: 24px; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p, .prose li { color: var(--muted); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); list-style: none; }
.card { position: relative; background: var(--bg); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.section:not(.section--white) .card:not(.card--dark):not(.card--white) { background: var(--white); border: 1px solid var(--line); }
.card--white { background: var(--white); border: 1px solid var(--line); }
.card--dark { background: var(--black); color: #F7F6F3; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 17, 18, .12); }
.card__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card--service { padding: 26px; }
.card--service .card__media { width: calc(100% + 52px); margin: -26px -26px 6px; }
.card--service .h3 { font-size: 22px; white-space: nowrap; }
.h3 .hl { white-space: nowrap; }
.h3--lg { font-size: clamp(22px, 6vw, 30px); }
.card__media { width: calc(100% + 64px); max-width: none; margin: -32px -32px 6px; height: 200px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card__text { color: var(--muted); }
.card--dark .card__text { color: var(--on-dark); }
.card__spacer { flex: 1; }
.card__price { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.card__arrow { color: var(--red); transition: transform .25s var(--ease); }
.card:hover .card__arrow { transform: translateX(6px); }
.icon-tile { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--red); display: flex; align-items: center; justify-content: center; }
.icon-tile--red { background: var(--red); color: #fff; }

/* ---------- Media with red accents ---------- */
.media { position: relative; overflow: hidden; background: var(--black); }
.media picture { position: absolute; inset: 0; display: block; }
.media picture, .media img { width: 100%; height: 100%; }
.media img { object-fit: cover; transition: transform .6s var(--ease); }
.media:hover img, .card:hover .media img { transform: scale(1.06); }
.media--frame { border-radius: var(--radius-lg); aspect-ratio: 3 / 2; }
.media--why { aspect-ratio: 870 / 702; }
.media--tall { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
.accent-bar { position: absolute; left: 0; bottom: 0; height: 6px; width: 42%; background: var(--red); transition: width .5s var(--ease); z-index: 2; }
.media:hover .accent-bar, .card:hover .accent-bar { width: 100%; }
.accent-lines { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; z-index: 2; }
.accent-lines span { display: block; height: 5px; border-radius: 3px; background: var(--red); transform-origin: right; animation: fx-draw .7s var(--ease) both; }
.accent-lines span:nth-child(1) { width: 56px; }
.accent-lines span:nth-child(2) { width: 38px; animation-delay: .12s; opacity: .75; }
.accent-lines span:nth-child(3) { width: 20px; animation-delay: .24s; opacity: .5; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist__tick { width: 28px; height: 28px; border-radius: 14px; background: var(--ink); color: var(--red); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.checklist--dark .checklist__tick { background: var(--red); color: #fff; }
.checklist__title { font-weight: 700; font-size: 19px; }
.checklist__text { color: var(--muted); }
.checklist--dark .checklist__text { color: var(--on-dark); }

/* ---------- Pricing ---------- */
.price-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.price-card { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.price-card p { color: var(--muted); }
.price-card__label { font-weight: 700; color: var(--muted-2) !important; }
.price { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 56px; line-height: 1; color: var(--ink) !important; }
.price-card--red { background: var(--red); border-color: var(--red); }
.price-card--red p, .price-card--red .price, .price-card--red .price-card__label { color: #fff !important; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--black); color: #fff; font-weight: 700; }
.table thead th.is-brand { background: var(--red); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 700; width: 26%; }

/* ---------- Steps ---------- */
.step { background: var(--ink); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.step__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(237, 28, 36, .35); transition: transform .3s var(--ease); }
.step:hover .step__icon { transform: translateY(-3px) rotate(-4deg); }
.step__label { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-top: 6px; }
.step__label--dark { color: var(--red-dark); }
.step__num { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 64px; line-height: 1; color: var(--red); }
.step__title { font-size: 24px; font-weight: 700; }
.step p { color: var(--on-dark); }

/* ---------- Pills ---------- */
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--ink); font-weight: 600; padding: 12px 22px; border: 1.5px solid var(--ink); border-radius: 999px; transition: background .2s, color .2s; }
.pill:hover, .pill[aria-current] { background: var(--ink); color: #fff; }
.area-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.area-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 30%; background: var(--red); transition: width .4s var(--ease); }
.area-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 17, 18, .1); }
.area-card:hover::after { width: 100%; }
.area-card__name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; line-height: 1.1; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 700; color: var(--ink); min-height: 44px; border-radius: var(--radius-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { width: 36px; height: 36px; border-radius: 18px; background: var(--ink); flex: none; position: relative; transition: background .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 11px; top: 17px; width: 14px; height: 2px; background: #fff; border-radius: 1px; }
.faq__icon::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq[open] .faq__icon { background: var(--red); }
.faq[open] .faq__icon::after { transform: rotate(0); }
.faq p { padding: 0 24px 22px; color: var(--muted); }
.faq-group + .faq-group { margin-top: 40px; }

/* ---------- Tabs (FAQ page) ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tabs__list[hidden] { display: none; }
.tabs__tab { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.tabs__tab:hover { background: var(--red-dark); }
.tabs__tab[aria-selected="true"] { background: var(--red-darker); box-shadow: 0 10px 22px rgba(158, 15, 21, .35), inset 0 0 0 3px rgba(255, 255, 255, .85); }
.tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; background: var(--red-darker); transform: rotate(45deg); border-radius: 2px; }
.tabs__tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tabs__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: rgba(255, 255, 255, .22); font-size: 14px; }
.tabs.is-ready .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs.is-ready .tabs__panel { animation: fx-rise .45s var(--ease) both; }
.tabs.is-ready .tabs__panel[hidden] { display: none; }
@media (max-width: 520px) { .tabs__list { gap: 8px; } .tabs__tab { flex: 1 1 calc(50% - 8px); justify-content: center; padding: 12px 14px; font-size: 18px; } }
.faq-group__title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 26px; margin-bottom: 16px; }

/* ---------- Forms ---------- */
.quote-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.quote-card--full { box-shadow: none; border: 1px solid var(--line); }
.quote-form, .form { display: flex; flex-direction: column; gap: 14px; }
.quote-form__head { display: flex; flex-direction: column; gap: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label, legend { font-weight: 600; font-size: 15px; }
.req { color: var(--red-dark); }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=date], input[type=number], input[type=file], select, textarea {
  font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid var(--input-line); border-radius: var(--radius-sm); background: #FAF9F7; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(237, 28, 36, .35); outline-offset: 1px; border-color: var(--red); }
[aria-invalid="true"] { border-color: var(--red-dark) !important; background: #FFF6F6; }
.field-error { color: var(--red-dark); font-size: 14px; font-weight: 600; }
fieldset.optional { border: 1px dashed var(--input-line); border-radius: var(--radius-md); padding: 18px; margin: 4px 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
fieldset.optional legend { padding: 0 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; }
.alert--error { background: #FDECEC; color: #7A0B10; border: 1px solid #F5B5B8; }
.alert--success { background: #ECF7EE; color: #14532D; border: 1px solid #B7E0C0; }
.quote-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px 0; }
.quote-done[hidden] { display: none; }
.tick-circle { width: 56px; height: 56px; border-radius: 28px; background: var(--red); display: flex; align-items: center; justify-content: center; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .quote-card { padding: 24px; } }

/* ---------- Contact cards ---------- */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--ink); }
a.contact-card:hover { color: var(--ink); border-color: var(--ink); }
.contact-card__title { font-weight: 700; }
.contact-card__value { color: var(--muted); }

/* ---------- Draft banner (legal) ---------- */
.draft-banner { background: #FFF1A8; color: #3B3000; border: 1px solid #E8D46A; border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 0 24px 96px; }
.cta { background: var(--red); color: #fff; border-radius: 32px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -40px; top: 24px; width: 240px; height: 14px; background: rgba(20, 17, 18, .25); transform: skewX(-24deg); }
.cta::after { content: ""; position: absolute; right: 30px; top: 50px; width: 140px; height: 14px; background: rgba(20, 17, 18, .18); transform: skewX(-24deg); }
.cta__text { display: flex; flex-direction: column; gap: 8px; max-width: 640px; position: relative; }
.cta__text p { font-size: 19px; color: var(--ink); font-weight: 600; }
.cta .btn-row { position: relative; }
@media (max-width: 600px) { .cta { padding: 40px 24px; } .cta-wrap { padding: 0 16px 72px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark); font-size: 15px; padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { width: 220px; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--on-dark); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__title { color: #fff; font-weight: 700; }
.footer__bottom { border-top: 1px solid #2E2A2B; margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: var(--on-dark-2); }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a { color: var(--on-dark-2); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 64px; height: 64px; border-radius: 32px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(237, 28, 36, .45); animation: fx-pulse 2.2s infinite; }
.fab:hover { color: #fff; background: var(--red-dark); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: var(--red); }

/* ---------- Motion ---------- */
@keyframes fx-streak { 0% { transform: translateX(-140%) skewX(-24deg); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(560%) skewX(-24deg); opacity: 0; } }
@keyframes fx-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fx-slide { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes fx-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes fx-draw { from { transform: scaleX(0) skewX(-24deg); } to { transform: scaleX(1) skewX(-24deg); } }
@keyframes fx-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fx-pulse { 0% { box-shadow: 0 0 0 0 rgba(237, 28, 36, .55); } 70% { box-shadow: 0 0 0 18px rgba(237, 28, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, 0); } }
.rise { animation: fx-rise .8s var(--ease) both; }
.slide-in { animation: fx-slide .9s .35s var(--ease) both; }
.kenburns { animation: fx-zoom 14s ease-in-out infinite alternate; }
@supports (animation-timeline: view()) {
  .reveal { animation: fx-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
