/* ==========================================================================
   Meditación México — hoja de estilos
   Dirección de marca: "Quietud" — el agua de un lago sin viento.
   Paleta: piedra clara, pizarra, eucalipto, verde lago, niebla, lago nocturno.
   Tipografía: Jost Light (títulos) + Figtree (texto).
   Forma: planos limpios, líneas finas, esquinas de 6px, casi sin sombras.
   ========================================================================== */

/* Fuentes servidas desde el sitio (variables: un archivo cubre todos los grosores) */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../assets/fonts/jost-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
}

:root {
  /* color: paleta Quietud */
  --bg: #f5f5f1;            /* piedra clara, fondo principal */
  --bg-alt: #e4ece8;        /* niebla, fondos de sección */
  --surface: #fbfbf8;       /* tarjetas, un punto más claro que la piedra */
  --white: #ffffff;         /* fondo de ilustraciones y mapas */
  --ink: #1d2b2c;           /* pizarra, texto y títulos */
  --ink-soft: #5e6b69;      /* texto secundario */
  --accent: #8fb3aa;        /* eucalipto: detalles, líneas, íconos */
  --accent-dark: #2e5e5a;   /* verde lago: botones y enlaces */
  --accent-deep: #244b48;   /* verde lago al pasar el cursor */
  --accent-soft: #e4ece8;   /* niebla, fondos suaves de acento */
  --accent-light: #8fb3aa;  /* acento sobre fondos oscuros */
  --lake: #1e3a39;          /* lago nocturno, secciones oscuras */
  --lake-deep: #172e2d;     /* pie de página */
  --border: #dce3df;        /* líneas finas */
  --on-dark: #f5f5f1;       /* texto sobre fondos oscuros */
  --on-dark-soft: #b9c9c4;  /* texto secundario sobre fondos oscuros */

  /* forma y tipografía */
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -24px rgba(29, 43, 44, 0.28);
  --font: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }

.container {
  width: min(1140px, 90%);
  margin-inline: auto;
}

/* --- Encabezados ------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3, h4 { font-weight: 400; line-height: 1.3; letter-spacing: 0; }

/* etiqueta superior: mayúsculas espaciadas con una línea corta de eucalipto */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.kicker.center { display: flex; justify-content: center; }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 1rem;
}

.section { padding: 6.5rem 0; }
.section.alt { background: var(--bg-alt); }

.center { text-align: center; }

/* --- Botones ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

/* CTA principal: verde lago */
.btn-primary { background: var(--accent-dark); color: var(--white); }
.btn-primary:hover { background: var(--accent-deep); }

/* secundario: línea fina en pizarra */
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* sobre fondos oscuros */
.btn-light { background: var(--on-dark); color: var(--lake); }
.btn-light:hover { background: var(--white); }

/* --- Header / Navegación ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand img { height: 30px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu > li { position: relative; }

.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  transition: color 0.15s var(--ease);
}
.nav-menu > li > a { border-bottom: 1px solid transparent; }
.nav-menu a:hover { color: var(--accent-dark); }
.nav-menu > li > a[aria-current="page"] { border-bottom-color: var(--accent); }
.sub-menu a[aria-current="page"] { color: var(--accent-dark); }

/* submenús */
.has-sub > button {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
}
.has-sub > button:hover { color: var(--accent-dark); }
.has-sub > button::after {
  content: "";
  width: 0.38em; height: 0.38em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.sub-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1rem;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  padding: 0.5rem;
  display: none;
}
/* puente invisible para que el submenú no se cierre al bajar el cursor */
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.sub-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
}
.sub-menu a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.has-sub.open .sub-menu, .has-sub:hover .sub-menu { display: block; }

.nav-cta { white-space: nowrap; }
.nav-menu .nav-cta .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; color: var(--white); }

@media (max-width: 1200px) {
  .nav-menu { gap: 1.4rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 5% 1.2rem;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { border-bottom: 1px solid var(--border); }
  .nav-menu > li.nav-cta { border-bottom: none; }
  .nav-menu a, .has-sub > button { padding: 0.85rem 0; width: 100%; font-size: 1rem; }
  .nav-menu > li > a { border-bottom: none; }
  .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 1px solid var(--accent);
    border-radius: 0;
    background: transparent;
    margin: 0 0 0.6rem 0.4rem;
    padding: 0 0 0 0.8rem;
  }
  .sub-menu::before { display: none; }
  .sub-menu a { padding: 0.55rem 0; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: block; }
  .nav-cta { margin-top: 1rem; }
  .nav-menu .nav-cta .btn { display: block; padding: 0.9rem 1.2rem; font-size: 1rem; }
}

/* --- Hero (inicio) ------------------------------------------------------ */

/* Portada luminosa: texto a la izquierda, video real enmarcado a la derecha */
.hero { padding: 5.5rem 0 6rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero .kicker { letter-spacing: 0.18em; }

.hero p { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 2.2rem; max-width: 32rem; }

.hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--bg-alt);
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
/* nota sobre el video */
.hero-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(245, 245, 241, 0.92);
  color: var(--ink);
  border-radius: 4px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
  .hero-media { aspect-ratio: 16 / 10; }
}

/* --- Encabezado de páginas internas ------------------------------------ */

