/* ==========================================================================
   Riverstone Detailing — styles
   The top of the page reproduces the Director's reference design
   (assets/reference/riverstone-design-reference.png, never deployed): measured
   at 1440px, sizes below that are marked "@1440" match it. The same type,
   colour and spacing carry through the rest of the site. No white page sections.
   ========================================================================== */

/* Archivo (Omnibus-Type), SIL Open Font License 1.1, self-hosted:
   assets/fonts/archivo-latin-var.woff2 (Latin subset, width 62–125%, weight
   100–900) with its licence in assets/fonts/OFL.txt. Source in README.md. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Riverstone palette */
  --river-depth: #0b1a2b;
  --stone-gray: #2f3a45;
  --river-stone: #a7b1bb;
  --ice-blue: #3fb6e6;
  --frost: #e6f1f7;
  --surface-black: #070b10;
  --surface-navy: #0c1520;

  /* Surfaces */
  --c-bg: var(--surface-black);
  --c-bg-raised: #0a1119;      /* alternating bands */
  --c-bg-deep: #05080c;        /* footer */
  --c-header: rgba(5, 16, 28, 0.96);
  --c-card: #0c141c;
  --c-frame: #121c26;          /* photo placeholders while loading */

  /* Lines */
  --c-line: rgba(167, 177, 187, 0.14);
  --c-line-strong: rgba(167, 177, 187, 0.28);
  --c-line-ice: rgba(63, 182, 230, 0.5);

  /* Accents and text */
  --c-ice: var(--ice-blue);
  --c-ice-soft: #8fb6c9;       /* eyebrows and small labels (the reference's steel blue) */
  --c-ice-light: #8fd6f3;      /* focus ring */
  --c-white: #f3f6f8;          /* display type */
  --c-text: var(--frost);
  --c-text-soft: #c5ced6;
  --c-text-muted: var(--river-stone);
  --c-text-dim: #95a2ad;
  --c-on-ice: var(--river-depth); /* dark text on ice-blue fills (≈7.5:1) */
  --c-sale-red: #e0262f;       /* $200 strikethrough only */

  /* Type: one variable family; headings and the hero use its wider cut */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 112.5%;

  /* Shape */
  --radius-btn: 6px;
  --radius-card: 8px;
  --radius-img: 6px;

  /* Layout: 1272px keeps an 84px margin at 1440, as in the reference */
  --container: 1272px;
  --gutter: 16px;
  --header-h: 72px;
  --section-space: clamp(72px, 9vw, 120px);
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --header-h: clamp(72px, 6.8vw, 98px); /* 98 @1440 */
  }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}

/* Base
   ========================================================================== */

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text-soft);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  color: var(--c-text);
  line-height: 1.1;
}

h1, h2 { text-wrap: balance; }

