/* ===================================================================
   Hechas de Estrellas — Hoja de estilos
   Base blanca + acentos cálidos (beige, gris plata, rosa antiguo).
   Eje de marca: cercanía & alegría. Tipografía Calibri + serif cálida.
   Para cambiar la identidad, editá solo las variables de :root.
=================================================================== */

:root {
  /* Paleta — base blanca + acentos cálidos. */
  --cream: #FFFFFF;      /* fondo claro principal (blanco) */
  --sand: #F6F1EC;       /* secciones alternas (beige claro) */
  --nude: #EDE4DA;       /* fondos de media / placeholders (beige) */
  --mocha: #B98A8A;      /* acento: rosa antiguo (eyebrows, meta, links, bordes) */
  --mocha-dark: #9C6E6E; /* hover de acentos */
  --ink: #3A3540;        /* texto principal + botones primarios (ciruela/gris cálido) */
  --ink-soft: #4E4854;   /* hover de botón primario */
  --muted: #8A8189;      /* texto secundario */
  --plata: #C9CBD1;      /* gris plata (sócalos, bordes suaves) */
  --logo-gray: #8A8189;  /* compat: gris cálido (algunos hovers) */
  --white: #ffffff;
  --line: #EAE2DA;       /* bordes */
  --wpp: #25D366;        /* verde WhatsApp */

  /* Colores del Método Wara (orden por chakra 1→7) — detalles alegres */
  --wara-1: #9c6b4f;  /* raíz */
  --wara-2: #e8862e;  /* sacro */
  --wara-3: #f2b705;  /* plexo */
  --wara-4: #3fa66a;  /* corazón */
  --wara-5: #2f9fd0;  /* garganta */
  --wara-6: #d61f7a;  /* tercer ojo */
  --wara-7: #7b52ab;  /* corona */

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: Calibri, "Segoe UI", "Trebuchet MS", system-ui, -apple-system, Roboto, sans-serif;

  /* Medidas */
  --container: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 34px rgba(120, 90, 90, 0.14);
  --shadow-sm: 0 4px 16px rgba(120, 90, 90, 0.10);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  padding-top: var(--header-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.3px;
}

p { margin: 0 0 1rem; }

/* ---------- Intro de carga ---------- */
.page-intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px;
  color: #5a4a4a;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, #f6f1ec, #efe4da 55%, #e7d6cf 100%);
  pointer-events: none;
  animation: pageIntroOut 2.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.page-intro-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  transform-origin: center;
  animation: pageIntroMark 1.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.page-intro-logo {
  display: block;
  width: clamp(96px, 20vw, 148px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff url("../assets/LOGO.jpeg") center / cover no-repeat;
  box-shadow: 0 22px 60px rgba(120, 90, 90, 0.28);
}
.page-intro-line {
  width: clamp(76px, 20vw, 150px);
  height: 2px;
  background: linear-gradient(90deg, transparent, #d61f7a, #f2b705, #3aa7e0, transparent);
  transform-origin: center;
  animation: pageIntroLine 1.1s ease 0.28s both;
}
.page-intro-text {
  margin-top: -4px;
  font-size: clamp(0.64rem, 1.7vw, 0.78rem);
  font-weight: 600;
  letter-spacing: clamp(3px, 0.8vw, 6px);
  text-transform: uppercase;
  color: #9a7f7f;
  animation: pageIntroText 1.1s ease 0.42s both;
}
@keyframes pageIntroOut {
  0%, 72% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes pageIntroMark {
  0% { opacity: 0; transform: translateY(12px) scale(0.92); filter: blur(8px); }
  45%, 100% { opacity: 1; transform: translateY(0) scale(1); filter: none; }
}
@keyframes pageIntroLine {
  0% { opacity: 0; transform: scaleX(0); }
  100% { opacity: 1; transform: scaleX(1); }
}
@keyframes pageIntroText {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.container-narrow { max-width: 760px; }

.section { padding: 92px 0; }
.section-alt { background: var(--sand); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 54px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}
.section-lead { color: var(--muted); font-size: 1.05rem; }
.section-actions { text-align: center; margin-top: 44px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mocha);
  margin: 0 0 14px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-soft); }

.btn-outline { background: transparent; color: var(--mocha); border-color: var(--mocha); }
.btn-outline:hover { background: var(--mocha); color: var(--white); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(120, 90, 90, 0.10);
}
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--mocha), #f2b705);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--mocha); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--mocha);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav a.is-active { color: var(--mocha); }
.nav .nav-cta {
  border: 1px solid var(--mocha);
  color: var(--mocha);
  padding: 8px 20px;
  border-radius: 50px;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--mocha); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (marca tipográfica + logo sobre degradé cálido) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--sand) 55%, var(--nude) 100%);
  overflow: hidden;
}
/* Halo cálido detrás del wordmark */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 940px;
  max-height: 940px;
  transform: translate(-50%, -54%);
  background: radial-gradient(circle, rgba(214, 31, 122, 0.10), rgba(242, 183, 5, 0.06) 40%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }

.hero-logo {
  width: clamp(84px, 16vw, 120px);
  height: auto;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 40px rgba(120, 90, 90, 0.20);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mocha);
  margin-bottom: 18px;
}

/* Wordmark de la marca */
.hero-mark {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  margin: 0 0 24px;
}
.hero-mark-top {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--mocha-dark);
}
.hero-mark-main {
  display: block;
  font-size: clamp(3.2rem, 12vw, 7.2rem);
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-tagline {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Indicador de scroll */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 28px;
  height: 62px;
  transform: translateX(-50%);
  border: 0;
  opacity: 0.72;
}
.hero-scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(185, 138, 138, 0), rgba(185, 138, 138, 0.8), rgba(185, 138, 138, 0.08));
  transform: translateX(-50%);
}
.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid var(--mocha);
  border-radius: 50%;
  background: rgba(185, 138, 138, 0.25);
  transform: translateX(-50%);
  animation: heroScroll 1.9s ease-in-out infinite;
}
@keyframes heroScroll {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  35%  { opacity: 1; }
  75%  { opacity: 0; transform: translate(-50%, 28px); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span { animation: none; }
}

/* ---------- Cursos ---------- */
.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.curso-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.curso-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.curso-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--nude);
}
/* El media va en absoluto y llena el marco: así TODAS las cards tienen
   exactamente el mismo tamaño 16:9, sea video, imagen o iframe. */
.curso-video,
.curso-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
iframe.curso-video { object-fit: fill; } /* el iframe no recorta: ocupa todo el marco */

/* Estado de carga / vacío / error de la grilla de cursos */
.cursos-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}
.curso-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(24, 24, 28, 0.74);
  color: var(--white);
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
}
.curso-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mocha);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}
.curso-play:hover { transform: scale(1.08); background: var(--white); }
.curso-play.is-hidden { display: none; }

/* Estado cuando el adelanto todavía no fue subido */
.curso-media.is-unavailable .curso-play { display: none; }
.curso-media.is-unavailable::after {
  content: "Adelanto próximamente";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.curso-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.curso-meta {
  display: flex;
  gap: 14px;
  font-size: 0.74rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 10px;
}
.curso-titulo { font-size: 1.6rem; margin-bottom: 8px; }
.curso-desc { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.curso-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.curso-precio { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); display: flex; flex-direction: column; line-height: 1.05; }
.curso-precio-uyu { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
.curso-btn { padding: 11px 20px; font-size: 0.72rem; }

/* La card de la grilla es un link a la página del curso */
a.curso-card { color: inherit; text-decoration: none; }
.curso-link {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mocha);
}
/* Play decorativo sobre la portada (la card entera es el link) */
.curso-play-static { pointer-events: none; background: rgba(255, 255, 255, 0.85); }
.curso-card:hover .curso-play-static { transform: scale(1.08); background: var(--white); }

/* =================== PÁGINA DE DETALLE DEL CURSO =================== */
.detail-section-wrap { padding-top: 44px; }
.detail-back {
  display: inline-block;
  color: var(--mocha);
  font-size: 0.84rem;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.detail-back:hover { text-decoration: underline; }

.detail-head { margin-bottom: 26px; }
.detail-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 8px; }
.detail-cat { color: var(--muted); font-size: 0.95rem; margin: 0; }
.detail-cat strong { color: var(--ink); font-weight: 500; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.detail-col { min-width: 0; }

.detail-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

/* Los MP4 del detalle respetan sus dimensiones reales. Las cards mantienen
   su marco uniforme 16:9 definido en .curso-media. */
.detail-player.is-file-preview {
  aspect-ratio: var(--preview-aspect, 16 / 9);
  background: #17141a;
}
.detail-player.is-file-preview .curso-video {
  object-fit: contain;
}
.detail-player.is-portrait-preview {
  width: min(100%, 400px);
  margin-inline: auto;
}
.detail-player.is-square-preview {
  width: min(100%, 600px);
  margin-inline: auto;
}

.detail-block { margin-bottom: 34px; }
.detail-h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.detail-rich p { color: var(--muted); }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}
.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mocha);
  font-weight: 600;
}