.page-hero {
  position: relative;
  background: var(--bg-alt);
  color: var(--ink);
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { max-width: 1140px; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  max-width: 820px;
}
.page-hero p { max-width: 620px; margin-top: 1.3rem; font-size: 1.12rem; color: var(--ink-soft); }
.page-hero .actions { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Encabezado con foto (reservar.html): la foto cambia según el tipo de sesión elegido */
.page-hero-foto { padding: 4.5rem 0; }
.page-hero-foto .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.reserva-foto { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--lake); }
.reserva-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.reserva-foto[data-tipo="gratis"] .foto-gratis, .reserva-foto[data-tipo="prueba"] .foto-prueba { opacity: 1; }
@media (max-width: 860px) {
  .page-hero-foto .container { grid-template-columns: 1fr; gap: 2rem; }
  .reserva-foto { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .reserva-foto img { transition: none; } }

/* --- Tarjetas / grids ----------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: border-color 0.2s var(--ease);
}
.card:hover { border-color: var(--accent); }
.operamos-section .grid-2 { align-items: stretch; }

.card .icon {
  width: 80px; height: 80px;
  object-fit: contain;
  margin-bottom: 1.15rem;
}

/* número o ícono: círculo de línea fina */
.num-badge {
  width: 56px; height: 56px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
}

.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card .btn { margin-top: 1.3rem; }

/* tarjeta "por qué meditar": lista con líneas finas, sin cajas.
   Descripción visible en escritorio y plegable (acordeón, vía JS) en móvil */
.why-item {
  padding: 0;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
}
.why-item:last-of-type { border-bottom: 1px solid var(--border); }

.why-summary {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.3rem 0 0.4rem;
  cursor: default;
  touch-action: manipulation;
}
.why-summary-label { display: flex; align-items: center; gap: 1.1rem; }
.why-summary-label .num-badge { margin: 0; flex-shrink: 0; width: 40px; height: 40px; font-size: 1.05rem; }
.why-summary-label h3 { margin-bottom: 0; font-size: 1.3rem; }

.why-summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  line-height: 1;
  display: none;
}
.why-item.open .why-summary::after { content: "–"; }

/* en escritorio la descripción siempre se ve */
.why-desc { display: block; color: var(--ink-soft); font-size: 0.98rem; margin: 0; padding: 0 0 1.3rem calc(40px + 1.1rem); }

/* tarjeta "origen del método": acordeón solo en móvil */
.acc-item { padding: 0; text-align: left; }
.acc-summary {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1.9rem 1.8rem 0.6rem;
  cursor: default;
}
.acc-summary h3 { margin-bottom: 0; }
.acc-summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  line-height: 1;
  display: none;
}
.acc-item.open .acc-summary::after { content: "–"; }
.acc-desc { display: block; padding: 0 1.8rem 1.9rem; color: var(--ink-soft); }
.acc-desc p { margin-bottom: 0.7rem; }
.acc-desc p:last-child { margin-bottom: 0; }

.why-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.why-list .btn { align-self: flex-start; margin-top: 2rem; }

@media (min-width: 641px) {
  .why-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}

/* video embebido responsivo (16:9) */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lake);
}
.video-embed iframe, .video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Video de YouTube: se muestra la portada y el reproductor solo se carga al hacer clic */
.video-lite { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--lake); cursor: pointer; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; }
.video-lite-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  border-radius: 14px; background: rgba(23, 23, 23, 0.8); transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.video-lite-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video-lite:hover .video-lite-play, .video-lite:focus-visible .video-lite-play { background: #ff0033; transform: translate(-50%, -50%) scale(1.06); }

/* --- Galería manual (Principio básico / Principio de la mente) ----------- */

.mind-gallery { max-width: 1040px; margin-inline: auto; text-align: center; position: relative; }

/* Flechas fijas a los costados, alineadas con la imagen (alto fijo por
   aspect-ratio). El contador va en su propia fila, debajo de todo. */
.mind-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 640 / 280;
  pointer-events: none;
  z-index: 2;
}
.mind-frame .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}
.mind-frame .slider-btn.prev { left: 14px; }
.mind-frame .slider-btn.next { right: 14px; }

.mind-slide {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: 3rem;
}
.mind-slide.active { display: block; animation: fadeIn 0.5s var(--ease); }

.mind-illustration {
  background: var(--white);
  padding: 2rem 2.2rem 0.8rem;
  aspect-ratio: 640 / 280;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mind-illustration img {
  width: 100%;
  max-width: 820px;
  max-height: 100%;
  object-fit: contain;
  margin-inline: auto;
  display: block;
}

.mind-text-only {
  aspect-ratio: 640 / 280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5rem;
  text-align: center;
  background: var(--bg-alt);
}
.mind-text-only p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  padding: 0;
}

.mind-slide p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1.45;
  padding: 0 3.4rem;
  margin-top: 1.7rem;
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mind-slide .mind-text-only p { margin: 0; padding: 0; min-height: 0; }

.mind-counter {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* --- Precios -------------------------------------------------------------- */

.price-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.price-card .plan {
  font-size: 1.35rem;
  color: var(--ink);
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-card .card-text { margin-top: 0.8rem; min-height: 3.3rem; }
.start-grid .price-card .card-text { margin-bottom: 1.7rem; }
.start-grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.price-card .old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 0.9rem;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0.4rem;
}
.price-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font); }
.price-card .btn { margin-top: auto; width: 100%; }

.price-card .badge.placeholder { visibility: hidden; }
.price-card .meta { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }
.price-card .benefits {
  list-style: none;
  width: 100%;
  text-align: left;
  margin: 1.4rem 0 1.5rem;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--border);
}
.price-card .benefits li {
  position: relative;
  text-align: left;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.price-card .benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 10px;
  height: 1px;
  background: var(--accent-dark);
}
.price-card .also-available {
  width: 100%;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 0 0 1.3rem;
  text-align: left;
}
.price-card .also-available-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  font-variant-numeric: tabular-nums;
}
.price-card .also-available-row + .also-available-row { border-top: 1px solid var(--border); }
.price-card .also-available-row strong { color: var(--ink); font-weight: 600; }
.price-card .also-available-row s { color: var(--ink-soft); opacity: 0.75; font-weight: 400; margin-right: 0.35rem; }

/* tarjeta destacada: en lago nocturno */
.price-card.featured { background: var(--lake); border-color: var(--lake); color: var(--on-dark); }
.price-card.featured .plan, .price-card.featured .price { color: var(--on-dark); }
.price-card.featured .meta, .price-card.featured .benefits li, .price-card.featured p { color: var(--on-dark-soft); }
.price-card.featured .benefits { border-top-color: rgba(245, 245, 241, 0.16); }
.price-card.featured .benefits li::before { background: var(--accent-light); }
.price-card.featured .badge { background: transparent; color: var(--accent-light); border-color: var(--accent-light); }
.price-card.featured .btn-primary { background: var(--on-dark); color: var(--lake); }
.price-card.featured .btn-primary:hover { background: var(--white); }

.badge {
  display: inline-block;
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 0.8rem;
}

/* --- Toggle de precios (regular / estudiantes) ----------------------------- */

