/* ==========================================================================
   Tarmayoga — Landing
   Estructura basada en la plantilla "Pilates" (Framer) con la paleta
   corporativa del logo de Tarmayoga (verde Tarma, gris pizarra, menta,
   gris niebla y salvia). Inter Display (light) para títulos, Inter para el texto y
   Josefin Sans para la marca.
   Índice
     1. Tokens
     2. Base y utilidades
     3. Componentes compartidos
     4. Cabecera
     5. Secciones
     6. Pie
     7. Flotantes
     8. Responsive
   ========================================================================== */

/* 0. Tipografías ----------------------------------------------------------- */
/* Inter y Josefin Sans alojadas en la propia web (assets/fonts), no en Google
   Fonts: así no se envía la IP de quien visita a terceros (ver política de
   privacidad). Son fuentes variables: un solo archivo cubre todos los grosores
   (y, en Inter, el tamaño óptico 14–32). El navegador solo descarga el archivo
   "latin-ext" si la página usa alguno de esos caracteres. Licencia SIL OFL 1.1. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../assets/fonts/josefin-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../assets/fonts/josefin-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 1. Tokens ---------------------------------------------------------------- */
/* Todas las variables llevan el prefijo --ty- a propósito: algunas extensiones
   del navegador inyectan variables genéricas (--accent, --bg…) en las páginas y,
   según el orden de carga, pisaban las nuestras (los botones salían azules). */
:root {
  /* Radios: uno para bloques e imágenes, otro para lo que va dentro, y la esquina "hoja" */
  --ty-r: 16px;
  --ty-r-in: 12px;
  --ty-leaf: 40px;
  /* Colores del logo */
  --ty-brand: #51947A;         /* verde Tarma ("TARMA") */
  --ty-slate: #606663;         /* gris pizarra (silueta y "YOGA") */
  --ty-mint: #DEEDE6;          /* hoja menta */
  --ty-mist: #E9EBE8;          /* hoja gris */
  --ty-sage: #9CC5B4;          /* línea orgánica */

  /* Derivados para la interfaz */
  --ty-bg: #FBFCFA;
  --ty-ink: #2B3330;           /* pizarra profundo para títulos */
  --ty-muted: #646B67;
  --ty-light: #E3ECE7;         /* texto claro sobre fondos oscuros */
  --ty-placeholder: #A9B5AF;
  --ty-line: #DCE7E1;

  --ty-accent: #3B7A61;        /* verde Tarma profundo: botones (contraste AA) */
  --ty-accent-hover: #316A53;
  --ty-soft: #EEF5F1;          /* tarjetas */
  --ty-soft-2: var(--ty-mint);    /* botón claro / separadores */
  --ty-soft-open: #E2EEE8;     /* FAQ abierta */
  --ty-brand-font: 'Josefin Sans', 'Inter', sans-serif;

  /* Horario: color de cada clase (punto del filtro) y tono de su casilla */
  --ty-yoga: #9CC5B4;          /* Hatha Yoga: salvia */
  --ty-yoga-tile: #E3F0EA;
  --ty-pilates: #6F93B0;       /* Pilates: azul polvo (casilla igual de clara que la de Hatha) */
  --ty-pilates-tile: #E4EDF5;
  --ty-kundalini: #B8946A;     /* Kundalini Yoga: beis / lino cálido */
  --ty-kundalini-tile: #EDE3D1;

  --ty-pend-bg: #FBF0D5;
  --ty-pend-line: #D19A2E;
  --ty-pend-ink: #6E5112;

  --ty-whatsapp: var(--ty-accent);   /* botón flotante de WhatsApp en el verde oscuro de la web */

  /* Títulos y cifras grandes: Inter Display (light). Es Inter con el eje de tamaño
     óptico: a partir de ~32 px el navegador usa sola el diseño Display */
  --ty-display: 'Inter', system-ui, -apple-system, sans-serif;
  --ty-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --ty-ease: cubic-bezier(.22, 1, .36, 1);
}

/* 2. Base y utilidades ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ty-bg);
  color: var(--ty-ink);
  font: 400 16px/1.2 var(--ty-sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ty-line); color: var(--ty-ink); }
[hidden] { display: none !important; }

.page { overflow-x: clip; }

.container {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; scroll-margin-top: 56px; }

/* Imagen que rellena su contenedor */
.cover,
.bento-card > img,
.class-media img,
.benefits-media img,
.profile-media img,
.member-media img,
.gallery-item img,
.story-slide img,
.contact-media img,
.hero-bg img,
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grano sutil sobre algunas fotos (como en la plantilla) */
.noise,
.hero--page .hero-bg::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Cabeceras de sección: el mismo grano, encima de la foto y del degradado */
.hero--page .hero-bg::after { content: ''; opacity: .28; }

/* Aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ty-ease) var(--ty-d, 0s), transform .8s var(--ty-ease) var(--ty-d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Títulos grandes: diseño Inter Display forzado (tamaño óptico 32), igual que la
   referencia, sin depender de que el navegador lo elija solo según el tamaño */
.hero-title, .section-title, .profile-name, .footer-cta-title, .workshop-title,
.workshop-band-title, .form-sent-title, .bento-title, .tab, .benefit-time,
.member-name, .rate-amount, .rate-count, .rate-name--lg, .wa-card-title,
.group-head .eyebrow, .act-name, .detail-card-title, .week-name, .week-hero-time, .steps-claim, .related-title {
  font-variation-settings: "opsz" 32;
}

/* 3. Componentes compartidos ---------------------------------------------- */

/* Botones (40px de alto, en forma de píldora como la barra de navegación) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  white-space: nowrap;
  padding: 10.5px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ty-accent);
  color: var(--ty-bg);
  font: 500 16px/1.2 var(--ty-sans);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 1px 2px rgba(38,46,42,.1);
  transition: background-color .25s ease, transform .25s var(--ty-ease), box-shadow .25s ease;
}
.btn:hover { background: var(--ty-accent-hover); transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--light { background: var(--ty-soft-2); color: var(--ty-ink); box-shadow: none; }
.btn--light:hover { background: #FFFFFF; }

.btn--soft { background: var(--ty-soft); color: var(--ty-ink); box-shadow: none; }
.btn--soft:hover { background: var(--ty-soft-2); }

.btn--block { width: 100%; padding: 14.5px 16px; }
/* Cabecera de sección */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 0 auto 40px;
  max-width: 560px;
}
.section-head .btn { margin-top: 12px; }
.section-head .pill-pending,
.section-head .rating,
.section-head .contact-icons { margin-top: 12px; }

/* Marcador de sección: etiqueta en píldora menta con la flor del logo y el texto en
   mayúsculas espaciadas con Josefin Sans (la letra de "TARMAYOGA" en el logo).
   Texto #316A53 sobre menta = contraste 5,2:1 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;   /* que no se estire dentro de columnas flexibles */
  padding: 7px 12px 6px 10px;   /* Josefin queda alta en su caja: 1px más arriba la centra */
  border-radius: 999px;
  background: var(--ty-mint);
  font: 400 12.5px/1 var(--ty-brand-font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ty-accent-hover);
}
/* La flor del logo (cuatro pétalos detrás de la silueta), redibujada en SVG,
   en el verde oscuro de la web (#3B7A61) */
.eyebrow-dot {
  flex: none;
  width: 13px;
  height: 12px;
  margin-top: -1px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69.5 63.5'%3E%3Cpath fill='%233B7A61' d='M0 0H18.7A15.3 15.3 0 0 1 34 15.3V34H15.3A15.3 15.3 0 0 1 0 18.7ZM50.8 0H69.5V18.7A15.3 15.3 0 0 1 54.2 34H35.5V15.3A15.3 15.3 0 0 1 50.8 0Z'/%3E%3Cpath fill='%233B7A61' d='M18.6 35.5H34V50.9A12.6 12.6 0 0 1 21.4 63.5H6V48.1A12.6 12.6 0 0 1 18.6 35.5ZM35.5 35.5H50.9A12.6 12.6 0 0 1 63.5 48.1V63.5H48.1A12.6 12.6 0 0 1 35.5 50.9Z'/%3E%3C/svg%3E");
}
.eyebrow--light { color: var(--ty-bg); background: rgba(255,255,255,.16); }
/* Sobre fotos oscuras: pétalos menta y blanco translúcido */
.eyebrow--light .eyebrow-dot {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69.5 63.5'%3E%3Cpath fill='%23DEEDE6' d='M0 0H18.7A15.3 15.3 0 0 1 34 15.3V34H15.3A15.3 15.3 0 0 1 0 18.7ZM50.8 0H69.5V18.7A15.3 15.3 0 0 1 54.2 34H35.5V15.3A15.3 15.3 0 0 1 50.8 0Z'/%3E%3Cpath fill='%23FFFFFF' fill-opacity='.55' d='M18.6 35.5H34V50.9A12.6 12.6 0 0 1 21.4 63.5H6V48.1A12.6 12.6 0 0 1 18.6 35.5ZM35.5 35.5H50.9A12.6 12.6 0 0 1 63.5 48.1V63.5H48.1A12.6 12.6 0 0 1 35.5 50.9Z'/%3E%3C/svg%3E");
}

.section-title {
  margin: 0;
  font: 300 40px/1.05 var(--ty-display);
  letter-spacing: -0.045em;
  color: var(--ty-ink);
  text-wrap: balance;
}

.section-lead {
  margin: 0;
  max-width: 480px;
  font: 400 16px/1.2 var(--ty-sans);
  color: var(--ty-muted);
  text-wrap: balance;
}
.section-lead--narrow { max-width: 360px; }
/* Fases de "Así es una clase": títulos alineados arriba aunque el texto varíe */
.benefit.benefit--step { justify-content: flex-start; gap: 32px; }
/* Cabecera de "Así es una clase": dos columnas de la misma altura. A la izquierda el
   título y la frase (en verde, con la letra de los títulos); a la derecha la
   introducción, con una línea vertical que mide lo mismo que el bloque del título
   (el texto se centra contra ella). Sin introducción, la frase va a la derecha. */
.steps-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 64px;
  margin-bottom: 40px;
}
.steps-head-main { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.steps-claim {
  margin: 0;
  max-width: 440px;
  font: 300 22px/1.2 var(--ty-display);
  letter-spacing: -0.025em;
  color: var(--ty-accent);
  text-wrap: balance;
}
.steps-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--ty-sage);
  font: 400 16px/1.55 var(--ty-sans);
  color: var(--ty-muted);
  text-wrap: pretty;
}
.steps-intro p { margin: 0; }
@media (max-width: 809.98px) {
  .steps-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .steps-head-main { gap: 14px; }
  .steps-claim { font-size: 20px; }
  .steps-intro { padding-left: 16px; }
}

