/* ==========================================================================
   Rintoul's Pools & Hot Tubs — site styles
   Tokens → base → layout → components → pages → utilities
   ========================================================================== */

:root {
  /* Colour — navy + blue come from the logo; aqua + waterline are pool water;
     stone is the patio; sun is reserved for service actions. */
  --navy-950: #081330;
  --navy: #10214b;
  --navy-700: #1b3166;
  --blue: #1745b0;
  --blue-700: #123891;
  --blue-100: #e3ebfa;
  --aqua: #9ed8db;
  --aqua-200: #c7e9eb;
  --aqua-100: #e2f3f4;
  --waterline: #f1f8f8;
  --stone: #f3f5f4;
  --sun: #ffc23d;
  --sun-700: #f0a91a;
  --ink: #10214b;
  --ink-soft: #45557b;
  --line: #d6e0e5;
  --white: #fff;
  --success: #1c7c54;
  --danger: #b3261e;

  /* Type */
  --font-display: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --font-body: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.35rem + 1.5vw, 2.25rem);
  --step-4: clamp(2.125rem, 1.45rem + 2.6vw, 3.125rem);
  --step-5: clamp(2.625rem, 1.5rem + 4.4vw, 4.5rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --container: 1240px;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-float: 0 24px 48px -28px rgba(8, 19, 48, 0.55);
  --shadow-soft: 0 10px 30px -22px rgba(8, 19, 48, 0.5);
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
::selection { background: var(--aqua); color: var(--navy); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); background: var(--bg, transparent); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--short-bottom { padding-bottom: calc(var(--section) * 0.45); }
.section--short-top { padding-top: calc(var(--section) * 0.45); }
.section--water { --bg: var(--waterline); }
.section--aqua { --bg: var(--aqua-100); }
.section--stone { --bg: var(--stone); }
.section--navy { --bg: var(--navy); color: #dfe7f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--step-1); color: var(--ink-soft); margin: 0; }
.section--navy .section-head p { color: #c3cfe6; }
/* Short blue bar under section titles — echoes the rule under "Rintoul's" in the logo. */
.bar-title::after {
  content: ""; display: block; width: 56px; height: 5px; border-radius: 3px;
  background: var(--blue); margin-top: 0.45em;
}
.section-head--center .bar-title::after { margin-inline: auto; }
.section--navy .bar-title::after, .on-dark .bar-title::after { background: var(--aqua); }

.lede { font-size: var(--step-1); color: var(--ink-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--top { align-items: start; }
}

/* Wavy section edges (from the inspiration) — the pseudo-element inherits the section colour. */
.wave-top::before, .wave-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 48px; pointer-events: none;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30C240 6 480 0 720 14s480 34 720 10v24z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30C240 6 480 0 720 14s480 34 720 10v24z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.wave-top::before { top: -47px; }
.wave-bottom::after { bottom: -47px; transform: scaleY(-1); z-index: 1; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7rem 1.4rem;
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; line-height: 1.1;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { --btn-bg: var(--blue-700); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--navy); }
.btn--sun:hover { --btn-bg: var(--sun-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn--light:hover { --btn-bg: var(--aqua); --btn-fg: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.7); }
.btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.975rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Circle-arrow link — the inspiration's "learn more" device. */
.link-go {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem;
  color: var(--navy); text-decoration: none;
}
.link-go .go {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: var(--white); transition: transform 0.2s var(--ease), background-color 0.2s;
}
.link-go .go svg { width: 18px; height: 18px; }
.link-go:hover { color: var(--blue); }
.link-go:hover .go { transform: translateX(3px); background: var(--blue-700); }
.on-dark .link-go, .section--navy .link-go { color: var(--white); }
.on-dark .link-go .go, .section--navy .link-go .go { background: var(--aqua); color: var(--navy); }

/* Pending-content marker — everything the client still has to supply wears this. */
.todo {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.15em 0.6em; border: 1.5px dashed currentColor; border-radius: 6px;
  font-family: var(--font-body); font-size: 0.85em; font-weight: 700; letter-spacing: 0.01em;
  opacity: 0.85; white-space: nowrap;
}

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-badge {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--aqua-100); color: var(--blue); flex: none;
}
.icon-badge .icon { width: 26px; height: 26px; }

/* ==========================================================================
   Header
   ========================================================================== */
.utility-bar { background: var(--navy); color: #cfd9ee; font-size: 0.9rem; }
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.utility-bar a:not(.btn) { color: var(--white); text-decoration: none; }
.utility-bar a:not(.btn):hover { color: var(--aqua); }
.utility-bar__left, .utility-bar__right { display: flex; align-items: center; gap: 1.5rem; }
.utility-bar .icon { width: 16px; height: 16px; }
.utility-bar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.utility-bar__service { color: var(--sun) !important; font-weight: 700; }
@media (max-width: 760px) {
  .utility-bar__left, .utility-bar__hide-sm { display: none; }
  .utility-bar .container { justify-content: center; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(8,19,48,.5); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 150px; height: auto; mix-blend-mode: multiply; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.main-nav__item { position: relative; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.75rem; border: 0; background: none; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--navy);
  text-decoration: none; white-space: nowrap;
}
.main-nav__link:hover, .main-nav__item:focus-within > .main-nav__link { color: var(--blue); background: var(--waterline); }
.main-nav__item.is-active > .main-nav__link { color: var(--blue); }
.main-nav__item.is-active > .main-nav__link::after {
  content: ""; position: absolute; left: 0.75rem; right: 1.6rem; bottom: 0.25rem; height: 3px; border-radius: 2px; background: var(--blue);
}
.main-nav__item--service > .main-nav__link { color: var(--navy); }
.main-nav__link .chev { width: 16px; height: 16px; transition: transform 0.2s; }

.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 250px;
  translate: -50% 6px; opacity: 0; visibility: hidden;
  list-style: none; padding: 0.6rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-float);
  transition: opacity 0.16s ease, translate 0.16s ease, visibility 0.16s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.submenu a {
  display: block; padding: 0.6rem 0.8rem; border-radius: 10px; text-decoration: none; color: var(--navy); line-height: 1.3;
}
.submenu a small { display: block; color: var(--ink-soft); font-size: 0.85rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--waterline); color: var(--blue); }
.submenu a[aria-current="page"] { font-weight: 700; }
.submenu__divider { height: 1px; background: var(--line); margin: 0.4rem 0.4rem; }

@media (hover: hover) and (min-width: 1181px) {
  .main-nav__item:hover > .submenu { opacity: 1; visibility: visible; translate: -50% 0; }
  .main-nav__item:hover > .main-nav__link .chev { transform: rotate(180deg); }
}
@media (min-width: 1181px) {
  .main-nav__item.is-open > .submenu { opacity: 1; visibility: visible; translate: -50% 0; }
  .main-nav__item.is-open > .main-nav__link .chev { transform: rotate(180deg); }
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--blue); width: 20px; height: 20px; }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.9rem;
  border: 2px solid var(--navy); border-radius: 999px; background: none;
  font-family: var(--font-display); font-weight: 500; color: var(--navy);
}
.menu-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 1320px) { .header-phone span { display: none; } }
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would become the containing block for the fixed drawer, and the
     header's stacking context must sit above the scrim while the drawer is open. */
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav-open .site-header { z-index: 160; }
  .brand img { width: 128px; }
  .menu-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 150;
    background: var(--white); padding: 5.5rem 1.25rem 2rem; overflow-y: auto;
    /* Revealed with clip-path rather than translated off-screen: an off-canvas translate
       widens the layout viewport on mobile Chrome and causes sideways scrolling. */
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path 0.35s var(--ease), visibility 0.35s;
    box-shadow: -30px 0 60px -30px rgba(8,19,48,.5);
  }
  .nav-open .main-nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__item { border-bottom: 1px solid var(--line); }
  .main-nav__link { width: 100%; justify-content: space-between; padding: 1rem 0.25rem; font-size: 1.3rem; border-radius: 0; }
  .main-nav__link:hover { background: none; }
  .main-nav__item.is-active > .main-nav__link::after { display: none; }
  .submenu {
    position: static; translate: none; opacity: 1; visibility: visible; display: none;
    min-width: 0; box-shadow: none; border: 0; padding: 0 0 0.75rem 0.5rem;
  }
  .main-nav__item.is-open > .submenu { display: block; }
  .main-nav__item.is-open > .main-nav__link .chev { transform: rotate(180deg); }
  .nav-close { position: absolute; top: 1.1rem; right: 1.1rem; }
  .nav-drawer-cta { display: grid !important; gap: 0.75rem; margin-top: 1.5rem; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(8,19,48,.45); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}