.price-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.price-tab {
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.price-tab.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.price-tab-panel { display: none; }
.price-tab-panel.active { display: block; }

/* --- Hub de programas (Descripción general) ------------------------------- */

.program-hub-primary { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .program-hub-primary { grid-template-columns: 1fr; } }

/* tarjeta con foto a sangre arriba */
.program-hub-card { text-align: left; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.program-hub-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.program-hub-card h3, .program-hub-card p, .program-hub-card .btn, .program-hub-card .program-hub-icons { margin-inline: 2rem; }
.program-hub-card h3 { font-size: 1.7rem; font-weight: 300; margin-top: 1.8rem; margin-bottom: 0.6rem; }
.program-hub-card p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.program-hub-card .btn { width: auto; margin-top: auto; }
.program-hub-icons { display: flex; gap: 0.6rem; margin-top: 1.2rem; margin-bottom: 2rem; }
.program-hub-icons a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.program-hub-icons a:hover { border-color: var(--accent); background: var(--accent-soft); }
.program-hub-icons svg { width: 18px; height: 18px; }

/* empresas: tarjeta horizontal, foto a la izquierda */
.program-hub-empresas {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 2rem;
  align-items: center;
  text-align: left;
  padding: 1.2rem 2rem 1.2rem 1.2rem;
}
.program-hub-empresas img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  grid-row: span 2;
}
.program-hub-empresas h3 { font-size: 1.45rem; font-weight: 300; margin-bottom: 0.3rem; align-self: end; }
.program-hub-empresas p { color: var(--ink-soft); font-size: 0.96rem; align-self: start; grid-column: 2; }
.program-hub-empresas .btn { grid-column: 3; grid-row: 1 / span 2; }
@media (max-width: 760px) {
  .program-hub-empresas { grid-template-columns: 1fr; padding: 0 0 1.8rem; gap: 0; }
  .program-hub-empresas img { grid-row: auto; border-radius: 0; aspect-ratio: 3 / 2; margin-bottom: 1.6rem; }
  .program-hub-empresas h3, .program-hub-empresas p, .program-hub-empresas .btn { grid-column: 1; grid-row: auto; margin-inline: 1.6rem; }
  .program-hub-empresas p { margin-bottom: 1.2rem; }
  .program-hub-empresas .btn { justify-self: start; }
}

/* --- Testimonios (slider) ------------------------------------------------- */

.slider { position: relative; max-width: 860px; margin-inline: auto; }

.slide {
  display: none;
  text-align: center;
  padding: 1rem 4rem;
}
.slide.active { display: block; animation: fadeIn 0.6s var(--ease); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.slide img.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.6rem;
}

.slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 1.3rem;
  color: var(--ink);
  text-wrap: balance;
}

.slide .detail { color: var(--ink-soft); font-size: 0.96rem; margin: 0 auto 1.1rem; max-width: 60ch; }
.slide .who { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.slide .who span { color: var(--ink-soft); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.slider-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.slider-dots button {
  width: 22px; height: 2px;
  border-radius: 0;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}
.slider-dots button.active { background: var(--accent-dark); width: 36px; }

.photo-slider { max-width: 860px; }
.photo-slider .slide { padding: 0 4rem; text-align: initial; }
/* 4:3 conserva casi toda la foto; el punto de enfoque alto protege las caras */
.photo-slider .slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
}

/* logo de reseñas de Google */
.reviews-badge { margin-inline: auto; height: 56px; width: auto; }

/* --- Estadísticas (anillos) ------------------------------------------------ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

.stat { text-align: center; }
.stat svg { width: 140px; height: 140px; }
.stat .ring-bg { stroke: var(--border); stroke-width: 4; }
.stat .ring-val { stroke: var(--accent-dark); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  fill: var(--ink);
}
.stat p { margin-top: 0.8rem; font-weight: 500; color: var(--ink-soft); }

/* --- FAQ (acordeón) -------------------------------------------------------- */

.faq { max-width: 1000px; margin-inline: auto; column-count: 2; column-gap: 3.5rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .faq { column-count: 1; } }
.faq details {
  break-inside: avoid;
  border-top: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  padding: 1.3rem 0;
  font-weight: 500;
  font-size: 1.04rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  transition: color 0.15s var(--ease);
}
.faq summary:hover { color: var(--accent-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 2.4rem 1.4rem 0; color: var(--ink-soft); }
.faq .answer a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- Galerías: mosaico con una foto protagonista --------------------------- */

/* 5 fotos: protagonista 2x2 + 4 chicas en 4 columnas */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.gallery img, .gallery .ph {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery > :first-child { grid-column: span 2; grid-row: span 2; }
/* 6 fotos: protagonista 2x2 + 2 a la derecha + fila de 3, sin recortes extremos */
.gallery.gallery-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .gallery, .gallery.gallery-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .gallery > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery.gallery-6 > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* carteles con texto (centro virtual): completos, sin recortar */
.gallery-posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 980px; margin-inline: auto; }
.gallery-posters img { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 720px) { .gallery-posters { grid-template-columns: 1fr; max-width: 420px; } }

/* marcador de posición (imágenes pendientes) */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--accent-dark);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

/* --- Bloques media + texto --------------------------------------------------- */

.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.media-text.reverse > .media { order: 2; }
@media (max-width: 820px) {
  .media-text { grid-template-columns: 1fr; gap: 2.4rem; }
  .media-text.reverse > .media { order: 0; }
}
.media-text .media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-text .media img.no-crop { aspect-ratio: auto; max-width: 460px; margin-inline: auto; }
.media-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1.2rem; }
.media-text p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.05rem; }
.media-text .btn { margin-top: 0.4rem; }
.actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.6rem; }

/* --- Comparación restar vs. calmar ----------------------------------------- */

.compare-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.compare-mini > div { padding: 1.6rem 1.7rem; border-radius: var(--radius); }
.compare-mini > div:first-child { background: transparent; border: 1px solid var(--border); }
.compare-mini > div:last-child { background: var(--lake); color: var(--on-dark); }
.compare-mini h4 { font-size: 1.35rem; font-weight: 300; margin-bottom: 0.6rem; color: var(--ink); }
.compare-mini > div:last-child h4 { color: var(--on-dark); }
.compare-mini p { margin: 0; font-size: 1.02rem; color: var(--ink-soft); }
.compare-mini > div:last-child p { color: var(--on-dark-soft); }
@media (max-width: 640px) {
  .compare-mini { grid-template-columns: 1fr; }
}

