/* ============================================================================
   SAPTHAGIRI PIPES AND TAPS — Design System
   Style: Liquid Glass / industrial-premium   Density: 4/10   Motion: 7/10
   Type:  Outfit (display) + Work Sans (body)
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  /* Brand — steel + brass + water */
  --primary:        #14202E;   /* deep steel navy  */
  --primary-700:    #1D2E42;
  --primary-900:    #0B121C;
  --on-primary:     #FFFFFF;

  --accent:         #A16207;   /* brass  — 4.6:1 w/ white  */
  --accent-hover:   #854D0E;
  --accent-soft:    #FEF3C7;
  --on-accent:      #FFFFFF;

  --hydro:          #0E7490;   /* water  — 4.9:1 on white  */
  --hydro-soft:     #ECFEFF;

  /* Neutrals */
  --bg:             #FAFAF9;
  --surface:        #FFFFFF;
  --surface-2:      #F4F4F2;
  --ink:            #0C0A09;
  --ink-2:          #292524;
  --muted:          #E8ECF0;
  --muted-fg:       #475569;   /* 7.4:1 on white */
  --border:         #D6D3D1;
  --border-soft:    #E7E5E4;

  --success:        #15803D;
  --destructive:    #DC2626;

  /* Dark-section tokens (used inside .band--dark) */
  --dark-bg:        #0F1720;
  --dark-surface:   rgba(255,255,255,.06);
  --dark-border:    rgba(255,255,255,.14);
  --dark-fg:        #F5F5F4;
  --dark-muted-fg:  #A8B3BF;   /* 7.1:1 on --dark-bg */

  /* Typography */
  --font-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: clamp(.8125rem, .79rem + .12vw, .875rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.07rem + .28vw, 1.3125rem);
  --step-2:  clamp(1.375rem, 1.27rem + .52vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.55rem + .98vw, 2.5rem);
  --step-4:  clamp(2.125rem, 1.7rem + 2.1vw, 3.75rem);
  --step-5:  clamp(2.5rem, 1.85rem + 3.2vw, 5rem);

  /* Spacing — density 4/10 (standard, slightly airy) */
  --space-1: .5rem;   --space-2: 1rem;    --space-3: 1.5rem;
  --space-4: 2rem;    --space-5: 3rem;    --space-6: 4rem;
  --space-7: 5.5rem;  --space-8: 7rem;

  /* Shape & depth */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(12,10,9,.06), 0 1px 3px rgba(12,10,9,.05);
  --shadow-md: 0 4px 12px rgba(12,10,9,.07), 0 2px 4px rgba(12,10,9,.04);
  --shadow-lg: 0 18px 40px -12px rgba(12,10,9,.18), 0 6px 14px rgba(12,10,9,.06);
  --shadow-glass: 0 8px 32px rgba(15,23,32,.10), inset 0 1px 0 rgba(255,255,255,.55);

  --ease-out:  cubic-bezier(.22,.8,.28,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur-fast: 160ms; --dur: 260ms; --dur-slow: 420ms;

  --container: 1200px;
  --nav-h: 68px;
}

/* ------------------------------------------------------------- 2. RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.022em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -.032em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

/* Focus — never removed, always visible on any background */
:focus-visible {
  outline: 3px solid var(--hydro);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--dark :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: #7DD3FC; }

.skip-link {
  position: absolute; left: var(--space-2); top: -100px; z-index: 999;
  background: var(--primary); color: var(--on-primary);
  padding: .75rem 1.25rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus-visible { top: var(--space-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- 3. PRIMITIVES */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-3); }
@media (min-width: 768px) { .container { padding-inline: var(--space-4); } }

.band { padding-block: var(--space-5); position: relative; }
@media (min-width: 768px) { .band { padding-block: var(--space-6); } }

/* A thin strip between two full sections (stats, marquee) doesn't need a full
   section's padding — it reads as a divider, not as a chapter. */
.band--strip { padding-block: var(--space-4); }

.band--tint { background: var(--surface-2); }
.band--dark { background: var(--dark-bg); color: var(--dark-muted-fg); }
.band--dark h2, .band--dark h3, .band--dark h4 { color: var(--dark-fg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--hydro);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px;
}
.band--dark .eyebrow { color: #67E8F9; }

.section-head { max-width: 62ch; margin-bottom: var(--space-4); }
.section-head p { color: var(--muted-fg); font-size: var(--step-1); margin-top: var(--space-2); }
.band--dark .section-head p { color: var(--dark-muted-fg); }

/* Buttons — all >=44px tall, all show pointer, all transition */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0);
  letter-spacing: -.01em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-lg); }

