/* ═══════════════════════════════════════════════
   Yogalistik · Diana Sanz — hoja de estilos
   Paleta: verde oscuro / verde claro / naranja apagado / crema
   Tipografías: Yeseva One (títulos) · Lato Light (texto)
   ═══════════════════════════════════════════════ */

:root {
  --fg: #325F4F;        /* verde oscuro — texto y botones */
  --bg-green: #CFD7C7;  /* verde claro — fondos de sección */
  --primary: #CFD7C7;   /* verde claro — bandas suaves */
  --cream: #FAF9F0;     /* crema — fondo principal */
  --accent: #C9957B;    /* naranja apagado — detalles decorativos */
  --fg-soft: #325F4F;
  --radius: 22px;
  /* Ritmo vertical — un solo par de medidas en toda la web */
  --space-content: 2.5rem;                 /* título/intro → contenido de la sección */
  --space-flow: clamp(3rem, 7vw, 5rem);    /* entre bloques grandes dentro de una sección */
  /* Sombras en capas — profundidad y jerarquía */
  --shadow-sm: 0 2px 8px rgba(50, 95, 79, .05), 0 1px 2px rgba(50, 95, 79, .06);
  --shadow: 0 8px 24px rgba(50, 95, 79, .07), 0 2px 6px rgba(50, 95, 79, .05);
  --shadow-lg: 0 18px 44px rgba(50, 95, 79, .12), 0 6px 14px rgba(50, 95, 79, .07);
  --font-head: "Yeseva One", serif;
  --font-body: "Lato", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--fg);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.22;
  color: var(--fg);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.018em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1rem; letter-spacing: -.012em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: .7rem; letter-spacing: -.006em; }

em, h1 em, h2 em { font-style: normal; }

sup {
  font-size: 0.40em;
  vertical-align: super;
}

p { margin-bottom: 1rem; }
strong { font-weight: 400; }

a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(201, 149, 123, .8); }

h2.centered::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin: .9rem auto 0;
}

.container { max-width: 1120px; margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }

.centered { text-align: center; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tinted { background: var(--primary); }
.section-green { background: var(--bg-green); }

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-content);
  color: var(--fg-soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ─── Apariciones al hacer scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
              transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Cabecera y navegación ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--cream);
  border-bottom: 1px solid rgba(50, 95, 79, .1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-block: .6rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  width: 67px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .3px;
  color: var(--fg);
}

.nav-menu {
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 400;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .25s;
}

.nav-menu a:hover { border-bottom-color: var(--accent); }

.nav-cta {
  background: var(--fg);
  color: var(--cream) !important;
  padding: .5rem 1.2rem !important;
  border-radius: 999px;
  border: none !important;
}