/* Phones get the sticky bottom service bar instead of the header button. */
@media (max-width: 520px) { .header-actions .btn--sun { display: none; } }
@media (min-width: 521px) and (max-width: 640px) { .header-actions .btn--sun span.long { display: none; } }
@media (min-width: 641px), (max-width: 520px) { .header-actions .btn--sun span.short { display: none; } }
.nav-close, .nav-drawer-cta { display: none; }
@media (max-width: 1180px) { .nav-close { display: inline-flex; } }

/* ==========================================================================
   Hero — the signature: navy panel with flowing waterlines
   ========================================================================== */
.hero { position: relative; background: var(--navy); color: #d9e3f5; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); min-height: min(80vh, 760px); }
.hero__panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 2rem + 5vw, 6rem) var(--gutter) clamp(6rem, 5rem + 4vw, 8rem); }
.hero__panel-inner { max-width: 34rem; margin-left: auto; width: 100%; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero__lede { font-size: var(--step-1); color: #d3def2; max-width: 30rem; margin-bottom: 2rem; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,33,75,.35), rgba(16,33,75,0) 30%); }

.waterlines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.waterlines path { fill: none; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.waterlines path:nth-child(2n) { stroke-opacity: 0.55; }
.waterlines path:nth-child(3n) { stroke: var(--aqua); stroke-opacity: 0.75; }
/* The one orchestrated moment: hero lines draw in on first view. JS adds .is-animating
   only when the tab is visible, so a background-opened page just shows the lines. */
.animate-hero .hero .waterlines path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw-line 2.6s var(--ease) forwards; }
.animate-hero .hero .waterlines path:nth-child(2) { animation-delay: 0.15s; }
.animate-hero .hero .waterlines path:nth-child(3) { animation-delay: 0.3s; }
.animate-hero .hero .waterlines path:nth-child(4) { animation-delay: 0.45s; }
.animate-hero .hero .waterlines path:nth-child(5) { animation-delay: 0.6s; }
.animate-hero .hero .waterlines path:nth-child(6) { animation-delay: 0.75s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .hero__panel { padding-right: clamp(2rem, 1rem + 3vw, 4.5rem); }
}
@media (max-width: 899px) {
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__media::after { background: linear-gradient(0deg, rgba(16,33,75,.55), rgba(16,33,75,0) 40%); }
  .hero .waterlines { opacity: 0.45; }
  .hero__panel-inner { margin-left: 0; }
}

/* Service fast lane — overlaps the hero's bottom edge so service is never below the fold. */
.service-lane { position: relative; z-index: 5; margin-top: calc(-1 * clamp(4rem, 3rem + 3vw, 5.25rem)); }
.service-lane__card {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: center;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-float);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border-top: 6px solid var(--sun);
}
.service-lane__intro h2 { font-size: var(--step-2); margin: 0 0 0.2em; }
.service-lane__intro p { margin: 0; color: var(--ink-soft); }
.service-lane__actions { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lane-btn {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem;
  border-radius: var(--radius-md); background: var(--waterline); color: var(--navy); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; line-height: 1.2; border: 1.5px solid transparent;
  transition: border-color .18s, background-color .18s;
}
.lane-btn .icon { color: var(--blue); }
.lane-btn:hover { background: var(--white); border-color: var(--blue); color: var(--navy); }
.service-lane__phone { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); color: var(--navy); text-decoration: none; }
.service-lane__phone strong { display: block; font-size: 1.25rem; font-weight: 600; }
.service-lane__phone small { display: block; color: var(--ink-soft); font-family: var(--font-body); font-size: 0.85rem; }
@media (min-width: 1100px) { .service-lane__card { grid-template-columns: 1fr 1.6fr auto; } }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #d3def2; isolation: isolate; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.page-hero__panel { position: relative; z-index: 2; padding: clamp(2.5rem, 1.8rem + 3vw, 4.5rem) var(--gutter) clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.page-hero__panel-inner { max-width: 36rem; margin-left: auto; width: 100%; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 1.5rem + 3.4vw, 3.9rem); }
.page-hero p { font-size: var(--step-1); color: #d3def2; max-width: 34rem; }
.page-hero__media { position: relative; min-height: 260px; }
.page-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__media--product { background: radial-gradient(circle at 50% 55%, var(--aqua-100), var(--aqua) 75%); display: grid; place-items: center; padding: 2rem; }
.page-hero__media--product > img { position: relative; inset: auto; width: min(82%, 520px); height: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); min-height: 460px; }
}
@media (max-width: 899px) { .page-hero__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; } .page-hero__panel-inner { margin-left: 0; } }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.925rem; margin-bottom: 1.25rem; color: #a9b8d6; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; opacity: 0.6; }
.breadcrumb a { color: #d9e3f5; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ==========================================================================
   Home sections
   ========================================================================== */
.intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.intro__facts dt { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; color: var(--navy); line-height: 1.1; }
.intro__facts dd { margin: 0.3rem 0 0; font-size: 0.925rem; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 560px) { .intro__facts { grid-template-columns: 1fr; } }

/* Product category panels: one large photo panel + two "product on water" panels */
.categories { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 900px) {
  .categories { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
  .categories .cat:first-child { grid-row: span 2; }
}
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  min-height: 300px; border-radius: var(--radius-xl); text-decoration: none; color: var(--white); isolation: isolate;
}
.cat__media { position: absolute; inset: 0; z-index: -1; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat--photo { min-height: 440px; }
.cat--photo .cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,19,48,.82) 0%, rgba(8,19,48,.2) 55%, rgba(8,19,48,0) 75%); }
.cat--product { color: var(--navy); background: var(--aqua-100); flex-direction: row; align-items: stretch; }
.cat--product .cat__media { position: relative; z-index: auto; flex: 1 1 45%; display: grid; place-items: center; padding: 1.25rem; }
.cat--product .cat__media img { width: 100%; height: auto; max-height: 240px; object-fit: contain; mix-blend-mode: multiply; }
.cat--product.cat--sauna { background: #efe6dc; }
.cat__body { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); position: relative; }
.cat--product .cat__body { flex: 1 1 55%; display: flex; flex-direction: column; justify-content: center; }
.cat h3 { color: inherit; font-size: var(--step-3); margin-bottom: 0.3em; }
.cat p { margin-bottom: 1.1rem; max-width: 30rem; }
.cat--photo p { color: #dbe4f4; }
.cat--product p { color: var(--ink-soft); }
.cat .link-go { color: inherit; }
.cat--photo .link-go .go { background: var(--white); color: var(--navy); }
.cat:hover .cat__media img { transform: scale(1.03); }
@media (max-width: 600px) {
  .cat--product { flex-direction: column; }
  .cat--product .cat__media { padding-bottom: 0; }
  .cat--product .cat__media img { max-height: 190px; width: auto; }
}

/* Service band */
.service-band { --bg: var(--aqua-100); }
.service-list { list-style: none; display: grid; gap: 0; background: var(--white); border-radius: var(--radius-lg); padding: 0.5rem clamp(1rem, 0.6rem + 1.5vw, 2rem); box-shadow: var(--shadow-soft); }
.service-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; }
.service-list h3 { font-size: var(--step-1); margin: 0 0 0.25rem; }
.service-list p { color: var(--ink-soft); margin: 0 0 0.6rem; }
.service-list a.more { font-family: var(--font-display); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.service-list a.more:hover { text-decoration: underline; }
.service-list a.more .icon { width: 18px; height: 18px; }

/* Jenny — AI support assistant */
.jenny { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--white); border-radius: var(--radius-lg); margin: 1.75rem 0; max-width: 32rem; box-shadow: var(--shadow-soft); }
.jenny__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 0; line-height: 1.2; }
.jenny__role { font-size: 0.925rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.jenny__call { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.jenny--large { max-width: none; grid-template-columns: auto 1fr; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); margin: 0; }
.jenny--large .avatar { width: clamp(120px, 90px + 8vw, 180px); height: clamp(120px, 90px + 8vw, 180px); }
.jenny--large .jenny__name { font-size: var(--step-3); }
@media (max-width: 520px) { .jenny--large { grid-template-columns: 1fr; } }

.avatar { position: relative; width: 84px; height: 84px; flex: none; }
.avatar svg { width: 100%; height: 100%; }
.avatar__status { position: absolute; right: 2px; bottom: 6px; width: 18px; height: 18px; border-radius: 50%; background: #2bb673; border: 3px solid var(--white); }
.avatar .eyes { transform-origin: 60px 58px; animation: blink 5.5s infinite; }
.avatar .wave-bars rect { transform-box: fill-box; transform-origin: center; animation: talk 1.6s ease-in-out infinite; }
.avatar .wave-bars rect:nth-child(2) { animation-delay: 0.2s; }
.avatar .wave-bars rect:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
@keyframes talk { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }

/* Why choose */
.values { display: grid; gap: 1.75rem 2rem; list-style: none; margin-top: 2rem; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.values h3 { font-size: var(--step-1); margin: 0.1rem 0 0.3rem; }
.values p { margin: 0; color: var(--ink-soft); }

.photo-stack { position: relative; }
.photo-stack img { border-radius: var(--radius-xl); width: 100%; object-fit: cover; }
.photo-stack__main { aspect-ratio: 4 / 5; }
.photo-stack__badge {
  position: absolute; right: -0.5rem; bottom: 1.5rem; max-width: 15rem;
  background: var(--navy); color: #dfe7f5; padding: 1.1rem 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-float);
}
.photo-stack__badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--white); line-height: 1.1; }
@media (min-width: 900px) { .photo-stack__badge { right: -1.5rem; } }

/* Brand wall */
.brand-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; list-style: none; }
.brand-tile {
  display: grid; place-items: center; min-height: 104px; padding: 1rem; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--navy-700); letter-spacing: 0.01em;
  text-decoration: none; transition: border-color .18s, color .18s;
}
.brand-tile small { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; color: var(--ink-soft); margin-top: 0.15rem; letter-spacing: 0; }
a.brand-tile:hover { border-color: var(--blue); color: var(--blue); }