.btn--dark { background: var(--primary); color: var(--on-primary); }
.btn--dark:hover { background: var(--primary-700); box-shadow: var(--shadow-lg); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.band--dark .btn--ghost, .hero .btn--ghost { color: var(--dark-fg); border-color: var(--dark-border); }
.band--dark .btn--ghost:hover, .hero .btn--ghost:hover {
  background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.4);
}

.btn--glass {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255,255,255,.24); }

.btn--wa { background: #128C7E; color: #fff; }
.btn--wa:hover { background: #0E6E63; box-shadow: var(--shadow-lg); }

.btn .ico { width: 20px; height: 20px; flex: none; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 36px; padding: .35rem .85rem;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-pill); font-size: var(--step--1); font-weight: 500;
  color: var(--ink-2); white-space: nowrap;
}
.chip .ico { width: 16px; height: 16px; flex: none; color: var(--hydro); }
.chip--glass {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #F5F5F4;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.chip--glass .ico { color: #FCD34D; }

/* ------------------------------------------------------------ 4. SCROLL BAR */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 90;
  background: linear-gradient(90deg, var(--hydro), var(--accent));
}

/* -------------------------------------------------------------- 5. TOP BAR */
.topbar {
  background: var(--primary-900); color: #CBD5E1;
  font-size: var(--step--1); position: relative; z-index: 60;
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-2); min-height: 40px; flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  transition: color var(--dur) var(--ease-out); }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 15px; height: 15px; flex: none; }
.topbar__status { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex: none;
  box-shadow: 0 0 0 3px rgba(34,197,94,.22); }
.dot--closed { background: #F87171; box-shadow: 0 0 0 3px rgba(248,113,113,.22); }
/* Selector must out-specify `.topbar a`, or the address stays visible on phones
   and pushes the hero a third of a screen down. */
@media (max-width: 720px) {
  .topbar a.topbar__hide-sm { display: none; }
  .topbar { font-size: .78rem; }
  .topbar__row { min-height: 0; flex-wrap: nowrap; }
  .topbar__group a { white-space: nowrap; }
  .topbar__group { gap: var(--space-2); }
}

/* ------------------------------------------------- 6. NAV — liquid glass */
.nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(250,250,249,.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft),
              box-shadow var(--dur) var(--ease-soft);
}
.nav.is-stuck {
  background: rgba(250,250,249,.93);
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.nav__row { display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); min-height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: .7rem; flex: none; min-height: 44px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -.02em; color: var(--ink); text-transform: uppercase;
}
.brand__sub { font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-fg); font-weight: 500; }

.nav__links { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__link {
  position: relative; padding: .6rem .9rem; min-height: 44px;
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
  color: var(--ink-2); border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .42rem; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--ink); background: rgba(12,10,9,.04); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }

.nav__cta { display: none; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }

.nav__toggle, .drawer__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer; color: var(--ink);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.nav__toggle:hover, .drawer__close:hover { background: var(--surface); border-color: var(--ink); }
/* Only the header trigger collapses at desktop — the drawer's own close button
   must stay usable if the viewport widens while the drawer is open. */
@media (min-width: 1024px) { .nav__toggle { display: none; } }
.nav__toggle .ico, .drawer__close .ico { width: 24px; height: 24px; }
.nav__toggle .ico--close { display: none; }
.nav__toggle[aria-expanded="true"] .ico--open { display: none; }
.nav__toggle[aria-expanded="true"] .ico--close { display: block; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(12,10,9,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-soft);
}
.drawer[data-open="true"] { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(88vw, 380px);
  background: var(--bg); padding: var(--space-3);
  padding-top: max(var(--space-3), env(safe-area-inset-top));
  padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: .25rem; overflow-y: auto;
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-2); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: .9rem .25rem;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500;
  border-bottom: 1px solid var(--border-soft); color: var(--ink);
  transition: color var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.drawer__link:hover { color: var(--accent); padding-left: .75rem; }
.drawer__link .ico { width: 18px; height: 18px; color: var(--muted-fg); }
.drawer__actions { display: grid; gap: .6rem; margin-top: var(--space-3); }

/* ---------------------------------------------------------------- 7. HERO */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--primary-900); color: #E7ECF2;
  padding-block: var(--space-6);
}
@media (min-width: 900px) { .hero { padding-block: var(--space-7); } }

