/* ==========================================================
   CANTERA DORADA – Academia de Fútbol
   ========================================================== */
:root {
  --green-900: #061f14;
  --green-800: #0A2E1F;
  --green-700: #0f3d2a;
  --green-600: #145236;
  --grass: #1DB954;
  --gold: #F5B700;
  --gold-2: #FFD95A;
  --white: #ffffff;
  --text: #e8f1ec;
  --muted: #9fb8aa;
  --line: rgba(255, 255, 255, .1);
  --grad-gold: linear-gradient(135deg, #F5B700 0%, #FFD95A 100%);
  --radius: 18px;
  --nav-h: 72px;
  --f-display: "Bebas Neue", "Anton", Impact, sans-serif;
  --f-body: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--green-800);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
img.img-fail { opacity: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--green-800); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.gold { padding-top: .14em; color: var(--gold); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; }
.muted { color: var(--muted); }

section[id], main[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
.section { position: relative; padding: 84px 0; }

/* césped sutil */
.why, .schedule, .coaches, .gallery, .testi, .faq {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 80px, transparent 80px 160px),
    radial-gradient(ellipse at 50% 0%, rgba(29,185,84,.08), transparent 60%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--grass); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grass); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__head .eyebrow { justify-content: center; }
.section__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 9vw, 5rem); letter-spacing: .01em; color: var(--white); margin-bottom: 14px; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; line-height: 1.2; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--gold { background: var(--grad-gold); color: var(--green-800); box-shadow: 0 10px 30px -10px rgba(245,183,0,.7); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(245,183,0,.9); }
.btn--ghost { border: 2px solid rgba(255,255,255,.35); color: var(--white); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .ico { width: 22px; height: 22px; }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, var(--green-700), var(--green-900) 70%);
  animation: loaderFailsafe .6s ease 4.5s forwards;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility 0s .6s; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader__inner { text-align: center; }
