/* =============================================================================
   IMPROVEFIT · site.css
   Componentes. Depende de base.css.

   Referencias fusionadas:
     · Wellhub  → buscador doble, chips de filtro, tarjetas de plan por niveles,
                  todo redondeado y ordenado como un marketplace.
     · Grandgym → claridad comercial, galerías de fotos, tarifas muy visibles,
                  botones grandes y ventana de clase de prueba.
   Sobre eso, el sistema oscuro de RACHA con los pigmentos de ImproveFit:
   fondo negro escalonado, el ascua naranja y esquinas muy redondeadas.
   ========================================================================== */

/* =========================================================================
   FOTOGRAFÍA · a color, cálida y con esquina redonda
   ====================================================================== */
.foto { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--campo); border: 1px solid var(--linea); }
.foto picture { display: block; width: 100%; height: 100%; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.foto--zoom:hover img { transform: scale(1.04); }
/* Compatibilidad con el marcado antiguo */
.duo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--campo); }
.duo picture { display: block; width: 100%; height: 100%; }
.duo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   BOTONES
   Grandes, redondos y con respuesta: al pasar por encima suben un poco y el
   naranja deja pasar un brillo. Al pulsar, bajan. Se nota que se ha tocado.
   ====================================================================== */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem; min-height: 3.6rem;
  border: 2px solid var(--linea-2); background: transparent; color: var(--texto);
  font-family: var(--cuerpo);
  font-size: var(--t-sm); font-weight: 700; letter-spacing: 0;
  border-radius: var(--pill); text-align: center; line-height: 1.25;
  transition: background var(--dur-rapido) var(--ease), color var(--dur-rapido) var(--ease),
              border-color var(--dur-rapido) var(--ease), transform var(--dur) var(--ease-muelle),
              box-shadow var(--dur) var(--ease);
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:hover, .btn:focus-visible { background: rgba(244,241,236,.07); border-color: var(--texto-3); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }

.btn--naranja {
  background: var(--naranja); border-color: var(--naranja); color: var(--tinta);
  box-shadow: var(--sombra-naranja);
}
/* El brillo que cruza el botón naranja al pasar por encima */
.btn--naranja::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn--naranja:hover, .btn--naranja:focus-visible {
  background: var(--naranja-cl); border-color: var(--naranja-cl); color: var(--tinta);
  box-shadow: 0 16px 40px rgba(242,132,30,.42);
}
.btn--naranja:hover::after, .btn--naranja:focus-visible::after { transform: translateX(120%); }

.btn--suave { border-color: var(--linea-2); background: var(--campo); }
.btn--suave:hover { border-color: var(--texto-3); background: var(--carta); }
.btn--claro { background: var(--texto); border-color: var(--texto); color: var(--tinta); }
.btn--claro:hover, .btn--claro:focus-visible { background: #fff; border-color: #fff; color: var(--tinta); }
.btn--tel { border-color: rgba(244,241,236,.45); color: var(--texto); background: rgba(13,14,16,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--tel:hover, .btn--tel:focus-visible { background: var(--texto); color: var(--tinta); border-color: var(--texto); }

.btn--bloque { width: 100%; }
.btn--grande { padding: 1.15rem 2.1rem; min-height: 4.25rem; font-size: 1.25rem; }
.btn--pequeno { padding: .6rem 1.2rem; min-height: 3rem; font-size: var(--t-xs); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .4; pointer-events: none; }

.enlace {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 3rem;
  font-size: var(--t-sm); font-weight: 700; color: var(--naranja);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: gap var(--dur-rapido) var(--ease), color var(--dur-rapido) var(--ease);
}
.enlace:hover, .enlace:focus-visible { gap: .85rem; color: var(--naranja-cl); }
.enlace svg { width: .9em; height: .9em; flex: none; }
.enlace svg + svg { display: none; }

/* =========================================================================
   CABECERA
   Transparente sobre la foto de la portada y negra en cuanto se baja. El
   teléfono va escrito entero en el ordenador: es lo que más se busca.
   ====================================================================== */
.cabecera {
  position: sticky; top: 0; z-index: var(--z-cabecera);
  background: rgba(13,14,16,.72);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.cabecera.pegada { background: rgba(13,14,16,.94); border-bottom-color: var(--linea); }
.cabecera__barra { display: flex; align-items: center; gap: var(--s-5); height: var(--cabecera); transition: height .35s var(--ease); }
.cabecera.pegada .cabecera__barra { height: 4.25rem; }

.marca { display: flex; align-items: center; gap: .7rem; flex: none; }
.marca img { width: 2.4rem; height: 2.4rem; border-radius: 50%; transition: transform .6s var(--ease-muelle); }
.marca:hover img { transform: rotate(-12deg) scale(1.06); }
.marca__texto { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; }

.cabecera__nav { display: none; margin-left: auto; }
@media (min-width: 1180px) { .cabecera__nav { display: flex; align-items: center; gap: .1rem; } }
.cabecera__link {
  position: relative;
  font-size: var(--t-sm); font-weight: 700; color: var(--texto-2); white-space: nowrap;
  padding: .7rem .85rem; border-radius: var(--pill);
  transition: color var(--dur-rapido) var(--ease);
}
/* La raya naranja crece desde el centro bajo el enlace */
.cabecera__link::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 3px; border-radius: 2px;
  background: var(--naranja); transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.cabecera__link:hover, .cabecera__link:focus-visible { color: var(--texto); }
.cabecera__link:hover::after, .cabecera__link[aria-current]::after { transform: scaleX(1); }
.cabecera__link[aria-current] { color: var(--texto); }

.cabecera__acciones { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
@media (min-width: 1180px) { .cabecera__acciones { margin-left: var(--s-3); } }
.cabecera__cta { display: none; white-space: nowrap; }
@media (min-width: 620px) { .cabecera__cta { display: inline-flex; } }
.cabecera__tel {
  display: none; align-items: center; gap: .5rem; min-height: 3rem; padding-inline: .4rem;
  font-weight: 700; font-size: var(--t-sm); color: var(--texto); white-space: nowrap;
}
.cabecera__tel svg { width: 1.25rem; height: 1.25rem; color: var(--naranja); }
.cabecera__tel:hover { color: var(--naranja); }
@media (min-width: 820px) { .cabecera__tel { display: inline-flex; } }

.plan-btn { position: relative; display: none; }
.plan-btn.activo { display: inline-flex; }
.plan-btn__contador {
  position: absolute; top: -.3rem; right: -.3rem;
  min-width: 1.35rem; height: 1.35rem; padding-inline: .22rem;
  display: grid; place-items: center; border-radius: var(--pill);
  background: var(--naranja); color: var(--tinta);
  font-size: 1rem; font-weight: 700;
}

/* Con la palabra al lado: tres rayas solas no todo el mundo sabe qué son */
.hamburguesa { min-height: 3.1rem; padding: 0 1.15rem 0 1rem; display: inline-flex; align-items: center; gap: .65rem; font-size: var(--t-sm); font-weight: 700; color: var(--texto); border: 2px solid var(--linea-2); border-radius: var(--pill); background: var(--campo); }
@media (min-width: 1180px) { .hamburguesa { display: none; } }
.hamburguesa span { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--texto); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.hamburguesa span + span { margin-top: .27rem; }
.hamburguesa__rayas { display: block; }
.hamburguesa__txt { font-weight: 700; }
.hamburguesa[aria-expanded='true'] span:nth-child(1) { transform: translateY(.45rem) rotate(45deg); }
.hamburguesa[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded='true'] span:nth-child(3) { transform: translateY(-.45rem) rotate(-45deg); }

.progreso { position: absolute; left: 0; bottom: -1px; height: 3px; width: var(--avance, 0%); background: var(--grad); transition: width .12s linear; }

/* El menú del móvil: a pantalla completa, enlaces grandes que entran uno a uno */
.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-cabecera) - 1);
  background: radial-gradient(120% 60% at 100% 0%, rgba(242,132,30,.16), transparent 60%), var(--fondo);
  padding: 6.5rem var(--gutter) var(--s-8);
  display: grid; align-content: start;
  clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
  transition: clip-path .6s var(--ease-out);
  overflow-y: auto;
}
.menu[data-abierto='true'] { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); }
.menu__link {
  font-family: var(--display);
  font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 800; letter-spacing: -.03em;
  padding-block: var(--s-4); border-bottom: 1px solid var(--linea);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  opacity: 0; transform: translateY(1rem);
  transition: color var(--dur-rapido) var(--ease), opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.menu[data-abierto='true'] .menu__link { opacity: 1; transform: none; }
.menu[data-abierto='true'] .menu__link:nth-child(2) { transition-delay: .05s; }
.menu[data-abierto='true'] .menu__link:nth-child(3) { transition-delay: .1s; }
.menu[data-abierto='true'] .menu__link:nth-child(4) { transition-delay: .15s; }
.menu[data-abierto='true'] .menu__link:nth-child(5) { transition-delay: .2s; }
.menu__link:hover { color: var(--naranja); }
.menu__link span { display: none; }
.menu__pie { margin-top: var(--s-7); display: grid; gap: var(--s-3); }

/* =========================================================================
   MIEDOS · tarjetas
   ====================================================================== */
.miedos { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .miedos { grid-template-columns: repeat(3, 1fr); } }
.miedo {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-3); align-content: start;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-out), border-color var(--dur-rapido) var(--ease);
}
.miedo:hover { background: var(--campo); transform: translateY(-3px); border-color: var(--linea-2); }
.miedo b { font-family: var(--display); font-size: var(--t-lg); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.miedo span { font-size: var(--t-sm); color: var(--texto-2); }
.miedo .enlace { justify-self: start; margin-top: var(--s-2); }

/* =========================================================================
   TEST DE TRES PREGUNTAS
   ====================================================================== */
.test {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-xl);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  position: relative; overflow: hidden;
}
.test__barra { display: flex; gap: .35rem; margin-bottom: var(--s-6); }
.test__paso { height: 4px; flex: 1; background: var(--linea-2); border-radius: var(--pill); overflow: hidden; }
.test__paso i { display: block; height: 100%; width: 0; background: var(--naranja); border-radius: var(--pill); transition: width .5s var(--ease-out); }
.test__paso.hecho i, .test__paso.activo i { width: 100%; }