/* Texto de cierre y nota legal bajo las fases de "Así es una clase" */
.steps-outro {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
  font: 400 20px/1.4 var(--ty-display);
  color: var(--ty-ink);
  text-wrap: balance;
}
.steps-outro p { margin: 0; }
.steps-outro p + p { margin-top: 8px; }
.steps-disclaimer {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  font: 400 13px/1.5 var(--ty-sans);
  color: var(--ty-muted);
  text-wrap: pretty;
}

/* Avisos "pendiente de confirmar" (solo revisión con la clienta) */
.pending-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ty-pend-line);
}
.pill-pending {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--ty-pend-bg);
  border: 1px dashed var(--ty-pend-line);
  color: var(--ty-pend-ink);
  font: 500 12px/1.3 var(--ty-sans);
  text-align: left;
}
.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--ty-r-in);
  background: var(--ty-pend-bg);
  border: 1px dashed var(--ty-pend-line);
  color: var(--ty-pend-ink);
  font: 400 13.5px/1.5 var(--ty-sans);
  text-align: left;
  text-wrap: pretty;
}
.note .pending-dot { margin-top: 7px; }
.note strong { font-weight: 600; }
.note--wide { margin-top: 16px; }
.note--centered { max-width: 560px; margin: 24px auto 0; }

.pending-off [data-pending] { display: none !important; }

/* 4. Cabecera -------------------------------------------------------------- */
/* Barra flotante de vidrio semitransparente: deja ver lo que hay detrás, difuminado */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 12px 16px 0;
  color: var(--ty-bg);
  transition: background-color .35s ease, color .35s ease;
}
.site-header.is-solid { color: var(--ty-ink); }

.header-bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 32px -12px rgba(20,28,24,.25);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: relative;
  z-index: 0;
}
/* El desenfoque va en una capa aparte y no en la barra: así el panel de
   "Actividades" (que está dentro) puede difuminar de verdad la página de detrás.
   Un vidrio dentro de otro vidrio solo difuminaría el contenido de la barra. */
.header-bar::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  pointer-events: none;
}
.site-header.is-solid .header-bar {
  background: rgba(251,252,250,.62);
  border-color: rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 32px -14px rgba(38,46,42,.28);
}

.brand-wrap { display: flex; align-items: center; min-width: 0; }

/* Marca: isotipo + "TARMAYOGA" con la tipografía y los colores del logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* Isotipo un poco más alto que las letras de "TARMAYOGA": 27px con letras de 21px
   (mayúsculas de ~15px). Los pétalos son muy tenues, así que con los 15px exactos se
   vería más pequeño que el texto y la silueta dejaría de distinguirse. */
.brand-mark { position: relative; flex: none; width: 29px; height: 27px; }
/* La barra conserva su altura de siempre (antes la daba el isotipo, que era más alto) */
.brand { min-height: 40px; }
.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .35s ease;
}
.brand-mark .is-light { opacity: 1; }
.brand-mark .is-color { opacity: 0; }
.brand-word {
  font: 300 21px/1 var(--ty-brand-font);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-top: 3px;
  white-space: nowrap;
}
.brand-word b { font-weight: inherit; color: #D3EADF; transition: color .35s ease; }
.brand-word span { color: #FFFFFF; transition: color .35s ease; }

.site-header.is-solid .brand-mark .is-light { opacity: 0; }
.site-header.is-solid .brand-mark .is-color { opacity: 1; }
.site-header.is-solid .brand-word b { color: var(--ty-brand); }
.site-header.is-solid .brand-word span { color: var(--ty-slate); }

.nav-desktop { display: flex; align-items: center; gap: 16px; }
.nav-desktop a {
  font: 400 16px/1.2 var(--ty-sans);
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.site-header.is-solid .nav-desktop a { color: var(--ty-muted); }
.nav-desktop a:hover { opacity: .65; }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

/* "Contactar": enlace de texto, igual que los del menú */
.nav-contact {
  padding-right: 8px;
  font: 400 16px/1.2 var(--ty-sans);
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.site-header.is-solid .nav-contact { color: var(--ty-muted); }
.nav-contact:hover { opacity: .65; }
.nav-contact.is-active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }

/* Punto bajo la opción activa (lo coloca y anima main.js) */
.header-bar { position: relative; }
.nav-indicator {
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, top .3s ease;
}
.site-header.is-solid .nav-indicator { background: var(--ty-accent); }
/* Con el punto, el subrayado fijo sobra */
.has-indicator .nav-desktop a.is-active,
.has-indicator .nav-item.is-active > .nav-trigger,
.has-indicator .nav-contact.is-active { text-decoration: none; }
@media (max-width: 1039.98px) { .nav-indicator { display: none; } }

.menu-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;   /* sin el recuadro de color al tocarlo en móvil */
}
.menu-toggle .icon-close { display: none; }
.is-menu-open .menu-toggle .icon-open { display: none; }
.is-menu-open .menu-toggle .icon-close { display: block; }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 16px;
}
/* .is-menu-closing: el menú sigue pintado mientras main.js lo pliega */
.is-menu-open .nav-mobile,
.is-menu-closing .nav-mobile { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  border-top: 1px solid var(--ty-soft-2);
  font: 400 20px/1.2 var(--ty-display);
  letter-spacing: -0.02em;
  color: var(--ty-ink);
  text-decoration: none;
}

/* 5. Secciones ------------------------------------------------------------- */

/* 5.1 Inicio */
.hero {
  position: relative;
  min-height: max(100svh, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 16px 80px;
  overflow: hidden;
  background: var(--ty-slate);
}
.hero-bg { position: absolute; inset: 0; }
/* Sin zoom de entrada en la foto/vídeo de cabecera: se veía a través del vidrio de
   la barra de navegación como un zoom raro del menú al cambiar de página */
.hero-bg video { pointer-events: none; background: #2B3330; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38,46,42,.34) 0%, rgba(38,46,42,0) 20%),
    linear-gradient(180deg, rgba(43,51,48,0) 35%, rgba(30,38,34,.55) 70%, rgba(30,38,34,.8) 100%);
}
.hero-content {
  position: relative;
  max-width: 760px;   /* el título de inicio cabe en 2 líneas */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero-title {
  margin: 0;
  font: 300 72px/0.98 var(--ty-display);
  letter-spacing: -0.045em;
  color: var(--ty-bg);
  text-wrap: balance;
}
.hero-lead {
  margin: 0;
  max-width: 400px;
  font: 400 16px/1.2 var(--ty-sans);
  color: var(--ty-light);
  text-wrap: balance;
}
.hero-content .btn { margin-top: 8px; }

/* 5.2 El centro */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  position: relative;
  height: 480px;
  padding: 24px;
  border: 0;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-mist);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  cursor: pointer;
}
.bento-card > img { transition: transform 1.2s var(--ty-ease); }
.bento-card:hover > img { transform: scale(1.04); }
.bento-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.38) 100%);
}
.bento-text { position: relative; display: flex; flex-direction: column; gap: 8px; }
.bento-title { font: 300 32px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-bg); }
.bento-sub { font: 400 16px/1.2 var(--ty-sans); color: var(--ty-light); }

.highlights {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 40px auto 0;
}
.highlight {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--ty-ink);
}
.highlight svg { margin-bottom: 4px; }
.highlight-title { font: 500 16px/1.2 var(--ty-sans); }
.highlight-text { font: 400 16px/1.2 var(--ty-sans); color: var(--ty-muted); }

/* 5.3 Actividades */
.classes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.tablist { display: flex; flex-direction: column; gap: 16px; }
.tab {
  display: block;
  width: 100%;
  min-height: 80px;
  padding: 24px 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(238,245,241,0);
  color: var(--ty-muted);
  text-align: left;
  font: 300 32px/1 var(--ty-display);
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: background-color .35s var(--ty-ease), color .35s ease, padding .35s var(--ty-ease);
}
.tab:hover { color: var(--ty-ink); }
.tab.is-active { background: var(--ty-soft); color: var(--ty-ink); padding-left: 40px; }

.class-detail { display: flex; flex-direction: column; gap: 16px; }
.class-media {
  position: relative;
  aspect-ratio: 516 / 360;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-soft);
}
.class-media img { opacity: 0; transition: opacity .6s ease; }
.class-media img.is-active { opacity: 1; }

.panel { display: flex; flex-direction: column; gap: 14px; }
.panel-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.panel-copy { display: flex; flex-direction: column; gap: 8px; }
.panel-title { margin: 0; font: 500 20px/1.2 var(--ty-sans); color: var(--ty-ink); }
.panel-meta { font: 400 14px/1.2 var(--ty-sans); color: var(--ty-muted); }
.panel-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 16px/1.3 var(--ty-sans);
  color: var(--ty-muted);
  text-wrap: pretty;
}
.panel-text p { margin: 0; }

.panel-schedule {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--ty-r-in);
  background: var(--ty-soft);
  font: 400 14px/1.4 var(--ty-sans);
  color: var(--ty-muted);
}
.panel-schedule strong { font-weight: 500; color: var(--ty-ink); }

/* 5.3b Horarios */
.sch-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.sch-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 100px;
  background: var(--ty-soft);
  color: var(--ty-muted);
  font: 400 14px/1.2 var(--ty-sans);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.sch-filter:hover { color: var(--ty-ink); }
.sch-filter.is-active { background: var(--ty-slate); color: var(--ty-bg); }
/* Filtros de cada clase con el mismo color que sus casillas; el activo se marca con
   un borde del tono intenso de la clase */
.sch-filter--yoga { background: var(--ty-yoga-tile); --ty-ring: var(--ty-yoga); }
.sch-filter--pilates { background: var(--ty-pilates-tile); --ty-ring: var(--ty-pilates); }
.sch-filter--kundalini { background: var(--ty-kundalini-tile); --ty-ring: var(--ty-kundalini); }
.sch-filter--yoga.is-active,
.sch-filter--pilates.is-active,
.sch-filter--kundalini.is-active { background: var(--ty-bg); color: var(--ty-ink); box-shadow: inset 0 0 0 1.5px var(--ty-ring); }

/* Escritorio: una columna por día con solo sus clases (hora delante y un punto con
   el color de la clase), separadas por líneas finas. Sin huecos vacíos.
   Móvil (ver Responsive): el mismo calendario con los días uno debajo de otro. */
