/* ==========================================================================
   RH Automotive — site.css
   One stylesheet for the whole site. Everything is driven by the tokens in
   the :root block below. Re-skin the site by editing that block only.

   Sections (search for the ===== markers):
     1. Tokens          — colours, type, spacing, radii, shadows, layout
     2. Fonts + reset
     3. Base typography
     4. Layout utilities — .container .section .grid
     5. Buttons + links
     6. Header + nav (desktop + mobile)
     7. Hero (two variants)
     8. Trust strip
     9. Cards (.service-card, .card-grid)
    10. Tables (.price-table, .table)
    11. Quote CTA
    12. Q&A block + FAQ accordion
    13. Feature list ("Why RH")
    14. Reviews placeholder
    15. Contact / hours / map
    16. Breadcrumbs
    17. Forms + booking component (incl. number-plate input)
    18. Footer
    19. Sticky mobile action bar
    20. Motion + print

   The block between the @critical-start / @critical-end markers is copied
   verbatim into the <head> of every page by tools/sync.py so first paint
   doesn't wait for this file. If you edit anything inside that block,
   re-run tools/sync.py (or paste it into each page by hand).
   ========================================================================== */

/* @critical-start */
/* =====  1. TOKENS  ====================================================== */
:root {
  /* Colour — brand navy from the RH logo, one accent blue for actions,
     UK number-plate yellow reserved for the plate input only. */
  --c-navy-900: #16223f;   /* footer, darkest surfaces               */
  --c-navy-800: #1f2f54;   /* primary brand ink, dark sections, hero  */
  --c-navy-700: #334063;   /* logo navy, headings                     */
  --c-navy-100: #dfe5f1;   /* light navy tint (borders on tint bg)    */
  --c-navy-50:  #f1f4f9;   /* navy-tinted panel background            */
  --c-accent:       #1d5fd6;  /* links, primary buttons (5.3:1 on white) */
  --c-accent-hover: #164cb0;
  --c-accent-tint:  #e8f0fc;
  --c-plate:        #f7d117;  /* UK number-plate yellow — plate input only */
  --c-plate-ink:    #111111;
  --c-ink:    #1a1d21;        /* body text                              */
  --c-ink-2:  #4a5361;        /* secondary text (7.1:1 on white)        */
  --c-ink-inv: #ffffff;       /* text on dark                           */
  --c-ink-inv-2: #c9d2e3;     /* secondary text on navy (9.5:1)         */
  --c-bg:     #ffffff;
  --c-bg-alt: #f5f6f8;        /* off-white section background           */
  --c-line:   #dde2ea;
  --c-line-strong: #7d8899;   /* input + outline-button borders (3.6:1 on white) */
  --c-success: #177243;
  --c-success-tint: #e6f4ec;
  --c-error:   #b42318;
  --c-error-tint: #fdecea;
  --c-focus:   #1d5fd6;       /* focus ring on light backgrounds        */
  --c-focus-on-dark: #f7d117; /* focus ring on navy backgrounds         */

  /* Type — Barlow Semi Condensed for headings/prices/plate, Inter for body.
     Both self-hosted in /assets/fonts with font-display: swap. */
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-plate: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;

  /* Type scale — fluid. Body never drops below 17px on mobile. */
  --fs-xs:   0.875rem;                                   /* 14px labels/meta */
  --fs-sm:   0.9375rem;                                  /* 15px captions    */
  --fs-base: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);  /* 17–18px          */
  --fs-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);/* 18–21px lead     */
  --fs-h4:   clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); /* 19–22px          */
  --fs-h3:   clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);    /* 24–30px          */
  --fs-h2:   clamp(1.9375rem, 1.6rem + 1.6vw, 2.625rem); /* 31–42px          */
  --fs-h1:   clamp(2.375rem, 1.9rem + 2.6vw, 3.625rem);  /* 38–58px          */
  --fs-price: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);      /* big prices       */
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.6;

  /* Spacing — 4px base */
  --sp-1: 0.25rem;  /* 4  */
  --sp-2: 0.5rem;   /* 8  */
  --sp-3: 0.75rem;  /* 12 */
  --sp-4: 1rem;     /* 16 */
  --sp-5: 1.5rem;   /* 24 */
  --sp-6: 2rem;     /* 32 */
  --sp-7: 3rem;     /* 48 */
  --sp-8: 4rem;     /* 64 */
  --sp-9: 6rem;     /* 96 */
  --section-y: clamp(2rem, 3vw + 0.75rem, 3.75rem); /* vertical padding of a .section */
  --gutter: clamp(1rem, 4vw, 2rem);             /* side padding of .container      */

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadows — kept soft; this site wins on whitespace, not effects */
  --sh-sm: 0 1px 2px rgba(22, 34, 63, 0.06), 0 1px 3px rgba(22, 34, 63, 0.08);
  --sh-md: 0 4px 12px rgba(22, 34, 63, 0.08), 0 2px 4px rgba(22, 34, 63, 0.06);
  --sh-lg: 0 16px 40px rgba(22, 34, 63, 0.14);

  /* Layout */
  --container: 72rem;      /* 1152px */
  --container-narrow: 46rem; /* prose / forms */
  --header-h: 4.25rem;     /* 68px, also used for scroll-margin */
  --action-bar-h: 4rem;    /* sticky mobile bar height */
  --nav-break: 64rem;      /* desktop nav from 1024px — mirrored in main.js */

  /* Motion */
  --dur: 160ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* =====  2. FONTS + RESET  ============================================== */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--sp-4)); }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); line-height: var(--lh-tight); color: var(--c-navy-800); letter-spacing: -0.01em; }
