/* =========================================================
   Club de Regatas Baradero — style.css
   Sistema: azul del escudo + rojo del banderín (único acento)
   ========================================================= */

:root {
  /* Color — derivado del escudo */
  --navy-950: #040f24;
  --navy-900: #061733;
  --navy-800: #0a2350;
  --navy-700: #05347a;   /* azul del escudo */
  --navy-100: #e6ecf6;
  --red-700: #b11324;    /* rojo del escudo (acento único) */
  --red-600: #c8182c;
  --red-300: #ff8a93;    /* rojo legible sobre azul oscuro */
  --sand: #f5f2ec;       /* fondo cálido "arena de la costa" */
  --white: #ffffff;
  --ink: #0e1726;
  --muted: #4f5a6d;
  --line: #dfe3ea;
  --wa: #1fa855;
  --todo-bg: #fff4c2;
  --todo-ink: #6b4e00;

  /* Tipografía */
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-hero: clamp(3.4rem, 10vw, 8.5rem);
  --fs-h2: clamp(2.2rem, 5vw, 3.75rem);
  --fs-h3: 1.5rem;
  --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);

  /* Espaciado y forma */
  --space-section: clamp(4.5rem, 10vw, 8rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(6, 23, 51, .25);
  --shadow-lg: 0 24px 60px -20px rgba(6, 23, 51, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--navy-900); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--red { background: var(--red-700); color: var(--white); position: relative; overflow: hidden; }

/* Marcadores de contenido pendiente (borrar la clase al completar) */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: .1em .4em; border-radius: 4px; font-size: .9em; font-weight: 500; }
.todo--light { background: rgba(255, 244, 194, .95); }

