/* =========================================================
   Atlético San Blas C.F. — Hoja de estilos
   Mobile-first · Sin dependencias
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --red: #A5101A;          /* rojo club (blanco sobre él ≈ 7.6:1) */
  --red-bright: #D21F2B;   /* acentos sobre fondos oscuros */
  --red-deep: #5C070D;
  --red-on-dark: #FF6B72;  /* texto rojo pequeño sobre negro ≈ 6.6:1 */
  --ink: #111111;
  --ink-2: #1B1B1B;
  --ink-3: #2A2A2A;
  --paper: #F6F3EE;        /* blanco cálido de la camiseta */
  --white: #FFFFFF;
  --blue: #1E5DAA;         /* azul del escudo, uso puntual */

  /* Texto */
  --text: #151515;
  --text-muted: #57524C;   /* sobre paper ≈ 7:1 */
  --text-on-dark: #F4F1EC;
  --text-on-dark-muted: #B9B3AB; /* sobre ink ≈ 9:1 */

  --line: rgba(17, 17, 17, .12);
  --line-dark: rgba(255, 255, 255, .14);

  /* Tipografía */
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --fs-display: clamp(3.6rem, min(13vw, 13.5vh), 9.25rem);
  --fs-h2: clamp(2.75rem, 7.5vw, 5.25rem);
  --fs-h3: clamp(1.6rem, 3.4vw, 2.1rem);
  --fs-lead: clamp(1.1rem, 1.6vw, 1.3rem);

  /* Espaciado y forma */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.25);

  /* Grano tipo póster */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 2px; }
.section--red :focus-visible, .hero :focus-visible, .ins-cta__box :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 12px 18px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
}
.h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: .82em; }
.h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1; letter-spacing: .01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.text-red { color: var(--red-bright); }
.note { font-size: .9rem; color: var(--text-muted); }
.section--ink .note { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-cond); font-weight: 600; font-size: .95rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow--light { color: var(--text-on-dark); }
.eyebrow--light::before { background: var(--red-bright); }
.section--red .eyebrow--light::before { background: var(--white); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease-out);
}
.btn .icon { transition: transform .25s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--red); --btn-fg: var(--white); }
.btn--primary:hover { --btn-bg: #8A0D16; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--red); }
.btn--light:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --btn-bd: var(--white); --btn-bg: rgba(255,255,255,.08); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: inherit; border-bottom: 2px solid var(--red-bright); padding-bottom: 2px;
}
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .25s var(--ease-out); }