.schedule { display: grid; grid-template-columns: repeat(5, 1fr); }
.sch-day { display: flex; flex-direction: column; padding: 0 20px 8px; }
.sch-day + .sch-day { border-left: 1px solid var(--ty-line); }
.sch-dayname {
  padding: 0 0 16px;
  font: 300 26px/1.1 var(--ty-display);
  letter-spacing: -0.03em;
  color: var(--ty-ink);
}
.sch-slot {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: start;
  gap: 3px 0;
  padding: 13px 0;
  border-top: 1px solid var(--ty-line);
  transition: opacity .3s ease;
}
/* Color del punto de cada clase */
.sch-slot--yoga { --sch-dot: var(--ty-yoga); }
.sch-slot--pilates { --sch-dot: var(--ty-pilates); }
.sch-slot--kundalini { --sch-dot: var(--ty-kundalini); }
.sch-slot-time {
  grid-row: 1 / span 2;
  font: 400 13px/18px var(--ty-sans);
  font-variant-numeric: tabular-nums;
  color: var(--ty-muted);
}
.sch-slot-name { grid-column: 2; font: 500 15px/1.2 var(--ty-sans); color: var(--ty-ink); }
.sch-slot-name::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sch-dot);
  vertical-align: 1px;
}
/* 15px = punto + separación: la profesora queda alineada con el nombre */
.sch-slot-teacher { grid-column: 2; padding-left: 15px; font: 400 13px/1.2 var(--ty-sans); color: var(--ty-muted); }

.schedule[data-filter="yoga"] .sch-slot:not(.sch-slot--yoga),
.schedule[data-filter="pilates"] .sch-slot:not(.sch-slot--pilates),
.schedule[data-filter="kundalini"] .sch-slot:not(.sch-slot--kundalini) { opacity: .28; }

.sch-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }

/* 5.3c Talleres de aéreo */
.section-head--wide { max-width: 640px; }
.workshop-tagline {
  font: 400 24px/1.25 var(--ty-display);
  letter-spacing: -0.01em;
  color: var(--ty-brand);
}
.workshop-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
  font: 400 16px/1.45 var(--ty-sans);
  color: var(--ty-muted);
  text-wrap: pretty;
}
.workshop-intro p { margin: 0; }

.workshops { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.workshop {
  display: flex;
  flex-direction: column;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-soft);
}
.workshop:first-child { border-radius: var(--ty-leaf) var(--ty-r) var(--ty-r) var(--ty-r); }
.workshop:last-child { border-radius: var(--ty-r) var(--ty-leaf) var(--ty-r) var(--ty-r); }
.workshop-media { position: relative; height: 380px; background: var(--ty-mist); }
.workshop-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ty-ease); }
.workshop:hover .workshop-media img { transform: scale(1.04); }
.workshop-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  font: 400 16px/1.45 var(--ty-sans);
  color: var(--ty-muted);
  text-wrap: pretty;
}
.workshop-body p { margin: 0; }
.workshop-kicker {
  font: 300 14px/1 var(--ty-brand-font);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ty-brand);
}
.workshop-title { margin: 0 0 4px; font: 300 36px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
.workshop-lead { font-weight: 500; color: var(--ty-ink); }
.workshop-quote {
  margin: 8px 0 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--ty-sage);
  font: 400 22px/1.25 var(--ty-display);
  letter-spacing: -0.01em;
  color: var(--ty-ink);
}

.workshop-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
  padding: 40px;
  border-radius: var(--ty-r) var(--ty-r) var(--ty-leaf) var(--ty-r);
  background: var(--ty-accent);
  color: var(--ty-light);
}
.workshop-band-text { display: flex; flex-direction: column; gap: 12px; font: 400 16px/1.5 var(--ty-sans); text-wrap: pretty; }
.workshop-band-text p { margin: 0; }
.workshop-band-title { margin: 0 0 4px; font: 300 40px/1 var(--ty-display); letter-spacing: -0.045em; color: #FFFFFF; }
.workshop-band-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.workshop-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.workshop-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  font: 400 14px/1 var(--ty-sans);
  color: #FFFFFF;
}
.workshop-cta-text { margin: 0; font: 400 22px/1.25 var(--ty-display); color: #FFFFFF; }
.workshop-band .btn { background: var(--ty-mint); color: var(--ty-ink); white-space: normal; text-align: left; box-shadow: none; }
.workshop-band .btn:hover { background: #FFFFFF; }

@media (max-width: 809.98px) {
  .workshops { grid-template-columns: 1fr; }
  .workshop-media { height: 300px; }
  .workshop-body { padding: 22px; }
  .workshop-title { font-size: 32px; }
  .workshop-band { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .workshop-band-title { font-size: 34px; }
}

/* 5.4 Tu primera clase (estructura "Benefits" de la plantilla) */
.benefits {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}
.benefits-media {
  position: relative;
  min-height: 420px;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-soft);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.benefit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 24px;
  border-radius: var(--ty-r);
  background: var(--ty-soft);
  color: var(--ty-ink);
}
.benefit-top { display: flex; align-items: center; justify-content: space-between; }
.benefit-time { font: 300 28px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-accent); }
.benefit-text { display: flex; flex-direction: column; gap: 8px; }
.benefit-title { font: 500 16px/1.2 var(--ty-sans); }
.benefit-desc { font: 400 16px/1.2 var(--ty-sans); color: var(--ty-muted); text-wrap: pretty; }

/* 5.5 Nosotras */
.profile {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-soft);
}
.profile-media { position: relative; min-height: 380px; background: var(--ty-mist); }
.profile-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.profile-name { margin: 0; font: 300 56px/1 var(--ty-display); letter-spacing: -0.045em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 8px 12px;
  border-radius: 100px;
  background: var(--ty-bg);
  font: 400 14px/1 var(--ty-sans);
  color: var(--ty-ink);
}
.tags--panel .tag { background: var(--ty-soft); }
.profile-bio { margin: 0; font: 400 16px/1.4 var(--ty-sans); color: var(--ty-muted); }

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.member { border-radius: var(--ty-r); overflow: hidden; background: var(--ty-soft); display: flex; flex-direction: column; }
.member-media { position: relative; aspect-ratio: 4 / 3; background: var(--ty-mist); }
.member-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.member-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.member-name { margin: 0; font: 300 32px/1 var(--ty-display); letter-spacing: -0.03em; }
.member-role { font: 400 14px/1.2 var(--ty-sans); color: var(--ty-muted); }
.member-bio { margin: 0; font: 400 16px/1.3 var(--ty-sans); color: var(--ty-muted); }

/* 5.6 Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 340px 260px;
  gap: 16px;
}
.gallery-item { position: relative; border-radius: var(--ty-r); overflow: hidden; background: var(--ty-soft); }
.gallery-item img { transition: transform 1.2s var(--ty-ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item--a { grid-column: span 4; }
.gallery-item--b { grid-column: span 2; }
.gallery-item--c,
.gallery-item--d,
.gallery-item--e { grid-column: span 2; }

/* 5.7 Opiniones (formato stories) */
.rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.stars { display: flex; gap: 2px; color: var(--ty-accent); }
.rating-value { font: 500 14px/1 var(--ty-sans); color: var(--ty-ink); }
.rating-count { font: 400 14px/1 var(--ty-sans); color: var(--ty-muted); }

.story {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 400 / 711;
  margin: 0 auto;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-slate);
}
/* Transición fluida: la historia nueva aparece encima de la anterior, que se queda
   visible debajo hasta que la nueva la tapa (sin bajón a oscuro a mitad del fundido).
   Cada historia lleva su propio degradado, así el texto no "salta" al terminar. */
.story-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity .7s ease;
  will-change: opacity;
}
.story-slide.is-leaving { opacity: 1; transition: none; }
.story-slide.is-active { opacity: 1; z-index: 1; }
.story-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 100%);
}
.story-shade { display: none; }
/* Grano sin modo de fusión: con "overlay" el móvil recalculaba toda la tarjeta en
   cada fotograma del fundido */
.story .noise { z-index: 2; mix-blend-mode: normal; opacity: .07; }
.story-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease .15s, transform .6s var(--ty-ease) .15s;
}
.story-slide.is-active .story-caption { opacity: 1; transform: none; }
/* El texto de la historia que se va desaparece rápido, antes de que entre el nuevo */
.story-slide:not(.is-active) .story-caption { transition: opacity .2s ease, transform .2s ease; }
.story-name { font: 700 20px/1.1 var(--ty-sans); letter-spacing: -0.01em; color: var(--ty-bg); }
.story-quote { font: 400 18px/1.3 var(--ty-sans); letter-spacing: -0.01em; color: var(--ty-light); text-wrap: pretty; }

.story-bars {
  position: absolute;
  top: 20px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.story-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
}
/* El relleno se escala (no cambia de ancho): la animación va por la tarjeta gráfica */
.story-fill { height: 100%; width: 100%; background: #FFFFFF; border-radius: 2px; transform: scaleX(0); transform-origin: left center; }
.story-fill.is-full { transform: none; }
.story-fill.is-running { animation: storyFill 6s linear forwards; }
.story.is-paused .story-fill.is-running { animation-play-state: paused; }
@keyframes storyFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.story-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 40%;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.story-zone--prev { left: 0; cursor: w-resize; }
.story-zone--next { right: 0; cursor: e-resize; }
/* Sin el resaltado gris que el móvil pinta al tocar un botón (tapaba media historia)
   ni marco de foco al tocar; con teclado sí se ve un marco discreto */
.story-zone { -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; }
.story-zone:focus { outline: none; }
.story-zone:focus-visible { outline: 2px solid rgba(255,255,255,.75); outline-offset: -6px; border-radius: var(--ty-r); }
/* Mantener pulsado pausa la historia: que no seleccione texto ni abra el menú de la imagen */
.story { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.story img { -webkit-user-drag: none; }

/* Reseñas de Google: fila infinita (la mueve js/main.js) */
.reviews {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  /* desvanecido en los bordes para que la fila "entre" y "salga" */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.reviews.is-dragging { cursor: grabbing; }
.reviews-track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: max-content;
  padding: 4px 0 8px;
  will-change: transform;
}
.review {
  flex: none;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--ty-r);
  background: var(--ty-soft);
  transition: background-color .3s ease, transform .3s var(--ty-ease);
}
.review:nth-child(even) { border-radius: var(--ty-r); }
.review:nth-child(odd) { border-radius: var(--ty-r); }
.review:hover { background: var(--ty-soft-open); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-stars { display: flex; gap: 2px; color: var(--ty-brand); }
.review-tag {
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--ty-bg);
  font: 400 12px/1 var(--ty-sans);
  color: var(--ty-muted);
  white-space: nowrap;
}
/* Texto recortado a 7 líneas (misma altura en todas las tarjetas); "Leer más" lo despliega */
.review-text {
  --ty-lines: 7;
  margin: 0;
  min-height: calc(1.45em * var(--ty-lines));
  font: 400 16px/1.45 var(--ty-sans);
  color: var(--ty-ink);
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--ty-lines);
  line-clamp: var(--ty-lines);
  overflow: hidden;
}
.review.is-open .review-text { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.review-more {
  align-self: flex-start;
  margin-top: -8px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 14px/1.2 var(--ty-sans);
  color: var(--ty-accent);
  cursor: pointer;
}
.review-more:hover { color: var(--ty-ink); }
/* Reserva el hueco del botón aunque no haga falta, para que todas las tarjetas midan igual */
.review-more[hidden] { display: block !important; visibility: hidden; }
.review-top { min-height: 24px; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ty-line); }
.review-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 4px;
  display: grid;
  place-items: center;
  font: 400 15px/1 var(--ty-brand-font);
  letter-spacing: .04em;
  color: #FFFFFF;
}
.review-avatar--1 { background: var(--ty-brand); }
.review-avatar--2 { background: var(--ty-slate); }
.review-avatar--3 { background: var(--ty-sage); color: var(--ty-ink); }
.review-avatar--4 { background: var(--ty-accent); }
.review-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.review-name { font: 500 15px/1.2 var(--ty-sans); color: var(--ty-ink); }
.review-source { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1.2 var(--ty-sans); color: var(--ty-muted); }