/* ─── Acciones de cabecera: iconos rápidos + hamburguesa ─── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.nav-quick-links {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.nav-quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-quick-link .btn-icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-quick-link .btn-icon-whatsapp {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  stroke: none;
}

.nav-quick-link:hover {
  background: rgba(50, 95, 79, .1);
  transform: translateY(-1px);
}

/* ─── Botón hamburguesa y menú desplegable (siempre activos, también en escritorio) ─── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform .3s, opacity .3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(50, 95, 79, .3);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s;
}

.nav-menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: clamp(1rem, 4vw, 2rem);
  left: auto;
  z-index: 60;
  width: max-content;
  min-width: 190px;
  max-width: min(78vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: .12rem;
  background: var(--cream);
  border: 1px solid rgba(50, 95, 79, .12);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: .55rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(.9) translateY(-8px);
  transform-origin: top right;
  transition: opacity .26s cubic-bezier(.22, .61, .36, 1),
              transform .26s cubic-bezier(.22, .61, .36, 1),
              visibility 0s linear .26s;
}

.nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s cubic-bezier(.22, .61, .36, 1),
              transform .38s cubic-bezier(.34, 1.4, .5, 1),
              visibility 0s;
}

.nav-menu a {
  display: block;
  padding: .62rem .85rem;
  font-size: 1.02rem;
  border-radius: 11px;
  border-bottom: none;
  transition: background .2s ease, color .2s ease;
}

.nav-menu a:hover { background: rgba(50, 95, 79, .08); border-bottom-color: transparent; }

.nav-cta { margin-top: .35rem; text-align: center; }

.nav-menu a.nav-cta:hover {
  background: var(--accent);
  color: var(--cream) !important;
}

.nav-menu li {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.22, .61, .36, 1);
}

.nav-menu.open li { opacity: 1; transform: none; }

.nav-menu.open li:nth-child(1) { transition-delay: .05s; }
.nav-menu.open li:nth-child(2) { transition-delay: .09s; }
.nav-menu.open li:nth-child(3) { transition-delay: .13s; }
.nav-menu.open li:nth-child(4) { transition-delay: .17s; }
.nav-menu.open li:nth-child(5) { transition-delay: .21s; }
.nav-menu.open li:nth-child(6) { transition-delay: .25s; }
.nav-menu.open li:nth-child(7) { transition-delay: .29s; }

@media (prefers-reduced-motion: reduce) {
  .nav-menu, .nav-menu.open,
  .nav-menu li, .nav-menu.open li,
  .nav-backdrop, .nav-backdrop.open {
    transition: none;
    transform: none;
  }
}

/* ─── Botones ─── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .3px;
  text-decoration: none;
  padding: .8rem 1.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.22, .61, .36, 1), box-shadow .25s ease, background .2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-solid { background: var(--fg); color: var(--cream); }
.btn-ghost { border: 1.5px solid var(--fg); color: var(--fg); }

.btn-iconed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon-whatsapp {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  stroke: none;
}

/* ─── Hero ─── */
.hero {
  background: var(--bg-green);
  padding: clamp(.25rem, 1vw, .75rem) 0 clamp(1.1rem, 2.8vw, 2rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  text-align: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: 1.18rem;
  max-width: 34rem;
  margin: 1.4rem auto 0;
  color: var(--fg-soft);
}

.hero-lead strong { color: var(--fg); }

/* ─── Bloques imagen + texto ─── */
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split + .split, .split + .online-box, .online-box + .split { margin-top: var(--space-flow); }

.split-reverse .split-figure { order: 2; }

.split-figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .4s ease, transform .4s ease;
}