p {
  margin: 0;
  text-wrap: pretty;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a { color: var(--c-ice); }

:focus-visible {
  outline: 2px solid var(--c-ice-light);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Every inline icon shares one outline style */
svg:not(.icon-sprite) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  background: var(--c-ice);
  color: var(--c-on-ice);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

/* Outline icon, no ring (add-ons, notices) */
.icon-badge {
  display: grid;
  flex: none;
  place-items: center;
  color: var(--c-ice);
}

.icon-badge svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}

/* Buttons — ice-blue primary with dark text, restrained outline secondary,
   and the reference's underlined text link for Call / Text
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  color: var(--c-text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-icon {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn .btn-arrow {
  flex: none;
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.btn-primary {
  background: linear-gradient(180deg, #4dbeed 0%, var(--c-ice) 100%);
  color: var(--c-on-ice);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px -16px rgba(63, 182, 230, 0.85);
}

.btn-primary:hover { filter: brightness(1.07); }

.btn-secondary {
  border-color: rgba(63, 182, 230, 0.45);
  background: rgba(5, 12, 20, 0.35);
  color: var(--c-text);
}

.btn-secondary .btn-icon,
.btn-secondary .btn-arrow { color: var(--c-ice); }

.btn-secondary:hover {
  border-color: var(--c-ice);
  background: rgba(63, 182, 230, 0.08);
}

.btn-lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 1.125rem;
  letter-spacing: 0.148em;
}

.btn-lg .btn-arrow {
  width: 21px;
  height: 21px;
}

.btn-sm {
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.8125rem;
}

.btn-sm .btn-icon {
  width: 18px;
  height: 18px;
}

.btn-block {
  width: 100%;
  min-height: 54px;
  padding-inline: 24px;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}

.btn-block .btn-label { flex: 1 1 auto; }

/* Underlined text link (reference "Our Services" style), still a 48px target */
.btn-text {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--c-white);
  font-size: 0.8125rem;
  font-weight: 500;
  font-stretch: var(--wide);
  line-height: 1.2;
  letter-spacing: 0.29em;
  text-decoration: underline;
  text-decoration-color: rgba(243, 246, 248, 0.8);
  text-decoration-thickness: 2px;
  text-transform: uppercase;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.btn-text:hover {
  color: var(--c-ice);
  text-decoration-color: var(--c-ice);
}

/* Same look on a <button> (review page "Book Another Detail") */
button.btn-text {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 42px;
}

@media (max-width: 479px) {
  .btn-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .btn-row .btn-text { justify-content: center; }
}

/* Narrow phones: keep long package labels ("Book Riverstone Sanitize") on one line */
@media (max-width: 419px) {
  .btn-block {
    gap: 10px;
    padding-inline: 18px;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
  }

  .btn-block .btn-arrow { display: none; }
}

/* Text-style button (footer "Book online") */
.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-ice);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover { color: var(--c-text); }

/* Section headings
   ========================================================================== */

