/* =========================================================
   ATLANTIS GYM — Uvita de Osa · Costa Rica
   Diseño & desarrollo: JustPlay Studio CR
   ========================================================= */

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* Fuentes auto-alojadas (variables) */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2"); }

:root {
  --brand: #0047b1;
  --brand-2: #1f6bff;
  --brand-3: #4fd1ff;
  --ink-blue: #0a1f4d;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- DARK (default) ---------- */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #04060c;
  --bg-2: #070c18;
  --text: #eef3ff;
  --text-2: #c3cde4;
  --muted: #8e9bba;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 60%);
  --glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  --glass-border: rgba(255, 255, 255, .14);
  --glass-hl: rgba(255, 255, 255, .38);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 20px 50px -20px rgba(0, 0, 0, .7);
  --card-bg: rgba(255, 255, 255, .03);
  --aurora-1: rgba(31, 107, 255, .55);
  --aurora-2: rgba(0, 71, 177, .6);
  --aurora-3: rgba(79, 209, 255, .28);
  --grid-line: rgba(255, 255, 255, .035);
  --input-bg: rgba(255, 255, 255, .05);
  --logo-color: #ffffff;
  --img-overlay: linear-gradient(180deg, rgba(4, 6, 12, 0) 30%, rgba(4, 6, 12, .92));
}

/* ---------- LIGHT ---------- */
[data-theme="light"] {
  color-scheme: light;
  --bg: #eef2f9;
  --bg-2: #e3e9f5;
  --text: #0a1430;
  --text-2: #26355a;
  --muted: #5a6889;
  --line: rgba(10, 20, 48, .09);
  --line-2: rgba(10, 20, 48, .16);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .45) 60%);
  --glass-bg-strong: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6));
  --glass-border: rgba(255, 255, 255, .9);
  --glass-hl: rgba(255, 255, 255, 1);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 50px -24px rgba(10, 31, 77, .35);
  --card-bg: rgba(255, 255, 255, .6);
  --aurora-1: rgba(31, 107, 255, .32);
  --aurora-2: rgba(79, 209, 255, .35);
  --aurora-3: rgba(0, 71, 177, .2);
  --grid-line: rgba(10, 31, 77, .05);
  --input-bg: rgba(255, 255, 255, .7);
  --logo-color: #0a1f4d;
  --img-overlay: linear-gradient(180deg, rgba(4, 10, 30, 0) 30%, rgba(4, 10, 30, .88));
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.04; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand-2); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--brand); color: #fff; border-radius: 10px; transition: top .3s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 8px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }

/* ---------- BACKGROUND LAYERS ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.bg-aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .9; animation: drift 22s var(--ease) infinite alternate; }
.bg-aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, var(--aurora-1), transparent 65%); }
.bg-aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: 30vh; background: radial-gradient(circle, var(--aurora-2), transparent 65%); animation-delay: -6s; animation-duration: 28s; }
.bg-aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, var(--aurora-3), transparent 65%); animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.12); } 100% { transform: translate(-4vw, -3vh) scale(.95); } }
.bg-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); }
.bg-noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(31, 107, 255, .16), transparent 60%); transform: translate3d(var(--x, -999px), var(--y, -999px), 0); transition: opacity .4s; }
[data-theme="light"] .hv-card { --glass-bg: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.7)); }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(31, 107, 255, .12), transparent 60%); }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- LIQUID GLASS ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}
.glass::before { /* borde especular */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(140deg, var(--glass-hl), transparent 30%, transparent 70%, rgba(255, 255, 255, .18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass-strong { background: var(--glass-bg-strong); }
/* Distorsión real de "vidrio líquido" (Chromium); otros navegadores usan blur */
@supports (backdrop-filter: url(#liquid-glass)) and (not (-webkit-touch-callout: none)) {
  .glass-liquid { backdrop-filter: url(#liquid-glass) blur(10px) saturate(190%) brightness(1.05); }
}

/* Spotlight que sigue al mouse */
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79, 209, 255, .16), transparent 45%);
}
.spotlight:hover::after { opacity: 1; }

/* ---------- LOGO MASKS ---------- */
.logo-mask { display: inline-block; background: var(--logo-color); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ---------- PRELOADER ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; gap: 26px; background: var(--bg); transition: opacity .7s var(--ease), visibility .7s; }
.preloader.done { opacity: 0; visibility: hidden; }
.pl-mark { position: relative; width: 84px; height: 100px; }
.pl-trident { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .15; }
.pl-fill { opacity: 1; background: linear-gradient(0deg, var(--brand-2), var(--brand-3)); clip-path: inset(100% 0 0 0); animation: plFill 1.4s var(--ease) forwards; }
@keyframes plFill { to { clip-path: inset(0 0 0 0); } }
.pl-bar { width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); animation: plBar 1s ease-in-out infinite; }
@keyframes plBar { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3)); box-shadow: 0 0 12px var(--brand-3); }