/* --- Animación: aguantar vs. soltar ---------------------------------------- */

.mind-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 2.4rem 1.2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.mind-figure { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.mind-figure svg { width: 110px; height: 130px; overflow: visible; }
.mind-figure span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.mind-vs { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--accent-dark); }
.mind-dot.float { animation: mind-float 3.6s ease-in-out infinite; }
.mind-dot.float.d1 { animation-delay: 0.8s; }
.mind-dot.float.d2 { animation-delay: 1.6s; }
.mind-dot.float.d3 { animation-delay: 2.4s; }
@keyframes mind-float {
  0% { transform: translateY(0); opacity: 1; }
  65% { opacity: 0.55; }
  100% { transform: translateY(-46px); opacity: 0; }
}
@media (max-width: 640px) {
  .mind-compare { gap: 0.9rem; padding: 1.7rem 0.7rem; }
  .mind-figure svg { width: 82px; height: 96px; }
  .mind-figure span { font-size: 0.7rem; }
}

/* --- Comparación con puntos por columna (Qué nos diferencia) ---------------- */

.diff-visual { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 2rem; }
.diff-col {
  flex: 1 1 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4rem 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.diff-col:last-child { border-color: var(--accent-dark); }
.diff-col .mind-figure svg { width: 170px; height: 200px; }
.diff-col .mind-figure span { font-size: 0.88rem; }
.diff-points { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0; width: 100%; }
.diff-points li { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; padding: 0.7rem 0; border-top: 1px solid var(--border); }
.diff-points li:first-child { border-top: none; }
.diff-points li strong { color: var(--ink); font-weight: 600; }
.card .diff-points { margin-top: 1.3rem; }
.card .diff-points li:first-child { border-top: 1px solid var(--border); }
.diff-vs { align-self: center; }
@media (max-width: 640px) {
  .diff-visual { gap: 1.2rem; }
  .diff-col { padding: 1.6rem 1.3rem; }
  .diff-col .mind-figure svg { width: 130px; height: 155px; }
  .diff-vs { width: 100%; text-align: center; }
}

/* --- Tarjetas "Lo que nos hace diferentes" con icono -------------------------- */

.diff-icon-label { display: flex; align-items: center; gap: 1rem; }
.diff-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diff-icon svg { width: 26px; height: 26px; }
.diff-cards .acc-summary h3 { font-size: 1.3rem; }
.diff-cards .acc-desc p { font-size: 1rem; line-height: 1.6; }

/* 5 tarjetas: mismo alto, y la fila incompleta centrada */
.diff-cards { grid-auto-rows: 1fr; }
@media (min-width: 921px) {
  .diff-cards { grid-template-columns: repeat(6, 1fr); }
  .diff-cards > .card { grid-column: span 2; }
  .diff-cards > .card:nth-child(4) { grid-column: 2 / span 2; }
  .diff-cards > .card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 641px) and (max-width: 920px) {
  .diff-cards > .card:nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - 0.75rem); margin-inline: auto; }
}

/* --- Proceso guiado paso a paso -------------------------------------------- */

.steps-list { max-width: 760px; margin: 3rem auto 0; }
.step-item { display: grid; grid-template-columns: 52px 1fr; gap: 1.6rem; position: relative; padding-bottom: 2.6rem; }
.step-item:last-child { padding-bottom: 0; }
.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: var(--accent);
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-item h3 { font-size: 1.3rem; margin-bottom: 0.4rem; padding-top: 0.6rem; }
.step-item p { color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) {
  .step-item { grid-template-columns: 42px 1fr; gap: 1rem; padding-bottom: 1.8rem; }
  .step-num { width: 42px; height: 42px; font-size: 1.05rem; }
  .step-item:not(:last-child)::before { left: 21px; top: 42px; }
  .step-item h3 { font-size: 1.1rem; padding-top: 0.4rem; }
}

/* --- Escalera del método de 7 niveles (gráfico animado) ---------------------- */

.level-gif-wrap { max-width: 900px; margin: 2.8rem auto 0; }
.level-gif-wrap img { border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* --- Horarios ----------------------------------------------------------------- */

.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 820px; margin-inline: auto; }
@media (max-width: 640px) { .schedule { grid-template-columns: 1fr; } }

/* tabla de horario dentro de tarjetas */
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; font-variant-numeric: tabular-nums; }
.hours td { padding: 0.75rem 0; border-top: 1px solid var(--border); color: var(--ink-soft); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours-line { color: var(--ink-soft); margin-top: 0.6rem; }
.hours-line strong { color: var(--ink); font-weight: 600; }

/* --- Logos de empresas ----------------------------------------------------------- */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}
.logo-row img, .logo-row .ph {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--white);
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}
.logo-row img:hover { filter: none; opacity: 1; }

/* --- Bloque de contacto / ubicación ------------------------------------------------ */

.contact-block h3 {
  font-family: var(--font-display);
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 500;
}
.contact-block h3:first-child { margin-top: 0; }
.contact-block .section-title + p { margin-bottom: 0.5rem; }
.contact-block p { color: var(--ink-soft); }
.contact-block p strong { color: var(--ink); font-weight: 600; }
.contact-block a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--accent); }
.contact-block a:hover { color: var(--accent-dark); }

.map-frame {
  border: 0;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  filter: grayscale(0.55) contrast(0.95);
  display: block;
}

/* --- CTA banda ----------------------------------------------------------------------- */

.cta-band {
  background: var(--accent-dark);
  color: var(--on-dark);
  text-align: center;
  padding: 5.5rem 0;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--on-dark);
  margin-bottom: 1rem;
}
.cta-band p { color: #d3e0dc; margin: 0 auto 2.2rem; max-width: 560px; font-size: 1.08rem; }
.cta-band a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .cta-note { margin: 1.4rem auto 0; font-size: 0.9rem; }

/* --- Contadores animados (movimiento internacional) ------------------------ */

.counters-band { background: var(--lake); color: var(--on-dark); }
.counters-band .section-title { color: var(--on-dark); }
.counter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; text-align: center; }
.counter + .counter { border-left: 1px solid rgba(245, 245, 241, 0.16); }
@media (max-width: 720px) {
  .counter-grid { grid-template-columns: 1fr; gap: 2rem; }
  .counter + .counter { border-left: none; border-top: 1px solid rgba(245, 245, 241, 0.16); padding-top: 2rem; }
}
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 300;
  color: var(--accent-light);
  font-variant-numeric: tabular-nums;
}
.counter p { margin-top: 0.3rem; color: var(--on-dark-soft); font-weight: 500; }