.split-figure img {
  width: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.split-figure:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.split-figure:hover img { transform: scale(1.035); }

.profile-figure {
  max-width: 340px;
  margin: 0 auto 2rem;
}

/* Tarjeta regalo: anverso y reverso lado a lado en PC, apilados en móvil */
.gift-card-figure {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto 1.5rem;
}

.gift-card-figure img {
  max-width: 100%;
  width: 280px;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

/* Sección Clases: dos fotos lado a lado en PC, apiladas en móvil */
.classes-figure {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 auto 2rem;
}

.classes-figure img {
  max-width: 100%;
  width: 380px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-text .btn { margin-top: .5rem; }

.read-more summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  margin-bottom: .8rem;
  padding: .6rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: .3px;
  color: var(--fg);
  background: transparent;
  border: 1.5px solid var(--fg);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  list-style: none;
  transition: transform .25s cubic-bezier(.22, .61, .36, 1),
              box-shadow .25s ease, background .25s ease, color .25s ease;
}

.read-more summary::-webkit-details-marker { display: none; }

/* Chevron dibujado con CSS, gira al abrir */
.read-more summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.read-more summary:hover {
  background: var(--fg);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.read-more summary:focus-visible {
  outline: 3px solid rgba(201, 149, 123, .6);
  outline-offset: 3px;
}

.read-more[open] summary {
  color: var(--accent);
  border-color: var(--accent);
}

.read-more[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.read-more[open] summary:hover {
  background: var(--accent);
  color: var(--cream);
}

/* ─── Tarjeta desplegable: toda la tarjeta es el disparador cuando está plegada ─── */
/* Selector compuesto (.card.tarjeta-desplegable) para ganar en especificidad a .card,
   que se define más abajo en el archivo y si no, sobrescribiría este padding.
   Solo padding vertical (el horizontal ya lo aportan summary/body-inner): conserva
   el alto original de la tarjeta sin reintroducir el padding en el elemento que se anima. */
.card.tarjeta-desplegable {
  padding: 2rem 0 2.1rem;
  overflow: hidden;
}

.tarjeta-desplegable summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .4rem 2.4rem .4rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1;
  letter-spacing: -.006em;
  color: var(--accent);
  transition: color .25s ease;
}

.tarjeta-desplegable summary::-webkit-details-marker { display: none; }

.tarjeta-desplegable summary:focus-visible {
  outline: 3px solid rgba(201, 149, 123, .6);
  outline-offset: -3px;
}

/* Chevron dibujado con CSS, anclado abajo a la derecha de la tarjeta */
.tarjeta-desplegable summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.tarjeta-desplegable[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

/* Sin padding propio a propósito: es el elemento cuya altura se anima al
   abrir/cerrar (JS), y con padding nunca podría encogerse hasta 0.
   El padding real vive en .tarjeta-desplegable__body-inner. */
.tarjeta-desplegable__body {
  opacity: 0;
  transition: opacity .3s ease;
}

.tarjeta-desplegable[open] .tarjeta-desplegable__body {
  opacity: 1;
}

.tarjeta-desplegable__body-inner {
  padding: .6rem 1.8rem 2.1rem;
}

.tarjeta-desplegable__body-inner h3,
.tarjeta-desplegable__body-inner h4,
.tarjeta-desplegable__body-inner .service-group-title {
  text-align: center;
}

.tarjeta-desplegable__body-inner .service-group-title {
  margin-top: 1.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .tarjeta-desplegable__body { transition: none; }
}

.lead-small { margin-bottom: .4rem; }
.note { font-size: .95rem; color: var(--fg-soft); }

/* ─── Perfil + estilo ─── */
.profile-section {
  background: var(--bg-green);
}

.style-block {
  margin-top: var(--space-flow);
  padding-top: var(--space-flow);
  border-top: 1px solid rgba(50, 95, 79, .14);
}

/* ─── Píldoras y objetivos ─── */
.pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  max-width: 900px;
  margin: 0 auto var(--space-content);
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  background: var(--cream);
  border: 1px solid rgba(50, 95, 79, .1);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .95rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 149, 123, .5);
}

.objectives {
  list-style: none;
  max-width: 780px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem 2.5rem;
}

.objectives li { padding-left: 1.6rem; position: relative; }
.objectives li::before { content: "✿"; color: var(--accent); position: absolute; left: 0; font-size: .95rem; top: .1rem; }

/* Tarjeta «Objetivos de la práctica»: centra el acento del título y conserva las viñetas florales sobre las reglas genéricas de .card */
.objectives-card {
  margin-top: var(--space-content);
}

.card.objectives-card h3::before {
  left: 50%;
  transform: translateX(-50%);
}

.card.objectives-card .objectives li {
  padding: 0 0 0 1.4rem;
}

.card.objectives-card .objectives li::before {
  content: "·";
  left: .3rem;
  top: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ─── Experiencias ─── */
.experiences-section {
  background: var(--accent);
  color: var(--cream);
}

.experiences-section h2,
.experiences-section h3 {
  color: var(--fg);
}

.experiences-section h2.centered::after {
  background: var(--cream);
}

.experiences-section .section-intro {
  font-weight: 700;
  color: var(--cream);
}

.experiences-section .btn-solid {
  background: var(--cream);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

/* Talleres y Clases: botones de contacto con el mismo fondo que su tarjeta */
#clases .tarjeta-desplegable .btn-solid,
#talleres .tarjeta-desplegable .btn-solid {
  background: var(--cream);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-weight: 400;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: var(--space-content);
}

.experience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(50, 95, 79, .1);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card-detail-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  text-decoration: none;
}

.card-detail-link:focus-visible {
  outline: 3px solid rgba(50, 95, 79, .78);
  outline-offset: 4px;
}

.experience-card > :not(.card-detail-link) {
  position: relative;
  z-index: 1;
}

.experience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 149, 123, .5);
  box-shadow: var(--shadow-lg);
}

.service-kicker {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  color: var(--fg);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-kicker-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-card h3 {
  color: var(--accent);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
}

.experience-card p:not(.service-kicker) {
  color: var(--fg);
  font-size: .98rem;
  line-height: 1.62;
}

.service-meta {
  display: grid;
  gap: .35rem;
  margin: .35rem 0 1.4rem;
  list-style: none;
}

.service-meta li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--fg);
  font-size: .92rem;
  line-height: 1.45;
}

.service-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .36rem;
  height: .36rem;
  border-radius: 50%;
  background: var(--fg);
}

.experience-card .btn {
  width: 100%;
  margin-top: auto;
  padding-inline: 1.1rem;
  text-align: center;
  z-index: 3;
}

/* ─── Tarjetas ─── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: var(--space-content);
}

.card {
  background: var(--cream);
  border: 1px solid rgba(50, 95, 79, .1);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 2.1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(201, 149, 123, .5);
}

/* Título con detalle de acento superior */
.card h3 { position: relative; padding-top: .9rem; }
.card h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.section-tinted .card { background: var(--cream); }