.hero__layer { position: absolute; inset: -12%; z-index: -2; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--a { width: 46vw; height: 46vw; left: -8vw; top: -14vw; background: #0E7490; }
.hero__glow--b { width: 40vw; height: 40vw; right: -6vw; bottom: -18vw; background: #A16207; opacity: .38; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 35%, transparent 78%);
}

.hero__inner { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 1.08fr .92fr; gap: var(--space-6); align-items: stretch; }
}

.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(100deg, #FCD34D 5%, #F59E0B 50%, #67E8F9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { font-size: var(--step-1); color: #B9C6D4; max-width: 54ch; margin-top: var(--space-3); }
.hero__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: var(--space-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-4); }
.hero__note {
  display: flex; align-items: center; gap: .5rem; margin-top: var(--space-3);
  font-size: var(--step--1); color: #A3B4C4;
}
.hero__note .ico { width: 16px; height: 16px; flex: none; }

/* Hero rating card — liquid glass */
.glass-card {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow-glass);
  padding: var(--space-4);
}

/* ---------------------------------------------------- 7b. TAP / WATER ---
   Ambient hero illustration. Everything animated is a transform or an opacity,
   all of it lives on one paused-able GSAP timeline, and the SVG renders as a
   correct still image of a running tap when that timeline never starts. */
.hero__visual { display: grid; gap: var(--space-3); align-content: stretch; }

.tap-scene {
  position: relative;
  display: grid; place-items: center;
  min-height: 100%; height: 100%;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 70% 55% at 58% 78%, rgba(14,116,144,.30), transparent 70%),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-glass);
  padding: var(--space-3) var(--space-3) var(--space-2);
  overflow: hidden;
}

.tap-svg {
  width: 100%; height: auto;
  /* Was capped at 340px, which left the tap floating in a mostly empty panel.
     It now scales with the column and is only capped so it can't outgrow the
     hero copy beside it. */
  max-width: 460px;
  margin-inline: auto;
  /* Promotes only the SVG, not each animated node — one layer, not a dozen. */
  will-change: transform;
}

.tap-toggle {
  position: absolute; right: .7rem; bottom: .7rem;
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .45rem 1rem;
  background: rgba(255,255,255,.12); color: #F5F5F4;
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--font-display); font-size: .8125rem; font-weight: 500;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.tap-toggle:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }
.tap-toggle .ico { width: 15px; height: 15px; flex: none; }

/* --------------------------------------------------------- 8. STATS STRIP */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border-soft); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: var(--space-4) var(--space-3); text-align: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-3);
  color: var(--primary); line-height: 1; letter-spacing: -.03em;
}
.stat__num .unit { color: var(--accent); }
.stat__label { font-size: var(--step--1); color: var(--muted-fg); margin-top: .5rem;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }

/* -------------------------------------------------------- 9. CATEGORY GRID */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-4); }
.filter {
  min-height: 44px; padding: .55rem 1.15rem; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem; color: var(--ink-2);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }

.cards { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.card[hidden] { display: none; }

.card__media {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #E8EEF3 0%, #F6F7F8 55%, #FBF6EC 100%);
  display: grid; place-items: center;
}
.card__media svg { width: 40%; max-width: 130px; height: auto; color: var(--primary); opacity: .82;
  transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__media svg { transform: scale(1.08) rotate(-3deg); }
.card__tag {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(12,10,9,.08); border-radius: var(--r-pill);
  padding: .25rem .7rem; font-size: .75rem; font-weight: 600; color: var(--primary);
  font-family: var(--font-display); letter-spacing: .03em;
}
.card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body h3 { font-size: var(--step-1); }
.card__body p { font-size: .9375rem; color: var(--muted-fg); }
.card__list { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .4rem; }
.card__list li {
  font-size: .78rem; padding: .2rem .6rem; border-radius: var(--r-pill);
  background: var(--muted); color: var(--muted-fg); font-weight: 500;
}
.card__hsn { font-size: .72rem; color: var(--muted-fg); letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------ 10. FEATURES */
.feature-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  padding: var(--space-4); border-radius: var(--r-lg);
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.feature:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.26);
  transform: translateY(-4px); }
.feature__ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(140deg, rgba(103,232,249,.2), rgba(252,211,77,.16));
  border: 1px solid rgba(255,255,255,.14); color: #67E8F9; margin-bottom: var(--space-3);
}
.feature__ico .ico { width: 26px; height: 26px; }
.feature h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.feature p { font-size: .9375rem; color: var(--dark-muted-fg); }