.loader__shield { width: 120px; height: 148px; overflow: visible; filter: drop-shadow(0 10px 30px rgba(245,183,0,.35)); }
.l-shield { stroke-dasharray: 320; stroke-dashoffset: 320; animation: drawShield 1s var(--ease) forwards; }
.l-crown { transform-origin: 50% 100%; transform-box: fill-box; animation: popIn .6s var(--ease) .6s both; }
.l-stripe { animation: fadeIn .5s ease .8s both; }
.l-ball-track { animation: rollX 1.6s ease-in-out .5s infinite alternate both; }
.l-ball { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear .5s infinite; }
@keyframes drawShield { to { stroke-dashoffset: 0; } }
@keyframes popIn { from { transform: scale(0) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rollX { from { transform: translateX(-16px); } to { transform: translateX(16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.loader__text { font-family: var(--f-display); font-size: 2rem; letter-spacing: .14em; color: var(--white); margin: 18px 0 12px; }
.loader__text span { color: var(--gold); }
.loader__bar { width: 160px; height: 3px; margin: 0 auto; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--grad-gold); animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor input, .has-cursor select, .has-cursor textarea { cursor: auto; }
  .has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; z-index: 2000; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__dot { width: 8px; height: 8px; background: var(--gold); }
  .cursor__ring { width: 38px; height: 38px; border: 1.5px solid rgba(245,183,0,.6); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; }
  .cursor.is-hover .cursor__ring { width: 66px; height: 66px; background: rgba(245,183,0,.12); border-color: var(--gold); }
}

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav.is-scrolled { background: rgba(6, 31, 20, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); border-bottom: 1px solid var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__shield { width: 40px; height: 50px; flex: none; filter: drop-shadow(0 4px 12px rgba(245,183,0,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .06em; color: var(--white); white-space: nowrap; }
.brand__text small { font-size: .56rem; font-weight: 700; letter-spacing: .38em; color: var(--gold); margin-top: 3px; white-space: nowrap; }

.burger { position: relative; z-index: 120; width: 46px; height: 46px; border-radius: 12px; display: grid; place-content: center; gap: 6px; background: rgba(255,255,255,.07); border: 1px solid var(--line); flex: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__menu {
  position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 110;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: calc(var(--nav-h) + 10px) 24px 32px; overflow-y: auto;
  background: radial-gradient(circle at 50% 30%, rgba(29,185,84,.18), transparent 60%), rgba(6,31,20,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  clip-path: circle(0% at calc(100% - 40px) 36px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.nav__menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.nav__menu a:not(.btn) { font-family: var(--f-display); font-size: 2.3rem; letter-spacing: .05em; color: var(--white); padding: 2px 10px; transition: color .25s; }
.nav__menu a:not(.btn):hover { color: var(--gold); }
.nav__menu.is-open a { animation: menuIn .5s var(--ease) both; }
.nav__menu.is-open a:nth-child(2) { animation-delay: .05s; } .nav__menu.is-open a:nth-child(3) { animation-delay: .1s; }
.nav__menu.is-open a:nth-child(4) { animation-delay: .15s; } .nav__menu.is-open a:nth-child(5) { animation-delay: .2s; }
.nav__menu.is-open a:nth-child(6) { animation-delay: .25s; } .nav__menu.is-open a:nth-child(7) { animation-delay: .3s; }
.nav__menu.is-open a:nth-child(8) { animation-delay: .35s; } .nav__menu.is-open a:nth-child(9) { animation-delay: .4s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(20px); } }
.nav__cta { margin-top: 14px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .burger { display: none; }
  .nav__menu {
    position: static; height: auto; flex-direction: row; gap: 4px; padding: 0; background: none;
    backdrop-filter: none; -webkit-backdrop-filter: none; clip-path: none; visibility: visible; overflow: visible; transition: none;
  }
  .nav__menu a:not(.btn) { font-family: var(--f-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; padding: 8px 10px; color: rgba(255,255,255,.85); position: relative; }
  .nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
  .nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
  .nav__menu a { animation: none !important; }
  .nav__cta { margin: 0 0 0 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 190px) 0 90px; background: var(--green-900); }
.hero__bg { position: absolute; inset: -6% 0 0 0; background: linear-gradient(160deg, #134a31, var(--green-900)); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform: scale(1.08); }
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,31,20,.55) 0%, rgba(6,31,20,.55) 40%, rgba(6,31,20,.96) 100%),
  linear-gradient(90deg, rgba(6,31,20,.85) 0%, rgba(6,31,20,.2) 100%); }
.pitch-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.09); stroke-width: 2; pointer-events: none; }
.pitch-lines .fill { fill: rgba(255,255,255,.12); }
.hero__ball { position: absolute; z-index: 2; top: calc(var(--nav-h) + 6px); left: 50%; width: 190px; height: 190px; transform: translateX(-50%); pointer-events: none; }
.hero__ball canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__ball.is-fallback { background: radial-gradient(circle at 35% 30%, #fff, #d9d9d9 60%, #8a8a8a); border-radius: 50%; width: 120px; height: 120px; top: calc(var(--nav-h) + 40px); box-shadow: 0 30px 60px rgba(0,0,0,.4); animation: floatY 4s ease-in-out infinite; }
@keyframes floatY { 50% { translate: 0 -14px; } }
.hero__content { position: relative; z-index: 3; }
.hero__eyebrow { color: var(--white); background: rgba(255,255,255,.08); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; letter-spacing: .08em; font-size: .72rem; backdrop-filter: blur(6px); }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 0 rgba(29,185,84,.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(29,185,84,0); } 100% { box-shadow: 0 0 0 0 rgba(29,185,84,0); } }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.6rem, 17vw, 9.6rem); line-height: .88; color: var(--white); margin: 6px 0 22px; letter-spacing: .01em; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hero__title .line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.hero__title em { font-style: normal; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__title .gold .char { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { max-width: 560px; font-size: 1.06rem; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__ctas .btn { flex: 1 1 240px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(6,31,20,.55); border: 1px solid rgba(245,183,0,.35); font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); }
.badges svg { width: 18px; height: 18px; color: var(--gold); }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; display: none; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 60px) 0 100px; }
  .hero__ball { left: auto; right: 4%; top: 50%; width: min(42vw, 520px); height: min(42vw, 520px); transform: translateY(-50%); }
  .hero__ball.is-fallback { width: 280px; height: 280px; top: 40%; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .scroll-hint { display: block; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--grad-gold); color: var(--green-800); padding: 16px 0; transform: rotate(-1.5deg); margin: -14px -4% 0; width: 108%; z-index: 4; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); contain: paint; }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: .06em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 80px 0 60px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--f-display); font-size: clamp(2.8rem, 11vw, 4.8rem); line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__num b { font-weight: 400; }
.stat__label { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); font-weight: 500; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

/* ---------- Cards / tilt ---------- */
.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line); }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .4s, border-color .4s; --gx: 50%; --gy: 50%; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255,217,90,.22), transparent 45%); }
.tilt:hover::before { opacity: 1; }
.tilt:hover { border-color: rgba(245,183,0,.45); box-shadow: 0 30px 60px -25px rgba(0,0,0,.65); }

/* ---------- Why ---------- */
.why__grid { display: grid; gap: 16px; }
.feature { padding: 28px 24px; }
.feature__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(245,183,0,.12); color: var(--gold); border: 1px solid rgba(245,183,0,.3); transform: translateZ(30px); }
.feature__ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 8px; line-height: 1.25; transform: translateZ(20px); }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Categorías ---------- */
.cats { background: linear-gradient(180deg, var(--green-800), var(--green-900)); }
.cats__grid { display: grid; gap: 20px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-700); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cat__media { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--green-600), var(--green-800)); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.07); }
.cat__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.cat__age { align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-800); background: var(--grass); padding: 5px 12px; border-radius: 999px; margin: -40px 0 12px; position: relative; z-index: 2; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.cat h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; color: var(--white); letter-spacing: .02em; margin-bottom: 8px; }
.cat p { color: var(--muted); font-size: .94rem; }
.cat p b { color: var(--white); }
.cat__days { display: flex; align-items: center; gap: 8px; color: var(--gold) !important; font-weight: 700; margin-top: auto; padding-top: 4px; margin-bottom: 16px; }
.cat__days svg { width: 18px; height: 18px; }
@media (min-width: 640px) { .cats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cats__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* reveal mask (estado final visible por defecto) */
.reveal-mask { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

/* ---------- Horarios ---------- */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 18px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tab { padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: background .3s, color .3s; white-space: nowrap; }
.tab.is-active { background: var(--grad-gold); color: var(--green-800); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.chip { padding: 8px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); transition: all .25s; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--grass); color: var(--green-900); border-color: var(--grass); }
.table-wrap { border-radius: var(--radius); }
.sched { width: 100%; border-collapse: collapse; }
.sched thead { display: none; }
.sched tbody { display: grid; gap: 12px; }
.sched tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line); animation: rowIn .45s var(--ease) both; }
.sched td { display: flex; flex-direction: column; font-size: .92rem; }
.sched td::before { content: attr(data-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.sched td:first-child { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.7rem; color: var(--white); letter-spacing: .02em; }
.sched td:first-child::before { display: none; }
.sched td:last-child { grid-column: 1 / -1; margin-top: 8px; }
.sched td:last-child::before { display: none; }
.sched .spots-pill { display: inline-block; width: fit-content; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; background: rgba(29,185,84,.18); color: var(--grass); }
.sched .spots-pill.low { background: rgba(245,183,0,.18); color: var(--gold); }
.sched .btn { width: 100%; }
.sched-empty { text-align: center; color: var(--muted); padding: 30px; }
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } }
@media (min-width: 860px) {
  .table-wrap { overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
  .sched thead { display: table-header-group; }
  .sched tbody { display: table-row-group; }
  .sched tr { display: table-row; padding: 0; border-radius: 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
  .sched tbody tr:last-child { border-bottom: 0; }
  .sched tbody tr:hover { background: rgba(245,183,0,.06); }
  .sched th { text-align: left; padding: 16px 20px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(0,0,0,.2); }
  .sched td { display: table-cell; padding: 16px 20px; vertical-align: middle; }
  .sched td::before { display: none; }
  .sched td:first-child { font-size: 1.45rem; }
  .sched td:last-child { margin: 0; text-align: right; }
  .sched .btn { width: auto; }
}

/* ---------- Planes ---------- */
.plans { background: radial-gradient(ellipse at 50% 30%, rgba(245,183,0,.08), transparent 60%), var(--green-900); }
.billing { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 18px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.billing__opt { position: relative; z-index: 2; padding: 10px 20px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: color .3s; white-space: nowrap; }
.billing__opt em { font-style: normal; font-size: .72rem; background: var(--grass); color: var(--green-900); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.billing__opt.is-active { color: var(--green-800); }
.billing__pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad-gold); transition: transform .45s var(--ease); }
.billing.is-quarter .billing__pill { transform: translateX(100%); }
.plans__grid { display: grid; gap: 20px; align-items: stretch; }
.plan { padding: 32px 26px; display: flex; flex-direction: column; }
.plan h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; color: var(--white); letter-spacing: .03em; }
.plan__freq { color: var(--grass); font-weight: 700; font-size: .92rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 0; color: var(--white); }
.plan__price small { font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.plan__price .amount { font-family: var(--f-display); font-size: 4.4rem; line-height: 1; }
.plan__price .per { font-style: normal; color: var(--muted); font-size: .9rem; }
.plan__note { font-size: .82rem; color: var(--gold); min-height: 1.3em; margin-bottom: 18px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: .94rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(29,185,84,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%231DB954' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan--featured { border: 2px solid var(--gold); background: linear-gradient(180deg, rgba(245,183,0,.14), rgba(255,255,255,.03)); box-shadow: 0 30px 70px -30px rgba(245,183,0,.5); }
.plan__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: var(--green-800); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; z-index: 4; }
.plans__extra { display: grid; gap: 12px; margin-top: 30px; }
.plans__extra div { display: flex; flex-direction: column; padding: 18px 20px; border-radius: 14px; border: 1px dashed rgba(245,183,0,.4); background: rgba(245,183,0,.05); }
.plans__extra b { color: var(--gold); font-size: 1.05rem; }
.plans__extra span { color: var(--muted); font-size: .9rem; }
@media (min-width: 900px) {
  .plans__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .plan--featured { transform: scale(1.04); }
  .plans__extra { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Entrenadores (flip) ---------- */
.coaches__grid { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.flip { perspective: 1200px; aspect-ratio: 3 / 4; outline: none; cursor: pointer; }
.flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip:hover .flip__inner, .flip.is-flipped .flip__inner, .flip:focus-visible .flip__inner { transform: rotateY(180deg); }
@media (hover: none) { .flip:hover .flip__inner { transform: none; } .flip.is-flipped .flip__inner { transform: rotateY(180deg); } }
.flip__front, .flip__back { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line); }
.flip__front { background: linear-gradient(160deg, var(--green-600), var(--green-900)); }
.flip__front img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.flip__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,31,20,.95)); }
.flip__cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.flip__cap h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; color: var(--white); letter-spacing: .02em; }
.flip__cap p { margin: 2px 0 0; color: var(--gold); font-weight: 700; font-size: .88rem; }
.flip__back { transform: rotateY(180deg); padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 80% 10%, rgba(245,183,0,.25), transparent 50%), linear-gradient(160deg, var(--green-600), var(--green-900)); }
.flip__back h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--white); }
.flip__back .role { color: var(--gold); font-weight: 700; margin: 4px 0 18px; }
.flip__back ul { display: grid; gap: 12px; }
.flip__back li { position: relative; padding-left: 22px; font-size: .95rem; }
.flip__back li::before { content: "⚽"; position: absolute; left: 0; font-size: .75rem; top: 3px; }
@media (min-width: 600px) { .coaches__grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; } }
@media (min-width: 1100px) { .coaches__grid { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 22px; } }

