/* ==========================================================================
   Rocket's Mobile Oil — Design System
   ==========================================================================
   Tokens → base → layout → components → sections → utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (source of truth) */
  --color-primary: #d37c04;  /* CTA, buttons, highlights, active states */
  --color-dark: #202b32;     /* headers, nav, footer, dark sections */
  --color-muted: #888985;    /* borders, secondary icons */
  --color-light: #eee4d0;    /* brand cream — accent sections and soft surfaces only */

  /* Derived color roles */
  --bg: #ffffff;             /* page background */
  --ink: var(--color-dark);
  --ink-2: #2b3841;          /* raised dark surface */
  --ink-3: #3c4a54;          /* borders on dark */
  --paper: #ffffff;          /* card / form surface */
  --paper-2: var(--color-light); /* tinted accent section background */
  --line: #cfc9ba;           /* subtle borders on light (from --color-muted) */
  --muted: #5d6266;          /* secondary text on light, AA on --paper & --color-light */
  --muted-dark: #b7bfc2;     /* secondary text on dark, AA on --color-dark */
  --flame: var(--color-primary);
  --flame-hover: #b56a03;    /* darker primary for hover */
  --flame-deep: #8f5402;     /* AA (4.5:1+) on light surfaces for small text */
  --flame-soft: #f6e7cb;

  /* Type */
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem);
  --text-hero: clamp(2.375rem, 1.5rem + 4.4vw, 4.25rem);

  /* Space (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* Shape & elevation */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(32 43 50 / 0.06), 0 2px 8px rgb(32 43 50 / 0.05);
  --shadow-md: 0 2px 6px rgb(32 43 50 / 0.06), 0 12px 32px rgb(32 43 50 / 0.10);
  --shadow-lg: 0 4px 12px rgb(32 43 50 / 0.08), 0 24px 64px rgb(32 43 50 / 0.16);

  --header-h: 4.25rem;
  --container: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img, svg { display: block; max-width: 100%; height: auto; }

ul, ol { padding-left: 1.25rem; }

/* [hidden] must win over display rules like .form-grid { display: grid } */
[hidden] { display: none !important; }

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section-kicker { color: var(--flame); }
.section--dark .section-lede { color: var(--muted-dark); }

.section-head {
  max-width: 44rem;
  margin-bottom: var(--s-7);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker,
.wizard__step-count {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame-deep);
  margin-bottom: var(--s-3);
}
/* outranks .wizard__panel > p, which would repaint it muted */
.wizard__panel > .wizard__step-count {
  color: var(--flame-deep);
  margin-bottom: var(--s-2);
}

.section-lede {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 38rem;
}
.section-head--center .section-lede { margin-inline: auto; }

