/* =============================================================
   TERAPIAS MAGDA RAMIREZ
   Centro integral de la sanación mental, emocional y espiritual
   Paleta del logo: verde olivo + dorado, sobre papel crema.
   ============================================================= */

/* 1. Variables ------------------------------------------------ */
:root {
  --olivo: #4C5B31;
  --olivo-2: #54663A;
  --olivo-3: #75875A;
  --bosque: #1E2515;
  --bosque-2: #2A3320;
  --oro: #917D53;
  --oro-osc: #7A6843;
  --oro-claro: #D9C89B;
  --crema: #F7F2E8;
  --papel: #FCFAF5;
  --arena: #EFE7D6;
  --salvia: #E3E8D4;
  --durazno: #EDC9A6;
  --rosa: #E9CFC3;
  --tinta: #1F2418;
  --texto: #3D4333;
  --suave: #666B5A;
  --linea: rgba(76, 91, 49, .16);
  --linea-2: rgba(76, 91, 49, .28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 14px;
  --header: 78px;
  --sombra: 0 24px 60px -28px rgba(30, 37, 21, .35);
}

/* 2. Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--tinta); font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 50; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--olivo); color: var(--crema); }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--olivo); color: var(--crema); padding: 10px 18px; border-radius: 99px; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* 3. Tipografía y secciones ----------------------------------- */
.section { position: relative; padding: clamp(80px, 11vw, 144px) 0; }
.section-tight { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 128px); }
.section-tint { background: var(--salvia); }
.section-sand { background: var(--arena); }
.section-dark { background: var(--bosque); color: rgba(247, 242, 232, .82); overflow: hidden; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--crema); }
.section-dark .title em, .section-dark .title-sm em { color: var(--oro-claro); }

.title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 380; font-variation-settings: "SOFT" 50, "opsz" 120; }
.title em, .page-title em, .hero-title em { color: var(--oro); font-weight: 320; }
.title-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--suave); max-width: 40em; }
.section-dark .lead { color: rgba(247, 242, 232, .72); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .title { margin-bottom: 18px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.split { display: grid; gap: 20px; align-items: end; }
.section-head.split .lead { margin-bottom: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--olivo); text-decoration: none; }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* 4. Botones -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.02rem; }
.btn-solid { background: var(--olivo); color: var(--crema); box-shadow: 0 14px 30px -16px rgba(76, 91, 49, .8); }
.btn-solid:hover { background: var(--bosque-2); }
.btn-line { border-color: var(--linea-2); color: var(--olivo); background: transparent; }
.btn-line:hover { border-color: var(--olivo); background: var(--olivo); color: var(--crema); }
.btn-gold { background: var(--oro-claro); color: var(--bosque); }
.btn-gold:hover { background: var(--crema); }
.btn-ghost-light { border-color: rgba(247, 242, 232, .35); color: var(--crema); }
.btn-ghost-light:hover { background: rgba(247, 242, 232, .12); border-color: var(--crema); }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: transparent; color: inherit; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.icon-btn .ico { width: 22px; height: 22px; }
.icon-btn-line { border: 1px solid var(--linea-2); color: var(--olivo); }
.icon-btn-line:hover { background: var(--olivo); color: var(--crema); }

/* 5. Cabecera ------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.site-header.is-stuck { background: rgba(252, 250, 245, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--linea); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--texto); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--olivo); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--olivo); }
.header-cta { display: none; min-height: 44px; padding: 0 20px; font-size: .93rem; }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linea-2); background: rgba(252, 250, 245, .6); color: var(--olivo); }
.menu-btn .ico { width: 22px; height: 22px; }

/* Menú móvil */
.menu {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 20px clamp(16px, 5vw, 40px) 32px;
  border: 0; background: var(--bosque); color: var(--crema); overflow-y: auto;
}
.menu[open] { display: flex; flex-direction: column; animation: fade-in .45s var(--ease); }
.menu::backdrop { background: transparent; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 46px; }
.menu-top img { height: 30px; width: auto; }
.menu-top .icon-btn { border: 1px solid rgba(247, 242, 232, .3); }
.menu-list { list-style: none; margin: 8vh 0 auto; padding: 0; }
.menu-list li { border-bottom: 1px solid rgba(247, 242, 232, .12); }
.menu-list a { display: block; padding: 14px 0; font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.6rem); text-decoration: none; transition: color .3s, padding .4s var(--ease); }
.menu-list a:hover { color: var(--oro-claro); padding-left: 10px; }
.menu[open] .menu-list li { animation: rise .7s var(--ease) backwards; }
.menu[open] .menu-list li:nth-child(2) { animation-delay: .04s; }
.menu[open] .menu-list li:nth-child(3) { animation-delay: .08s; }
.menu[open] .menu-list li:nth-child(4) { animation-delay: .12s; }
.menu[open] .menu-list li:nth-child(5) { animation-delay: .16s; }
.menu[open] .menu-list li:nth-child(6) { animation-delay: .2s; }
.menu-foot { display: grid; gap: 12px; margin-top: 32px; }