.section { padding-block: var(--section-space); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.eyebrow {
  color: var(--c-ice-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 16px;
  color: var(--c-white);
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  font-weight: 700;
  font-stretch: var(--wide);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-lead {
  max-width: 38em;
  margin-top: 18px;
  color: var(--c-text-soft);
  font-size: 1.04rem;
}

/* Header
   Mobile: two rows (logo + Book Now, then links), scrolls with the page.
   768px+: one sticky dark bar the hero artwork runs underneath.
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(167, 177, 187, 0.08);
  background: var(--c-header);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand cta"
    "nav   nav";
  align-items: center;
  column-gap: 12px;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-top: 10px;
}

.site-header .brand { grid-area: brand; }
.header-cta { grid-area: cta; }

/* Pages without the nav (privacy, 404): keep the header button at the right edge */
.brand + .header-cta { margin-left: auto; }

.site-header:not(:has(.site-nav)) .header-inner { padding-bottom: 10px; }

@media (min-width: 768px) {
  .site-header:not(:has(.site-nav)) .header-inner { padding-bottom: 0; }
}

/* Header call to action: a large ice-blue pill (reference @1440: 232 x 55) */
.header-cta {
  min-height: 44px;
  padding-inline: 22px;
  border-radius: 999px;
  font-size: 0.8125rem;
  letter-spacing: 0.11em;
}

.site-nav {
  grid-area: nav;
  margin-top: 10px;
  margin-inline: calc(-1 * var(--gutter));
  border-top: 1px solid var(--c-line);
}

.site-nav ul { display: flex; }
.site-nav li { flex: 1; }

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #e9eef2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--c-ice); }

@media (min-width: 768px) {
  html { scroll-padding-top: var(--header-h); }

  .site-header {
    position: sticky;
    top: 0;
  }

  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header {
      background: rgba(5, 16, 28, 0.9);
      -webkit-backdrop-filter: blur(14px);
              backdrop-filter: blur(14px);
    }
  }

  .header-inner {
    display: flex;
    gap: 28px;
    height: var(--header-h);
    padding-top: 0;
  }

  .site-nav {
    margin: 0 clamp(4px, 5.07vw - 28px, 45px) 0 auto; /* 76px ink gap to the button @1440 */
    border: 0;
  }

  .site-nav ul { gap: clamp(26px, 3.2vw, 46px); }

  .site-nav a {
    min-height: var(--header-h);
    font-size: clamp(0.75rem, 0.99vw, 0.9rem); /* 14.3 @1440 */
    letter-spacing: 0.14em;
  }

  .header-cta {
    min-width: clamp(150px, 16.1vw, 232px);
    min-height: clamp(44px, 3.82vw, 55px);
    font-size: clamp(0.875rem, 1.25vw, 1.125rem);
  }
}

/* Brand lockup (assets/brand/riverstone-lockup.svg, 6.76:1): height-constrained */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.brand-logo img {
  width: auto;
  height: 30px;
}

@media (min-width: 390px) {
  .brand-logo img { height: 32px; }
}

@media (min-width: 768px) {
  .brand-logo img { height: clamp(34px, 3.2vw, 46px); } /* 46 @1440 */
}

/* Hero
   The Director-supplied artwork fills the whole hero; the copy sits over its
   left side and the benefits strip across its lower edge, as in the reference.
   Phones and tablets: artwork first, copy below it, then the benefits.
   ========================================================================== */

/* Hero photo sets. index.html picks one with data-hero on <body>: "default"
   (year-round) or "winter". Each set names its files (960px+ and smaller
   screens), framing, colour treatment and overlays; the final CTA reuses the
   same photo. Switching sets needs no other change. */
:root,
[data-hero="default"] {
  /* Director-supplied artwork (assets/reference/riverstone-background.png) */
  --hero-photo: url("assets/hero/riverstone-background-desktop.webp");
  --hero-photo-mobile: url("assets/hero/riverstone-background-mobile.webp");
  --hero-focus: 100% 0%;
  --hero-focus-mobile: 50% 45%;
  --hero-filter: saturate(0.62) brightness(0.9);
  /* shade behind the copy, a light dim under the header, the fall-off into the
     benefits strip, and a faint left edge (matched region by region to the reference) */
  --hero-overlay:
    radial-gradient(ellipse 34% 42% at 38% 58%, rgba(5, 12, 20, 0.55), rgba(5, 12, 20, 0.36) 60%, rgba(5, 12, 20, 0) 100%),
    linear-gradient(180deg, rgba(5, 12, 20, 0.22) 0%, rgba(5, 12, 20, 0) 35%),
    linear-gradient(180deg, rgba(6, 14, 23, 0) 58%, rgba(6, 14, 23, 0.45) 76%, rgba(6, 14, 23, 0.72) 86%, rgba(6, 14, 23, 0.86) 100%),
    linear-gradient(90deg, rgba(5, 12, 20, 0.1) 0%, rgba(5, 12, 20, 0) 65%);
  --cta-focus: 28% 58%;
}

[data-hero="winter"] {
  /* "Black Pick-up on a Street", Vitali Adutskevich (Pexels) */
  --hero-photo: url("assets/hero/hero-winter.jpg");
  --hero-photo-mobile: url("assets/hero/hero-winter-mobile.jpg");
  --hero-focus: 100% 45%;
  --hero-focus-mobile: 74% 46%;
  --hero-filter: saturate(0.8) contrast(1.04);
  --hero-overlay:
    linear-gradient(90deg, rgba(5, 12, 20, 0.9) 0%, rgba(5, 12, 20, 0.78) 38%, rgba(5, 12, 20, 0.3) 58%, rgba(5, 12, 20, 0) 70%),
    linear-gradient(180deg, rgba(5, 12, 20, 0.35) 0%, rgba(5, 12, 20, 0) 22%, rgba(5, 12, 20, 0) 60%, rgba(5, 12, 20, 0.9) 100%);
  --cta-focus: 52% 44%;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-bg);
}

.hero-media {
  position: relative;
  z-index: 0;
  aspect-ratio: 972 / 941;
  background: var(--c-frame);
}

.hero-art {
  position: absolute;
  inset: 0;
  background: var(--hero-photo-mobile) var(--hero-focus-mobile) / cover no-repeat;
  filter: var(--hero-filter);
}

/* Fades the artwork into the page colour below it */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.25) 0%, rgba(7, 11, 16, 0) 20%, rgba(7, 11, 16, 0) 56%, rgba(7, 11, 16, 0.8) 84%, var(--c-bg) 100%);
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: -40px auto 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
}