.grid { display: grid; gap: var(--s-5); }
/* Long unbreakable content (emails, URLs) must not blow out grid tracks */
.grid > * { min-width: 0; }
.card p { overflow-wrap: break-word; }
.grid--start { align-items: start; }
.grid--center { align-items: center; }
@media (min-width: 42rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(32 43 50 / 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  color: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand__mark { flex: none; }
.brand__accent { color: var(--flame); }

/* Primary logo in the hero: the main brand moment */
.hero__art--brand {
  display: flex;
  justify-content: center;
}
.hero__art--brand img {
  width: min(26rem, 100%);
  height: auto;
  filter: drop-shadow(0 24px 48px rgb(0 0 0 / 0.35));
}

/* Secondary mark accents (footer, CTA bands) */
.site-footer__mark { margin-bottom: var(--s-4); }
.cta-band__mark {
  margin-inline: auto;
  margin-bottom: var(--s-4);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgb(255 255 255 / 0.78);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav__link:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
.site-nav__link[aria-current="page"] {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
}

/* Phone button inside the mobile menu only */
.site-nav .site-nav__phone { display: none; }
@media (max-width: 56rem) {
  .site-nav .site-nav__phone { display: inline-flex; }
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.header-call:hover { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.06); }
.header-call svg { flex: none; color: var(--flame); }
@media (max-width: 56rem) {
  .header-call { margin-left: auto; }
}
@media (max-width: 36rem) {
  .site-header__inner { gap: var(--s-3); }
  .header-call {
    padding: 0.6rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
  }
  .header-call__num { display: none; }
}
/* Tiny phones: the logo alone carries the brand */
@media (max-width: 23rem) {
  .brand__name { display: none; }
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 56rem) {
  .nav-toggle { display: inline-flex; order: 2; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
    padding: var(--s-5);
    background: var(--ink);
    border-bottom: 1px solid var(--ink-3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .site-nav__link { padding: 0.85rem 1rem; font-size: var(--text-base); border-radius: var(--radius-sm); }
  .site-nav .btn { width: 100%; }
  /* Keep the page put while the menu is open */
  body.nav-open { overflow: hidden; }
  body.nav-open main,
  body.nav-open footer { pointer-events: none; }
}

/* Decorative artwork: desktop only; on phones it just adds scroll */
@media (max-width: 62rem) {
  .hero__art,
  .art-desktop { display: none; }
}

/* On single-column layouts, lead cards (price + CTA) jump above long lists */
@media (max-width: 42rem) {
  .grid--2 > .card--lead { order: -1; }
}

.page-hero__lede a { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--flame);
  color: #fff;
  box-shadow: 0 2px 8px rgb(211 124 4 / 0.3);
}
.btn--primary:hover {
  background: var(--flame-hover);
  box-shadow: 0 6px 18px rgb(211 124 4 / 0.35);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: var(--ink-2); }

/* Secondary button: dark outline, subtle dark fill on hover */
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: rgb(32 43 50 / 0.08); }

.btn--ghost-light {
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
  background: transparent;
}
.btn--ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / 0.06); }

.btn--lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn--block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card { text-decoration: none; display: block; }
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-muted);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--flame-soft);
  color: var(--flame-deep);
  margin-bottom: var(--s-4);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-4);
  font-size: var(--text-sm);
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--flame-deep);
}
.card--hover:hover .card__link { text-decoration: underline; }

.card p { color: var(--muted); }
.card h3 { margin-bottom: var(--s-2); }

/* Dark card */
.card--dark {
  background: var(--ink-2);
  border-color: var(--ink-3);
  color: #fff;
}
.card--dark p { color: var(--muted-dark); }
.card--dark .card__icon { background: rgb(211 124 4 / 0.18); color: var(--flame); }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge--outline-light {
  border: 1px solid rgb(255 255 255 / 0.25);
  color: rgb(255 255 255 / 0.9);
  background: rgb(255 255 255 / 0.06);
}

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-3);
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.check-list svg { flex: none; margin-top: 0.2rem; color: var(--flame-deep); }
.section--dark .check-list svg,
.card--dark .check-list svg { color: var(--flame); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(4.5rem, 3rem + 7vw, 9rem) var(--section-y);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg::before {
  content: "";
  position: absolute;
  width: 60rem;
  height: 60rem;
  right: -22rem;
  top: -30rem;
  background: radial-gradient(closest-side, rgb(211 124 4 / 0.20), transparent 70%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.6), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0.6), transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}

.hero h1 { margin-block: var(--s-4) var(--s-5); }
.hero__lede {
  font-size: var(--text-lg);
  color: var(--muted-dark);
  max-width: 34rem;
  margin-bottom: var(--s-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.hero__proof {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  padding: var(--s-5) 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--text-sm);
  color: var(--muted-dark);
}
.hero__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
}