/* ---------- BUTTONS (uiverse-inspired) ---------- */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background .35s; will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.96); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* 1. Shine — gradiente con borde cónico giratorio + barrido de luz */
.btn-shine {
  color: #fff; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #2b78ff 0%, #0047b1 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 30px -8px rgba(31, 107, 255, .75), 0 0 0 0 rgba(79, 209, 255, .0);
}
.btn-shine::before { /* borde de luz giratorio */
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0 60%, #9be7ff 75%, #ffffff 80%, transparent 90%);
  animation: spin 3.2s linear infinite;
}
.btn-shine::after { /* relleno interior + barrido */
  content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%) -150% 0 / 250% 100% no-repeat, linear-gradient(180deg, #2b78ff, #0047b1);
  transition: background-position 0s;
}
.btn-shine:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 40px -8px rgba(31, 107, 255, .9), 0 0 30px rgba(79, 209, 255, .35); }
.btn-shine:hover::after { background-position: 150% 0, 0 0; transition: background-position .9s var(--ease); }
@keyframes spin { to { --angle: 360deg; } }

/* 2. Glass — pastilla de vidrio líquido */
.btn-glass {
  color: var(--text); background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 1px 0 var(--glass-hl) inset, 0 -8px 20px -10px rgba(79, 209, 255, .25) inset, 0 10px 30px -14px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.btn-glass::before { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%; background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent); pointer-events: none; }
.btn-glass:hover { transform: translateY(-2px); border-color: rgba(79, 209, 255, .5); box-shadow: 0 1px 0 var(--glass-hl) inset, 0 -10px 24px -8px rgba(79, 209, 255, .45) inset, 0 14px 34px -14px rgba(31, 107, 255, .6); }

/* 3. Outline glow — borde degradado animado */
.btn-outline-glow { color: var(--text); background: transparent; isolation: isolate; }
.btn-outline-glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--angle), var(--brand), var(--brand-3), var(--brand-2), var(--brand)); animation: spin 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.btn-outline-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -2; background: radial-gradient(circle at 50% 120%, rgba(79, 209, 255, .35), transparent 70%); opacity: 0; transition: opacity .4s; }
.btn-outline-glow:hover { transform: translateY(-2px); }
.btn-outline-glow:hover::after { opacity: 1; }

