/* ===================================================================
   Academia Alquimia del Ser — Formación en runas y terapia vibracional
   Concepto: misticismo luminoso y femenino · crema + azul noche + oro
=================================================================== */

:root {
  --cream: #f4ecda;
  --cream-2: #efe4cd;
  --cream-hi: #faf5e9;
  --night: #0e1c3a;
  --night-2: #16305a;
  --ink: #1b2540;
  --ink-soft: #565d73;
  --blue: #1d3f78;
  --blue-deep: #142c56;
  --gold: #b9903f;
  --gold-2: #c9a659;
  --gold-hi: #e3c483;
  --line: rgba(27,37,64,.14);
  --line-2: rgba(27,37,64,.08);
  --line-gold: rgba(185,144,63,.42);

  --font-display: 'Zodiak', Georgia, 'Times New Roman', serif;
  --font-body: 'Switzer', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.55rem, 6vw, 4.5rem);
  --fs-h2: clamp(1.95rem, 4vw, 3rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: clamp(1rem, 1.05vw, 1.12rem);

  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem; --sp-6: 4rem;
  --section-pad-y: clamp(2.75rem, 5.5vw, 4.25rem);
  --wrap: 1200px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px -30px rgba(20,28,54,.45);
  --shadow-card: 0 18px 40px -26px rgba(20,28,54,.4);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; max-width: 100vw; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--night); color: var(--cream); padding: .7rem 1.1rem;
  border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; }
.section { padding-block: var(--section-pad-y); position: relative; }