.hero-title {
  margin-top: 16px;
  color: var(--c-white);
  font-size: clamp(1.6rem, calc(7.6vw - 1px), 2.75rem);
  font-weight: 750;       /* matches the reference's ~10px stems @1440 */
  font-stretch: var(--wide);
  line-height: 1.06;
  letter-spacing: 0.08em;
  word-spacing: -0.097em; /* keeps AT HOME OR WORK at the reference's 661px @1440 */
  text-transform: uppercase;
  text-wrap: nowrap;
}

/* One word or phrase per line: PROFESSIONAL / DETAILING / AT HOME OR WORK */
.hero-title > span { display: block; }

.hero-title .accent { color: var(--c-ice); }

.hero-sub {
  margin-top: 20px;
  color: #cfdbe3;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-sub > span { display: block; }

.hero .btn-row { margin-top: 30px; }

/* Benefits strip */
.hero-benefits-band {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-raised);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.hero-benefits li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 14px 22px 0;
}

.hero-benefits li:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--c-line);
}

.hero-benefits li:nth-child(n + 3) { border-top: 1px solid var(--c-line); }

/* Each icon's viewBox is its drawn area, so height sets the visible size
   (two classes: outranks the shared svg stroke rule) */
.hero-benefits .benefit-icon {
  flex: none;
  align-self: flex-start; /* don't stretch across the column */
  width: auto;
  height: 32px;
  color: var(--c-ice);
  stroke-width: 1;
}

.hero-benefits strong {
  display: block;
  color: #eef2f5;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-benefits span {
  display: block;
  margin-top: 4px;
  color: #8a97a3;
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (min-width: 600px) {
  .hero-media { aspect-ratio: 16 / 9; }

  .hero-art {
    background-image: var(--hero-photo);
    background-position: var(--hero-focus);
  }

  .hero-title { font-size: clamp(2.2rem, 5.6vw, 2.75rem); }
  .hero-sub { font-size: 0.875rem; }

  .hero-benefits li {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .hero-benefits .benefit-icon { align-self: center; }
}

@media (min-width: 768px) {
  .hero { margin-top: calc(-1 * var(--header-h)); }
}

/* 960px+: the reference composition. Sizes scale with the viewport from the
   1440px measurements (vw values give the @1440 size) and are clamped. */
@media (min-width: 960px) {
  .hero { min-height: max(640px, min(54.03vw, 920px)); } /* 778 @1440 */

  .hero-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .hero-media::after { background: var(--hero-overlay); }

  .hero-stage {
    display: flex;
    flex: 1 1 auto;
    margin: 0 auto;
    padding: calc(var(--header-h) + 5.76vw) 0 32px; /* eyebrow cap top at 188 @1440 */
  }

  .hero-eyebrow {
    font-size: clamp(0.9375rem, 1.6vw, 1.625rem); /* 23 @1440 */
    letter-spacing: 0.36em;
  }

  .hero-title {
    margin-top: clamp(14px, 1.51vw, 26px);
    font-size: clamp(2.5rem, 3.826vw, 4.25rem); /* 55.1 @1440 */
    line-height: 1.053;
  }

  .hero-sub {
    margin-top: clamp(16px, 1.57vw, 28px);
    font-size: clamp(0.9375rem, 1.6vw, 1.625rem); /* 23 @1440 */
    line-height: 1.52;
    letter-spacing: 0.27em;
  }

  .hero .btn-row {
    margin-top: clamp(22px, 2.08vw, 36px);
    gap: 14px clamp(28px, 2.92vw, 44px);
  }

  .hero .btn-lg {
    min-height: clamp(52px, 4.24vw, 66px); /* 61 @1440 */
    padding-inline: clamp(24px, 2.36vw, 36px);
    font-size: clamp(0.9375rem, 1.25vw, 1.1875rem);
  }

  .hero .btn-text { font-size: clamp(0.75rem, 0.9vw, 0.875rem); }

  .hero-benefits-band {
    margin-top: 0;
    border-top: 0;
    background: none;
  }

  /* Four columns spanning 1325px from the content's left edge @1440 */
  .hero-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(var(--container) + 53px, 100% - var(--gutter) - 31px);
    margin: 0 0 0 max(var(--gutter), (100% - var(--container)) / 2);
    padding: clamp(18px, 2.08vw, 32px) 0 clamp(24px, 2.92vw, 46px); /* icons at 670 @1440 */
  }

  .hero-benefits li,
  .hero-benefits li:nth-child(even) {
    gap: clamp(14px, 1.6vw, 24px);
    padding: 6px 12px 6px clamp(16px, 1.8vw, 28px);
    border-top: 0;
    border-left: 1px solid rgba(167, 177, 187, 0.22);
  }

  .hero-benefits li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .hero-benefits .benefit-icon {
    height: clamp(40px, 4.17vw, 62px); /* 60 @1440 */
    stroke-width: 0.85;
  }

  .hero-benefits strong { font-size: clamp(0.8125rem, 1.18vw, 1.125rem); } /* 17 @1440 */

  .hero-benefits span {
    margin-top: clamp(4px, 0.55vw, 9px);
    font-size: clamp(0.8125rem, 1.11vw, 1.0625rem); /* 16 @1440 */
  }
}

/* Services / packages
   ========================================================================== */

.section-services {
  padding-bottom: clamp(56px, 7vw, 88px);
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-raised) 100%);
}