.test__pregunta, .test__resultado { display: grid; gap: var(--s-5); animation: entra .4s var(--ease-out); }
@keyframes entra { from { opacity: 0; transform: translateY(.7rem); } }
.test__num { font-family: var(--mono); font-size: var(--t-nota); font-weight: 400; letter-spacing: 0; color: var(--texto-3); }
.test__titulo { font-family: var(--display); font-size: var(--t-xl); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; }
.test__opciones { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .test__opciones { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.test__op {
  text-align: left; padding: var(--s-5); border: 1.5px solid var(--linea-2); border-radius: var(--r-lg);
  background: var(--campo); display: grid; gap: .25rem; align-content: start;
  transition: border-color var(--dur-rapido) var(--ease), background var(--dur-rapido) var(--ease),
              transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.test__op:hover, .test__op:focus-visible { border-color: var(--naranja); background: var(--brasa); transform: translateY(-3px); }
.test__op b { font-family: var(--display); font-size: var(--t-md); font-weight: 800; letter-spacing: -.015em; }
.test__op span { font-size: var(--t-xs); color: var(--texto-3); }
.test__atras { justify-self: start; font-size: var(--t-xs); font-weight: 600; color: var(--texto-3); min-height: 2.75rem; display: inline-flex; align-items: center; }
.test__atras:hover { color: var(--naranja); }
.test__zona { font-family: var(--display); font-size: var(--t-xl); font-weight: 900; letter-spacing: -.03em; color: var(--naranja); }
.test__clase { background: var(--campo); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-2); }
.test__clase b { font-family: var(--display); font-size: var(--t-md); font-weight: 800; }
.test__clase span { font-size: var(--t-sm); color: var(--texto-2); }
.test__acciones { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* =========================================================================
   CALCULADORA
   ====================================================================== */
.calc {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-xl);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  display: grid; gap: var(--s-6);
}
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0,1fr) minmax(0,18rem); gap: var(--s-8); align-items: start; } }
.calc__grupo { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.calc__grupo:last-child { margin-bottom: 0; }
.calc__label { font-size: var(--t-sm); font-weight: 700; color: var(--texto); }
.calc__ops { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.calc__op {
  padding: .7rem 1.25rem; min-height: 2.9rem; border: 1.5px solid var(--linea-2); border-radius: var(--pill);
  background: var(--campo);
  font-size: var(--t-sm); font-weight: 700; color: var(--texto-2);
  transition: all var(--dur-rapido) var(--ease);
}
.calc__op:hover { border-color: var(--texto-3); color: var(--texto); }
.calc__op[aria-pressed='true'] { background: var(--naranja); border-color: var(--naranja); color: var(--tinta); }
.calc__salida {
  background: var(--grad); color: var(--tinta); border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-2); align-content: start;
}
.calc__plan { font-family: var(--display); font-size: var(--t-md); font-weight: 800; }
.calc__precio { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -.045em; color: var(--tinta); }
.calc__precio small { display: block; font-size: var(--t-xs); font-weight: 600; color: rgba(14,16,19,.72); margin-top: .4rem; letter-spacing: 0; }
.calc__nota { font-size: var(--t-xs); color: rgba(14,16,19,.72); }
.calc__salida .ante, .calc__salida .ante::before { color: var(--tinta); background-color: transparent; }
.calc__salida .ante::before { background: var(--tinta); }
.calc__salida .btn { background: var(--tinta); border-color: var(--tinta); color: var(--texto); box-shadow: none; }
.calc__salida .btn:hover { background: #000; border-color: #000; filter: none; }
.calc__salida .btn { margin-top: var(--s-3); }

/* =========================================================================
   ZONAS · tarjetas grandes
   ====================================================================== */
/* Las salas en «El centro»: filas grandes, la foto a un lado y al otro,
   alternando. Los datos, en números grandes que se leen de un vistazo. */
.zonas { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); }
.zona { display: grid; gap: var(--s-6); align-items: center; scroll-margin-top: 6rem; }
@media (min-width: 960px) {
  .zona { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-9); }
  .zona:nth-child(even) .zona__media { order: 2; }
}
.zona__media { aspect-ratio: 4/3; border-radius: var(--r-xl); border: 0; margin: 0; box-shadow: var(--sombra-3); }
.zona__media img { width: 100%; height: 100%; object-fit: cover; }
.zona__cuerpo { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.zona__titular { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); }
.zona__desc { font-size: var(--t-sm); color: var(--texto-2); }
.zona__para { font-size: var(--t-sm); color: var(--texto); padding: var(--s-4) var(--s-5); border-left: 4px solid var(--naranja); background: var(--carta); border-radius: 0 var(--r) var(--r) 0; }
.zona__para b { color: var(--naranja); }
.zona__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); gap: var(--s-3); }
.zona__datos li { display: grid; gap: .1rem; padding: var(--s-4); border-radius: var(--r-lg); background: var(--carta); border: 1px solid var(--linea); }
.zona__datos b { font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--naranja); }
.zona__datos span { font-size: var(--t-xs); color: var(--texto-2); }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .9rem; border-radius: var(--pill); background: var(--campo); border: 1px solid var(--linea-2); font-size: var(--t-xs); color: var(--texto-2); }
.chip b { font-weight: 700; color: var(--texto); }
.zona__pie { margin-top: var(--s-2); display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* =========================================================================
   TOUR
   ====================================================================== */
.tour__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .tour__grid { grid-template-columns: minmax(0,1fr) auto; gap: var(--s-8); } }
.reproductor { position: relative; width: min(19rem, 70vw); aspect-ratio: 9/16; margin-inline: auto; background: var(--campo); border: 1px solid var(--linea); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sombra-2); }
.reproductor video, .reproductor img { width: 100%; height: 100%; object-fit: cover; }
.reproductor__play {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; gap: var(--s-4); align-content: center;
  background: linear-gradient(180deg, rgba(10,12,14,.1), rgba(10,12,14,.6));
  color: var(--texto); transition: opacity .3s var(--ease);
}
.reproductor__play i { width: 4.25rem; height: 4.25rem; border-radius: 50%; background: var(--naranja); display: grid; place-items: center; box-shadow: var(--sombra-naranja); transition: transform .3s var(--ease-out); }
.reproductor__play:hover i { transform: scale(1.08); }
.reproductor__play svg { width: 1.3rem; height: 1.3rem; margin-left: .18rem; color: var(--tinta); }
.reproductor__play span {
  font-size: var(--t-xs); font-weight: 700;
  background: rgba(10,12,14,.82); color: var(--texto);
  padding: .4rem .9rem; border-radius: var(--pill);
}
.reproductor.reproduciendo .reproductor__play { opacity: 0; pointer-events: none; }

/* =========================================================================
   PASOS
   ====================================================================== */