/* ---------- Grain + celestial atoms ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.twinkle {
  position: absolute; left: var(--x); top: var(--y);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 8px 1px rgba(227,196,131,.7);
  animation: twinkle 3.4s var(--d, 0s) ease-in-out infinite;
}
.twinkle::before, .twinkle::after {
  content: ""; position: absolute; inset: -3px; background: inherit; border-radius: inherit;
}
@keyframes twinkle { 0%,100%{opacity:.25;transform:scale(.8)} 50%{opacity:1;transform:scale(1.25)} }

.rune { color: var(--gold); font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .25s;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: var(--cream-hi); box-shadow: 0 10px 26px -14px rgba(29,63,120,.9); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 14px 30px -12px rgba(29,63,120,.9); }
.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #23180a; box-shadow: 0 12px 30px -12px rgba(185,144,63,.8); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.4); border-color: var(--line); color: var(--ink); padding: .6rem 1.15rem; font-size: .9rem; }
.btn-ghost:hover { background: var(--night); color: var(--cream); border-color: var(--night); }
.btn-block { width: 100%; }

/* ---------- Eyebrow + titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold-2); }
.section-title { font-size: var(--fs-h2); max-width: 20ch; }
.section-title--light { color: var(--cream-hi); }
.section-head { max-width: 640px; margin: 0 auto var(--sp-5); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-intro { color: var(--ink-soft); margin-top: 1rem; font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--ink); margin-bottom: 1.4rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: relative; z-index: 50;
  width: min(var(--wrap), 100% - 2.6rem); margin: 20px auto 0;
}
.header-inner {
  height: 64px; display: flex; align-items: center; gap: 1.4rem;
  padding: 0 .6rem 0 1.2rem;
  background: rgba(250,245,233,.82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 40px;
  box-shadow: 0 12px 30px -22px rgba(20,28,54,.5);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; letter-spacing: -.01em; }
.brand-text em { font-style: italic; color: var(--gold-2); }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: .3rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

.mobile-nav {
  position: fixed; top: 0; right: 0; z-index: 90; width: min(78%, 320px); height: 100dvh;
  background: var(--night); color: var(--cream); padding: 6rem 1.8rem 2rem;
  display: flex; flex-direction: column; gap: 1.3rem;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  box-shadow: -20px 0 50px -30px rgba(0,0,0,.6);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.mobile-nav a.btn { font-family: var(--font-body); font-size: 1rem; margin-top: auto; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100svh; margin-top: -84px; padding-top: 84px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-sky .constellation { position: absolute; right: -4%; top: 4%; width: min(60%, 640px); height: 88%; opacity: .85; }
.cnst-lines { opacity: 0; }
.cnst-line { stroke: var(--gold); }
.cnst-stars circle { fill: var(--gold); }
.hero-inner {
  position: relative; z-index: 2;
  width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 4vw, 4rem);
  padding-block: 3rem;
}
.hero-copy { max-width: 33rem; }
.hero-title { font-size: var(--fs-h1); font-weight: 500; margin-bottom: 1.5rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line-inner { display: block; will-change: transform; }
.hero-title .line-accent em { color: var(--blue); font-style: italic; }
.hero-sub { font-size: 1.16rem; color: var(--ink); max-width: 32rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-marks { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero-marks li { position: relative; padding-left: 1.1rem; font-size: .92rem; color: var(--ink-soft); }
.hero-marks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8rem; }

.hero-scene { position: relative; justify-self: center; width: 100%; max-width: 460px; aspect-ratio: 4/5; }
.arch { position: relative; width: 100%; height: 100%; }
.arch-img {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 50% 50% 14px 14px / 42% 42% 4% 4%;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-soft), inset 0 0 0 6px rgba(250,245,233,.5);
}
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch::before {
  content: ""; position: absolute; inset: -14px; z-index: -1;
  border-radius: 50% 50% 20px 20px / 42% 42% 4% 4%;
  background: linear-gradient(160deg, rgba(185,144,63,.28), rgba(29,63,120,.18));
}
.moon-badge {
  position: absolute; top: -18px; left: -22px; width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, var(--cream-hi), #e7dcc0 62%, #cdbf9d);
  box-shadow: 0 0 34px -4px rgba(227,196,131,.8), inset -8px -8px 16px rgba(140,120,80,.35);
}
.moon-badge span { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 10px 6px 0 -2px rgba(255,255,255,.35); }
.float-glyph { position: absolute; font-family: var(--font-display); color: var(--gold); line-height: 1; filter: drop-shadow(0 10px 18px rgba(20,28,54,.35)); text-shadow: 0 0 26px rgba(227,196,131,.4); }
.float-glyph--1 { bottom: 1%; left: -13%; font-size: clamp(3rem, 6vw, 5rem); animation: floaty 7s ease-in-out infinite; }
.float-glyph--2 { top: 5%; right: -10%; font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--gold-2); animation: floaty 6s ease-in-out .8s infinite; }
.orbit-star { position: absolute; right: 4%; bottom: 12%; width: 16px; height: 16px; color: var(--gold); }
.orbit-star::before { content: "✦"; position: absolute; inset: 0; color: var(--gold); font-size: 1.2rem; animation: floaty 6s ease-in-out infinite; }

@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 20px; display: flex; justify-content: center; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 3px; background: var(--gold); margin-top: 7px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%{opacity:0;transform:translateY(-4px)} 40%{opacity:1} 80%{opacity:0;transform:translateY(10px)} }

/* ===================== SPLIT (llamado / sobre-mi) ===================== */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.arch--sm { max-width: 420px; margin-inline: auto; aspect-ratio: 5/6; }
.deco-runes { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .5rem; color: var(--gold); opacity: .8; }
.photo-tag { position: absolute; bottom: 10px; right: 8px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: rgba(250,245,233,.85); padding: .3rem .6rem; border-radius: 20px; border: 1px solid var(--line-2); }
.check-list { list-style: none; display: grid; gap: .9rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink); }
.check-list li::before {
  content: "ᛝ"; position: absolute; left: 0; top: -1px; color: var(--gold);
  font-family: var(--font-display); font-size: 1.1rem;
}

/* ===================== FORMACIÓN ===================== */
.formacion { background: var(--cream-2); }
.formacion-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.6rem, 3vw, 3rem); align-items: start; }
.temario { display: grid; gap: .8rem; }
.mod { background: var(--cream-hi); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.mod[open] { border-color: var(--line-gold); box-shadow: var(--shadow-card); }
.mod summary {
  display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.15rem 1.4rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink);
}
.mod summary::-webkit-details-marker { display: none; }
.mod-n { font-size: .85rem; font-weight: 700; color: var(--gold); font-family: var(--font-body); letter-spacing: .1em; width: 2rem; flex: none; }
.mod-icon { margin-left: auto; width: 22px; height: 22px; flex: none; position: relative; }
.mod-icon::before, .mod-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease-out); }
.mod-icon::before { width: 13px; height: 2px; transform: translate(-50%,-50%); }
.mod-icon::after { width: 2px; height: 13px; transform: translate(-50%,-50%); }
.mod[open] .mod-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.mod-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.mod-body p { margin-bottom: .7rem; }
.mod-body ul { list-style: none; display: grid; gap: .35rem; }
.mod-body li { position: relative; padding-left: 1.2rem; font-size: .96rem; }
.mod-body li::before { content: "·"; position: absolute; left: .3rem; color: var(--gold); font-weight: 700; }