.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.round-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ty-line);
  border-radius: 50%;
  background: var(--ty-bg);
  color: var(--ty-ink);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.round-btn:hover { background: var(--ty-soft); border-color: var(--ty-sage); }
.reviews-link { font: 500 14px/1.2 var(--ty-sans); color: var(--ty-accent); text-decoration: none; }
.reviews-link:hover { color: var(--ty-ink); }

@media (max-width: 809.98px) {
  .reviews { margin-top: 40px; -webkit-mask-image: none; mask-image: none; }
  .review { width: 290px; padding: 20px; }
}

/* 5.8 Tarifas */
/* Lista de precios: una tarifa por fila, separadas por líneas finas (el mismo lenguaje
   que el horario). Columnas: nombre · detalle · precio · botón. La usan los bonos
   mensuales y las clases sueltas, talleres y sesiones. */
.rates { border-bottom: 1px solid var(--ty-line); }
.rate {
  display: grid;
  grid-template-columns: 240px 1fr 130px 124px;
  align-items: center;
  column-gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--ty-line);
}
.rate-name { display: flex; align-items: baseline; gap: 8px; font: 500 16px/1.2 var(--ty-sans); color: var(--ty-ink); }
/* Número de sesiones del bono, en grande delante del nombre */
.rate-count { font: 300 34px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-brand); }
.rate--best .rate-count { color: var(--ty-accent); }
/* Tarifas sin número (clases sueltas, talleres, sesiones): el nombre va en grande, con
   la letra del precio y el pétalo del logo delante, como los títulos de grupo de
   Actividades. Hace de contrapeso al precio, igual que el número en los bonos. */
.rate-name--lg {
  align-items: center;
  font: 300 24px/1.1 var(--ty-display);
  letter-spacing: -0.03em;
}
.rate-name--lg::before {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath fill='%233B7A61' d='M0 0H18.7A15.3 15.3 0 0 1 34 15.3V34H15.3A15.3 15.3 0 0 1 0 18.7Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.rate-meta { margin: 0; font: 400 15px/1.3 var(--ty-sans); color: var(--ty-muted); text-wrap: pretty; }
.rate-meta strong { font-weight: 500; color: var(--ty-ink); }
/* Etiqueta "Mejor precio": píldora menta con la letra de los marcadores de sección */
.rate-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 5px 9px 4px;
  border-radius: 100px;
  background: var(--ty-mint);
  font: 400 10.5px/1 var(--ty-brand-font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ty-accent-hover);
  white-space: nowrap;
  vertical-align: 1px;
}
.rate-price { display: flex; align-items: flex-end; justify-content: flex-end; gap: 4px; }
.rate-amount { font: 300 34px/1.2 var(--ty-display); letter-spacing: -0.045em; white-space: nowrap; }
.rate-unit { padding-bottom: 7px; font: 400 14px/1.2 var(--ty-sans); color: var(--ty-muted); }
.rate .btn { justify-self: end; }
/* Sección "Clases sueltas, talleres y sesiones": sigue a la de bonos sin hueco doble */
.section--prices { padding-top: 24px; }
@media (max-width: 1039.98px) {
  .rate { grid-template-columns: 200px 1fr 120px 116px; column-gap: 20px; }
  /* Con menos ancho la etiqueta no cabe en la línea: pasa debajo del detalle */
  .rate-tag { display: table; margin: 6px 0 0; }
}
@media (max-width: 809.98px) {
  /* Móvil: nombre y precio arriba; detalle y botón debajo */
  .rate {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name price" "meta btn";
    gap: 10px 16px;
  }
  .rate-name { grid-area: name; }
  .rate-price { grid-area: price; }
  .rate-meta { grid-area: meta; font-size: 14px; }
  .rate .btn { grid-area: btn; }
}

/* 5.9 Preguntas frecuentes */
.faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: var(--ty-r); background: var(--ty-soft); transition: background-color .3s ease; }
.faq-item.is-open,
.faq-item:has(.faq-q:active) { background: var(--ty-soft-open); }   /* al pulsar responde la tarjeta entera, con su forma */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 0;
  border-radius: inherit;   /* el foco de teclado sigue las esquinas de la tarjeta */
  background: transparent;
  text-align: left;
  font: 500 16px/1.2 var(--ty-sans);
  color: var(--ty-ink);
  cursor: pointer;
  /* Sin el recuadro gris del navegador al tocarla en móvil: es rectangular y se sale de la tarjeta redondeada */
  -webkit-tap-highlight-color: transparent;
}
.faq-chevron { flex: none; transition: transform .3s var(--ty-ease); }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 24px;
  margin-top: -6px;
  font: 400 14px/1.25 var(--ty-sans);
  color: var(--ty-muted);
}
.faq-a p { margin: 0; max-width: 400px; text-wrap: pretty; }

/* 5.10 Contacto */
.contact-icons { display: flex; justify-content: center; gap: 12px; }
.contact-icons a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ty-soft);
  color: var(--ty-ink);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--ty-ease);
}
/* Al pasar el ratón: se rellena con el verde de los botones, el icono pasa a blanco y
   sube un poco. Solo con ratón: en táctil el color se quedaría "pegado" tras tocarlo. */
@media (hover: hover) {
  .contact-icons a:hover { background: var(--ty-accent); color: var(--ty-bg); transform: translateY(-2px); }
}
.contact-icons a:active { transform: none; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 960px; /* mismo ancho que la tarjeta de datos y mapa (.visit-card) */
  margin: 0 auto;
  align-items: stretch;
}
.contact-media { position: relative; min-height: 480px; border-radius: var(--ty-r); overflow: hidden; background: var(--ty-soft); }

.form-card { padding: 24px; border-radius: var(--ty-r); background: var(--ty-soft); }
.contact-form { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.contact-form .pill-pending { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 8px; font: 400 12px/1.2 var(--ty-sans); color: var(--ty-muted); }
.input {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: var(--ty-r-in);
  background: var(--ty-bg);
  color: var(--ty-ink);
  font: 400 16px/1.2 var(--ty-sans);
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .2s ease;
}
.input::placeholder { color: var(--ty-placeholder); }
.input:focus { box-shadow: inset 0 0 0 1px var(--ty-accent); }
textarea.input { min-height: 100px; resize: vertical; line-height: 1.3; }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.select-wrap select:invalid,
.select-wrap select.is-empty { color: var(--ty-placeholder); }
.select-wrap svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ty-muted); }

.consent { display: flex; align-items: flex-start; gap: 10px; font: 400 13px/1.4 var(--ty-sans); color: var(--ty-muted); cursor: pointer; }
.consent input { flex: none; margin: 1px 0 0; width: 16px; height: 16px; accent-color: var(--ty-accent); }
.consent a { color: var(--ty-ink); }

.form-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-sent-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--ty-bg); display: grid; place-items: center; color: var(--ty-accent); }
.form-sent-title { font: 300 40px/1 var(--ty-display); letter-spacing: -0.045em; color: var(--ty-ink); }
.form-sent-text { margin: 0; font: 400 16px/1.3 var(--ty-sans); color: var(--ty-muted); }

.contact-grid--info { margin-top: 24px; }
.info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--ty-r);
  background: var(--ty-soft);
}
.contact-row { display: flex; gap: 12px; align-items: flex-start; }
.contact-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--ty-r-in);
  background: var(--ty-bg);
  display: grid;
  place-items: center;
  color: var(--ty-ink);
}
.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.contact-label { font: 400 12px/1.2 var(--ty-sans); color: var(--ty-muted); }
.contact-value { font: 500 15px/1.35 var(--ty-sans); color: var(--ty-ink); text-decoration: none; }
.contact-value--muted { font-weight: 400; color: var(--ty-muted); }
.contact-link { font: 500 13px/1.3 var(--ty-sans); color: var(--ty-accent); text-decoration: none; }
.contact-link:hover { color: var(--ty-ink); }

.hours { display: flex; flex-direction: column; padding-top: 4px; border-top: 1px solid var(--ty-line); }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 0 6px; }
.hours-title { font: 500 16px/1.2 var(--ty-sans); color: var(--ty-ink); }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ty-line);
  font: 400 14px/1.2 var(--ty-sans);
  color: var(--ty-muted);
}
.hours-row:last-of-type { border-bottom: 0; }
.hours-time { color: var(--ty-ink); font-variant-numeric: tabular-nums; }
.hours .note { margin-top: 8px; }

.map { position: relative; min-height: 420px; border-radius: var(--ty-r); overflow: hidden; background: var(--ty-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.75) contrast(.95); }
.map-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ty-bg);
  color: var(--ty-ink);
  font: 500 13px/1 var(--ty-sans);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(38,46,42,.12);
}

/* 6. Pie ------------------------------------------------------------------- */
/* Pie en el verde oscuro de la web, con logo blanco y textos claros
   (#F1F6F3 sobre #3B7A61 = contraste 4,6:1; blanco = 5,1:1) */