.pasos { display: grid; gap: var(--s-4); counter-reset: paso; }
@media (min-width: 900px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.pasos--dos { grid-template-columns: 1fr; }
@media (min-width: 560px) { .pasos--dos { grid-template-columns: 1fr 1fr; } }
.paso {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-3); align-content: start;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.paso:hover { background: var(--campo); border-color: var(--linea-2); transform: translateY(-3px); }
.paso__n {
  font-family: var(--display); font-size: 2.75rem; font-weight: 900;
  line-height: 1; letter-spacing: -.04em; color: #67717C;
}
.paso h3 { font-size: var(--t-md); }
.paso p { font-size: var(--t-sm); color: var(--texto-2); }

/* El último paso arde: es el que cierra y el que hay que mirar */
.paso:last-child { background: var(--grad); border-color: transparent; }
.paso:last-child:hover { background: var(--grad); border-color: transparent; filter: brightness(1.05); }
.paso:last-child .paso__n { color: rgba(14,16,19,.3); }
.paso:last-child h3 { color: var(--tinta); }
.paso:last-child p { color: rgba(14,16,19,.8); }

/* =========================================================================
   TARIFAS · tarjetas por niveles
   ====================================================================== */
.tarifas { display: grid; gap: var(--s-4); }
@media (min-width: 700px)  { .tarifas { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1080px) { .tarifas { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.tarifa {
  background: var(--carta); border: 1.5px solid var(--linea); border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-3); align-content: start; position: relative;
  transition: border-color var(--dur-rapido) var(--ease), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.tarifa:hover { border-color: var(--naranja); transform: translateY(-3px); box-shadow: var(--sombra-2); }
.tarifa--destacada { border-color: var(--naranja); box-shadow: var(--sombra-2); }
.tarifa__insignia { position: absolute; top: -.7rem; left: var(--s-5); background: var(--naranja); color: var(--tinta); padding: .3rem .8rem; border-radius: var(--pill); font-family: var(--mono); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.tarifa h3 { font-size: var(--t-md); }
.tarifa__precio { font-family: var(--display); font-size: clamp(2.1rem, 5vw, 2.75rem); font-weight: 900; line-height: 1; letter-spacing: -.045em; color: var(--naranja); }
.tarifa__precio small { display: block; font-family: var(--cuerpo); font-size: var(--t-xs); font-weight: 500; color: var(--texto-3); margin-top: .35rem; letter-spacing: 0; }
.tarifa__nota { font-size: var(--t-sm); color: var(--texto-2); }
.tarifa__centro { font-family: var(--mono); font-size: var(--t-xs); color: var(--texto-3); }

/* =========================================================================
   CATÁLOGO
   ====================================================================== */
.catalogo__controles {
  display: grid; gap: var(--s-4);
  position: sticky; top: var(--cabecera); z-index: 20;
  background: rgba(14,16,19,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--linea); margin-bottom: var(--s-6);
}
@media (min-width: 900px) { .catalogo__controles { grid-template-columns: minmax(0,21rem) 1fr; align-items: center; } }
.buscador { position: relative; }
.buscador input {
  width: 100%; padding: .8rem 2.6rem .8rem 2.6rem;
  background: var(--campo); border: 1.5px solid var(--linea-2); border-radius: var(--pill);
  color: var(--texto); font-size: var(--t-sm); font-weight: 500;
  transition: border-color var(--dur-rapido) var(--ease), background var(--dur-rapido) var(--ease);
}
.buscador input::placeholder { color: var(--gris-2); }
.buscador input:focus { border-color: var(--naranja); background: var(--carta); outline: none; }
.buscador__icono { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 1.05rem; height: 1.05rem; color: var(--gris-2); pointer-events: none; }
.buscador__limpiar { position: absolute; right: .55rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; display: none; place-items: center; color: var(--gris-2); border-radius: 50%; }
.buscador__limpiar.visible { display: grid; }
.buscador__limpiar:hover { color: var(--texto); background: var(--linea-2); }
.buscador__limpiar svg { width: .7rem; height: .7rem; }

.filtros { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
@media (min-width: 900px) { .filtros { justify-content: flex-end; } }
.filtros__sep { width: 1px; height: 1.4rem; background: var(--borde); margin-inline: .25rem; }
.filtro {
  padding: .7rem 1.25rem; min-height: 2.9rem; border: 1.5px solid var(--linea-2); border-radius: var(--pill);
  font-size: var(--t-xs); font-weight: 700; color: var(--texto-2); background: var(--campo);
  transition: all var(--dur-rapido) var(--ease);
}
.filtro:hover { border-color: var(--texto-3); color: var(--texto); }
.filtro[aria-pressed='true'] { background: var(--naranja); border-color: var(--naranja); color: var(--tinta); }
.filtros__sep + .filtro { margin-left: 0; }
.catalogo__cuenta { font-size: var(--t-xs); font-weight: 600; color: var(--gris-2); }
@media (min-width: 900px) { .catalogo__cuenta { grid-column: 1 / -1; } }

.fichas { display: grid; gap: var(--s-5); }
@media (min-width: 640px)  { .fichas { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1080px) { .fichas { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.ficha {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-out), border-color var(--dur-rapido) var(--ease);
}
.ficha:hover { box-shadow: var(--sombra-2); transform: translateY(-4px); border-color: var(--linea-2); }
.ficha__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.ficha__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.ficha:hover .ficha__media img { transform: scale(1.05); }
.ficha__insignia { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 4; background: var(--naranja); color: var(--tinta); padding: .3rem .8rem; border-radius: var(--pill); font-family: var(--mono); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.ficha__lupa { position: absolute; bottom: var(--s-3); right: var(--s-3); z-index: 4; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: rgba(10,12,14,.8); color: var(--texto); border: 1px solid var(--linea-2); transition: background var(--dur-rapido) var(--ease); }
.ficha__lupa:hover { background: var(--naranja); color: var(--tinta); border-color: var(--naranja); }
.ficha__lupa svg { width: 1rem; height: 1rem; }
.ficha__barra { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: var(--s-4) var(--s-5) 0; }
.ficha__cuerpo { padding: var(--s-3) var(--s-5) var(--s-4); display: grid; gap: var(--s-2); align-content: start; }
.ficha__cuerpo h3 { font-size: var(--t-md); }
.ficha__resumen { font-size: var(--t-sm); color: var(--texto-2); }
.ficha__detalle { font-size: var(--t-xs); color: var(--texto-3); line-height: 1.6; }
.ficha__pie { padding: 0 var(--s-5) var(--s-5); display: grid; gap: var(--s-3); }
.ficha__precio { font-family: var(--display); font-size: var(--t-lg); font-weight: 900; letter-spacing: -.03em; color: var(--naranja); }
.ficha__precio small { font-family: var(--cuerpo); font-size: var(--t-xs); font-weight: 500; color: var(--texto-3); }

.opcion { display: grid; gap: var(--s-2); }
.opcion__label { font-size: var(--t-xs); font-weight: 600; color: var(--texto-3); }
.opcion select, .campo select {
  width: 100%; padding: .65rem 2.2rem .65rem .9rem;
  background: var(--campo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238A949C' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right .85rem center / .65rem;
  border: 1.5px solid var(--linea-2); border-radius: var(--r);
  color: var(--texto); font-size: var(--t-sm); font-weight: 600;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.opcion select:focus, .campo select:focus { border-color: var(--naranja); background-color: var(--carta); outline: none; }

.sin-resultados { grid-column: 1 / -1; display: grid; gap: var(--s-5); justify-items: center; text-align: center; background: var(--carta); border: 1.5px solid var(--linea); border-radius: var(--r-lg); padding: var(--s-8) var(--s-5); font-size: var(--t-md); color: var(--texto-2); }
.aviso-precios { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); background: var(--brasa); border: 1px solid rgba(242,132,30,.28); border-radius: var(--r-lg); font-size: var(--t-sm); color: var(--texto-2); margin-bottom: var(--s-6); }
.aviso-precios svg { width: 1.15rem; height: 1.15rem; color: var(--naranja); flex: none; margin-top: .2rem; }

/* =========================================================================
   RESEÑAS
   ====================================================================== */
.resenas__nota { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; font-size: var(--t-sm); color: var(--texto-2); }
.estrellas { display: inline-flex; gap: .08rem; color: var(--naranja); }
.estrellas svg { width: 1.05rem; height: 1.05rem; }
.resenas__media { font-family: var(--display); font-size: var(--t-lg); font-weight: 900; letter-spacing: -.03em; color: var(--naranja); }
.carrusel {
  overflow: hidden; margin-top: var(--s-6);
}
.carrusel__pista { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .carrusel__pista { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
.resena { padding: var(--s-6); background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg); display: grid; gap: var(--s-4); align-content: start; }
.resena__texto { font-size: var(--t-sm); color: var(--texto-2); }
.resena__autor { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-xs); font-weight: 600; color: var(--texto-3); }
.resena__inicial { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--naranja); color: var(--tinta); font-weight: 800; font-size: 1rem; }

/* =========================================================================
   PREGUNTAS
   ====================================================================== */
.faq { display: grid; gap: var(--s-3); }
.faq__item { background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg); transition: border-color var(--dur-rapido) var(--ease), background var(--dur-rapido) var(--ease); }
.faq__item:hover { background: var(--campo); }
.faq__item[open] { border-color: var(--naranja); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5); cursor: pointer; list-style: none;
  font-family: var(--display); font-size: var(--t-md); font-weight: 800; letter-spacing: -.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; width: 1.6rem; height: 1.6rem; flex: none; border-radius: 50%;
  background: var(--campo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23DCD8D1' stroke-width='1.8'%3E%3Cpath d='M8 2v12M2 8h12'/%3E%3C/svg%3E") center / .8rem no-repeat;
  transition: transform .3s var(--ease-out), background-color var(--dur-rapido) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); background-color: var(--brasa); }
.faq__resp { padding: 0 var(--s-5) var(--s-5); max-width: var(--medida); color: var(--texto-2); font-size: var(--t-sm); }

/* =========================================================================
   SEDES, HORARIO Y MAPA
   ====================================================================== */
.donde__grid { display: grid; gap: var(--s-6); }
@media (min-width: 940px) { .donde__grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); } }
.sede {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; position: relative;
  transition: border-color var(--dur-rapido) var(--ease), box-shadow var(--dur) var(--ease);
}
.sede + .sede { margin-top: var(--s-4); }
.sede:hover { border-color: var(--naranja); background: var(--campo); }
.sede__rol { font-family: var(--mono); font-size: var(--t-nota); font-weight: 400; letter-spacing: 0; color: var(--naranja); }
.sede h3 { font-size: var(--t-md); }
.sede__dir { font-size: var(--t-sm); color: var(--texto-2); font-style: normal; }
.sede__pendiente { font-size: var(--t-xs); color: var(--texto-3); background: var(--campo); border: 1px solid var(--linea-2); border-radius: var(--pill); padding: .3rem .75rem; justify-self: start; }

.mapa { position: relative; min-height: 24rem; height: 100%; background: var(--campo); border: 1px solid var(--linea); border-radius: var(--r-lg); overflow: hidden; }
.mapa iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; }
.mapa__bloqueo { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; gap: var(--s-4); justify-items: center; padding: var(--s-7); text-align: center; background: var(--campo); }
.mapa__bloqueo p { font-size: var(--t-sm); color: var(--texto-2); max-width: 34ch; }

.horario { display: grid; gap: var(--s-5); }
.horario__bloque { display: grid; gap: var(--s-3); }
.horario__titulo { font-family: var(--mono); font-size: var(--t-nota); font-weight: 400; letter-spacing: 0; color: var(--naranja); }
.horario__franjas { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.horario__franja { font-family: var(--mono); font-size: var(--t-sm); font-weight: 500; padding: .45rem 1rem; background: var(--campo); border: 1px solid var(--linea-2); border-radius: var(--pill); }
.horario__nota { font-size: var(--t-xs); color: var(--texto-3); }
.estado { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-xs); font-weight: 700; padding: .4rem .9rem; border-radius: var(--pill); background: var(--campo); border: 1px solid var(--linea-2); flex-wrap: wrap; }
.estado i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--texto-3); }
.estado[data-abierto='true'] { color: #7FD9A4; background: rgba(63,160,104,.14); border-color: rgba(127,217,164,.32); }
.estado[data-abierto='true'] i { background: #7FD9A4; }
.estado[data-abierto='false'] { color: var(--texto-2); }
.estado__cuenta { font-weight: 500; opacity: .8; }

/* =========================================================================
   FORMULARIOS
   ====================================================================== */
.formulario { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .formulario__pareja { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); } }
.campo { display: grid; gap: var(--s-2); }
.campo label { font-size: var(--t-sm); font-weight: 700; color: var(--texto); }
.campo label .req { color: var(--naranja); }
.campo input, .campo textarea {
  width: 100%; padding: .85rem 1rem;
  background: var(--campo); border: 1.5px solid var(--linea-2); border-radius: var(--r);
  color: var(--texto); font-size: var(--t-sm);
  transition: border-color var(--dur-rapido) var(--ease), background var(--dur-rapido) var(--ease);
}
.campo textarea { resize: vertical; min-height: 6.5rem; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--texto-3); }
.campo input:focus, .campo textarea:focus { border-color: var(--naranja); background: var(--carta); outline: none; }
.campo[data-error='true'] input, .campo[data-error='true'] textarea, .campo[data-error='true'] select { border-color: #F07A72; background: rgba(192,57,43,.12); }
.campo__error { font-size: var(--t-xs); color: #F07A72; font-weight: 600; display: none; }
.campo[data-error='true'] .campo__error { display: block; }

.check {
  display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer;
  padding-block: .35rem; min-height: 2.75rem;
  text-transform: none; letter-spacing: normal; font-weight: 400;
}
.check input {
  appearance: none; -webkit-appearance: none;
  width: 1.6rem; height: 1.6rem; flex: none; margin-top: .1rem;
  border: 1.5px solid var(--linea-2); border-radius: 6px; background: var(--campo); cursor: pointer;
  transition: background var(--dur-rapido) var(--ease), border-color var(--dur-rapido) var(--ease);
}
.check input:checked {
  background: var(--naranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23101114' stroke-width='2.2'%3E%3Cpath d='M2 6.2 4.7 9 10 3'/%3E%3C/svg%3E") center / 1rem no-repeat;
  border-color: var(--naranja);
}
.check span { font-size: var(--t-sm); color: var(--texto-2); line-height: 1.55; }
.check a { color: var(--naranja); text-decoration: underline; text-underline-offset: 2px; }
.formulario__nota { font-size: var(--t-xs); color: var(--texto-3); }

.exito { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-7); background: var(--brasa); border: 1px solid rgba(242,132,30,.3); border-radius: var(--r-lg); }
.exito__icono { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--naranja); color: var(--tinta); }
.exito__icono svg { width: 1.4rem; height: 1.4rem; }
.cargando { position: relative; color: transparent !important; pointer-events: none; }
.cargando::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 1.05rem; height: 1.05rem;
  border: 2px solid rgba(14,16,19,.25); border-top-color: var(--tinta);
  border-radius: 50%; animation: girar .7s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.esqueleto { background: linear-gradient(90deg, var(--carta) 25%, var(--campo) 50%, var(--carta) 75%); background-size: 200% 100%; animation: brillo 1.4s ease-in-out infinite; border-radius: var(--r); }
@keyframes brillo { to { background-position: -200% 0; } }
.contacto-bloque { background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.contacto-bloque h3 { font-size: var(--t-md); }

/* La app, en la columna de contacto: de quién es y cómo se baja */
.contacto-app__marca { display: flex; align-items: center; gap: .7rem; margin-top: var(--s-2); }
.contacto-app__marca img:first-child {
  width: 2.6rem; height: 2.6rem; flex: none;
  border-radius: .7rem; border: 1px solid var(--linea-2);
}
.contacto-app__logo { width: auto; height: 1.1rem; }
.contacto-app__texto { font-size: var(--t-xs); color: var(--texto-2); }
.contacto-app__tiendas { display: grid; gap: var(--s-2); }
.contacto-app .app-tienda { min-height: 3.2rem; }
.contacto-app .enlace { justify-self: start; }

/* =========================================================================
   PLAN, VISOR, VENTANA, WHATSAPP, COOKIES, AVISOS
   ====================================================================== */
.plan { position: fixed; inset: 0; z-index: var(--z-panel); visibility: hidden; }
.plan[data-abierto='true'] { visibility: visible; }
.plan__fondo { position: absolute; inset: 0; background: rgba(5,7,9,.66); opacity: 0; transition: opacity .35s var(--ease); backdrop-filter: blur(3px); }
.plan[data-abierto='true'] .plan__fondo { opacity: 1; }
.plan__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(29rem, 100%);
  background: var(--carta); border-left: 1px solid var(--linea); box-shadow: var(--sombra-3);
  display: grid; grid-template-rows: auto 1fr auto;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
}
.plan[data-abierto='true'] .plan__panel { transform: none; }
.plan__cabecera { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--borde-2); }
.plan__cabecera h2 { font-size: var(--t-md); }
.plan__cuerpo { overflow-y: auto; padding: var(--s-5) var(--s-6); display: grid; gap: var(--s-4); align-content: start; }
.plan__pie { padding: var(--s-5) var(--s-6); border-top: 1px solid var(--borde-2); display: grid; gap: var(--s-3); }
.plan__vacio { color: var(--gris-2); font-size: var(--t-sm); padding-block: var(--s-8); text-align: center; }
.linea { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding-bottom: var(--s-4); border-bottom: 1px solid var(--borde-2); }
.linea__nombre { font-size: var(--t-md); font-weight: 700; letter-spacing: -.015em; }
.linea__opciones { font-size: var(--t-xs); font-weight: 600; color: var(--naranja-t); margin-top: .25rem; }
.linea__quitar { color: var(--gris-2); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; }
.linea__quitar:hover { color: #C0392B; background: var(--hueso-2); }
.linea__quitar svg { width: .8rem; height: .8rem; }
.cerrar { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--borde); border-radius: 50%; color: var(--gris); background: var(--crema); }
.cerrar:hover { border-color: var(--tinta); color: var(--tinta); }
.cerrar svg { width: .8rem; height: .8rem; }

.visor {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center; padding: var(--gutter);
  background: rgba(5,7,9,.94); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.visor[data-abierto='true'] { opacity: 1; visibility: visible; }
.visor img { max-width: min(72rem, 100%); max-height: 76vh; object-fit: contain; border-radius: var(--r-lg); }
.visor__pie { margin-top: var(--s-4); text-align: center; font-size: var(--t-sm); color: var(--texto); max-width: 52ch; margin-inline: auto; }
.visor .cerrar { position: absolute; top: var(--gutter); right: var(--gutter); background: var(--campo); border-color: var(--linea-2); color: var(--texto); }

/* Ventana de la clase de prueba */
.ventana { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--gutter); visibility: hidden; }
.ventana[data-abierto='true'] { visibility: visible; }
.ventana__fondo { position: absolute; inset: 0; background: rgba(14,16,19,.45); opacity: 0; transition: opacity .3s var(--ease); backdrop-filter: blur(4px); }
.ventana[data-abierto='true'] .ventana__fondo { opacity: 1; }
.ventana__caja {
  position: relative; width: min(30rem, 100%);
  background: var(--crema); border-radius: var(--r-xl); box-shadow: var(--sombra-3);
  padding: var(--s-7) var(--s-6) var(--s-6); display: grid; gap: var(--s-4);
  transform: translateY(1.5rem) scale(.97); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease);
}
.ventana[data-abierto='true'] .ventana__caja { transform: none; opacity: 1; }
.ventana__sello { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--naranja); color: var(--tinta); display: grid; place-items: center; font-weight: 800; font-size: var(--t-md); }
.ventana__caja h2 { font-size: var(--t-xl); }
.ventana__caja p { font-size: var(--t-sm); color: var(--gris); }
.ventana__acciones { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.ventana__cerrar { position: absolute; top: var(--s-4); right: var(--s-4); }
.ventana__no { font-size: var(--t-xs); font-weight: 600; color: var(--gris-2); justify-self: center; }
.ventana__no:hover { color: var(--texto); }

.wa {
  position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: var(--z-flotante);
  display: flex; align-items: center; gap: var(--s-2);
  padding: .85rem 1.15rem; border-radius: var(--pill);
  background: var(--naranja); color: var(--tinta);
  font-size: var(--t-sm); font-weight: 700;
  box-shadow: var(--sombra-naranja);
  transform: translateY(200%); transition: transform .5s var(--ease-out), box-shadow .3s var(--ease);
}
.wa.visible { transform: none; }
.wa:hover, .wa:focus-visible { box-shadow: 0 12px 32px rgba(242,132,30,.45); }
.wa svg { width: 1.25rem; height: 1.25rem; flex: none; }
.wa__texto { display: none; }
@media (min-width: 560px) { .wa__texto { display: block; } }

.cookies {
  position: fixed; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  z-index: var(--z-cookies); max-width: 30rem;
  background: var(--carta); border: 1px solid var(--linea-2); border-radius: var(--r-lg);
  padding: var(--s-5); display: grid; gap: var(--s-4);
  box-shadow: var(--sombra-3);
  /* Escondido del todo: con solo 3rem, encima de la barra del móvil asomaba un filo */
  transform: translateY(calc(100% + 10rem)); visibility: hidden;
  transition: transform .45s var(--ease-out), visibility 0s linear .45s;
}
.cookies.visible { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.cookies h2 { font-size: var(--t-md); }
.cookies p { font-size: var(--t-xs); color: var(--texto-2); }
.cookies a { color: var(--naranja); text-decoration: underline; }
.cookies__acciones { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cookies__acciones .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .cookies { left: var(--s-6); bottom: var(--s-6); } }

.avisos { position: fixed; left: 50%; bottom: var(--s-6); z-index: var(--z-modal); transform: translateX(-50%); display: grid; gap: var(--s-2); width: min(23rem, calc(100vw - 2rem)); pointer-events: none; }
.aviso { background: var(--campo); color: var(--texto); border: 1px solid var(--linea-2); padding: var(--s-3) var(--s-4); border-radius: var(--r); font-size: var(--t-xs); font-weight: 600; box-shadow: var(--sombra-2); animation: entrar-aviso .35s var(--ease-out); }
@keyframes entrar-aviso { from { opacity: 0; transform: translateY(1rem); } }

/* =========================================================================
   PIE
   Arriba, el teléfono en grande: quien llega al final de la página es que
   todavía tiene dudas. Debajo, lo de siempre, ordenado en columnas.
   ====================================================================== */
.pie { background: var(--hondo); color: var(--texto); border-top: 1px solid var(--linea); padding-block: 0 var(--s-6); }
.pie__llamada {
  display: grid; gap: var(--s-5); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--linea);
}
@media (min-width: 900px) { .pie__llamada { grid-template-columns: minmax(0,1fr) auto; } }
.pie__llamada p { font-family: var(--display); font-weight: 800; font-size: var(--t-xl); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; }
.pie__tel {
  display: inline-flex; align-items: center; gap: var(--s-4);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); letter-spacing: -.02em;
  color: var(--naranja); white-space: nowrap;
  transition: color var(--dur-rapido) var(--ease);
}
.pie__tel i { width: 3.6rem; height: 3.6rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--naranja); color: var(--tinta); transition: transform .5s var(--ease-muelle); }
.pie__tel svg { width: 1.6rem; height: 1.6rem; }
.pie__tel:hover { color: var(--naranja-cl); }
.pie__tel:hover i { transform: rotate(-14deg) scale(1.08); }
.pie__grid { display: grid; gap: var(--s-7); }
@media (min-width: 760px)  { .pie__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pie__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-6); } }
.pie .marca__texto { color: var(--texto); }
.pie h3 { font-family: var(--cuerpo); font-size: var(--t-sm); font-weight: 700; letter-spacing: 0; color: var(--naranja); margin-bottom: var(--s-3); }
.pie ul { display: grid; gap: var(--s-1); }
.pie li a { display: inline-block; padding-block: .55rem; line-height: 1.45; }
.pie nav a, .pie nav button { display: inline-flex; align-items: center; min-height: 3rem; }
.pie a { color: var(--texto-2); font-size: var(--t-sm); transition: color var(--dur-rapido) var(--ease); }
.pie a:hover, .pie a:focus-visible { color: var(--naranja); }
.pie li { font-size: var(--t-sm); color: var(--texto-2); }
.pie__intro { max-width: 34ch; font-size: var(--t-sm); color: var(--texto-3); }
.pie .dim { color: var(--texto-3); }
.pie__legal {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--linea);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between;
  font-size: var(--t-xs); color: var(--texto-3);
}
.pie__legal nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.pie__legal a, .pie__legal button { font-size: var(--t-xs); color: var(--texto-3); }
.pie__legal button { font: inherit; }
.pie__legal a:hover, .pie__legal button:hover { color: var(--naranja); }
.pie__marca { display: none; }