/* ---------- Grano ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: multiply;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background-color .3s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}
.site-header.is-solid { background: rgba(17,17,17,.94); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(8px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand__crest { width: 40px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; line-height: .9; letter-spacing: .03em; }
.brand__name small { font-size: .8em; color: var(--white); opacity: .8; }
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  background: transparent; border: 0; color: inherit; cursor: pointer; border-radius: var(--radius);
}
.menu-toggle .icon { width: 28px; height: 28px; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-family: var(--font-cond); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em;
    text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.88);
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
    background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
  }
  .nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--white); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
  .header__cta { display: inline-flex; }
  .header__actions .menu-toggle { display: none; }
}

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; gap: 24px;
  padding: 16px var(--gutter) 32px; background: var(--red); color: var(--white); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__list { display: grid; gap: 2px; margin-top: 8px; }
.mobile-menu__list a {
  display: block; padding: 6px 0; font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.2rem);
  line-height: 1; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18);
}
.mobile-menu__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); color: var(--text); }
.section--ink { background: var(--ink); color: var(--text-on-dark); }
.section--red { background: var(--red); color: var(--white); }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__lead { margin-top: 20px; font-size: var(--fs-lead); color: var(--text-muted); max-width: 60ch; }
.section--ink .section-head__lead { color: var(--text-on-dark-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, var(--red) 55%, var(--red-deep) 100%);
  color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 32px) 0 40px;
}
.hero__media { position: absolute; inset: 0 0 auto 0; height: 56%; z-index: -2; }
@media (max-width: 599px) { .hero .hero__facts { display: none; } }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 12%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,0) 24%),
    linear-gradient(0deg, var(--red) 0%, rgba(165,16,26,.92) 30%, rgba(165,16,26,0) 72%);
}
.hero__number {
  position: absolute; right: -2vw; top: 14vh; z-index: 1;
  font-family: var(--font-display); font-size: 48vw; line-height: .8; color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.22); pointer-events: none; display: none;
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-display);
  line-height: .86; letter-spacing: .005em; text-transform: uppercase;
}
.hero__title span { display: inline; }
.hero__title { text-shadow: 0 2px 24px rgba(92,7,13,.45); }
.hero__title-alt { display: block !important; color: #FFD9DB; }
.hero__lead { margin-top: 22px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions .btn { flex: 1 1 260px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28);
}
.hero__facts dt { font-family: var(--font-cond); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.hero__facts dd { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; }

@media (min-width: 960px) {
  .hero { align-items: center; padding-bottom: 48px; background: radial-gradient(120% 90% at 85% 10%, #C3141F 0%, var(--red) 45%, var(--red-deep) 100%); }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 24px; }
  .hero__facts { margin-top: 28px; padding-top: 18px; }
  .hero::before { /* línea de manga */
    content: ""; position: absolute; left: 0; bottom: 0; width: 54%; height: 10px; z-index: 3;
    background: linear-gradient(180deg, var(--white) 0 30%, transparent 30% 70%, var(--white) 70%);
    opacity: .9;
  }
  .hero__media { inset: 0 0 0 auto; height: auto; width: 46%; z-index: 0; }
  .hero__media img { object-position: 50% 20%; }
  .hero__title { text-shadow: none; }
  .hero__title-alt { color: transparent; -webkit-text-stroke: 2px var(--white); }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--red) 0%, rgba(165,16,26,.55) 14%, rgba(165,16,26,0) 38%),
      linear-gradient(0deg, rgba(17,17,17,.35) 0%, rgba(17,17,17,0) 30%);
  }
  .hero__number { display: block; right: auto; left: -.12em; top: auto; bottom: -.08em; font-size: 26vw; -webkit-text-stroke-color: rgba(255,255,255,.35); }
  .hero__content { max-width: 1280px; }
  .hero__title, .hero__lead, .hero__actions, .hero__facts, .hero .eyebrow { max-width: 58%; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__facts { grid-template-columns: repeat(4, auto); justify-content: start; gap: 40px; }
}

/* ---------- Ticker de valores ---------- */
.ticker {
  display: flex; overflow: hidden; background: var(--ink); color: var(--white);
  border-block: 6px solid var(--red);
  box-shadow: inset 0 3px 0 var(--white), inset 0 -3px 0 var(--white);
  user-select: none;
}
.ticker__track {
  display: flex; flex: none; gap: 0; padding-block: 16px;
  animation: ticker 40s linear infinite;
}
.ticker__track li {
  display: flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: .04em; line-height: 1; padding-inline: 22px; white-space: nowrap;
}
.ticker__track li::after { content: "✦"; color: var(--red-bright); font-size: .6em; margin-left: 44px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- El club ---------- */
.club { display: grid; gap: 56px; align-items: center; }
.club__text p + p { margin-top: 16px; }
.club__text .lead { margin-top: 26px; }
.club__text p:not(.lead):not(.eyebrow) { color: var(--text-muted); }
.quote {
  margin-top: 36px; padding: 6px 0 6px 24px; border-left: 4px solid var(--red);
}
.quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--ink) !important; }
.quote footer { margin-top: 10px; font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--text-muted); }
.club__media { position: relative; padding: 0 0 18% 0; }
.club__year {
  position: absolute; top: -.32em; right: -.04em; z-index: 0;
  font-family: var(--font-display); font-size: clamp(6rem, 22vw, 15rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(165,16,26,.35);
}
.club__img { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: var(--radius); }
.club__img img { width: 100%; height: 100%; object-fit: cover; }
.club__img--main { width: 72%; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.club__img--second {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4/3; z-index: 2;
  border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.timeline {
  display: grid; grid-template-columns: 1fr; margin-top: clamp(56px, 8vw, 96px);
  border-top: 2px solid var(--ink); counter-reset: t;
}
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--red); }
.timeline p { color: var(--text-muted); font-size: 1rem; }

@media (min-width: 960px) {
  .club { grid-template-columns: 1fr 1fr; gap: 80px; }
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding: 22px 20px 0 0; border-bottom: 0; }
  .timeline li + li { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ---------- Metodología ---------- */
.meto { display: grid; gap: 16px; }
.meto__card {
  position: relative; padding: 32px 28px 30px; background: var(--ink-2); border-top: 4px solid var(--red-bright);
  border-radius: var(--radius); overflow: hidden;
}
.meto__card p { margin-top: 12px; color: var(--text-on-dark-muted); }
.meto__num {
  position: absolute; right: 14px; top: -8px; font-family: var(--font-display); font-size: 6.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
}
.meto__photo { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/2; }
.meto__photo img { width: 100%; height: 100%; object-fit: cover; }
.includes { margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-dark); }
.includes__title { font-family: var(--font-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--text-on-dark-muted); margin-bottom: 24px; }
.includes__list { display: grid; gap: 4px 32px; }
.includes__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark-muted); }
.includes__list strong { color: var(--white); font-weight: 600; }
.includes__list .icon { width: 26px; height: 26px; color: var(--red-bright); margin-top: 1px; }