/* Temario / módulos (solapas desplegables) */
.temario { border-top: 1px solid var(--line); }
.modulo { border-bottom: 1px solid var(--line); }
.modulo-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  transition: color 0.2s ease;
}
.modulo-sum::-webkit-details-marker { display: none; }
.modulo-sum:hover { color: var(--mocha); }
.modulo-tit { font-weight: 500; }
.modulo-ico { position: relative; width: 16px; height: 16px; flex: none; }
.modulo-ico::before, .modulo-ico::after {
  content: "";
  position: absolute;
  background: var(--mocha);
  transition: transform 0.25s ease;
}
.modulo-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.modulo-ico::after { left: 7px; top: 0; width: 2px; height: 16px; }
.modulo[open] .modulo-ico::after { transform: scaleY(0); }
.modulo-body { padding: 0 4px 20px; }
.modulo-body p { color: var(--muted); margin: 0 0 10px; }
.modulo-body p:last-child { margin-bottom: 0; }

/* Sidebar de precio / compra */
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); }
.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
}
.detail-precio {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.1;
}
.detail-precio span {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 4px;
}
.detail-precio .detail-precio-uyu { display: block; margin-left: 0; margin-top: 2px; }
.detail-cta { display: block; width: 100%; text-align: center; }
.detail-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.detail-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  padding: 7px 0;
}
.detail-facts li span { color: var(--muted); }
.detail-facts li strong { color: var(--ink); font-weight: 500; text-align: right; }

.detail-instructor { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail-instructor-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 10px;
}
.detail-instructor-row { display: flex; align-items: center; gap: 12px; }
.detail-instructor-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.detail-instructor-row strong { font-weight: 500; }

.detail-notfound { text-align: center; padding: 60px 0; }
.detail-notfound p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 880px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

/* ---------- Sobre la dueña ---------- */
.sobre-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.sobre-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--nude), #f3dde0 55%, #e7d4ea);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.sobre-media::before {
  content: "✦";
  font-size: clamp(3.5rem, 9vw, 6rem);
  color: rgba(185, 138, 138, 0.5);
}
.sobre-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.sobre-text .section-title { text-align: left; margin-bottom: 18px; }
.sobre-text p { color: var(--muted); }
.sobre-text .btn { margin-top: 12px; }