.hero__art { position: relative; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero .section-kicker { color: var(--flame); }
.page-hero__lede {
  font-size: var(--text-lg);
  color: var(--muted-dark);
  max-width: 40rem;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 44rem;
  height: 44rem;
  right: -18rem;
  top: -26rem;
  background: radial-gradient(closest-side, rgb(211 124 4 / 0.15), transparent 70%);
  pointer-events: none;
}

/* ---------- Steps (How it works) ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 62rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 42rem) and (max-width: 61.99rem) { .steps { grid-template-columns: repeat(2, 1fr); } }

.step {
  counter-increment: step;
  position: relative;
  padding: var(--s-5);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--flame);
  margin-bottom: var(--s-3);
}
.step h3 { font-size: var(--text-lg); margin-bottom: var(--s-2); }
.step p { font-size: var(--text-sm); color: var(--muted-dark); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: grid;
  gap: var(--s-3);
  max-width: 46rem;
  margin-inline: auto;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.25rem;
}
.faq[open] summary::after { transform: rotate(225deg); }
.faq__body {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--muted);
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 0.4rem; align-content: start; }
.field > label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
}
.field__hint { font-size: var(--text-xs); color: var(--muted); }

.input,
select.input,
textarea.input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-base);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* One height for every single-line control so grid rows align */
input.input,
select.input {
  height: 3.5rem;
  padding-block: 0;
}

/* Selects: strip the native chrome (Safari ignores sizing otherwise)
   and draw our own chevron so they match the text fields */
select.input {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235d6266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.85rem auto;
  padding-right: 2.75rem;
  cursor: pointer;
}
select.input:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23d37c04' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.input:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgb(211 124 4 / 0.22);
}
.input[aria-invalid="true"] { border-color: #c92a2a; }
/* p.field__error: must outrank `.card p` so errors stay red inside cards */
p.field__error {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #c92a2a;
}

textarea.input { resize: vertical; min-height: 6.5rem; }

.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 42rem) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 .field--full { grid-column: 1 / -1; }
}

/* Choice cards (radio-as-card) */
.choice-grid { display: grid; gap: var(--s-3); }
@media (min-width: 42rem) { .choice-grid { grid-template-columns: 1fr 1fr; } }

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}
.choice__body {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}
.choice:hover .choice__body { border-color: var(--color-muted); }
.choice input:checked + .choice__body {
  border-color: var(--flame);
  background: var(--flame-soft);
  box-shadow: 0 0 0 1px var(--flame);
}
.choice input:focus-visible + .choice__body {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
}
.choice__title {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-weight: 600;
}
.choice__price { color: var(--flame-deep); white-space: nowrap; }
.choice__desc { display: block; font-size: var(--text-sm); color: var(--muted); margin-top: 0.2rem; }


/* ---------- Booking wizard ---------- */
.wizard {
  max-width: 46rem;
  margin-inline: auto;
}

.wizard__progress {
  display: flex;
  gap: var(--s-2);
  list-style: none;
  margin: 0 0 var(--s-6);
  padding: 0;
}
.wizard__progress li {
  flex: 1;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  padding-top: var(--s-2);
  border-top: 3px solid var(--line);
}
.wizard__progress li[aria-current="step"] {
  color: var(--flame-deep);
  border-top-color: var(--flame);
}
.wizard__progress li.is-done {
  color: var(--ink);
  border-top-color: var(--ink);
}
@media (max-width: 42rem) {
  .wizard__progress li span { display: none; }
  .wizard__progress li[aria-current="step"] span { display: inline; }
}

.wizard__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.wizard__panel h2 { font-size: var(--text-2xl); margin-bottom: var(--s-2); }
.wizard__panel > p { color: var(--muted); margin-bottom: var(--s-5); }

.wizard__nav {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.wizard__nav .btn:only-child { margin-left: auto; }
@media (max-width: 36rem) {
  .wizard__nav { flex-direction: column-reverse; }
  .wizard__nav .btn { width: 100%; }
}

/* Trust signals under the booking wizard */
.trust-row {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-6);
  font-size: var(--text-xs);
  color: var(--muted);
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.trust-row svg { flex: none; color: var(--flame-deep); }

.summary-box {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.summary-box dl { margin: 0; display: grid; gap: var(--s-2); }
.summary-box .summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: var(--text-sm);
}
.summary-box dt { color: var(--muted); }
.summary-box dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Tables (spec rows) ---------- */
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}
.spec-list span:first-child { color: var(--muted); }
.spec-list span:last-child { font-weight: 600; text-align: right; }

