/* =========================================================
   Eureka Star — site styles
   Mobile-first. Animations use only transform/opacity and
   are disabled for users who prefer reduced motion.
   ========================================================= */

:root {
  --brand: #282c8a;        /* logo navy */
  --navy: #141a5c;
  --ink: #0f1638;
  --blue: #1a5fd6;
  --blue-2: #2f80ff;
  --aqua: #1cb5e8;
  --aqua-soft: #d9f3fc;
  --sky: #eef6ff;
  --sky-2: #f6faff;
  --leaf: #3aa84a;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --muted: #56608a;
  --line: #dde6f5;
  --white: #fff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(20, 26, 92, .06);
  --shadow: 0 10px 30px -10px rgba(20, 26, 92, .18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 26, 92, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 860px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; line-height: 1.1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(20, 26, 92, .55); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { --bg: linear-gradient(135deg, var(--blue) 0%, var(--brand) 100%); background: var(--bg); }
.btn-wa { --bg: var(--wa); --fg: #073b1d; }
.btn-wa:hover .ico { transform: none; }
.btn-ghost { --bg: transparent; --fg: var(--brand); border-color: var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--brand); }
.btn-light { --bg: #fff; --fg: var(--brand); }
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.5); }
.btn-sm { padding: .6em 1.05em; font-size: .88rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .92); border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand img { width: 170px; }
@media (min-width: 1100px) { .brand img { width: 200px; } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.main-nav { display: none; }
.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .main-nav {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: var(--header-h);
    background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility .3s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .main-nav a.nav-cta-mobile { margin-top: 14px; border: 0; text-align: center; border-radius: 999px; background: var(--brand); color: #fff; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; gap: 4px; margin-left: 12px; }
  .main-nav a { position: relative; padding: 8px 12px; font-weight: 600; font-size: .94rem; color: var(--ink); border-radius: 999px; }
  .main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
  .main-nav a.active { color: var(--brand); }
  .main-nav .nav-cta-mobile { display: none; }
  .menu-toggle { display: none; }
  .main-nav a { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .brand img { width: 150px; }
  .main-nav { margin-left: 4px; gap: 0; }
  .main-nav a { padding: 8px 9px; font-size: .88rem; }
  .main-nav a::after { left: 9px; right: 9px; }
  .header-actions .btn-ghost span { display: none; }
}
@media (max-width: 479px) { .hide-xs { display: none !important; } }
@media (max-width: 767px) { .hide-sm { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 36px) 0 120px;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(28, 181, 232, .18), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(26, 95, 214, .12), transparent 60%),
    linear-gradient(180deg, #f5faff 0%, #eaf4ff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; will-change: transform; }
.blob-1 { width: 380px; height: 380px; right: -80px; top: 60px; background: radial-gradient(circle, #9fe3ff, transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.blob-2 { width: 300px; height: 300px; left: -100px; bottom: 40px; background: radial-gradient(circle, #b9ccff, transparent 70%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

.bubbles span {
  position: absolute; bottom: -40px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(160, 220, 255, .35) 60%, rgba(120, 190, 255, .15));
  border: 1px solid rgba(255,255,255,.7);
  animation: rise linear infinite; opacity: 0; will-change: transform, opacity;
}
.bubbles span:nth-child(1) { left: 6%;  animation-duration: 11s; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 18%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 32%; width: 20px; height: 20px; animation-duration: 14s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 48%; width: 10px; height: 10px; animation-duration: 10s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 62%; animation-duration: 12s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 74%; width: 22px; height: 22px; animation-duration: 15s; animation-delay: 5s; }
.bubbles span:nth-child(7) { left: 86%; width: 9px; height: 9px; animation-duration: 9s; animation-delay: 6s; }
.bubbles span:nth-child(8) { left: 94%; animation-duration: 13s; animation-delay: 2.5s; }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate3d(14px, -45vh, 0); }
  90% { opacity: .6; }
  100% { transform: translate3d(-10px, -90vh, 0); opacity: 0; }
}

.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 32px; } .hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 150px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em; margin-bottom: 18px;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--brand); box-shadow: var(--shadow-sm);
}
.eyebrow .ico { color: var(--aqua); }
.hero-title { font-size: clamp(2.6rem, 1.6rem + 5vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 20px; color: var(--navy); }
.grad-text {
  background: linear-gradient(100deg, var(--blue) 0%, var(--aqua) 50%, var(--blue) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% 0; } }
.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
@media (max-width: 479px) { .hero-ctas .btn { flex: 1 1 100%; } }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.hero-points li { display: flex; align-items: center; gap: .45em; }
.hero-points .ico { color: var(--leaf); }

/* hero entrance */
.js .hero-in { opacity: 0; transform: translateY(22px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.hero-disc {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #fff 55%, #e3f1ff 100%);
  box-shadow: 0 40px 80px -30px rgba(20, 26, 92, .35), inset 0 0 0 10px rgba(255,255,255,.9);
  display: grid; place-items: center; overflow: hidden;
}
.hero-disc img { width: 82%; mix-blend-mode: multiply; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.hero-ring { position: absolute; inset: 2%; animation: spin 40s linear infinite; }
.hero-ring svg { width: 100%; height: 100%; }
.hero-ring circle { fill: none; stroke: var(--aqua); stroke-width: 1.2; stroke-dasharray: 2 8; stroke-linecap: round; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.9);
  font-size: .8rem; line-height: 1.2; animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .92rem; color: var(--navy); }
.float-card small { color: var(--muted); }
.fc-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--brand)); color: #fff; }
.fc-green { background: linear-gradient(135deg, #4cc55c, var(--leaf)); }
.fc-1 { left: -2%; top: 16%; animation-delay: -1s; }
.fc-2 { right: -2%; top: 42%; animation-delay: -2.5s; }
.fc-3 { left: 4%; bottom: 6%; animation-delay: -4s; }
@media (max-width: 420px) { .float-card { font-size: .72rem; padding: 7px 10px 7px 7px; } .fc-ico { width: 30px; height: 30px; } .float-card strong { font-size: .82rem; } }

.badge-seal {
  position: absolute; right: 4%; top: 2%; width: 104px; height: 104px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #1f3aa8, var(--navy));
  color: #fff; font-size: .68rem; font-weight: 700; line-height: 1.2; text-transform: uppercase;
  box-shadow: 0 0 0 5px #f2c94c, 0 0 0 8px #fff, var(--shadow);
  animation: wobble 7s ease-in-out infinite;
}
.badge-seal b { margin-top: 4px; font-size: .62rem; color: #f2c94c; letter-spacing: .06em; }
@keyframes wobble { 50% { transform: rotate(-8deg) scale(1.04); } }
@media (max-width: 420px) { .badge-seal { width: 84px; height: 84px; font-size: .58rem; } }

/* waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; overflow: hidden; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; will-change: transform; }
.wave-back path { fill: rgba(28, 181, 232, .22); }
.wave-front path { fill: #fff; }
.wave-back { animation: waveMove 16s linear infinite; }
.wave-front { animation: waveMove 11s linear infinite reverse; }
@keyframes waveMove { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Promise strip ---------- */
.promise { position: relative; padding: 8px 0 0; }
.promise-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: -40px; position: relative; z-index: 2;
}
@media (min-width: 900px) { .promise-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -70px; } }
.promise-item {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.promise-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promise-item strong { display: block; font-size: .95rem; line-height: 1.25; }
.promise-item small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.p-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--brand)); font-size: 1.1rem; }
@media (max-width: 380px) { .promise-item { flex-direction: column; align-items: flex-start; } }

.ticker { margin-top: 40px; overflow: hidden; background: var(--brand); color: #fff; padding: 14px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 30s linear infinite; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.ticker-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section-tint { background: linear-gradient(180deg, var(--sky-2), var(--sky)); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 8px; border-radius: 2px; }
.lead { color: var(--muted); font-size: 1.05rem; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Products ---------- */
.filter-tabs { display: flex; gap: 8px; margin: 0 -16px 28px; padding: 4px 16px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
.filter-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .filter-tabs { justify-content: center; margin: 0 0 36px; padding: 4px 0; flex-wrap: wrap; } }
.tab {
  flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; font-size: .9rem; color: var(--muted); transition: all .25s var(--ease);
}
.tab:hover { color: var(--brand); border-color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(40, 44, 138, .8); }
.tab .count { display: inline-block; margin-left: 6px; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: rgba(0,0,0,.07); font-size: .75rem; }
.tab[aria-selected="true"] .count { background: rgba(255,255,255,.2); }

.product-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 339px) { .product-grid { grid-template-columns: 1fr; } }
@media (min-width: 560px) { .product-grid { gap: 18px; } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1180px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.p-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); padding: 0; width: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c8d7f2; }
.p-media { position: relative; aspect-ratio: 4 / 3.3; display: grid; place-items: center; padding: 18px; background: #fff; overflow: hidden; }
.p-media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--sky) 0%, transparent 70%); transition: transform .5s var(--ease); }
.p-card:hover .p-media::before { transform: scale(1.25); }
.p-media img { position: absolute; left: 18px; top: 34px; width: calc(100% - 36px); height: calc(100% - 50px); object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.p-tag.illus { left: auto; right: 12px; background: #fff7e0; color: #8a6300; }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.p-tech { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); margin-bottom: 4px; }
.p-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.p-hl { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.p-hl li { display: flex; gap: 8px; align-items: flex-start; }
.p-hl .ico { color: var(--leaf); margin-top: 3px; width: 1em; height: 1em; }
.p-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue); }
.p-more .ico { transition: transform .3s var(--ease); }
.p-card:hover .p-more .ico { transform: translateX(4px); }
.p-card-btn { all: unset; position: absolute; inset: 0; cursor: pointer; border-radius: var(--radius); }
.p-card-btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.p-media.photo::before { display: none; }
.p-media.photo img { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; mix-blend-mode: normal; }
.pm-media.photo img, .q-result-media.photo img { border-radius: 14px; mix-blend-mode: normal; }
@media (max-width: 559px) {
  .p-media { padding: 10px; }
  .p-media img { left: 10px; top: 30px; width: calc(100% - 20px); height: calc(100% - 38px); }
  .p-tag { left: 8px; top: 8px; font-size: .64rem; padding: 3px 8px; }
  .p-tag.illus { display: none; }
  .p-body { padding: 12px 12px 14px; }
  .p-tech { font-size: .64rem; }
  .p-body h3 { font-size: .95rem; margin-bottom: 8px; }
  .p-hl { display: none; }
  .p-more { font-size: .8rem; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 16, 50, .55); opacity: 0; transition: opacity .35s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative; width: 100%; max-width: 980px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg);
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.modal.open .modal-dialog { transform: none; }
@media (min-width: 768px) {
  .modal { align-items: center; padding: 24px; }
  .modal-dialog { border-radius: 24px; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
  .modal.open .modal-dialog { opacity: 1; }
}
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sky); color: var(--brand); display: grid; place-items: center; }
.modal-close:hover { background: var(--brand); color: #fff; }
.pm { display: grid; gap: 0; }
@media (min-width: 768px) { .pm { grid-template-columns: .9fr 1.1fr; } }
.pm-media { position: relative; background: linear-gradient(180deg, #fff, var(--sky)); display: grid; place-items: center; padding: 36px 24px 24px; min-height: 260px; }
.pm-media img { max-height: 380px; width: auto; mix-blend-mode: multiply; }
.pm-body { padding: 24px 20px 28px; }
@media (min-width: 768px) { .pm-body { padding: 44px 36px 36px 28px; } .pm-media { border-radius: 24px 0 0 24px; min-height: 100%; place-items: start center; padding-top: 56px; } .pm-media img { position: sticky; top: 56px; } }
.pm-body h3 { font-size: 1.6rem; }
.pm-summary { color: var(--muted); }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pm-chips li { padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--brand); font-weight: 700; font-size: .8rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 22px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; padding-right: 14px; font-weight: 600; color: var(--muted); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-actions .btn { flex: 1 1 200px; }
.pm-note { margin-top: 14px; font-size: .8rem; color: var(--muted); }
body.modal-lock { overflow: hidden; }

/* Terms & Conditions */
.modal-dialog.modal-narrow { max-width: 760px; }
.terms { padding: 8px 20px 28px; }
@media (min-width: 640px) { .terms { padding: 16px 40px 40px; } }
.terms h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 800; }
.terms-intro { color: var(--muted); margin-bottom: 22px; }
.terms-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .terms-grid { grid-template-columns: 1fr 1fr; } }
.term { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--sky-2); border: 1px solid var(--line); }
.term h4 { font-size: 1rem; margin-bottom: 4px; }
.term p { margin: 0; font-size: .92rem; color: var(--muted); }
.term strong { color: var(--ink); }
.term-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--brand)); }
.terms-help { margin-top: 20px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, var(--sky), #e3f9eb); }
.terms-help p { margin: 0 0 12px; font-size: .92rem; }
.terms-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- How it works ---------- */
.section-deep { color: #dfe8ff; overflow: hidden; overflow: clip;background: linear-gradient(160deg, #0d1450 0%, #1a2380 55%, #0f3c8f 100%); }
.deep-bg { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 90% 10%, rgba(28, 181, 232, .28), transparent 60%),
  radial-gradient(500px 400px at 0% 90%, rgba(47, 128, 255, .25), transparent 60%); pointer-events: none; }
.section-head.light h2 { color: #fff; }
.section-head.light .lead { color: #b9c7ef; }
.section-head.light .kicker { color: var(--aqua); }

.ro-wrap { position: relative; display: grid; gap: 32px; }
@media (min-width: 960px) { .ro-wrap { grid-template-columns: 360px 1fr; gap: 56px; align-items: start; } .ro-visual { position: sticky; top: calc(var(--header-h) + 24px); } }

.ro-visual { display: grid; gap: 18px; justify-items: center; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.glass-stage { width: 200px; }
@media (max-width: 959px) {
  .ro-visual {
    position: sticky; top: calc(var(--header-h) + 8px); z-index: 3;
    grid-template-columns: 78px 1fr; grid-template-areas: "glass purity" "glass controls";
    justify-items: stretch; align-items: center; gap: 8px 16px; padding: 12px 16px;
    background: rgba(18, 24, 90, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6);
  }
  .glass-stage { grid-area: glass; width: 78px; }
  .purity { grid-area: purity; }
  .ro-controls { grid-area: controls; }
  .purity-note { display: none; }
  .purity-top strong { font-size: 1.2rem; }
}
@media (min-width: 960px) { .glass-stage { width: 230px; } }
.glass-svg { width: 100%; overflow: visible; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.water-surface { animation: slosh 3.5s ease-in-out infinite; }
@keyframes slosh { 50% { transform: translateX(-40px); } }
#wg1, #wg2 { transition: stop-color 1s ease; }
#particles circle { transition: opacity .9s ease; }
.purity { width: 100%; }
.purity-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 8px; color: #fff; }
.purity-top strong { font-size: 1.5rem; color: var(--aqua); font-variant-numeric: tabular-nums; }
.purity-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.purity-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #7dd3fc, var(--aqua), #6ee7b7); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.purity-note { margin: 8px 0 0; font-size: .74rem; color: #93a3d6; }
.ro-controls { display: flex; gap: 10px; }

.stage-list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 10px; counter-reset: st; }
.stage-list::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.stage-list::after { content: ""; position: absolute; left: 27px; top: 20px; width: 4px; border-radius: 4px; height: calc((100% - 40px) * var(--prog, 0)); background: linear-gradient(180deg, var(--aqua), #6ee7b7); transition: height .8s var(--ease); box-shadow: 0 0 14px rgba(28, 181, 232, .8); }
.stage-btn {
  position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 10px 14px 10px 8px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: #cdd7f7;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.stage-btn:hover { background: rgba(255,255,255,.06); }
.stage-num {
  flex: none; width: 42px; height: 42px; margin-left: 8px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; background: #1b2470; border: 2px solid rgba(255,255,255,.2); color: #fff;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.stage-btn strong { display: block; color: #fff; font-size: 1rem; }
.stage-btn small { display: block; font-size: .82rem; color: #9fb0e0; line-height: 1.35; }
.stage-btn.done .stage-num { background: linear-gradient(135deg, var(--aqua), var(--blue-2)); border-color: transparent; }
.stage-btn.active { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); transform: translateX(4px); }
.stage-btn.active .stage-num { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(28, 181, 232, .25); background: linear-gradient(135deg, #6ee7b7, var(--aqua)); color: var(--navy); }

.stage-detail { margin-top: 18px; padding: 20px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); min-height: 150px; }
.stage-detail h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.stage-detail h3 span { font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--sky); color: var(--brand); letter-spacing: .04em; }
.stage-detail p { margin: 0 0 10px; color: var(--muted); }
.stage-detail .removes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stage-detail .removes li { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #e8fbf1; color: #16794a; }
.stage-detail.swap { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }
.stage-foot { margin-top: 14px; font-size: .8rem; color: #93a3d6; }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.service-card {
  position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--sky); transition: transform .5s var(--ease); z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scale(1.6); }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.s-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--brand)); font-size: 1.25rem; box-shadow: 0 10px 20px -10px rgba(26, 95, 214, .8); }
.service-cta { display: flex; flex-direction: column; justify-content: center; gap: 4px; color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--brand) 70%); border: 0; }
.service-cta::after { background: rgba(255,255,255,.08); }
.service-cta h3 { color: #fff; }
.service-cta p { color: #d6e0ff; margin-bottom: 14px; }
.service-cta .btn { align-self: flex-start; }
.service-cta:hover { color: #fff; }

.care { margin-top: 40px; padding: 26px 20px; border-radius: 24px; background: linear-gradient(180deg, var(--sky-2), var(--sky)); border: 1px solid var(--line); }
@media (min-width: 900px) { .care { padding: 36px 40px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; } }
.care-head p { color: var(--muted); font-size: .92rem; margin: 0; }
.care-timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; position: relative; }
@media (min-width: 900px) { .care-timeline { margin: 0; grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.care-timeline li { position: relative; padding-left: 30px; }
.care-timeline strong { display: block; font-size: .92rem; line-height: 1.3; }
.care-timeline small { color: var(--muted); font-size: .82rem; }
.ct-dot { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--aqua); }
.care-timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, var(--aqua) 0 6px, transparent 6px 12px); }
@media (min-width: 900px) {
  .care-timeline li { padding: 30px 0 0; }
  .care-timeline::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--aqua) 0 6px, transparent 6px 12px); }
}

/* ---------- Quiz ---------- */
.quiz { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.quiz-progress { height: 6px; background: var(--sky); }
.quiz-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--aqua)); transition: transform .5s var(--ease); }
.quiz-body { padding: 26px 18px 28px; }
@media (min-width: 700px) { .quiz-body { padding: 36px 40px 40px; } }
.q-step { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.q-title { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); margin-bottom: 20px; }
.q-options { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .q-options { grid-template-columns: repeat(3, 1fr); } }
.q-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; text-align: left;
  border: 2px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s, background-color .2s;
}
.q-opt small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.q-opt .q-emoji { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--brand); font-size: 1.1rem; }
.q-opt:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.q-opt.picked { border-color: var(--brand); background: var(--sky-2); }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.q-back { background: none; border: 0; color: var(--muted); font-weight: 700; padding: 8px 0; }
.q-back:hover { color: var(--brand); }
.q-anim { animation: qIn .45s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }

.q-result { display: grid; gap: 22px; }
@media (min-width: 700px) { .q-result { grid-template-columns: 240px 1fr; align-items: center; } }
.q-result-media { position: relative; background: linear-gradient(180deg, #fff, var(--sky)); border-radius: 18px; aspect-ratio: 1; max-width: 320px; width: 100%; margin: 0 auto; }
.q-result-media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; mix-blend-mode: multiply; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.q-match { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: #e8fbf1; color: #16794a; font-weight: 800; font-size: .78rem; margin-bottom: 10px; }
.q-result h3 { font-size: 1.5rem; margin-bottom: 6px; }
.q-result p { color: var(--muted); }
.q-alts { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.q-alts button { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 22px; max-width: 1060px; margin: 0 auto; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.1fr; gap: 28px; } }
.calc-inputs { display: grid; gap: 22px; padding: 26px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); align-content: start; }
@media (min-width: 700px) { .calc-inputs { padding: 32px; } }
.field-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.field-range output { font-variant-numeric: tabular-nums; min-width: 48px; text-align: center; padding: 2px 10px; border-radius: 99px; background: var(--sky); color: var(--brand); font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%); outline: none; margin: 8px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--brand); box-shadow: 0 4px 10px rgba(20, 26, 92, .3); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--brand); box-shadow: 0 4px 10px rgba(20, 26, 92, .3); cursor: grab; }
.opt { font-weight: 500; color: var(--muted); font-size: .82rem; }