@media (min-width: 720px) {
  .meto { grid-template-columns: 1fr 1fr; }
  .meto__photo { grid-column: 1 / -1; aspect-ratio: 21/9; }
  .includes__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .meto { grid-template-columns: 1fr 1fr 1.35fr; }
  .meto__photo { grid-column: auto; aspect-ratio: auto; }
  .includes__list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Categorías ---------- */
.cats { display: grid; gap: 48px; }
.cats > *, .club > *, .femenino__grid > *, .equipacion__grid > *, .contact__grid > *, .ins-layout > *, .ins-cta > * { min-width: 0; }
.cats__intro .lead { margin-top: 22px; color: var(--text-muted); }
.finder { margin-top: 32px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.finder__label { display: block; font-family: var(--font-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .92rem; margin-bottom: 10px; }
.finder__row { display: flex; gap: 10px; }
.finder__input {
  flex: 1; min-width: 0; min-height: 52px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .06em; background: var(--paper);
}
.finder__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(165,16,26,.2); }
.finder__result { min-height: 1.6em; margin-top: 14px; font-weight: 500; }
.finder__result strong { color: var(--red); font-weight: 700; }
.finder__result.is-error { color: #9B1C1C; }
.cats__photo { display: none; margin-top: 32px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.cats__photo img { width: 100%; height: 100%; object-fit: cover; }

.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.table thead th {
  background: var(--ink); color: var(--white); text-align: left; padding: 16px 14px;
  font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem;
}
.table tbody th, .table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1; letter-spacing: .02em; }
.table td { font-variant-numeric: tabular-nums; font-weight: 500; }
.table tbody tr { transition: background-color .3s ease; }
.table tbody tr.is-match { background: #FBE9EA; }
.table tbody tr.is-match th { color: var(--red); box-shadow: inset 5px 0 0 var(--red); }
.fem-mark { display: inline-block; vertical-align: middle; margin-left: 6px; font-family: var(--font-cond); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-family: var(--font-cond); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: #F1E3E3; color: var(--red); white-space: nowrap; }
.tag--dark { background: var(--ink); color: var(--white); }
.cats__table .note { margin: 16px 0 24px; }

@media (max-width: 479px) {
  .table thead th:nth-child(3), .table td:nth-child(3) { display: none; }
  .table tbody th { font-size: 1.35rem; }
  .table tbody th, .table td { padding: 12px 10px; }
}
@media (min-width: 960px) {
  .cats { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .cats__photo { display: block; }
  .cats__intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Femenino ---------- */
.femenino { overflow: hidden; }
.femenino__grid { display: grid; gap: 56px; align-items: center; }
.femenino__text .lead { margin-top: 24px; color: rgba(255,255,255,.92); }
.checklist { display: grid; gap: 10px; margin: 28px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checklist .icon { width: 22px; height: 22px; padding: 3px; background: var(--white); color: var(--red); border-radius: 50%; stroke-width: 3; }
.femenino__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.fem-img { overflow: hidden; border-radius: var(--radius); background: var(--red-deep); }
.fem-img img { width: 100%; height: 100%; object-fit: cover; }
.fem-img--a { grid-row: span 2; aspect-ratio: auto; }
.fem-img--b { aspect-ratio: 3/2; }
.fem-img--c { aspect-ratio: 4/3; }
.fem-img--c img { object-position: 50% 8%; }
@media (min-width: 960px) {
  .femenino__grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .femenino__media { gap: 16px; }
  .fem-img--a { transform: translateY(-24px); }
  .fem-img--c { transform: translateY(24px); }
}

/* ---------- Agenda ---------- */
.agenda__head { display: grid; gap: 24px; margin-bottom: 32px; }
.agenda__date { margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--text-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: transparent;
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.chip:hover { background: rgba(17,17,17,.06); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.fixtures { display: grid; gap: 10px; }
.fixture {
  display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; align-items: center;
  padding: 16px 18px; background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--ink-3);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.fixture.is-home { border-left-color: var(--red); }
.fixture__day { grid-row: span 3; text-align: center; font-family: var(--font-display); line-height: .95; }
.fixture__day b { display: block; font-weight: 400; font-size: 2.1rem; }
.fixture__day span { font-family: var(--font-cond); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.fixture__cat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .88rem; color: var(--red); }
.fixture__cat .tag { font-size: .7rem; padding: 2px 8px; }
.fixture__teams { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.fixture__teams .us { color: var(--ink); font-weight: 700; }
.fixture__teams .vs { color: var(--text-muted); font-weight: 500; margin-inline: 4px; }
.fixture__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .92rem; color: var(--text-muted); }
.fixture__meta span { display: inline-flex; align-items: center; gap: 6px; }
.fixture__meta .icon { width: 1em; height: 1em; }
.fixture__meta .fixture__comp { flex-basis: 100%; font-size: .82rem; }
.fixtures__empty { padding: 24px; text-align: center; color: var(--text-muted); }
.agenda__note { margin-top: 24px; }
.agenda__note a { color: var(--red); font-weight: 600; }
@media (min-width: 720px) {
  .fixtures { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .agenda__head { grid-template-columns: 1fr auto; align-items: end; }
  .fixtures { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Equipación ---------- */
.equipacion__grid { display: grid; gap: 48px; align-items: start; }
.eq-hero { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; }
.eq-hero img { width: 100%; height: 100%; object-fit: cover; }
.eq-hero figcaption {
  position: absolute; left: 0; right: 0; top: 7%; text-align: center; color: var(--white);
  font-family: var(--font-display); font-size: clamp(4.5rem, 16vw, 8.5rem); line-height: .85;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.eq-hero figcaption span { display: block; font-size: .24em; letter-spacing: .5em; padding-left: .5em; }
.equipacion__text .lead { margin-top: 22px; color: var(--text-on-dark-muted); }
.eq-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.eq-details figure { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; }
.eq-details img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.eq-details figure:hover img { transform: scale(1.05); }
.eq-details figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; background: rgba(17,17,17,.82); color: var(--white);
  font-family: var(--font-cond); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px;
}
@media (min-width: 960px) {
  .equipacion__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
  .eq-hero { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Inscripción ---------- */
.section-head--left { margin-bottom: 48px; }
.steps { display: grid; gap: 0; border-top: 2px solid var(--ink); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps__n { grid-row: span 2; font-family: var(--font-display); font-size: 3.2rem; line-height: .85; color: var(--red); }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.steps p { color: var(--text-muted); font-size: 1rem; }
.fees { display: grid; gap: 14px; margin-top: clamp(48px, 7vw, 80px); }
.fee { padding: 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fee__name { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.fee__who { margin-top: 6px; font-size: .95rem; color: var(--text-muted); }
.fee__price { margin-top: 18px; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--red); }
.fee__price span { font-size: 4.2rem; }
.fee__alt { margin-top: 6px; font-size: .92rem; color: var(--text-muted); }
.fee--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.fee--featured .fee__who, .fee--featured .fee__alt { color: var(--text-on-dark-muted); }
.fee--featured .fee__price { color: var(--white); }
.fees__note { margin-top: 16px; max-width: 80ch; }
.ins-cta { display: grid; gap: 24px; margin-top: clamp(48px, 7vw, 80px); }
.docs { display: grid; gap: 8px; margin: 20px 0 16px; }
.docs a {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600;
  transition: border-color .2s ease, transform .2s var(--ease-out);
}
.docs a:hover { border-color: var(--red); transform: translateX(3px); }
.docs .icon { color: var(--red); }
.docs a span { margin-left: auto; font-family: var(--font-cond); font-size: .8rem; letter-spacing: .1em; color: var(--text-muted); }
.ins-cta .note a { color: var(--red); font-weight: 600; word-break: break-word; }
.ins-cta__box {
  padding: clamp(28px, 4vw, 44px); background: var(--red); color: var(--white); border-radius: var(--radius-lg); overflow: hidden;
}
.ins-cta__kicker { font-family: var(--font-cond); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; opacity: .9; }
.ins-cta__title { margin: 10px 0 26px; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .92; }
.ins-cta__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; font-weight: 600; text-decoration: none; }
.ins-cta__phone:hover { text-decoration: underline; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .fees { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .steps li { grid-template-columns: 1fr; padding: 24px 0 0; border-top: 2px solid var(--ink); border-bottom: 0; }
  .steps__n { grid-row: auto; margin-bottom: 8px; }
  .ins-cta { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: stretch; }
  .ins-cta__box { display: flex; flex-direction: column; justify-content: center; }
  .fee--featured { transform: translateY(-12px); }
}

/* ---------- Más club ---------- */
.more__grid { display: grid; gap: 40px; }
.more__item { display: grid; gap: 20px; }
.more__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.more__item p { margin: 10px 0 14px; color: var(--text-on-dark-muted); }
@media (min-width: 900px) { .more__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- Patrocinadores ---------- */
.sponsors { padding-block: clamp(56px, 8vw, 96px); background: var(--paper); border-bottom: 1px solid var(--line); }
.sponsors__title { font-family: var(--font-cond); font-weight: 600; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); text-align: center; margin-bottom: 32px; }
.sponsors__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sponsor { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 120px; padding: 18px 12px; background: var(--paper); text-align: center; }
.sponsor__role { font-family: var(--font-cond); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sponsor__name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; color: #3A3632; }
.sponsor--main { grid-column: 1 / -1; }
.sponsor--main .sponsor__name { font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--ink); }
@media (min-width: 900px) {
  .sponsors__list { grid-template-columns: 1.6fr repeat(2, 1fr); }
  .sponsor--main { grid-column: auto; }
}

/* ---------- Contacto ---------- */
.contact__grid { display: grid; gap: 56px; }
.contact__info .h2 { margin-bottom: 32px; }
.place { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.place__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; color: var(--red-on-dark); margin-bottom: 8px; }
.place p { color: var(--text-on-dark); }
.place strong { font-weight: 600; }
.place__meta { margin-top: 6px; font-size: .95rem; color: var(--text-on-dark-muted) !important; }
.contact__links { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.contact__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact__links a:hover { color: var(--red-on-dark); }
.contact__links .icon { color: var(--red-bright); }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.map__placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; padding: 22px;
  background:
    linear-gradient(0deg, rgba(17,17,17,.9), rgba(17,17,17,.35)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px),
    var(--ink-3);
  color: var(--text-on-dark-muted);
}

.card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form__intro { margin: 8px 0 24px; color: var(--text-muted); font-size: .95rem; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--paper); border: 1.5px solid #CFC8BF; border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B42318; background: #FFF6F5; }
.field__error { min-height: 0; margin-top: 6px; color: #B42318; font-size: .9rem; font-weight: 500; }
.field__error:empty { display: none; }
.field__hint { margin-top: 6px; font-size: .88rem; color: var(--text-muted); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.field--check label { font-weight: 500; margin: 0; }
.field--check label a { color: var(--red); }
.field--check .field__error { grid-column: 1 / -1; }
.form__status { margin-top: 14px; font-weight: 600; }
.form__status.is-ok { color: #146C2E; }
.form__status.is-error { color: #B42318; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--ink-2); color: var(--text-on-dark-muted); padding-bottom: 96px; }
.stripe { height: 14px; background: linear-gradient(180deg, var(--red) 0 35%, var(--white) 35% 65%, var(--red) 65%); }
.footer__grid { display: grid; gap: 40px; padding-block: 64px 40px; }
.footer__crest { width: 72px; }
.footer__motto { margin-top: 16px; font-family: var(--font-display); font-size: 2rem; line-height: .95; color: var(--white); }
.footer__h { font-family: var(--font-cond); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; }
.site-footer ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.footer__legal ul { display: flex; gap: 20px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer { padding-bottom: 0; } }

/* ---------- Barra móvil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(17,17,17,.96); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; min-height: 48px; }
.mobile-bar__call { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; min-height: 48px; color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 600; }
.mobile-bar__call .icon { width: 22px; height: 22px; }
@media (min-width: 1100px) { .mobile-bar { display: none; } }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .ticker { flex-wrap: wrap; justify-content: center; }
  .ticker__track[aria-hidden="true"] { display: none; }
  .ticker__track { flex-wrap: wrap; justify-content: center; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Página de inscripción
   ========================================================= */
.page-ins { background: var(--paper); }
.page-ins .site-header { background: var(--ink); }
.page-ins .site-footer { padding-bottom: 0; }
.ins-hero {
  padding: calc(var(--header-h) + 48px) 0 56px; background: radial-gradient(120% 120% at 90% 0%, #C3141F 0%, var(--red) 45%, var(--red-deep) 100%); color: var(--white);
}
.ins-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 9vw, 6rem); line-height: .9; }
.ins-hero p { margin-top: 16px; max-width: 58ch; font-size: var(--fs-lead); color: rgba(255,255,255,.92); }
.ins-layout { display: grid; gap: 32px; padding-block: 40px 96px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 28px; }
.progress li { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-cond); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.progress li::before { content: ""; height: 6px; border-radius: 3px; background: #DDD6CD; transition: background-color .3s ease; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--red); }
.progress li.is-current { color: var(--ink); }
.progress__label { display: none; }
@media (min-width: 560px) { .progress__label { display: inline; } }
.step-title { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; margin-bottom: 6px; }
.step-sub { color: var(--text-muted); margin-bottom: 24px; }
.form-step[hidden] { display: none; }
.form-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-nav .btn { flex: 1 1 auto; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; min-height: 50px; margin: 0; padding: 10px; border: 1.5px solid #CFC8BF; border-radius: var(--radius);
  background: var(--paper); cursor: pointer; font-weight: 600; transition: all .2s ease;
}
.segmented input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.segmented input:focus-visible + label { outline: 3px solid var(--red-bright); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.cat-preview {
  display: flex; align-items: center; gap: 14px; margin: -4px 0 18px; padding: 14px 16px; background: #FBE9EA; border-left: 5px solid var(--red); border-radius: var(--radius);
}
.cat-preview[hidden] { display: none; }
.cat-preview b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--red); }
.summary { display: grid; gap: 0; margin-bottom: 20px; border-top: 1px solid var(--line); }
.summary div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--text-muted); font-size: .95rem; }
.summary dd { font-weight: 600; word-break: break-word; }
.fee-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 20px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.fee-box b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.fee-box small { display: block; color: var(--text-on-dark-muted); font-size: .85rem; }
.success { text-align: center; padding: 16px 0; }
.success__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: var(--white); margin-bottom: 18px; }
.success__icon .icon { width: 38px; height: 38px; stroke-width: 3; }
.success ol { text-align: left; display: grid; gap: 10px; margin: 24px 0; counter-reset: s; }
.success ol li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.success ol li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: .9rem; }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: var(--text-on-dark); }
.aside-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--white); margin-bottom: 14px; }
.aside-card ul { display: grid; gap: 10px; color: var(--text-on-dark-muted); font-size: .97rem; }
.aside-card li { display: flex; gap: 10px; }
.aside-card li .icon { color: var(--red-bright); margin-top: 3px; }
.aside-card a { color: var(--white); font-weight: 600; }
.aside-photo { margin-top: 16px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; display: none; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.error-summary { padding: 14px 16px; margin-bottom: 20px; border: 2px solid #B42318; background: #FFF6F5; border-radius: var(--radius); color: #8A1C12; }
.error-summary[hidden] { display: none; }
.error-summary ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.error-summary a { color: inherit; }
@media (min-width: 960px) {
  .ins-layout { grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
  .ins-aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .aside-photo { display: block; }
}

/* ---------- Páginas legales ---------- */
.legal { padding-block: 40px 96px; }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-family: var(--font-cond); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.6rem); letter-spacing: .02em; text-transform: uppercase; margin: 40px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.legal__body p, .legal__body li { line-height: 1.65; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { padding-left: 1.2em; margin: 12px 0; display: grid; gap: 6px; }
.legal__body ul li { list-style: disc; }
.legal__body a { color: var(--red); font-weight: 600; }
.legal__data { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0; }
.legal__data dt { font-weight: 700; }
.legal__data dd { margin: 0; overflow-wrap: anywhere; }
.legal__table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal__table th { font-family: var(--font-cond); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.legal__wrap { overflow-x: auto; }
.legal__updated { margin-top: 40px; }
@media (max-width: 599px) {
  .legal__data { grid-template-columns: 1fr; gap: 2px; }
  .legal__data dd { margin-bottom: 10px; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 95;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 0 0 3px var(--white), 0 8px 24px -6px rgba(0,0,0,.45);
  transition: transform .2s var(--ease-out), bottom .3s var(--ease-out), box-shadow .2s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
/* En móvil, por encima de la barra inferior cuando aparece */
@media (max-width: 1099px) {
  .mobile-bar.is-visible ~ .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) { .wa-float { right: 24px; bottom: 24px; width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }
@media print { .wa-float { display: none; } }