/* 6. Portada ------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header) + 32px) 0 clamp(64px, 8vw, 96px); background: var(--crema); }
.hero-aura { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-aura span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: drift 22s ease-in-out infinite alternate; }
.hero-aura span:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: var(--durazno); top: -12%; right: -8%; }
.hero-aura span:nth-child(2) { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; background: var(--salvia); bottom: -16%; left: -10%; animation-duration: 26s; animation-delay: -6s; }
.hero-aura span:nth-child(3) { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; background: var(--rosa); top: 30%; left: 34%; opacity: .45; animation-duration: 30s; animation-delay: -12s; }
.hero-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero-title { font-size: clamp(3rem, 8.4vw, 6.2rem); font-weight: 360; line-height: .98; letter-spacing: -.03em; font-variation-settings: "SOFT" 60, "opsz" 144; margin-bottom: 26px; }
.hero-title em { display: inline-block; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 31em; color: var(--suave); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--linea); }
.hero-pillars li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.2rem; color: var(--olivo); }
.hero-pillars .ico { color: var(--oro); width: 22px; height: 22px; }

.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; margin: 0 auto; }
.hero-arch-line { position: absolute; inset: 0 2% 4%; border: 1px solid var(--oro); border-radius: 999px 999px 36px 36px; opacity: .65; transform: translate(14px, -14px); transition: transform .9s var(--ease); }
.hero-arch {
  position: absolute; inset: 4% 7% 6%; overflow: hidden; border-radius: 999px 999px 32px 32px;
  background: radial-gradient(120% 80% at 50% 18%, #8C9C6C 0%, var(--olivo-2) 42%, var(--bosque-2) 100%);
  box-shadow: var(--sombra);
}
.hero-arch::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: repeating-radial-gradient(circle at 50% 30%, rgba(217, 200, 155, .16) 0 1px, transparent 1px 34px);
  -webkit-mask: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%); mask: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
}
.hero-bg-img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video { z-index: 1; opacity: .9; }
.hero-magda { position: absolute; z-index: 2; bottom: 0; left: 50%; height: 95%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgba(20, 25, 14, .35)); }
.hero-ornament { position: absolute; z-index: 3; left: 50%; bottom: 0; width: 58%; transform: translate(-50%, 45%); background: var(--crema); padding: 6px 14px; border-radius: 99px; }
.hero-orbit .ico { position: absolute; color: var(--oro); animation: twinkle 5s ease-in-out infinite; }
.hero-orbit .s1 { width: 28px; height: 28px; top: 6%; left: 2%; }
.hero-orbit .s2 { width: 16px; height: 16px; top: 22%; right: 0; animation-delay: -1.6s; }
.hero-orbit .s3 { width: 34px; height: 34px; bottom: 22%; left: -3%; animation-delay: -3s; }
.hero-orbit .s4 { width: 12px; height: 12px; bottom: 10%; right: 6%; animation-delay: -2.2s; }
.hero-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 12px 18px 12px 12px; border-radius: 999px; background: rgba(252, 250, 245, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(30, 37, 21, .45);
  font-size: .86rem; line-height: 1.25; animation: bob 7s ease-in-out infinite;
}
.hero-chip strong { display: block; color: var(--tinta); font-weight: 600; }
.hero-chip small { color: var(--suave); font-size: .8rem; }
.hero-chip-a { top: 16%; left: -4%; }
.hero-chip-b { bottom: 17%; right: -4%; animation-delay: -3.5s; }
.chip-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olivo); color: var(--crema); }
.chip-ico .ico { width: 20px; height: 20px; }
.chip-faces { display: flex; }
.chip-faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--papel); }
.chip-faces img + img { margin-left: -10px; }

/* 7. Marquesina ---------------------------------------------- */
.marquee { display: flex; overflow: hidden; background: var(--olivo); color: var(--crema); padding: 22px 0; user-select: none; }
.marquee-track { display: flex; flex: none; align-items: center; gap: 28px; padding-right: 28px; animation: marquee 60s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-weight: 320; font-size: clamp(1.3rem, 2.2vw, 1.75rem); white-space: nowrap; }
.marquee .star { width: 16px; height: 16px; color: var(--oro-claro); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* 8. Por qué ------------------------------------------------- */
.why-grid { display: grid; gap: 48px; }
.why-intro .title { margin-bottom: 20px; }
.why-ornament { width: 220px; margin-top: 28px; }
.why-list { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.why-card {
  padding: 32px; border-radius: var(--r-md); background: var(--crema); border: 1px solid var(--linea);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.why-card h3 { font-size: 1.45rem; margin: 22px 0 8px; }
.why-card p { margin: 0; color: var(--suave); }
.why-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--salvia); color: var(--olivo); transition: background-color .5s var(--ease), color .5s var(--ease), transform .7s var(--ease); }
.why-ico .ico { width: 28px; height: 28px; }
.why-card:hover { transform: translateY(-6px); background: var(--papel); box-shadow: var(--sombra); }
.why-card:hover .why-ico { background: var(--olivo); color: var(--crema); transform: rotate(-12deg) scale(1.06); }

/* 9. Guía interactiva ---------------------------------------- */
.quiz-glow { position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(145, 125, 83, .32), transparent 62%); pointer-events: none; animation: breathe 12s ease-in-out infinite; }
.quiz .wrap { position: relative; }
.quiz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto 48px; }
.quiz-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px;
  border: 1px solid rgba(247, 242, 232, .2); background: rgba(247, 242, 232, .04); color: var(--crema); font-weight: 500;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.quiz-chip .ico { color: var(--oro-claro); transition: color .35s; }