/* ---------- Semillero ---------- */
.pros { overflow: hidden; background: linear-gradient(135deg, #0d4a2e 0%, var(--green-800) 50%, var(--green-900) 100%); border-top: 1px solid rgba(245,183,0,.25); border-bottom: 1px solid rgba(245,183,0,.25); }
.pros__lines { stroke: rgba(245,183,0,.1); }
.pros .container { position: relative; z-index: 2; }
.pros__grid { display: grid; gap: 20px; }
.pro { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-900); border: 1px solid rgba(245,183,0,.25); }
.pro__img { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--green-600), var(--green-900)); }
.pro__img img { width: 100%; height: 100%; object-fit: cover; }
.pro__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(180deg, transparent, rgba(6,31,20,.97) 45%); z-index: 2; }
.pro__year { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-900); background: var(--gold); padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; }
.pro h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--white); }
.pro p { margin: 4px 0 0; font-size: .9rem; color: rgba(255,255,255,.8); }
@media (min-width: 640px) { .pros__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pros__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Galería ---------- */
.chips--center { margin-bottom: 30px; }
.masonry { columns: 2 160px; column-gap: 12px; }
.m-item { position: relative; margin: 0 0 12px; break-inside: avoid; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg, var(--green-600), var(--green-800)); min-height: 120px; transition: opacity .4s, transform .4s; }
.m-item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.m-item:nth-child(3n+1) img { aspect-ratio: 3 / 4; object-fit: cover; }
.m-item:nth-child(3n+2) img { aspect-ratio: 1 / 1; object-fit: cover; }
.m-item:nth-child(3n) img { aspect-ratio: 4 / 3; object-fit: cover; }
.m-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-weight: 700; font-size: .88rem; background: linear-gradient(transparent, rgba(6,31,20,.9)); transform: translateY(100%); transition: transform .4s var(--ease); }
.m-item:hover img { transform: scale(1.08); }
.m-item:hover figcaption { transform: none; }
.m-item.is-hidden { display: none; }
@media (hover: none) { .m-item figcaption { transform: none; } }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 16px; } .m-item { margin-bottom: 16px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }

.lightbox { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 60px 16px; background: rgba(3,15,10,.94); backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; animation: lbIn .4s var(--ease); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: 14px; font-weight: 700; color: var(--gold); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lightbox__close { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; color: var(--white); background: rgba(255,255,255,.08); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 2.2rem; line-height: 1; color: var(--white); background: rgba(255,255,255,.1); }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--gold); color: var(--green-800); }
.lightbox__prev { left: 10px; } .lightbox__next { right: 10px; }

/* ---------- Timeline ---------- */
.timeline-sec { background: var(--green-900); }
.timeline { position: relative; max-width: 960px; margin: 0 auto; padding-left: 34px; }
.timeline__line { position: absolute; left: 10px; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,.1); border-radius: 3px; }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--grass)); transform-origin: top; border-radius: 3px; }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: var(--green-900); border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(245,183,0,.15); }
.tl-year { display: block; font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.tl-card { padding: 20px 22px; }
.tl-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--white); margin-bottom: 6px; line-height: 1.3; }
.tl-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.tl-card--gold { border-color: rgba(245,183,0,.6); background: linear-gradient(135deg, rgba(245,183,0,.16), rgba(255,255,255,.03)); }
@media (min-width: 860px) {
  .timeline { padding-left: 0; }
  .timeline__line { left: 50%; margin-left: -1.5px; }
  .tl-item { width: 50%; padding-right: 50px; margin-bottom: 10px; }
  .tl-item:nth-child(odd) { margin-left: 50%; padding: 0 0 0 50px; }
  .tl-item::before { left: auto; right: -9px; }
  .tl-item:nth-child(odd)::before { right: auto; left: -8px; }
  .tl-item:nth-child(even) { text-align: right; }
}