/* -------------------------------------------------------------- 11. STEPS */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
.step { position: relative; padding-top: var(--space-4); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-4);
  color: var(--accent); opacity: .3; line-height: 1;
  position: absolute; top: -.2rem; left: 0; letter-spacing: -.04em;
}
.step__line { height: 2px; background: var(--border); margin-bottom: var(--space-3); position: relative; }
.step__line::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 34%;
  background: var(--accent); border-radius: 2px;
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { color: var(--muted-fg); font-size: .9375rem; }

/* ------------------------------------------------------- 12. SPLIT / ABOUT */
.split { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 950px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.split__media {
  aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--primary) 0%, #1E3A5F 45%, #0E7490 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.split__media::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split__media svg { width: 55%; max-width: 260px; color: rgba(255,255,255,.9); position: relative; z-index: 1; }

.tick-list { display: grid; gap: .9rem; margin-top: var(--space-3); }
.tick-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--step-0); }
.tick-list .ico { width: 22px; height: 22px; flex: none; color: var(--success); margin-top: .18rem; }
.band--dark .tick-list .ico { color: #4ADE80; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3);
  margin-top: var(--space-4); }
.detail { padding: var(--space-3); background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); }
.detail dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-fg); font-weight: 600; margin-bottom: .3rem; }
.detail dd { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .95rem; }

/* ------------------------------------------------------ 13. BRAND / MARQUEE */
.marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: var(--space-4); width: max-content;
  animation: slide 34s linear infinite; }
.marquee[data-paused="true"] .marquee__track,
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.4rem;
  border: 1px solid var(--border-soft); border-radius: var(--r-pill); background: var(--surface);
  font-family: var(--font-display); font-weight: 500; color: var(--muted-fg); white-space: nowrap;
}
.marquee__item .ico { width: 18px; height: 18px; color: var(--hydro); }
.marquee-ctl { display: flex; justify-content: center; margin-top: var(--space-3); }
.marquee-ctl button {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1.1rem;
  background: transparent; border: 1px solid var(--border); border-radius: var(--r-pill);
  cursor: pointer; font-size: .875rem; font-weight: 500; color: var(--muted-fg);
  transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.marquee-ctl button:hover { border-color: var(--ink); color: var(--ink); }
.marquee-ctl .ico { width: 16px; height: 16px; }

/* ------------------------------------------------------------ 14. CONTACT */
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 950px) { .contact-grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-5); } }

.info-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: var(--space-4); box-shadow: var(--shadow-sm);
}
.info-list { display: grid; gap: var(--space-3); }
.info-item { display: flex; gap: var(--space-2); align-items: flex-start; }
.info-item__ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 13px; background: var(--hydro-soft); color: var(--hydro);
}
.info-item__ico .ico { width: 21px; height: 21px; }
.info-item dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-fg); font-weight: 600; margin-bottom: .15rem; }
.info-item dd { font-size: var(--step-0); color: var(--ink); }
/* Phone and map links are primary CTAs, not incidental prose links — give them
   a full 44px touch target rather than relying on the WCAG inline-link exemption. */
.info-item dd a { display: inline-flex; align-items: center; min-height: 44px; }
.info-item a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.hours { margin-top: var(--space-3); border-top: 1px solid var(--border-soft); padding-top: var(--space-3); }
.hours__row { display: flex; justify-content: space-between; gap: var(--space-2);
  padding: .4rem 0; font-size: .9375rem; }
.hours__row.is-today { font-weight: 600; color: var(--ink); }
.hours__row.is-today .hours__day::after { content: ' \2022 Today'; color: var(--accent); font-weight: 600; }

.map-frame {
  aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-soft); background: var(--muted); box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Form */
.form { display: grid; gap: var(--space-3); }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.field label .req { color: var(--destructive); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: .7rem .9rem; width: 100%;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-md);
  color: var(--ink); font-size: var(--step-0);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-fg); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--hydro); box-shadow: 0 0 0 4px rgba(14,116,144,.16);
}
.field__help { font-size: .8125rem; color: var(--muted-fg); }
.field__error { font-size: .8125rem; color: var(--destructive); font-weight: 500;
  display: flex; align-items: center; gap: .35rem; }