.quiz-chip:hover { border-color: var(--oro-claro); transform: translateY(-2px); }
.quiz-chip.is-active { background: var(--oro-claro); color: var(--bosque); border-color: var(--oro-claro); }
.quiz-chip.is-active .ico { color: var(--olivo); }
.quiz-panel { margin-bottom: 32px; }
.js .quiz-panel { display: none; }
.js .quiz-panel.is-active { display: block; animation: rise .7s var(--ease); }
.quiz-for { text-align: center; color: rgba(247, 242, 232, .6); font-size: .95rem; margin-bottom: 22px; }
.quiz-grid { display: grid; gap: 16px; }
.quiz-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--r-md); text-decoration: none;
  background: rgba(247, 242, 232, .05); border: 1px solid rgba(247, 242, 232, .12);
  transition: transform .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.quiz-card:hover { transform: translateY(-6px); background: rgba(247, 242, 232, .09); border-color: rgba(217, 200, 155, .6); }
.quiz-card-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(217, 200, 155, .14); color: var(--oro-claro); margin-bottom: 8px; }
.quiz-card-ico .ico { width: 24px; height: 24px; }
.quiz-card-name { font-family: var(--serif); font-size: 1.45rem; color: var(--crema); line-height: 1.15; }
.quiz-card-text { color: rgba(247, 242, 232, .7); font-size: .97rem; margin-bottom: 8px; }
.quiz-help { text-align: center; margin: 0; color: rgba(247, 242, 232, .7); }
.quiz-help a { color: var(--oro-claro); }

/* 10. Tarjetas de terapia ------------------------------------ */
.svc-grid { display: grid; gap: 18px; }
.svc { position: relative; }
.svc-link {
  display: flex; flex-direction: column; height: 100%; padding: 30px; border-radius: var(--r-md); text-decoration: none;
  background: var(--crema); border: 1px solid var(--linea);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.svc-link:hover { transform: translateY(-6px); background: var(--papel); border-color: transparent; box-shadow: var(--sombra); }
.svc-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--salvia); color: var(--olivo); margin-bottom: 22px; transition: transform .7s var(--ease), background-color .5s, color .5s; }
.svc-icon .ico { width: 26px; height: 26px; }
.svc-link:hover .svc-icon { transform: rotate(-14deg); background: var(--olivo); color: var(--crema); }
.svc-name { font-size: 1.5rem; margin-bottom: 10px; }
.svc-text { color: var(--suave); font-size: .98rem; margin-bottom: 18px; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--olivo); font-weight: 500; margin-bottom: 22px; }
.svc-meta span { display: inline-flex; align-items: center; gap: 7px; }
.svc-meta .ico { color: var(--oro); width: 17px; height: 17px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--linea); }
.svc-arrow { display: grid; place-items: center; width: 42px; height: 42px; flex: none; margin-left: auto; border-radius: 50%; border: 1px solid var(--linea-2); color: var(--olivo); transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease); }
.svc-link:hover .svc-arrow { background: var(--olivo); color: var(--crema); transform: rotate(-35deg); }
.svc-more { font-weight: 600; font-size: .92rem; color: var(--olivo); }
.who { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--suave); line-height: 1.2; }
.who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.who-light { color: rgba(247, 242, 232, .78); margin-top: auto; }
.js .svc .detail { display: none; }
.svc .detail { padding: 0 30px 30px; }
.svc.is-hidden { display: none; }

/* 11. Pilares ------------------------------------------------ */
.pillar-row { display: grid; gap: 14px; }
.pillar {
  position: relative; display: block; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--crema);
  isolation: isolate; transition: flex-grow .9s var(--ease);
}
.pillar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.pillar:hover .pillar-img { transform: scale(1.06); }
.pillar-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 37, 21, 0) 30%, rgba(30, 37, 21, .78) 100%); }
.pillar-ico { position: absolute; top: 26px; left: 26px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(252, 250, 245, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(252, 250, 245, .3); }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; display: grid; gap: 10px; }
.pillar-name { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.pillar-text { max-width: 26em; color: rgba(247, 242, 232, .86); }
.pillar-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--oro-claro); }
.pillar-more .ico { transition: transform .4s var(--ease); }
.pillar:hover .pillar-more .ico { transform: translateX(6px); }