/* =========================================================================
   PÁGINAS INTERIORES
   La misma entrada en todas: migas, titular grande con su raya, una frase y
   la foto a la derecha con la luz de ascua detrás.
   ====================================================================== */
.obertura { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.obertura::after {
  content: ''; position: absolute; z-index: -1; width: 50rem; height: 50rem; right: -18rem; top: -20rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,132,30,.18), transparent); pointer-events: none;
  animation: portada-luz 2.4s var(--ease-out) both;
}
.obertura__grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .obertura__grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: var(--s-9); align-items: center; } }
.obertura__grid > div:first-child { display: grid; gap: var(--s-4); justify-items: start; animation: aparece 1s var(--ease-out) both; }
.obertura h1 { max-width: 16ch; font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.8rem); line-height: 1; }
.obertura h1::before { content: ''; display: block; width: 3.5rem; height: 5px; border-radius: 3px; background: var(--naranja); margin-bottom: var(--s-5); transform-origin: left; animation: raya .9s var(--ease-out) .4s both; }
.obertura .entradilla { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
.obertura__fondo { position: relative; margin: 0; animation: obertura-foto 1.3s var(--ease-out) .1s both; }
.obertura__fondo .duo, .obertura__fondo .foto { aspect-ratio: 5/4; border-radius: var(--r-xl); border: 0; box-shadow: var(--sombra-3); }
@keyframes obertura-foto { from { opacity: 0; transform: translateY(2rem) scale(.96); clip-path: inset(0 0 100% 0 round var(--r-xl)); } to { clip-path: inset(0 0 0 0 round var(--r-xl)); } }
.inicio__acciones { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 559px) { .inicio__acciones { display: grid; width: 100%; } }

.miga { margin-bottom: 0; }
.miga ol { display: flex; flex-wrap: wrap; gap: .45rem; font-size: var(--t-xs); color: var(--texto-3); }
.miga a { display: inline-flex; align-items: center; min-height: 3rem; text-decoration: underline; text-underline-offset: 4px; }
.miga a:hover { color: var(--naranja); }
.miga li + li::before { content: '›'; margin-right: .45rem; color: var(--texto-3); }
.miga li[aria-current] { display: inline-flex; align-items: center; }

.legal { max-width: var(--medida); }
.legal h2 { font-size: var(--t-lg); margin-top: var(--s-8); margin-bottom: var(--s-3); }
.legal h3 { font-size: var(--t-md); margin-top: var(--s-6); margin-bottom: var(--s-2); }
.legal p, .legal li { color: var(--texto-2); font-size: var(--t-sm); margin-bottom: var(--s-3); }
.legal ul { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.legal ul li { padding-left: var(--s-5); position: relative; margin-bottom: 0; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--naranja); }
.legal a { color: var(--naranja); text-decoration: underline; text-underline-offset: 3px; }
.tabla-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--s-6); }
.legal td > a:only-child, .legal p > a[href^='tel:'], .legal p > a[href^='mailto:'] {
  display: inline-flex; align-items: center; min-height: 2.75rem;
}
.legal table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: var(--s-6); font-size: var(--t-xs); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; min-width: 30rem; }
.legal th, .legal td { border-bottom: 1px solid var(--linea); padding: var(--s-3); text-align: left; vertical-align: top; }
.legal th { background: var(--campo); font-family: var(--mono); font-size: var(--t-nota); font-weight: 400; letter-spacing: 0; color: var(--texto-3); }