.incluye { position: sticky; top: 100px; background: var(--night); color: var(--cream); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(227,196,131,.2); }
.incluye h3 { color: var(--cream-hi); font-size: 1.4rem; margin-bottom: 1.1rem; }
.incluye ul { list-style: none; display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.incluye li { display: flex; align-items: flex-start; gap: .7rem; font-size: .98rem; color: rgba(244,236,218,.9); }
.incluye li span { color: var(--gold-hi); flex: none; }
.incluye-note { font-size: .82rem; color: rgba(244,236,218,.6); margin-top: .9rem; text-align: center; }

/* ===================== CAMINO (moon pin) ===================== */
.camino { background: var(--night); color: var(--cream); overflow: hidden; padding: 0; }
.camino::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 10%, rgba(29,63,120,.5), transparent 60%), radial-gradient(80% 60% at 90% 90%, rgba(185,144,63,.14), transparent 60%); pointer-events: none; }
.camino-pin { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,5vw,5rem); width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; padding-block: 4rem; position: relative; z-index: 2; }
.camino-stage { display: flex; flex-direction: column; align-items: center; gap: 2rem; --phase: 0; }
.moon { position: relative; width: clamp(180px, 24vw, 280px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.moon-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 34%, #fbf4e2, #e6d8b8 55%, #cbbc95); }
.moon-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset -22px -18px 44px rgba(120,100,64,.4), inset 12px 10px 30px rgba(255,255,255,.4); }
.moon-shadow { position: absolute; inset: -2%; border-radius: 50%; background: var(--night); transform: translateX(calc(var(--phase) * 116%)); box-shadow: inset 24px 0 30px -10px rgba(0,0,0,.6); }
.moon-glow { position: absolute; inset: -18%; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(227,196,131,calc(.55 * var(--phase))), transparent 68%); }
.camino-progress { width: min(280px, 70%); height: 2px; background: rgba(244,236,218,.16); border-radius: 2px; overflow: hidden; }
.camino-progress-fill { display: block; height: 100%; width: 100%; transform: scaleX(var(--phase, 0)); transform-origin: left; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }

.camino-content .section-head { margin-bottom: 2rem; }
.camino-content .section-title { color: var(--cream-hi); max-width: 16ch; }
.etapas { list-style: none; display: grid; gap: .6rem; counter-reset: e; }
.etapa { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background .4s, border-color .4s, opacity .4s; opacity: .45; }
.etapa.is-active { background: rgba(29,63,120,.32); border-color: rgba(227,196,131,.34); opacity: 1; }
.etapa-moon { width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: .2rem; background: rgba(244,236,218,.16); border: 1px solid rgba(244,236,218,.35); position: relative; overflow: hidden; }
.etapa.is-active .etapa-moon { background: radial-gradient(circle at 40% 35%, #fbf4e2, #d9c89f); border-color: var(--gold-hi); box-shadow: 0 0 14px -2px var(--gold-hi); }
.etapa h3 { color: var(--cream-hi); font-size: 1.22rem; margin-bottom: .2rem; }
.etapa p { color: rgba(244,236,218,.72); font-size: .96rem; line-height: 1.5; }

/* ===================== SOBRE MÍ ===================== */
.sobre-mi .split-copy p { margin-bottom: 1rem; color: var(--ink); }
.sobre-mi .btn-line { margin-top: .6rem; }

/* ===================== TESTIMONIOS ===================== */
.testimonios { background: var(--night); color: var(--cream); overflow: hidden; }
.testimonios::before { content: "ᛗ"; position: absolute; font-family: var(--font-display); font-size: 40vw; color: rgba(227,196,131,.05); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; line-height: 1; }
.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; position: relative; z-index: 2; }
.test-card { background: rgba(29,63,120,.2); border: 1px solid rgba(227,196,131,.22); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: 1.2rem; }
.test-quote { font-family: var(--font-display); font-size: 1.24rem; line-height: 1.45; color: var(--cream-hi); font-style: italic; }
.test-quote::before { content: "“"; color: var(--gold-hi); font-size: 1.6rem; margin-right: .1rem; }
.test-author { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.test-avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--night); background: linear-gradient(140deg, var(--gold-hi), var(--gold)); }
.test-name { font-weight: 600; color: var(--cream-hi); }
.test-detail { font-size: .84rem; color: rgba(244,236,218,.6); }

