/* ─────────────────────────────────────────────────────────────────────
   Pala360 · Club — Premium Immersive (layout_2, migración 137)
   Mobile first (390 px) → 430 → tablet → 1024 → 1440 → 1920.
   Hoja propia: esta página no carga mercado.css. Tokens arriba; el color de
   acción (--acento) queda listo para la marca de cada club.
   ───────────────────────────────────────────────────────────────────── */
:root {
  --tinta: #0e1116; --tinta-2: #2a3038; --gris: #5d6672; --gris-claro: #9aa3ae;
  --papel: #f6f4ef; --blanco: #ffffff; --linea: rgba(14, 17, 22, .12); --linea-osc: rgba(255, 255, 255, .16);
  --acento: #165bea; --acento-hover: #0f49c4; --ok: #1f9d55;
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --e-1: 8px; --e-2: 16px; --e-3: 24px; --e-4: 40px; --e-5: 64px; --e-6: 96px;
  --lado: clamp(20px, 5vw, 72px);
  --ancho: 1360px;
  --t-hero: clamp(3.1rem, 13vw, 8rem);
  --t-h2: clamp(2.2rem, 6.4vw, 5rem);
  --t-h3: clamp(1.25rem, 2.2vw, 1.6rem);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--tinta); background: var(--papel); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.cp-salto { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--blanco); padding: 12px 16px; border-radius: var(--r-s); }