.field__error .ico { width: 15px; height: 15px; flex: none; }
.field__error[hidden] { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--destructive); box-shadow: 0 0 0 4px rgba(220,38,38,.1);
}
.form__row { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__status {
  padding: .85rem 1rem; border-radius: var(--r-md); font-size: .9375rem; font-weight: 500;
  display: flex; align-items: flex-start; gap: .55rem;
}
.form__status[hidden] { display: none; }
.form__status--ok { background: #DCFCE7; color: #14532D; border: 1px solid #86EFAC; }
.form__status--err { background: #FEE2E2; color: #7F1D1D; border: 1px solid #FCA5A5; }
.form__status .ico { width: 19px; height: 19px; flex: none; margin-top: .15rem; }

/* ---------------------------------------------------------------- 15. FAQ */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq__item { background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.faq__item:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 60px; padding: 1rem 1.2rem; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0);
  color: var(--ink); text-align: left;
}
.faq__q .ico { width: 22px; height: 22px; flex: none; color: var(--accent);
  transition: transform var(--dur) var(--ease-out); }
.faq__q[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq__a { padding: 0 1.2rem; max-height: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-soft), padding var(--dur-slow) var(--ease-soft); }
.faq__a p { color: var(--muted-fg); font-size: .9375rem; }
.faq__item.is-open .faq__a { padding: 0 1.2rem 1.2rem; }

/* --------------------------------------------------------------- 16. CTA */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(125deg, var(--primary-900) 0%, #16324A 55%, #0E7490 130%);
  color: #fff; border-radius: var(--r-xl); padding: var(--space-5) var(--space-4); text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 78% 12%, rgba(252,211,77,.24), transparent 46%);
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #C6D5E2; max-width: 56ch; margin: var(--space-2) auto 0; font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
  margin-top: var(--space-4); }

/* ------------------------------------------------------------ 17. FOOTER */
.footer { background: var(--primary-900); color: #A0B1C0; padding-block: var(--space-5) var(--space-3); }
.footer h3 { color: #fff; font-size: .8125rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: var(--space-2); font-weight: 600; }
.footer__grid { display: grid; gap: var(--space-4); }
@media (min-width: 720px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-5); } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #90A2B3; }
.footer__about { margin-top: var(--space-2); font-size: .9375rem; max-width: 38ch; }
.footer a { transition: color var(--dur) var(--ease-out); }
.footer a:hover { color: #fff; }
.footer__links { display: grid; gap: .1rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.footer__social { display: flex; gap: .6rem; margin-top: var(--space-3); }
.footer__social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #CBD5E1;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.footer__social a:hover { background: var(--accent); color: #fff; border-color: transparent;
  transform: translateY(-3px); }
.footer__social .ico { width: 20px; height: 20px; }
.footer__bar {
  margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between;
  font-size: .8125rem;
}

/* Credit link: reads as plain text until hovered, as requested. It stays a real
   link underneath — keyboard users get the same reveal on :focus-visible plus the
   focus ring, so styling it as text doesn't hide it from anyone not using a mouse. */
.credit-link {
  color: inherit; text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.credit-link:hover, .credit-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* -------------------------------------------------- 18. MOBILE ACTION BAR */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border-top: 1px solid var(--border-soft);
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .55rem;
  transform: translateY(110%); transition: transform var(--dur-slow) var(--ease-out);
}
.actionbar.is-visible { transform: translateY(0); }
.actionbar .btn { min-height: 50px; padding-inline: 1rem; font-size: .9375rem; }
@media (min-width: 1024px) { .actionbar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 74px; } }

/* ------------------------------------------------------- 19. SCROLL REVEAL
   Content is visible by default. The hidden start state is applied only once
   JS has confirmed a working animation path (.motion-on is set from main.js),
   so no-JS, blocked-CDN, or a stalled animation frame can never leave the
   page blank. */
.motion-on [data-reveal] { opacity: 0; transform: translateY(22px); }

/* --------------------------------------------------- 20. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; transform: none; }
  /* The tap SVG is already drawn mid-flow, so simply not animating it leaves a
     correct still picture of a running tap. */
  .tap-svg { will-change: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .feature:hover, .footer__social a:hover { transform: none; }
  .actionbar { transform: translateY(0); }
}

/* ----------------------------------------------------------- 21. PRINT */
@media print {
  .nav, .actionbar, .drawer, .progress, .topbar, .hero__layer, .marquee { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .band { padding-block: 1.5rem; }
  a[href^="tel:"]::after, a[href^="mailto:"]::after { content: ' (' attr(href) ')'; font-size: .8em; }
}