/* Fondos ilustrados mientras llegan las fotos de Envato */
.art { position: absolute; inset: 0; display: block; overflow: hidden; }
.art::before, .art::after { content: ""; position: absolute; }
.art::before { inset: -20%; background: repeating-radial-gradient(circle at 50% 42%, rgba(252, 250, 245, .14) 0 1px, transparent 1px 38px); }
.art::after { width: 46%; aspect-ratio: 1; left: 27%; top: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(252, 250, 245, .45), transparent 66%); filter: blur(6px); animation: glow 10s ease-in-out infinite; }
.art-pilar-mente { background: radial-gradient(90% 70% at 70% 10%, #A8B58A, transparent 60%), linear-gradient(160deg, var(--olivo-3), var(--olivo) 55%, var(--bosque-2)); }
.art-pilar-emociones { background: radial-gradient(90% 70% at 30% 10%, #F4D9BF, transparent 60%), linear-gradient(160deg, #D9A989, #A9735B 55%, #5B3F2F); }
.art-pilar-espiritu { background: radial-gradient(90% 70% at 50% 0%, #E4D4A6, transparent 60%), linear-gradient(170deg, #B49C67, var(--oro-osc) 50%, var(--bosque)); }
.art-comunidad, .art-curso-circulo { background: radial-gradient(80% 60% at 70% 20%, #F2D7BE, transparent 60%), linear-gradient(150deg, #E3B998, #C2876B 60%, #8B5A45); }
.art-curso-sano-juicio { background: radial-gradient(80% 60% at 30% 15%, #CDD6B4, transparent 60%), linear-gradient(160deg, #9AAA79, var(--olivo) 60%, var(--bosque-2)); }
.art-curso-coaching { background: radial-gradient(80% 60% at 60% 15%, #EFE1B8, transparent 60%), linear-gradient(160deg, #C9B27A, var(--oro) 55%, #5A4C2E); }
.art-curso-comunicacion { background: radial-gradient(80% 60% at 40% 15%, #F1DCD2, transparent 60%), linear-gradient(160deg, #D8B2A4, #A77E73 55%, #5E4741); }
.art-curso-tarot { background: radial-gradient(80% 60% at 50% 10%, #D9C89B, transparent 55%), linear-gradient(170deg, #5E6B45, var(--bosque-2) 60%, var(--bosque)); }
.art-hero-fondo { display: none; }

/* 12. Cursos (inicio) ---------------------------------------- */
.ccard-grid { display: grid; gap: 18px; }
.ccard a {
  position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 34px; border-radius: var(--r-lg); text-decoration: none;
  background: var(--olivo); color: rgba(247, 242, 232, .82); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.ccard:nth-child(2) a { background: var(--oro-osc); }
.ccard:nth-child(3) a { background: var(--bosque-2); }
.ccard a::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -110px; top: -110px; border-radius: 50%; border: 1px solid rgba(247, 242, 232, .16); box-shadow: 0 0 0 40px rgba(247, 242, 232, .04), 0 0 0 80px rgba(247, 242, 232, .03); transition: transform 1.2s var(--ease); }
.ccard a:hover { transform: translateY(-8px); box-shadow: var(--sombra); }
.ccard a:hover::before { transform: scale(1.2); }
.ccard-name { color: var(--crema); font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.ccard p { margin-bottom: 28px; }
.ccard-foot { display: grid; gap: 2px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(247, 242, 232, .18); font-size: .92rem; color: rgba(247, 242, 232, .78); }
.ccard-foot strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--crema); }
.ccard-arrow { position: absolute; right: 26px; bottom: 26px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--crema); color: var(--olivo); transition: transform .5s var(--ease); }
.ccard a:hover .ccard-arrow { transform: rotate(-35deg); }
.ccard-foot { padding-right: 60px; }

/* 13. Equipo (carrusel) -------------------------------------- */
.team-head-side { display: grid; gap: 18px; }
.carousel-btns { display: flex; gap: 10px; }
.team-track {
  display: flex; gap: 20px; list-style: none; margin: 0; padding: 4px max(16px, calc((100vw - 1240px) / 2 + 40px)) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - 1240px) / 2 + 40px)); scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }
.tm-card { flex: none; width: clamp(230px, 24vw, 290px); scroll-snap-align: start; }
.tm-card a { display: block; text-decoration: none; }
.tm-photo { display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; background: var(--salvia); margin-bottom: 18px; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.1s var(--ease), filter .6s; }
.tm-card a:hover .tm-photo img { transform: scale(1.06); }
.tm-name { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--tinta); line-height: 1.2; margin-bottom: 4px; }
.tm-role { display: block; font-size: .9rem; color: var(--suave); }

/* 14. Testimonios -------------------------------------------- */
.voices-inner { max-width: 900px; text-align: center; }
.voices-star { width: 40px; height: 40px; color: var(--oro); margin: 0 auto 30px; animation: spin 24s linear infinite; }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.quote blockquote { margin: 0 0 26px; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 320; font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.3; color: var(--tinta); margin: 0; }
.quote figcaption { font-weight: 600; color: var(--olivo); letter-spacing: .04em; }
.js .quote { opacity: 0; visibility: hidden; transform: translateY(14px); }
.js .quote.is-active { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .quote { grid-area: auto; margin-bottom: 40px; }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.quote-dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: var(--linea-2); transition: background-color .4s, width .5s var(--ease); }
.quote-dots button[aria-current="true"] { background: var(--olivo); width: 54px; }

/* 15. Conoce a Magda ----------------------------------------- */
.meet-grid { display: grid; gap: 48px; align-items: center; }
.meet-photo { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.meet-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: var(--sombra); }
.meet-mr { position: absolute; right: -6%; bottom: 8%; width: 110px; height: 110px; padding: 22px; border-radius: 50%; background: var(--papel); object-fit: contain; box-shadow: 0 16px 40px -20px rgba(30, 37, 21, .4); animation: bob 8s ease-in-out infinite; }
.meet-body .title { margin-bottom: 22px; }
.meet-quote { margin: 28px 0 32px; padding-left: 22px; border-left: 2px solid var(--oro); }
.meet-quote p { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--olivo); margin: 0; }

/* 16. Comunidad ---------------------------------------------- */
.community-grid { display: grid; gap: 40px; align-items: center; }
.community-media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; max-width: 560px; width: 100%; }
.community-media .community-img { width: 100%; height: 100%; object-fit: cover; }
.community-body .title { margin-bottom: 18px; }
.community-links { display: grid; gap: 12px; margin-top: 30px; }
.community-card, .channel {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px 18px 18px; border-radius: var(--r-md); text-decoration: none;
  background: var(--crema); border: 1px solid var(--linea); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s;
}
.community-card strong, .channel strong { display: block; color: var(--tinta); font-weight: 600; }
.community-card small, .channel small { color: var(--suave); font-size: .9rem; overflow-wrap: anywhere; }
.community-card:hover, .channel:hover { transform: translateY(-3px); background: var(--papel); box-shadow: var(--sombra); }
.community-card .arrow, .channel .arrow { margin-left: auto; color: var(--olivo); transition: transform .4s var(--ease); }
.community-card:hover .arrow, .channel:hover .arrow { transform: translateX(5px); }
.community-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--salvia); color: var(--olivo); }
.community-ico .ico { width: 24px; height: 24px; }
.community-ico.wa { background: #DCEFD9; color: #1E7A3E; }
.community-ico.fb { background: #DEE8F8; color: #1F5FC1; }

/* 17. Preguntas ---------------------------------------------- */
.faq-grid { display: grid; gap: 36px; }
.faq-grid .title { margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--linea-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--tinta); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--linea-2); color: var(--olivo); transition: transform .5s var(--ease), background-color .4s, color .4s; }
.faq-item[open] .faq-sign { transform: rotate(45deg); background: var(--olivo); color: var(--crema); }
.faq-item summary:hover .faq-sign { border-color: var(--olivo); }
.faq-answer { padding: 0 56px 24px 0; color: var(--suave); }
.faq-item[open] .faq-answer { animation: rise .6s var(--ease); }

/* 18. Cierre ------------------------------------------------- */
.cta { text-align: center; }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 30px; }
.cta .title { max-width: 14em; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.cta-mr { width: 92px; height: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cta-rings span { grid-area: 1 / 1; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(217, 200, 155, .28); animation: ripple 9s ease-out infinite; }
.cta-rings span:nth-child(2) { animation-delay: -3s; }
.cta-rings span:nth-child(3) { animation-delay: -6s; }
.cta-light .cta-rings span { border-color: rgba(76, 91, 49, .2); }

/* 19. Pie ---------------------------------------------------- */
.site-footer { background: var(--bosque); color: rgba(247, 242, 232, .72); padding: clamp(64px, 8vw, 96px) 0 28px; font-size: .96rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(247, 242, 232, .12); }
.footer-brand img { width: 260px; }
.footer-title { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-note { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.footer-col a:hover { color: var(--crema); }
.footer-col .ico { color: var(--oro-claro); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .86rem; }
.footer-base p { margin: 0; }
.footer-base a { color: rgba(247, 242, 232, .72); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1E7A3E; color: #fff; box-shadow: 0 16px 34px -12px rgba(20, 60, 30, .6);
  transform: translateY(120px); transition: transform .6s var(--ease), background-color .3s;
}
.wa-float.is-visible { transform: none; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1E7A3E; animation: ripple-sm 3.2s ease-out infinite; }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { background: #17612F; }
html:not(.js) .wa-float { transform: none; }

/* 20. Páginas interiores ------------------------------------ */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 6vw, 64px); background: var(--crema); text-align: center; }
.page-hero-sm { padding-bottom: clamp(28px, 4vw, 40px); }
.page-hero-inner { position: relative; display: grid; justify-items: center; }
.page-title { font-size: clamp(2.5rem, 6.4vw, 4.8rem); font-weight: 360; letter-spacing: -.025em; font-variation-settings: "SOFT" 60, "opsz" 144; margin-bottom: 22px; max-width: 13em; }
.page-hero .lead { margin: 0 auto; }
.page-ornament { width: 200px; margin-top: 32px; }

.band { padding: 44px 0; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* Catálogo */
.toolbar { position: sticky; top: calc(var(--header) + 8px); z-index: 20; display: grid; gap: 14px; padding: 16px; margin-bottom: 32px; border-radius: var(--r-md); background: rgba(252, 250, 245, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--linea); box-shadow: 0 20px 40px -34px rgba(30, 37, 21, .5); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px; padding: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--linea-2); background: transparent; color: var(--texto); font-weight: 500; font-size: .93rem; transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.chip .ico { color: var(--oro); }
.chip:hover { border-color: var(--olivo); }
.chip.is-active { background: var(--olivo); color: var(--crema); border-color: var(--olivo); }
.chip.is-active .ico { color: var(--oro-claro); }
.toolbar-row { display: grid; gap: 10px; }
.search, .select { position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; left: 16px; color: var(--olivo); pointer-events: none; }
.search input, .select select { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--linea-2); background: var(--papel); padding: 0 18px 0 46px; font-size: .98rem; transition: border-color .3s, box-shadow .3s; }
.select select { padding-left: 18px; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--olivo) 50%), linear-gradient(135deg, var(--olivo) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 17px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.search input:focus, .select select:focus { outline: none; border-color: var(--olivo); box-shadow: 0 0 0 4px rgba(76, 91, 49, .12); }
.toolbar-count { margin: 0; font-size: .9rem; color: var(--suave); }
.empty { text-align: center; padding: 48px 0; }

/* Ventana de detalle */
.sheet {
  width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: clamp(28px, 5vw, 44px);
  border: 0; border-radius: var(--r-lg); background: var(--papel); color: var(--texto); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 100px -30px rgba(20, 25, 14, .55);
}
.sheet[open] { animation: sheet-in .55s var(--ease); }
.sheet::backdrop { background: rgba(30, 37, 21, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-close { position: sticky; top: 0; float: right; margin: -12px -12px 0 0; background: var(--crema); color: var(--olivo); z-index: 2; }
.sheet-close:hover { background: var(--olivo); color: var(--crema); }
.sheet-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--salvia); color: var(--olivo); margin-bottom: 22px; }
.sheet-icon .ico { width: 30px; height: 30px; }
.sheet-title { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 14px; padding-right: 30px; }
.sheet-area { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--oro-osc); font-weight: 500; }
.sheet .svc-meta { margin: 14px 0 24px; padding: 16px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.detail-text p { color: var(--texto); }
.detail-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--salvia); color: var(--olivo); font-weight: 500; font-size: .95rem; }
.detail-note .ico { color: var(--oro); margin-top: 3px; }
.detail-who { display: flex; align-items: center; gap: 14px; margin: 22px 0; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--linea); text-decoration: none; transition: background-color .3s; }
.detail-who:hover { background: var(--crema); }
.detail-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.detail-who strong { display: block; color: var(--tinta); font-weight: 600; }
.detail-who small { color: var(--suave); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cursos */
.course-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.course { display: grid; gap: 32px; align-items: center; }
.course-media { position: relative; aspect-ratio: 4 / 5; max-height: 640px; border-radius: var(--r-lg); overflow: hidden; }
.course-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-badge { position: absolute; left: 20px; top: 20px; z-index: 2; padding: 8px 16px; border-radius: 99px; background: rgba(252, 250, 245, .9); color: var(--olivo); font-weight: 600; font-size: .88rem; }
.course-name { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 14px; }
.course-lead { font-size: 1.15rem; color: var(--suave); }
.course-facts { display: grid; gap: 10px; list-style: none; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.course-facts li { display: flex; align-items: center; gap: 10px; color: var(--olivo); font-weight: 500; }
.course-facts .ico { color: var(--oro); }

/* Perfiles */
.team-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 36px 0 0; padding: 0; }
.team-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--papel); border: 1px solid var(--linea); text-decoration: none; font-weight: 500; font-size: .93rem; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.team-jump a:hover { background: var(--olivo); color: var(--crema); transform: translateY(-2px); }
.team-jump img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.profile-list { display: grid; gap: clamp(64px, 9vw, 112px); }
.profile { display: grid; gap: 36px; align-items: start; }
.profile-photo { position: relative; max-width: 440px; width: 100%; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: var(--sombra); }
.profile-photo::after { content: ""; position: absolute; inset: 0; transform: translate(14px, -14px); border: 1px solid var(--oro); border-radius: 999px 999px var(--r-lg) var(--r-lg); opacity: .6; z-index: -1; }
.profile-name { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 8px; }
.profile-role { font-family: var(--serif); font-style: italic; color: var(--oro-osc); font-size: 1.2rem; margin-bottom: 22px; }
.profile-lang { display: inline-flex; align-items: center; gap: 10px; color: var(--olivo); font-weight: 500; }
.profile-sub { font-size: 1.35rem; margin: 18px 0 8px; }
ul.offer-list { list-style: none; margin: 0 0 28px; padding: 0; gap: 0; }
ul.offer-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 14px 10px; margin: 0 -10px; border-bottom: 1px solid var(--linea); text-decoration: none; border-radius: 10px; transition: background-color .3s; }
ul.offer-list a span { color: var(--tinta); font-weight: 500; }
ul.offer-list a small { grid-column: 1; color: var(--suave); font-size: .88rem; }
ul.offer-list a .ico { grid-column: 2; grid-row: 1 / span 2; color: var(--olivo); transition: transform .4s var(--ease); }
ul.offer-list a:hover { background: var(--salvia); }
ul.offer-list a:hover .ico { transform: translateX(4px); }

/* Sobre Magda */
.about-hero { position: relative; overflow: hidden; padding: calc(var(--header) + 40px) 0 clamp(72px, 9vw, 112px); background: var(--crema); }
.about-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.about-copy .page-title { margin-bottom: 18px; }
.about-quote { margin: 0 0 26px; }
.about-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--olivo); line-height: 1.3; }
.about-copy .hero-actions { margin-top: 30px; }
.about-visual { position: relative; width: 100%; max-width: 480px; aspect-ratio: 4 / 5; margin: 0 auto; }
.mv-grid { position: relative; display: grid; gap: 18px; }
.mv-card { padding: clamp(30px, 4vw, 44px); border-radius: var(--r-lg); background: rgba(247, 242, 232, .05); border: 1px solid rgba(247, 242, 232, .12); }
.mv-card h2 { margin: 22px 0 12px; }
.mv-card p { margin: 0; }
.mv-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(217, 200, 155, .14); color: var(--oro-claro); }
.mv-ico .ico { width: 28px; height: 28px; }
.values-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.values-list li { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; background: var(--crema); border: 1px solid var(--linea); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--tinta); transition: background-color .4s var(--ease), color .4s, transform .4s var(--ease); }
.values-list .ico { color: var(--oro); width: 18px; height: 18px; transition: transform .8s var(--ease); }
.values-list li:hover { background: var(--olivo); color: var(--crema); transform: translateY(-3px); }
.values-list li:hover .ico { transform: rotate(90deg); color: var(--oro-claro); }

