/* ====================================================================
   FLOW FITNESS CLUB
   Idea: el pase de prueba como objeto. Una tarjeta de socio azul cobalto
   en la que aparece tu nombre mientras lo escribís; el mismo nombre viaja
   en el WhatsApp. La onda del "flow" es el único adorno.
   ==================================================================== */
:root {
  --cobalto: #2140D9;
  --cobalto-oscuro: #172FA8;
  --hielo: #EAF0FF;
  --noche: #141A33;
  --coral: #FF6B4A;
  --blanco: #FFFFFF;
  --gris: #56607A;
  --wa: #25D366;

  --fuente: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--fuente); background: var(--blanco); color: var(--noche); line-height: 1.6; font-size: 1rem; }
a { color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.1rem; }

/* Cabecera */
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.marca { font-weight: 800; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.02em; }
.cabecera-tel { font-weight: 600; text-decoration: none; color: var(--cobalto); white-space: nowrap; }

/* ====================================================================
   PRESENTACIÓN + PASE
   ==================================================================== */
.inicio { background: var(--hielo); padding: 2rem 0 3.2rem; overflow: hidden; }
.inicio-grilla { display: grid; gap: 2.2rem; align-items: center; }
.inicio h1 {
  font-weight: 800;
  font-size: clamp(2.2rem, 8.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 13ch;
}
.bajada { max-width: 40ch; color: var(--gris); margin: 1rem 0 1.4rem; }
.pase-form { display: grid; gap: 0.5rem; max-width: 420px; }
.pase-form label { font-weight: 600; font-size: 0.95rem; }
.pase-form input {
  font: inherit;
  font-size: 1.1rem;
  min-height: 52px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--noche);
  border-radius: 12px;
  background: var(--blanco);
  width: 100%;
}
.boton-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  background: var(--wa);
  color: #0B2915;
  font-weight: 600;
  text-decoration: none;
}
.boton-wa:hover { background: #1FB855; }

/* La tarjeta */
.pase {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.586;
  justify-self: center;
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--cobalto) 0%, var(--cobalto-oscuro) 100%);
  color: var(--blanco);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(23, 47, 168, 0.35);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}
.pase-onda { position: absolute; left: 0; right: 0; top: 26%; width: 100%; height: 34%; fill: none; stroke: var(--coral); stroke-width: 10; stroke-linecap: round; opacity: 0.9; }
.pase-marca { position: relative; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.pase-titulo { position: relative; font-size: 0.9rem; color: #C3CEFF; }
.pase-titular { position: relative; align-self: end; font-weight: 800; font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.pase-titular.vacio { color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.pase-direccion { position: relative; font-size: 0.85rem; color: #C3CEFF; }
@media (min-width: 880px) {
  .inicio { padding: 3.5rem 0 5rem; }
  .inicio-grilla { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .pase { transform: rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) { .pase { transform: none; } }

/* ====================================================================
   EL LUGAR + EL NÚMERO
   ==================================================================== */
h2 { font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; }
.lugar { padding: 3.4rem 0; }
.lugar h2 { margin-bottom: 1.4rem; }
.lugar-lista { display: grid; gap: 1.4rem; }
.lugar-lista li { padding-left: 1rem; border-left: 4px solid var(--cobalto); }
.lugar-lista h3 { font-size: 1.15rem; font-weight: 600; }
.lugar-lista p { color: var(--gris); }
@media (min-width: 820px) { .lugar-lista { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; max-width: 820px; } }

.numero { background: var(--noche); color: var(--blanco); padding: 2.4rem 0; }
.numero-fila { display: grid; gap: 0.3rem; }
.numero p { color: #B7C0DA; }
.numero-grande { font-weight: 800; font-size: clamp(2.6rem, 13vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; text-decoration: none; color: var(--blanco); }
.numero-grande:hover { color: var(--coral); }
@media (min-width: 820px) { .numero-fila { grid-template-columns: auto 1fr; align-items: baseline; gap: 2rem; } }

/* ====================================================================
   UBICACIÓN Y PIE
   ==================================================================== */
.ubicacion { padding: 3.2rem 0; }
.ubicacion-fila { display: grid; gap: 1.6rem; align-items: center; }
.ubicacion h2 { margin-bottom: 0.6rem; }
.ubicacion p { color: var(--gris); margin-bottom: 0.4rem; }
.resenas a { color: var(--noche); text-underline-offset: 4px; }
.boton-contorno { display: inline-flex; align-items: center; min-height: 48px; margin-top: 0.8rem; padding: 0.6rem 1.3rem; border: 2px solid var(--noche); border-radius: 12px; font-weight: 600; text-decoration: none; }
.boton-contorno:hover { background: var(--hielo); }
#mapa-iframe { width: 100%; height: 300px; border: 0; border-radius: 20px; background: var(--hielo); }
@media (min-width: 860px) { .ubicacion-fila { grid-template-columns: 1fr 1.3fr; gap: 3rem; } #mapa-iframe { height: 340px; } }

.pie { background: var(--hielo); color: var(--gris); padding: 2rem 0 6rem; font-size: 0.9rem; }
.pie p + p { margin-top: 0.3rem; }
.demo-aviso { font-style: italic; }
.credito a { color: var(--cobalto); font-weight: 600; }

.flotante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--wa);
  color: #0B2915;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.flotante span { display: none; }
@media (min-width: 640px) { .flotante { padding: 0.85rem 1.25rem; } .flotante span { display: inline; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