.site-footer { background: var(--ty-accent); padding: 0 0 16px; }
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
/* Con .site-footer delante para que no la pise ".container { padding: 0 16px }" del móvil */
.site-footer .footer-inner { padding-top: 48px; }

/* Franja de inicio del pie con el vídeo del centro (en todas las páginas): de lado a
   lado de la pantalla, sin bordes, oscurecida hacia la izquierda; el texto se alinea
   con el contenido del pie gracias al .container interior */
.footer-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 460px;
  padding: 72px 0;
  overflow: hidden;
  background: var(--ty-ink);
  color: #FFFFFF;
}
.footer-cta > .container { width: 100%; }
.footer-cta-media { position: absolute; inset: 0; z-index: -1; }
.footer-cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer-cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,36,33,.92) 0%, rgba(30,36,33,.8) 38%, rgba(30,36,33,.3) 68%, rgba(30,36,33,0) 90%);
}
.footer-cta-content { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.footer-cta-title { margin: 0; font: 300 48px/0.98 var(--ty-display); letter-spacing: -0.045em; color: #FFFFFF; }
.footer-cta-lead { margin: 0; font: 400 17px/1.4 var(--ty-sans); color: var(--ty-light); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-cta-actions .btn { gap: 8px; }
.footer-cta-wa { width: 40px; height: 40px; padding: 0; }   /* botón redondo solo con icono */

@media (max-width: 809.98px) {
  .site-footer .footer-inner { padding-top: 56px; }
  .footer-cta { min-height: 480px; padding: 40px 0 36px; align-items: flex-end; }
  .footer-cta-media::after { background: linear-gradient(180deg, rgba(30,36,33,.15) 0%, rgba(30,36,33,.6) 45%, rgba(30,36,33,.94) 100%); }
  .footer-cta-title { font-size: 34px; }
  .footer-cta-lead { font-size: 16px; }
  /* En móvil, teléfono y WhatsApp solo con icono, en la misma fila que "Cómo llegar" */
  .footer-cta-actions { flex-wrap: nowrap; }
  .footer-cta-num { display: none; }
  .footer-cta-tel { width: 40px; height: 40px; padding: 0; }
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 320px; }
.footer-logo { display: block; width: 190px; }
.footer-logo img { width: 100%; height: auto; }
.footer-tagline { margin: 0; font: 400 16px/1.3 var(--ty-sans); color: #F1F6F3; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 133px; font: 400 14px/1.2 var(--ty-sans); }
.footer-col-title { font-weight: 500; color: #FFFFFF; margin-bottom: 4px; }
.footer-col a { color: #F1F6F3; text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0 4px;
  border-top: 1px solid rgba(255,255,255,.18);
  font: 400 14px/1.2 var(--ty-sans);
  color: #F1F6F3;
}
.footer-bottom strong { font-weight: 500; color: #FFFFFF; }

/* 7. Flotantes ------------------------------------------------------------- */
/* Botón de WhatsApp: mismo formato que la píldora flotante de la plantilla */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 15px;
  border-radius: 999px;
  /* Vidrio claro, como la barra de navegación al hacer scroll */
  background: rgba(251,252,250,.62);
  border: 1px solid rgba(255,255,255,.75);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  color: var(--ty-ink);
  text-decoration: none;
  font: 500 14px/1 var(--ty-sans);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 32px -14px rgba(38,46,42,.28);
  transition: transform .25s var(--ty-ease);
}
.wa-float:hover { transform: translateY(-2px); }
/* Logotipo de WhatsApp sin fondo, del mismo color que el texto */
.wa-float-ico { width: 20px; height: 20px; display: grid; place-items: center; color: inherit; }

/* ==========================================================================
   Web multipágina: menú con submenú, cabeceras de página, fichas de actividad
   ========================================================================== */

/* Enlace activo del menú */
.nav-desktop a.is-active,
.nav-item.is-active > .nav-trigger { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }

/* Submenú "Actividades" */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: 400 16px/1.2 var(--ty-sans);
  color: inherit;
  cursor: pointer;
  transition: opacity .2s ease;
}
.site-header.is-solid .nav-trigger { color: var(--ty-muted); }
.nav-trigger:hover { opacity: .65; }
.nav-chevron { transition: transform .25s var(--ty-ease); }
.nav-item:hover .nav-chevron,
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }
/* puente invisible para que el ratón no "caiga" entre el botón y el panel */
.nav-item::after { content: ''; position: absolute; left: -20px; right: -20px; top: 100%; height: 28px; }
.nav-sub {
  position: absolute;
  /* 5px por debajo del borde inferior de la barra (la barra acaba 19,4px por
     debajo del botón "Actividades") */
  top: calc(100% + 24.4px);
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, auto);
  width: max-content;
  gap: 8px 32px;
  padding: 24px 28px 20px;
  border-radius: var(--ty-r);
  /* Mismo vidrio que la barra de navegación en cada momento: translúcido con texto
     blanco sobre la foto de cabecera y claro con texto oscuro al hacer scroll */
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 32px -12px rgba(20,28,24,.25);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .25s ease, transform .25s var(--ty-ease), visibility .25s,
              background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav-item:hover .nav-sub,
.nav-item.is-open .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub-group { display: flex; flex-direction: column; gap: 10px; }
.site-header.is-solid .nav-sub {
  background: rgba(251,252,250,.62);
  border-color: rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 32px -14px rgba(38,46,42,.28);
}
.nav-sub-label { font: 300 12px/1 var(--ty-brand-font); letter-spacing: .18em; text-transform: uppercase; color: #D3EADF; padding-bottom: 4px; transition: color .35s ease; }
.site-header .nav-desktop .nav-sub a {
  font: 400 15px/1.3 var(--ty-sans);
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: color .2s ease;
}
.site-header .nav-desktop .nav-sub a:hover { color: #D3EADF; opacity: 1; }
.site-header .nav-desktop .nav-sub a.is-active { color: #D3EADF; text-decoration: none; font-weight: 500; }
.nav-sub-all {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.25);
  font-weight: 500 !important;
  color: #D3EADF !important;
}
/* Con scroll (barra clara): texto oscuro y acentos en verde, como la barra */
.site-header.is-solid .nav-sub-label { color: var(--ty-brand); }
.site-header.is-solid .nav-desktop .nav-sub a { color: var(--ty-ink); }
.site-header.is-solid .nav-desktop .nav-sub a:hover,
.site-header.is-solid .nav-desktop .nav-sub a.is-active { color: var(--ty-accent); }
.site-header.is-solid .nav-sub-all { border-top-color: var(--ty-line); color: var(--ty-accent) !important; }

/* Menú móvil: actividades desplegables */
.nav-mobile-sub { border-top: 1px solid var(--ty-soft-2); }
.nav-mobile-sub summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font: 400 20px/1.2 var(--ty-display);
  letter-spacing: -0.02em;
  color: var(--ty-ink);
  cursor: pointer;
  list-style: none;
}
.nav-mobile-sub summary::-webkit-details-marker { display: none; }
.nav-mobile-sub[open]:not(.is-closing) .nav-chevron { transform: rotate(180deg); }

/* Animaciones del menú móvil: las opciones entran escalonadas al abrir el menú
   y al desplegar Actividades (la altura del submenú la anima main.js) */
@keyframes navItemIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.is-menu-open .nav-mobile > * { animation: navItemIn .45s var(--ty-ease) both; }
.nav-mobile-sub[open] .nav-mobile-links a { animation: navItemIn .3s var(--ty-ease) both; }
.is-menu-open .nav-mobile > :nth-child(2) { animation-delay: .04s; }
.is-menu-open .nav-mobile > :nth-child(3) { animation-delay: .08s; }
.is-menu-open .nav-mobile > :nth-child(4) { animation-delay: .12s; }
.is-menu-open .nav-mobile > :nth-child(5) { animation-delay: .16s; }
.is-menu-open .nav-mobile > :nth-child(6) { animation-delay: .2s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(2) { animation-delay: .02s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(3) { animation-delay: .04s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(4) { animation-delay: .06s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(5) { animation-delay: .08s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(6) { animation-delay: .1s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(7) { animation-delay: .12s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(8) { animation-delay: .14s; }
.nav-mobile-sub[open] .nav-mobile-links a:nth-child(9) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .is-menu-open .nav-mobile > *,
  .nav-mobile-sub[open] .nav-mobile-links a { animation: none; }
}
/* Sin padding abajo: el hueco final va en el último enlace para que la animación
   de altura (main.js) pueda cerrar el submenú del todo, hasta 0 */
.nav-mobile-links { display: flex; flex-direction: column; padding: 0 0 0 14px; border-left: 2px solid var(--ty-mint); margin-left: 2px; }
.nav-mobile .nav-mobile-links a {
  padding: 9px 0;
  border: 0;
  font: 400 16px/1.2 var(--ty-sans);
  letter-spacing: 0;
  color: var(--ty-muted);
}
.nav-mobile .nav-mobile-links a:last-child { padding-bottom: 21px; }
.nav-mobile a.is-active { color: var(--ty-accent); }
.nav-mobile { max-height: calc(100svh - 72px); overflow-y: auto; }

/* Cabecera de las páginas interiores (misma estética que la portada, más baja) */
.hero--page { min-height: max(62svh, 460px); padding-bottom: 64px; }
.hero--page .hero-title { font-size: 64px; }
.hero--page .hero-content { max-width: 720px; }
.crumbs { display: flex; align-items: center; gap: 8px; font: 400 14px/1 var(--ty-sans); color: var(--ty-light); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.crumbs span { opacity: .6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.hero-content .hero-actions .btn { margin-top: 0; }
.btn--ghost { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
/* Vidrio sobre fondos oscuros (foto o vídeo), como la barra de navegación sobre la cabecera */
.btn--glass {
  background: rgba(255,255,255,.14);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.25), 0 8px 32px -12px rgba(20,28,24,.25);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}
.btn--glass:hover { background: rgba(255,255,255,.24); }

/* Contacto: datos y mapa en una sola tarjeta minimalista */
.visit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8px;
  max-width: 960px;
  margin: 24px auto 0;
  padding: 8px;
  border-radius: var(--ty-r);
  background: var(--ty-soft);
}
.visit-info { display: flex; flex-direction: column; padding: 16px 20px; }
.visit-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ty-line); }
.visit-row:first-child { padding-top: 8px; }
.visit-row:last-child { border-bottom: 0; padding-bottom: 8px; }
.visit-ico { flex: none; margin-top: 1px; color: var(--ty-brand); }
.visit-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.visit-label { font: 400 12px/1.2 var(--ty-sans); color: var(--ty-muted); }
.visit-value { font: 500 15px/1.4 var(--ty-sans); color: var(--ty-ink); text-decoration: none; }
.visit-value--muted { font-weight: 400; color: var(--ty-muted); }
.visit-body .pill-pending { margin-top: 2px; }
.visit-hours { display: grid; grid-template-columns: auto auto; gap: 4px 24px; margin: 2px 0 4px; font: 400 14px/1.4 var(--ty-sans); }
.visit-hours dt { color: var(--ty-muted); }
.visit-hours dd { margin: 0; color: var(--ty-ink); font-variant-numeric: tabular-nums; }
.visit-map { position: relative; min-height: 420px; border-radius: var(--ty-r); overflow: hidden; background: var(--ty-mist); }
/* Mapa estático (captura de OpenStreetMap recoloreada). El centro de la imagen es la dirección. */
.visit-map--static { display: block; color: inherit; text-decoration: none; }
.visit-map--static > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 1.2s var(--ty-ease);
}
.visit-map--static:hover > img { transform: scale(1.03); }
.visit-map--static .map-link { transition: color .2s ease; }
.visit-map--static:hover .map-link { color: var(--ty-accent); }
/* Crédito de OpenStreetMap: obligatorio por su licencia (ODbL), pero discreto */
.map-attrib {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font: 400 9px/1.3 var(--ty-sans);
  letter-spacing: .01em;
  color: rgba(96,102,99,.6);
  text-shadow: 0 0 3px #FFFFFF, 0 0 2px #FFFFFF;
  pointer-events: none;
}

/* Marcador: hoja del logo en verde Tarma con el isotipo; la punta cae en el centro */
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.ty-marker-pin {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--ty-brand);
  box-shadow: 0 6px 16px -4px rgba(38,46,42,.45), inset 0 0 0 2px rgba(255,255,255,.35);
}
.ty-marker-pin img { width: 28px; height: 26px; object-fit: contain; transform: rotate(45deg); }
.ty-marker-pulse {
  position: absolute;
  bottom: -3px;
  width: 20px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59,122,97,.4);
  animation: tyPulse 2.4s ease-out infinite;
}
@keyframes tyPulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ty-marker-pulse { animation: none; } }
.ty-popup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--ty-r);
  background: var(--ty-bg);
  box-shadow: 0 10px 28px -10px rgba(38,46,42,.4);
  white-space: nowrap;
}
.ty-popup-name { font: 300 14px/1.2 var(--ty-brand-font); letter-spacing: .18em; text-transform: uppercase; color: var(--ty-slate); }
.ty-popup-name b { font-weight: inherit; color: var(--ty-brand); }
.ty-popup-addr { font: 400 12px/1.3 var(--ty-sans); color: var(--ty-muted); }
@media (max-width: 809.98px) {
  .visit-card { grid-template-columns: 1fr; }
  .visit-info { padding: 12px 14px; }
  .visit-map { min-height: 300px; }
}

.highlight-link { color: var(--ty-accent); text-underline-offset: 3px; }
.highlight-link:hover { color: var(--ty-ink); }

/* Contacto: panel de WhatsApp en lugar del formulario (mismo hueco y tamaño) */
.wa-card { display: flex; flex-direction: column; gap: 22px; }
.wa-card-top { display: flex; flex-direction: column; gap: 6px; }
.wa-card-title { font: 300 30px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
.wa-card-lead { margin: 0; font: 400 15px/1.45 var(--ty-sans); color: var(--ty-muted); }
.wa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-chip {
  padding: 10px 14px;
  border: 0;
  border-radius: 100px;
  background: var(--ty-bg);
  box-shadow: inset 0 0 0 1px var(--ty-line);
  font: 400 14px/1 var(--ty-sans);
  color: var(--ty-ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.wa-chip:hover { box-shadow: inset 0 0 0 1px var(--ty-sage); }
.wa-chip[aria-pressed="true"] { background: var(--ty-accent); color: #FFFFFF; box-shadow: none; }
.wa-card-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.wa-send { gap: 10px; }
.wa-card-note { margin: 0; text-align: center; font: 400 13px/1.4 var(--ty-sans); color: var(--ty-muted); }
.wa-card-note a { color: var(--ty-ink); text-decoration: none; font-weight: 500; }
.wa-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--ty-line); }
.wa-quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 999px;
  background: var(--ty-bg);
  font: 500 14px/1 var(--ty-sans);
  color: var(--ty-accent);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease, transform .3s var(--ty-ease);
}
/* Al pasar el ratón: fondo menta con el contorno fino de los botones de contorno y una
   ligera subida. Más discreto que el botón de WhatsApp de encima, que es el principal.
   Solo con ratón: en táctil el color se quedaría "pegado" tras tocarlo. */
@media (hover: hover) {
  .wa-quick a:hover {
    background: var(--ty-mint);
    box-shadow: inset 0 0 0 1px var(--ty-sage);
    color: var(--ty-accent-hover);
    transform: translateY(-1px);
  }
}
.wa-quick a:active { transform: none; }

/* Tarifas: aviso de clases recuperables, con el contorno fino de los botones */
.recover {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding: 18px 24px;
  border-radius: var(--ty-r);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ty-sage);
}
/* Icono minimalista: solo el trazo fino en verde, sin fondo */
.recover-ico {
  flex: none;
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: var(--ty-accent);
}
.recover-text { display: flex; flex-direction: column; gap: 4px; font: 400 15px/1.45 var(--ty-sans); color: var(--ty-muted); }
.recover-text strong { font: 500 16px/1.3 var(--ty-sans); color: var(--ty-ink); }

@media (max-width: 809.98px) {
  .recover { padding: 16px; }
}

/* Botones juntos en una cabecera de sección */
.head-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.section-head .head-actions .btn { margin-top: 0; }
.btn--outline { background: transparent; color: var(--ty-accent); box-shadow: inset 0 0 0 1px var(--ty-sage); }
.btn--outline:hover { background: var(--ty-soft); color: var(--ty-accent); }

/* Las tarjetas de "El centro" ahora son enlaces */
a.bento-card { text-decoration: none; color: inherit; }

/* Listado de actividades por grupos */
.section--group { padding: 72px 0 0; }
.section--group:last-of-type { padding-bottom: 96px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ty-line); }
/* En Actividades el marcador hace de título de grupo: sin píldora, en grande */
.group-head .eyebrow { padding: 0; border-radius: 0; background: none; text-transform: none; font: 300 32px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
/* Solo el pétalo de arriba a la izquierda de la flor del logo, pequeño y centrado
   con las mayúsculas del título (con interlineado 1, el centro de la línea) */
.group-head .eyebrow { gap: .28em; }
.group-head .eyebrow-dot {
  width: .45em;
  height: .45em;
  margin-top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath fill='%233B7A61' d='M0 0H18.7A15.3 15.3 0 0 1 34 15.3V34H15.3A15.3 15.3 0 0 1 0 18.7Z'/%3E%3C/svg%3E");
}
.group-desc { margin: 0; font: 400 16px/1.3 var(--ty-sans); color: var(--ty-muted); }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.act-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--ty-r);
  overflow: hidden;
  background: var(--ty-soft);
  color: inherit;
  text-decoration: none;
  transition: background-color .3s ease, transform .4s var(--ty-ease);
}
.act-card:hover { background: var(--ty-soft-open); transform: translateY(-3px); }
.act-media { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--ty-mist); overflow: hidden; }
.act-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ty-ease); }
.act-card:hover .act-media img { transform: scale(1.05); }
.act-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.act-kicker { font: 300 12px/1 var(--ty-brand-font); letter-spacing: .18em; text-transform: uppercase; color: var(--ty-brand); }
.act-name { font: 300 30px/1.05 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
.act-summary { flex: 1; font: 400 15px/1.4 var(--ty-sans); color: var(--ty-muted); }
.act-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ty-line); font: 400 13px/1.2 var(--ty-sans); color: var(--ty-muted); }
.act-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ty-accent); white-space: nowrap; }