/* Agenda */
.booking-grid { display: grid; gap: 28px; align-items: start; }
.booking-form { padding: clamp(24px, 4.5vw, 48px); border-radius: var(--r-lg); background: var(--crema); border: 1px solid var(--linea); }
.steps { display: flex; gap: 8px; list-style: none; margin: 0 0 34px; padding: 0; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--linea); font-size: .9rem; font-weight: 500; color: var(--suave); transition: border-color .4s, color .4s; }
.steps li span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--papel); border: 1px solid var(--linea-2); font-size: .82rem; transition: background-color .4s, color .4s; }
.steps li.is-active, .steps li.is-done { border-color: var(--olivo); color: var(--olivo); }
.steps li.is-active span, .steps li.is-done span { background: var(--olivo); color: var(--crema); border-color: var(--olivo); }
html:not(.js) .steps { display: none; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .step { display: none; }
.js .step.is-active { display: block; animation: rise .6s var(--ease); }
html:not(.js) .step { margin-bottom: 40px; }
html:not(.js) [data-next], html:not(.js) [data-prev] { display: none; }
.step-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--tinta); margin-bottom: 22px; padding: 0; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span, .field-label { font-weight: 500; font-size: .94rem; color: var(--tinta); }
.field-label { margin: 0 0 10px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--linea-2); background: var(--papel);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olivo); box-shadow: 0 0 0 4px rgba(76, 91, 49, .12); }
.field .is-invalid, .field input.is-invalid, .field select.is-invalid { border-color: #A2463A; }
.field-hint { font-size: .9rem; color: var(--suave); margin: -6px 0 12px; }
.field-row { display: grid; gap: 0 14px; }
.check-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--linea-2); background: var(--papel); cursor: pointer; transition: border-color .3s, background-color .3s; }
.check-card input, .check input { width: 20px; height: 20px; flex: none; margin: 3px 0 0; accent-color: var(--olivo); }
.check-card strong { display: block; color: var(--tinta); font-weight: 600; }
.check-card small { color: var(--suave); }
.check-card:has(input:checked) { border-color: var(--olivo); background: var(--salvia); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 24px; font-size: .95rem; }
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: grid; place-items: center; min-width: 58px; height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linea-2); background: var(--papel); font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.pick-wide span { min-width: 110px; }
.pick input:checked + span { background: var(--olivo); color: var(--crema); border-color: var(--olivo); }
.pick input:focus-visible + span { outline: 2px solid var(--oro); outline-offset: 2px; }
.step-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cal-embed { min-height: 560px; margin-bottom: 18px; border-radius: var(--r-md); overflow: hidden; background: var(--papel); }
.cal-embed iframe { width: 100%; height: 640px; border: 0; }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r-sm); background: #F4E1DC; color: #7F3328; font-size: .95rem; }
.form-status.is-ok { background: var(--salvia); color: var(--olivo); }
.ts-box:not(:empty) { margin: 4px 0 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-done { text-align: center; padding: 20px 0; }
.booking-done .step-nav { justify-content: center; }
.done-ico { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--olivo); color: var(--crema); animation: pop .7s var(--ease); }
.done-ico .ico { width: 34px; height: 34px; }
.booking-done h2 { margin-bottom: 12px; }
.booking-summary { display: grid; gap: 14px; }
.summary-card { position: relative; padding: 32px; border-radius: var(--r-lg); background: var(--olivo); color: rgba(247, 242, 232, .82); overflow: hidden; }
.summary-card::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 50%; border: 1px solid rgba(247, 242, 232, .16); box-shadow: 0 0 0 40px rgba(247, 242, 232, .04); }
.summary-title { position: relative; font-family: var(--serif); font-size: 1.15rem; color: var(--oro-claro); margin-bottom: 18px; }
.summary-who { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.summary-who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(247, 242, 232, .4); }
.summary-who strong { display: block; color: var(--crema); font-weight: 600; }
.summary-who small { color: rgba(247, 242, 232, .7); }
.summary-name { position: relative; font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; color: var(--crema); margin-bottom: 20px; }
.summary-facts { position: relative; list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.summary-facts li { display: flex; align-items: center; gap: 10px; }
.summary-facts .ico { color: var(--oro-claro); }
.summary-ornament { width: 160px; filter: brightness(1.5); margin-bottom: 16px; }
.summary-note { margin: 0; font-size: .9rem; color: rgba(247, 242, 232, .7); }
.summary-wa { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: var(--r-md); background: var(--crema); border: 1px solid var(--linea); text-decoration: none; font-weight: 500; color: var(--olivo); }
.summary-wa .ico { color: #1E7A3E; }

/* Contacto */
.contact-grid { display: grid; gap: 28px; align-items: start; }
.contact-form { padding: clamp(24px, 4.5vw, 44px); border-radius: var(--r-lg); background: var(--crema); border: 1px solid var(--linea); }
.contact-side { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--r-md); background: var(--salvia); color: var(--olivo); }
.contact-card img { width: 64px; height: auto; flex: none; }
.contact-card p { margin: 0; font-weight: 500; }

/* Aviso */
.legal-inner { max-width: 780px; }
.legal-inner h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2.2em 0 .7em; }
.legal-inner ul { padding-left: 1.2em; }
.legal-inner li { margin-bottom: .4em; }
.legal-back { margin-top: 3em; }