/* ---------- Reviews ---------- */
.stars {
  display: inline-flex;
  gap: 3px;
  line-height: 1;
  color: var(--flame);
}
/* svg is display:block globally; pin size and keep them on one row */
.stars svg { display: block; width: 16px; height: 16px; flex: none; }

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.review-card blockquote { margin: var(--s-4) 0 0; padding: 0; flex: 1; }
.review-card blockquote p { margin: 0; color: var(--ink); }
.review-card figcaption {
  margin-top: var(--s-4);
  font-size: var(--text-sm);
}
.review-card figcaption strong { font-family: var(--font-display); }
.review-card figcaption span { color: var(--muted); }

/* Carousel: scroll-snap track, three cards per view on desktop */
.carousel__track {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* breathing room so card shadows aren't clipped by the scroll box */
  padding: 6px 6px 14px;
  margin: -6px -6px -14px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: var(--radius); }
.carousel__track .review-card {
  flex: 0 0 calc((100% - 2 * var(--s-5) - 12px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 62rem) {
  .carousel__track .review-card { flex-basis: calc((100% - var(--s-5) - 12px) / 2); }
}
@media (max-width: 42rem) {
  /* one card with a peek of the next: invites the swipe */
  .carousel__track .review-card { flex-basis: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
}

.carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.carousel__btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.carousel__btn:hover:not(:disabled) { background: rgb(32 43 50 / 0.08); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }

/* Single quote near the booking form */
.review-inline {
  max-width: 32rem;
  margin: var(--s-6) auto 0;
  text-align: center;
}
.review-inline blockquote { margin: var(--s-2) 0 0; }
.review-inline blockquote p { color: var(--ink); font-size: var(--text-sm); }
.review-inline figcaption { margin-top: var(--s-2); font-size: var(--text-xs); color: var(--muted); }
.review-inline figcaption strong { font-family: var(--font-display); color: var(--ink); }

/* Editorial pull-quote (About page) */
.pull-quote {
  margin: var(--s-6) 0 0;
  border-left: 3px solid var(--flame);
  padding-left: var(--s-5);
}
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.pull-quote figcaption { margin-top: var(--s-2); font-size: var(--text-sm); color: var(--muted); }
.pull-quote figcaption strong { color: var(--ink); }

/* One-line rating strip inside CTA bands */
.cta-band__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}
.cta-band__rating .stars svg { width: 13px; height: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgb(211 124 4 / 0.25), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 30ch; margin-inline: auto; }
.cta-band p { color: var(--muted-dark); max-width: 44ch; margin-inline: auto; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--text-sm);
}
.site-footer a { color: rgb(255 255 255 / 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--flame); text-decoration: underline; }

.site-footer__grid {
  display: grid;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
@media (min-width: 62rem) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.site-footer h3 {
  font-size: var(--text-sm);
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
/* Thumb-sized footer links on touch layouts */
@media (max-width: 56rem) {
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding-block: 0.65rem; }
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-5);
  font-size: var(--text-xs);
}

/* ---------- Social links ----------
   ul.social-links matches .site-footer ul / .site-footer ul a specificity,
   and sits after them in the source, so the icon row keeps its flex layout,
   circular hit areas, and underline-free hover inside the footer. */
ul.social-links {
  display: flex;
  gap: var(--s-3);
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
}
ul.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.2);
  color: rgb(255 255 255 / 0.82);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
ul.social-links a:hover {
  background: var(--flame);
  border-color: var(--flame);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
ul.social-links--light a {
  border-color: var(--line);
  color: var(--ink);
}

/* "Leave a Google review" prompt under the testimonial carousel */
.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
}
.reviews-cta p { margin: 0; color: var(--muted); }

/* ---------- Reveal animation (only when JS is available) ----------
   The keyframe fallback guarantees nothing stays invisible if the
   IntersectionObserver never fires (hidden tabs, odd webviews). */
@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: reveal-fallback 0.6s ease 2.5s forwards;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; animation: none; }
}

/* ---------- Utilities ---------- */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
/* .hp-field: honeypot form field — invisible to people, tempting to bots */
.visually-hidden,
.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;
}