p, ul, ol, table { margin: 0; }
a { color: var(--c-accent); text-underline-offset: 0.15em; }
a:hover { color: var(--c-accent-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: var(--r-sm); }
.bg-dark :focus-visible, .section--dark :focus-visible, .quote-cta :focus-visible, .site-footer :focus-visible { outline-color: var(--c-focus-on-dark); }

/* Skip link — first focusable element on every page */
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 1000;
  padding: var(--sp-3) var(--sp-4); background: var(--c-navy-800); color: #fff;
  font-weight: 600; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* =====  4. LAYOUT  ====================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

/* =====  5. BUTTONS  ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 3rem; padding: 0.75rem 1.375rem;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--r-md); cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn--primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: #fff; }
.btn--navy { background: var(--c-navy-800); color: #fff; border-color: var(--c-navy-800); }
.btn--navy:hover { background: var(--c-navy-900); border-color: var(--c-navy-900); color: #fff; }
.btn--outline { background: transparent; color: var(--c-navy-800); border-color: var(--c-line-strong); }
.btn--outline:hover { border-color: var(--c-navy-800); color: var(--c-navy-800); background: var(--c-navy-50); }
.bg-dark .btn--outline, .section--dark .btn--outline, .quote-cta .btn--outline { color: #fff; border-color: rgba(255,255,255,0.45); }
.bg-dark .btn--outline:hover, .section--dark .btn--outline:hover, .quote-cta .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }
.btn--lg { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn__icon { width: 1.25em; height: 1.25em; flex: none; }

/* =====  6. HEADER + NAV  =============================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-bg); border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); min-height: var(--header-h); }
.site-header__logo { display: inline-flex; align-items: center; margin-right: auto; }
.site-header__logo img { width: auto; height: 2.25rem; }
.site-header__phone {
  display: none; align-items: center; gap: var(--sp-2);
  font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; color: var(--c-navy-800); text-decoration: none; white-space: nowrap;
}
.site-header__phone:hover { color: var(--c-accent); }
.site-header__phone svg { width: 1.25rem; height: 1.25rem; }
.site-header__cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 2.75rem; padding: var(--sp-2) var(--sp-3);
  background: none; border: 2px solid var(--c-line); border-radius: var(--r-md); cursor: pointer; font-weight: 600;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.site-header__phone-mobile {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  color: var(--c-navy-800); border: 2px solid var(--c-line); border-radius: var(--r-md);
}
.site-header__phone-mobile svg { width: 1.375rem; height: 1.375rem; }

/* Mobile nav panel (default). JS toggles .is-open + aria-expanded. */
.site-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  overflow-y: auto; background: var(--c-bg); padding: var(--sp-4) var(--gutter) var(--sp-8);
}
.site-nav.is-open { display: block; }
/* No JavaScript: show the nav inline under the header and hide the toggle */
html:not(.js) .site-nav { display: block; position: static; inset: auto; padding: 0 0 var(--sp-4); }
html:not(.js) .nav-toggle { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__item { border-bottom: 1px solid var(--c-line); }
.site-nav__link, .site-nav__parent {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--sp-4) 0; background: none; border: 0; text-align: left;
  font-size: 1.125rem; font-weight: 600; color: var(--c-navy-800); text-decoration: none; cursor: pointer;
}
.site-nav__link:hover, .site-nav__parent:hover { color: var(--c-accent); }
.site-nav__link[aria-current="page"] { color: var(--c-accent); }
.site-nav__chevron { width: 1.125rem; height: 1.125rem; transition: transform var(--dur) var(--ease); }
.site-nav__parent[aria-expanded="true"] .site-nav__chevron { transform: rotate(180deg); }
.site-nav__menu { list-style: none; margin: 0; padding: 0 0 var(--sp-3); }
.site-nav__parent[aria-expanded="false"] + .site-nav__menu { display: none; }
.site-nav__menu a { display: block; padding: var(--sp-3) var(--sp-4); color: var(--c-ink); text-decoration: none; border-radius: var(--r-sm); }
.site-nav__menu a:hover { background: var(--c-navy-50); color: var(--c-accent); }
.site-nav__menu a[aria-current="page"] { color: var(--c-accent); font-weight: 600; }
.site-nav__actions { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); }