/* 20b. Agenda en línea: calendario, horas y confirmación (25 nov 2026) */
.agenda-vivo { margin-bottom: 22px; }
.agenda-carga, .agenda-vacio { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--papel); color: var(--suave); }
.agenda-vacio { background: var(--arena); color: var(--tinta); }
.calendario { padding: 16px; border-radius: var(--r-md); border: 1px solid var(--linea-2); background: var(--papel); margin-bottom: 20px; }
.cal-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-mes { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; color: var(--olivo); }
.cal-flecha { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea-2); background: transparent; color: var(--olivo); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .3s; }
.cal-flecha:hover:not(:disabled) { background: var(--salvia); }
.cal-flecha:disabled { opacity: .3; cursor: default; }
.cal-semana, .cal-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-semana span { font-size: .78rem; font-weight: 600; color: var(--suave); padding: 6px 0; text-transform: uppercase; letter-spacing: .04em; }
.cal-dia { display: grid; place-items: center; aspect-ratio: 1; max-height: 52px; width: 100%; border-radius: 50%; font: inherit; font-size: .95rem; color: rgba(46, 51, 36, .32); border: 0; background: transparent; }
.cal-dia.is-libre { color: var(--olivo); font-weight: 600; background: var(--salvia); cursor: pointer; transition: background-color .25s, color .25s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.cal-dia.is-libre:hover { transform: scale(1.06); }
.cal-dia.is-elegido { background: var(--olivo); color: var(--crema); }
.cal-dia:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
.horas .pick span { min-width: 108px; }
.fechas-curso { display: grid; gap: 10px; margin-bottom: 20px; }
.check-card.is-lleno { opacity: .5; cursor: default; }
.res-datos { list-style: none; margin: 18px auto 22px; padding: 0; max-width: 460px; text-align: left; border-top: 1px solid var(--linea-2); }
.res-datos li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linea-2); }
.res-datos span { color: var(--suave); }
.res-datos strong { text-align: right; font-weight: 600; }