.error404 { min-height: 76svh; display: grid; place-content: center; text-align: center; gap: var(--s-5); padding: var(--gutter); }
.error404__codigo { font-family: var(--display); font-size: clamp(4.5rem, 20vw, 11rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; color: var(--naranja); }

/* =========================================================================
   COMPATIBILIDAD
   Nombres de clase que todavía emite algún módulo. Se mantienen para que
   nada quede sin estilo mientras se unifican.
   ====================================================================== */
.folio, .dato { font-family: var(--mono); font-size: var(--t-xs); font-weight: 400; color: var(--texto-3); }
.dato--fuego { color: var(--naranja); }

/* Lista de casos (páginas interiores) */
.casos { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .casos { grid-template-columns: repeat(2, 1fr); } }
.caso {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: center;
  width: 100%; text-align: left; padding: var(--s-5);
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  color: var(--texto-2);
  transition: border-color var(--dur-rapido) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.caso:hover, .caso:focus-visible { border-color: var(--naranja); background: var(--campo); transform: translateY(-2px); color: var(--texto); }
.caso__texto { font-size: var(--t-sm); font-weight: 600; }
.caso__destino { font-size: var(--t-xs); font-weight: 700; color: var(--naranja); display: inline-flex; align-items: center; gap: .4rem; flex: none; }
.caso__destino svg { width: .85em; height: .85em; }

/* =========================================================================
   BARRA DE AYUDA FIJA
   Solo en móvil. Llamar y escribir siempre a un dedo, sin buscar nada.
   ====================================================================== */
.ayuda-fija {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-flotante);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--linea-2);
  box-shadow: 0 -10px 30px rgba(0,0,0,.5);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 760px) { .ayuda-fija { display: none; } }