/* ---------- Testimonios ---------- */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.testimonio {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.testimonio blockquote {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.testimonio figcaption { color: var(--mocha); font-size: 0.85rem; letter-spacing: 1px; }

/* ---------- Galería ---------- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.galeria-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  background: var(--nude);
}
/* Mosaico de color (se ve mientras no haya foto real) */
.galeria-item:nth-child(1) { background: linear-gradient(140deg, #f6d5e4, #f7e6c4); }
.galeria-item:nth-child(2) { background: linear-gradient(140deg, #d9ecf7, #eadcf3); }
.galeria-item:nth-child(3) { background: linear-gradient(140deg, #fbe4cf, #f7d9d9); }
.galeria-item:nth-child(4) { background: linear-gradient(140deg, #e2f0dd, #d9ecf7); }
.galeria-item:nth-child(5) { background: linear-gradient(140deg, #eadcf3, #f6d5e4); }
.galeria-item:nth-child(6) { background: linear-gradient(140deg, #f7e6c4, #e2f0dd); }
.galeria-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.galeria-item:hover img { transform: scale(1.06); }

/* ---------- Método Wara ---------- */
.wara-land-logo {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 3;
  margin: 28px auto 0;
  padding: clamp(10px, 2vw, 16px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 236, 0.88)),
    var(--white);
  box-shadow: var(--shadow-sm);
}
.wara-land-logo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 6px);
  background: radial-gradient(circle at 50% 28%, rgba(242, 183, 5, 0.16), rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}
.wara-land-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 54%;
  background: var(--white);
}
.wara-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.wara-card {
  position: relative;
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--c, var(--mocha));
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wara-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wara-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #fff;
  background: var(--c, var(--mocha));
}
.wara-chakra {
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c, var(--mocha));
  margin: 0 0 4px;
  font-weight: 600;
}
.wara-name { font-size: 1.28rem; margin: 0 0 6px; }
.wara-desc { color: var(--muted); font-size: 0.92rem; margin: 0 0 8px; }
.wara-prov { font-size: 0.8rem; color: var(--ink); margin: 0; font-weight: 500; }
.wara-card-cta {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--sand);
  border-top-color: var(--mocha);
}
.wara-card-cta .btn { margin-top: 10px; }

/* ---------- Retiros Wara Land ---------- */
.retiros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.retiros-text .eyebrow,
.retiros-text .section-title { text-align: left; }
.retiros-text .section-title { margin-bottom: 16px; }
.retiros-text p { color: var(--muted); }
.retiros-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}
.retiros-chips span {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--mocha-dark);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 14px;
}
.retiros-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--nude);
}
.retiros-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.retiros-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Sesiones online ---------- */
.sesiones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.sesion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sesion-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sesion-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--mocha);
  background: var(--sand);
}
.sesion-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.sesion-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--mocha);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 4px 22px; margin: 0; color: var(--muted); }

/* ---------- Scroll polish ---------- */
body.reveal-ready .scroll-reveal {
  transition: opacity 0.72s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.72s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.72s ease, box-shadow 0.25s ease, transform 0.25s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}
body.reveal-ready .scroll-reveal:not(.is-visible) {
  opacity: 0;
  translate: 0 28px;
  filter: blur(8px);
}
body.reveal-ready .scroll-reveal.reveal-from-left:not(.is-visible) { translate: -30px 0; }
body.reveal-ready .scroll-reveal.reveal-from-right:not(.is-visible) { translate: 30px 0; }
body.reveal-ready .scroll-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: none;
}
body.reveal-ready .footer-bottom.scroll-reveal,
body.reveal-ready .footer-bottom.scroll-reveal:not(.is-visible) {
  opacity: 1;
  translate: 0 0;
  filter: none;
  transition: none;
}

/* ---------- Footer ---------- */
.footer {
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 64px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo { height: 56px; width: auto; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); }
.footer-addr { font-size: 0.86rem; color: rgba(255, 255, 255, 0.45); }
.footer-map {
  flex: 1 1 340px;
  max-width: 430px;
}
.footer-map h3,
.footer-nav h3,
.footer-contact h3 { font-size: 1.4rem; margin-bottom: 14px; color: var(--white); }
.footer-map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.footer-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.95) brightness(0.9);
}
.footer-nav ul,
.footer-contact ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li,
.footer-contact li { margin-bottom: 8px; }
.footer-nav a,
.footer-contact a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s ease; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--mocha); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.footer-bottom p { margin: 0; }
.footer-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-admin-link svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.58);
  outline: none;
}
.footer-admin-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

/* ---------- WhatsApp flotante ---------- */
.wpp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wpp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wpp-float:hover { transform: scale(1.08); }

/* Scroll offset por header sticky */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 860px) {
  .sobre-inner { grid-template-columns: 1fr; gap: 32px; }
  .sobre-media { max-width: 420px; margin: 0 auto; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .retiros-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 999;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(120, 90, 90, 0.10);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 22px 24px;
  }
  .nav li { width: 100%; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a::after { display: none; }
  .nav .nav-cta { border: none; padding: 14px 0; }
}

@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }
  .curso-foot { flex-direction: column; align-items: flex-start; }
  .curso-btn { width: 100%; text-align: center; }
}

/* Accesibilidad: respetar preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .page-intro {
    animation: pageIntroOut 0.55s ease forwards;
  }
  .page-intro-card,
  .page-intro-line,
  .page-intro-text {
    animation: none;
  }
}
