/* ============================================================
   Onda Fit Studio — azul noche, violeta neón y cian (colores del estudio)
   ============================================================ */
:root {
  --bg: #0b0820;
  --bg-2: #120d35;
  --navy: #0a1a5c;
  --ink: #f4f2ff;
  --muted: #b3acd9;
  --violet: #8b3dff;
  --violet-2: #6c2bd9;
  --cyan: #3ab9fc;
  --magenta: #e14bd8;
  --line: rgba(180, 160, 255, .16);
  --card: rgba(255, 255, 255, .045);
  --radius: 22px;
  --glow: 0 0 40px rgba(139, 61, 255, .45);
  --grad: linear-gradient(100deg, var(--violet) 0%, #5b5bff 50%, var(--cyan) 100%);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; 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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.kicker {
  margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7.4vw, 108px); text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
.muted { color: var(--muted); }
.small-text { font-size: 15px; }

/* ---------------------------------------------------------- botones */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px;
  padding: 13px 24px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 61, 255, .8); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(58, 185, 252, .7); }
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(58, 185, 252, .08); }
.btn.small, .btn-ghost.small { padding: 9px 16px; font-size: 14px; }
.btn.big, .btn-ghost.big { padding: 17px 30px; font-size: 17px; }
.full { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------------------------------------------------------- navegación */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px var(--pad); transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 8, 32, .78); backdrop-filter: blur(16px); padding-block: 10px; border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav { transition: transform .4s ease, background .35s ease, padding .35s ease; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(139, 61, 255, .6), var(--glow); }
.brand b { color: var(--cyan); font-style: italic; font-weight: 700; margin-left: 2px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .3s ease; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------- portada */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 140px var(--pad) 150px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(139, 61, 255, .35), transparent 60%),
    linear-gradient(180deg, rgba(11, 8, 32, .55) 0%, rgba(11, 8, 32, .25) 35%, rgba(11, 8, 32, .92) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 26, 92, .75), transparent 65%);
}
.hero-content { max-width: 1100px; }
.hero .kicker { margin-bottom: 30px; }
.hero-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, min(12vw, 17svh), 200px); line-height: .86; letter-spacing: .005em; margin-bottom: 26px; }
/* padding arriba para que la máscara no corte las tildes (É, Ó) */
.hero-title .line { display: block; overflow: hidden; padding: .16em 0 .04em; margin-top: -.16em; }
.hero-title .line > span { display: inline-block; will-change: transform; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); text-shadow: none; }
.hero-title em { filter: drop-shadow(0 0 28px rgba(139, 61, 255, .55)); }
.hero-sub { max-width: 560px; font-size: clamp(17px, 1.6vw, 21px); color: #dcd6ff; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-hint { position: absolute; right: var(--pad); bottom: 150px; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.scroll-hint span { width: 2px; height: 60px; background: linear-gradient(var(--cyan), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.wave { position: absolute; left: 0; width: 100%; height: clamp(60px, 9vw, 120px); pointer-events: none; }
.wave-bottom { bottom: -1px; }
.wave-bottom .w1 { fill: var(--bg); }
.wave-bottom .w2 { fill: rgba(139, 61, 255, .25); }
.wave-top { top: -1px; }
.wave-top .w1 { fill: var(--bg); }

/* ---------------------------------------------------------- cinta */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(139,61,255,.14), rgba(58,185,252,.1)); padding: 20px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; align-items: center; will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(30px, 4.6vw, 64px); text-transform: uppercase; line-height: 1; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 242, 255, .7); }
.marquee i { font-style: normal; color: var(--cyan); font-size: 26px; }

/* ---------------------------------------------------------- manifiesto */
.manifesto { padding: clamp(90px, 14vw, 180px) var(--pad); max-width: 1400px; margin: 0 auto; }
.manifesto-text { font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin: 0 0 70px; }
.manifesto-text .w { opacity: .14; transition: opacity .2s linear; }
.manifesto-text b { font-weight: 800; }
.manifesto-text b .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 36px; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 7vw, 100px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------- clases (scroll horizontal) */
.classes { position: relative; background: radial-gradient(60% 50% at 20% 30%, rgba(10, 26, 92, .7), transparent 70%), var(--bg); }
.classes-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; overflow: hidden; }
.classes-head { padding: 0 var(--pad); margin-bottom: 32px; max-width: 900px; }
.classes-head .muted { max-width: 520px; margin: 18px 0 0; }
.classes-track { display: flex; gap: 28px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.class-card {
  --c: var(--violet);
  width: min(78vw, 820px); display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--c) 70%, transparent);
}
.class-card { height: min(58svh, 560px); }
.class-media { position: relative; height: 100%; overflow: hidden; background: #000; }
.class-media video, .class-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.class-card:hover .class-media video, .class-card:hover .class-media img { transform: scale(1.05); }
.class-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,8,32,.7)); }
.class-num { position: absolute; left: 20px; bottom: 12px; z-index: 1; font-family: var(--display); font-size: 70px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.8); }
.class-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.class-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5.5vw, 84px); text-transform: uppercase; color: var(--c); text-shadow: 0 0 30px color-mix(in srgb, var(--c) 55%, transparent); }
.class-tag { margin: 0; font-weight: 600; font-size: 19px; }
.class-desc { margin: 0; color: var(--muted); font-size: 16px; }
.class-meta { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; gap: 26px; }
.class-meta li { font-weight: 700; font-size: 18px; }
.class-meta span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.class-body .btn { align-self: flex-start; background: var(--c); box-shadow: 0 10px 30px -12px var(--c); }