@media (min-width: 64em) {
  .nav-toggle, .site-header__phone-mobile { display: none; }
  .site-header__phone, .site-header__cta { display: inline-flex; }
  .site-nav { display: block; position: static; inset: auto; overflow: visible; background: none; padding: 0; }
  .site-nav__list { display: flex; align-items: center; gap: var(--sp-1); }
  .site-nav__item { position: relative; border: 0; }
  .site-nav__link, .site-nav__parent { width: auto; gap: var(--sp-1); padding: var(--sp-2) var(--sp-3); font-size: 1rem; border-radius: var(--r-sm); }
  .site-nav__menu {
    display: none; position: absolute; left: 0; top: calc(100% + var(--sp-2)); z-index: 50; min-width: 18rem;
    padding: var(--sp-2); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-lg);
  }
  /* Invisible bridge over the gap between the button and the menu — without this, moving the
     mouse from the trigger down to the menu crosses a dead strip and :hover drops before it arrives. */
  .site-nav__item--menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--sp-2); }
  /* Open on hover (mouse), on aria-expanded (keyboard/JS), or on focus-within when there is no JS */
  .site-nav__item--menu:hover .site-nav__menu,
  .site-nav__parent[aria-expanded="true"] + .site-nav__menu,
  html:not(.js) .site-nav__item--menu:focus-within .site-nav__menu { display: block; }
  .site-nav__actions { display: none; }
}

/* =====  7. HERO  ======================================================== */
.hero { padding-block: clamp(1.75rem, 3.5vw, 3.5rem); }
.hero--booking { background: var(--c-navy-800); color: var(--c-ink-inv); }
.hero--booking .hero__title { color: #fff; }
.hero--service { background: var(--c-navy-50); border-bottom: 1px solid var(--c-navy-100); }
.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
.hero__eyebrow { display: inline-block; margin-bottom: var(--sp-3); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-inv-2); }
.hero--service .hero__eyebrow { color: var(--c-ink-2); }
.hero__title { font-size: var(--fs-h1); margin-bottom: var(--sp-4); max-width: 22ch; text-wrap: balance; }
.hero__lead { font-size: var(--fs-lg); max-width: 52ch; margin-bottom: var(--sp-5); color: var(--c-ink-inv-2); }
.hero--service .hero__lead { color: var(--c-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.hero__phone { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--ff-display); font-size: 1.375rem; font-weight: 700; color: #fff; text-decoration: none; }
.hero__phone svg { width: 1.25rem; height: 1.25rem; }
.hero--service .hero__phone { color: var(--c-navy-800); }
.hero__phone:hover { text-decoration: underline; }
.hero__media img { width: 100%; height: 15rem; object-fit: cover; object-position: center 35%; border-radius: var(--r-lg); }
.hero__note { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-ink-inv-2); }
@media (min-width: 48em) {
  .hero__media img { height: 19rem; }
}
@media (min-width: 64em) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--sp-8); align-items: stretch; }
  /* position:relative + the img taken out of flow with inset:0 stops the image's own natural
     640x800 ratio (from its width/height attributes) from influencing the row height — without
     this, the row sizes to fit the image instead of the text, leaving the shorter column padded
     with dead space while the image pokes out past the bottom. */
  .hero__media { width: 100%; max-width: 30rem; justify-self: end; align-self: stretch; position: relative; overflow: hidden; }
  .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center; }
}