.services-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.services-head .section-head { margin-bottom: 0; }

.extra-note {
  display: flex;
  gap: 14px;
  max-width: 380px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.extra-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--c-ice);
}

.extra-note h3 {
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.extra-note p {
  margin-top: 6px;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .services-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 56px;
  }
}

.package-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 1100px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  background: var(--c-card);
}

/* Featured (promotion): ice edge instead of a glow */
.package-featured { border-color: rgba(63, 182, 230, 0.55); }

.package-featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: var(--c-ice);
}

/* Real interior photo as a subdued band at the top of the card */
.package-media {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--c-frame);
}

.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-focus, 50% 55%);
  filter: grayscale(0.4) brightness(0.72) contrast(1.05);
}

.package-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 28, 0.05) 0%, rgba(12, 20, 28, 0.4) 55%, var(--c-card) 100%);
}

/* Per-card framing of the interior photo */
.package-featured .package-media { --media-focus: 60% 62%; }
.media-door { --media-focus: 68% 58%; }
.media-seat { --media-focus: 70% 62%; }

.package-card > :not(.package-media):not(.package-badge) {
  position: relative;
  z-index: 2;
  margin-inline: 28px;
}

.package-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--c-ice);
  color: var(--c-on-ice);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.package-badge svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke-width: 1.2;
}

.package-name {
  margin-top: -14px;
  color: var(--c-white);
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: var(--wide);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.package-name .accent { color: var(--c-ice); }

.package-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 12px;
}

.price-now {
  color: var(--c-white);
  font-size: 2.3rem;
  font-weight: 700;
  font-stretch: var(--wide);
  line-height: 1;
  letter-spacing: 0.01em;
}

.price-special {
  color: var(--c-ice);
  font-size: 2.9rem;
}

/* Regular price, kept visible with a red strikethrough */
.price-was {
  color: #cfd8df;
  font-size: 1.5rem;
  font-weight: 600;
  font-stretch: var(--wide);
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: var(--c-sale-red);
  text-decoration-thickness: 3px;
}