/* --- Galería de libros -------------------------------------------------------- */

.book-gallery {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 0.3rem 0.2rem 0.6rem;
  -webkit-overflow-scrolling: touch;
}
.book-gallery a { display: block; flex: 0 0 auto; transition: transform 0.25s var(--ease); }
.book-gallery a:hover { transform: translateY(-4px); }
.book-gallery img {
  height: 190px;
  width: auto;
  border-radius: 3px;
  box-shadow: var(--shadow);
  display: block;
}
@media (max-width: 900px) { .book-gallery img { height: 160px; } }
@media (max-width: 640px) { .book-gallery img { height: 130px; } }

.footnote { color: var(--ink-soft); font-size: 0.9rem; }

/* --- Quiénes somos: secciones ajustadas también en tablet ------------- */

@media (max-width: 1024px) {
  .operamos-section, .counters-band, .origin-section, .books-section {
    min-height: calc(100vh - 74px);
    min-height: calc(100dvh - 74px);
    display: flex;
    align-items: center;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
  .operamos-section .section-title,
  .counters-band .section-title,
  .origin-section .section-title,
  .books-section .section-title { font-size: 1.9rem; margin-bottom: 0.4rem; }
  .operamos-section .lead, .books-section .lead { font-size: 1rem; }
  .operamos-section .mt-2, .origin-section .mt-2, .books-section .mt-2 { margin-top: 1.1rem; }

  .operamos-section .grid-2 { gap: 0.8rem; }
  .operamos-section .card { padding: 1.1rem 1.2rem; }
  .operamos-section .card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
  .operamos-section .card p { font-size: 0.88rem; }

  .counter p { font-size: 0.9rem; }

  .origin-grid { gap: 0.8rem; }
  .acc-summary { padding: 1.2rem 1.2rem 0.3rem; }
  .acc-summary h3 { font-size: 1.05rem; }
  .acc-desc { padding: 0 1.2rem 1.2rem; font-size: 0.88rem; }

  .books-section img { height: 170px; }
  .books-section p { font-size: 0.85rem; }
}

/* Móvil: estas 2 secciones se ajustan a su contenido */
@media (max-width: 640px) {
  .counters-band {
    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .origin-section {
    min-height: 0;
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .counter-grid { gap: 1.6rem; }
  .counter-num { font-size: 3.4rem; }
  .counter p { font-size: 1.05rem; }
  .counters-band .lead, .counters-band p { font-size: 1.02rem; }
  .counters-band .btn { font-size: 0.95rem; padding: 0.9rem 1.4rem; }

  .origin-section .section-title { margin-bottom: 0.2rem; }
  .origin-section .mt-2 { margin-top: 0.7rem; }
  .origin-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .acc-summary { padding: 1.1rem 1.2rem; cursor: pointer; }
  .acc-summary h3 { font-size: 1.2rem; line-height: 1.3; }
  .acc-summary::after { display: block; }
  .acc-desc { display: none; padding: 0 1.2rem 1.2rem; font-size: 0.95rem; }
  .acc-item.open .acc-desc { display: block; }

  /* Libros: 3 arriba y 3 abajo, sin deslizar */
  .book-gallery {
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0;
    gap: 0.6rem;
  }
  .book-gallery a { flex: 0 0 calc(33.333% - 0.4rem); }
  .book-gallery img { width: 100%; height: auto; }
}

/* --- Blog / video cards ---------------------------------------------------------------- */

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 210px;
  transition: border-color 0.2s var(--ease);
}
.video-card:hover { border-color: var(--accent-dark); }
.video-card h3 { font-size: 1.3rem; color: var(--ink); }
.video-card .play {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  padding-left: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.video-card:hover .play { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.video-card .watch {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 600;
}
.video-card .watch::after { content: " →"; }

/* --- Reservas: tipo de sesión + lugar → calendario insertado --------------- */

.booking .container { max-width: 960px; }
.booking-step + .booking-step { margin-top: 3.2rem; }
.booking-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 1.4rem;
}
.booking-title .step-num { width: 40px; height: 40px; font-size: 1.05rem; }

.choice-grid { display: grid; gap: 1rem; }
.choice-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .choice-grid-2, .choice-grid-3 { grid-template-columns: minmax(0, 1fr); } }

.choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.choice:hover { border-color: var(--accent); }
.choice[aria-pressed="true"] { border-color: var(--accent-dark); background: var(--white); box-shadow: inset 0 0 0 1px var(--accent-dark); }
/* círculo de selección, abierto o relleno */
.choice::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--accent);
}
.choice[aria-pressed="true"]::after { border: 5px solid var(--accent-dark); }
.choice-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; padding-right: 2rem; }
.choice-meta { font-weight: 600; font-size: 0.92rem; color: var(--accent-dark); }
.choice-desc { color: var(--ink-soft); font-size: 0.95rem; }

.booking-hint { margin-top: 2.6rem; color: var(--ink-soft); text-align: center; }
.booking-hint a { font-weight: 600; }

.booking-result { margin-top: 3.2rem; scroll-margin-top: 90px; }
.booking-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  margin-bottom: 1.2rem;
}
.booking-summary .kicker { display: flex; margin-bottom: 0.3rem; }
.booking-summary strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.booking-change {
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.55rem 1.2rem;
  cursor: pointer;
}
.booking-change:hover { background: var(--ink); color: var(--bg); }
.booking-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
}
/* el iframe de Universe Mind ajusta su propio alto; otros calendarios usan uno fijo */
.booking-frame > iframe { width: 100%; height: 760px; border: 0; display: block; }
.booking-frame [data-um-embed] > a { display: block; padding: 2rem; text-align: center; font-weight: 600; }
.booking-fallback { margin-top: 0.9rem; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }
.booking-fallback a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .booking-frame > iframe { height: 80vh; }
  .choice { padding: 1.1rem 1.2rem; }
  .choice::after { top: 1.15rem; right: 1.15rem; }
}

/* --- Membresía: selector de 1, 3 o 6 meses ------------------------------ */