/* ---------- HEADER / NAV ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease), top .4s var(--ease); }
.site-header.hide { transform: translateY(-130%); }
.nav { width: min(1320px, 100% - 24px); margin-inline: auto; height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 20px; border-radius: 999px; }
.site-header.scrolled .nav { box-shadow: var(--glass-shadow), 0 10px 40px -10px rgba(0, 0, 0, .45); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; z-index: 2; }
.brand-trident { width: 26px; height: 32px; background: linear-gradient(180deg, var(--brand-3), var(--brand-2)); }
.brand-word { width: 112px; height: 30px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; z-index: 2; }
.nav-links a { position: relative; z-index: 1; display: block; padding: 9px 14px; font-size: 14px; font-weight: 600; color: var(--text-2); border-radius: 999px; transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-indicator { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(79, 209, 255, .12); box-shadow: 0 0 0 1px rgba(79, 209, 255, .25) inset; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; pointer-events: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; z-index: 2; }

/* Lang switch */
.lang-switch { position: relative; display: flex; padding: 3px; border-radius: 999px; background: var(--input-bg); border: 1px solid var(--line); }
.lang-switch button { position: relative; z-index: 1; width: 38px; height: 30px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); transition: color .3s; }
.lang-switch button[aria-pressed="true"] { color: #fff; }
.lang-thumb { position: absolute; top: 3px; left: 3px; width: 38px; height: 30px; border-radius: 999px; background: linear-gradient(180deg, #2b78ff, #0047b1); box-shadow: 0 4px 14px -4px rgba(31, 107, 255, .8), 0 1px 0 rgba(255, 255, 255, .4) inset; transition: transform .45s var(--ease-spring); }
html[lang="en"] .lang-thumb { transform: translateX(38px); }

/* Theme switch (sol / luna con estrellas y nubes) */
.theme-switch { position: relative; display: inline-block; width: 64px; height: 34px; cursor: pointer; flex: none; }
.theme-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ts-track { position: absolute; inset: 0; border-radius: 999px; overflow: hidden; background: linear-gradient(180deg, #0b1533, #1b2c66); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); transition: background .6s var(--ease); }
.ts-thumb { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #dfe6f5; box-shadow: inset -3px -2px 5px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .4); transition: transform .6s var(--ease-spring), background .6s; overflow: hidden; }
.ts-moon i { position: absolute; border-radius: 50%; background: #b5bfd6; transition: opacity .4s; }
.ts-moon i:nth-child(1) { width: 8px; height: 8px; left: 5px; top: 6px; }
.ts-moon i:nth-child(2) { width: 5px; height: 5px; left: 14px; top: 14px; }
.ts-moon i:nth-child(3) { width: 4px; height: 4px; left: 7px; top: 17px; }
.ts-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px #fff; animation: twinkle 2s ease-in-out infinite; transition: opacity .4s, transform .6s var(--ease); }
.ts-stars i:nth-child(1) { left: 40px; top: 8px; }
.ts-stars i:nth-child(2) { left: 50px; top: 18px; animation-delay: .5s; }
.ts-stars i:nth-child(3) { left: 36px; top: 22px; animation-delay: 1s; width: 1.5px; height: 1.5px; }
.ts-stars i:nth-child(4) { left: 54px; top: 7px; animation-delay: 1.4s; }
@keyframes twinkle { 50% { opacity: .2; } }
.ts-clouds i { position: absolute; border-radius: 999px; background: #fff; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease); }
.ts-clouds i:nth-child(1) { width: 22px; height: 8px; left: 8px; bottom: 5px; }
.ts-clouds i:nth-child(2) { width: 14px; height: 10px; left: 14px; bottom: 8px; }
.ts-clouds i:nth-child(3) { width: 16px; height: 7px; left: 26px; bottom: 3px; opacity: 0; }
.theme-switch input:checked + .ts-track { background: linear-gradient(180deg, #4fa8ff, #9fd8ff); }
.theme-switch input:checked + .ts-track .ts-thumb { transform: translateX(30px); background: radial-gradient(circle at 35% 35%, #fff6c4, #ffc93c 60%, #ffb000); box-shadow: 0 0 0 4px rgba(255, 214, 90, .25), 0 0 18px rgba(255, 200, 60, .8); }
.theme-switch input:checked + .ts-track .ts-moon i { opacity: 0; }
.theme-switch input:checked + .ts-track .ts-stars i { opacity: 0; transform: translateY(-10px); }
.theme-switch input:checked + .ts-track .ts-clouds i { opacity: .95; transform: translateY(0); }
.theme-switch input:focus-visible + .ts-track { outline: 2px solid var(--brand-3); outline-offset: 2px; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: var(--input-bg); border: 1px solid var(--line); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 92px 12px auto; z-index: 99; padding: 18px; border-radius: 28px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(-14px) scale(.98); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); max-height: calc(100dvh - 110px); overflow: auto; }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 16px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 18px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(50px, 7vw, 90px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-3); margin-bottom: 16px; }
[data-theme="light"] .eyebrow { color: var(--brand); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, transparent, currentColor); }
.h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; font-stretch: 118%; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; font-stretch: 115%; }
.lead { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); text-wrap: pretty; }
.grad-text { background: linear-gradient(100deg, var(--brand-3) 0%, #a8c8ff 30%, var(--brand-2) 55%, var(--brand-3) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 6s linear infinite; }
[data-theme="light"] .grad-text { background-image: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 40%, #00a6e8 70%, var(--brand) 100%); }
@keyframes gradMove { to { background-position: -220% 0; } }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; padding: calc(var(--header-h) + 50px) 0 90px; display: flex; align-items: center; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.status-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa4bb; position: relative; flex: none; }
.is-open .dot { background: #22e08a; box-shadow: 0 0 0 0 rgba(34, 224, 138, .6); animation: ping 1.8s infinite; }
.is-closed .dot { background: #ff6b6b; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 224, 138, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 224, 138, 0); } }
.hero-title { font-size: clamp(40px, 5.7vw, 92px); font-weight: 900; font-stretch: 116%; line-height: .92; letter-spacing: -.035em; text-transform: uppercase; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.loaded .hero-title .line > span { transform: none; }
.loaded .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.loaded .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.hero-lead { margin-top: 26px; max-width: 540px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 12px clamp(20px, 3vw, 40px); margin: 46px 0 0; padding-top: 28px; border-top: 1px solid var(--line); justify-content: start; }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; font-stretch: 115%; letter-spacing: -.02em; }
.hero-stats dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-copy > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero-copy > .hero-title { opacity: 1; transform: none; }
.loaded .hero-copy > * { opacity: 1; transform: none; }
.loaded .hero-copy > .hero-lead { transition-delay: .35s; }
.loaded .hero-copy > .hero-ctas { transition-delay: .45s; }
.loaded .hero-copy > .hero-stats { transition-delay: .55s; }

.hero-visual { position: relative; aspect-ratio: 4 / 4.4; max-height: 680px; transform: translateY(calc(var(--scroll, 0) * -0.08px)); }
.hv-frame { position: absolute; inset: 4% 6% 8% 10%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 20, 80, .8), 0 0 0 1px var(--line-2); transform-style: preserve-3d; opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
.loaded .hv-frame { opacity: 1; transform: none; }
.hv-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.06); }
.hv-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%), linear-gradient(180deg, transparent 50%, rgba(0, 20, 70, .55)); pointer-events: none; }
.hv-card { --glass-bg: linear-gradient(135deg, rgba(14, 24, 52, .78), rgba(8, 14, 32, .62)); position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 20px; z-index: 3; }
.hv-card strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-size: 15px; font-weight: 700; }
.hv-card small { display: block; font-size: 12px; color: var(--muted); }
.hv-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #2b78ff, #0047b1); color: #fff; box-shadow: 0 6px 18px -6px rgba(31, 107, 255, .9); }
.hv-ico svg { width: 20px; height: 20px; }
.hv-card-a { left: 0; top: 16%; }
.hv-card-b { right: 0; bottom: 18%; }
.hv-thumb { position: absolute; right: 2%; top: 0; width: 34%; padding: 6px; border-radius: 22px; z-index: 2; }
.hv-thumb img { border-radius: 16px; aspect-ratio: 1 / 1; object-fit: cover; }
.hv-ring { position: absolute; left: -2%; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-2); animation: rot 30s linear infinite; z-index: -1; }
.hv-ring::after { content: ""; position: absolute; top: 8%; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 16px var(--brand-3); }
@keyframes rot { to { transform: rotate(360deg); } }
.float { animation: floaty 6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes floaty { 50% { translate: 0 -12px; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--brand-3); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(0, 71, 177, .12), rgba(79, 209, 255, .06), rgba(0, 71, 177, .12)); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 4.4vw, 56px); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); transition: color .3s; }
.marquee span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee b { color: var(--brand-3); font-size: 22px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-auto-flow: row dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.b-card { position: relative; border-radius: var(--radius-lg); padding: 30px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.b-card:not(.glass) { background: #0a1020; box-shadow: 0 0 0 1px var(--line-2); }
.b-card > *:not(img):not(.b-overlay) { position: relative; z-index: 2; }
.b-xl { grid-column: span 2; grid-row: span 2; }
.b-tall { grid-row: span 2; }
.b-wide { grid-column: span 2; }
.b-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-card:hover > img { transform: scale(1.06); }
.b-overlay { position: relative; z-index: 2; color: #fff; }
.b-card:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--img-overlay); }
.b-card h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 800; font-stretch: 106%; margin-bottom: 10px; overflow-wrap: anywhere; hyphens: auto; }
.b-card p { color: var(--muted); font-size: 15px; }
.b-overlay p { color: rgba(255, 255, 255, .78); max-width: 460px; }
.b-xl h3 { font-size: clamp(30px, 3.4vw, 46px); }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 14px; color: #fff; --glass-bg: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); --glass-border: rgba(255,255,255,.3); }
.b-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: auto; color: #fff; background: linear-gradient(160deg, #2b78ff, #0047b1); box-shadow: 0 10px 24px -8px rgba(31, 107, 255, .8), 0 1px 0 rgba(255, 255, 255, .4) inset; }
.b-card.glass .b-ico { margin-bottom: 40px; }
.b-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: end; }
.mini-list { display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; color: var(--text-2); }
.mini-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(79, 209, 255, .14); color: var(--brand-3); }
[data-theme="light"] .mini-list svg { color: var(--brand); }

/* ---------- BENEFITS ---------- */
.benefits { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.benefits-copy .btn { margin-top: 30px; }
.benefit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ben { padding: 26px; border-radius: var(--radius); overflow: hidden; }
.ben > * { position: relative; z-index: 2; }
.ben-n { font-family: var(--font-display); font-weight: 800; font-stretch: 120%; font-size: 13px; color: var(--brand-3); letter-spacing: .1em; }
[data-theme="light"] .ben-n { color: var(--brand); }
.ben h3 { margin: 26px 0 8px; font-size: 24px; font-weight: 800; font-stretch: 115%; }
.ben p { font-size: 14.5px; color: var(--muted); }

/* ---------- ZONES ---------- */
.zone-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; margin: 0 auto 30px; overflow-x: auto; scrollbar-width: none; }
.zone-tabs::-webkit-scrollbar { display: none; }
.zone-tab { position: relative; z-index: 2; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .3s, background .4s var(--ease); }
.zone-tab:hover { color: var(--text); }
.zone-tab.active { color: #fff; background: linear-gradient(180deg, #2b78ff, #0047b1); box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .9), 0 1px 0 rgba(255, 255, 255, .4) inset; }
.zone-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; }
.zp-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: 0 0 0 1px var(--line-2); }
.zp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoomIn 1.2s var(--ease); }
.zp-media::after { content: ""; position: absolute; inset: 0; background: var(--img-overlay); }
.zp-media .zp-name { position: absolute; left: 28px; bottom: 24px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(40px, 6vw, 76px); line-height: .9; letter-spacing: -.03em; }
@keyframes zoomIn { from { transform: scale(1.12); opacity: .4; } to { transform: none; opacity: 1; } }
.zp-info { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 20px; animation: fadeUp .7s var(--ease); }
.zp-info > * { position: relative; z-index: 2; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.zp-info > p { color: var(--muted); }
.ex-list { display: grid; gap: 10px; }
.ex { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.ex:hover { transform: translateX(6px); border-color: rgba(79, 209, 255, .4); }
.ex-n { font-family: var(--font-display); font-weight: 800; font-stretch: 120%; color: var(--brand-3); font-size: 14px; }
[data-theme="light"] .ex-n { color: var(--brand); }
.ex strong { font-weight: 700; font-size: 15px; }
.ex small { display: block; color: var(--muted); font-size: 12.5px; }
.ex-sets { font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: 14px; padding: 6px 10px; border-radius: 10px; background: rgba(79, 209, 255, .1); color: var(--text); white-space: nowrap; }
.tip { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, rgba(31, 107, 255, .18), rgba(79, 209, 255, .06)); border: 1px solid rgba(79, 209, 255, .25); font-size: 14.5px; color: var(--text-2); }
.tip b { color: var(--text); }

/* ---------- PLANS ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 18px; transition: transform .6s var(--ease); }
.plan > * { position: relative; z-index: 2; }
.plan:hover { transform: translateY(-8px); }
.plan-name { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: 22px; }
.plan-for { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 18px 0; border-block: 1px solid var(--line); }
.plan-price strong { font-family: var(--font-display); font-weight: 900; font-stretch: 118%; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-price .ask { font-size: 30px; width: 100%; }
.plan ul { display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--brand-3); }
[data-theme="light"] .plan li svg { color: var(--brand); }
.plan .btn { width: 100%; }
.plan-featured { background: linear-gradient(160deg, rgba(31, 107, 255, .28), rgba(0, 71, 177, .12) 50%, rgba(79, 209, 255, .08)); }
[data-theme="light"] .plan-featured { background: linear-gradient(160deg, rgba(31, 107, 255, .16), rgba(255, 255, 255, .75)); }
.plan-featured::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--brand-3) 70%, #fff 75%, var(--brand-2) 82%, transparent 92%); animation: spin 5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan-badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; z-index: 4; padding: 6px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #2b78ff, #0047b1); box-shadow: 0 8px 20px -6px rgba(31, 107, 255, .9); white-space: nowrap; }
.plans-note { text-align: center; color: var(--muted); margin-top: 30px; font-size: 15px; }

/* ---------- TOOLS ---------- */
.tools { padding: clamp(18px, 3vw, 34px); border-radius: var(--radius-lg); }
.tools > * { position: relative; z-index: 2; }
.tool-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border-radius: 999px; background: var(--input-bg); border: 1px solid var(--line); margin-bottom: 30px; }
.tool-tabs button { position: relative; z-index: 2; padding: 12px 8px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .3s; }
.tool-tabs button.active { color: #fff; }
.tab-glider { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border-radius: 999px; background: linear-gradient(180deg, #2b78ff, #0047b1); box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .9), 0 1px 0 rgba(255, 255, 255, .4) inset; transition: transform .55s var(--ease-spring); z-index: 1; }
.tool { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 50px); align-items: start; animation: fadeUp .6s var(--ease); }
.tool[hidden] { display: none; }
.tool-form { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; background: var(--input-bg); border: 1px solid var(--line); outline: none; transition: border-color .3s, box-shadow .3s, background .3s; font-weight: 600; font-size: 16px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238e9bba' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(31, 107, 255, .2); }
.field input.invalid { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, .15); }
.tool-out { display: grid; gap: 18px; }
.big-num { display: flex; align-items: baseline; gap: 10px; }
.big-num span { font-family: var(--font-display); font-weight: 900; font-stretch: 120%; font-size: clamp(56px, 8vw, 92px); line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, var(--text), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-num small { font-weight: 700; color: var(--muted); }
.gauge { position: relative; padding-top: 6px; }
.gauge-bar { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1.5fr; gap: 4px; height: 10px; }
.gauge-bar i { border-radius: 10px; background: var(--c); opacity: .85; }
.gauge-pin { position: absolute; top: 0; left: 0; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-2); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); transition: left 1s var(--ease-spring); }
.gauge-lbl { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1.5fr; font-size: 11.5px; color: var(--muted); margin-top: 8px; font-weight: 700; }
.gauge-lbl span { text-align: right; transform: translateX(50%); }
.gauge-lbl span:last-child { grid-column: 3; }
.out-text { color: var(--text-2); }
.out-text.small, .disclaimer { font-size: 13px; color: var(--muted); }
.disclaimer { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.kcal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kcal-grid.two { grid-template-columns: 1fr 1fr; }
.kcal { padding: 18px; border-radius: 18px; text-align: center; }
.kcal > * { position: relative; z-index: 2; }
.kcal small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kcal strong { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 118%; font-size: clamp(26px, 3vw, 38px); margin: 6px 0 0; letter-spacing: -.02em; }
.kcal span { font-size: 12px; color: var(--muted); }
.kcal-main { background: linear-gradient(160deg, rgba(31, 107, 255, .35), rgba(0, 71, 177, .12)); }
.macro-bars { display: grid; gap: 10px; }
.mb { display: grid; grid-template-columns: 90px 1fr 70px; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 700; }
.mb-track { height: 10px; border-radius: 10px; background: var(--input-bg); overflow: hidden; border: 1px solid var(--line); }
.mb-track i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); transition: width 1.1s var(--ease); }
.mb span:last-child { text-align: right; color: var(--muted); }
.rm-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rm-cell { padding: 10px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--line); text-align: center; }
.rm-cell b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 17px; }
.rm-cell small { color: var(--muted); font-size: 11.5px; font-weight: 700; }