/* ---------- Testimonios ---------- */
.carousel { position: relative; max-width: 820px; margin: 0 auto; overflow: hidden; }
.carousel__track { display: flex; transition: transform .7s var(--ease); }
.t-card { flex: 0 0 100%; padding: 34px 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line); text-align: center; position: relative; }
.t-card::before { content: "“"; position: absolute; top: -10px; left: 20px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: rgba(245,183,0,.18); }
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: .15em; margin-bottom: 14px; }
.t-card > p { font-size: 1.08rem; color: var(--white); max-width: 620px; margin: 0 auto 22px; }
.t-author { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.t-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: var(--green-600); }
.t-author b { display: block; color: var(--white); }
.t-author span { font-size: .84rem; color: var(--muted); }
.carousel__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.6rem; line-height: 1; color: var(--white); transition: all .25s; }
.carousel__btn:hover { background: var(--gold); color: var(--green-800); border-color: var(--gold); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.25); transition: all .35s var(--ease); padding: 0; }
.carousel__dots button.is-active { width: 28px; background: var(--gold); }

/* ---------- Clase gratis ---------- */
.trial { overflow: hidden; }
.trial__bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0d4a2e, var(--green-900)); }
.trial__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.trial__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,31,20,.95) 30%, rgba(6,31,20,.6)); }
.trial__grid { position: relative; z-index: 2; display: grid; gap: 34px; align-items: center; }
.trial .section__title { font-size: clamp(3rem, 11vw, 5.6rem); }
.spots { display: flex; align-items: center; gap: 14px; margin: 18px 0 10px; font-weight: 600; }
.spots__num { font-family: var(--f-display); font-size: 3.6rem; line-height: 1; color: var(--gold); min-width: 2ch; }
.spots__bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 24px; max-width: 420px; }
.spots__bar span { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, var(--gold), #ff7a00); border-radius: 8px; transition: width 1.2s var(--ease); }
.count__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; }
.countdown div { text-align: center; padding: 14px 4px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(245,183,0,.3); }
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--white); }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.form { padding: 28px 22px; background: rgba(6,31,20,.75); backdrop-filter: blur(14px); border-color: rgba(245,183,0,.3); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.form h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; color: var(--white); margin-bottom: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--white); outline: none; transition: border-color .25s, background .25s; font-size: 1rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23F5B700' stroke-width='2.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--green-800); color: var(--white); }
.field input::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus { border-color: var(--gold); background: rgba(255,255,255,.09); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff6b6b; }
.field .err { color: #ff8a8a; font-size: .78rem; min-height: 0; margin-top: 4px; }
.field .err:empty { display: none; }
.field .hint { color: var(--grass); font-size: .8rem; margin-top: 6px; font-weight: 600; }
.field .hint:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.field-row:has(.field--age) { grid-template-columns: 1fr 96px; }
.form__legal { margin: 12px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .form { padding: 34px 32px; } }
@media (min-width: 980px) { .trial__grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ---------- FAQ ---------- */
.accordion { display: grid; gap: 12px; }
.acc { border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.acc[open] { border-color: rgba(245,183,0,.5); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 700; color: var(--white); position: relative; font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; background: rgba(245,183,0,.15); color: var(--gold); font-size: 1.4rem; font-weight: 500; transition: transform .4s var(--ease), background .3s; }
.acc[open] summary::after { transform: rotate(135deg); background: var(--gold); color: var(--green-800); }
.acc__body { padding: 0 22px 20px; color: var(--muted); }
.acc__body p { margin: 0; }

/* ---------- Ubicación ---------- */
.location__grid { display: grid; gap: 20px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--line); background: var(--green-700); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: saturate(.9) contrast(1.05); }
.sedes { display: grid; gap: 14px; }
.sede, .hours { padding: 22px; }
.sede__tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grass); margin-bottom: 4px; }
.sede h3, .hours h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--white); margin-bottom: 6px; }
.sede p, .hours p { margin-bottom: 6px; }
.sede .btn { margin-top: 8px; }
.link-wa { display: inline-block; margin-top: 6px; color: var(--grass); font-weight: 700; }
@media (min-width: 960px) { .location__grid { grid-template-columns: 1.3fr 1fr; } .map, .map iframe { min-height: 100%; } }