/* Reviews (Google integration placeholder) */
.reviews { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review {
  padding: 1.5rem; background: var(--white); border: 1.5px dashed var(--aqua); border-radius: var(--radius-lg);
  min-height: 210px; display: flex; flex-direction: column;
}
.review__stars { display: flex; gap: 2px; color: #f2b01e; margin-bottom: 0.9rem; }
.review__stars .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.review__line { height: 10px; border-radius: 5px; background: var(--stone); margin-bottom: 0.6rem; }
.review__line:nth-child(3) { width: 92%; } .review__line:nth-child(4) { width: 78%; } .review__line:nth-child(5) { width: 60%; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 0.6rem; color: var(--ink-soft); font-size: 0.9rem; }
.review__who::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--aqua-100); }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-bottom: 1.75rem; }
.google-mark { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 500; }

/* CTA strip */
.cta-strip { position: relative; overflow: hidden; background: var(--navy); color: #d3def2; border-radius: var(--radius-xl); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.5rem, 1rem + 4vw, 5rem); isolation: isolate; }
.cta-strip .waterlines { z-index: -1; opacity: 0.55; }
.cta-strip h2 { color: var(--white); max-width: 20ch; }
.cta-strip p { font-size: var(--step-1); max-width: 40rem; margin-bottom: 1.75rem; }

/* ==========================================================================
   Product listings
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; margin-bottom: 1.75rem; padding: 1.25rem 1.5rem; background: var(--waterline); border-radius: var(--radius-lg); }
.filter-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-group legend, .filter-label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.975rem; color: var(--navy); margin-bottom: 0.5rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  min-height: 40px; padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 0.95rem; color: var(--navy); line-height: 1.2; transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.select {
  min-height: 44px; padding: 0.5rem 2.5rem 0.5rem 0.9rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.8rem center / 16px no-repeat;
  appearance: none; font-size: 0.95rem;
}
.filters__meta { margin-left: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.result-count { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.product {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.product:hover { border-color: var(--aqua); box-shadow: var(--shadow-soft); }
.product[hidden] { display: none; }
.product__media { position: relative; aspect-ratio: 4 / 3; background: var(--waterline); display: grid; place-items: center; padding: 1rem; }
.product__media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__tag { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--white); font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.product__brand { font-size: 0.875rem; color: var(--ink-soft); margin: 0 0 0.15rem; }
.product__name { font-size: 1.35rem; margin: 0 0 0.6rem; }
.product__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: 0.925rem; color: var(--ink-soft); margin-bottom: 1rem; }
.product__specs li { display: inline-flex; align-items: center; gap: 0.35rem; }
.product__specs .icon { width: 17px; height: 17px; color: var(--blue); }
.product__foot { margin-top: auto; }
.product__price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--navy); margin: 0 0 0.85rem; line-height: 1.2; }
.product__price small { display: block; font-family: var(--font-body); font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; }
.product__price--ask { font-size: 1.05rem; }
.product__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.product__actions .btn { padding-inline: 0.75rem; min-height: 44px; font-size: 0.975rem; }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--waterline); border-radius: var(--radius-lg); }
.empty-state[hidden] { display: none; }
.source-note { font-size: 0.875rem; color: var(--ink-soft); margin-top: 1.5rem; }

/* Pool model cards (Azoria renders are transparent) */
.pool-card .product__media { background: radial-gradient(circle at 50% 60%, var(--white), var(--aqua-100) 70%); aspect-ratio: 1 / 0.8; }
.pool-card .product__media img { mix-blend-mode: normal; }
.pool-card .product__actions { grid-template-columns: 1fr 1fr; }

/* Product details dialog */
.product-dialog { width: min(980px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius-xl); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(8,19,48,.6); }
.product-dialog::backdrop { background: rgba(8,19,48,.55); backdrop-filter: blur(2px); }
.product-dialog[open] { animation: dialog-in .25s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.product-dialog__grid { display: grid; }
@media (min-width: 760px) { .product-dialog__grid { grid-template-columns: 1fr 1fr; } }
.product-dialog__media { background: var(--waterline); display: grid; place-items: center; padding: 2rem; min-height: 260px; }
.product-dialog__media img { mix-blend-mode: multiply; max-height: 380px; object-fit: contain; }
.product-dialog__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.product-dialog__close { position: absolute; top: 0.9rem; right: 0.9rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 700; color: var(--navy); width: 42%; padding-right: 1rem; }
.spec-table td { color: var(--ink-soft); }

/* ==========================================================================
   Content components
   ========================================================================== */
.feature-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; }
.feature-grid li { padding-top: 1.25rem; border-top: 3px solid var(--aqua); }
.feature-grid h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.feature-grid p { color: var(--ink-soft); margin: 0; }
.section--navy .feature-grid li { border-top-color: var(--blue); }
.section--navy .feature-grid p { color: #c3cfe6; }

.option-cards { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .option-cards { grid-template-columns: 1fr 1fr; } }
.option-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); }
.option-card__media { aspect-ratio: 16 / 10; background: var(--aqua-100); overflow: hidden; }
.option-card__media img { width: 100%; height: 100%; object-fit: cover; }
.option-card__media--illus { display: grid; place-items: center; background: linear-gradient(180deg, var(--aqua-100), var(--waterline)); }
.option-card__media--illus svg { width: 70%; height: auto; }
.option-card__body { padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.option-card__body p { color: var(--ink-soft); }
.option-card__body .btn-row { margin-top: auto; padding-top: 0.5rem; }
.option-card h3 { font-size: var(--step-3); }

/* Installation / project sequence — genuinely a sequence, so it's numbered */
.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; }
.step__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__media::before {
  content: counter(step); position: absolute; left: 0.9rem; top: 0.9rem; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.975rem; }