.package-limited {
  margin-top: 10px;
  color: var(--c-ice);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.package-includes {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.package-includes + .check-list {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #dbe3e9;
  font-size: 0.92rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.26em;
  left: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--c-ice);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.package-desc {
  margin-top: 20px;
  color: var(--c-text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.package-fineprint {
  margin-top: 18px;
  color: var(--c-text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.package-cta {
  margin-top: auto;
  padding: 28px 0;
}

/* Tablets: photo on the left, details on the right */
@media (min-width: 700px) and (max-width: 1099px) {
  .package-card {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-content: start;
  }

  .package-media {
    grid-row: 1 / span 12;
    grid-column: 1;
    height: auto;
    min-height: 100%;
  }

  .package-media::after {
    background: linear-gradient(90deg, rgba(12, 20, 28, 0) 45%, var(--c-card) 100%);
  }

  .package-card > :not(.package-media):not(.package-badge) {
    grid-column: 2;
    max-width: 34rem;
    margin-inline: 32px;
  }

  .package-name { margin-top: 30px; }
}

/* Info notes (stains, before your appointment): an ice rule, not a boxed card */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 40px;
  padding: 22px 28px;
  border-left: 2px solid var(--c-ice);
  background: linear-gradient(90deg, rgba(63, 182, 230, 0.07), rgba(63, 182, 230, 0) 70%);
}

.notice .icon-badge svg {
  width: 26px;
  height: 26px;
}

.notice h3 {
  color: var(--c-ice-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.notice p {
  max-width: 62em;
  margin-top: 8px;
  color: var(--c-text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 479px) {
  .notice {
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 20px 22px;
  }
}

/* Add-ons: the hero's benefits-strip pattern (icon, title, line; hairline dividers)
   ========================================================================== */

.section-addons {
  padding-block: clamp(64px, 7.5vw, 96px);
  border-block: 1px solid var(--c-line);
  background: var(--c-bg-raised);
}

.section-addons .section-head { margin-bottom: clamp(28px, 3.5vw, 40px); }

.addon-grid { display: grid; }

.addon {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
}

.addon h3 {
  color: #eef2f5;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.addon p {
  margin-top: 6px;
  color: var(--c-text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (min-width: 600px) {
  .addon-grid { grid-template-columns: 1fr 1fr; }

  .addon:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--c-line);
  }

  .addon:nth-child(odd) { padding-right: 28px; }
}

@media (min-width: 1000px) {
  .addon-grid { grid-template-columns: repeat(4, 1fr); }

  .addon,
  .addon:nth-child(even),
  .addon:nth-child(odd) {
    flex-direction: column;
    gap: 16px;
    padding: 4px 28px;
    border-top: 0;
    border-left: 1px solid var(--c-line);
  }

  .addon:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* Before & after — the main trust section
   ========================================================================== */

.section-results {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(63, 182, 230, 0.06), transparent 70%),
    var(--c-bg);
}

.ba-grid {
  display: grid;
  gap: clamp(44px, 5.5vw, 72px);
}

.ba-pair { margin: 0; }

/* BEFORE and AFTER side by side, each in the same 4:3 frame */
.ba-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (min-width: 600px) {
  .ba-frames { gap: 14px; }
}

.ba-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--c-frame);
}

.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sanitation pair is portrait: keep the console bin, cupholders and tray in frame.
   The two shots are framed slightly differently, so each gets its own offset. */
.ba-pair-console .ba-frame img { object-position: 50% 62%; }
.ba-pair-console .ba-after img { object-position: 50% 78%; }

.ba-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(230, 241, 247, 0.22);
  border-radius: 4px;
  background: rgba(7, 11, 16, 0.8);
  color: var(--c-text);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ba-after .ba-tag {
  border-color: transparent;
  background: var(--c-ice);
  color: var(--c-on-ice);
}

@media (min-width: 600px) {
  .ba-tag {
    top: 16px;
    left: 16px;
    padding: 6px 13px;
    font-size: 0.7rem;
  }
}

.ba-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 16px;
}

.ba-caption strong {
  color: var(--c-ice);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ba-caption span {
  color: var(--c-text-soft);
  font-size: 0.95rem;
}

/* Finished results: square tiles, 1 column on phones, 2 x 2 from 600px */
.section-finished {
  padding-top: clamp(24px, 3vw, 40px);
  background: var(--c-bg);
}

.results-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 600px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.results-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--c-frame);
}

.results-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-tile::after {
  content: "";
  position: absolute;
  inset: 62% 0 0;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0), rgba(7, 11, 16, 0.78));
  pointer-events: none;
}

/* Keep the front of the SUV and the door handle/switches inside the square */
.results-tile-exterior img { object-position: 12% 50%; }
.results-tile-door img { object-position: 70% 50%; }

/* Quiet brand caption on each finished photo */
.ba-tag-results {
  top: auto;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-text);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
}

.ba-tag-results::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-ice);
}