.plan-upsell {
  margin-top: auto;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: left;
  margin-bottom: 0.5rem;
}
.plan-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.4rem;
  width: 100%;
  margin-bottom: 0.8rem;
}
.plan-tab {
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.3rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.plan-tab:hover { border-color: var(--accent-dark); }
.plan-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
/* etiqueta de ahorro: pastilla rellena para que destaque */
.plan-tab .save {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--accent-dark);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  white-space: nowrap;
}
.plan-tab[aria-pressed="true"] .save { background: var(--accent); color: var(--ink); }
/* con las 3 opciones visibles, "1 mes" (sin etiqueta) ocupa menos y las etiquetas pueden partirse */
.plan-tabs:not(:has(> [hidden])) { grid-auto-flow: row; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1fr); }
.plan-tabs:not(:has(> [hidden])) .save { white-space: normal; text-align: center; line-height: 1.15; max-width: 100%; }
.membership .benefits { margin-bottom: 1.2rem; }
.price-card.membership .plan-cta { margin-top: 0; }

/* --- Reservas: paso 3, pago de la sesión de prueba ------------------------ */

.booking-pay { margin-top: 3rem; }
.booking-pay-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.booking-pay-box p { color: var(--ink-soft); margin: 0; }
.booking-pay-alt { font-size: 0.92rem; }
.booking-pay-alt a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- Páginas de gracias después del pago ------------------------------- */

.thanks-steps { margin-top: 0; }
.thanks-steps .actions { margin-top: 1rem; }
.thanks-steps .hours-line { margin-top: 0.5rem; }
.step-item .prep-hint { margin: 1.4rem 0 0.6rem; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.plan-tabs.prep-tabs { max-width: 460px; margin-bottom: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prep-tabs .plan-tab { padding: 0.75rem 0.4rem; }
.prep-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.prep { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.3rem 1.4rem; }
.prep h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 0.3rem; }
.prep p { margin: 0 0 0.5rem; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.prep ul { list-style: none; display: grid; gap: 0.35rem; margin-bottom: 0.6rem; }
.prep li { position: relative; padding-left: 1.2rem; color: var(--ink-soft); font-size: 0.95rem; }
.prep li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--accent-dark); }
.prep ul:last-child { margin-bottom: 0; }
.prep a { font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }
.thanks-steps .hours-line strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .thanks-steps .actions .btn { flex: 1 1 100%; } }

/* --- Footer -------------------------------------------------------------------------------- */

.site-footer {
  background: var(--lake-deep);
  color: var(--on-dark-soft);
  padding: 4.5rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--on-dark); font-size: 0.96rem; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .about { font-size: 0.95rem; max-width: 34ch; }
.site-footer .brand-foot {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--on-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 245, 241, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.86rem;
  color: #8ea39e;
}

/* --- WhatsApp flotante ------------------------------------------------------------------------ */

.wa-float-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 90; }

.wa-float {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(29, 43, 44, 0.45);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.2s var(--ease);
}
.wa-float:hover { background: var(--accent-deep); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

.wa-menu {
  position: absolute;
  right: 0;
  bottom: 68px;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}
.wa-float-wrap.open .wa-menu { display: flex; }
.wa-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.wa-menu a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.wa-menu .wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; flex-shrink: 0; }

/* --- Utilidades -------------------------------------------------------------------------------- */

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2.4rem; }
.mb-2 { margin-bottom: 2rem; }
.narrow { max-width: 760px; }
.show-mobile { display: none; }
.stretch { align-items: stretch; }
.start { align-items: start; }
.card p strong { color: var(--ink); font-weight: 600; }
.slide .who span { font-weight: 400; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 680px; margin-inline: auto; }

/* animación de aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mind-dot.float, .swipe-arrow { animation: none; }
  .slide.active, .mind-slide.active { animation: none; }
}

/* pista de "desliza" para carruseles horizontales en móvil (oculta en escritorio) */
.swipe-hint { display: none; }