/* ---------- Tipografía ---------- */
.eyebrow { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--red-700); margin-bottom: .75rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow--light { color: var(--red-300); }
.section--red .eyebrow--light { color: var(--white); }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 1.25rem; text-wrap: balance; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; }
.section--dark .lead, .section--red .lead { color: rgba(255, 255, 255, .85); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--primary { background: var(--red-700); color: var(--white); box-shadow: 0 8px 20px -8px rgba(177, 19, 36, .6); }
.btn--primary:hover { background: var(--red-600); }
.btn--ghost { background: transparent; font-family: inherit; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--navy-100); }
.btn--outline { color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--whatsapp { background: var(--wa); color: var(--white); }
.btn--whatsapp:hover { background: #18914a; }
.link { color: var(--navy-700); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-light { color: var(--white); font-weight: 600; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; color: var(--white); transition: background-color .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(6, 23, 51, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand__text { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; gap: 1.5rem; list-style: none; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; position: relative; padding-block: .4rem; white-space: nowrap; }
.nav .btn, .brand__text { white-space: nowrap; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red-300); transition: right .25s var(--ease); }
.nav__list a:hover::after { right: 0; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, background-color .25s; }
  .nav-toggle__bar { position: relative; }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -7px; } .nav-toggle__bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.5rem var(--gutter) 2rem; background: var(--navy-900); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__list a::after { display: none; }
  .header:has(.nav.is-open) { background: var(--navy-900); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 18s var(--ease) both; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 15, 36, .55) 0%, rgba(4, 15, 36, .15) 40%, rgba(4, 15, 36, .85) 100%); }
.hero__content { padding-block: calc(var(--header-h) + 3rem) clamp(5rem, 12vh, 8rem); }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-hero); line-height: .88; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1.5rem; max-width: 12ch; }
.hero__title span { display: block; color: transparent; -webkit-text-stroke: 2px var(--white); font-style: italic; }
.hero__lead { font-size: var(--fs-lead); max-width: 52ch; color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__content > :nth-child(4) { animation-delay: .3s; }
/* Banderín del escudo: franjas rojo / blanco / azul */
.hero__pennant, .footer__pennant { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(180deg, var(--red-700) 0 40%, var(--white) 40% 60%, var(--navy-700) 60% 100%); }
.hero__pennant { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Datos ---------- */
.facts { background: var(--navy-950); color: var(--white); }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 1.75rem 1rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.fact:first-child { border-left: 0; }
.fact__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; }
.fact__label { display: block; margin-top: .4rem; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.fact--accent { background: var(--red-700); }
.fact--accent .fact__label { color: rgba(255, 255, 255, .9); }
@media (max-width: 720px) {
  .fact { padding: 1.25rem .4rem; }
  .fact__num { font-size: 1.9rem; }
  .fact__label { font-size: .68rem; letter-spacing: .04em; }
}

/* ---------- Sobre el club ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__media { position: relative; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about__stamp { position: absolute; right: -1rem; bottom: -1.5rem; width: 132px; height: 132px; border-radius: 50%; background: var(--red-700); color: var(--white); display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: .9; box-shadow: var(--shadow); border: 5px solid var(--white); }
.about__stamp span { font-size: 1rem; letter-spacing: .1em; opacity: .85; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 2.5rem; }
.pillar { padding: 1.5rem; border-radius: var(--radius); background: var(--sand); border-top: 4px solid var(--navy-700); }
.pillar:nth-child(2) { border-top-color: var(--red-700); }
.pillar__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--navy-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }
.pillar h3 { font-family: var(--font-display); font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: .5rem; }
.pillar p { font-size: .95rem; color: var(--muted); margin: 0; }
.timeline { list-style: none; border-left: 2px solid var(--line); padding-left: 1.5rem; display: grid; gap: 1.25rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: baseline; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--red-700); }
.timeline__year { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--navy-700); }
.timeline .todo.timeline__year { font-size: 1rem; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 420px; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Encabezado de sección ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .h2 { margin-bottom: 0; max-width: 18ch; }
.section-head__text { max-width: 42ch; color: var(--muted); margin: 0; }
.section--dark .section-head__text { color: rgba(255, 255, 255, .75); }

/* ---------- Disciplinas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; margin-bottom: .5rem; }
.card__body p { color: var(--muted); font-size: .97rem; }
.card__meta { align-self: flex-start; }
.card__cta { margin-top: auto; font-weight: 700; color: var(--red-700); text-decoration: none; display: inline-flex; gap: .4rem; }
.card__cta span { transition: transform .2s; }
.card__cta:hover span { transform: translateX(4px); }
.card--more { background: var(--navy-800); color: var(--white); justify-content: center; }
.card--more .card__body { justify-content: center; }
.card--more p { color: rgba(255, 255, 255, .8); }
.card--more .btn { margin-top: 1rem; align-self: flex-start; }

.promo { margin-top: 2.5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2rem; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(177, 19, 36, .55), transparent 70%); pointer-events: none; }
.promo__tag { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--red-700); padding: .5rem .9rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
.promo__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.promo__body p { margin: 0 0 .3rem; color: rgba(255, 255, 255, .88); }
.promo__small { font-size: .92rem; }
.promo__small a { color: var(--white); }
.promo .btn { position: relative; z-index: 1; }
@media (max-width: 820px) { .promo { grid-template-columns: 1fr; } .promo__tag { justify-self: start; } .promo .btn { justify-self: start; } }
.note { margin: 2rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--navy-700); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); max-width: 820px; }
.note strong { color: var(--ink); }

/* ---------- Instalaciones ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.bento__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.bento__item--xl { grid-column: span 2; grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item figcaption { position: absolute; inset: auto 0 0; padding: 1.25rem; padding-top: 3rem; background: linear-gradient(180deg, transparent, rgba(4, 15, 36, .92)); display: grid; gap: .2rem; }
.bento__item figcaption strong { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.bento__item figcaption span { font-size: .9rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 560px) {
  .bento { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; padding-bottom: .75rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; }
  .bento__item { flex: 0 0 82%; height: 300px; scroll-snap-align: start; }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.panel { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.panel__title { font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; margin-bottom: 1rem; }
.panel p { color: rgba(255, 255, 255, .82); }
.panel__note { font-size: .9rem; color: rgba(255, 255, 255, .65) !important; margin: 1rem 0 0; }
.panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.steps { list-style: none; counter-reset: s; display: grid; gap: .8rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; color: rgba(255, 255, 255, .88); }
.steps li::before { content: counter(s); width: 2rem; height: 2rem; border-radius: 50%; background: var(--red-700); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.person img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.person h3 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; margin-bottom: .25rem; }
.person p { color: var(--muted); font-size: .95rem; }

/* ---------- Socios ---------- */
.section--red::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .05); pointer-events: none; }
.socios { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem clamp(2rem, 6vw, 5rem); position: relative; }
.socios__intro .btn { margin-top: .5rem; }
.socios__fine { margin-top: 1.25rem; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.benefit { padding: 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); display: grid; gap: .35rem; }
.benefit strong { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; }
.benefit span { font-size: .93rem; color: rgba(255, 255, 255, .85); }
.join { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.join li { display: flex; gap: 1rem; align-items: flex-start; }
.join li > span { flex: 0 0 auto; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: .8; color: rgba(255, 255, 255, .45); }
.join strong { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; }
.join p { margin: .25rem 0 0; font-size: .93rem; color: rgba(255, 255, 255, .85); }
.join .todo { color: var(--todo-ink); }
@media (max-width: 900px) { .socios { grid-template-columns: 1fr; } .join { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Novedades ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.news-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.news-card__meta { display: flex; gap: .75rem; align-items: center; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.news-card__tag { background: var(--navy-100); color: var(--navy-700); padding: .2rem .55rem; border-radius: 4px; font-weight: 700; }
.news-card h3 { font-family: var(--font-display); font-size: 1.65rem; text-transform: uppercase; }
.news-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.news-card .card__cta { margin-top: auto; padding-top: .5rem; }

/* ---------- Galería ---------- */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery img { width: 100%; margin-bottom: 1rem; border-radius: var(--radius); break-inside: avoid; transition: transform .4s var(--ease), filter .4s; }
.gallery img:hover { transform: scale(1.02); filter: saturate(1.15); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.faq > div:first-child p { color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red-700); transition: transform .25s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 5rem); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.contact__list { margin: 0; display: grid; gap: 1.25rem; align-content: start; }
.contact__list > div { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact__list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red-300); font-weight: 700; margin-bottom: .3rem; }
.contact__list dd { margin: 0; color: rgba(255, 255, 255, .92); }
.contact__list a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.contact__list a:hover { border-color: var(--white); }
.contact__grid > * { min-width: 0; }
.map { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; height: clamp(300px, 36vw, 460px); background: var(--navy-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, .75); padding: 3.5rem 0 4.5rem; font-size: .93rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer__brand p { margin: 0; }
.footer__brand strong { color: var(--white); }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__links a, .footer__nap a { text-decoration: none; }
.footer__links a:hover, .footer__nap a:hover { color: var(--white); }
.footer__nap, .footer__copy { margin: 0; }
.footer__copy { text-align: right; }
@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr; } .footer__copy { text-align: left; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--white); padding: 2rem var(--gutter); }
.notfound img { margin: 0 auto 1.5rem; border-radius: 50%; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 20vw, 10rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--white); }
.notfound p { color: rgba(255, 255, 255, .8); }
.notfound .hero__ctas { justify-content: center; }

/* =========================================================
   v2 — Portada en movimiento, Centenario, disciplinas, pop-up
   ========================================================= */

/* ---------- Portada: Ken Burns + brillo del agua ---------- */
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media .hero__bg { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; z-index: auto; animation: kenBurns 28s ease-in-out infinite alternate; transform-origin: 60% 55%; will-change: transform; }
.hero__shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .10) 45%, transparent 60%); background-size: 250% 100%; mix-blend-mode: soft-light; animation: shimmer 9s linear infinite; }
.hero__shade { background: linear-gradient(180deg, rgba(4, 15, 36, .65) 0%, rgba(4, 15, 36, .25) 38%, rgba(4, 15, 36, .9) 100%), linear-gradient(90deg, rgba(4, 15, 36, .55), transparent 60%); }
@keyframes kenBurns {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-2.5%, -1.5%, 0); }
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* Dato del Centenario como enlace */
a.fact { color: inherit; text-decoration: none; transition: filter .2s; }
a.fact:hover { filter: brightness(1.12); }