/* Registration plate quick-book (hero) — shares .plate-input with the booking form */
.plate-form { display: grid; gap: var(--sp-3); max-width: 30rem; margin-bottom: var(--sp-5); }
.plate-form .plate-input { width: 100%; }
@media (min-width: 30em) {
  .plate-form { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
}
.plate-input {
  display: block; width: 100%; padding: 0.55rem 0.9rem 0.55rem 3rem;
  font-family: var(--ff-plate); font-size: 1.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1;
  color: var(--c-plate-ink); background: var(--c-plate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Crect width='24' height='40' rx='3' fill='%231f2f54'/%3E%3Ctext x='12' y='34' font-family='Arial,sans-serif' font-weight='700' font-size='10' fill='%23fff' text-anchor='middle'%3EUK%3C/text%3E%3C/svg%3E") no-repeat 0.5rem 50% / 1.5rem 2.5rem;
  border: 2px solid #b39a1a; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.plate-input::placeholder { color: rgba(17,17,17,0.65); letter-spacing: 0.08em; }
.plate-input:focus-visible { outline-color: var(--c-focus-on-dark); }
.hero--service .plate-input:focus-visible, .booking .plate-input:focus-visible { outline-color: var(--c-focus); }

/* =====  8. TRUST STRIP  ================================================= */
.trust-strip { background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.trust-strip__list { list-style: none; margin: 0; padding: var(--sp-4) 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); justify-content: center; }
.trust-strip__item { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy-800); }
.trust-strip__item svg { width: 1.125rem; height: 1.125rem; color: var(--c-success); flex: none; }
/* @critical-end */

/* =====  3. BASE TYPOGRAPHY (non-critical)  ============================= */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--tint { background: var(--c-navy-50); }
.section--dark, .bg-dark { background: var(--c-navy-800); color: var(--c-ink-inv); }
.section--dark h2, .section--dark h3, .bg-dark h2, .bg-dark h3 { color: #fff; }
.section--dark a:not(.btn), .bg-dark a:not(.btn) { color: #fff; }
.section--flush { padding-top: 0; }
.section__header { max-width: 46rem; margin-bottom: var(--sp-5); }
.section__header--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--fs-h2); margin-bottom: var(--sp-3); text-wrap: balance; }
.section__intro { font-size: var(--fs-lg); color: var(--c-ink-2); }
.section--dark .section__intro { color: var(--c-ink-inv-2); }
.eyebrow { display: block; margin-bottom: var(--sp-2); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.section--dark .eyebrow { color: var(--c-ink-inv-2); }
.section__footer { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* Long-form content — headings, lists and tables inside a .prose get
   sensible rhythm without extra classes. Use on service-page body copy. */
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--sp-6); }
.prose h4 { font-size: var(--fs-h4); margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--sp-2); }
.prose strong { font-weight: 600; }
.lead { font-size: var(--fs-lg); }
.mt-4 { margin-top: var(--sp-4); }
.mb-4 { margin-bottom: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.muted { color: var(--c-ink-2); }
.small { font-size: var(--fs-sm); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 40em) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48em) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Icon defaults — inline SVG symbols from /assets/img/icons.svg */
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* =====  9. CARDS  ======================================================= */
.card-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 40em) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); } }
@media (min-width: 64em) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service-card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover, .service-card:focus-within { border-color: var(--c-navy-100); box-shadow: var(--sh-md); transform: translateY(-2px); }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--r-md); background: var(--c-navy-50); color: var(--c-navy-800); }
.service-card__icon .icon { width: 1.625rem; height: 1.625rem; }
.service-card__title { font-size: var(--fs-h4); }
.service-card__title a { color: inherit; text-decoration: none; }
/* Stretch the title link over the whole card */
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__desc { color: var(--c-ink-2); font-size: 1rem; flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: var(--sp-1); font-weight: 600; font-size: var(--fs-sm); color: var(--c-accent); }
.service-card__link .icon { width: 1rem; height: 1rem; transition: transform var(--dur) var(--ease); }
.service-card:hover .service-card__link .icon { transform: translateX(3px); }
.service-card--current { border-color: var(--c-accent); }