.ayuda-fija__btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.75rem; padding: .75rem;
  background: var(--campo); color: var(--texto);
  font-family: var(--display); font-size: var(--t-sm); font-weight: 800;
}
.ayuda-fija__btn svg { width: 1.3rem; height: 1.3rem; flex: none; }
.ayuda-fija__btn--wa { background: var(--naranja); color: var(--tinta); }
.ayuda-fija__btn:active { background: var(--carta); }
.ayuda-fija__btn--wa:active { background: #D9741A; }

/* El contenido deja hueco para no quedar debajo de la barra */
@media (max-width: 759px) {
  body { padding-bottom: 3.75rem; }
  .wa { display: none; }            /* la barra ya lleva WhatsApp */
  .cookies { bottom: calc(3.75rem + var(--s-3)); }
  .avisos { bottom: calc(3.75rem + var(--s-4)); }
}

/* =========================================================================
   FILTROS DEL CATÁLOGO · con etiqueta, para que se entienda qué son
   ====================================================================== */
.filtros__titulo { font-family: var(--mono); font-size: var(--t-xs); font-weight: 400; letter-spacing: 0; color: var(--texto-3); margin-right: .25rem; }
.filtro-lista {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .5rem .45rem 1rem; min-height: 2.9rem;
  border: 1.5px solid var(--linea-2); border-radius: var(--pill);
  background: var(--campo);
  font-size: var(--t-xs); font-weight: 700; color: var(--texto-2);
}
.filtro-lista select {
  border: 0; background: transparent; padding: .25rem 1.6rem .25rem .3rem;
  font-size: var(--t-xs); font-weight: 700; color: var(--texto);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23DCD8D1' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .4rem center; background-size: .6rem;
}
.filtro-lista select:focus { outline: none; }
.filtro-lista:focus-within { border-color: var(--naranja); }

/* =========================================================================
   LA APP DE RESERVAS
   La tarjeta va en oscuro porque el logotipo de WodBuster está hecho en
   blanco. Es marca ajena: se presenta como suya, no disfrazada de nuestra.
   ====================================================================== */
.app { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .app { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: start; } }
.paradas__titulo { margin-top: var(--s-9); margin-bottom: var(--s-6); font-size: var(--t-xl); }

.app-tarjeta {
  background: var(--carta); color: var(--texto);
  border: 1px solid var(--linea-2);
  border-radius: var(--r-xl); padding: var(--s-6);
  display: grid; gap: var(--s-5); align-content: start;
}
.app-tarjeta__cabeza { display: flex; align-items: center; gap: var(--s-4); }
.app-tarjeta__icono {
  width: 4.5rem; height: 4.5rem; flex: none;
  border-radius: 1.1rem; border: 1px solid var(--linea-2);
}
.app-tarjeta__reclamo {
  font-size: var(--t-nota); font-weight: 800;
  letter-spacing: 0;
  color: var(--naranja); margin-bottom: .5rem; font-family: var(--mono); font-weight: 400;
}
.app-tarjeta__logo { width: auto; height: 1.6rem; }
.app-tarjeta__texto { font-size: var(--t-sm); color: var(--texto-2); }
.app-tarjeta__nota { font-size: var(--t-xs); color: var(--texto-3); }

/* Los dos botones de descarga */
/* auto-fit y no media query: lo que manda es el ancho de la tarjeta,
   no el de la ventana */
.app-tiendas { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.app-tienda {
  display: flex; align-items: center; gap: .7rem;
  min-height: 3.6rem; padding: .7rem 1rem;
  background: var(--texto); color: var(--tinta);
  border-radius: var(--r); border: 2px solid var(--texto);
  transition: background var(--dur-rapido) var(--ease), transform var(--dur) var(--ease-out);
}
.app-tienda:hover, .app-tienda:focus-visible { background: var(--naranja); border-color: var(--naranja); transform: translateY(-2px); }
.app-tienda svg { width: 1.45rem; height: 1.45rem; flex: none; }
.app-tienda span { display: grid; line-height: 1.25; font-size: var(--t-xs); }
.app-tienda b { font-family: var(--display); font-size: var(--t-sm); font-weight: 800; }

/* La salida para quien no quiere instalar nada */
.app-sinapp {
  background: var(--capa); border: 1px solid var(--linea);
  border-radius: var(--r-lg); padding: var(--s-5);
  display: grid; gap: var(--s-4); justify-items: center; text-align: center;
}
.app-sinapp > p { font-size: var(--t-sm); color: var(--texto-2); max-width: 30ch; }
.app-sinapp .btn { width: 100%; }
.app-qr { display: grid; gap: var(--s-3); justify-items: center; }
.app-qr img { width: 9rem; height: auto; border-radius: var(--r); }
.app-qr p { font-size: var(--t-xs); }
@media (max-width: 519px) { .app-qr { display: none; } }

/* =========================================================================
   LAS PARADAS · los seis pasos para hacerse socio
   Una pantalla del móvil a un lado y lo que hay que hacer al otro, y van
   alternando de lado. Las pantallas son un dibujo del recorrido, no capturas
   de la app: por eso llevan aria-hidden y la explicación va siempre al lado,
   para que quien no ve el dibujo no se pierda nada.
   ====================================================================== */
.paradas { display: grid; gap: var(--s-5); }

.parada {
  display: grid; gap: var(--s-6); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  background: var(--carta); border: 1px solid var(--linea);
  justify-items: center;
}
@media (min-width: 860px) {
  .parada { grid-template-columns: 15rem minmax(0,1fr); gap: var(--s-8); justify-items: stretch; }
  .parada:nth-child(even) { grid-template-columns: minmax(0,1fr) 15rem; }
  .parada:nth-child(even) .movil { order: 2; }
  .parada:nth-child(even) .parada__texto { order: 1; }
}

.parada__texto { display: grid; gap: var(--s-3); align-content: center; }
@media (max-width: 859px) { .parada__texto { text-align: center; justify-items: center; } }
.parada__paso {
  font-family: var(--mono); font-size: var(--t-nota); font-weight: 500;
  letter-spacing: 0; color: var(--naranja);
}
.parada__texto h3 { font-size: var(--t-xl); }
.parada__texto > p { font-size: var(--t-sm); color: var(--texto-2); max-width: 48ch; }
.parada__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
@media (max-width: 859px) { .parada__chips { justify-content: center; } }
.parada__chips span {
  font-family: var(--mono); font-size: var(--t-nota); letter-spacing: 0;
  color: var(--texto-3); border: 1px solid var(--linea-2); border-radius: var(--pill);
  padding: .35rem .8rem;
}
.paradas__nota {
  font-family: var(--mono); font-size: var(--t-nota); letter-spacing: 0;
  color: var(--texto-3); text-align: center; margin-top: var(--s-2);
}

/* ---------- El móvil ---------------------------------------------------- */
.movil {
  width: 15rem; max-width: 78vw; aspect-ratio: 900 / 1948; flex: none;
  border-radius: 2.4rem; border: .5rem solid var(--hondo);
  background: var(--fondo); overflow: hidden;
  box-shadow: var(--sombra-3); margin-inline: auto;
}
/* Con una captura dentro, el marco solo tiene que recortar y no meterse */
.movil--foto { display: block; padding: 0; }
.movil--foto picture, .movil--foto img { display: block; width: 100%; height: 100%; }
.movil--foto img { object-fit: cover; object-position: top center; }

/* En pantallas muy estrechas el móvil se encoge para dejar respirar */
@media (max-width: 400px) { .movil { width: 13rem; border-width: .4rem; } }

/* =========================================================================
   PORTADA
   Foto a sangre de alguien entrenando de verdad, el titular encima y, antes
   de nada más, las dos cosas que se pueden hacer: probar o llamar.
   Al cargar, la foto se asienta despacio y el titular sube línea a línea.
   Pasa una vez y se queda quieto.
   ====================================================================== */
.portada {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--cabecera) * -1);
  padding-top: calc(var(--cabecera) + clamp(1rem, 4vw, 3rem));
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  min-height: min(100svh, 60rem);
  display: flex; align-items: flex-end;
}
.portada__foto {
  position: absolute; inset: 0; z-index: -2;
  left: var(--foto-izq, 0);
  transform: translate3d(0, var(--paralaje, 0px), 0);
}
.portada__foto picture, .portada__foto img { width: 100%; height: 100%; }
.portada__foto img {
  object-fit: cover; object-position: 70% 30%;
  animation: portada-foto 2.4s var(--ease-out) both;
}
@media (min-width: 760px) { .portada { --foto-izq: 30%; } }
@media (min-width: 1400px) { .portada { --foto-izq: 36%; } }
/* Velo: negro a la izquierda y abajo para que el texto se lea siempre */
.portada::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--fondo) 0%, var(--fondo) calc(var(--foto-izq) + 2%), rgba(13,14,16,.55) calc(var(--foto-izq) + 22%), rgba(13,14,16,.05) 80%),
    linear-gradient(0deg, var(--fondo) 0%, rgba(13,14,16,0) 38%);
}
/* La luz de ascua, abajo a la izquierda */
.portada::after {
  content: ''; position: absolute; z-index: -1;
  width: 60rem; height: 60rem; left: -22rem; bottom: -34rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,132,30,.26), transparent);
  animation: portada-luz 2.6s var(--ease-out) .3s both;
  pointer-events: none;
}
/* En el móvil la foto va arriba, entera, y el texto empieza donde ella acaba */
@media (max-width: 759px) {
  .portada { min-height: 0; padding-top: calc(min(88vw, 26rem) - 4.5rem); }
  .portada__foto { bottom: auto; height: min(88vw, 26rem); }
  .portada__foto img { object-position: 50% 22%; }
  .portada::before { background: none; }
  .portada__contenido { gap: var(--s-4); }
  .portada .hero-titulo::after { margin-top: var(--s-4); }
  .portada__resumen { font-size: 1.1875rem; }
  .portada__foto::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,14,16,.55) 0%, rgba(13,14,16,0) 22%, rgba(13,14,16,0) 55%, rgba(13,14,16,.9) 86%, var(--fondo) 100%);
  }
}