/* ---------- CTA final ---------- */
.final-cta { padding: 70px 0; background: var(--grad-gold); color: var(--green-800); overflow: hidden; position: relative; }
.final-cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border: 3px solid rgba(10,46,31,.12); border-radius: 50%; }
.final-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.final-cta h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 10vw, 5.4rem); color: var(--green-800); }
.final-cta .gold { background: none; -webkit-text-fill-color: var(--white); color: var(--white); }
.final-cta .btn--gold { background: var(--green-800); color: var(--gold); box-shadow: 0 16px 40px -12px rgba(10,46,31,.7); }
@media (min-width: 860px) { .final-cta__inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); padding: 64px 0 100px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 34px; }
.footer__brand p { color: var(--muted); margin: 16px 0; max-width: 320px; }
.footer h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer__links { display: grid; gap: 9px; color: var(--muted); font-size: .94rem; }
.footer__links a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: all .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--green-800); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay__item { padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: .84rem; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.pay--yape { background: #742284; border-color: #742284; color: #fff; }
.pay--plin { background: #00b2a9; border-color: #00b2a9; color: #fff; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; text-align: center; }
.footer__bottom p { margin: 0; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer { padding-bottom: 64px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 300; display: flex; align-items: center; gap: 10px; }
.wa-float__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa-float__btn::before, .wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.2s ease-out infinite; }
.wa-float__btn::after { animation-delay: 1.1s; }
@keyframes waPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float:hover .wa-float__btn { transform: scale(1.08); }
.wa-float__bubble { position: relative; background: var(--white); color: var(--green-800); font-weight: 800; font-size: .82rem; padding: 10px 14px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); white-space: nowrap; animation: bubble 6s ease-in-out infinite; transform-origin: right center; }
.wa-float__bubble::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: var(--white); }
@keyframes bubble { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.08); } 16% { transform: scale(1); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .loader { display: none; }
  .tilt { transform: none !important; }
}

/* Menú móvil abierto: logo visible y flotante oculto */
.nav .brand { position: relative; z-index: 120; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 480px) { .wa-float__bubble { font-size: .74rem; padding: 8px 11px; } }

/* Hero en tablet / escritorio: la pelota nunca tapa el titular */
@media (min-width: 768px) { .hero__title { font-size: min(11vw, 9.6rem); } }
@media (min-width: 768px) and (max-width: 1099px) {
  .hero__ball { width: 240px; height: 240px; top: calc(var(--nav-h) + 24px); right: 3%; transform: none; }
}