.calc-results { padding: 26px 20px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, var(--navy) 0%, var(--brand) 55%, var(--blue) 100%); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
@media (min-width: 700px) { .calc-results { padding: 32px; } }
.calc-results::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(28, 181, 232, .45), transparent 70%); }
.res { position: relative; }
.res small { display: block; color: #b9c7ef; font-size: .82rem; font-weight: 600; }
.res strong { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.res-main strong { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; }
.res-main .cur, .res .cur { font-size: .5em; font-weight: 700; color: #9fd8ff; }
.res .cur { font-size: .7em; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.bottle-viz { display: flex; flex-wrap: wrap; gap: 4px; min-height: 30px; margin-bottom: 10px; }
.bottle-viz svg { width: 14px; height: 24px; animation: pop .35s var(--ease) both; }
.bottle-viz .more { font-size: .8rem; font-weight: 700; color: #9fd8ff; align-self: center; margin-left: 4px; }
.calc-note { font-size: .82rem; color: #b9c7ef; }
.calc-results .btn-primary { --bg: #fff; background: #fff; color: var(--brand); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }

/* Looping water video (About section) */
.live-photo { position: relative; width: 100%; aspect-ratio: 4 / 3.4; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, #3b4652, #1f262e); }
.live-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 26, 58, 0) 55%, rgba(11, 26, 58, .3) 100%); }
.lp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; opacity: 0; transition: opacity .8s ease; transform: scale(calc(1.01 + var(--lp, 0) * .05)); will-change: transform; }
.lp-video.ready { opacity: 1; }
.about-stamp { position: absolute; left: 16px; bottom: -22px; display: flex; align-items: center; gap: 10px; max-width: 280px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-family: var(--script); font-size: 1.35rem; line-height: 1.1; color: var(--brand); }
.about-stamp .ico { color: var(--aqua); width: 28px; height: 28px; }
.about-copy p { color: var(--muted); }
.tick-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.tick-list .ico { color: #fff; background: var(--leaf); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.faq[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%23282c8a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease); }
.faq[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq[open] .faq-a { animation: swapIn .4s var(--ease); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; word-break: break-word; }
.contact-list a:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #c8d7f2; }
.contact-list small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.c-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--brand); }
.c-wa { background: #e3f9eb; color: var(--wa-dark); }
.map { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sky), #dcecff); border: 1px solid var(--line); display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 0; background: #fff; color: var(--brand); font-weight: 700; box-shadow: var(--shadow); }

.form-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-panel { padding: 22px 18px 24px; display: grid; gap: 14px; }
@media (min-width: 640px) { .form-panel { padding: 28px 30px 30px; } }
.form-head h3 { font-size: 1.3rem; margin-bottom: 2px; }
.form-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.send-choice { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .send-choice { grid-template-columns: 1fr 1fr; } }
.send-choice .btn { width: 100%; padding: 1em 1.1em; }
.send-choice .btn:hover .ico { transform: none; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sky-2);
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 214, .12); }
.field.invalid input, .field.invalid select, .field.invalid .chips { border-color: #e04848; box-shadow: 0 0 0 4px rgba(224, 72, 72, .1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 12px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .86rem; transition: all .2s; }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.consent.invalid { color: #c73838; }
.form-msg { margin: 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: #16794a; }
.form-msg.err { color: #c73838; }
.form-success { text-align: center; padding: 36px 22px 40px; }
.form-success .tick { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e8fbf1; color: #16a05a; animation: pop .5s var(--ease); }
.form-success .tick svg { width: 40px; height: 40px; }
.form-success .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: #b9c3ea; padding: 40px 0 24px; margin-top: 40px; }
.footer-wave { position: absolute; left: 0; right: 0; top: -39px; height: 40px; }
.footer-wave svg { width: 100%; height: 100%; }
.footer-wave path { fill: var(--navy); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } .footer-grid .f-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; } .footer-grid .f-brand p { margin: 0; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.3fr .9fr .9fr 1fr 1.5fr; } .footer-grid .f-brand { grid-column: auto; display: block; } .footer-grid .f-brand p { margin: 0 0 1em; } }
.f-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .f-brand { grid-column: auto; } }
.f-brand img { width: 200px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 10px; }
.script { font-family: var(--script); font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer a { color: #b9c3ea; }
.site-footer a:hover { color: #fff; }
.f-contact { word-break: break-word; }
@media (max-width: 899px) { .footer-grid > div:last-child { grid-column: 1 / -1; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.f-tags { color: #7f8bc0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(18, 140, 75, .7);
  transform: scale(0); animation: waIn .5s 1.2s var(--ease) forwards;
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s 2s ease-out infinite; }
.wa-float:hover { color: #fff; }
.wa-tip { position: absolute; right: 70px; white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes waIn { to { transform: scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .bubbles, .hero-ring { display: none; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
}

/* pause decorative loops while the tab/section is off-screen (set by JS) */
.paused, .paused * { animation-play-state: paused !important; }

/* Contact: non-link row (opening hours) and footer social icons */
.contact-list .c-static { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.contact-list .c-static small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .25s, transform .25s var(--ease); }
.f-social a:hover { background: var(--aqua); color: #fff; transform: translateY(-2px); }
.f-social svg { width: 18px; height: 18px; }
