/* Ola Clara Pools — demo
   1. Tokens  2. Base  3. Layout & type  4. Components  5. Sections  6. Footer  7. Effects  8. Responsive */

/* 1. Tokens */
:root {
  --sand: #FBF4EA;
  --sand-2: #F3E8D6;
  --aqua: #22C9DB;
  --aqua-soft: #BDF1F6;
  --lagoon: #0A8DB5;
  --deep: #052B45;
  --deep-2: #0B3D5E;
  --coral: #FF7A66;
  --coral-d: #F2604B;
  --sun: #FFD166;
  --ink: #0B2233;
  --muted: #4E6474;
  --line: rgba(5, 43, 69, .12);
  --r: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --display: "Syne", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 300; padding: .7rem 1rem; background: var(--deep); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

/* 3. Layout & type */
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
section { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--lagoon); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 10px; background: no-repeat center/100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5c3-4 5-4 8 0s5 4 8 0 5-4 8 0' fill='none' stroke='%230A8DB5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.eyebrow--light { color: var(--aqua); }
.eyebrow--light::before { filter: brightness(1.8) saturate(1.4); }
.title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; }
.title--light { color: #fff; }
.hl { color: var(--lagoon); position: relative; white-space: nowrap; }
.title--light .hl { color: var(--aqua); }
.head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--center { text-align: center; }
.head--center .eyebrow { justify-content: center; }

/* 4. Components */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.4rem; border: 0; border-radius: 999px; font-weight: 800; font-size: .95rem; cursor: pointer; transition: background .25s, color .25s, box-shadow .3s, transform .3s var(--ease-out); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 14px 30px -14px rgba(242, 96, 75, .9); }
.btn-coral:hover { background: var(--coral-d); box-shadow: 0 18px 34px -14px rgba(242, 96, 75, 1); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); }
.btn-line { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn-line:hover { background: var(--deep); color: #fff; }

/* depth gauge */
.depth { position: fixed; right: 1.1rem; top: 50%; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: .55rem; transform: translateY(-50%); font-weight: 800; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); pointer-events: none; }
.depth-label { writing-mode: vertical-rl; transform: rotate(180deg); opacity: .6; }
.depth-rail { position: relative; width: 6px; height: 160px; border-radius: 6px; background: rgba(5, 43, 69, .14); overflow: visible; }
.depth-rail i { position: absolute; inset: 0 0 auto; height: 0; border-radius: 6px; background: linear-gradient(var(--aqua), var(--lagoon) 60%, var(--deep)); }
.depth-rail b { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--aqua), 0 6px 14px rgba(5, 43, 69, .3); }
.depth-num { font-family: var(--display); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.depth.is-dark { color: #fff; }
.depth.is-dark .depth-rail { background: rgba(255, 255, 255, .22); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 1rem 0; transition: background .35s, padding .35s, box-shadow .35s; }
.nav.is-scrolled { padding: .6rem 0; background: rgba(251, 244, 234, .9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1; color: #fff; transition: color .3s; }
.logo small { display: block; margin-top: .2rem; font: 700 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--aqua); color: #fff; }
.logo-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav.is-scrolled .logo { color: var(--deep); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; font-weight: 700; font-size: .95rem; color: #fff; }
.nav-links a:not(.btn) { position: relative; padding: .3rem 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--aqua); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav-links a:not(.btn):hover::after { transform: none; }
.nav.is-scrolled .nav-links { color: var(--deep); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out), top .3s; }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 26px; }
.nav.is-scrolled .nav-toggle { background: var(--deep); }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 200%; height: clamp(50px, 7vw, 100px); pointer-events: none; }
.waves .w1 { fill: var(--sand); }
.waves .w2 { fill: var(--sand); opacity: .55; }
.waves--top { top: -1px; bottom: auto; }
.waves--top .w1 { fill: var(--sand); }
.lab > .waves:not(.waves--top) .w1, .lab > .waves:not(.waves--top) .w2 { fill: var(--sand); }

/* 5. Sections */
/* hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 9rem; overflow: hidden; color: #fff; background: var(--deep); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(5, 43, 69, .86) 0%, rgba(5, 43, 69, .55) 45%, rgba(10, 141, 181, .1) 100%), linear-gradient(0deg, rgba(5, 43, 69, .5), transparent 40%); }
.caustics { position: absolute; inset: -20%; z-index: -1; opacity: .35; mix-blend-mode: soft-light; background:
  radial-gradient(ellipse 18% 9% at 20% 30%, #fff, transparent 70%),
  radial-gradient(ellipse 14% 7% at 70% 20%, #fff, transparent 70%),
  radial-gradient(ellipse 20% 8% at 55% 70%, #fff, transparent 70%),
  radial-gradient(ellipse 12% 6% at 85% 60%, #fff, transparent 70%),
  radial-gradient(ellipse 16% 8% at 30% 85%, #fff, transparent 70%); filter: blur(6px); }
.ripples { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner { position: relative; }
.hero-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: .85rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(34, 201, 219, .7); }
.hero-title { margin: 1.6rem 0 1.4rem; font-size: clamp(2.9rem, 8.4vw, 6.6rem); font-weight: 800; line-height: .92; letter-spacing: -.035em; }
.glass-word { display: inline-block; padding: 0 .08em .06em 0; background: linear-gradient(100deg, #fff 0%, var(--aqua-soft) 25%, var(--aqua) 45%, #fff 60%, var(--aqua-soft) 80%, #fff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-status { display: inline-grid; grid-template-columns: repeat(4, auto); gap: .5rem; margin-top: 3rem; padding: .5rem; border-radius: 22px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-status div { padding: .6rem 1rem; border-radius: 16px; background: rgba(5, 43, 69, .35); }
.hero-status span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.hero-status b { font-family: var(--display); font-size: 1.25rem; }
.hero-status small { font: 600 .7rem var(--sans); opacity: .8; }
.hero-status .ok { background: var(--aqua); color: var(--deep); }
.hint { margin-top: 1.4rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.hint::before { content: "〰 "; }

/* services */
.services { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); }
.floats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.float { text-align: center; }
.float-ring { position: relative; width: min(100%, 200px); aspect-ratio: 1; margin: 0 auto 1.4rem; border-radius: 50%; padding: 10px; background: conic-gradient(from 0deg, var(--coral) 0 25%, #fff 0 50%, var(--coral) 0 75%, #fff 0); box-shadow: 0 24px 40px -22px rgba(5, 43, 69, .55); }
.float:nth-child(2) .float-ring { background: conic-gradient(var(--aqua) 0 25%, #fff 0 50%, var(--aqua) 0 75%, #fff 0); }
.float:nth-child(3) .float-ring { background: conic-gradient(#6FCF7F 0 25%, #fff 0 50%, #6FCF7F 0 75%, #fff 0); }
.float:nth-child(4) .float-ring { background: conic-gradient(var(--lagoon) 0 25%, #fff 0 50%, var(--lagoon) 0 75%, #fff 0); }
.float:nth-child(5) .float-ring { background: conic-gradient(var(--sun) 0 25%, #fff 0 50%, var(--sun) 0 75%, #fff 0); }
.float-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.float h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.float p { color: var(--muted); font-size: .95rem; }

/* lab */
.lab { padding: clamp(7rem, 12vw, 10rem) 0 clamp(8rem, 13vw, 11rem); background: radial-gradient(ellipse 80% 60% at 80% 40%, var(--deep-2), var(--deep) 70%); color: #fff; overflow: hidden; }
.lab-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.lab-text { margin: 1.3rem 0 2rem; color: rgba(255, 255, 255, .78); max-width: 28rem; }
.lab-controls { display: grid; gap: 1.4rem; }
.lab-field { display: grid; gap: .6rem; padding: 1.1rem 1.2rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.lab-field > span { display: flex; justify-content: space-between; font-weight: 700; }
.lab-field output { font-family: var(--display); color: var(--aqua); }
.lab-field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--aqua) var(--p, 50%), rgba(255, 255, 255, .18) var(--p, 50%)); cursor: pointer; }
.lab-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--aqua); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.lab-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--aqua); }
.lab-pool-wrap { display: grid; gap: 1.2rem; }
.lab-pool { border-radius: 40px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.lab-pool svg { display: block; width: 100%; height: auto; }
.pool-water { fill: var(--water, #25C3DA); transition: fill .8s var(--ease-out); }
.pool-cloud { fill: #E9E2CF; opacity: var(--cloud, 0); transition: opacity .8s var(--ease-out); }
.pool-algae { opacity: var(--algae, 0); transition: opacity .8s var(--ease-out); }
.pool-leaves { opacity: var(--leaves, 0); transition: opacity .8s var(--ease-out); }
.pool-light { transition: opacity .8s; }
.lab-result { padding: 1.5rem; border-radius: 24px; background: #fff; color: var(--ink); }
.lab-badge { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--aqua-soft); color: var(--deep); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; transition: background .4s, color .4s; }
.lab-badge[data-level="warn"] { background: #FFE6A8; color: #7A4B00; }
.lab-badge[data-level="bad"] { background: #FFD1C9; color: #9B2512; }
.lab-result h3 { margin: .8rem 0 .4rem; font-size: 1.5rem; }
.lab-result p { color: var(--muted); margin-bottom: 1.2rem; }

/* plans */
.plans { padding: clamp(4rem, 8vw, 7rem) 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: end; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.8rem 1.8rem; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(5, 43, 69, .45); overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 22%); background: linear-gradient(180deg, rgba(34, 201, 219, .14), rgba(10, 141, 181, .22)); z-index: 0; }
.plan:nth-child(2) { --fill: 48%; }
.plan:nth-child(3) { --fill: 75%; }
.plan > * { position: relative; z-index: 1; }
.plan-depth { align-self: flex-start; padding: .25rem .7rem; border-radius: 8px; background: var(--deep); color: #fff; font-family: var(--display); font-size: .8rem; }
.plan h3 { font-size: 1.9rem; }
.plan-price { color: var(--muted); }
.plan-price b { font-family: var(--display); font-size: 3rem; color: var(--deep); letter-spacing: -.03em; }
.plan ul { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .55rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-weight: 500; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .2rem; border-radius: 50%; background: var(--aqua) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%23052B45' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.plan--pop { padding-top: 2.6rem; background: var(--deep); color: #fff; transform: translateY(-14px); }
.plan--pop .plan-price, .plan--pop .plan-price b { color: #fff; }
.plan--pop .plan-depth { background: var(--aqua); color: var(--deep); }
.plan--pop::before { background: linear-gradient(180deg, rgba(34, 201, 219, .25), rgba(34, 201, 219, .45)); }
.plan-tag { position: absolute !important; top: 1.1rem; right: 1.1rem; padding: .3rem .7rem; border-radius: 999px; background: var(--sun); color: var(--deep); font-weight: 800; font-size: .72rem; }

/* gallery */
.gallery { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.drag-hint { margin-bottom: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--lagoon); }
.strip { display: flex; gap: 1.2rem; padding: 0 max(1.25rem, (100vw - 1200px) / 2) 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip.is-drag img { pointer-events: none; }
.tile { position: relative; flex: none; width: clamp(260px, 34vw, 440px); height: clamp(260px, 30vw, 380px); margin: 0; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; }
.tile--tall { width: clamp(220px, 26vw, 340px); height: clamp(320px, 36vw, 460px); }
.tile:not(.tile--tall) { align-self: flex-end; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: .82rem; color: var(--deep); }

/* reviews */
.reviews { padding: clamp(3rem, 6vw, 5rem) 0; }
.rev-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.rev-photo { margin: 0; border-radius: 200px 200px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -40px rgba(5, 43, 69, .6); }
.rev-photo img { width: 100%; height: 100%; object-fit: cover; }
.rev-stack { display: grid; gap: 1rem; }
.bubble { position: relative; margin: 0; padding: 1.3rem 1.5rem; border-radius: 26px 26px 26px 6px; background: #fff; box-shadow: 0 20px 40px -30px rgba(5, 43, 69, .5); max-width: 30rem; }
.bubble p { font-size: 1.1rem; font-weight: 600; line-height: 1.45; }
.bubble footer { margin-top: .6rem; font-size: .85rem; font-weight: 700; color: var(--lagoon); }
.bubble--alt { justify-self: end; border-radius: 26px 26px 6px 26px; background: var(--aqua); color: var(--deep); }
.bubble--alt footer { color: var(--deep); opacity: .75; }

/* faq */
.faq-sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.faq-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-img { margin: 2rem 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.faq-img img { width: 100%; height: 100%; object-fit: cover; }
.faq { display: grid; gap: .8rem; }
.faq details { border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line); transition: background .3s; }
.faq details[open] { background: var(--aqua-soft); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 800; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 1.2rem; transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--ink); opacity: .82; }

/* contact */
.contact { padding: clamp(5rem, 9vw, 8rem) 0; color: #fff; background: var(--deep); overflow: hidden; isolation: isolate; }
.contact-water { position: absolute; inset: 0; z-index: -2; }
.contact-water img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5, 43, 69, .94), rgba(5, 43, 69, .72) 55%, rgba(10, 141, 181, .5)); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.c-list { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.c-list li { padding: 1rem 1.2rem; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.c-list span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.c-list b { font-weight: 600; }
.form { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.f { display: grid; gap: .4rem; }
.f > span { font-weight: 700; font-size: .88rem; }
.f input:not([type="radio"]), .f select { width: 100%; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 14px; background: var(--sand); transition: border-color .25s, background .25s; }
.f input:focus, .f select:focus { outline: none; border-color: var(--aqua); background: #fff; }
.f.is-invalid input, .f.is-invalid select { border-color: var(--coral); }
.f-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.f-chips label { cursor: pointer; }
.f-chips input { position: absolute; opacity: 0; pointer-events: none; }
.f-chips span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: .9rem; transition: background .25s, border-color .25s, color .25s; }
.f-chips input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.f-chips input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.f-status { min-height: 1.4em; font-weight: 600; font-size: .92rem; color: var(--coral-d); }
.f-status.is-ok { color: var(--lagoon); }

/* 6. Footer */
.footer { padding: 3rem 0 5.5rem; background: var(--sand); }
.footer .logo { color: var(--deep); }
.footer-inner { display: grid; gap: 1.4rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-row a { text-decoration: underline; text-underline-offset: 3px; }
.demo-note { font-size: .85rem; color: var(--muted); max-width: 46rem; }
.demo-note a { color: var(--lagoon); font-weight: 700; text-decoration: underline; }
.demo-pill { position: fixed; left: 1rem; bottom: 1rem; z-index: 150; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 700; font-size: .75rem; border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 12px 30px -12px rgba(5, 43, 69, .7); }
.demo-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.demo-pill:hover { background: var(--lagoon); }

/* 7. Effects (.fx only) */
.fx [data-in] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.fx [data-in].is-in { opacity: 1; transform: none; }
.fx .plan--pop[data-in].is-in { transform: translateY(-14px); }
.fx .floats [data-in]:nth-child(2), .fx .plan-grid [data-in]:nth-child(2), .fx .rev-stack [data-in]:nth-of-type(2) { transition-delay: .1s; }
.fx .floats [data-in]:nth-child(3), .fx .plan-grid [data-in]:nth-child(3), .fx .rev-stack [data-in]:nth-of-type(3) { transition-delay: .2s; }
.fx .floats [data-in]:nth-child(4) { transition-delay: .3s; }
.fx .floats [data-in]:nth-child(5) { transition-delay: .4s; }

@keyframes wave { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes caustic { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(3%, -2%) scale(1.06); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 201, 219, .7); } 100% { box-shadow: 0 0 0 12px rgba(34, 201, 219, 0); } }
@keyframes drift { 0%, 100% { transform: scale(1.06) translateY(0); } 50% { transform: scale(1.1) translateY(-1.5%); } }

.waves .w1 { animation: wave 14s linear infinite; }
.waves .w2 { animation: wave 9s linear infinite reverse; }
.float-ring { animation: bob 5s ease-in-out infinite; }
.float:nth-child(2n) .float-ring { animation-duration: 6s; animation-delay: -2s; }
.float:nth-child(3n) .float-ring { animation-duration: 5.5s; animation-delay: -1s; }
.glass-word { animation: shimmer 6s linear infinite; }
.caustics { animation: caustic 9s ease-in-out infinite; }
.dot { animation: pulse 1.8s ease-out infinite; }
.hero-bg img { animation: drift 20s ease-in-out infinite; }

/* 8. Responsive */
@media (max-width: 1080px) {
  .floats { grid-template-columns: repeat(3, 1fr); row-gap: 2.6rem; }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 0 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 5.5rem 1.4rem 1.6rem; background: var(--deep); color: #fff !important; transform: translateY(-105%); transition: transform .45s var(--ease-out); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
  .nav-links.is-open { transform: none; }
  .nav-links a:not(.btn) { padding: 1rem 0; font-size: 1.3rem; font-family: var(--display); border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 1.2rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; z-index: 2; }
  .logo { position: relative; z-index: 2; }
  .nav:has(.is-open) .logo { color: #fff; }
  .nav:has(.is-open) .nav-toggle { background: rgba(255, 255, 255, .2); }
  .lab-layout, .rev-layout, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .rev-photo { max-width: 420px; aspect-ratio: 1; }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; align-items: stretch; }
  .plan--pop, .fx .plan--pop[data-in].is-in { transform: none; }
  .depth { display: none; }
}
@media (max-width: 720px) {
  .floats { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
  .floats .float:last-child { grid-column: 1 / -1; max-width: 240px; margin-inline: auto; }
  .float-ring { width: min(100%, 150px); }
  .hero-status { grid-template-columns: repeat(2, 1fr); }
  .head-row { display: block; }
  .drag-hint { margin: -1.8rem 0 1.5rem; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 2rem); }
  .title { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .hl { white-space: normal; }
  .hero { padding: 7rem 0 7rem; }
  .hero-actions .btn { width: 100%; }
  .float p { font-size: .88rem; }
  .bubble--alt { justify-self: stretch; }
  .footer { padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves .w1, .waves .w2, .float-ring, .glass-word, .caustics, .hero-bg img, .dot { animation: none; }
  .fx [data-in] { transition-duration: .01s; transform: none; }
}