/* ---------- Centenario ---------- */
.centenario { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(4rem, 9vw, 7rem); background: radial-gradient(120% 140% at 85% 0%, #1b3f86 0%, var(--navy-900) 55%, var(--navy-950) 100%); isolation: isolate; }
.centenario::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--red-700) 0 33%, var(--white) 33% 66%, var(--navy-700) 66%); }
.centenario__bg { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.centenario__bg span { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(14rem, 42vw, 34rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .07); transform: translate3d(0, var(--py, 0px), 0); animation: floatY 10s ease-in-out infinite alternate; }
@keyframes floatY { from { translate: 0 -12px; } to { translate: 0 12px; } }
.centenario__inner { display: grid; gap: 2.5rem; justify-items: center; text-align: center; }
.centenario__intro .h2 { margin-bottom: .75rem; }
.centenario__intro .eyebrow { justify-content: center; }
.centenario__dates { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; color: rgba(255, 255, 255, .8); margin: 0; }
.centenario__arrow { width: 56px; height: 2px; background: currentColor; position: relative; overflow: hidden; }
.centenario__arrow::after { content: ""; position: absolute; inset: 0; background: var(--red-300); transform: translateX(-100%); animation: arrowRun 2.4s var(--ease) infinite; }
@keyframes arrowRun { to { transform: translateX(100%); } }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.25rem); width: min(760px, 100%); perspective: 800px; }
.countdown__unit { position: relative; padding: clamp(1rem, 3vw, 1.75rem) .5rem; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--ease), border-color .25s; overflow: hidden; }
.countdown__unit:hover { border-color: rgba(255, 138, 147, .6); }
.countdown__unit::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .25); }
.countdown__unit:first-child { background: linear-gradient(180deg, rgba(200, 24, 44, .9), rgba(177, 19, 36, .75)); border-color: rgba(255, 255, 255, .25); }
.countdown__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 9vw, 5.25rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__num.is-tick { animation: tick .55s var(--ease); }
@keyframes tick {
  0%   { transform: translateY(-40%) rotateX(70deg); opacity: 0; }
  60%  { transform: translateY(6%) rotateX(-8deg); opacity: 1; }
  100% { transform: none; }
}
.countdown__label { display: block; margin-top: .5rem; font-size: clamp(.7rem, 1.6vw, .85rem); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.centenario__foot { display: grid; gap: 1rem; justify-items: center; width: min(760px, 100%); }
.progress { position: relative; width: 100%; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.progress__bar { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--navy-700), #fff 70%, var(--red-600)); transition: width 1.6s var(--ease); }
.progress__boat { position: absolute; top: 50%; left: var(--p, 0%); transform: translate(-50%, -115%); color: var(--white); transition: left 1.6s var(--ease); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -3px; rotate: 4deg; } }
.progress__label { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 520px) { .countdown { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Disciplinas: filtros y tarjetas ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; padding: .55rem 1rem; min-height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-800); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.chip:hover { border-color: var(--navy-700); transform: translateY(-1px); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
}
.vigencia { font-size: .9rem; color: var(--muted); margin-bottom: 1.75rem; }
.sports { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; align-items: start; }
.sport { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, opacity .3s; }
.sport:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sport[hidden] { display: none; }
.sport__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.sport__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sport:hover .sport__media img { transform: scale(1.07); }
.sport__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(4, 15, 36, .55)); pointer-events: none; }
.sport__tag { position: absolute; left: .75rem; bottom: .75rem; z-index: 1; background: rgba(255, 255, 255, .95); color: var(--navy-900); font-size: .78rem; font-weight: 700; padding: .3rem .6rem; border-radius: 6px; }
.sport__tag--hot { background: var(--red-700); color: var(--white); }
.sport__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.sport__title { font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; text-transform: uppercase; }
.sport__desc { color: var(--muted); font-size: .95rem; margin: 0; }
.sport__price { margin: 0; font-size: .95rem; color: var(--muted); }
.sport__price strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--red-700); letter-spacing: .01em; }
.sport__more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: .25rem 0 .4rem; }
.sport__more summary { list-style: none; cursor: pointer; padding: .8rem 1.75rem .8rem 0; font-weight: 600; font-size: .95rem; color: var(--navy-800); position: relative; }
.sport__more summary::-webkit-details-marker { display: none; }
.sport__more summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.sport__more[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.sport__more[open] .sched, .sport__more[open] .sched__note { animation: rise .45s var(--ease) both; }
.sched { list-style: none; display: grid; gap: .7rem; padding-bottom: .9rem; }
.sched > li { display: grid; gap: .15rem; font-size: .88rem; color: var(--muted); padding-left: .75rem; border-left: 3px solid var(--navy-100); }
.sched > li strong { color: var(--ink); font-size: .93rem; }
.sched__price { color: var(--navy-700); font-weight: 600; }
.sched__sub { list-style: none; display: grid; gap: .2rem; margin-top: .3rem; font-size: .84rem; }
.sched__sub li::before { content: "· "; color: var(--red-700); font-weight: 700; }
.sched__note { margin: 0 0 .7rem; font-size: .88rem; font-weight: 600; color: var(--navy-700); background: var(--navy-100); padding: .5rem .7rem; border-radius: 6px; }
.sport__staff { font-size: .82rem; color: var(--muted); margin: 0 0 .9rem; }
.card__cta--btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }

/* ---------- Equipo: fotos ilustrativas ---------- */
.person__media { position: relative; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; }
.person__media img { margin: 0; border-radius: 0; transition: transform .6s var(--ease); }
.person:hover .person__media img { transform: scale(1.05); }
.person__badge { position: absolute; top: .6rem; left: .6rem; background: rgba(6, 23, 51, .78); color: var(--white); font-size: .72rem; font-weight: 600; padding: .25rem .5rem; border-radius: 4px; letter-spacing: .02em; }
.team { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* ---------- Pop-up pre-venta ---------- */
.modal { width: min(820px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; border-radius: 20px; overflow: hidden; color: var(--ink); background: var(--white); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); }
.modal[open] { display: grid; grid-template-columns: 1fr 1.1fr; animation: modalIn .5s var(--ease) both; }
.modal::backdrop { background: rgba(4, 15, 36, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fadeIn .35s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__media { position: relative; min-height: 220px; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenBurns 20s ease-in-out infinite alternate; }
.modal__badge { position: absolute; top: 1rem; left: 1rem; background: var(--red-700); color: var(--white); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .4rem .8rem; border-radius: 6px; font-size: 1.05rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(177, 19, 36, .55); } 50% { box-shadow: 0 0 0 12px rgba(177, 19, 36, 0); } }
.modal__body { padding: clamp(1.5rem, 4vw, 2.5rem); overflow-y: auto; }
.modal__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: .95; margin-bottom: .75rem; }
.modal__lead { color: var(--muted); }
.quotas { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.25rem 0 1rem; }
.quotas li { min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .4rem; text-align: center; display: grid; gap: .3rem; }
.quotas strong { overflow-wrap: anywhere; }
@media (max-width: 480px) { .quotas { gap: .4rem; } .quotas span { font-size: .68rem; letter-spacing: .04em; } .quotas strong { font-size: .75rem; } }
.quotas li:first-child { border-color: var(--red-700); background: #fff5f6; }
.quotas span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.quotas strong { font-size: .85rem; }
.modal__fine { font-size: .85rem; }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.modal__later { background: none; border: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; padding: .5rem; }
.modal__close { position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy-900); cursor: pointer; box-shadow: var(--shadow); }
.modal__close:hover { background: var(--white); transform: rotate(90deg); transition: transform .3s var(--ease); }
.promo-pills { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; transition: transform .35s var(--ease), opacity .35s; }
.promo-pills.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
.promo-pill[hidden] { display: none !important; }
.promo-pill--navy { background: var(--navy-800) !important; box-shadow: 0 12px 28px -8px rgba(6, 23, 51, .7) !important; }
.promo-pill { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .7rem 1.2rem; border: 0; border-radius: 999px; background: var(--red-700); color: var(--white); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(177, 19, 36, .7); animation: pillIn .6s var(--ease) 1s backwards; transition: transform .35s var(--ease), opacity .35s, background-color .2s; }
/* Se esconde al bajar y vuelve al subir, para no tapar el contenido */

.promo-pill:hover { transform: translateY(-3px); background: var(--red-600); }
.promo-pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--white); animation: pulse 1.8s ease-in-out infinite; }
.promo-pill__sub { font-weight: 500; opacity: .85; font-size: .82rem; }
@keyframes pillIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .promo-pills { left: 1rem; bottom: 1.4rem; gap: .4rem; } .promo-pill { font-size: .85rem; padding: .55rem .95rem; min-height: 44px; } .promo-pill__sub { display: none; } }

/* =========================================================
   v3 — Fotos reales, profes, galería carrusel, promo pileta
   ========================================================= */

/* Instalaciones: foto panorámica a todo el ancho */
.bento__item--pano { grid-column: 1 / -1; grid-row: span 2; }

/* ---------- Profes ---------- */
.coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; }
.coach { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.coach:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.coach__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--navy-800); }
.coach__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--ease); }
.coach:hover .coach__media img { transform: scale(1.05); }
.coach__media--empty { display: grid; place-items: center; background: radial-gradient(120% 120% at 80% 0%, #1b3f86 0%, var(--navy-800) 55%, var(--navy-900) 100%); }
.coach__media--empty::after, .coach__media:has(img)::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--red-700) 0 33%, var(--white) 33% 66%, var(--navy-700) 66%); }
.coach__initials { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.25rem); letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.coach__body { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.1rem 1.15rem; }
.coach__name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1.02; }
.coach__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.coach__tags li { font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--navy-100); padding: .2rem .5rem; border-radius: 4px; }
.coach__wa { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s, transform .2s; }
.coach__wa:hover { background: #18914a; transform: translateY(-1px); }
@media (max-width: 640px) {
  .coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .coach__body { padding: .8rem .8rem .9rem; }
  .coach__name { font-size: 1.1rem; }
  .coach__tags li { font-size: .7rem; }
  .coach__wa { font-size: .85rem; }
}

/* ---------- Galería carrusel ---------- */
.gal__viewport { position: relative; }
.gal__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding: .5rem 0 1rem; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track:focus-visible { outline-offset: 6px; }
.gal__slide { position: relative; flex: 0 0 auto; height: clamp(300px, 42vw, 480px); margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: center; box-shadow: var(--shadow); background: var(--navy-800); }
.gal__slide[hidden] { display: none; }
.gal__open { display: block; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gal__open img { height: 100%; width: auto; max-width: min(86vw, 900px); object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gal__slide:hover img { transform: scale(1.04); filter: saturate(1.1); }
.gal__slide figcaption { position: absolute; left: .75rem; bottom: .75rem; background: rgba(6, 23, 51, .78); color: var(--white); font-size: .78rem; font-weight: 700; padding: .3rem .6rem; border-radius: 6px; pointer-events: none; }
.gal__nav { position: absolute; top: calc(50% - .25rem); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-lg); cursor: pointer; transform: translateY(-50%); transition: transform .2s var(--ease), opacity .2s; }
.gal__nav:hover { transform: translateY(-50%) scale(1.08); }
.gal__nav[disabled] { opacity: 0; pointer-events: none; }
.gal__nav--prev { left: -18px; }
.gal__nav--next { right: -18px; }
.gal__meta { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; font-size: .85rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.gal__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.gal__bar span { display: block; height: 100%; width: var(--w, 10%); background: var(--red-700); border-radius: inherit; transition: width .25s var(--ease); }
@media (max-width: 640px) {
  .gal__track { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: .75rem; }
  .gal__slide { height: 380px; scroll-snap-align: start; }
  .gal__nav { display: none; }
  .gal__filters { margin-bottom: .75rem; }
}

/* ---------- Visor de fotos ---------- */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 15, 36, .95); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease both; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: .75rem; }
.lightbox__figure img { max-width: 92vw; max-height: 82svh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); animation: modalIn .35s var(--ease) both; }
.lightbox__figure figcaption { font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 1.25rem; transform: none; } .lightbox__nav--prev { left: calc(50% - 64px); } .lightbox__nav--next { right: calc(50% - 64px); } }