/* =====  10. TABLES  ===================================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table caption { text-align: left; padding: var(--sp-4) var(--sp-4) var(--sp-2); font-weight: 600; color: var(--c-navy-800); }
.table th, .table td { padding: var(--sp-3) var(--sp-4); text-align: left; vertical-align: top; border-top: 1px solid var(--c-line); }
.table thead th { background: var(--c-navy-50); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-ink-2); border-top: 0; }
.table tbody th { font-weight: 600; color: var(--c-navy-800); }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }

/* Pricing table — add class="table table--stack price-table" to the <table>. */
.price-table .price { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; color: var(--c-navy-800); white-space: nowrap; }
.price-table .price--free { color: var(--c-success); }
.price-table .price-note { display: block; max-width: 18rem; margin-top: var(--sp-1); margin-left: auto; font-size: var(--fs-xs); color: var(--c-ink-2); font-family: var(--ff-body); font-weight: 400; white-space: normal; }
.price-table .desc { color: var(--c-ink-2); font-size: var(--fs-sm); }
/* .table--stack: on small screens each row becomes a card; cells show their
   column name from data-label. Add data-label="Column" to every <td>. */
@media (max-width: 40em) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--c-line); }
  .table--stack tr:first-child { border-top: 0; }
  .table--stack th, .table--stack td { display: block; padding: var(--sp-1) 0; border: 0; }
  .table--stack td.num { text-align: left; }
  .table--stack .price-note { margin-left: 0; }
  .table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink-2); }
}
.table-note { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-ink-2); }

/* =====  11. QUOTE CTA  ================================================== */
.quote-cta {
  display: grid; gap: var(--sp-5); padding: var(--sp-6); border-radius: var(--r-lg);
  background: var(--c-navy-800); color: var(--c-ink-inv);
}
.quote-cta__title { font-size: var(--fs-h3); color: #fff; margin-bottom: var(--sp-2); }
.quote-cta__text { color: var(--c-ink-inv-2); max-width: 52ch; }
.quote-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
@media (min-width: 48em) { .quote-cta { grid-template-columns: 1fr auto; align-items: center; padding: var(--sp-7); } }

/* =====  12. Q&A BLOCK + FAQ ACCORDION  ================================= */
/* Q&A: question as heading, direct answer beneath. The workhorse pattern. */
.qa { display: grid; gap: var(--sp-6); }
.qa__item { max-width: 46rem; }
.qa__q { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.qa__a > * + * { margin-top: var(--sp-3); }
.qa__a ul { padding-left: 1.25em; }

/* FAQ accordion — <h3 class="faq__heading"><button class="faq__trigger" aria-expanded aria-controls>
   Panels are open in the HTML (no-JS default); main.js collapses them on load. */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__heading { margin: 0; font-family: var(--ff-body); font-size: 1rem; }
.faq__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%;
  padding: var(--sp-4) 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--ff-display); font-size: var(--fs-h4); font-weight: 700; color: var(--c-navy-800);
}
.faq__trigger:hover { color: var(--c-accent); }
.faq__trigger .icon { width: 1.25rem; height: 1.25rem; transition: transform var(--dur) var(--ease); }
.faq__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__panel { padding-bottom: var(--sp-5); max-width: 46rem; }
.faq__panel[hidden] { display: none; }
.faq__panel > * + * { margin-top: var(--sp-3); }