.cp-salto:focus { top: 12px; }
.cp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Botones y enlaces ─────────────────────────────────────────────── */
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; letter-spacing: -.01em; transition: background .2s var(--ease), transform .2s var(--ease), color .2s; white-space: nowrap; }
.cp-btn--acento { background: var(--acento); color: #fff; }
.cp-btn--acento:hover { background: var(--acento-hover); }
.cp-btn--claro { background: #fff; color: var(--tinta); }
.cp-btn--claro:hover { background: #ecebe6; }
.cp-btn--linea { border-color: currentColor; background: transparent; }
.cp-btn--chico { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cp-mas { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 16px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cp-mas::after { content: '→'; transition: transform .2s var(--ease); }
.cp-mas:hover::after { transform: translateX(3px); }

/* ── Cabecera: transparente sobre la portada, sólida al bajar ───────── */
.cp-cab { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: var(--e-2); padding: calc(10px + env(safe-area-inset-top)) var(--lado) 10px; color: #fff; transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.cp-cab--solida { background: rgba(246, 244, 239, .86); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); color: var(--tinta); box-shadow: 0 1px 0 var(--linea); }
.cp-marca { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.cp-marca img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; }
.cp-nav { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.cp-nav a { min-height: 44px; display: inline-flex; align-items: center; opacity: .88; }
.cp-nav a:hover { opacity: 1; }
.cp-cab__acc { display: flex; align-items: center; gap: 8px; }
.cp-menu-btn { width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.cp-menu-btn span, .cp-menu-btn span::before, .cp-menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.cp-menu-btn span::before, .cp-menu-btn span::after { content: ''; position: absolute; left: 0; }
.cp-menu-btn span::before { top: -6px; } .cp-menu-btn span::after { top: 6px; }
.cp-menu { position: fixed; inset: 0; z-index: 60; background: var(--tinta); color: #fff; padding: calc(80px + env(safe-area-inset-top)) var(--lado) var(--e-4); display: flex; flex-direction: column; gap: 4px; }
.cp-menu a { font-size: 34px; font-weight: 600; letter-spacing: -.02em; min-height: 56px; display: flex; align-items: center; border-bottom: 1px solid var(--linea-osc); }
.cp-menu__cerrar { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: var(--lado); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea-osc); background: transparent; color: #fff; font-size: 22px; }

/* ── Portada ───────────────────────────────────────────────────────── */
.cp-hero { position: relative; min-height: 74svh; height: 74svh; max-height: 980px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--tinta); }
.cp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, .5) 0%, rgba(8, 10, 14, 0) 22%, rgba(8, 10, 14, 0) 42%, rgba(8, 10, 14, .78) 100%); pointer-events: none; }
.cp-hero--sin-foto { background: radial-gradient(120% 90% at 20% 10%, #24324a 0%, var(--tinta) 60%); }
.cp-hero__txt { position: relative; z-index: 2; width: 100%; padding: 0 var(--lado) calc(var(--e-4) + 4px); max-width: var(--ancho); margin: 0 auto; }
.cp-hero h1 { font-size: var(--t-hero); line-height: .92; letter-spacing: -.045em; font-weight: 800; text-transform: uppercase; text-wrap: balance; max-width: 13ch; }
.cp-hero__lugar { margin-top: var(--e-2); font-size: 17px; opacity: .92; }
.cp-hero__estado { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; }
.cp-punto { width: 8px; height: 8px; border-radius: 50%; background: var(--gris-claro); }
.cp-punto--ok { background: #44d17a; box-shadow: 0 0 0 4px rgba(68, 209, 122, .22); }
.cp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-3); margin-top: var(--e-3); }
.cp-hero__ver { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; opacity: .9; }

/* ── Secciones ─────────────────────────────────────────────────────── */
.cp-sec { padding: var(--e-5) var(--lado); max-width: calc(var(--ancho) + 2 * var(--lado)); margin: 0 auto; }
.cp-sec--oscura { background: var(--tinta); color: #fff; max-width: none; }
.cp-sec--oscura > * { max-width: var(--ancho); margin-left: auto; margin-right: auto; }
.cp-sec--blanca { background: var(--blanco); max-width: none; }
.cp-sec--blanca > * { max-width: var(--ancho); margin-left: auto; margin-right: auto; }
.cp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.cp-sec--oscura .cp-eyebrow { color: var(--gris-claro); }
.cp-h2 { font-size: var(--t-h2); line-height: .98; letter-spacing: -.04em; font-weight: 800; margin-top: 10px; text-wrap: balance; }
.cp-bajada { margin-top: 12px; font-size: 18px; color: var(--gris); max-width: 46ch; }
.cp-sec--oscura .cp-bajada { color: var(--gris-claro); }
.cp-cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--e-2) var(--e-3); margin-bottom: var(--e-4); }

/* ── Qué quieres hacer ─────────────────────────────────────────────── */
.cp-acciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--linea); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.cp-accion { background: var(--papel); padding: var(--e-3) var(--e-2) var(--e-3); min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--e-2); transition: background .25s var(--ease); }
.cp-accion:hover { background: #efece5; }
.cp-accion:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cp-accion b { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.cp-accion span { font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.cp-accion span::after { content: ' →'; color: var(--gris); }

/* ── Juega hoy ─────────────────────────────────────────────────────── */
.cp-dias { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--lado)) var(--e-3); padding: 0 var(--lado); scroll-snap-type: x proximity; scroll-padding-inline: var(--lado); }
.cp-dias::-webkit-scrollbar, .cp-riel::-webkit-scrollbar { display: none; }
.cp-dia { flex: 0 0 auto; min-width: 64px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--r-m); border: 1px solid var(--linea); scroll-snap-align: start; font-size: 13px; color: var(--gris); }
.cp-dia b { font-size: 20px; color: var(--tinta); letter-spacing: -.02em; }
.cp-dia[aria-current] { background: var(--tinta); border-color: var(--tinta); color: #c9ced6; }
.cp-dia[aria-current] b { color: #fff; }
.cp-dia--vacio { opacity: .45; }
.cp-horas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cp-hora { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 88px; padding: 16px; border-radius: var(--r-m); background: var(--blanco); border: 1px solid var(--linea); transition: border-color .2s, transform .2s var(--ease); }
.cp-hora:hover { border-color: var(--tinta); }
.cp-hora b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cp-hora small { font-size: 14px; color: var(--gris); }
.cp-hora--pronto { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.cp-hora--pronto small { color: #c9ced6; }
.cp-hora em { order: -1; margin-bottom: 2px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fe7b8; }
.cp-vacio-reserva { padding: var(--e-3); border-radius: var(--r-m); background: var(--blanco); border: 1px solid var(--linea); }

/* ── Rieles (deslizar en móvil) ────────────────────────────────────── */
.cp-riel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--lado)); padding: 0 var(--lado) 4px; scrollbar-width: none; }
.cp-riel > * { scroll-snap-align: start; flex: 0 0 82%; }

/* ── Eventos ───────────────────────────────────────────────────────── */
.cp-ev { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--r-l); overflow: hidden; color: #fff; background: #1b2230; isolation: isolate; }
.cp-ev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.cp-ev:hover img { transform: scale(1.02); }
.cp-ev::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 14, .1) 30%, rgba(8, 10, 14, .85) 100%); }
.cp-ev--tipo { background: linear-gradient(160deg, #1f2a3d, #0e1116); }
.cp-ev--tipo::after { content: attr(data-sigla); position: absolute; top: 18px; right: 20px; font-size: 120px; line-height: 1; font-weight: 800; letter-spacing: -.06em; color: rgba(255, 255, 255, .06); z-index: -1; }
.cp-ev__fecha { position: absolute; top: 20px; left: 20px; text-align: center; line-height: 1; }
.cp-ev__fecha b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.cp-ev__fecha span { font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.cp-ev__cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cp-ev__tipo { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #c9ced6; }
.cp-ev h3 { font-size: 28px; line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.cp-ev__dato { font-size: 15px; color: #dfe3e8; }
.cp-ev__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }

/* ── Profesores ────────────────────────────────────────────────────── */
.cp-profe { display: flex; flex-direction: column; gap: 12px; }
.cp-profe__foto { aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: #e5e1d8; display: flex; align-items: center; justify-content: center; }
.cp-profe__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform .6s var(--ease); }
.cp-profe:hover .cp-profe__foto img { transform: scale(calc(var(--z, 1) * 1.02)); }
.cp-profe__foto:has(.cp-profe__ini) { background: radial-gradient(120% 90% at 20% 10%, #24324a 0%, var(--tinta) 70%); }
.cp-profe__ini { font-size: clamp(48px, 9vw, 72px); font-weight: 800; letter-spacing: -.05em; color: rgba(255, 255, 255, .9); }
.cp-profe h3 { font-size: var(--t-h3); letter-spacing: -.02em; }
.cp-profe__meta { font-size: 15px; color: var(--gris); }
.cp-profe__hora { font-size: 15px; }
.cp-profe__hora b { color: var(--ok); }

/* ── El club ───────────────────────────────────────────────────────── */
.cp-club__foto { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 10; background: #1b2230; }
.cp-club__foto img { width: 100%; height: 100%; object-fit: cover; }
.cp-cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3) var(--e-2); margin-top: var(--e-4); }
.cp-cifra b { display: block; font-size: clamp(3rem, 9vw, 5.5rem); line-height: .9; letter-spacing: -.05em; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-cifra span { display: block; margin-top: 8px; font-size: 15px; color: var(--gris-claro); }
.cp-servicios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--e-4); }
.cp-servicios span { padding: 9px 14px; border: 1px solid var(--linea-osc); border-radius: 999px; font-size: 14px; }

/* ── Galería ───────────────────────────────────────────────────────── */
.cp-gal { display: grid; gap: 10px; }
.cp-gal button { padding: 0; border: 0; background: #ddd8cf; border-radius: var(--r-m); overflow: hidden; display: block; width: 100%; }
.cp-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cp-gal button:hover img { transform: scale(1.02); }
.cp-gal__grande { aspect-ratio: 4 / 3; }
.cp-gal__chica { aspect-ratio: 4 / 3; }
.cp-luz { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 14, .96); }
.cp-luz::backdrop { background: rgba(8, 10, 14, .96); }
.cp-luz img { width: 100%; height: 100%; object-fit: contain; padding: calc(56px + env(safe-area-inset-top)) 8px calc(56px + env(safe-area-inset-bottom)); }
.cp-luz__cerrar { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linea-osc); background: rgba(0, 0, 0, .3); color: #fff; font-size: 22px; }
.cp-luz__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linea-osc); background: rgba(0, 0, 0, .3); color: #fff; font-size: 20px; }
.cp-luz__nav--prev { left: 10px; } .cp-luz__nav--sig { right: 10px; }

/* ── Canchas ───────────────────────────────────────────────────────── */
.cp-canchas { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--linea); }
.cp-cancha { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.cp-cancha b { font-size: 22px; letter-spacing: -.02em; }
.cp-cancha small { grid-column: 1; font-size: 14px; color: var(--gris); }
.cp-cancha img { grid-row: 1 / span 2; grid-column: 2; max-height: 34px; width: auto; max-width: 96px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.cp-mas-canchas summary { list-style: none; cursor: pointer; }
.cp-mas-canchas summary::-webkit-details-marker { display: none; }

/* ── Campeones ─────────────────────────────────────────────────────── */
.cp-campeon { padding: var(--e-3) 0; border-top: 1px solid var(--linea-osc); display: grid; gap: 6px; }
.cp-campeon .cp-eyebrow { color: #9fe7b8; }
.cp-campeon b { font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.cp-campeon span { color: var(--gris-claro); font-size: 15px; }

/* ── Tienda ────────────────────────────────────────────────────────── */
.cp-prod { display: flex; flex-direction: column; gap: 10px; }
.cp-prod__foto { aspect-ratio: 1; background: var(--blanco); border-radius: var(--r-l); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.cp-prod__foto img { max-height: 100%; width: auto; object-fit: contain; transition: transform .6s var(--ease); }
.cp-prod:hover .cp-prod__foto img { transform: scale(1.02); }
.cp-prod b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cp-prod span { font-size: 16px; color: var(--gris); }

/* ── Partners ──────────────────────────────────────────────────────── */
.cp-partners { display: flex; align-items: center; gap: var(--e-4); overflow-x: auto; scrollbar-width: none; padding: var(--e-2) 0; }
.cp-partners img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .7; transition: filter .3s, opacity .3s; }
.cp-partners a:hover img, .cp-partners img:hover { filter: none; opacity: 1; }

/* ── Ubicación, tarifas ────────────────────────────────────────────── */
.cp-ubica { display: grid; gap: var(--e-4); }
.cp-ubica address { font-style: normal; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.2; letter-spacing: -.02em; }
.cp-ubica__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--e-3); }
.cp-mapa { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: #e5e1d8; display: flex; align-items: center; justify-content: center; }
.cp-mapa iframe { width: 100%; height: 100%; border: 0; }
.cp-horario { margin-top: var(--e-3); font-size: 16px; }
.cp-horario summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--acento); font-weight: 600; }
.cp-horario dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 10px 0 0; }
.cp-horario dd { margin: 0; color: var(--gris); }
.cp-tarifas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-2); margin-top: var(--e-3); }
.cp-tarifa { padding: 18px; border-radius: var(--r-m); background: var(--blanco); border: 1px solid var(--linea); }
.cp-tarifa small { display: block; font-size: 13px; color: var(--gris); }
.cp-tarifa b { display: block; font-size: 24px; letter-spacing: -.02em; margin-top: 4px; }
.cp-hoja { border: 0; padding: 0; width: 100%; max-width: 640px; max-height: 86dvh; border-radius: var(--r-l) var(--r-l) 0 0; margin: auto auto 0; background: var(--blanco); color: var(--tinta); }
.cp-hoja::backdrop { background: rgba(8, 10, 14, .55); }
.cp-hoja__cuerpo { padding: var(--e-3) var(--lado) calc(var(--e-3) + env(safe-area-inset-bottom)); overflow-y: auto; max-height: 86dvh; }
.cp-hoja__cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: var(--e-2); }
.cp-hoja h2 { font-size: 26px; letter-spacing: -.02em; }
.cp-hoja__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: transparent; font-size: 20px; }
.cp-tabla { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 var(--e-3); }
.cp-tabla caption { text-align: left; font-weight: 700; padding: 10px 0; }
.cp-tabla th, .cp-tabla td { text-align: left; padding: 10px 0; border-top: 1px solid var(--linea); }
.cp-tabla td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── Pie ───────────────────────────────────────────────────────────── */
.cp-pie { background: #07090c; color: #c9ced6; padding: var(--e-5) var(--lado) calc(var(--e-5) + 70px + env(safe-area-inset-bottom)); }
.cp-pie > div { max-width: var(--ancho); margin: 0 auto; display: grid; gap: var(--e-4); }
.cp-pie__nombre { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; color: #fff; text-transform: uppercase; line-height: .95; }
.cp-pie nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.cp-pie nav a { min-height: 44px; display: inline-flex; align-items: center; color: #fff; }
.cp-pie small { font-size: 13px; color: #7d8590; }
.cp-pie small a { text-decoration: underline; }

/* ── Barra de reserva (móvil) ──────────────────────────────────────── */
.cp-barra { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--lado) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 244, 239, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--linea); display: flex; align-items: center; gap: 12px; transition: transform .35s var(--ease); }
.cp-barra__txt { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.cp-barra__txt b { display: block; font-size: 15px; }
.cp-barra--oculta { transform: translateY(110%); }

/* ── Aviso de vista previa ─────────────────────────────────────────── */
.cp-previa { position: fixed; z-index: 70; top: calc(70px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); background: #fff7d6; color: #4a3b00; border: 1px solid #f0d978; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); max-width: calc(100vw - 32px); text-align: center; }

/* ── Aparecer (sutil) ──────────────────────────────────────────────── */
.cp-js .cp-aparece { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cp-js .cp-aparece.cp-visto { opacity: 1; transform: none; }

/* ── 600 px ────────────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .cp-horas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-riel > * { flex-basis: 46%; }
  .cp-gal { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .cp-gal__grande { grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .cp-cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cp-tarifas { grid-template-columns: repeat(2, minmax(0, 220px)); }
  .cp-hoja { border-radius: var(--r-l); margin: auto; }
}
/* ── 1024 px ───────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  body { font-size: 18px; }
  .cp-nav { display: flex; }
  .cp-menu-btn { display: none; }
  .cp-hero { height: 86vh; min-height: 640px; }
  .cp-hero h1 { max-width: 14ch; }
  .cp-sec { padding-top: var(--e-6); padding-bottom: var(--e-6); }
  .cp-acciones { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
  .cp-accion:last-child:nth-child(odd) { grid-column: auto; }
  .cp-accion { min-height: 200px; padding: var(--e-4) var(--e-3); }
  .cp-accion span { font-size: 24px; }
  .cp-horas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cp-riel { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .cp-riel--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cp-ev { min-height: 520px; }
  .cp-club { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--e-5); align-items: center; }
  .cp-club .cp-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-canchas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e-5); }
  .cp-campeones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--e-4); }
  .cp-ubica { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .cp-pie > div { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .cp-barra { display: none; }
  .cp-pie { padding-bottom: var(--e-5); }
}
@media (min-width: 1440px) { :root { --lado: 80px; } }
@media (min-width: 1920px) { :root { --ancho: 1560px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .cp-js .cp-aparece { opacity: 1; transform: none; }
}

/* Con la barra de reservar abajo, el botón del asistente sube por encima de
   ella (en el teléfono). En escritorio no hay barra y queda donde siempre. */
@media (max-width: 1023px) {
  body:has(.cp-barra:not(.cp-barra--oculta)) .asi-lanzar { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transition: bottom .35s var(--ease); }
  .cp-previa { font-size: 12px; padding: 6px 12px; white-space: nowrap; }
  .cp-previa__mas { display: none; }
}

/* La huincha de novedades sobre la portada (3-oct-2026). Vidrio oscuro,
   para que se lea sobre cualquier foto sin taparla. */
.cp-news { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 12px;
  padding: 7px 14px; border-radius: 999px; background: rgba(4, 13, 33, .55); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14px; line-height: 1.3; }
.cp-news__punto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #F4D47C; }
.cp-news__lista { list-style: none; margin: 0; padding: 0; min-width: 0; }
.cp-news__it { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-news__it a { color: inherit; text-decoration: none; font-weight: 600; }
.cp-news__it a:hover { text-decoration: underline; }
.cp-news--rota .cp-news__it { display: none; }
.cp-news--rota .cp-news__it.es-actual { display: block; }
.cp-news__sig { flex: none; border: 0; background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