/* ---------- Pop-up: precios reales ---------- */
.modal__deadline { position: absolute; left: 1rem; bottom: 1rem; background: var(--white); color: var(--red-700); font-weight: 800; font-size: .9rem; padding: .35rem .7rem; border-radius: 6px; box-shadow: var(--shadow); }
.seg { display: inline-flex; gap: 2px; padding: 4px; margin: .25rem 0 1.1rem; border-radius: 999px; background: var(--navy-100); }
.seg__btn { min-height: 40px; padding: .45rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--navy-800); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.seg__btn.is-active { background: var(--navy-800); color: var(--white); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; animation: rise .35s var(--ease) both; }
.prices[hidden] { display: none; }
.price-card { position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: .9rem .9rem .8rem; }
.price-card--best { border-color: var(--red-700); background: #fff5f6; }
.price-card--best::before { content: "Mejor precio"; position: absolute; top: -.6rem; left: .8rem; background: var(--red-700); color: var(--white); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 4px; }
.price-card__title { margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price-card__main { margin: 0; display: flex; flex-direction: column; }
.price-card__main span { font-size: .8rem; color: var(--muted); }
.price-card__main strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--ink); }
.price-card__alt { margin: .4rem 0 0; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.price-card__alt strong { color: var(--ink); }
.price-card__alt small { display: block; font-size: .74rem; }
.modal__perks { list-style: none; display: grid; gap: .45rem; margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.modal__perks li { padding-left: 1.1rem; position: relative; }
.modal__perks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--red-700); }
.modal__perks strong { color: var(--ink); }
.modal .modal__fine { margin: .9rem 0 0; font-size: .78rem; color: var(--muted); }
.modal__body { max-height: calc(100svh - 2rem); overscroll-behavior: contain; }
@media (max-width: 680px) { .modal__body { max-height: calc(100svh - 2rem - 180px); } }
@media (max-width: 420px) { .price-card__main strong { font-size: 1.6rem; } .price-card { padding: .85rem .7rem .7rem; } .seg__btn { padding: .45rem .8rem; font-size: .82rem; } }