.card ul { list-style: none; }
.card li { padding: .35rem 0 .35rem 1.4rem; position: relative; }
.card li::before { content: "·"; color: var(--accent); position: absolute; left: .3rem; font-weight: 700; font-size: 1.4rem; line-height: 1.2; }

/* ─── Listas ─── */
.checklist { list-style: none; margin: 0 0 1.4rem; }
.checklist li { padding: .35rem 0 .35rem 1.4rem; position: relative; }
.checklist li::before { content: "·"; color: var(--accent); position: absolute; left: .3rem; font-weight: 700; font-size: 1.4rem; line-height: 1.2; }

/* ─── Caja online ─── */
.online-box {
  background: var(--cream);
  border: 1px solid rgba(50, 95, 79, .1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 800px;
  margin-inline: auto;
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.online-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(201, 149, 123, .5);
}

.online-schedule { font-size: 1.1rem; }

/* ─── Testimonios (carrusel) ─── */
.testimonials {
  background: var(--fg);
  color: var(--cream);
  overflow: hidden;
}

.testimonials h2 { color: var(--cream); }
.testimonials h2.centered::after { background: var(--accent); }

.testimonial-quote {
  font-style: normal;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--cream);
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-content);
  line-height: 1.55;
  padding: 0 1rem;
}

.testimonial-quote cite {
  display: block;
  font-style: normal;
  margin-top: .8rem;
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.testimonial-track {
  --scroll-distance: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  height: min(68vh, 700px);
  margin: 0 auto;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(250, 249, 240, .3);
  border-radius: var(--radius);
  background: rgba(250, 249, 240, .04);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.testimonial-track::before,
.testimonial-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-track::before {
  top: 0;
  background: linear-gradient(180deg, var(--fg) 0%, rgba(50, 95, 79, .72) 42%, transparent 100%);
}

.testimonial-track::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--fg) 0%, rgba(50, 95, 79, .72) 42%, transparent 100%);
}

.testimonial-track:hover .testimonial-stream,
.testimonial-track.is-paused .testimonial-stream { animation-play-state: paused; }

.testimonial-stream {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  animation: testimonial-rise 115s linear infinite;
}

.testimonial-card {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(250, 249, 240, .06);
  border: 1px solid rgba(250, 249, 240, .22);
}

.testimonial-card.is-featured { border-color: var(--accent); }

.testimonial-card h3 {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: .6rem;
}

.testimonial-card p {
  font-size: .9rem;
  color: var(--cream);
  margin: 0 0 .6rem;
  line-height: 1.6;
  font-style: normal;
}

.testimonial-card strong {
  display: block;
  margin-top: .4rem;
  color: var(--accent);
  font-size: .85rem;
  font-style: normal;
  font-weight: 700;
}

@keyframes testimonial-rise {
  from { transform: translateY(0); }
  to { transform: translateY(calc(var(--scroll-distance) * -1)); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-stream { animation: none; }
  .testimonial-track { overflow-y: auto; }
}

/* ─── Instagram ─── */
.instagram-section {
  background: linear-gradient(180deg, var(--bg-green), var(--cream));
}

.instagram-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(300px, .68fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.instagram-copy { max-width: 620px; }

.instagram-copy p:not(.eyebrow) {
  margin: .6rem 0 1.4rem;
  color: var(--fg-soft);
  font-size: 1.05rem;
}

.instagram-embed {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(50, 95, 79, .14);
  box-shadow: var(--shadow);
}

.instagram-embed::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.instagram-consent {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding: 2rem;
}

.instagram-consent p {
  color: var(--fg-soft);
  font-size: .95rem;
  max-width: 320px;
  margin: 0;
}

.instagram-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--cream);
}

/* ─── Contacto ─── */
.section-contact { background: var(--fg); }
.section-contact h2, .section-contact p, .section-contact a { color: var(--cream); }