.steps--text .step { padding: 1.5rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.steps--text .step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--sun); color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
}
@media (min-width: 1100px) { .steps--three { grid-template-columns: repeat(3, 1fr); } }

.callout { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--radius-xl); background: var(--aqua-100); }
@media (min-width: 900px) { .callout { grid-template-columns: 1.4fr auto; } }
.callout h2, .callout h3 { margin-bottom: 0.35em; }
.callout p { margin: 0; color: var(--ink-soft); }

.media-frame { border-radius: var(--radius-xl); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.check-list .icon { width: 22px; height: 22px; color: var(--success); margin-top: 0.15rem; }

/* Brand detail rows */
.brand-rows { display: grid; gap: 1.25rem; }
.brand-row { display: grid; gap: 1.25rem 2.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); }
@media (min-width: 900px) { .brand-row { grid-template-columns: 240px 1fr auto; align-items: center; } }
.brand-row__logo { display: grid; place-items: center; min-height: 110px; border-radius: var(--radius-md); background: var(--waterline); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--navy-700); text-align: center; padding: 1rem; }
.brand-row h2 { font-size: var(--step-3); margin-bottom: 0.2em; }
.brand-row .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin-top: 0.75rem; }
.brand-row .tags li { padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--aqua-100); font-size: 0.85rem; color: var(--navy); }
.brand-row p { margin: 0; color: var(--ink-soft); }
.brand-row__actions { display: grid; gap: 0.5rem; }