/* ==========================================================================
   Móvil: cada sección visible completa en 1 pantalla al hacer scroll
   (celular = >80% del tráfico de Google Ads). Se activa con la clase
   .viewport-section en el <section>. No se aplica a header/footer.
   ========================================================================== */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: 88%; }
  .section { padding: 3.4rem 0; }
  .section-title { font-size: 2rem; }

  .viewport-section {
    min-height: calc(100vh - 74px);
    min-height: calc(100dvh - 74px);
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Hero: texto arriba, video abajo */
  .hero.viewport-section { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .hero h1 { font-size: clamp(2.2rem, 10.4vw, 2.7rem); }
  .hero p { font-size: 1.04rem; margin-bottom: 1.6rem; }
  /* etiqueta y párrafo de la portada caben en 1 y 2 líneas en celular */
  .hero .kicker { letter-spacing: 0.16em; white-space: nowrap; }
  .hero .kicker::before { display: none; }
  .hide-mobile { display: none; }
  .show-mobile { display: inline; }
  .hero .actions { gap: 0.6rem; }
  .hero .actions .btn { flex: 1 1 auto; }

  .page-hero, .page-hero.viewport-section { min-height: 0; display: block; padding: 3.6rem 0 3.2rem; }
  .page-hero h1 { font-size: 2.5rem; }
  .page-hero p { font-size: 1.02rem; }
  .page-hero .actions .btn { flex: 1 1 auto; }

  /* Por qué necesitamos meditar: lista plegable, solo título hasta tocar "+" */
  .why-meditate .why-list { margin-top: 1.4rem; }
  .why-meditate .why-list .btn { margin-top: 1.4rem; width: 100%; }

  .why-summary { cursor: pointer; padding: 1rem 0; }
  .why-summary-label { gap: 0.9rem; }
  .why-summary-label .num-badge { width: 36px; height: 36px; font-size: 1rem; }
  .why-summary-label h3 { font-size: 1.12rem; }
  .why-summary::after { display: block; }

  .why-desc { display: none; padding: 0 0 1rem calc(36px + 0.9rem); font-size: 0.94rem; }
  .why-item.open .why-desc { display: block; }

  /* Testimonios */
  .slide { padding: 0.5rem 2.8rem; }
  .slide img.avatar { width: 64px; height: 64px; margin-bottom: 1rem; }
  .slide blockquote { font-size: 1.2rem; }
  .slide .detail { font-size: 0.88rem; }
  .slider-btn { width: 38px; height: 38px; font-size: 1.2rem; }

  .photo-slider .slide { padding: 0 2.8rem; }

  /* Rejillas de tarjetas: carrusel horizontal, 1 tarjeta por pantalla */
  .start-grid, .mobile-carousel {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    margin: 0 -6.8% 0;
    padding: 0.3rem 6.8% 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .start-grid::-webkit-scrollbar, .mobile-carousel::-webkit-scrollbar { display: none; }
  .start-grid > *, .mobile-carousel > * {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }

  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 500;
  }
  .swipe-arrow { display: inline-block; animation: swipe-nudge 1.6s ease-in-out infinite; }
  @keyframes swipe-nudge {
    0%, 100% { transform: translateX(0); opacity: 0.55; }
    50% { transform: translateX(6px); opacity: 1; }
  }

  /* "Elige cómo empezar": tarjetas apiladas y compactas */
  .start-section {
    min-height: 0;
    display: block;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
  .start-grid {
    display: flex;
    flex-direction: column;
    overflow: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
    gap: 0.7rem;
  }
  .start-grid > * { flex: 1 1 auto; scroll-snap-align: none; }
  .start-section .section-title { margin-bottom: 0.4rem; }
  .start-section .mt-2 { margin-top: 1rem; }
  .start-section .lead { font-size: 0.96rem; }
  .start-section .card { padding: 1.2rem 1.2rem; }
  .start-section .price-card .plan { font-size: 1.2rem; min-height: 0; line-height: 1.25; }
  .start-section .price-card .card-text {
    font-size: 0.94rem;
    line-height: 1.4;
    min-height: 0;
    margin-top: 0.3rem;
    margin-bottom: 0.9rem;
  }
  .start-section .price-card .btn { padding: 0.7rem 1.15rem; font-size: 0.95rem; margin-top: 0; }

  /* "Lo que vas a sentir" */
  .feel-section {
    min-height: 0;
    display: block;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
  .feel-section .section-title { margin-bottom: 0.4rem; }
  .feel-section .lead { font-size: 0.95rem; }
  .feel-section .mt-2 { margin-top: 1rem; }

  /* Encuesta: 2 columnas con anillos más chicos */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0.8rem; padding-top: 1.8rem; }
  .stat svg { width: 96px; height: 96px; }
  .stat .num { font-size: 1.7rem; }
  .stat p { font-size: 0.84rem; margin-top: 0.4rem; line-height: 1.35; }

  /* FAQ */
  .faq { margin-top: 1.4rem; }
  .faq summary { padding: 1rem 0; font-size: 0.98rem; line-height: 1.4; gap: 0.8rem; }
  .faq summary::after { font-size: 1.4rem; }
  .faq .answer { padding: 0 0 1rem; }
  .faq .answer p { font-size: 0.94rem; line-height: 1.55; }

  /* Contacto + mapa */
  .map-frame { height: 240px; }
  .contact-block h3 { margin-top: 1.4rem; }

  .logo-row img, .logo-row .ph { width: 76px; height: 76px; }
  .logo-row { gap: 1rem; }

  .video-card { padding: 1.5rem; min-height: 190px; }

  .cta-band { padding: 4rem 0; }
  .cta-band .btn { width: 100%; max-width: 360px; }

  /* Galerías de diapositivas */
  .mind-illustration { padding: 1.3rem 1rem 0.4rem; }
  .mind-illustration img { max-width: 380px; }
  .mind-text-only { padding: 1.5rem 3.4rem; }
  .mind-text-only p { font-size: 1.35rem; }
  .mind-slide p { font-size: 1.2rem; padding: 0 1.5rem; margin-top: 1.1rem; min-height: 4.7rem; }
  .mind-slide { padding-bottom: 1.8rem; }
  .mind-frame .slider-btn { width: 40px; height: 40px; font-size: 1.15rem; }
  .mind-frame .slider-btn.prev { left: 6px; }
  .mind-frame .slider-btn.next { right: 6px; }

  .wa-float-wrap { right: 16px; bottom: 16px; }
}

@media (max-width: 380px) {
  .mobile-carousel > * { flex-basis: 92%; }
}

/* --- Página de campaña: clase de introducción gratuita en CDMX ------------------- */

.lp-header-cta { padding-inline: 1.2rem; white-space: nowrap; }
.lp-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.lp-hero-img { width: 100%; height: auto; border-radius: var(--radius); }
.lp-rating { font-size: 1rem !important; margin-top: 1.4rem !important; }
.lp-rating span { color: #d9a441; }
.lp-rating strong { color: var(--ink); font-weight: 600; }
.lp-section { padding: 4.5rem 0; }
/* Alternativa de pago bajo el calendario de la landing: visible, pero secundaria a la clase gratis */
.lp-alt-prueba {
  max-width: 920px; margin: 1.6rem auto 0; padding: 1.3rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem;
  background: var(--bg-alt); border-radius: var(--radius-lg);
}
.lp-alt-prueba p { margin: 0; color: var(--ink); }
.lp-alt-prueba .nowrap { white-space: nowrap; }
.lp-alt-prueba strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.2rem; }
.lp-alt-prueba .btn { flex: 0 0 auto; }
@media (max-width: 640px) {
  .lp-alt-prueba { flex-direction: column; align-items: stretch; text-align: center; }
}
.lp-method { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lp-points { list-style: none; margin: 0; padding: 0; }
.lp-points li { padding: 1.1rem 0; border-top: 1px solid var(--border); color: var(--ink-soft); }
.lp-points li:last-child { border-bottom: 1px solid var(--border); }
.lp-points strong { color: var(--ink); font-weight: 600; }
.lp-quote { margin: 0; }
.lp-quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.lp-quote blockquote { margin: 0 0 1rem; color: var(--ink); }
.lp-quote figcaption { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.lp-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; }

@media (max-width: 860px) {
  .lp-hero, .lp-method { grid-template-columns: 1fr; gap: 2rem; }
  .lp-section { padding: 3.2rem 0; }
  .lp-wa { right: 16px; bottom: 16px; }
}

/* --- Aviso de privacidad --------------------------------------------------------- */

.legal h2 { font-size: 1.55rem; margin: 2.6rem 0 0.8rem; }
.legal h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { font-size: 0.92rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* --- Pie: datos rápidos de los centros --------------------------------------------- */

.footer-centers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  margin-bottom: 2.6rem;
  border-bottom: 1px solid rgba(245, 245, 241, 0.12);
}
.footer-centers p { font-size: 0.95rem; margin-bottom: 0.3rem; }
.footer-center-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin-top: 0.7rem; }
.footer-center-links a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .footer-centers { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Formulario de empresas ------------------------------------------------------- */

.form-empresas { display: grid; gap: 1rem; margin-top: 1.2rem; }
.form-empresas .btn { margin-top: 0; justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: 0.35rem; min-width: 0; }
.form-field label { font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.form-optional { font-weight: 400; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink-soft);
  border-radius: var(--radius);
}
.form-field textarea { resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 1px;
}
.form-empresas .footnote a { text-decoration: underline; text-underline-offset: 3px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 0.75rem 0.9rem; border-radius: var(--radius); font-size: 0.95rem; }
.card p.form-status { color: var(--ink); }
.form-status.is-ok { background: var(--bg-soft, #eef3f0); border: 1px solid var(--accent-dark); }
.form-status.is-error { background: #fbeeea; border: 1px solid #b4553c; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* --- Taller "¿Quién soy yo?" ------------------------------------------------------ */

.taller-datos { list-style: none; margin: 1.8rem 0 0; padding: 0; max-width: 520px; }
.taller-datos li { display: grid; gap: 0.1rem; padding: 0.85rem 0; border-top: 1px solid var(--border); }
.taller-datos li:last-child { border-bottom: 1px solid var(--border); }
.taller-datos strong { color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.taller-datos span { color: var(--ink-soft); font-size: 0.96rem; }
.taller-hero-img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
.taller-aviso { font-weight: 600; color: var(--ink) !important; }
.taller-aviso a, .taller-reserva .footnote a { text-decoration: underline; text-underline-offset: 3px; }
.taller-reserva { max-width: 640px; margin-inline: auto; }
.taller-reserva .section-title { margin-top: 0.4rem; }
.taller-reserva .form-empresas .btn { justify-self: stretch; }
.taller-mientras { max-width: 960px; margin-inline: auto; align-items: stretch; gap: 1.5rem; }
.taller-mientras .card { display: flex; flex-direction: column; }
.taller-mientras .card .actions { margin-top: auto; padding-top: 1.2rem; }
.taller-sticky { display: none; }
@media (max-width: 860px) {
  .taller-hero-img { aspect-ratio: 4 / 3; max-height: 360px; object-position: 50% 30%; }
  .taller-sticky {
    display: flex; justify-content: center;
    position: fixed; left: 16px; right: 84px; bottom: 16px; z-index: 89;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  }
  .taller-sticky[hidden] { display: none; }
}
.taller-pagado { background: var(--bg-alt); }
.taller-guia { grid-template-columns: 0.8fr 1.2fr; }
.taller-guia img { max-width: 440px; justify-self: center; }
.taller-guia p + p { margin-top: 1rem; }
.taller-guia .section-title { font-size: 2.1rem; }
@media (max-width: 860px) { .taller-guia { grid-template-columns: 1fr; } .taller-guia img { max-width: 320px; } .taller-guia .section-title { font-size: 1.8rem; } }

/* --- Promoción (PROMO en js/main.js) ---------------------------------------------- */

.promo-franja { background: #c8102e; color: var(--white); text-align: center; padding: 1.25rem 16px; font-size: 1.2rem; line-height: 1.4; }
.promo-franja p { margin: 0; }
.promo-franja strong { font-weight: 600; }
.promo-franja a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#precios { scroll-margin-top: 80px; }
.price-card .badge:not(.placeholder) { background: var(--accent-dark); color: var(--white); border-color: var(--accent-dark); }
.promo-nota { width: 100%; margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-soft); }
.promo-nota strong { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
.promo-copiar { margin-left: 0.3rem; padding: 0.2rem 0.6rem; font: inherit; font-size: 0.85rem; color: var(--accent-dark); background: transparent; border: 1px solid var(--accent-dark); border-radius: var(--radius); cursor: pointer; }
.promo-copiar:hover { background: var(--accent-dark); color: var(--white); }
.promo-nota .promo-legal { margin-top: 0.5rem; font-size: 0.78rem; line-height: 1.45; }
@media (max-width: 640px) { .promo-franja { padding: 1rem 16px; font-size: 1.05rem; } }

/* --- Empresas: foto en portada, videos y foto de contacto ------------------ */
.empresas-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.empresas-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.empresas-videos figure { margin: 0; }
.empresas-videos video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--ink); border-radius: var(--radius-lg); }
.empresas-videos figcaption { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.contact-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }
@media (max-width: 860px) { .empresas-videos { grid-template-columns: 1fr; } }

/* --- Empresas: descarga de la presentación y collage en movimiento ------- */
.btn-descarga { display: inline-flex; align-items: center; gap: 0.5rem; }
.deck-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.2rem; align-items: center; margin-bottom: 2.2rem; padding: 0 0 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.contact-block a.deck-card { border-bottom: 1px solid var(--border); font-weight: 400; }
.deck-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(29, 43, 44, 0.12); }
.deck-card img { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-bottom: 1px solid var(--border); }
.deck-card-text { display: flex; flex-direction: column; gap: 0.25rem; padding-left: 1.2rem; }
.deck-card-text strong { font-weight: 600; color: var(--ink); }
.deck-card-text span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.deck-card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-right: 1.2rem; border-radius: 50%; background: var(--accent-dark); color: var(--white); }

.collage-section { overflow: hidden; }
.collage { display: grid; gap: 12px; margin-top: 2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.collage-track { display: flex; gap: 12px; padding-right: 12px; width: max-content; animation: collage-izq 70s linear infinite; }
.collage-track.reverse { animation-name: collage-der; animation-duration: 80s; }
.collage-track img { height: 240px; width: auto; flex: 0 0 auto; object-fit: cover; border-radius: var(--radius-lg); }
@keyframes collage-izq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes collage-der { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 640px) { .collage-track img { height: 160px; } .collage { gap: 8px; } .collage-track { gap: 8px; padding-right: 8px; } }
@media (prefers-reduced-motion: reduce) { .collage-track { animation: none; } .collage { overflow-x: auto; } }