@media (min-width: 600px) {
  .ba-tag-results {
    top: auto;
    bottom: 20px;
    left: 22px;
    padding: 0;
    font-size: 0.7rem;
  }
}

/* How it works: three steps on one connecting line
   ========================================================================== */

.section-steps {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-raised);
}

.steps {
  display: grid;
  gap: 36px;
}

.step {
  position: relative;
  padding-left: 76px;
}

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--c-line-ice);
  border-radius: 50%;
  background: var(--c-bg-raised);
  color: var(--c-white);
  font-size: 1.15rem;
  font-weight: 600;
  font-stretch: var(--wide);
}

/* Connector between steps (vertical on phones) */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: -28px;
  left: 26px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-line-ice), var(--c-line));
}

.step h3 {
  padding-top: 13px;
  color: var(--c-white);
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: var(--wide);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step p {
  margin-top: 8px;
  color: var(--c-text-muted);
  font-size: 0.98rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .step {
    padding-top: 80px;
    padding-left: 0;
  }

  .step:not(:last-child)::before {
    top: 26px;
    right: -28px;
    bottom: auto;
    left: 68px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--c-line-ice), var(--c-line));
  }

  .step h3 { padding-top: 0; }
}

.section-steps .notice { margin-top: clamp(48px, 6vw, 72px); }

/* Service area
   ========================================================================== */

.section-area { background: var(--c-bg); }

.area-inner {
  display: grid;
  align-items: center;
  gap: 48px;
}

@media (min-width: 900px) {
  .area-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
  }
}

.area-copy h2 {
  margin-top: 16px;
  color: var(--c-white);
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  font-weight: 700;
  font-stretch: var(--wide);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.area-subhead {
  margin-top: 22px;
  color: var(--c-ice);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.area-towns {
  margin-top: 10px;
  color: var(--c-text);
  font-size: 1.04rem;
  line-height: 1.7;
}

.area-ask {
  margin-top: 16px;
  color: var(--c-text-muted);
  font-size: 1rem;
}

.area-copy .btn-text { margin-top: 18px; }

/* Ripples spreading from Rochester (decorative, not a map) */
.area-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 182, 230, 0.1), transparent 64%);
}

@media (max-width: 559px) {
  .area-visual { max-width: 250px; }
}

.ring {
  position: absolute;
  border: 1px solid rgba(63, 182, 230, 0.3);
  border-radius: 50%;
}

.ring-1 { inset: 0; border-color: rgba(63, 182, 230, 0.1); }
.ring-2 { inset: 15%; border-color: rgba(63, 182, 230, 0.18); }
.ring-3 { inset: 30%; }

.area-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--c-line-ice);
  border-radius: 50%;
  background: var(--c-card);
  color: var(--c-ice);
}

.area-pin svg {
  width: 28px;
  height: 28px;
}

.area-label {
  position: absolute;
  bottom: 9%;
  left: 50%;
  padding: 5px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: 4px;
  background: var(--c-card);
  color: var(--c-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* FAQ: native <details> accordion with hairline separators
   ========================================================================== */

.section-faq {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-raised);
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--c-line);
}

.faq-item { border-bottom: 1px solid var(--c-line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 20px 4px;
  border-radius: 6px;
  color: var(--c-text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--c-ice-light); }

/* Plus that turns into a close mark when open */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--c-ice), var(--c-ice)) center / 16px 2px no-repeat,
    linear-gradient(var(--c-ice), var(--c-ice)) center / 2px 16px no-repeat;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  max-width: 46em;
  padding: 0 4px 26px;
  color: var(--c-text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* Final CTA: photographic band (a darkened, softened view of the hero artwork)
   ========================================================================== */

.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 160px);
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Softened so nothing competes with the copy. Uses the active hero photo set
   (same cached file as the hero). */
