/* ==========================================================================
   Keynova Automotive
   1. Fonts        2. Tokens       3. Base        4. Buttons
   5. Header/menu  6. Hero         7. Trust bar   8. Services
   9. Emergency   10. Process     11. Why        12. Areas
  13. FAQ         14. Quote form  15. Footer     16. Responsive
   ========================================================================== */

/* 1. Fonts — self-hosted, latin subset ------------------------------------ */
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2");
  font-weight: 800; font-style: italic; font-display: swap; }

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  --black: #07090b;
  --black-soft: #0d1013;
  --charcoal: #171b20;
  --steel: #8e969f;
  --line-dark: #2b3036;
  --line-light: #d9dde1;
  --white: #ffffff;
  --paper: #f3f4f5;
  --ink: #111417;
  --muted: #5c646d;

  /* Brand red. --red is the fill (white-on-red 4.89:1).                     */
  /* Small red TEXT must use the surface-specific tokens — plain --red fails  */
  /* WCAG AA at small sizes (4.08:1 on black, 4.44:1 on paper).               */
  --red: #e20c17;
  --red-hover: #f01923;
  --red-on-dark: #ff3b45;   /* 5.66:1 on --black  */
  --red-on-light: #d40a14;  /* 4.95:1 on --paper  */

  --green: #12803e;         /* white on green 5.02:1 */
  --green-hover: #0f6e35;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --header-height: 88px;
  --shell: 1240px;
  --radius: 5px;
}

/* 3. Base ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
/* the WhatsApp mark is a filled glyph, not a stroked line icon */
.wa-glyph { fill: currentColor; stroke: none; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px;
  color: var(--black); background: var(--white); border-radius: 3px; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.section-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 104px 0; }

/* Tracking is size-specific (Apple, The Details of UI Typography): large
   display type reads too loose at 0, small text needs a touch of positive. */
h1, h2, h3 { margin-top: 0; font-family: var(--display); text-transform: uppercase;
  letter-spacing: -0.015em; font-optical-sizing: auto; }