/* ---------------------------------------------------------- razones */
.reasons { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(80px, 12vw, 160px) var(--pad); }
.parallax-wrap { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; box-shadow: var(--glow); }
.parallax-wrap img { width: 100%; height: 125%; object-fit: cover; position: absolute; top: -12%; }
.reason-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; }
.reason-list li { display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.reason-list b { font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason-list h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
.reason-list p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------- agenda */
.agenda { position: relative; padding: clamp(120px, 14vw, 180px) var(--pad) clamp(80px, 10vw, 130px);
  background: radial-gradient(70% 60% at 85% 10%, rgba(139, 61, 255, .28), transparent 65%), linear-gradient(180deg, var(--navy), #0e0a2e 70%, var(--bg)); }
.agenda-inner { max-width: 1240px; margin: 0 auto; }
.agenda-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.agenda-head .muted { max-width: 560px; margin: 18px 0 0; }
.agenda-controls { position: sticky; top: 66px; z-index: 5; padding: 14px 0; margin: 0 0 18px; background: linear-gradient(180deg, rgba(14,10,46,.96) 70%, rgba(14,10,46,0)); }
.days { display: grid; grid-template-columns: repeat(7, minmax(84px, 1fr)); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.days::-webkit-scrollbar { display: none; }
.day {
  border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 16px; padding: 10px 8px; cursor: pointer; text-align: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.day:hover { border-color: var(--cyan); transform: translateY(-2px); }
.day small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day strong { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.day em { display: block; font-size: 11px; color: var(--cyan); background: none; -webkit-text-fill-color: currentColor; }
.day[aria-selected="true"] { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.day[aria-selected="true"] small, .day[aria-selected="true"] em { color: #fff; }
.week-nav { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.week-nav[hidden] { display: none; }
.week-nav .chip:disabled { opacity: .35; cursor: default; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { --c: var(--cyan); border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.chip:hover { color: var(--ink); border-color: var(--c); }
.chip.on { background: var(--c); border-color: var(--c); color: #0b0820; }
.chip[data-slug=""].on { background: var(--ink); border-color: var(--ink); }

.slots { display: grid; gap: 14px; min-height: 220px; }
.slots-empty { text-align: center; color: var(--muted); padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); margin: 0; }
.slot-group { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.slot-group:first-child { border-top: 0; }
.slot-time { position: sticky; top: 250px; }
.slot-time strong { display: block; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.slot {
  --c: var(--violet);
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px 24px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.slot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); box-shadow: 0 0 20px var(--c); }
.slot:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.slot-name { font-weight: 800; font-size: 22px; color: var(--c); line-height: 1.2; }
.slot p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--c); border-radius: 6px; transform-origin: 0 50%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.spots { font-size: 13px; font-weight: 600; display: block; }
.spots.low { color: #ffcf5c; }
.slot .btn { margin-top: 8px; width: 100%; background: var(--c); color: #0b0820; box-shadow: 0 10px 26px -12px var(--c); }
.slot.is-off { opacity: .62; }
.slot.is-off .btn, .slot .btn:disabled { background: rgba(255,255,255,.08); box-shadow: none; color: var(--muted); cursor: not-allowed; transform: none; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); margin-left: 8px; vertical-align: middle; }
.tag.red { background: rgba(255, 90, 120, .16); color: #ff8aa3; }
.rules { margin: 34px 0 0; padding: 22px 26px 22px 44px; border-radius: var(--radius); background: rgba(58,185,252,.06); border: 1px solid rgba(58,185,252,.2); color: #cfe9ff; font-size: 15px; display: grid; gap: 6px; }

/* ---------------------------------------------------------- experiencia */
.experience { padding: clamp(90px, 12vw, 160px) var(--pad); overflow: hidden; }
.exp-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.exp-head .kicker { justify-content: center; }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: center; max-width: 1400px; margin: 0 auto; }
.reel { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 16px; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(11,8,32,.9)); }
.reel.r2, .reel.r4 { transform: translateY(60px); }
.reel.r3 { box-shadow: var(--glow); }

/* ---------------------------------------------------------- eventos */
.events { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(60px, 8vw, 120px) var(--pad); max-width: 1300px; margin: 0 auto; }
.events-poster { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 90px -30px rgba(225, 75, 216, .6); transform: rotate(-3deg); }
.events-body p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 22px 0 28px; max-width: 520px; }

/* ---------------------------------------------------------- healthy bar */
.healthy { display: grid; grid-template-columns: 1fr .7fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(80px, 10vw, 140px) var(--pad);
  background: radial-gradient(50% 60% at 80% 50%, rgba(58,185,252,.18), transparent 70%); }
.healthy-body p:not(.kicker) { font-size: 19px; max-width: 560px; margin: 24px 0 0; }
.healthy-media { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 9 / 14; border: 1px solid var(--line); max-width: 420px; justify-self: center; width: 100%; }
.healthy-media video { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- ubicación */
.location { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 70px); padding: clamp(80px, 10vw, 140px) var(--pad); align-items: start; }
.address { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; margin: 24px 0; max-width: 620px; line-height: 1.3; }
.location-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(200deg) saturate(.8) contrast(.9); }
.location-reel { border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid var(--line); box-shadow: var(--glow); max-width: 380px; width: 100%; justify-self: center; }
.location-reel video { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- pie */
.footer { padding: 40px var(--pad) 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-family: var(--display); font-size: clamp(90px, 22vw, 340px); line-height: .8; text-align: center; background: linear-gradient(180deg, rgba(139,61,255,.55), rgba(58,185,252,0)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 30px; user-select: none; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.footer-row p { margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------------------------------------------------------- modales */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 18, .72); backdrop-filter: blur(8px); animation: fade .25s ease; }
.modal-card { position: relative; width: min(460px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: linear-gradient(160deg, #1a1350, #0e0a2e); border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px 28px; box-shadow: 0 40px 120px -30px rgba(139, 61, 255, .7); animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; font-size: 22px; line-height: 1; }
.modal h3 { font-family: var(--display); font-weight: 400; font-size: 44px; text-transform: uppercase; margin-bottom: 8px; }
.modal-left { margin: 0 0 20px; color: var(--muted); }
.modal form { display: grid; gap: 14px; margin-top: 18px; }
.modal label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.modal input { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink); font: 500 17px var(--body); }
.modal input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(58,185,252,.2); }
.upper { text-transform: uppercase; letter-spacing: .2em; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; min-height: 1.2em; color: #ff8aa3; font-size: 14px; font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); margin: 4px 0 0; text-align: center; }
.done-badge { width: 70px; height: 70px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 34px; font-weight: 800; margin-bottom: 18px; box-shadow: var(--glow); }
.code-label { margin: 18px 0 4px; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.code { font-family: var(--display); font-size: 54px; letter-spacing: .12em; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.done-actions { display: grid; gap: 10px; margin-top: 22px; }
.mine-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.mine-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.mine-list strong { display: block; }
.mine-list span { font-size: 14px; color: var(--muted); }
.mine-list button { flex: none; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); z-index: 90; background: #1a1350; border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: transform .35s ease; box-shadow: var(--glow); max-width: calc(100% - 40px); }
.toast.show { transform: translate(-50%, 0); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 0 0 auto; top: 0; flex-direction: column; gap: 0; padding: 90px var(--pad) 30px; background: rgba(11,8,32,.97); backdrop-filter: blur(16px); transform: translateY(-110%); transition: transform .4s ease; z-index: -1; border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 26px; font-weight: 700; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .burger { display: block; }
  .nav-cta .btn-ghost.small { display: none; }
  .reels { grid-template-columns: repeat(3, 1fr); }
  .reel.r4, .reel.r5 { display: none; }
  .reel.r2 { transform: translateY(40px); }
}
@media (max-width: 820px) {
  .classes-pin { min-height: 0; }
  .classes-track { flex-direction: column; width: auto; }
  .class-card { width: 100%; grid-template-columns: 1fr; height: auto; }
  .class-media { aspect-ratio: 4 / 3; height: auto; }
  .reasons, .events, .healthy, .location { grid-template-columns: 1fr; }
  .reasons-img { order: 2; }
  .events-poster { max-width: 420px; }
  .healthy-media { max-width: 340px; }
  .slot-group { grid-template-columns: 1fr; gap: 10px; }
  .slot-time { position: static; }
  .slot-time strong { font-size: 32px; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .agenda-controls { top: 60px; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding-inline: 16px; }
  .nav-cta .btn.small { display: none; }
  .hero { padding: 120px 16px 130px; }
  .hero-actions .btn, .hero-actions .btn-ghost { width: 100%; }
  .reels { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reel.r3 { display: none; }
  .reel.r2 { transform: translateY(30px); }
  .days { grid-template-columns: repeat(7, 74px); }
  .modal-card { padding: 30px 20px 22px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .manifesto-text .w { opacity: 1; }
}