/* ---------- Buscador de actividades por edad ---------- */
.finder { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); background: radial-gradient(120% 140% at 100% 0%, #1b3f86 0%, var(--navy-900) 60%); color: var(--white); box-shadow: var(--shadow-lg); }
.finder::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--red-700) 0 33%, var(--white) 33% 66%, var(--navy-700) 66%); }
.finder__kicker { margin: 0 0 .3rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-300); }
.finder__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); text-transform: uppercase; margin-bottom: 1.1rem; }
.finder__ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.finder__age { display: grid; justify-items: center; gap: .1rem; min-height: 64px; padding: .6rem .3rem; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: var(--white); font: inherit; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.finder__age strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.finder__age span { font-size: .75rem; opacity: .75; }
.finder__age:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); }
.finder__age.is-active { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.finder__count { margin: 1.1rem 0 .6rem; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.finder__count strong { color: var(--white); }
.finder__results { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; min-height: 96px; }
.finder__chip { display: grid; text-align: left; gap: .05rem; padding: .5rem .8rem; min-height: 44px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); font: inherit; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); animation: chipIn .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.finder__chip strong { font-size: .95rem; }
.finder__chip span { font-size: .75rem; opacity: .75; }
.finder__chip:hover { background: var(--red-700); transform: translateY(-2px); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.finder__hint { margin: 1rem 0 0; font-size: .8rem; color: rgba(255, 255, 255, .6); }
/* Resalta la tarjeta de deporte al llegar desde el buscador */
.sport.is-highlight { animation: highlight 1.8s var(--ease); }
@keyframes highlight { 0%, 100% { box-shadow: var(--shadow); } 25%, 60% { box-shadow: 0 0 0 4px var(--red-700), var(--shadow-lg); } }
@media (max-width: 480px) { .finder__ages { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Calculadora socio vs no socio ---------- */
.calc { grid-column: 1 / -1; position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.calc__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.5rem); text-transform: uppercase; margin-bottom: .3rem; }
.calc__sub { color: var(--muted); margin-bottom: 1rem; }
.calc .seg { margin-top: 0; }
.calc__options { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.calc__opt { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-800); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); animation: chipIn .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.calc__opt::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; transition: all .2s; }
.calc__opt:hover { border-color: var(--navy-700); transform: translateY(-1px); }
.calc__opt[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.calc__opt[aria-pressed="true"]::before { opacity: 1; background: var(--red-600); border-color: var(--white); box-shadow: inset 0 0 0 2px var(--navy-800); }
.calc__result { display: grid; gap: .8rem; padding: 1.25rem; border-radius: 12px; background: var(--sand); }
.calc__row { display: grid; grid-template-columns: 8.5rem 1fr 7rem; align-items: center; gap: 1rem; }
.calc__label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.calc__bar { height: 14px; border-radius: 999px; background: rgba(6, 23, 51, .08); overflow: hidden; }
.calc__bar span { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--navy-700); transition: width .6s var(--ease); }
.calc__bar--no span { background: #9aa3b2; }
.calc__row strong { font-family: var(--font-display); font-size: 1.6rem; text-align: right; font-variant-numeric: tabular-nums; }
.calc__save { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .8rem; border-top: 1px dashed rgba(6, 23, 51, .2); }
.calc__save span { font-weight: 700; color: var(--ink); }
.calc__save strong { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--red-700); font-variant-numeric: tabular-nums; }
.calc__save.is-bump strong { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.calc__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.calc__foot .btn--light { background: var(--red-700); color: var(--white); }
.calc__foot .btn--light:hover { background: var(--red-600); }
.calc__note { margin: 0; flex: 1 1 280px; font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) {
  .calc__row { grid-template-columns: 1fr auto; gap: .35rem .75rem; }
  .calc__bar { grid-column: 1 / -1; grid-row: 2; }
  .calc__row strong { font-size: 1.35rem; }
  .calc__opt { font-size: .85rem; padding: .45rem .75rem; }
}

/* =========================================================
   v4 — Tienda, reservas, Beneficios CRB, Institución
   ========================================================= */

/* Menú: enlace a la tienda */
.nav__shop { display: inline-flex !important; align-items: center; gap: .35rem; }
.nav__shop svg { flex: none; }

/* ---------- Reservas: Salón y La Casita ---------- */
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.reserva { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.25rem 0 .5rem; }
.rules { list-style: none; display: grid; gap: .75rem; }
.rules li { display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.rules__icon { font-size: 1.25rem; line-height: 1.3; }
.rules strong { color: var(--white); }
.planner { padding: 1.1rem; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.planner__title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: .75rem !important; color: var(--white) !important; }
.planner__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .9rem; }
.planner__fields label { display: grid; gap: .3rem; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.planner__fields input { min-height: 44px; padding: .5rem .6rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; color-scheme: light; }
.planner__out { list-style: none; display: grid; gap: .5rem; }
.planner__out li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .45rem; padding: .55rem .65rem; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: .86rem; color: rgba(255, 255, 255, .9); animation: chipIn .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.planner__out li.planner__empty { display: block; background: none; padding: 0; color: rgba(255, 255, 255, .6); }
.planner__out .ok { background: rgba(31, 168, 85, .2); }
.planner__out .warn { background: rgba(255, 196, 0, .16); }
.planner__out .bad { background: rgba(200, 24, 44, .28); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .reserva, .planner__fields { grid-template-columns: 1fr; } }

/* ---------- Beneficios CRB ---------- */
.beneficios { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, #1b3f86 100%); color: var(--white); position: relative; overflow: hidden; }
.beneficios .section-head__text { color: rgba(255, 255, 255, .75); }
.cred { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); perspective: 800px; }
.cred__card { position: relative; width: 280px; aspect-ratio: 1.6; padding: 1.1rem; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, var(--red-700) 0%, #7d0d1a 45%, var(--navy-700) 100%); box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .7); transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .3s var(--ease); overflow: hidden; }
.cred__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .25) 48%, transparent 62%); background-size: 250% 100%; animation: shimmer 4.5s linear infinite; }
.cred__card img { border-radius: 50%; background: var(--white); }
.cred__card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.cred__label, .cred__sub { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cred__card > div { display: grid; gap: .25rem; }
.cred__chip { position: absolute; top: 1.1rem; right: 1.1rem; width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f6d77a, #c9a33a); }
.cred__steps { list-style: none; counter-reset: c; display: grid; gap: .7rem; }
.cred__steps li { counter-increment: c; position: relative; min-height: 2rem; padding: .2rem 0 0 2.75rem; font-size: .95rem; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.cred__steps li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--red-700); font-weight: 800; }
.cred__steps strong { color: var(--white); }
@media (max-width: 960px) { .cred { grid-template-columns: 1fr; justify-items: start; } .cred__card { width: min(300px, 100%); } }

.ben-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ben-count { margin: 0; color: rgba(255, 255, 255, .8); }
.ben-count strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); }
.ben-search { display: flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1rem; border-radius: 999px; background: var(--white); color: var(--muted); width: min(340px, 100%); }
.ben-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); min-width: 0; }
.ben-search:focus-within { outline: 3px solid var(--red-300); }
.ben-filters { margin-bottom: 1.5rem; }
.ben-filters .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.ben-filters .chip.is-active { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.coupon { position: relative; display: grid; grid-template-columns: 96px 1fr; min-height: 170px; border-radius: 14px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); animation: chipIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); transition: transform .3s var(--ease); }
.coupon:hover { transform: translateY(-5px) rotate(-.4deg); }
.coupon__deal { position: relative; display: grid; place-content: center; text-align: center; background: var(--red-700); color: var(--white); border-right: 2px dashed rgba(255, 255, 255, .7); }
.coupon__deal strong { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: .9; }
.coupon__deal span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.coupon[data-badge="10%"] .coupon__deal { background: var(--navy-700); }
.coupon[data-badge="5%"] .coupon__deal { background: #4c5b78; }
.coupon::before, .coupon::after { content: ""; position: absolute; left: 86px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-800); z-index: 1; }
.coupon::before { top: -10px; } .coupon::after { bottom: -10px; }
.coupon__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1rem 1rem 1.15rem; }
.coupon__cat { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); background: var(--navy-100); padding: .15rem .45rem; border-radius: 4px; }
.coupon__name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.coupon__detail { margin: 0; font-size: .86rem; color: var(--muted); }
.coupon__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin-top: auto; padding-top: .35rem; font-size: .8rem; color: var(--muted); }
.coupon__meta a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.coupon__meta a:hover { text-decoration: underline; }
.ben-empty { color: rgba(255, 255, 255, .75); }
.ben-join { margin: 1.75rem 0 0; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.ben-join a { color: var(--white); font-weight: 600; }
@media (max-width: 640px) {
  .coupons { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: .6rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .coupons::-webkit-scrollbar { display: none; }
  .coupon { flex: 0 0 86%; scroll-snap-align: start; }
  .coupon:hover { transform: none; }
}
@media (max-width: 400px) { .coupon { grid-template-columns: 80px 1fr; } .coupon::before, .coupon::after { left: 70px; } .coupon__deal strong { font-size: 1.75rem; } }

/* ---------- Tienda ---------- */
.tienda { position: relative; overflow: hidden; background: var(--red-700); color: var(--white); padding-top: clamp(3.5rem, 8vw, 6rem); }
.tienda__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; }
.tienda__media { position: relative; max-width: 420px; }
.tienda__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: rotate(-2.5deg); transition: transform .5s var(--ease); }
.tienda__media:hover img { transform: rotate(0) scale(1.02); }
.tienda__sticker { position: absolute; top: -14px; right: -14px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--red-700); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; transform: rotate(14deg); box-shadow: var(--shadow); animation: spinSlow 14s linear infinite; }
@keyframes spinSlow { to { transform: rotate(374deg); } }
.tienda .lead { color: rgba(255, 255, 255, .9); margin-bottom: 1.5rem; }
.tienda .btn--light { color: var(--red-700); }
.tienda__marquee { display: flex; width: max-content; margin-top: clamp(3rem, 7vw, 5rem); padding: .9rem 0; background: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: .08em; white-space: nowrap; animation: marquee 28s linear infinite; }
.tienda__marquee span { padding-right: 2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .tienda__inner { grid-template-columns: 1fr; } .tienda__media { max-width: 300px; margin-inline: auto; } }