.cta-art {
  height: 100%;
  background: var(--hero-photo-mobile) var(--cta-focus) / cover no-repeat;
  filter: saturate(0.55) brightness(0.62) blur(5px);
  transform: scale(1.15);
  transform-origin: var(--cta-focus);
}

@media (min-width: 960px) {
  .cta-art { background-image: var(--hero-photo); }
}

.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 75% at 50% 50%, rgba(5, 12, 20, 0.5), rgba(5, 12, 20, 0.92) 78%),
    linear-gradient(180deg, var(--c-bg) 0%, rgba(7, 11, 16, 0) 22%, rgba(7, 11, 16, 0) 78%, var(--c-bg) 100%);
}

.cta-panel { text-align: center; }

.cta-panel h1,
.cta-panel h2 {
  color: var(--c-white);
  font-size: clamp(1.9rem, 4.2vw, 3.45rem);
  font-weight: 700;
  font-stretch: var(--wide);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-panel h1 .accent,
.cta-panel h2 .accent { color: var(--c-ice); }

/* Review page: its section label sits above the heading */
.cta-panel .eyebrow + h1 { margin-top: 18px; }

.cta-lead {
  max-width: 32em;
  margin: 18px auto 0;
  color: var(--c-text-soft);
  font-size: 1.1rem;
}

.cta-panel .btn-row {
  justify-content: center;
  margin-top: 36px;
}

/* Review page: keep "Leave a Google Review" on one line on phones */
@media (max-width: 479px) {
  .review-hero .btn-lg {
    padding-inline: 20px;
    font-size: clamp(0.875rem, 4vw, 1.125rem);
    letter-spacing: 0.12em;
  }
}

.cta-noscript {
  margin-top: 20px;
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

/* Footer
   ========================================================================== */

.site-footer {
  padding-block: 64px 28px;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-deep);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 36px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* Footer logo (assets/brand/riverstone-lockup-stacked.svg, 2.08:1) */
.footer-logo {
  display: inline-block;
  border-radius: var(--radius-btn);
}

.footer-logo img {
  width: clamp(180px, 52vw, 230px);
  height: auto;
}

.footer-tagline {
  margin-top: 18px;
  color: var(--c-text-muted);
}

.footer-contact {
  display: grid;
  gap: 16px;
  margin: 0;
}

.footer-contact div {
  display: grid;
  gap: 4px;
}

.footer-contact dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-ice-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-contact dt svg {
  width: 15px;
  height: 15px;
  color: var(--c-ice);
}

.footer-contact dd { margin: 0; }

.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(63, 182, 230, 0.6);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.footer-email:hover { color: var(--c-ice); }

.footer-bottom { margin-top: 44px; }

.footer-bottom p {
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  color: var(--c-text-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  display: inline-block;
  padding-block: 12px;
  color: var(--c-text-soft);
  text-underline-offset: 3px;
}

.footer-bottom a:hover { color: var(--c-ice); }

/* Privacy policy + 404 pages
   ========================================================================== */

.policy {
  padding-block: 56px var(--section-space);
}

.policy-body { max-width: 760px; }

.policy-title {
  margin-top: 16px;
  color: var(--c-white);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  font-stretch: var(--wide);
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.policy-updated {
  margin-top: 10px;
  color: var(--c-text-muted);
  font-size: 0.85rem;
}

.policy-body h2 {
  margin-top: 40px;
  color: var(--c-ice-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.policy-body p,
.policy-body li {
  font-size: 1rem;
  line-height: 1.75;
}

.policy-body p { margin-top: 12px; }

.policy-body ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.policy-body li::marker { color: var(--c-ice); }

.policy-body a { overflow-wrap: anywhere; }

.policy-back { margin-top: 44px; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .btn:hover { transform: none; }
}