.contact-lead { max-width: 480px; margin: 0 auto var(--space-content); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-contact .btn-solid { background: var(--cream); color: var(--fg); }
.section-contact .btn-ghost { border-color: var(--cream); }

.contact-group {
  display: grid;
  justify-items: center;
  max-width: 560px;
  margin: 0 auto 1rem;
  font-size: .98rem;
}

.contact-group-btn {
  max-width: 520px;
  align-items: center;
  padding-block: .95rem;
  text-align: center;
  white-space: normal;
}

.contact-group-btn .btn-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-copy {
  display: grid;
  gap: .08rem;
  line-height: 1.35;
}

.btn-copy strong {
  line-height: 1.2;
}

/* ─── Pie ─── */
.site-footer {
  background: var(--bg-green);
  padding: 3rem 0 2.2rem;
  text-align: center;
  font-size: .92rem;
}

.footer-grid { display: grid; gap: 1rem; justify-items: center; }
.footer-logo { mix-blend-mode: multiply; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.site-footer p { margin: 0; color: var(--fg-soft); }
.copyright { font-size: .85rem; }
.site-credit { font-size: .78rem; opacity: .78; }
.site-credit a {
  color: inherit;
  font-variant-caps: small-caps;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

/* ─── CTA móvil fijo ─── */
.mobile-sticky-cta { display: none; }

/* ─── Modal de navegación externa ─── */
.ext-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.ext-modal[hidden] { display: none; }

.ext-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(50, 95, 79, .42);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
}

.ext-modal.is-open .ext-modal__backdrop { opacity: 1; }

.ext-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid rgba(50, 95, 79, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .32s cubic-bezier(.22, .61, .36, 1),
              transform .32s cubic-bezier(.22, .61, .36, 1);
}

.ext-modal.is-open .ext-modal__dialog { opacity: 1; transform: none; }

.ext-modal__close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--fg-soft);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ext-modal__close:hover { background: rgba(50, 95, 79, .08); color: var(--fg); }
.ext-modal__close svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ext-modal__close:focus-visible { outline: 3px solid rgba(201, 149, 123, .6); outline-offset: 2px; }

.ext-modal__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(201, 149, 123, .14);
  color: var(--accent);
}

.ext-modal__icon svg { width: 1.7rem; height: 1.7rem; }
.ext-modal__icon .btn-icon-whatsapp { fill: currentColor; stroke: none; }
.ext-modal__icon svg:not(.btn-icon-whatsapp) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ext-modal__title { font-size: clamp(1.25rem, 3vw, 1.55rem); margin-bottom: .6rem; }

.ext-modal__desc {
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.ext-modal__message { text-align: left; margin-bottom: 1.4rem; }

.ext-modal__label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.ext-modal__textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .98rem;
  line-height: 1.55;
  color: var(--fg);
  background: rgba(50, 95, 79, .04);
  border: 1px solid rgba(50, 95, 79, .16);
  border-radius: 14px;
  padding: .8rem 1rem;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}

.ext-modal__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 149, 123, .18);
}

.ext-modal__actions {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.ext-modal__actions .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .ext-modal__backdrop, .ext-modal__dialog { transition: none; }
  .ext-modal__dialog { transform: none; }
}

/* ═══════════════ Móvil ═══════════════ */
@media (max-width: 860px) {

  /* Reserva para el CTA flotante dentro del propio pie (evita banda crema tras el footer) */
  .site-footer {
    padding-bottom: calc(2.2rem + 76px + env(safe-area-inset-bottom));
  }

  .brand-logo { width: 54px; height: 47px; }
  .brand-text { display: none; }

  .gift-card-figure { flex-direction: column; align-items: center; }

  /* Sección Clases/Talleres: en vez de apilarlas, las fotos ocupan el mismo
     espacio y se turnan con un fundido suave (ver JS, clase .is-active) */
  .classes-figure {
    position: relative;
    display: block;
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 2rem;
  }

  .classes-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
  }

  .classes-figure img.is-active {
    opacity: 1;
  }

  .split { grid-template-columns: 1fr; }
  .split-reverse .split-figure { order: 0; }

  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: 1fr; }
  .objectives { grid-template-columns: 1fr; }
  .testimonial-track { height: min(60vh, 560px); }
  .testimonial-card { padding: 1rem 1.1rem; }
  .testimonial-card h3 { font-size: .92rem; }
  .testimonial-card p { font-size: .85rem; }
  .instagram-panel { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
  .instagram-copy { margin: 0 auto; }
  .instagram-embed { height: 480px; }

  .mobile-sticky-cta {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(.9rem + env(safe-area-inset-bottom));
    z-index: 80;
    display: inline-flex;
    width: min(calc(100vw - 2rem), 360px);
    padding: 0;
    transform: translateX(-50%);
  }

  .mobile-sticky-cta__link {
    display: block;
    width: 100%;
    padding: .9rem 1.25rem;
    border: 1px solid rgba(250, 249, 240, .44);
    border-radius: 999px;
    background: var(--fg);
    color: var(--cream);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(50, 95, 79, .26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .classes-figure img { transition: none; }
}

@media (max-width: 480px) {
  .experience-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .contact-links { flex-direction: column; }
}