/* =====  13. FEATURE LIST ("Why RH")  =================================== */
.feature { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature-list { display: grid; gap: var(--sp-5); }
.feature__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 3rem; height: 3rem; border-radius: var(--r-pill); background: var(--c-accent-tint); color: var(--c-accent); }
.feature__title { font-size: var(--fs-h4); margin-bottom: var(--sp-1); }
.feature__text { color: var(--c-ink-2); font-size: 1rem; }
.section--dark .feature__icon { background: rgba(255,255,255,0.1); color: #fff; }
.section--dark .feature__text { color: var(--c-ink-inv-2); }

.media-split { display: grid; gap: var(--sp-6); align-items: center; }
.media-split__img img { width: 100%; height: 15rem; border-radius: var(--r-lg); object-fit: cover; }
@media (min-width: 48em) { .media-split__img img { height: 19rem; } }
@media (min-width: 64em) {
  .media-split { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-8); align-items: stretch; }
  .media-split__img { width: 100%; max-width: 30rem; justify-self: end; align-self: stretch; position: relative; overflow: hidden; }
  .media-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* =====  14. REVIEWS PLACEHOLDER  ======================================= */
.review-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 48em) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review-card { padding: var(--sp-5); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.review-card__text { margin-bottom: var(--sp-3); }
.review-card__meta { font-size: var(--fs-sm); color: var(--c-ink-2); }
.review-card--empty { border-style: dashed; color: var(--c-ink-2); font-size: var(--fs-sm); display: flex; align-items: center; justify-content: center; text-align: center; min-height: 9rem; }

/* =====  15. CONTACT / HOURS / MAP  ==================================== */
.contact { display: grid; gap: var(--sp-6); }
.contact__block h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.contact__address { font-style: normal; }
.contact__address a { display: inline-flex; align-items: center; gap: var(--sp-2); }
.contact__list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.contact__list a { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-line); text-align: left; }
.hours th { font-weight: 600; color: var(--c-navy-800); }
.hours td { text-align: right; }
.hours .is-closed { color: var(--c-ink-2); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--c-navy-50); border: 1px solid var(--c-line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 48em) { .contact { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .contact { grid-template-columns: 1fr 1fr 1.4fr; } .map { aspect-ratio: auto; min-height: 20rem; } }

/* =====  16. BREADCRUMBS  =============================================== */
.breadcrumbs { padding-block: var(--sp-3); font-size: var(--fs-sm); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--c-ink-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--c-ink-2); }
.breadcrumbs a { color: var(--c-ink-2); }
.breadcrumbs [aria-current="page"] { color: var(--c-navy-800); font-weight: 600; }

/* =====  17. FORMS + BOOKING  =========================================== */
.field { display: grid; gap: var(--sp-2); }
.field + .field { margin-top: var(--sp-4); }
.field__label { font-weight: 600; color: var(--c-navy-800); }
.field__hint { font-size: var(--fs-sm); color: var(--c-ink-2); }
.field__optional { font-weight: 400; color: var(--c-ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; font: inherit; color: var(--c-ink);
  background: var(--c-bg); border: 2px solid var(--c-line-strong); border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease);
}
.textarea { min-height: 6rem; resize: vertical; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--c-accent); outline-offset: 0; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .plate-input[aria-invalid="true"] { border-color: var(--c-error); }
.field__error { display: none; font-size: var(--fs-sm); font-weight: 600; color: var(--c-error); }
.field__error.is-visible { display: flex; gap: var(--sp-1); align-items: flex-start; }
.field__error .icon { width: 1.125rem; height: 1.125rem; margin-top: 0.15em; }
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field + .field { margin-top: 0; } }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; font-weight: 600; color: var(--c-navy-800); margin-bottom: var(--sp-2); }

/* Choice tiles — radio inputs styled as tappable cards (step 1 + time of day) */
.tile-group { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-group--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 40em) { .tile-group { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile__label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 5.5rem;
  padding: var(--sp-3); text-align: center; font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--c-navy-800);
  background: var(--c-bg); border: 2px solid var(--c-line-strong); border-radius: var(--r-md); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tile__label .icon { width: 1.75rem; height: 1.75rem; color: var(--c-navy-700); }
.tile__label:hover { border-color: var(--c-navy-800); }
.tile input:checked + .tile__label { border-color: var(--c-accent); background: var(--c-accent-tint); }
.tile input:focus-visible + .tile__label { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.tile--compact .tile__label { min-height: 3.25rem; flex-direction: row; }

/* Booking component shell */
.booking { max-width: var(--container-narrow); margin-inline: auto; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }
.booking__header { padding: var(--sp-5) var(--sp-5) 0; }
.booking__title { font-size: var(--fs-h3); margin-bottom: var(--sp-1); }
.booking__sub { color: var(--c-ink-2); font-size: 1rem; }
.booking__body { padding: var(--sp-5); }
@media (min-width: 40em) { .booking__header { padding: var(--sp-6) var(--sp-6) 0; } .booking__body { padding: var(--sp-6); } }

/* Step progress indicator */
.steps { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); counter-reset: step; }
.steps__item { counter-increment: step; display: grid; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-2); }
.steps__item::before { content: ""; display: block; height: 0.375rem; border-radius: var(--r-pill); background: var(--c-line); }
.steps__item.is-active { color: var(--c-navy-800); }
.steps__item.is-active::before, .steps__item.is-done::before { background: var(--c-accent); }
.steps__label { display: none; }
.steps__item.is-active .steps__label { display: inline; }
@media (min-width: 40em) { .steps__label { display: inline; } }