/* ---------- Institución ---------- */
.inst { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.board { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--sand); }
.board__president { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.board__role { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.board__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-transform: uppercase; }
.board__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; }
.board__avatar--lg { width: 72px; height: 72px; font-size: 1.6rem; background: var(--red-700); box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--red-700); }
.board__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.board__tabs button { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-800); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; transition: background-color .2s, color .2s; }
.board__tabs button span { font-size: .72rem; background: var(--navy-100); color: var(--navy-700); border-radius: 999px; padding: .05rem .45rem; }
.board__tabs button.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.board__tabs button.is-active span { background: var(--red-700); color: var(--white); }
.board__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.board__list li { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 10px; background: var(--white); animation: chipIn .35s var(--ease) both; }
.board__list li:nth-child(2) { animation-delay: .05s; } .board__list li:nth-child(3) { animation-delay: .1s; } .board__list li:nth-child(4) { animation-delay: .15s; } .board__list li:nth-child(5) { animation-delay: .2s; }
.board__list strong { display: block; font-size: .95rem; }
.board__list span:not(.board__avatar) { font-size: .8rem; color: var(--muted); }
.history { margin-top: 1.5rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); overflow: hidden; }
.history__toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1.1rem, 3vw, 1.6rem); cursor: pointer; list-style: none; color: var(--navy-800); }
.history__toggle::-webkit-details-marker { display: none; }
.history__toggle strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.55rem); text-transform: uppercase; }
.history__toggle small { color: var(--muted); font-size: .9rem; }
.history__toggle svg { flex: none; color: var(--red-700); transition: transform .3s var(--ease); }
.history[open] .history__toggle svg { transform: rotate(180deg); }
.history__toggle:hover strong { color: var(--red-700); }
.history__body { padding: 0 clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.6rem); border-top: 1px solid var(--line); }
.history__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 0; }
.history__years { display: flex; flex-wrap: wrap; gap: .4rem; }
.history__search { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); width: min(320px, 100%); }
.history__search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); min-width: 0; }
.history__search:focus-within { outline: 3px solid var(--red-300); }
.history__result { padding: clamp(1rem, 2.5vw, 1.4rem); border-radius: 14px; background: var(--sand); }
.history__title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; color: var(--navy-800); margin-bottom: .4rem; }
.history__group { margin: 1rem 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.history__empty { margin: 0; color: var(--muted); }
.estatuto { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); border: 1.5px solid var(--line); display: grid; gap: .5rem; justify-items: start; }
.estatuto__icon { color: var(--red-700); }
.estatuto h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; }
.estatuto p { margin: 0; color: var(--muted); }
.estatuto__date strong { color: var(--ink); }
.estatuto .btn { margin-top: .75rem; }
@media (max-width: 900px) { .inst { grid-template-columns: 1fr; } }

/* Beneficios de ser socio: íconos y movimiento */
.benefit { position: relative; transition: transform .3s var(--ease), background-color .3s; }
.benefit:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .16); }
.benefit__icon { font-size: 1.9rem; line-height: 1; margin-bottom: .2rem; display: inline-block; transition: transform .35s var(--ease); }
.benefit:hover .benefit__icon { transform: scale(1.2) rotate(-8deg); }
.benefit--cta { grid-column: 1 / -1; padding: 0; background: var(--white); border-color: var(--white); }
.benefit--cta a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; color: var(--navy-900); text-decoration: none; }
.benefit--cta .benefit__icon { grid-row: span 2; margin: 0; font-size: 2.4rem; }
.benefit--cta strong { color: var(--red-700); }
.benefit--cta span:not(.benefit__icon) { color: var(--muted); }
.benefit--cta:hover { background: var(--white); }