/* ---------- ROUTINES ---------- */
.rt-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; padding: 18px 22px; border-radius: 26px; margin-bottom: 22px; }
.rt-controls > * { position: relative; z-index: 2; }
.rt-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rt-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--line); background: var(--card-bg); color: var(--text-2); transition: all .35s var(--ease); }
.chip:hover { border-color: rgba(79, 209, 255, .5); color: var(--text); }
.chip.active { background: linear-gradient(180deg, #2b78ff, #0047b1); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .9), 0 1px 0 rgba(255, 255, 255, .35) inset; }
#rtCopy { margin-left: auto; }
.rt-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.rt-meta span { padding: 8px 14px; border-radius: 999px; background: rgba(79, 209, 255, .08); border: 1px solid rgba(79, 209, 255, .2); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.rt-meta b { color: var(--text); }
.rt-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rt-day { padding: 24px; border-radius: var(--radius); animation: fadeUp .6s var(--ease) both; animation-delay: var(--d, 0s); }
.rt-day > * { position: relative; z-index: 2; }
.rt-day header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rt-day h3 { font-size: 20px; font-weight: 800; font-stretch: 115%; }
.rt-day header span { font-family: var(--font-display); font-weight: 800; font-stretch: 120%; font-size: 13px; color: var(--brand-3); letter-spacing: .1em; }
[data-theme="light"] .rt-day header span { color: var(--brand); }
.rt-day ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: ex; }
.rt-day li { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.rt-day li span:first-child { color: var(--text-2); }
.rt-day li span:last-child { font-weight: 700; white-space: nowrap; font-size: 13.5px; }
.rt-day .finisher { margin-top: 14px; padding: 10px 12px; border-radius: 12px; font-size: 13px; background: rgba(255, 170, 60, .1); border: 1px solid rgba(255, 170, 60, .25); color: var(--text-2); }

/* ---------- GUIDES ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide { position: relative; border-radius: var(--radius-lg); overflow: hidden; text-align: left; display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.guide:hover { transform: translateY(-8px); border-color: rgba(79, 209, 255, .4); box-shadow: 0 30px 60px -30px rgba(31, 107, 255, .6); }
.guide-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.guide:hover .guide-img img { transform: scale(1.08); }
.guide-img .tag { position: absolute; left: 14px; top: 14px; margin: 0; }
.guide-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide h3 { font-size: 21px; font-weight: 800; font-stretch: 110%; line-height: 1.15; }
.guide p { color: var(--muted); font-size: 14.5px; }
.guide .read { margin-top: auto; padding-top: 10px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; color: var(--brand-3); }
[data-theme="light"] .guide .read { color: var(--brand); }
.guide .read svg { transition: transform .35s var(--ease); }
.guide:hover .read svg { transform: translateX(5px); }

/* ---------- GALLERY ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
.g-item { display: block; width: 100%; margin-bottom: 14px; border-radius: 20px; overflow: hidden; position: relative; break-inside: avoid; cursor: zoom-in; box-shadow: 0 0 0 1px var(--line); }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.g-item::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; background: rgba(255, 255, 255, .15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3); opacity: 0; transform: scale(.6); transition: all .4s var(--ease-spring); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; transform: none; }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-img { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: visible; }
.about-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0, 20, 80, .7), 0 0 0 1px var(--line-2); }
.about-img figcaption { position: absolute; right: -14px; bottom: -22px; padding: 18px 22px; border-radius: 20px; font-size: 14px; color: var(--text-2); max-width: 240px; }
.about-img figcaption > * { position: relative; z-index: 2; }
.about-img figcaption strong { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 120%; font-size: 40px; color: var(--text); line-height: 1; }
.mv { display: grid; gap: 14px; margin-top: 30px; }
.mv-card { padding: 24px; border-radius: var(--radius); overflow: hidden; }
.mv-card > * { position: relative; z-index: 2; }
.mv-card h3 { font-size: 18px; font-weight: 800; font-stretch: 115%; margin-bottom: 8px; color: var(--brand-3); }
[data-theme="light"] .mv-card h3 { color: var(--brand); }
.mv-card p { color: var(--text-2); font-size: 15px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.values span { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); color: var(--text-2); transition: all .3s; }
.values span:hover { background: var(--brand); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ---------- HOURS ---------- */
.hours { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); }
.hours > * { position: relative; z-index: 2; }
.live-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: var(--card-bg); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.hours-list { display: grid; gap: 4px; }
.hours-list li { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 12px; font-weight: 600; color: var(--text-2); transition: background .3s; }
.hours-list li:hover { background: var(--card-bg); }
.hours-list li.today { background: linear-gradient(90deg, rgba(31, 107, 255, .25), rgba(79, 209, 255, .06)); color: var(--text); box-shadow: 0 0 0 1px rgba(79, 209, 255, .3) inset; }
.hours-list li.today span:first-child::after { content: attr(data-today); margin-left: 10px; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--brand-2); color: #fff; vertical-align: middle; letter-spacing: .06em; text-transform: uppercase; }
.hours-list .closed { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 20px; overflow: hidden; }
.faq-item > * { position: relative; z-index: 2; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 16.5px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: rgba(79, 209, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%234fd1ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .45s var(--ease-spring); }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted); animation: fadeUp .5s var(--ease); }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.contact-form { padding: clamp(22px, 3.5vw, 38px); border-radius: var(--radius-lg); display: grid; gap: 18px; }
.contact-form > * { position: relative; z-index: 2; }
.contact-side { display: grid; gap: 12px; }
.info-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; overflow: hidden; transition: transform .4s var(--ease); }
a.info-card:hover { transform: translateX(6px); }
.info-card > * { position: relative; z-index: 2; }
.info-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #2b78ff, #0047b1); box-shadow: 0 8px 20px -8px rgba(31, 107, 255, .9); flex: none; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-card strong { display: block; font-weight: 700; font-size: 15.5px; }
.socials { display: flex; gap: 10px; padding: 4px 0; }
.social-btn { position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--card-bg); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-spring), border-color .3s, color .3s; isolation: isolate; }
.social-btn svg { width: 22px; height: 22px; }
.social-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(100%); transition: transform .45s var(--ease); background: linear-gradient(180deg, #2b78ff, #0047b1); }
.social-btn:nth-child(1)::before { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.social-btn:nth-child(3)::before { background: linear-gradient(180deg, #2ee27a, #12a150); }
.social-btn:hover { transform: translateY(-4px); color: #fff; border-color: transparent; }
.social-btn:hover::before { transform: none; }
.tooltip { position: fixed; opacity: 0; pointer-events: none; }
.map { border-radius: 22px; overflow: hidden; height: 260px; display: grid; place-items: center; }
.map iframe { position: relative; z-index: 2; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8) brightness(.95); }
.map-load { position: relative; z-index: 2; display: inline-flex; gap: 10px; align-items: center; padding: 14px 22px; border-radius: 999px; font-weight: 700; border: 1px solid var(--line-2); background: var(--card-bg); transition: transform .35s var(--ease-spring); }
.map-load:hover { transform: scale(1.04); }
.map-load svg { width: 20px; height: 20px; color: var(--brand-3); }

/* ---------- FINAL CTA ---------- */
.final-cta { padding: 0 0 clamp(80px, 10vw, 130px); }
.fc-box { position: relative; border-radius: 40px; overflow: hidden; padding: clamp(50px, 8vw, 100px) 24px; text-align: center; color: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -40px rgba(0, 40, 140, .7); }
.fc-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-box::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 50% 120%, rgba(31, 107, 255, .65), transparent 60%), linear-gradient(180deg, rgba(3, 10, 32, .82), rgba(3, 14, 48, .9)); }
.fc-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.fc-logo { width: 54px; height: 64px; background: linear-gradient(180deg, #fff, var(--brand-3)); }
.fc-inner p { color: rgba(255, 255, 255, .8); font-size: 18px; margin-bottom: 10px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: linear-gradient(180deg, transparent, rgba(0, 71, 177, .07)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.f-logo { width: 110px; height: 184px; margin-bottom: 18px; }
.f-brand p { color: var(--muted); max-width: 340px; font-size: 14.5px; }
.f-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; color: var(--muted); }
.f-col h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; font-family: var(--font-body); }
.f-col a { transition: color .3s; } .f-col a:hover { color: var(--brand-3); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.credit { font-weight: 700; letter-spacing: .06em; transition: color .3s; } .credit:hover { color: var(--brand-3); }

/* ---------- FLOATING ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2ee27a, #12a150); box-shadow: 0 14px 30px -8px rgba(18, 161, 80, .8), 0 1px 0 rgba(255, 255, 255, .5) inset; transition: transform .45s var(--ease-spring); }
.fab-wa svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.fab-wa:hover { transform: scale(1.1) rotate(-6deg); }
.fab-pulse { position: absolute; inset: 0; border-radius: 50%; background: #2ee27a; animation: fabPulse 2.4s ease-out infinite; z-index: 1; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 26px; bottom: 94px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: all .45s var(--ease-spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; position: relative; z-index: 2; }
.tt-ring { position: absolute !important; inset: -1px; width: calc(100% + 2px) !important; height: calc(100% + 2px) !important; transform: rotate(-90deg); }
.tt-ring circle { fill: none; stroke: var(--brand-3); stroke-width: 2; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p, 0))); stroke-linecap: round; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 18, .6); backdrop-filter: blur(8px); animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 40px); overflow: auto; border-radius: 30px; animation: modalIn .6s var(--ease-spring); padding: 0; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal-card > * { position: relative; z-index: 2; }
.modal-x { position: absolute; right: 14px; top: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); transition: transform .4s var(--ease-spring); }
.modal-x:hover { transform: rotate(90deg); }
.modal-x svg { width: 20px; height: 20px; }
.modal-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 30px 30px 0 0; }
.modal-body { padding: 28px clamp(22px, 4vw, 40px) 36px; }
.modal-body h3 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; font-stretch: 115%; margin-bottom: 18px; }
.prose { color: var(--text-2); display: grid; gap: 14px; font-size: 16px; }
.prose h4 { font-family: var(--font-display); font-size: 18px; font-stretch: 110%; color: var(--text); margin-top: 8px; }
.prose ul { display: grid; gap: 8px; }
.prose li { padding-left: 24px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 8px var(--brand-3); }
body.no-scroll { overflow: hidden; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 310; display: grid; place-items: center; background: rgba(2, 6, 18, .92); backdrop-filter: blur(12px); animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: modalIn .5s var(--ease-spring); }
.lb-x, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 30px; transition: background .3s, transform .3s; }
.lb-x:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); transform: scale(1.06); }
.lb-x { top: 20px; right: 20px; } .lb-x svg { width: 22px; height: 22px; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .7); font-weight: 700; font-size: 14px; }

/* ---------- TOAST ---------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 28px; z-index: 400; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; transform: translate(-50%, 120px); transition: transform .6s var(--ease-spring); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.tilt, [data-tilt] { transform-style: preserve-3d; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid, .benefits, .about, .contact, .hours, .zone-panel, .tool { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-visual { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-tall { grid-row: span 1; min-height: 340px; }
  .bento > :last-child { grid-column: span 2; }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .zp-media { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .about-img figcaption { right: 12px; }
}
@media (max-width: 680px) {
  :root { --radius-lg: 26px; }
  .container { width: calc(100% - 32px); }
  .nav { height: 60px; padding: 0 8px 0 16px; }
  .nav-cta { display: none; }
  .brand-word { width: 90px; }
  .theme-switch { width: 58px; height: 32px; }
  .ts-thumb { width: 24px; height: 24px; }
  .theme-switch input:checked + .ts-track .ts-thumb { transform: translateX(26px); }
  .lang-switch button { width: 34px; height: 28px; }
  .lang-thumb { width: 34px; height: 28px; }
  html[lang="en"] .lang-thumb { transform: translateX(34px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-xl, .b-wide, .bento > :last-child { grid-column: auto; }
  .b-xl { min-height: 420px; }
  .b-split { grid-template-columns: 1fr; }
  .benefit-cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 26px; }
  .guides { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .span-2 { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .kcal-grid { grid-template-columns: 1fr; }
  .kcal-grid.two { grid-template-columns: 1fr 1fr; }
  .rm-table { grid-template-columns: repeat(2, 1fr); }
  .tool-tabs { grid-template-columns: repeat(2, 1fr); border-radius: 22px; gap: 4px; }
  .tool-tabs button { border-radius: 16px; }
  .tool-tabs button.active { background: linear-gradient(180deg, #2b78ff, #0047b1); }
  .tab-glider { display: none; }
  #rtCopy { margin-left: 0; width: 100%; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 14px; }
  .hv-card { padding: 10px 14px 10px 10px; }
  .hv-card strong { font-size: 13px; }
  .hv-ico { width: 34px; height: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-wa { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .to-top { right: 20px; bottom: 84px; }
  .lb-nav { top: auto; bottom: 16px; }
  .mb { grid-template-columns: 74px 1fr 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