/* Steps: all visible without JS; with JS only the active one shows */
.booking__step + .booking__step { margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--c-line); }
.js .booking__step { display: none; }
.js .booking__step + .booking__step { margin-top: 0; padding-top: 0; border-top: 0; }
.js .booking__step.is-active { display: block; }
.booking__step-title { font-size: var(--fs-h4); margin-bottom: var(--sp-4); }
.booking__step-title .step-count { display: block; font-family: var(--ff-body); font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-1); }
.booking__nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; margin-top: var(--sp-5); }
.booking__nav .btn--back { order: -1; }
.js .booking__nav .btn--next, .js .booking__nav .btn--back { display: inline-flex; }
.booking__nav .btn--next, .booking__nav .btn--back { display: none; }
.booking__summary { padding: var(--sp-4); background: var(--c-navy-50); border-radius: var(--r-md); font-size: var(--fs-sm); margin-bottom: var(--sp-5); display: none; }
.js .booking__summary { display: block; }
.booking__summary dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-1) var(--sp-3); margin: 0; }
.booking__summary dt { font-weight: 600; color: var(--c-navy-800); }
.booking__summary dd { margin: 0; }
.booking__status { margin-top: var(--sp-4); }
.booking__status .alert { display: none; }
.booking__status .alert.is-visible { display: flex; }
.booking__success { display: none; padding: var(--sp-6); text-align: center; }
.booking__success.is-visible { display: block; }
.booking__success .icon { width: 3rem; height: 3rem; color: var(--c-success); margin: 0 auto var(--sp-4); }
.booking__success h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.booking__success p + p { margin-top: var(--sp-3); }
.booking .plate-input { max-width: 20rem; }
/* Honeypot — visually gone, still in the DOM for bots. Never display:none (some bots skip those). */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border-radius: var(--r-md); font-size: 1rem; }
.alert .icon { margin-top: 0.1em; }
.alert--error { background: var(--c-error-tint); color: var(--c-error); }
.alert--success { background: var(--c-success-tint); color: var(--c-success); }
.alert--info { background: var(--c-navy-50); color: var(--c-navy-800); }

/* =====  18. FOOTER  ===================================================== */
.site-footer { background: var(--c-navy-900); color: var(--c-ink-inv-2); font-size: var(--fs-sm); padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; gap: var(--sp-6); }
.site-footer__brand img { height: 2.5rem; width: auto; margin-bottom: var(--sp-4); }
.site-footer__summary { max-width: 38ch; }
.site-footer h2:not(:first-child) { margin-top: var(--sp-5); }
.site-footer h2 { font-family: var(--ff-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.site-footer ul a { color: var(--c-ink-inv-2); }
.site-footer ul a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255,255,255,0.12); color: inherit; font-size: var(--fs-sm); }
.site-footer .hours th { color: #fff; }
.site-footer__bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; align-items: center; }
.site-footer .site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }
.site-footer__phone { font-family: var(--ff-display); font-size: 1.375rem; font-weight: 700; }
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); } }

/* =====  19. STICKY MOBILE ACTION BAR  ================================== */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3) calc(var(--sp-2) + env(safe-area-inset-bottom));
  background: var(--c-bg); border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(22,34,63,0.08);
}
.action-bar .btn { min-height: 3rem; }
@media (max-width: 63.99em) { body { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); } }
@media (min-width: 64em) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* =====  20. MOTION + PRINT  ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header, .action-bar, .site-nav, .booking, .map, .skip-link { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