h2 { margin-bottom: 0; font-size: clamp(38px, 5vw, 64px); line-height: .95; letter-spacing: -0.02em; }
p { margin-top: 0; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  color: #dfe3e6; font: 700 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.eyebrow > span:not(.pulse) { width: 36px; height: 3px; background: var(--red); }
.eyebrow.dark { color: #454c54; }
.eyebrow.dark > span:not(.pulse) { background: var(--red-on-light); }

/* the "we're open" dot */
.pulse { position: relative; width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #2bd06a; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #2bd06a; opacity: .55; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }

/* 4. Buttons --------------------------------------------------------------- */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; line-height: 1.2;
  text-align: center; cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.button-lg { min-height: 58px; padding: 0 26px; font-size: 17px; }
.button:hover { transform: translateY(-2px); }
/* §1 Response: the press is the moment feedback must appear. Waiting for
   release feels dead. Short, ease-out, and it wins over :hover. */
.button:active { transform: translateY(0) scale(.97); transition-duration: 90ms; }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-hover); }
.button-whatsapp { color: var(--white); background: var(--green); }
.button-whatsapp:hover { background: var(--green-hover); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.42); background: rgba(7,9,11,.35); }
.button-ghost:hover { border-color: var(--white); background: rgba(7,9,11,.7); }
.button-ghost-dark { color: var(--ink); border-color: #c4cad0; background: var(--white); }
.button-ghost-dark:hover { border-color: var(--ink); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #ff7379; outline-offset: 3px; border-radius: 3px; }

/* 5. Header & menu --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-height); color: var(--white);
  border-bottom: 1px solid transparent; background: rgba(7,9,11,.82); backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }
/* §12: a scroll edge effect rather than a permanent 1px rule - the separation
   appears only when content is actually passing underneath the chrome. */
.site-header.is-scrolled { background: rgba(7,9,11,.96);
  border-bottom-color: rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.header-inner { width: min(calc(100% - 48px), 1380px); height: 100%; margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-type { min-width: 0; display: grid; align-content: center; color: var(--white); text-transform: uppercase; }
.brand-name { display: flex; align-items: baseline; font: italic 800 33px/.82 var(--display); white-space: nowrap; }
.brand-name b, .brand-name strong { font: inherit; }
.brand-name b { color: #e7eaec; }
.brand-name strong { color: var(--red-on-dark); }
.brand-subtitle { margin-top: 5px; color: #c3c9ce; font: 700 12px/1 var(--sans); letter-spacing: .18em; }

.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 34px; }
.desktop-nav a { position: relative; padding: 12px 0; color: #d6d9dc; font-size: 14px; font-weight: 700; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px;
  background: var(--red-on-dark); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-dark); border-radius: 4px; transition: border-color 160ms ease; }
.header-phone:hover { border-color: #4c545c; }
.header-phone svg { width: 20px; height: 20px; color: var(--red-on-dark); }
.header-phone-text { display: grid; }
.header-phone small { color: #9aa2aa; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.header-phone strong { font: 700 17px/1.25 var(--sans); letter-spacing: .01em; }
.header-wa { min-height: 46px; }

.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; color: var(--white);
  border: 1px solid var(--line-dark); border-radius: 4px; background: var(--charcoal); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; stroke-width: 2; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { position: fixed; top: var(--header-height); right: 0; left: 0; z-index: 49;
  height: calc(100svh - var(--header-height)); padding: 18px 22px calc(96px + env(safe-area-inset-bottom));
  overflow-y: auto; background: var(--black); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.mobile-menu[hidden] { display: none; }
/* §7 spatial consistency: the menu is triggered at the top, so it arrives from
   the top and leaves the same way. Enter and exit share one path. */
.js .mobile-menu { opacity: 0; transform: translateY(-12px);
  transition: opacity 200ms ease, transform 260ms cubic-bezier(.2,.9,.28,1); }
.js .mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: center; gap: 18px; padding: 17px 0; color: var(--white);
  border-bottom: 1px solid var(--line-dark); font: 700 29px/1 var(--display); text-transform: uppercase; }
.mobile-menu nav a span { color: var(--red-on-dark); font: 700 12px/1 var(--sans); }
.menu-contact { display: grid; gap: 10px; margin-top: 26px; }
.menu-note { display: flex; align-items: center; gap: 9px; margin: 0 0 4px;
  color: #dfe3e6; font-size: 13px; font-weight: 700; }
.menu-contact .button { width: 100%; }
.menu-foot { margin: 6px 0 0; color: #8e959c; font-size: 12px; text-align: center; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: calc(100svh - var(--header-height)); display: flex;
  color: var(--white); background: var(--black); overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(1.06) saturate(1.06); }
.hero-shade { background:
  linear-gradient(90deg, rgba(7,9,11,.96) 0%, rgba(7,9,11,.82) 36%, rgba(7,9,11,.14) 68%, rgba(7,9,11,.2) 100%),
  linear-gradient(0deg, rgba(7,9,11,.78) 0%, transparent 36%); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; padding: 50px 0 150px; }
.hero-copy { max-width: 730px; }
.hero h1 { margin-bottom: 26px; font-size: clamp(50px, 7.2vw, 94px); line-height: .84; }
.hero h1 strong { color: var(--red-on-dark); font: inherit; }
.hero-lead { max-width: 600px; margin: 0 0 30px; color: #e6e9eb; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-alt { margin: 20px 0 0; font-size: 14px; }
.hero-alt a { color: #cdd2d6; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.hero-alt a:hover { color: var(--white); border-color: var(--white); }

.hero-status { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; min-height: 116px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-inline: max(24px, calc((100% - var(--shell)) / 2));
  border-top: 1px solid rgba(255,255,255,.16); background: rgba(7,9,11,.8); backdrop-filter: blur(12px); }
.hero-status > div { display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 20px 32px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-status > div:first-child { padding-left: 0; }
.hero-status > div:last-child { border-right: 0; }
.hero-status strong { font: 700 20px/1 var(--display); text-transform: uppercase; }
.hero-status small { color: #b3b9bf; font-size: 12.5px; }

/* 7. Trust bar ------------------------------------------------------------- */
.trustbar { background: var(--charcoal); color: var(--white); }
.trustbar ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; list-style: none; }
.trustbar li { display: flex; align-items: center; gap: 14px; padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.12); }
.trustbar li:first-child { padding-left: 0; }
.trustbar li:last-child { border-right: 0; }
.trustbar svg { width: 27px; height: 27px; flex: 0 0 auto; color: var(--red-on-dark); }
.trustbar span { display: grid; gap: 3px; font-size: 12.5px; color: #aab0b6; line-height: 1.35; }
.trustbar strong { font: 700 16px/1 var(--display); font-size: 19px; text-transform: uppercase; color: var(--white); }

/* 8. Services -------------------------------------------------------------- */
.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 60px; margin-bottom: 48px; }
.section-heading h2 { max-width: 680px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px;
  background: var(--white); border: 1px solid #e2e4e6; border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(16,20,23,.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.service-card:hover { transform: translateY(-3px); border-color: #cfd4d8; box-shadow: 0 18px 36px rgba(16,20,23,.11); }
.service-card:active { transform: translateY(0) scale(.99); transition-duration: 90ms; }
.service-card--featured { border-color: rgba(226,12,23,.34); }
.service-tag { position: absolute; top: 14px; right: 14px; padding: 4px 9px; border-radius: 3px;
  color: var(--white); background: var(--red); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; }
/* No icon: a short red rule carries the eye instead - the same accent already
   used by .eyebrow across the site, so it reads as existing branding. */
.service-card::before { content: ""; display: block; width: 30px; height: 3px;
  margin-bottom: 20px; background: var(--red); }
.service-card h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.04; }
.service-card p { flex: 1; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.service-link { display: inline-flex; align-items: center; margin-top: 6px; padding: 14px 0;
  color: var(--red-on-light); font-size: 13px; font-weight: 700; }   /* 44px tap target */
.service-link span { margin-left: 5px; }
.service-card:hover .service-link { text-decoration: underline; }
.service-foot { margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.service-foot a { color: var(--red-on-light); font-weight: 700; text-decoration: underline; }

/* 9. Emergency band -------------------------------------------------------- */
.emergency { position: relative; display: grid; place-items: center; min-height: 460px;
  padding: 90px 0; color: var(--white); background: var(--black); overflow: hidden; text-align: center; }
.emergency-media { position: absolute; inset: 0; }
.emergency-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: brightness(1.18); }
.emergency::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,9,11,.86) 0%, rgba(7,9,11,.5) 55%, rgba(7,9,11,.72) 100%); }
.emergency-inner { position: relative; z-index: 2; display: grid; justify-items: center; max-width: 720px; }
.emergency .eyebrow { justify-content: center; }
.emergency h2 { margin-bottom: 18px; }
.emergency h2 strong { color: var(--red-on-dark); font: inherit; }
.emergency-inner > p { max-width: 520px; margin: 0 0 30px; color: #dde1e4; font-size: 17px; line-height: 1.6; }

/* 10. Process -------------------------------------------------------------- */
.process { color: var(--white); background: var(--black); }
.process-heading { display: grid; grid-template-columns: 240px minmax(0, 680px); align-items: end; gap: 55px; margin-bottom: 52px; }
.process-heading .eyebrow { margin-bottom: 8px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.process-step { padding: 32px 32px 40px; border-right: 1px solid var(--line-dark); }
.process-step:last-child { border-right: 0; }
.process-step svg { width: 40px; height: 40px; margin: 0 0 24px; color: var(--red-on-dark); }
.process-step h3 { margin-bottom: 12px; font-size: 30px; line-height: 1; }
.process-step p { max-width: 300px; margin: 0; color: #b4bac0; font-size: 14.5px; line-height: 1.65; }

/* 11. Why ------------------------------------------------------------------ */
.why { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  min-height: 720px; padding: 0; background: var(--white); }
.why-media { min-height: 720px; overflow: hidden; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-copy { align-self: center; max-width: 680px; padding: 72px clamp(44px, 7vw, 104px); }
.why-copy h2 { margin-bottom: 24px; }
.why-copy > p:not(.eyebrow) { margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.proof-list { margin: 0; }
.proof-list > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 17px 0;
  border-top: 1px solid var(--line-light); }
.proof-list > div:last-child { border-bottom: 1px solid var(--line-light); }
.proof-list dt { font: 700 21px/1.1 var(--display); text-transform: uppercase; }
.proof-list dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* 12. Areas covered -------------------------------------------------------- */
.areas { color: var(--white); background: var(--charcoal); }
.areas-head { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 60px; margin-bottom: 44px; }
.areas-head > p { margin: 0; color: #b9bec3; font-size: 16px; line-height: 1.7; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0;
  list-style: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.area-grid li { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; background: var(--charcoal); }
.area-grid strong { font: 700 22px/1 var(--display); text-transform: uppercase; }
.area-grid span { color: #aab0b6; font-size: 13px; line-height: 1.55; }
.area-grid em { color: var(--red-on-dark); font-style: normal; margin-top: auto; padding-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.areas-cta { margin: 28px 0 0; color: #c8cdd1; font-size: 15px; }
.areas-cta a { color: var(--white); font-weight: 700; border-bottom: 1px solid var(--red-on-dark); padding-bottom: 1px; }

/* 13. FAQ ------------------------------------------------------------------ */
.faq { background: var(--paper); }
.faq-head { margin-bottom: 36px; }
.faq-list { max-width: 880px; border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px; font: 700 21px/1.3 var(--display); font-size: 23px; text-transform: uppercase;
  cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--red-on-light); }
.chev { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.chev::before, .chev::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 2px;
  border-radius: 2px; background: var(--red-on-light); transition: transform 200ms ease; }
.chev::after { transform: rotate(90deg); }
details[open] .chev::after { transform: rotate(0deg); }
.faq-list details > div { padding: 0 4px 26px; }
.faq-list details p { max-width: 720px; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq-list details a { color: var(--red-on-light); font-weight: 700; text-decoration: underline; }

/* 14. Quote / lead form ---------------------------------------------------- */
.quote { background: var(--white); }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.quote-intro h2 { margin-bottom: 20px; }
.quote-intro > p:not(.eyebrow) { max-width: 440px; margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.quote-call { display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px 16px 20px;
  color: var(--white); background: var(--black); border-radius: var(--radius); transition: transform 180ms ease; }
.quote-call:hover { transform: translateY(-2px); }
.quote-call:active { transform: translateY(0) scale(.985); transition-duration: 90ms; }
.quote-call svg { width: 26px; height: 26px; color: var(--red-on-dark); }
.quote-call span { display: grid; gap: 2px; }
.quote-call small { color: #a8aeb4; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quote-call strong { font-size: 24px; letter-spacing: .01em; }
.quote-points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.quote-points li { position: relative; padding-left: 28px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.quote-points li::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 9px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

.quote-form-wrap { padding: 36px; border: 1px solid #e3e6e8; border-radius: var(--radius);
  background: var(--paper); box-shadow: 0 18px 45px rgba(15,19,22,.07); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #343a40; font-size: 12.5px; font-weight: 700; }
.req { color: var(--red-on-light); }
.opt { color: #5f676f; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font-size: 16px; color: var(--ink);
  border: 1px solid #c5cbd0; border-radius: 3px; background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input, .field select { height: 52px; padding: 0 13px; }
.field select { appearance: none; background-image:
  url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343a40' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { display: block; padding: 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,12,23,.14); outline: none; }
.field [aria-invalid="true"] { border-color: var(--red-on-light); background: #fff7f7; }
.field-error { display: block; min-height: 17px; padding-top: 5px; color: #a8080f; font-size: 11.5px; font-weight: 600; }
.hp-field { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.submit-button { width: 100%; min-height: 58px; font-size: 17px; }
.form-status { min-height: 20px; margin: 12px 0 0; color: #a8080f; font-size: 13px; font-weight: 700; text-align: center; }
.form-legal { margin: 10px 0 0; color: #5f676f; font-size: 12px; line-height: 1.5; text-align: center; }
.form-legal a { text-decoration: underline; }

.quote-sent { text-align: center; }
.quote-sent[hidden] { display: none; }
.sent-tick { width: 54px; height: 54px; margin: 6px auto 18px; color: var(--green); stroke-width: 1.6; }
.quote-sent h3 { margin-bottom: 10px; font-size: 32px; }
.quote-sent > p { max-width: 380px; margin: 0 auto 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sent-actions { display: grid; gap: 10px; }
.sent-back { margin-top: 18px; padding: 8px; color: var(--muted); border: 0; background: none;
  font-size: 13px; font-weight: 600; cursor: pointer; }
.sent-back:hover { color: var(--ink); }

/* 14b. Our Work gallery + lightbox ---------------------------------------- */
.gallery { background: var(--paper); }
.gallery[hidden] { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none; }
.gallery-grid > li { display: flex; }
.gallery-item { flex: 1; }
.gallery-item { position: relative; margin: 0; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; background: #e7e9ea; cursor: zoom-in; aspect-ratio: 4 / 3;
  transition: transform 200ms ease, box-shadow 200ms ease; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16,20,23,.16); }
.gallery-item:active { transform: scale(.97); transition-duration: 90ms; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,9,11,.5) 100%); transition: opacity 200ms ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-foot { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.gallery-foot a { color: var(--red-on-light); font-weight: 700; text-decoration: underline; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid;
  grid-template-columns: 64px 1fr 64px; align-items: center;
  background: rgba(5,7,9,.94); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
/* §12 materialize, don't just fade: the surface and its contents arrive
   together, so it reads as a real pane rather than an opacity ramp. */
.js .lightbox { opacity: 0; transition: opacity 240ms ease; }
.js .lightbox.is-open { opacity: 1; }
.js .lb-stage { transform: scale(.94);
  transition: transform 320ms cubic-bezier(.2,.9,.28,1); }
.js .lightbox.is-open .lb-stage { transform: scale(1); }
/* while a swipe is in progress the image tracks the finger 1:1 (§2) */
.js .lightbox.is-dragging .lb-stage { transition: none; }
.lb-stage { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 88svh; }
.lb-stage img { max-width: 100%; max-height: 78svh; width: auto; height: auto;
  border-radius: 4px; object-fit: contain; }
.lb-stage figcaption { max-width: 640px; color: #c9ced3; font-size: 14px; line-height: 1.5; text-align: center; }
.lightbox button { display: grid; place-items: center; padding: 0; color: var(--white);
  border: 1px solid rgba(255,255,255,.22); border-radius: 4px; background: rgba(255,255,255,.07);
  cursor: pointer; transition: background-color 160ms ease; }
.lightbox button:hover { background: rgba(255,255,255,.16); }
.lightbox button:active { transform: scale(.92); background: rgba(255,255,255,.22); }
.lightbox button svg { width: 24px; height: 24px; stroke-width: 2; }
.lb-prev, .lb-next { width: 46px; height: 46px; justify-self: center; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; }

/* 15. Footer --------------------------------------------------------------- */
.site-footer { color: var(--white); background: var(--black); }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 70px; padding-top: 66px; padding-bottom: 56px; }
.footer-brand img { width: 150px; height: 150px; object-fit: contain; margin: -18px 0 8px -10px; }
.footer-brand p { max-width: 330px; margin: 0 0 10px; color: #aab0b6; font-size: 14.5px; line-height: 1.6; }
.footer-badges { color: #7f868d !important; font-size: 12.5px !important; font-weight: 700; }
.site-footer h2 { margin: 0 0 18px; font: 700 15px/1 var(--sans); letter-spacing: .06em; }
.site-footer nav, .footer-contact { display: grid; align-content: start; gap: 4px; }
.site-footer nav a, .footer-contact a { display: inline-flex; align-items: center; min-height: 26px;
  color: #b8bdc2; font-size: 14px; }   /* WCAG 2.5.8 target size */
.site-footer nav a:hover, .footer-contact a:hover { color: var(--white); }
/* .footer-contact a is (0,1,1) and outranks a bare .footer-phone (0,1,0),
   so this needs the extra class to win on min-height. */
.footer-contact a.footer-phone { display: inline-flex; align-items: center; min-height: 44px;
  font: 700 26px/1 var(--sans) !important; color: var(--white) !important; letter-spacing: .01em; }
.footer-contact a.footer-phone:hover { color: var(--red-on-dark) !important; }
.footer-hours { display: flex; align-items: center; gap: 9px; margin: 6px 0 0; color: #9aa1a8; font-size: 13px; }
.footer-bottom { min-height: 76px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; color: #878e95; border-top: 1px solid var(--line-dark); font-size: 12.5px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 26px; }
.footer-legal a:hover { color: var(--white); }
.mobile-actions { display: none; }

/* Reveal — only armed once JS is confirmed running, so a script failure can
   never leave the page permanently invisible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 260ms ease, transform 520ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* 16. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .desktop-nav { gap: 24px; }
  .header-phone small { display: none; }
  .header-phone strong { font-size: 16px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .header-inner { width: calc(100% - 28px); grid-template-columns: 1fr auto; gap: 12px; }
  .desktop-nav { display: none; }
  .brand img { width: 56px; height: 56px; }
  .brand-name { font-size: 29px; }
  .brand-subtitle { font-size: 11px; }
  .menu-toggle { display: block; }
  .section { padding: 80px 0; }
  .section-heading, .areas-head { grid-template-columns: 1fr; gap: 20px; }
  .trustbar ul { grid-template-columns: repeat(2, 1fr); }
  .trustbar li { padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trustbar li:first-child { padding-left: 22px; }
  .trustbar li:nth-child(2n) { border-right: 0; }
  .trustbar li:nth-last-child(-n+2) { border-bottom: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; min-height: 0; }
  .why-media { min-height: 0; aspect-ratio: 16 / 10; }
  .why-copy { max-width: none; padding-block: 64px; }
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 44px 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --header-height: 72px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section-shell { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .eyebrow > span:not(.pulse) { width: 26px; }

  /* The hero eyebrow lands on the bright top third of the photo, where the
     mobile shade is still almost clear - it was unreadable there. Give it its
     own backing rather than darkening the whole image. */
  .hero .eyebrow { display: inline-flex; width: auto; max-width: 100%; gap: 9px;
    margin-bottom: 14px; padding: 7px 13px 7px 11px; border-radius: 999px;
    color: var(--white); font-size: 10.5px; line-height: 1.35; letter-spacing: .05em;
    border: 1px solid rgba(255,255,255,.16); background: rgba(7,9,11,.74);
    backdrop-filter: blur(10px) saturate(140%); }
  .header-inner { width: 100%; padding: 0 12px; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 25px; }
  .brand-subtitle { margin-top: 3px; font-size: 9.5px; letter-spacing: .16em; }
  .header-phone { min-height: 44px; padding: 8px 11px; gap: 0; }
  .header-phone svg { width: 21px; height: 21px; }
  /* visually hidden, not display:none - keeps the link's accessible name
     matching its on-screen label at wider viewports (WCAG 2.5.3) */
  .header-phone-text { position: absolute; width: 1px; height: 1px; margin: -1px;
    padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .header-wa { display: none; }
  .menu-toggle { width: 46px; height: 46px; }

  /* leave room for the fixed call/WhatsApp bar so the status strip isn't buried */
  .hero { height: auto; min-height: 520px; max-height: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,9,11,.05) 0%, rgba(7,9,11,.12) 26%,
    rgba(7,9,11,.74) 55%, rgba(7,9,11,.97) 100%); }
  .hero-inner { align-items: flex-end; padding: 30px 0 116px; }
  .hero-copy { width: 100%; }
  .hero h1 { margin-bottom: 13px; line-height: .86; }
  .hero-lead { max-width: 100%; margin-bottom: 18px; font-size: 15.5px; line-height: 1.5; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { flex: 1 1 100%; min-height: 54px; padding: 0 16px; font-size: 16px; }
  .hero-alt { margin-top: 12px; font-size: 13px; }
  .hero-status { min-height: 92px; padding-inline: 10px; }
  .hero-status > div { display: flex; flex-direction: column; justify-content: center; padding: 12px 8px; }
  .hero-status > div:first-child { padding-left: 8px; }
  .status-number { margin-bottom: 6px; }
  .hero-status strong { font-size: 15px; }
  .hero-status small { display: none; }

  .trustbar ul { grid-template-columns: 1fr; }
  .trustbar li { padding: 15px 0; border-right: 0; }
  .trustbar li:first-child { padding-left: 0; }
  .trustbar li:last-child { border-bottom: 0; }
  .trustbar svg { width: 23px; height: 23px; }
  .trustbar strong { font-size: 17px; }

  .section-heading { margin-bottom: 26px; }
  .section-heading > p { font-size: 14.5px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-foot { margin-top: 20px; font-size: 14px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto;
    padding: 56px 12px calc(20px + env(safe-area-inset-bottom)); }
  body.lb-open .mobile-actions { display: none; }
  .lb-stage { grid-column: 1; grid-row: 1; max-height: 74svh; }
  .lb-stage img { max-height: 66svh; }
  .lb-prev, .lb-next { grid-row: 2; width: 52px; height: 52px; }
  .lb-prev { grid-column: 1; justify-self: start; }
  .lb-next { grid-column: 1; justify-self: end; }
  .service-card { padding: 22px 20px; box-shadow: 0 6px 18px rgba(16,20,23,.05); }
  .service-card::before { width: 26px; margin-bottom: 14px; }
  .service-card h3 { font-size: 23px; }
  .service-card p { font-size: 14px; }
  .service-foot { margin-top: 22px; font-size: 14px; }

  .emergency { min-height: 0; padding: 72px 0; }
  .emergency-media img { object-position: center; }
  .emergency::after { background: linear-gradient(180deg, rgba(7,9,11,.62) 0%, rgba(7,9,11,.86) 55%, rgba(7,9,11,.95) 100%); }
  .emergency-inner > p { font-size: 15.5px; }
  .emergency .button { width: 100%; }

  .process-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .process-grid { grid-template-columns: 1fr; }
  /* icon + copy, two columns - the number column is gone */
  .process-step { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; row-gap: 4px;
    padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .process-step:last-child { border-bottom: 0; }
  .process-step svg { grid-row: 1 / 3; width: 34px; height: 34px; margin: 2px 0 0; }
  .process-step h3 { grid-column: 2; margin-bottom: 4px; font-size: 24px; }
  .process-step p { grid-column: 2; max-width: none; font-size: 14px; }

  .why-media { aspect-ratio: 4 / 3; }
  .why-copy { padding: 56px 16px 60px; }
  .why-copy > p:not(.eyebrow) { font-size: 14.5px; }
  .proof-list > div { grid-template-columns: 1fr; gap: 5px; }

  .area-grid { grid-template-columns: 1fr; }
  .area-grid li { padding: 18px 16px; }
  .areas-cta { font-size: 14px; }

  .faq-list summary { padding: 20px 0; font-size: 20px; }
  .faq-list details > div { padding: 0 0 22px; }
  .faq-list details p { font-size: 14.5px; }

  .quote-form-wrap { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-call { width: 100%; }
  .quote-sent h3 { font-size: 27px; }

  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; }
  .footer-brand img { width: 130px; height: 130px; }
  .footer-bottom { min-height: 0; flex-direction: column; align-items: flex-start; padding-block: 22px; }

  .mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid;
    grid-template-columns: 1fr 1fr; min-height: 68px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--black); box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 20px 8px; color: var(--white); font-size: 15px; font-weight: 700;
    transition: filter 90ms ease-out; }
  .mobile-actions a:active { filter: brightness(.86); }
  .mobile-actions .ma-call { background: var(--red); }
  .mobile-actions .ma-wa { background: var(--green); }
  .mobile-actions svg { width: 22px; height: 22px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 22px; }
  .brand img { width: 46px; height: 46px; }
  .hero-actions .button { font-size: 15px; padding-inline: 12px; }
  .hero .eyebrow { font-size: 9.5px; padding: 7px 11px; letter-spacing: .04em; }
  .mobile-actions a { font-size: 14px; gap: 7px; }
}

/* §14: reduced transparency - frostier and solid, blur dropped entirely. */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .site-header.is-scrolled { background: var(--black); backdrop-filter: none; }
  .hero-status { background: rgba(7,9,11,.98); backdrop-filter: none; }
  .hero .eyebrow { background: rgb(7,9,11); backdrop-filter: none; }
  .lightbox { background: rgb(5,7,9); backdrop-filter: none; }
}

/* §14: more contrast - near-solid surfaces with defined borders. */
@media (prefers-contrast: more) {
  .service-card { border-color: #8b9298; }
  .service-card--featured { border-color: var(--red-on-light); }
  .field input, .field select, .field textarea { border-color: #6d747a; }
  .area-grid { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.3); }
  .hero-shade { background: linear-gradient(90deg, rgba(7,9,11,.98) 0%, rgba(7,9,11,.9) 40%,
    rgba(7,9,11,.4) 72%, rgba(7,9,11,.45) 100%), linear-gradient(0deg, rgba(7,9,11,.85) 0%, transparent 38%); }
  .faq-list details { border-bottom-color: #a7adb2; }
  .lightbox button { border-color: rgba(255,255,255,.55); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important;
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .button:hover, .quote-call:hover, .service-card:hover, .gallery-item:hover { transform: none; }
  /* §14: reduced motion is not "no feedback" - keep the press readable, just
     without the movement. Opacity carries it instead of scale. */
  .button:active, .service-card:active, .gallery-item:active,
  .quote-call:active, .lightbox button:active { transform: none; opacity: .72; }
  .js .mobile-menu, .js .mobile-menu.is-open { transform: none; }
  .js .lb-stage, .js .lightbox.is-open .lb-stage { transform: none; }
}

@media print {
  .site-header, .mobile-menu, .mobile-actions, .lightbox, .hero-media, .emergency-media { display: none !important; }
  body { padding-bottom: 0; color: #000; background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 17. Sub-pages (privacy, 404) --------------------------------------------- */
.subpage-hero { padding: 72px 0 52px; color: var(--white); background: var(--black); }
.subpage-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 68px); line-height: .95; }
.subpage-hero h1 strong { color: var(--red-on-dark); font: inherit; }
.subpage-hero p { max-width: 560px; margin: 16px 0 0; color: #b9bec3; font-size: 16px; line-height: 1.65; }
.subpage-hero .hero-actions { margin-top: 30px; }
.legal { padding: 64px 0 90px; background: var(--paper); }
.legal-body { max-width: 760px; }
.legal-body h2 { margin: 42px 0 14px; font-size: 30px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #3f464d; font-size: 15.5px; line-height: 1.75; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--red-on-light); font-weight: 600; text-decoration: underline; }
.legal-updated { margin-bottom: 30px; color: #5f676f; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; }