/* Gallery */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.lightbox { width: min(1200px, calc(100% - 2rem)); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(8,19,48,.85); }
.lightbox img { width: 100%; max-height: 82dvh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox p { color: var(--white); text-align: center; margin-top: 0.75rem; }
.lightbox .product-dialog__close { top: -0.5rem; right: -0.5rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.form-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-soft); }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.35rem; background: var(--waterline); border-radius: 999px; margin-bottom: 2rem; }
.tab {
  flex: 1 1 auto; min-height: 46px; padding: 0.55rem 1rem; border: 0; border-radius: 999px; background: transparent;
  font-family: var(--font-display); font-weight: 500; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
}
.tab .icon { width: 20px; height: 20px; }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tab:not([aria-selected="true"]):hover { background: var(--white); }
@media (max-width: 560px) { .tabs { border-radius: var(--radius-lg); } .tab { flex-basis: calc(50% - 0.2rem); } }
.tab-panel[hidden] { display: none; }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.form-section-title { grid-column: 1 / -1; font-size: var(--step-1); margin: 0.75rem 0 -0.25rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.975rem; color: var(--navy); padding: 0; }
.field .hint { font-size: 0.875rem; color: var(--ink-soft); margin: -0.15rem 0 0.1rem; }
.field .req { color: var(--danger); margin-left: 0.15rem; }
.input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; background: var(--white);
  border: 1.5px solid #c5d1d8; border-radius: var(--radius-sm); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.8rem center / 16px no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.field.has-error .input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 0.875rem; font-weight: 700; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 1rem;
  border: 1.5px solid #c5d1d8; border-radius: 999px; background: var(--white); font-size: 0.975rem; transition: all .15s;
}
.option input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.option input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.option input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 700; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-foot p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 26rem; }
.form-success { display: grid; gap: 0.75rem; justify-items: start; padding: 2rem; border-radius: var(--radius-lg); background: #e7f5ee; color: #11412c; }
.form-success[hidden] { display: none; }
.form-success h3 { color: #11412c; margin: 0; }

.aside-card { background: var(--navy); color: #d3def2; border-radius: var(--radius-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.aside-card h2, .aside-card h3 { color: var(--white); }
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card--light { background: var(--aqua-100); color: var(--ink); }
.aside-card--light h2, .aside-card--light h3 { color: var(--navy); }
.contact-list { list-style: none; display: grid; gap: 1rem; margin: 1.25rem 0; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
.contact-list .icon { color: var(--aqua); margin-top: 0.2rem; }
.aside-card--light .contact-list .icon { color: var(--blue); }
.contact-list a { color: inherit; }
.contact-list strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.aside-card--light .contact-list strong { color: var(--navy); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 0.35rem 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 400; }
.hours td { text-align: right; }
.map-frame { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--stone); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { --bg: var(--navy-950); position: relative; background: var(--bg); color: #b9c6e0; margin-top: 48px; padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2rem; font-size: 0.975rem; }
.site-footer a:not(.btn) { color: #dfe7f5; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 170px; background: var(--white); padding: 0.6rem 0.8rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; }
.footer-brand p { max-width: 24rem; }
.site-footer h2 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.9rem; }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-service { background: var(--navy); border-radius: var(--radius-lg); padding: 1.35rem; }
.footer-service p { margin-bottom: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.875rem; color: #8f9fc2; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--blue); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }

/* Mobile sticky service bar — keeps service one tap away on phones */
.mobile-service-bar { display: none; }
@media (max-width: 760px) {
  .mobile-service-bar {
    position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.5rem;
    background: var(--navy); border-radius: 999px; box-shadow: var(--shadow-float);
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  /* Slides in once the hero's own buttons have scrolled away (JS toggles the class). */
  .js .mobile-service-bar:not(.is-shown) { transform: translateY(calc(100% + 1rem)); opacity: 0; visibility: hidden; }
  .mobile-service-bar .btn { min-height: 46px; font-size: 0.975rem; padding-inline: 0.75rem; }
  body { padding-bottom: 84px; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-soft { color: var(--ink-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .animate-hero .hero .waterlines path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
  .utility-bar, .site-header, .mobile-service-bar, .site-footer, .waterlines { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}

/* ==========================================================================
   Interior page additions
   ========================================================================== */
.page-hero .waterlines { opacity: 0.55; }
.page-hero__media--illus { background: linear-gradient(180deg, var(--aqua-100), var(--aqua)); display: grid; place-items: center; padding: 2rem; }
.page-hero__media--illus svg { width: min(86%, 520px); height: auto; }

.service-grid { display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 760px) { .service-grid { grid-template-columns: 1fr 1fr; } }
.service-card { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service-card h3 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.service-card p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.service-card .more { font-family: var(--font-display); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.service-card .more:hover { text-decoration: underline; }
.service-card .more .icon { width: 18px; height: 18px; }

.option-card__media--product { display: grid; place-items: center; padding: 1.5rem; background: radial-gradient(circle at 50% 60%, var(--white), var(--aqua-100) 72%); }
.option-card__media--product img { width: auto; height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.option-cards--three { grid-template-columns: 1fr; }
@media (min-width: 800px) { .option-cards--three { grid-template-columns: repeat(3, 1fr); } }
.option-cards--three h3 { font-size: var(--step-2); }

.logo-slot { display: grid; place-items: center; min-height: 220px; border-radius: var(--radius-xl); background: var(--white); border: 1.5px dashed var(--aqua); text-align: center; padding: 2rem; }
.logo-slot strong { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; color: var(--navy); }

.jump-links { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: 1.5rem; }
.jump-links a { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: var(--white); text-decoration: none; font-size: 0.95rem; }
.jump-links a:hover { background: var(--white); color: var(--navy); }