/* Ficha de actividad: texto + tarjeta de datos fija al hacer scroll */
.detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 56px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 18px; }
.detail-main .eyebrow { justify-content: flex-start; }
.detail-title { text-align: left; }
.detail-main .panel-text { font-size: 17px; line-height: 1.55; gap: 14px; }
.detail-main .panel-text a { color: var(--ty-accent); text-underline-offset: 3px; }
.detail-main .panel-text a:hover { color: var(--ty-accent-hover); }
.detail-subtitle { margin: 10px 0 0; font: 500 16px/1.2 var(--ty-sans); color: var(--ty-ink); }
.detail-aside { position: sticky; top: 96px; }
.detail-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--ty-r) var(--ty-leaf) var(--ty-r) var(--ty-r);
  background: var(--ty-soft);
}
.detail-card-title { margin-bottom: 8px; font: 300 30px/1.05 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
.detail-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--ty-line); font: 400 15px/1.4 var(--ty-sans); }
.detail-label { color: var(--ty-muted); }
.detail-value { color: var(--ty-ink); }
.detail-value a { color: var(--ty-accent); text-underline-offset: 3px; }
.detail-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.detail-actions .btn--soft { background: var(--ty-bg); box-shadow: inset 0 0 0 1px var(--ty-line); }
.detail-actions .btn--soft:hover { background: #FFFFFF; }

/* Ficha lateral de cada actividad: nombre, quién la imparte y formato; el horario
   en un panel blanco y los botones debajo. Se ajusta a su contenido y acompaña al
   texto al hacer scroll (.detail-aside). El panel se adapta al número de clases:
   - 3 o más a la semana: tabla de días × franjas, solo con las franjas que tienen clase
   - 1 o 2: el día y la hora en grande (.week-hero)
   - sin horario semanal: una nota (.week-note) */
.week-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--ty-r) var(--ty-leaf) var(--ty-r) var(--ty-r);
  background: var(--ty-soft);
}
.week-head { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.week-name { font: 300 30px/1.05 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
.week-meta { font: 400 14px/1.4 var(--ty-sans); color: var(--ty-muted); }
.week-meta a { color: var(--ty-accent); text-underline-offset: 3px; }
.week-panel { padding: 14px 12px 12px; border-radius: var(--ty-r-in); background: #FFFFFF; }

/* Tabla: una columna para el nombre de la franja y una por día */
.week-grid { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); align-items: center; row-gap: 6px; }
.week-col {
  align-self: stretch;
  padding-bottom: 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ty-line);
  text-align: center;
  text-decoration: none;
  font: 300 13px/1 var(--ty-brand-font);
  letter-spacing: .14em;
  color: var(--ty-accent);
}
abbr.week-col { cursor: help; }
.week-band,
.week-hero-day {
  font: 400 10.5px/1 var(--ty-brand-font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ty-accent);
}
.week-band { padding-right: 10px; }
.week-cell { display: grid; justify-items: center; align-items: center; gap: 4px; min-height: 30px; padding: 0 2px; }
.week-t {
  width: 100%;
  max-width: 76px;   /* en tableta la ficha va a todo el ancho: que la píldora no se estire */
  padding: 8px 0 7px;
  border-radius: 999px;
  background: var(--ty-mint);
  text-align: center;
  font: 500 13px/1 var(--ty-sans);
  font-variant-numeric: tabular-nums;
  color: var(--ty-accent-hover);
}
.week-off { width: 4px; height: 4px; border-radius: 50%; background: var(--ty-line); }

/* Una o dos clases a la semana: día y hora en grande (dos, una al lado de la otra) */
.week-hero { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 8px 0 6px; }
.week-hero-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.week-hero-item + .week-hero-item { border-left: 1px solid var(--ty-line); }
.week-hero-day { font-size: 11.5px; letter-spacing: .18em; }
.week-hero-time { font: 300 52px/1 var(--ty-display); font-variant-numeric: tabular-nums; letter-spacing: -0.045em; color: var(--ty-ink); }
.week-sub { margin: 10px 0 0; text-align: center; font: 400 13px/1.3 var(--ty-sans); color: var(--ty-muted); }

.week-note,
.week-extra { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 14px/1.4 var(--ty-sans); }
.week-note { padding: 6px 4px 8px; font-size: 15px; color: var(--ty-ink); }
.week-extra { padding: 12px 16px 0; color: var(--ty-muted); }
.week-note svg,
.week-extra svg { flex: none; color: var(--ty-brand); }

/* Botones: el principal a todo el ancho; los secundarios (contorno) comparten la fila de debajo */
.week-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 8px 8px; }
.week-actions .btn { flex: 1 1 auto; gap: 8px; padding-inline: 14px; }
.week-actions .btn:first-child { flex-basis: 100%; }
.week-actions .btn--outline { font-size: 15px; }
.week-actions .btn svg { flex: none; }
/* Botón en el verde claro del logo, con texto blanco */
.btn--brand { background: var(--ty-brand); }
.btn--brand:hover { background: #47866D; }

/* Móviles estrechos: la tabla se aprieta un poco para que quepan las cinco columnas */
@media (max-width: 379.98px) {
  .week-panel { padding-inline: 8px; }
  .week-band { padding-right: 6px; font-size: 9.5px; letter-spacing: .1em; }
  .week-cell { padding: 0 1px; }
  .week-t { font-size: 12px; }
}

/* "También te puede interesar" */
.section--related { padding-top: 0; }
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; padding-top: 48px; border-top: 1px solid var(--ty-line); }
.related-title { margin: 0; font: 300 32px/1 var(--ty-display); letter-spacing: -0.03em; color: var(--ty-ink); }
.related-all { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1.2 var(--ty-sans); color: var(--ty-accent); text-decoration: none; }