/* ===================== FAQ ===================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,4vw,4rem); align-items: start; }
.faq-list { display: grid; gap: .7rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.15rem .2rem; font-family: var(--font-display); font-size: 1.16rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { position: relative; width: 16px; height: 16px; flex: none; }
.qa summary span::before, .qa summary span::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); transition: transform .3s var(--ease-out); }
.qa summary span::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.qa summary span::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.qa[open] summary span::after { transform: translate(-50%,-50%) scaleY(0); }
.qa-body { padding: 0 .2rem 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* ===================== CIERRE ===================== */
.cierre { background: linear-gradient(180deg, var(--blue-deep), var(--night)); color: var(--cream); text-align: center; overflow: hidden; }
.cierre-sky { position: absolute; inset: 0; z-index: 0; }
.cierre-inner { position: relative; z-index: 2; max-width: 720px; }
.rune-lg { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold-hi); display: block; margin-bottom: 1rem; }
.cierre-title { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--cream-hi); max-width: 18ch; margin: 0 auto 1.1rem; }
.cierre p { color: rgba(244,236,218,.82); max-width: 44ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ===================== FOOTER ===================== */
.site-footer { background: #0a1428; color: var(--cream); padding-top: var(--section-pad-y); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand-text { font-size: 1.5rem; color: var(--cream-hi); }
.footer-brand p { color: rgba(244,236,218,.62); margin-top: .8rem; max-width: 34ch; font-size: .96rem; }
.footer-nav h3, .footer-contact h3 { font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { color: rgba(244,236,218,.8); font-size: .96rem; width: fit-content; }
.footer-nav a:hover { color: var(--gold-hi); }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.fc-line { color: rgba(244,236,218,.82); font-size: .96rem; }
.fc-line:hover { color: var(--gold-hi); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; border-top: 1px solid rgba(244,236,218,.12); }
.legal { color: rgba(244,236,218,.5); font-size: .78rem; max-width: 62ch; line-height: 1.5; }
.credit { color: rgba(244,236,218,.6); font-size: .85rem; }
.credit a { color: var(--gold-hi); }

/* ===================== ANIMATION BASE ===================== */
[data-animate] { will-change: transform, opacity; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; gap: 2.5rem; }
  .hero-scene { max-width: 330px; margin-top: .5rem; }
  .hero-sky .constellation { opacity: .4; width: 90%; }
  .split, .split--rev .split-media { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-media { order: -1; }
  .formacion-grid { grid-template-columns: 1fr; }
  .incluye { position: static; }
  /* La luna se porta a sticky + scrub: queda a la vista mientras pasan las etapas */
  .camino { overflow: clip; }
  .camino-pin { display: block; min-height: 0; padding-block: 0 4rem; text-align: center; }
  .camino-stage {
    position: sticky; top: 0; z-index: 3;
    gap: 1.1rem; padding: 2.2rem 0 1.4rem; margin-bottom: 1.8rem;
    background: linear-gradient(to bottom, var(--night) 0%, var(--night) 74%, rgba(14,28,58,0) 100%);
  }
  .moon { width: clamp(136px, 40vw, 188px); }
  .camino-content .section-head { text-align: center; }
  .camino-content .section-title { margin-inline: auto; }
  .etapas { text-align: left; max-width: 480px; margin-inline: auto; }
    .test-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding-right: .4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-marks { gap: 1rem; }
  .float-glyph--1 { left: -6%; }
  .float-glyph--2 { right: -4%; }
}
@media (max-width: 460px) {
  .header-inner { height: 58px; }
  .brand-text { font-size: 1.1rem; }
  .hero-scene { max-width: 300px; }
  .btn { padding: .8rem 1.25rem; }
  .hero-cta .btn { flex: 1; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .twinkle, .float-glyph, .orbit-star::before, .scroll-cue span, .wsp-float::before { animation: none !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .cnst-lines { opacity: .85 !important; }
  .etapa { opacity: 1 !important; }
}