.portada__contenido { display: grid; gap: var(--s-5); max-width: 42rem; }
.portada__lugar {
  display: inline-flex; align-items: center; gap: .7rem; justify-self: start;
  padding: .5rem 1.1rem .5rem .9rem; border-radius: var(--pill);
  background: rgba(13,14,16,.6); border: 1px solid var(--linea-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: var(--t-sm); font-weight: 700; color: var(--texto);
}
.portada__lugar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 0 rgba(242,132,30,.6); animation: latido 1.6s var(--ease-out) 1.2s 3; }
.portada .hero-titulo { max-width: 12ch; }
.portada .hero-titulo .titular-linea { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.portada .hero-titulo .titular-linea > span { display: block; animation: sube-linea 1.1s var(--ease-out) both; }
.portada .hero-titulo .titular-linea:nth-child(2) > span { animation-delay: .12s; }
.portada .hero-titulo .titular-linea:nth-child(3) > span { animation-delay: .24s; }
/* Una raya naranja bajo el titular, que se dibuja al terminar de subir */
.portada .hero-titulo::after {
  content: ''; display: block; width: 5.5rem; height: 6px; border-radius: 3px; margin-top: var(--s-5);
  background: var(--naranja); transform-origin: left; animation: raya 1s var(--ease-out) .7s both;
}
.portada__resumen {
  font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); color: var(--texto-2); max-width: 36ch; line-height: 1.55;
  animation: aparece 1s var(--ease-out) .45s both;
}
.portada__acciones { display: flex; flex-wrap: wrap; gap: var(--s-3); animation: aparece 1s var(--ease-out) .6s both; }
@media (max-width: 559px) { .portada__acciones { display: grid; } }
.portada__promesas {
  display: flex; flex-wrap: wrap; gap: .6rem var(--s-5); margin-top: var(--s-2);
  animation: aparece 1s var(--ease-out) .8s both;
}
.portada__promesas li { display: flex; gap: .55rem; align-items: center; font-size: var(--t-sm); font-weight: 700; color: var(--texto); }
.portada__promesas svg { width: 1.35rem; height: 1.35rem; flex: none; padding: .2rem; border-radius: 50%; background: var(--naranja); color: var(--tinta); }

/* Una flecha abajo que invita a bajar, solo en pantallas grandes */
.portada__bajar {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 6vw, 5rem);
  display: none; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  place-items: center; border: 2px solid var(--linea-2); color: var(--texto);
  background: rgba(13,14,16,.5); animation: aparece 1s var(--ease-out) 1.1s both;
  transition: border-color var(--dur-rapido) var(--ease), transform var(--dur) var(--ease-muelle);
}
.portada__bajar svg { width: 1.3rem; height: 1.3rem; }
.portada__bajar:hover { border-color: var(--naranja); transform: translateY(4px); }
@media (min-width: 1000px) { .portada__bajar { display: grid; } }