/* Llamada final reutilizable */
.section--cta,
.section--band { padding-top: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.workshop-band .cta-actions .btn { white-space: nowrap; }
.workshop-band .btn--ghost { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.workshop-band .btn--ghost:hover { background: rgba(255,255,255,.12); }

@media (max-width: 1039.98px) {
  .act-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-aside { position: static; }
}
@media (max-width: 809.98px) {
  .hero--page { min-height: max(54svh, 400px); padding-bottom: 48px; }
  .hero--page .hero-title { font-size: 44px; }
  .act-grid { grid-template-columns: 1fr; }
  .section--group { padding-top: 56px; }
  .group-head .eyebrow { font-size: 28px; }
  .related-title { font-size: 28px; }
  .detail-row { grid-template-columns: 96px 1fr; }
}

/* Menú de escritorio en pantallas medianas: 7 enlaces más compactos */
@media (min-width: 1040px) and (max-width: 1199.98px) {
  .nav-desktop { gap: 12px; }
  .nav-desktop a { font-size: 15px; }
  .brand-word { font-size: 18px; letter-spacing: .16em; }
  .brand-mark { width: 25px; height: 23px; }   /* misma proporción con las letras de 18px */
}

/* 7b. Detalles de marca ---------------------------------------------------- */

/* Esquinas "hoja": tres esquinas redondeadas y una casi recta,
   como los pétalos del logo (la recta apunta hacia el centro de la composición). */
.benefits-media,
.contact-media { border-radius: var(--ty-leaf) var(--ty-r) var(--ty-r) var(--ty-r); }
.class-media { border-radius: var(--ty-r) var(--ty-leaf) var(--ty-r) var(--ty-r); }
.story { border-radius: var(--ty-r) var(--ty-r) var(--ty-r) var(--ty-leaf); }
.profile { border-radius: var(--ty-leaf) var(--ty-r) var(--ty-r) var(--ty-r); }

/* Línea orgánica del logo como decoración de fondo.
   Además de las secciones marcadas con .has-decor, se pone sola en todas las páginas:
   - arriba a la derecha en la primera sección tras la cabecera (::before)
   - abajo a la izquierda, en espejo, en la última sección de la página (::after) */
:root {
  --ty-decor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 340' fill='none' stroke='%239CC5B4' stroke-width='1.4'%3E%3Cpath d='M118 40c62-38 170-22 196 52 22 64-24 128-94 142-74 14-160-14-178-78-12-46 24-88 76-116Z'/%3E%3Cpath d='M250 170c52-30 132-14 148 46 14 52-28 100-86 106-60 6-120-24-122-74-1-34 24-58 60-78Z'/%3E%3C/svg%3E");
}
.has-decor,
main > .hero + .section,
main > .section:last-of-type { position: relative; isolation: isolate; }
.has-decor::before,
main > .hero + .section::before,
main > .section:last-of-type::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 340px;
  pointer-events: none;
  background: var(--ty-decor) no-repeat center / contain;
  opacity: .8;
}
main > .hero + .section::before,
#horarios.has-decor::before { top: 24px; right: max(-120px, calc(50% - 760px)); }
main > .section:last-of-type::after,
#preguntas.has-decor::before { bottom: 40px; left: max(-140px, calc(50% - 780px)); transform: scaleX(-1); }
.site-footer.has-decor { overflow: hidden; }
/* La línea orgánica del pie va abajo: arriba está la franja del vídeo */
.site-footer.has-decor::before { top: auto; bottom: -60px; right: -80px; opacity: .35; }

/* Cursor «Respiración» (solo con ratón; lo crea y lo mueve js/main.js)
   Un punto verde y un aro que lo sigue con suavidad y "respira". Sobre lo clicable
   el aro se ensancha y al hacer clic salen dos ondas, como una gota en el agua.
   <html> lleva .ty-cursor mientras está activo; sobre un campo de texto se añade
   .ty-cursor-text y vuelve el cursor de escribir de siempre. */
html.ty-cursor:not(.ty-cursor-text),
html.ty-cursor:not(.ty-cursor-text) * { cursor: none !important; }

.ty-cursor-dot,
.ty-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  will-change: transform;
}
html.ty-cursor-seen:not(.ty-cursor-text) .ty-cursor-dot,
html.ty-cursor-seen:not(.ty-cursor-text) .ty-cursor-ring { opacity: 1; }

/* El borde claro hace que no se pierda sobre las fotos ni sobre el verde de la marca */
.ty-cursor-dot i {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ty-accent);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.9);
  transition: transform .3s var(--ty-ease), opacity .2s ease;
}
/* El <span> se ensancha o se encoge (clicable / pulsado); el <i> de dentro respira */
.ty-cursor-ring span {
  position: absolute;
  left: -20px;
  top: -20px;
  width: 40px;
  height: 40px;
  transition: transform .5s var(--ty-ease);
}
.ty-cursor-ring i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ty-brand);
  box-shadow: 0 0 0 1px rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.3);
  transition: background-color .35s ease;
  animation: tyCursorBreathe 6s ease-in-out infinite;
}
@keyframes tyCursorBreathe {
  0%, 100% { transform: scale(.8); opacity: .7; }   /* exhala */
  42%      { transform: scale(1.12); opacity: 1; }  /* inhala */
}
html.ty-cursor-over .ty-cursor-dot i { transform: scale(.6); }
html.ty-cursor-over .ty-cursor-ring span { transform: scale(1.5); }
html.ty-cursor-over .ty-cursor-ring i { background: rgba(222,237,230,.4); }
html.ty-cursor-down .ty-cursor-ring span { transform: scale(.8); }

/* Opiniones: en las zonas de "anterior" y "siguiente" el punto pasa a ser una flecha
   (sustituye a los cursores w-resize / e-resize, que aquí quedan ocultos) */
.ty-cursor-ring span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border: solid #FFFFFF;
  border-width: 0 0 1.5px 1.5px;
  filter: drop-shadow(0 0 1.5px rgba(27,34,31,.55));
  opacity: 0;
  transition: opacity .2s ease;
}
html.ty-cursor-prev .ty-cursor-ring span::after { opacity: 1; transform: translateX(1.5px) rotate(45deg); }
html.ty-cursor-next .ty-cursor-ring span::after { opacity: 1; transform: translateX(-1.5px) rotate(-135deg); }
html.ty-cursor-prev .ty-cursor-dot i,
html.ty-cursor-next .ty-cursor-dot i { opacity: 0; }

/* Ondas al hacer clic */
.ty-cursor-ripple {
  position: fixed;
  z-index: 9998;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  border: 1.5px solid var(--ty-brand);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5);
  pointer-events: none;
  opacity: 0;
  animation: tyCursorRipple 1s var(--ty-ease) forwards;
}
@keyframes tyCursorRipple {
  0%   { opacity: .95; transform: scale(.08); }
  100% { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ty-cursor-ring i { animation: none; }
  .ty-cursor-ring span, .ty-cursor-dot i { transition: none; }
}
@media print {
  .ty-cursor-dot, .ty-cursor-ring, .ty-cursor-ripple { display: none; }
}

/* Páginas legales (aviso legal, privacidad y cookies)
   Cabecera sin foto, índice a la izquierda (fijo al hacer scroll) y texto en una
   columna estrecha. Los datos que faltan por rellenar van en <mark class="fill">. */
.hero.hero--legal {
  min-height: 0;
  padding: 148px 16px 56px;
  background: linear-gradient(160deg, var(--ty-accent) 0%, #2F6650 100%);
}
.hero.hero--legal .hero-title { font-size: 56px; }
.hero.hero--legal .hero-lead { max-width: 520px; }

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  align-items: start;
  gap: 64px;
}
.legal-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 14px/1.3 var(--ty-sans);
}
.legal-toc-title {
  margin-bottom: 4px;
  font: 400 12.5px/1 var(--ty-brand-font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ty-accent-hover);
}
.legal-toc a { color: var(--ty-muted); text-decoration: none; transition: color .2s ease; }
.legal-toc a:hover { color: var(--ty-accent); }

