/* ---------- Base común (se usa igual en todas las páginas) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; padding: 10px 14px; z-index: 100; background: #000; color: #fff; }
.saltar:focus { left: 8px; top: 8px; }
.form__error:empty { display: none; }
[hidden] { display: none !important; }

/* Botón flotante de WhatsApp con menú */
.wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: end; gap: 10px; transition: transform .3s ease, opacity .3s ease; }
.wa.oculto { transform: translateY(110px); opacity: 0; pointer-events: none; }
.wa__boton { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #1F8A4C; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s ease; }
.wa__boton:hover { transform: scale(1.06); }
.wa__boton:active { transform: scale(.95); }
.wa__boton .ico { width: 30px; height: 30px; }
.wa__menu { display: grid; gap: 6px; min-width: 230px; padding: 8px; border-radius: 16px; background: #fff; color: #1d1d1f; box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transform-origin: bottom right; transform: scale(.85) translateY(10px); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility 0s .22s; }
.wa.abierto .wa__menu { transform: none; opacity: 1; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
.wa__menu p { font-size: .8125rem; color: #555; padding: 6px 10px 2px; }
.wa__menu a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; background: #F1F4F2; }
.wa__menu a:hover, .wa__menu a:focus-visible { background: #DCF1E3; }

/* Movimiento al hacer scroll: solo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].visto { opacity: 1; transform: none; }
  .js [data-cascada] > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-cascada].visto > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Warriors ---------- */
:root {
  --negro: #121212;
  --carbon: #1E1B1A;
  --gris-calido: #2C2826;
  --piedra: #B9B0A7;
  --arena: #EFEAE4;
  --rojo: #D5121A;
  --rojo-osc: #A80E14;
  --fuente: "Archivo", system-ui, sans-serif;
  --max: 1180px;
  --g: 20px;
}
body { background: var(--negro); color: #F3F0EC; font: 400 1.0625rem/1.55 var(--fuente); font-stretch: 100%; }
h1, h2, h3 { font-weight: 900; font-stretch: 125%; line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }

.cabecera { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 10px var(--g); }
.marca img { width: 74px; height: auto; }
.cabecera__reservar { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; color: #fff; text-decoration: none; border: 2px solid #fff; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; }
.cabecera__reservar:hover { background: var(--rojo); border-color: var(--rojo); }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 24px; border: 2px solid transparent;
  font: 800 1rem/1.1 var(--fuente); font-stretch: 115%; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: transform .15s ease, background-color .15s ease; }
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: scale(.97); }
.boton--rojo { background: var(--rojo); color: #fff; }
.boton--rojo:hover { background: var(--rojo-osc); }
.boton--linea { border-color: #fff; color: #fff; }
.boton--linea:hover { background: #fff; color: var(--negro); }
.boton--blanco { background: #fff; color: var(--negro); }
.titulo { font-size: clamp(2.3rem, 11vw, 5.4rem); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.25) 30%, rgba(18,18,18,.92) 72%, var(--negro)); }
.hero__cont { min-width: 0; padding: 120px var(--g) 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__titulo { display: grid; gap: 10px; }
.hero__w { font-size: clamp(2.4rem, 12vw, 10rem); color: #fff; line-height: .82; }
.hero__sub-t { font-size: clamp(1.1rem, 5vw, 1.8rem); font-stretch: 110%; font-weight: 800; color: var(--rojo); letter-spacing: .01em; }
.hero__texto { color: #DAD3CC; max-width: 34em; }
.hero__accion { display: grid; gap: 10px; }
.hero__nota { color: var(--piedra); font-size: .95rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hero__num { font-weight: 900; font-stretch: 125%; font-size: 1.6rem; color: #fff; }
.hero__nota span[aria-hidden] { color: var(--rojo); }

@media (prefers-reduced-motion: no-preference) {
  .hero__fondo { animation: zoom 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero__w { animation: golpe .6s .15s cubic-bezier(.2,.9,.3,1.2) both; }
  .hero__sub-t { animation: barrido .6s .4s cubic-bezier(.7,0,.2,1) both; }
  .hero__texto, .hero__nota { animation: subir .6s .55s ease both; }
  .hero__accion { animation: subir .6s .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes zoom { from { transform: scale(1.12); filter: brightness(.3); } to { transform: none; } }
  @keyframes golpe { from { opacity: 0; transform: translateX(-30px) skewX(-8deg); } to { opacity: 1; transform: none; } }
  @keyframes barrido { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  @keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Actividades: tablero */
.actividades { max-width: var(--max); margin: 0 auto; padding: 64px var(--g); }
.actividades .titulo { margin-bottom: 18px; }
.tablero { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--rojo); }
.actividad { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.7rem, 9vw, 4.4rem); line-height: 1; padding: 12px 0; border-bottom: 1px solid var(--gris-calido);
  transition: color .2s ease, padding .25s ease, background-color .2s ease; cursor: default; }
.actividad:hover { color: var(--rojo); padding-left: 14px; }

/* Frases */
.frase { background: var(--rojo); color: #fff; padding: 64px var(--g); display: grid; gap: 22px; justify-items: start; }
.frase__texto { max-width: var(--max); margin: 0 auto; width: 100%; font-weight: 900; font-stretch: 112%; font-size: clamp(1.9rem, 8.6vw, 4rem); line-height: 1; text-transform: uppercase; }
.frase--claro { background: var(--arena); color: var(--negro); }
.frase--claro .boton { margin: 0 auto; }
.frase--claro { justify-items: stretch; }
.frase--claro .boton { justify-self: start; margin-left: max(0px, calc((100% - var(--max)) / 2)); }

/* Fotos */
.fotos { padding: 8px; }
.fotos__grilla { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fotos__grilla li { aspect-ratio: 3 / 4; overflow: hidden; background: var(--carbon); }
.fotos__grilla li:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.fotos__grilla img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.fotos__grilla li:hover img { transform: scale(1.05); }

/* Planes */
.planes { max-width: var(--max); margin: 0 auto; padding: 64px var(--g); }
.planes .titulo { margin-bottom: 20px; }
.planes__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan { background: var(--carbon); padding: 22px 20px; display: grid; gap: 10px; justify-items: start; border-left: 6px solid var(--rojo); transition: transform .2s ease, background-color .2s ease; }
.plan:hover { transform: translateX(4px); background: var(--gris-calido); }
.plan__nombre { font-size: clamp(1.6rem, 7vw, 2.2rem); }
.plan__detalle { color: var(--piedra); }
.consultar { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; color: #fff; text-decoration: none; border-bottom: 3px solid var(--rojo); padding: 6px 0; }
.consultar:hover { color: var(--rojo); }
.sportclub { margin-top: 24px; background: #fff; color: var(--negro); padding: 22px 20px; display: grid; gap: 14px; justify-items: start; }
.sportclub__sello { font-weight: 900; font-stretch: 125%; font-size: 1.1rem; text-transform: uppercase; background: var(--negro); color: #fff; padding: 6px 10px; transform: rotate(-3deg); }
.sportclub__titulo { font-size: clamp(1.5rem, 6.5vw, 2rem); margin-bottom: 6px; }
.sportclub .boton--blanco { background: var(--negro); color: #fff; }

/* Visita */
.visita { max-width: var(--max); margin: 0 auto; padding: 64px var(--g) 72px; display: grid; gap: 24px; }
.visita__info { display: grid; gap: 16px; align-content: start; }
address { font-style: normal; font-size: 1.15rem; font-weight: 500; }
.visita__horarios { color: var(--piedra); }
.visita__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visita__acciones .boton { padding: 12px 8px; font-size: .9rem; }
.visita__mapa { aspect-ratio: 4 / 3; background: var(--carbon); }
.visita__mapa iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.9) contrast(.9); }

.pie { border-top: 3px solid var(--rojo); text-align: center; padding: 40px var(--g) 110px; display: grid; gap: 4px; justify-items: center; color: var(--piedra); }
.pie img { width: 110px; height: auto; margin-bottom: 8px; }
.pie a { color: #fff; text-underline-offset: 4px; }
.pie__brito { margin-top: 12px; font-size: .85rem; }

.wa__boton { background: var(--rojo); }
.wa__menu { border-radius: 0; }
.wa__menu a { border-radius: 0; background: var(--arena); }
.wa__menu a:hover, .wa__menu a:focus-visible { background: #E0D8CF; }

@media (min-width: 820px) {
  :root { --g: 40px; }
  .marca img { width: 96px; }
  .hero__accion { grid-auto-flow: column; justify-content: start; }
  .tablero { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .fotos__grilla { grid-template-columns: repeat(4, 1fr); }
  .fotos__grilla li:nth-child(3) { grid-column: span 2; aspect-ratio: auto; }
  .planes__lista { grid-template-columns: repeat(3, 1fr); }
  .sportclub { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
  .visita { grid-template-columns: 1fr 1.3fr; }
  .visita__mapa { aspect-ratio: auto; min-height: 380px; }
  .pie { padding-bottom: 48px; }
}