/* App Dónde Juego: QR de descarga */
.app-dl { margin-top: 1.25rem; padding: 1rem; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); scroll-margin-top: calc(var(--header-h) + 1rem); }
.app-dl__title { margin: 0 0 .75rem !important; color: var(--white) !important; font-weight: 600; }
.app-dl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.app-dl__item { display: grid; justify-items: center; gap: .55rem; padding: .75rem .5rem; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--white); text-decoration: none; transition: background-color .2s, transform .25s var(--ease); }
.app-dl__item:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.app-dl__qr { width: 120px; height: 120px; border-radius: 8px; background: var(--white); padding: 4px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.app-dl__store { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; text-align: center; }
.app-dl__sub { margin: .7rem 0 0 !important; font-size: .82rem; color: rgba(255, 255, 255, .7) !important; }
.sport__staff a { color: var(--navy-700); font-weight: 600; }
/* En el celular el QR no sirve (se escanea con el mismo teléfono): quedan los botones de cada tienda */
@media (max-width: 640px) {
  .app-dl__qr, .app-dl__sub { display: none; }
  .app-dl__item { min-height: 48px; background: var(--white); color: var(--navy-900); }
  .app-dl__item:hover { background: var(--white); }
}

/* ---------- Escuela de Deportes ---------- */
.escuela { position: relative; overflow: hidden; margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: radial-gradient(120% 140% at 100% 0%, #1b3f86 0%, var(--navy-900) 60%); color: var(--white); display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 2.5rem; box-shadow: var(--shadow-lg); }
.escuela::after { content: "☀"; position: absolute; right: -30px; top: -50px; font-size: 13rem; line-height: 1; color: rgba(255, 196, 0, .12); animation: spinSlow 40s linear infinite; pointer-events: none; }
.escuela__head, .escuela__actions { grid-column: 1 / -1; }
.escuela__tag { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--red-700); padding: .35rem .8rem; border-radius: 6px; margin-bottom: .75rem; }
.escuela__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; line-height: .95; }
.escuela__lead { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.escuela__facts { list-style: none; display: grid; gap: .65rem; align-content: start; }
.escuela__facts li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; align-items: center; padding: .7rem .8rem; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.escuela__facts li > span { font-size: 1.4rem; text-align: center; }
.escuela__facts strong { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red-300); }
.escuela__acts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; align-content: start; }
.escuela__acts li { padding: .4rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .85rem; font-weight: 600; animation: chipIn .4s var(--ease) both; }
.escuela__acts li:nth-child(odd) { background: rgba(200, 24, 44, .35); }
.escuela__prices { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.escuela__price { padding: 1rem 1.1rem; border-radius: 12px; background: var(--white); color: var(--ink); display: grid; gap: .1rem; }
.escuela__price span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700); }
.escuela__price strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.escuela__price small { color: var(--muted); font-size: .82rem; }
.escuela__note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.escuela__note strong { color: var(--white); }
.escuela__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.escuela__contact { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.escuela__contact a { color: var(--white); }
@media (max-width: 760px) { .escuela { grid-template-columns: 1fr; } .escuela__prices { grid-template-columns: 1fr; } }

/* Pop-up de la Escuela */
.modal__facts { list-style: none; display: grid; gap: .35rem; margin: .5rem 0 .9rem; font-size: .9rem; color: var(--muted); }
.modal__facts span { display: inline-block; width: 1.6rem; }
.modal__facts strong { color: var(--ink); }
.escuela__acts--modal { margin-bottom: 1rem; }
.escuela__acts--modal li { background: var(--navy-100); color: var(--navy-800); font-size: .78rem; padding: .3rem .6rem; }
.escuela__acts--modal li:nth-child(odd) { background: #fde7ea; color: var(--red-700); }

/* ---------- Celular: carruseles y tamaños táctiles ---------- */
.card__cta { min-height: 44px; align-items: center; }
.swipe-hint { display: none; }
@media (max-width: 640px) {
  .sports, .news {
    display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: .25rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    align-items: flex-start; scrollbar-width: none;
  }
  .sports::-webkit-scrollbar, .news::-webkit-scrollbar { display: none; }
  .sport, .news-card { flex: 0 0 84%; scroll-snap-align: start; }
  .sport:hover, .news-card:hover { transform: none; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .25rem 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }
  .swipe-hint__arrow { display: inline-block; animation: nudge 1.6s ease-in-out infinite; color: var(--red-700); }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .person h3 { font-size: 1.15rem; }
  .person p { font-size: .85rem; }
  .person__badge { font-size: .62rem; }
}

@media (max-width: 680px) {
  .modal[open] { grid-template-columns: 1fr; grid-template-rows: 180px auto; }
  .modal__media { min-height: 180px; }
}

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

/* ---------- Departamento de Salud ---------- */
.salud__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.salud__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: visible; }
.salud__photo > img:first-child { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.salud__logo { position: absolute; right: -14px; bottom: -18px; width: clamp(92px, 12vw, 130px); height: auto; border-radius: 50%; background: var(--white); box-shadow: 0 10px 30px rgba(6, 23, 51, .2); border: 4px solid var(--white); }
.salud__intro { font-size: 1.08rem; margin: 0 0 1.25rem; }
.salud__areas { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.salud__area { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.salud__area:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.salud__area div { min-width: 0; display: grid; gap: .1rem; }
.salud__area-name { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700); }
.salud__area strong { font-size: 1rem; color: var(--navy-800); }
.salud__area div span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.salud__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.salud__icon--red { background: var(--red-700); }
.salud__icon--blue { background: var(--navy-700, #05347A); }
.salud__icon--green { background: #1E7A45; }
.salud__who { margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-left: 4px solid #1E7A45; background: rgba(30, 122, 69, .08); border-radius: 0 12px 12px 0; font-size: .95rem; }
.salud__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.salud__actions .btn { display: inline-flex; align-items: center; gap: .5rem; }
.salud__mail { font-weight: 600; color: var(--navy-800); word-break: break-all; }
@media (max-width: 900px) { .salud__grid { grid-template-columns: 1fr; } .salud__photo { max-width: 460px; } }
@media (max-width: 560px) { .salud__areas { grid-template-columns: 1fr; } .salud__logo { right: 10px; } }

/* ---------- Cuota social (sección Socios) ---------- */
.cuota { margin-top: 1.5rem; padding: 1rem 1.15rem; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); max-width: 420px; }
.cuota__title { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; color: var(--white); }
.cuota__title span { display: block; font-family: inherit; font-size: .72rem; letter-spacing: .14em; opacity: .75; }
.cuota__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.cuota__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .88); font-size: .95rem; }
.cuota__list li:last-child { border-bottom: 0; }
.cuota__list strong { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .02em; }

/* ---------- Escuela de Deportes: profe coordinadora ---------- */
.escuela__coord { display: flex; align-items: center; gap: .75rem; }
.escuela__coord img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--white); flex: none; }
.escuela__coord .escuela__contact { display: grid; line-height: 1.3; }
.escuela__coord .escuela__contact span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.escuela__coord .escuela__contact strong { color: var(--white); font-size: .98rem; }