.legal { font: 400 16px/1.6 var(--ty-sans); color: var(--ty-muted); text-wrap: pretty; }
.legal > :first-child { margin-top: 0; }
.legal h2 {
  margin: 56px 0 16px;
  scroll-margin-top: 96px;
  font: 300 30px/1.1 var(--ty-display);
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.035em;
  color: var(--ty-ink);
}
.legal h3 { margin: 28px 0 8px; font: 500 17px/1.3 var(--ty-sans); color: var(--ty-ink); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--ty-sage); }
.legal strong { font-weight: 500; color: var(--ty-ink); }
.legal a { color: var(--ty-accent); text-underline-offset: 3px; }
.legal a:hover { color: var(--ty-accent-hover); }
.legal .note { margin: 0 0 20px; }
.legal .note a { color: inherit; }
.legal .note ul { margin: 6px 0 0; padding-left: 18px; }
.legal .note li { margin-bottom: 2px; }
.legal .note li::marker { color: var(--ty-pend-line); }

/* Dato pendiente de rellenar: se ve siempre, aunque se oculten los avisos amarillos */
.fill {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--ty-pend-bg);
  box-shadow: inset 0 0 0 1px var(--ty-pend-line);
  color: var(--ty-pend-ink);
  font-weight: 500;
}

.legal-table {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}
.legal-table th,
.legal-table td { padding: 12px 14px; border: 1px solid var(--ty-line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--ty-soft); font-weight: 500; color: var(--ty-ink); }
.legal-table tbody th { width: 30%; }

.legal-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--ty-line); }
.legal .legal-more a { color: var(--ty-ink); text-decoration: none; }

@media (max-width: 1039.98px) {
  .hero.hero--legal { padding: 124px 16px 44px; }
  .hero.hero--legal .hero-title { font-size: 40px; }
  .legal-layout { grid-template-columns: minmax(0, 720px); gap: 32px; }
  .legal-toc { position: static; padding: 16px 18px; border-radius: var(--ty-r-in); background: var(--ty-soft); }
  .legal h2 { margin-top: 44px; font-size: 26px; }
}
@media (max-width: 639.98px) {
  /* Tablas en vertical: cada fila es un bloque y cada celda lleva su título delante */
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: auto; }
  .legal-table thead { display: none; }
  .legal-table tr { margin-bottom: 12px; border: 1px solid var(--ty-line); border-radius: var(--ty-r-in); overflow: hidden; }
  .legal-table th, .legal-table td { border: 0; border-bottom: 1px solid var(--ty-line); }
  .legal-table tr > :last-child { border-bottom: 0; }
  .legal-table tbody th { width: auto; }
  .legal-table td[data-th]::before { content: attr(data-th); display: block; font-weight: 500; font-size: 12.5px; color: var(--ty-ink); }
}

/* 8. Responsive ------------------------------------------------------------ */
@media (max-width: 1039.98px) {
  /* Logo centrado: columna vacía · logo · botón del menú (laterales iguales) */
  .header-bar { grid-template-columns: 1fr auto 1fr; padding: 8px 10px; }
  .brand-wrap { grid-column: 2; grid-row: 1; }
  .header-actions { grid-column: 3; grid-row: 1; }
  /* Isotipo en el borde izquierdo, centrado a la misma distancia del borde que el
     botón del menú por la derecha; así "TARMAYOGA" queda solo en el centro */
  .brand-mark { position: absolute; left: 15px; top: 50%; width: 30px; height: 28px; margin: 0; transform: translateY(-50%); }
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; }

  /* Menú móvil. La cabecera tiene siempre la caja de la tarjeta del menú (mismo margen,
     borde y radio) y es transparente mientras está cerrado: al abrir y al cerrar no
     cambia de sitio ni de forma, solo se funden los colores y main.js desliza la altura
     del menú. Si la caja cambiara al cerrar, el fondo oscuro se quedaría un instante
     como una franja a todo el ancho detrás de la barra.
     Abierto, la barra y las opciones forman una sola tarjeta de vidrio ahumado con texto
     blanco en toda la web. Con scroll (.is-scrolled, detrás suele haber secciones
     claras) el vidrio se oscurece más para que el texto se siga leyendo. */
  .site-header {
    margin: 11px 15px 0;   /* + 1px de borde: la barra queda a 12px / 16px del borde */
    padding: 0;
    border: 1px solid transparent;
    border-radius: 26px;
    transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease;
  }
  .site-header.is-menu-open {
    background: rgba(30,36,33,.45);
    border-color: rgba(255,255,255,.32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 32px -12px rgba(20,28,24,.25);
  }
  .site-header.is-menu-open.is-scrolled { background: rgba(30,36,33,.72); }
  /* El desenfoque lo pone la tarjeta entera, también mientras se cierra (.is-menu-closing);
     al terminar vuelve a ponerlo la barra */
  .site-header.is-menu-open,
  .site-header.is-menu-closing {
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
  }
  .site-header.is-menu-open .header-bar::before,
  .site-header.is-menu-closing .header-bar::before { display: none; }
  .site-header.is-menu-open .header-bar {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  /* Sin padding abajo: el hueco final va en el último enlace para que la animación de
     altura (main.js) pueda cerrar el menú del todo, hasta 0 */
  .site-header .nav-mobile { max-height: calc(100svh - 96px); padding-bottom: 0; }
  .site-header .nav-mobile > a:last-child { padding-bottom: 36px; }
  .site-header .nav-mobile a,
  .site-header .nav-mobile-sub summary { color: #FFFFFF; border-color: rgba(255,255,255,.2); }
  .site-header .nav-mobile-sub { border-color: rgba(255,255,255,.2); }
  .site-header .nav-mobile .nav-mobile-links a { color: rgba(255,255,255,.8); }
  .site-header .nav-mobile-links { border-left-color: rgba(211,234,223,.55); }
  .site-header .nav-mobile a.is-active { color: #D3EADF; }

  .classes { gap: 32px; }
  .tab { font-size: 28px; min-height: 0; padding: 20px 26px; }
  .tab.is-active { padding-left: 32px; }
}

/* Horarios en tableta: columnas estrechas, la hora pasa encima del nombre */
@media (min-width: 810px) and (max-width: 1039.98px) {
  .sch-day { padding: 0 12px 8px; }
  .sch-slot { grid-template-columns: 1fr; }
  .sch-slot-time { grid-row: auto; }
  .sch-slot-name,
  .sch-slot-teacher { grid-column: 1; }
}

@media (max-width: 809.98px) {
  /* Sin barra de desplazamiento a la vista en móvil (la página se desplaza igual) */
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }

  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .site-header { margin: 9px 9px 0; }   /* + 1px de borde: la barra queda a 10px del borde */
  .header-bar { padding: 6px; gap: 8px; }
  .nav-contact { display: none; }

  .hero { padding: 16px 16px 64px; }
  .hero-title { font-size: 48px; }
  .section-title { font-size: 36px; }

  .bento { grid-template-columns: 1fr; }
  .bento-card { height: 400px; }
  .highlights { flex-direction: column; gap: 32px; }

  .classes { grid-template-columns: 1fr; }
  .tablist { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: none; width: auto; font-size: 24px; padding: 14px 20px; border-radius: 999px; white-space: nowrap; }
  .tab.is-active { padding-left: 20px; }
  .panel-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .panel-row .btn { order: 2; }

  /* Horarios: el mismo calendario que en escritorio, con los días uno debajo de otro */
  .schedule { grid-template-columns: 1fr; gap: 28px; }
  .sch-day { padding: 0; }
  .sch-day + .sch-day { border-left: 0; }
  .sch-dayname { padding-bottom: 12px; }
  /* Cada clase en una sola línea: hora · actividad · profesora a la derecha */
  .sch-slot { grid-template-columns: 50px 1fr auto; align-items: baseline; }
  .sch-slot-time { grid-row: auto; }
  .sch-slot-teacher { grid-column: 3; padding-left: 12px; }
  /* Al filtrar se ocultan las demás clases, y los días que se quedan sin ninguna */
  .schedule[data-filter="yoga"] .sch-slot:not(.sch-slot--yoga),
  .schedule[data-filter="pilates"] .sch-slot:not(.sch-slot--pilates),
  .schedule[data-filter="kundalini"] .sch-slot:not(.sch-slot--kundalini),
  .schedule[data-filter="yoga"] .sch-day:not(:has(.sch-slot--yoga)),
  .schedule[data-filter="pilates"] .sch-day:not(:has(.sch-slot--pilates)),
  .schedule[data-filter="kundalini"] .sch-day:not(:has(.sch-slot--kundalini)) { display: none; }

  .benefits { grid-template-columns: 1fr; }
  .benefits-media { min-height: 360px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { gap: 32px; }

  .profile { grid-template-columns: 1fr; }
  .profile-media { min-height: 380px; }
  .profile-body { padding: 24px; }
  .profile-name { font-size: 44px; }
  .team { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; gap: 10px; }
  .gallery-item--a { grid-column: span 2; height: auto; }
  .gallery-item--b, .gallery-item--c { grid-column: span 1; }
  /* La sala de Pilates se quedaba sola en su fila y dejaba un hueco: en móvil se oculta */
  .gallery-item--d { display: none; }
  .gallery-item--e { grid-column: span 2; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { min-height: 320px; }
  .map { min-height: 320px; }

  .footer-cols { gap: 32px 24px; }
  .footer-col { min-width: 120px; }
  .wa-float { right: 12px; bottom: 12px; padding: 13px; border-radius: 999px; }   /* círculo de 48px solo con el logo */
  .wa-float-ico { width: 22px; height: 22px; }
  .wa-float-ico svg { width: 22px; height: 22px; }
  .wa-float-label { display: none; }
}

@media (max-width: 809.98px) {
  .has-decor::before,
  main > .hero + .section::before,
  main > .section:last-of-type::after { width: 260px; height: 210px; opacity: .6; }
  .brand-word { font-size: 18px; letter-spacing: .16em; }
  .brand-mark { left: 12px; width: 28px; height: 26px; }
}