@keyframes portada-foto { from { transform: scale(1.14); filter: brightness(.55); } to { transform: none; filter: none; } }
@keyframes portada-luz { from { opacity: 0; transform: scale(.7); } }
@keyframes sube-linea { from { transform: translateY(105%); } }
@keyframes aparece { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes raya { from { transform: scaleX(0); } }
@keyframes latido { 70% { box-shadow: 0 0 0 .7rem rgba(242,132,30,0); } 100% { box-shadow: 0 0 0 0 rgba(242,132,30,0); } }

/* ---------- Luz que sigue al dedo o al ratón en las tarjetas -------------- */
.luz { position: relative; isolation: isolate; }
.luz::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(22rem circle at var(--x, 50%) var(--y, 0%), rgba(242,132,30,.16), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.luz:hover::after { opacity: 1; }

/* ---------- ¿Qué puedo hacer aquí? · tres tarjetas ------------------------ */
.salas { display: grid; gap: var(--s-5); }
@media (min-width: 720px) and (max-width: 1019px) { .salas { grid-template-columns: repeat(2, minmax(0,1fr)); } .salas > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1020px) { .salas { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.sala {
  border-radius: var(--r-xl); background: var(--carta); border: 1px solid var(--linea);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color var(--dur) var(--ease), box-shadow .5s var(--ease-out);
}
.sala:hover, .sala:focus-within { transform: translateY(-6px); border-color: rgba(242,132,30,.6); box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(242,132,30,.25); }
.sala__enlace { display: grid; height: 100%; grid-template-rows: auto 1fr; }
.sala__enlace:focus-visible { outline-offset: -4px; border-radius: var(--r-xl); }
.sala__foto { aspect-ratio: 4/3; border-radius: 0; border: 0; margin: 0; }
.sala__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sala:hover .sala__foto img { transform: scale(1.07); }
.sala__texto { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6) var(--s-6) var(--s-7); position: relative; z-index: 2; }
.sala__texto h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.sala__para { font-size: var(--t-sm); color: var(--texto-2); }
.sala__marca { font-size: var(--t-xs); color: var(--texto-3); }
.sala__ir {
  margin-top: var(--s-2); justify-self: start;
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: var(--t-sm); color: var(--naranja);
}
.sala__ir i {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brasa); border: 1px solid rgba(242,132,30,.4);
  transition: transform .4s var(--ease-muelle), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sala__ir svg { width: 1rem; height: 1rem; }
.sala:hover .sala__ir i { transform: translateX(6px); background: var(--naranja); color: var(--tinta); }

.enlace--grande { font-size: var(--t-sm); }

/* ---------- Así trabajamos · foto y tres razones ---------------------------- */
.asi { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .asi { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); } }
.asi__foto { position: relative; }
.asi__foto .foto { aspect-ratio: 4/5; border-radius: var(--r-xl); border: 0; }
@media (max-width: 959px) { .asi__foto .foto { aspect-ratio: 4/3; } }
/* Un sello redondo que gira despacio cuando entra, una sola vez */
.asi__sello {
  position: absolute; right: -1rem; bottom: -1.5rem; width: 8.5rem; height: 8.5rem;
  border-radius: 50%; background: var(--naranja); color: var(--tinta);
  display: grid; place-items: center; text-align: center; padding: 1rem;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.05;
  box-shadow: var(--sombra-naranja);
  transform: rotate(-8deg) scale(.6); opacity: 0; transition: transform 1s var(--ease-muelle) .5s, opacity .6s var(--ease) .5s;
}
.asi__sello b { display: block; font-size: 2.6rem; line-height: .9; }
.asi__foto.visible .asi__sello, .asi__foto .foto.visible + .asi__sello { transform: rotate(-8deg); opacity: 1; }
@media (max-width: 559px) { .asi__sello { right: .75rem; width: 7rem; height: 7rem; font-size: 1rem; } .asi__sello b { font-size: 2.1rem; } }
.razones { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.razon {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start;
  padding: var(--s-5); border-radius: var(--r-lg); background: var(--carta); border: 1px solid var(--linea);
  transition: border-color var(--dur) var(--ease), transform .5s var(--ease-out);
}
.razon:hover { border-color: rgba(242,132,30,.5); transform: translateX(6px); }
.razon__icono { width: 3.25rem; height: 3.25rem; border-radius: 16px; display: grid; place-items: center; background: var(--brasa); color: var(--naranja); border: 1px solid rgba(242,132,30,.35); }
.razon__icono svg { width: 1.6rem; height: 1.6rem; }
.razon h3 { font-size: var(--t-md); margin-bottom: .3rem; }
.razon p { font-size: var(--t-sm); color: var(--texto-2); }

/* ---------- ¿Cómo empiezo? · el camino ----------------------------------- */
/* Tres paradas unidas por una línea. Al bajar, la línea se llena de naranja
   y cada número se enciende cuando le llega. */
.empezar { position: relative; display: grid; gap: var(--s-7); --llenado: 0; }
.empezar::before, .empezar::after {
  content: ''; position: absolute; border-radius: 3px;
  left: 1.95rem; top: 2rem; bottom: 2rem; width: 4px;
}
.empezar::before { background: var(--linea-2); }
.empezar::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--llenado)); }
@media (min-width: 900px) {
  .empezar { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); }
  .empezar::before, .empezar::after { left: 2rem; right: 2rem; top: 1.95rem; bottom: auto; width: auto; height: 4px; }
  .empezar::after { transform-origin: left; transform: scaleX(var(--llenado)); }
}
.empezar__paso { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) { .empezar__paso { grid-template-columns: 1fr; gap: var(--s-5); } }
.empezar__n {
  width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--campo); border: 3px solid var(--linea-2); color: var(--texto);
  font-family: var(--display); font-size: 1.7rem; font-weight: 800;
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease-muelle);
}
.empezar__paso.encendido .empezar__n { background: var(--naranja); border-color: var(--naranja); color: var(--tinta); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(242,132,30,.14); }
.empezar__paso h3 { font-size: var(--t-lg); margin-bottom: .45rem; }
.empezar__paso p { font-size: var(--t-sm); color: var(--texto-2); max-width: 30ch; }
.empezar__mas { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* ---------- ¿Dónde está y cuándo abre? ----------------------------------- */
.donde { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .donde { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: var(--s-9); align-items: start; } }
.puerta { position: relative; }
.puerta .foto { aspect-ratio: 4/5; border-radius: var(--r-xl); border: 0; }
.puerta .foto img { object-position: 50% 30%; }
.puerta figcaption {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  padding: var(--s-4) var(--s-5); border-radius: var(--r-lg);
  background: rgba(13,14,16,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: var(--t-sm); font-weight: 700; color: var(--texto);
}
.puerta figcaption span { display: block; font-weight: 400; color: var(--texto-2); font-size: var(--t-xs); }
.donde__datos { display: grid; gap: var(--s-7); }
.horario-llano { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.horario-llano__dias { font-size: var(--t-sm); font-weight: 700; color: var(--texto-3); }
.horario-llano__horas {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.1; color: var(--texto);
}
.horario-llano__cerrado { font-size: var(--t-sm); color: var(--texto-2); margin-top: var(--s-2); }

/* ---------- El bloque naranja del final ---------------------------------- */
.banda-alta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--naranja); color: var(--tinta);
  border-radius: var(--r-xl); padding: clamp(2rem, 6vw, 4.5rem);
  display: grid; gap: var(--s-5); align-content: center;
}
/* Círculos de luz dentro del naranja, que se mueven un poco con el ratón */
.banda-alta::before {
  content: ''; position: absolute; z-index: -1; width: 38rem; height: 38rem; border-radius: 50%;
  right: -12rem; top: -14rem; background: radial-gradient(closest-side, rgba(255,214,170,.55), transparent);
  transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform .8s var(--ease-out);
}
.banda-alta .ante { color: var(--tinta); }
.banda-alta h2 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem); line-height: .98; letter-spacing: -.035em; color: var(--tinta); max-width: 16ch; }
.banda-alta h2::before { display: none; }
.banda-alta p { color: var(--tinta); font-size: var(--t-md); max-width: 40ch; }
.banda-alta__botones { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.banda-alta .btn { background: transparent; border-color: var(--tinta); color: var(--tinta); box-shadow: none; min-width: min(100%, 17rem); }
.banda-alta .btn:hover { background: var(--tinta); border-color: var(--tinta); color: var(--naranja); }
.banda-alta .btn--negro { background: var(--tinta); border-color: var(--tinta); color: var(--texto); }
.banda-alta .btn--negro:hover { background: #000; border-color: #000; color: var(--naranja-cl); }
.banda-alta--foto { padding: 0; }
@media (min-width: 900px) { .banda-alta--foto { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); } }
.banda-alta__texto { display: grid; gap: var(--s-5); align-content: center; padding: clamp(2rem, 6vw, 4.5rem); }
.banda-alta__foto { position: relative; min-height: 20rem; margin: 0; }
.banda-alta__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (min-width: 900px) { .banda-alta__foto { clip-path: ellipse(92% 120% at 100% 50%); } }

/* =========================================================================
   CLASES, SALA POR SALA
   Sin buscador ni filtros: tres bloques, uno por sala. Cada clase es una
   fila con su nombre, cuánto dura y cuánta gente sois.
   ====================================================================== */
.seccion--corta { padding-top: var(--s-5); }
.saltos { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.saltos__titulo { font-size: var(--t-sm); font-weight: 600; color: var(--texto-3); }
.saltos__botones { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .saltos__botones { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.saltos__botones .btn { justify-content: center; text-align: center; }

.zona-clases { padding-block: var(--s-8); border-top: 1px solid var(--linea); scroll-margin-top: 5.5rem; }
.zona-clases__cabeza { display: grid; gap: var(--s-6); align-items: center; margin-bottom: var(--s-7); }
@media (min-width: 860px) { .zona-clases__cabeza { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-8); } }
.zona-clases__foto { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.zona-clases__foto img { width: 100%; height: 100%; object-fit: cover; }
.zona-clases__texto { display: grid; gap: var(--s-3); justify-items: start; }
.zona-clases__texto h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
.zona-clases__para { font-size: var(--t-md); color: var(--texto-2); max-width: 38ch; }
.zona-clases__cuenta { font-size: var(--t-sm); font-weight: 600; color: var(--texto); }
.zona-clases__texto .btn { margin-top: var(--s-2); }
.zona-clases__texto .btn svg { width: 1.3rem; height: 1.3rem; }

.clases-lista { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .clases-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clase {
  display: grid; gap: var(--s-3); align-content: start;
  padding: var(--s-6); background: var(--carta);
  border: 1px solid var(--linea); border-radius: var(--r-lg);
}
.clase__cabeza { display: grid; gap: var(--s-2); }
.clase__cabeza h3 { font-size: var(--t-lg); }
.clase__datos { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: var(--t-sm); font-weight: 600; color: var(--texto); }
.clase__datos span { display: inline-flex; align-items: center; gap: .45rem; }
.clase__datos svg { width: 1.25rem; height: 1.25rem; color: var(--naranja); flex: none; }
.clase__insignia { justify-self: start; padding: .3rem .8rem; border-radius: var(--pill); background: var(--naranja); color: var(--tinta); font-size: var(--t-xs); font-weight: 700; }
.clase__resumen { font-size: var(--t-sm); color: var(--texto-2); }

/* «Leer más»: se abre en el sitio, con un botón que parece botón */
.clase__mas summary {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem;
  font-size: var(--t-sm); font-weight: 700; color: var(--naranja); cursor: pointer;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
  list-style: none;
}
.clase__mas summary::-webkit-details-marker { display: none; }
.clase__mas summary::after { content: '+'; font-size: 1.4rem; line-height: 1; text-decoration: none; }
.clase__mas[open] summary::after { content: '−'; }
.clase__mas[open] summary { color: var(--texto); }
.clase__mas p { font-size: var(--t-sm); color: var(--texto-2); padding-top: var(--s-2); }
.clase__compra { display: grid; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--linea); }