/* 21. Animaciones ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(6%, 8%) scale(1.12); } }
@keyframes breathe { 0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes glow { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ripple-sm { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }

/* Solo se apaga lo intrusivo: movimiento que sigue al cursor y ondas grandes */
@media (prefers-reduced-motion: reduce) {
  .hero-arch-line, .hero-visual { transition: none !important; }
  .cta-rings span { animation: none; opacity: .5; transform: scale(1); }
  .hero-aura span { animation-duration: 60s; }
}

/* 22. Adaptación ------------------------------------------- */
@media (max-width: 539px) {
  .hero-chip { font-size: .8rem; padding: 9px 14px 9px 9px; }
  .hero-chip-a { left: 0; top: 10%; }
  .hero-chip-b { right: 0; bottom: 12%; }
  .chip-ico { width: 34px; height: 34px; }
  .chip-faces img { width: 28px; height: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-pillars { gap: 8px 18px; }
  .hero-pillars li { font-size: 1.05rem; }
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .faq-answer { padding-right: 0; }
  .booking-form .btn, .contact-form .btn { flex: 1 1 auto; }
}
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .toolbar-row { grid-template-columns: 1fr 260px; }
}
@media (min-width: 720px) {
  .svc-grid, .quiz-grid { grid-template-columns: repeat(2, 1fr); }
  .ccard-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head.split { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .course-facts { grid-template-columns: 1fr 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .community-links { grid-template-columns: 1fr; }
  .pillar { min-height: 440px; }
}
@media (min-width: 960px) {
  :root { --header: 84px; }
  .nav, .header-cta { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .brand img { height: 38px; }
  .hero { min-height: min(940px, 100svh); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; width: 100%; }
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
  .why-intro { position: sticky; top: calc(var(--header) + 40px); }
  .svc-grid, .quiz-grid { grid-template-columns: repeat(3, 1fr); }
  .ccard-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-row { display: flex; height: 580px; }
  .pillar { flex: 1 1 0; min-height: 0; }
  .pillar.is-open { flex-grow: 2.2; }
  .pillar .pillar-text, .pillar .pillar-more { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .pillar.is-open .pillar-text, .pillar.is-open .pillar-more { opacity: 1; transform: none; transition-delay: .2s; }
  html:not(.js) .pillar .pillar-text, html:not(.js) .pillar .pillar-more { opacity: 1; transform: none; }
  .meet-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .community-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .faq-grid > div:first-child { position: sticky; top: calc(var(--header) + 40px); align-self: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .course { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .course.is-flip .course-media { order: 2; }
  .profile { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .profile.is-flip .profile-photo { order: 2; justify-self: end; }
  .profile-photo { position: sticky; top: calc(var(--header) + 32px); }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .booking-grid { grid-template-columns: 1.4fr .8fr; gap: 36px; }
  .booking-summary { position: sticky; top: calc(var(--header) + 24px); }
  .contact-grid { grid-template-columns: 1.25fr .75fr; gap: 36px; }
  .toolbar { grid-template-columns: 1fr auto; align-items: center; }
  .toolbar-row { grid-template-columns: 280px 240px; }
  .toolbar .chips { grid-column: 1 / -1; }
  .toolbar-count { justify-self: end; }
}
