/* =========================================================
   Sara Scotto — estilos globales
   Branding: noche estrellada, violeta lila de marca, lavanda,
   crema y dorado suave (como las cartas del oráculo).
   ========================================================= */
:root {
  --violeta: #a65bf2;
  --violeta-hover: #b97cf7;
  --lavanda: #d4b0ff;
  --lavanda-suave: rgba(212, 176, 255, .28);
  --crema: #f3ead9;
  --dorado: #f6c35b;
  --dorado-suave: #d8bd7a;
  --noche: #07050f;
  --ciruela: #140b22;
  --negro: #000;
  --blanco: #fff;
  --texto: rgba(255, 255, 255, .86);
  --texto-suave: rgba(255, 255, 255, .66);
  --nav-h: 72px;
  --overlay: rgba(7, 5, 15, .74);
  --f-script: "Great Vibes", cursive;
  --f-display: "Archivo", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --container: 1160px;
  --gutter: clamp(18px, 4vw, 48px);
  --radio: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
/* Las fotos que entran desde el costado no generan scroll horizontal en mobile */
main { overflow-x: clip; }

body {
  margin: 0;
  background: var(--noche);
  color: var(--blanco);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; }
button { font: inherit; color: inherit; }
::selection { background: var(--violeta); color: #fff; }

.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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.violeta { color: var(--violeta); }
.script { font-family: var(--f-script); font-weight: 400; line-height: 1; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 2, 10, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background .35s ease, box-shadow .35s ease;
}
/* Línea inferior con brillo violeta */
.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166, 91, 242, .9) 30%, rgba(214, 180, 255, 1) 50%, rgba(166, 91, 242, .9) 70%, transparent);
  opacity: .7;
}
.header.is-scrolled {
  background: rgba(4, 2, 10, .92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 1px 24px rgba(166, 91, 242, .18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height .35s ease;
}
.header.is-scrolled .header__inner { height: calc(var(--nav-h) - 12px); }

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
/* Mientras no haya logo: el nombre con la misma letra y color del inicio */
.logo__name {
  font-family: var(--f-script);
  font-size: clamp(36px, 3.4vw, 46px);
  color: var(--violeta);
  padding: .14em .12em 0;
  transition: filter .3s;
}
.logo:hover .logo__name { filter: drop-shadow(0 0 10px rgba(166, 91, 242, .7)); }

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.header__link {
  position: relative;
  padding-block: 8px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  transition: color .25s;
}
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--violeta);
  box-shadow: 0 0 10px rgba(166, 91, 242, .8);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.header__link:hover,
.header__link.is-active { color: var(--blanco); }
.header__link:hover::after,
.header__link.is-active::after { transform: scaleX(1); }
.header__link:focus-visible,
.logo:focus-visible,
.header__toggle:focus-visible { outline: 2px solid var(--violeta); outline-offset: 4px; border-radius: 4px; }

.btn.header__cta {
  font-size: 15px;
  padding: .6em 1.4em;
  text-decoration: none;
  letter-spacing: .02em;
}

.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(166, 91, 242, .6);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.header__toggle span,
.header__toggle span::before,
.header__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--blanco);
  transition: transform .3s ease, background .3s ease;
}
.header__toggle span { position: relative; }
.header__toggle span::before,
.header__toggle span::after { content: ""; position: absolute; left: 0; }
.header__toggle span::before { transform: translateY(-6px); }
.header__toggle span::after { transform: translateY(6px); }
.header__toggle[aria-expanded="true"] span { background: transparent; }
.header__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.header__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 820px) {
  .header__toggle { display: block; }
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(4, 2, 10, .97);
    border-bottom: 1px solid rgba(166, 91, 242, .5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .header__link {
    padding-block: 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .header__link::after { right: auto; width: 40px; }
  .btn.header__cta { margin-top: 20px; font-size: 17px; padding-block: .75em; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  text-align: center;
  padding: .95em 2em;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.btn--solid {
  background: linear-gradient(135deg, #b46ff5, var(--violeta) 55%, #8e45dc);
  color: var(--blanco);
  border: 0;
  box-shadow: 0 10px 30px -10px rgba(166, 91, 242, .8);
}
.btn--solid:hover { box-shadow: 0 14px 34px -8px rgba(166, 91, 242, .95), 0 0 0 4px rgba(212, 176, 255, .18); }
.btn--outline { border: 1.5px solid var(--lavanda); color: var(--blanco); background: rgba(166, 91, 242, .06); }
a.btn--outline:hover { background: var(--violeta); border-color: var(--violeta); }
.btn--ghost { color: var(--blanco); border: 1.5px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--lavanda); background: rgba(255, 255, 255, .06); }
a.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .75em 1.5em; font-size: 14px; }
.btn--lg { padding: 1.05em 2.4em; font-size: 16px; }
span.btn { cursor: default; opacity: .75; }

/* ---------- Secciones y fondos ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--stars { background: var(--noche) url("../img/bg-estrellas.webp") center / cover; }
.section--plum {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(166, 91, 242, .16), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(166, 91, 242, .12), transparent 55%),
    var(--ciruela);
}
.section--photo {
  background-color: #1a1420;
  background-position: center;
  background-size: cover;
}

/* ---------- Tipografía editorial ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lavanda);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavanda));
}
.titulo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.titulo--xl { font-size: clamp(34px, 4.4vw, 60px); }
/* Palabra destacada en letra manuscrita violeta */
.acento {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 1.35em;
  line-height: .8;
  letter-spacing: 0;
  color: var(--violeta);
  white-space: nowrap;
}
.texto { color: var(--texto); max-width: 62ch; }
.texto + .texto { margin-top: 1em; }
.texto strong { color: var(--blanco); font-weight: 700; }
.texto--lg { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.texto--centro { margin-inline: auto; text-align: center; }
.resaltado {
  color: var(--blanco);
  background: linear-gradient(transparent 62%, rgba(166, 91, 242, .45) 62%);
}
.cita {
  margin: 1.6em 0 0;
  padding-left: 1.1em;
  border-left: 2px solid var(--violeta);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  color: var(--crema);
}
.cita--sin-borde { padding-left: 0; border: 0; }
.cita em { color: var(--lavanda); }

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}
.sec-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--lavanda), transparent);
}

/* Separador de fases lunares (como en los íconos de la marca) */
.divisor { display: flex; align-items: center; justify-content: center; gap: 10px; }
.divisor i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--lavanda); opacity: .85; }
.divisor i:nth-child(2) { width: 11px; height: 11px; opacity: 1; box-shadow: 0 0 12px rgba(212, 176, 255, .8); }
.divisor i:first-child { box-shadow: inset 3px 0 0 0 var(--noche); }
.divisor i:last-child { box-shadow: inset -3px 0 0 0 var(--noche); }
.divisor::before,
.divisor::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--lavanda-suave)); }
.divisor::after { transform: scaleX(-1); }
.ornamento { display: block; color: var(--dorado-suave); font-size: 18px; margin-bottom: 14px; }

/* Tarjeta translúcida con borde lavanda */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(212, 176, 255, .22);
  border-radius: var(--radio);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

/* Foto dentro de un arco (forma de las tarjetas del glosario) */
.arco-foto {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(166, 91, 242, .55), transparent 70%),
    linear-gradient(180deg, #2a1645, #120a20);
  border: 1px solid rgba(212, 176, 255, .35);
  box-shadow: 0 0 0 10px rgba(212, 176, 255, .05), 0 40px 80px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.arco-foto img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92%;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}
.arco-foto--alto { aspect-ratio: 3 / 4; }

/* =========================================================
   Movimiento y suavidad
   ========================================================= */

/* Transición entre páginas (navegadores que la soportan) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sale .45s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-entra .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-sale { to { opacity: 0; } }
@keyframes vt-entra { from { opacity: 0; } }

/* Entrada de la página: el contenido aparece en fundido (CSS puro: siempre termina visible) */
main, .footer { animation: pagina-entra 1s cubic-bezier(.2, .7, .2, 1) backwards; }
.header { animation: header-entra 1s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes pagina-entra { from { opacity: 0; } }
@keyframes header-entra { from { opacity: 0; translate: 0 -100%; } }

/* Hero: la foto entra con un zoom lento, de cine */
.hero__img { animation: hero-foto 2.6s cubic-bezier(.2, .6, .2, 1) backwards; }
@keyframes hero-foto {
  from { opacity: 0; scale: 1.14; }
  to { opacity: 1; scale: 1.04; }
}
.hero__img { scale: 1.04; }

/* Aparición al scrollear: solo se activa si main.js corrió (si falla, todo se ve).
   Usa translate/scale/filter por separado para no pisar la rotación propia de cada elemento. */
.reveal-on .reveal {
  opacity: 0;
  translate: 0 34px;
  filter: blur(6px);
  transition:
    opacity 1.2s cubic-bezier(.22, .61, .36, 1),
    translate 1.3s cubic-bezier(.22, .61, .36, 1),
    scale 1.3s cubic-bezier(.22, .61, .36, 1),
    filter 1.1s cubic-bezier(.22, .61, .36, 1);
}
.reveal-on .reveal--izq { translate: -48px 0; }
.reveal-on .reveal--der { translate: 48px 0; }
.reveal-on .reveal--zoom { translate: 0 24px; scale: .95; }
.reveal-on .reveal.is-visible { opacity: 1; translate: 0 0; scale: 1; filter: none; }

/* Imágenes: fundido al terminar de cargar en vez de aparecer de golpe */
.img-suave img.carga-suave { opacity: 0; transition: opacity 1s ease; }
.img-suave img.carga-suave.is-cargada { opacity: 1; }

/* Parallax: las fotos grandes se mueven más lento que el scroll.
   Se agrandan un poco para que el desplazamiento nunca muestre bordes. */
[data-parallax] { will-change: translate; }
[data-parallax]:not([data-parallax="hero"]) { scale: 1.16; }

/* Secciones con foto de fondo: se funden arriba y abajo con la noche, sin cortes duros */
.section--photo::before,
.section--photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(48px, 7vw, 110px);
  pointer-events: none;
  z-index: 0;
}
.section--photo::before { top: 0; background: linear-gradient(180deg, var(--noche), transparent); }
.section--photo::after { bottom: 0; background: linear-gradient(0deg, var(--noche), transparent); }
.section--photo > .container { position: relative; z-index: 1; }


/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, var(--ciruela), var(--noche));
  border-top: 1px solid rgba(212, 176, 255, .14);
  color: var(--texto-suave);
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer__marca .logo__name { font-size: 44px; }
.footer__marca p { margin-top: 8px; line-height: 1.6; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { text-decoration: none; transition: color .25s; }
.footer__nav a:hover { color: var(--lavanda); }
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__cta p { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--crema); }
.footer__base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding: 22px var(--gutter) 26px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* =========================================================
   HOME
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(calc(100svh - var(--nav-h)), 820px);
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 40%, #2a1a3c, var(--noche) 70%);
}
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: brightness(.78) saturate(.9);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--noche), transparent 30%), radial-gradient(ellipse at 60% 30%, transparent 40%, rgba(7, 5, 15, .45));
}
.hero__content { position: relative; padding-block: 64px 96px; }
.hero__hola {
  margin-top: 28px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--crema);
}
.hero__name {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(76px, 10vw, 148px);
  line-height: .95;
  color: var(--violeta);
  text-shadow: 0 0 40px rgba(166, 91, 242, .35);
  margin: 10px 0 14px -4px;
}
.hero__lead {
  max-width: 34ch;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--texto);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--lavanda);
  transform: translateX(-50%);
  animation: rueda 2s ease-in-out infinite;
}
@keyframes rueda {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translate(-50%, 14px); }
}

.descubri__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.descubri__texto { padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--lavanda-suave); }

.sobre__grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.sobre__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sobre__texto .texto + .texto { margin-top: 0; }
.polaroid {
  position: relative;
  margin: 0;
  padding: 14px 14px 64px;
  background: var(--crema);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  justify-self: center;
  transform: rotate(-3deg);
  transition: transform .5s ease;
}
.polaroid:hover { transform: rotate(-1deg) scale(1.02); }
.polaroid::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 120px;
  height: 34px;
  transform: translateX(-50%) rotate(2deg);
  background: url("../img/home/cinta.webp") center / 100% 100% no-repeat;
}
.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-family: var(--f-script);
  font-size: 34px;
  color: #3a2a4a;
}

.algo__grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.algo__texto { display: flex; flex-direction: column; gap: 24px; }
.algo__texto .divisor { justify-content: flex-start; }
.algo__texto .divisor::before { display: none; }
.algo__texto .cita { margin-top: 0; }

.cada { --overlay: rgba(7, 5, 15, .8); background-attachment: fixed; }
.cada__inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.cada__inner .texto { margin-inline: auto; }
.cada__inner .texto + .texto { margin-top: 0; }
.cada__pensar {
  margin-top: 12px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--crema);
}
.cada__pregunta {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.15;
  text-wrap: balance;
  background: linear-gradient(100deg, #fff 10%, var(--lavanda) 45%, var(--violeta) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metodo__inner { display: flex; flex-direction: column; align-items: center; }
.metodo .sec-head { gap: 6px; margin-bottom: 28px; }
.metodo__del {
  margin-top: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: .32em;
  text-transform: uppercase;
}
.metodo__title {
  font-size: clamp(76px, 10vw, 136px);
  color: var(--violeta);
  text-shadow: 0 0 50px rgba(166, 91, 242, .35);
}
.metodo__templos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 128px));
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  margin: 52px auto 48px;
}
.metodo__templos li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.metodo__templos img { width: 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s; }
.metodo__templos span {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--texto-suave);
  transition: color .3s;
}
.metodo__templos li:hover img { transform: translateY(-8px); filter: drop-shadow(0 0 18px rgba(212, 176, 255, .55)); }
.metodo__templos li:hover span { color: var(--lavanda); }

.espejo { min-height: 620px; display: flex; align-items: center; background-position: 75% center; }
.espejo > .container { width: 100%; }
.espejo__card { max-width: 560px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.espejo__decidir {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--crema);
  line-height: 1.2;
}
.espejo__big {
  display: block;
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 900;
  font-size: clamp(54px, 6.5vw, 88px);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 6px 0;
  background: linear-gradient(100deg, var(--lavanda), var(--violeta) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Foto de Sara a la izquierda, fundida con el violeta; título y recursos a la derecha */
.empezar { overflow: hidden; padding-block: clamp(64px, 7vw, 100px) clamp(48px, 5vw, 72px); }
.empezar__fondo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 45%);
  mask-image: linear-gradient(270deg, transparent, #000 45%);
}
.empezar__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: brightness(.62) saturate(.9); }
.empezar__fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ciruela), transparent 35%); }
.empezar > .container { position: relative; }
.empezar__lado { max-width: 700px; margin-left: auto; }
.sec-head--izq { align-items: flex-start; text-align: left; }
.sec-head--izq .eyebrow::after { display: none; }
.empezar__recursos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.recurso {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 20px 28px;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s, box-shadow .45s;
}
.recurso:hover { transform: translateY(-6px); border-color: rgba(212, 176, 255, .5); box-shadow: 0 30px 60px -30px rgba(166, 91, 242, .6); }
.recurso__tag {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lavanda);
}
.recurso__title { display: flex; flex-direction: column; align-items: center; min-height: 2.1em; justify-content: flex-end; font-size: clamp(40px, 3.4vw, 50px); font-weight: 400; margin: 4px 0 20px; }
.recurso__title small {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  color: var(--crema);
}
.recurso .btn { white-space: nowrap; }
.recurso .btn { margin-top: auto; }
.recurso__media {
  position: relative;
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1;
}
/* Resplandor violeta detrás del ícono */
.recurso__media::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 91, 242, .55) 0%, rgba(166, 91, 242, .18) 45%, transparent 70%);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .5s ease, transform .6s ease;
}
.recurso__icono {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}
/* Destello que recorre el ícono (recortado con la forma de la imagen) */
.recurso__brillo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%;
  background-position: 160% 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mix-blend-mode: screen;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.recurso:hover .recurso__media::before,
.recurso:focus-within .recurso__media::before { opacity: 1; transform: scale(1.1); }
.recurso:hover .recurso__icono,
.recurso:focus-within .recurso__icono,
.recurso:hover .recurso__brillo,
.recurso:focus-within .recurso__brillo { transform: scale(1.07); }
.recurso:hover .recurso__icono,
.recurso:focus-within .recurso__icono {
  filter: drop-shadow(0 0 14px rgba(190, 140, 255, .85)) brightness(1.15);
}
.recurso:hover .recurso__brillo,
.recurso:focus-within .recurso__brillo { animation: destello 1.1s ease-out; }
@keyframes destello {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}

.llave__grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(280px, 440px);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.llave__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.llave__icono { width: 120px; margin-bottom: 4px; filter: drop-shadow(0 0 16px rgba(212, 176, 255, .35)); }
.llave__title { font-size: clamp(60px, 6.6vw, 92px); color: var(--blanco); margin: 2px 0 6px; }
.llave__texto .btn { margin-top: 14px; }
.llave__foto img { width: 96%; height: 96%; }

.clientas { --overlay: rgba(7, 5, 15, .84); }
.clientas .sec-head { margin-bottom: clamp(36px, 4vw, 52px); }
.clientas__title { display: flex; flex-direction: column; align-items: center; text-align: center; }
.clientas__title .script {
  font-size: clamp(80px, 9vw, 128px);
  color: var(--violeta);
  text-shadow: 0 0 40px rgba(166, 91, 242, .4);
}
.clientas__sub {
  margin-top: -.3em;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--crema);
}
.clientas__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px) clamp(14px, 2.4vw, 30px);
  max-width: 1000px;
  margin-inline: auto;
}
.clientas__grid li { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); transition: transform .4s ease; }
.clientas__grid li:nth-child(odd) { transform: rotate(-2deg); }
.clientas__grid li:nth-child(even) { transform: rotate(2deg) translateY(8px); }
.clientas__grid li:hover { transform: rotate(0) scale(1.07); z-index: 1; }

.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
}
/* Todas las tarjetas con la misma altura: la tarjeta crece y las estrellas quedan abajo */
.testimonio { margin: 0; position: relative; padding-top: 20px; display: flex; flex-direction: column; }
.testimonio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 130px;
  height: 38px;
  transform: translateX(-50%) rotate(-1deg);
  background: url("../img/home/cinta.webp") center / 100% 100% no-repeat;
  z-index: 1;
}
.testimonio__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 40px 26px 22px;
  background: var(--crema);
  color: #2b2236;
  border-radius: 16px;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
  font-size: 15.5px;
  line-height: 1.65;
}
/* Comilla decorativa */
.testimonio__card::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: var(--f-serif);
  font-size: 72px;
  line-height: 1;
  color: rgba(166, 91, 242, .35);
}
.testimonio__card p { margin-block: auto; }
.testimonio__stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  color: #e3a93b;
  font-size: 20px;
  letter-spacing: 4px;
}
.testimonio__stars::before,
.testimonio__stars::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(227, 169, 59, .7)); }
.testimonio__stars::after { transform: scaleX(-1); }
.testimonio figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--lavanda);
}

.juntas {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 50%, #2a1a3c, var(--noche) 70%);
}
.juntas__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.juntas__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: brightness(.78) saturate(.9);
}
.juntas__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-block: 96px;
}
.juntas__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.01em;
}
.juntas__inner .btn { margin-top: 10px; }

/* =========================================================
   UNIVERSO DE LAS DIOSAS
   ========================================================= */
.bienvenida { padding-block: clamp(48px, 6vw, 80px) 0; overflow: hidden; }
.bienvenida__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(24px, 4vw, 56px); }
.bienvenida__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: clamp(40px, 6vw, 96px); }
.bienvenida__title { display: flex; flex-direction: column; }
.bienvenida__title .script { font-size: clamp(72px, 8.5vw, 124px); text-shadow: 0 0 40px rgba(166, 91, 242, .35); }
.bienvenida__sub { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); margin: -.1em 0 0 .4em; }
.bienvenida__img { width: 100%; max-width: 560px; justify-self: end; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.bienvenida__atajos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.bienvenida__atajos a {
  padding: .55em 1.1em;
  border: 1px solid rgba(212, 176, 255, .3);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--texto);
  transition: border-color .3s, background .3s, color .3s;
}
.bienvenida__atajos a:hover { border-color: var(--lavanda); background: rgba(166, 91, 242, .18); color: #fff; }

.cruce { --overlay: rgba(7, 5, 15, .82); }
.cruce__grid { display: grid; grid-template-columns: 1.2fr minmax(300px, 440px); gap: clamp(36px, 6vw, 88px); align-items: center; }
.cruce__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cruce__texto .texto + .texto { margin-top: 0; }
.cruce__texto .cita { margin: 0 0 6px; }
.cruce__title { color: var(--violeta); font-size: clamp(76px, 8vw, 116px); margin-top: -6px; text-shadow: 0 0 40px rgba(166, 91, 242, .35); }
.cruce__form-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(28px, 3.5vw, 40px); }
.cruce__pilares { width: 110px; margin-top: -4px; filter: drop-shadow(0 0 20px rgba(166, 91, 242, .5)); }
.cruce__form-titulo { margin-top: 14px; font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 28px; color: var(--crema); }
.cruce__form-sub { margin: 4px 0 22px; font-size: 15px; color: var(--texto-suave); }
.ml-form { width: 100%; display: grid; gap: 12px; }
.ml-form input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(212, 176, 255, .28);
  border-radius: 12px;
  background: rgba(7, 5, 15, .55);
  color: #fff;
  font: 16px var(--f-body);
  transition: border-color .25s, box-shadow .25s;
}
.ml-form input::placeholder { color: rgba(255, 255, 255, .5); }
.ml-form input:focus { outline: none; border-color: var(--lavanda); box-shadow: 0 0 0 4px rgba(166, 91, 242, .25); }
.ml-form .btn { width: 100%; margin-top: 6px; cursor: pointer; }
.ml-form button[disabled] { opacity: .6; cursor: wait; }
.ml-form__ok { font-size: 17px; line-height: 1.5; padding: 10px; color: var(--crema); }
.ml-form.is-sent input,
.ml-form.is-sent button { display: none; }

.cruce__hecate {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  max-width: 920px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 44px);
}
.cruce__hecate-img { width: 100%; filter: drop-shadow(0 0 22px rgba(166, 91, 242, .45)); }
.cruce__hecate-text { margin-top: 12px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--texto); }
.cruce__hecate-text strong { color: #fff; }
.cruce__hecate-text em { font-family: var(--f-serif); font-size: 1.15em; color: var(--crema); }

.conocelas__title { display: flex; flex-direction: column; align-items: center; }
.conocelas__title .script { font-size: clamp(68px, 8vw, 112px); text-shadow: 0 0 40px rgba(166, 91, 242, .35); }
.conocelas__sub { margin-top: -.2em; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); color: var(--crema); }
.conocelas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 270px));
  justify-content: center;
  gap: clamp(16px, 3.5vw, 48px);
}
.diosa-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 900px;
}
.diosa-card img {
  width: 100%;
  aspect-ratio: 472 / 708;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, filter .45s;
}
.diosa-card:hover img,
.diosa-card:focus-visible img {
  transform: translateY(-8px) rotateY(-6deg);
  box-shadow: 0 18px 40px rgba(166, 91, 242, .45);
  filter: brightness(1.05);
}
.diosa-card:focus-visible { outline: 3px solid var(--violeta); outline-offset: 6px; }
.diosa-card.is-hidden { visibility: hidden; }

/* Popup carta que se da vuelta (animado desde universo.js) */
html.modal-open { overflow: hidden; }
.flip-modal { position: fixed; inset: 0; z-index: 100; }
.flip-modal[hidden] { display: none; }
.flip-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(40, 18, 70, .78), rgba(4, 2, 10, .93) 70%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
}
.flip-card {
  position: fixed;
  perspective: 2200px;
  transform-origin: center;
  will-change: transform;
}
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(205, 178, 247, .35), 0 0 60px rgba(166, 91, 242, .25);
}
.flip-card__front img { width: 100%; height: 100%; object-fit: cover; }
.flip-card__back { transform: rotateY(180deg); background: #0b1020; }
.flip-card__content { position: absolute; inset: 0; }
/* La carta ampliada se toca para girarla */
.flip-card { cursor: pointer; outline: none; }
.flip-card:focus-visible .flip-card__face { box-shadow: 0 0 0 3px var(--lavanda), 0 40px 90px rgba(0, 0, 0, .65); }
.flip-modal:not(.is-moving) .flip-card:hover .flip-card__face {
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(212, 176, 255, .7), 0 0 70px rgba(166, 91, 242, .5);
}
/* Indicación debajo de la carta */
.flip-modal__hint {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  top: calc(var(--card-bottom, 85%) + 14px);
  margin: 0;
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--crema);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.flip-modal__hint::before { content: "↻  "; color: var(--lavanda); font-style: normal; }
.flip-modal.is-open .flip-modal__hint { opacity: .9; transition: opacity .6s ease .8s; }
.flip-modal.is-moving .flip-modal__hint { opacity: 0; transition-delay: 0s; }

/* Navegación entre Diosas (flechas + puntos) */
.flip-nav { opacity: 0; transition: opacity .3s ease; }
.flip-modal.is-open .flip-nav { opacity: 1; transition: opacity .6s ease .7s; }
.flip-nav__btn {
  position: fixed;
  z-index: 2;
  top: var(--card-cy, 50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(205, 178, 247, .55);
  border-radius: 50%;
  background: rgba(20, 10, 35, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.flip-nav__btn--prev { left: calc(50% - var(--card-w, 500px) / 2 - 92px); }
.flip-nav__btn--next { right: calc(50% - var(--card-w, 500px) / 2 - 92px); }
.flip-nav__btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}
.flip-nav__btn:hover,
.flip-nav__btn:focus-visible {
  background: var(--violeta);
  border-color: #d4b0ff;
  box-shadow: 0 0 0 4px rgba(173, 90, 238, .25), 0 0 28px rgba(173, 90, 238, .7);
}
.flip-nav__btn--prev:hover svg { transform: translateX(-3px); }
.flip-nav__btn--next:hover svg { transform: translateX(3px); }
.flip-nav__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.flip-modal.is-moving .flip-nav__btn { pointer-events: none; }
.flip-nav__dots {
  position: fixed;
  z-index: 2;
  left: 50%;
  top: calc(var(--card-bottom, 90%) + 54px);
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}
.flip-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  transition: width .45s cubic-bezier(.2, .8, .2, 1), background .45s ease, box-shadow .45s ease;
}
.flip-nav__dot.is-active {
  width: 26px;
  background: var(--violeta);
  box-shadow: 0 0 10px rgba(173, 90, 238, .9);
}
@media (max-width: 759px) {
  .flip-nav__btn { top: auto; bottom: 18px; width: 50px; height: 50px; transform: none; }
  .flip-nav__btn--prev { left: calc(50% - 130px); }
  .flip-nav__btn--next { right: calc(50% - 130px); }
  .flip-nav__dots { top: auto; bottom: 39px; }
  .flip-modal__hint { top: calc(var(--card-bottom, 80%) + 10px); font-size: 17px; }
}

/* Dorso: diseño vertical tipo carta */
.diosa {
  --overlay: rgba(8, 12, 30, .55);
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  container-type: inline-size;
}
/* Marco interior de carta */
.diosa::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
}
/* Degradé para que el texto se lea sobre el templo */
.diosa::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, .85) 0%, rgba(5, 8, 22, .7) 40%, rgba(5, 8, 22, .15) 62%, rgba(5, 8, 22, .45) 100%);
}
.diosa__figura {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  height: 46%;
  width: auto;
  max-width: 92%;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, .6));
}
.diosa__texto {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 8cqw 9cqw 0;
  text-align: center;
  overflow-y: auto;
}
.diosa__nombre {
  font-family: var(--f-script);
  font-weight: 400;
  color: var(--color);
  font-size: 20cqw;
  line-height: .95;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
.diosa__rol {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 6.6cqw;
  line-height: 1.15;
  margin-top: -.05em;
}
.diosa__desc {
  margin-top: 3.5cqw;
  font-size: 4.05cqw;
  line-height: 1.5;
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

/* Oráculo */
.oraculo { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 90px) clamp(48px, 6vw, 80px); background: #07051a; }
.oraculo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oraculo__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.oraculo__inner > .eyebrow { position: relative; z-index: 2; }
.oraculo__title {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-size: clamp(64px, 7.5vw, 104px);
  color: var(--blanco);
  text-align: center;
  text-shadow: 0 0 40px rgba(166, 91, 242, .55), 0 4px 20px rgba(0, 0, 0, .8);
}
.oraculo__instrucciones {
  max-width: 460px;
  margin: 10px auto 0;
  min-height: 3em;
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: #e6d9f7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

/* Mazo interactivo (Carta del día) */
.mazo {
  position: relative;
  width: max(230px, min(86vw, 420px, calc((100vh - 140px) * 640 / 832)));
  aspect-ratio: 640 / 832;
  margin: 36px auto 0;
}
.mazo__brillo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 142, 232, .45) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.mazo.is-revealed .mazo__brillo { opacity: 1; }
.mazo__boton {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mazo__boton:focus-visible { outline: 3px solid #d9c2ff; outline-offset: 10px; border-radius: 12px; }
.mazo.is-locked .mazo__boton { cursor: default; }
.mazo__carta,
.mazo__cara {
  position: absolute;
  inset: 0;
  border-radius: 5.6% / 4.3%;
  overflow: hidden;
}
.mazo__carta {
  transform: var(--r);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .65);
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
}
.mazo__carta img,
.mazo__cara img { width: 100%; height: 100%; object-fit: cover; }
.mazo:not(.is-locked):not(.is-revealed) .mazo__boton:hover .mazo__giro { transform: translateY(-6px); }
.mazo__giro {
  position: absolute;
  inset: 0;
  z-index: 5;
  perspective: 1400px;
  transition: transform .35s ease;
}
.mazo__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.4, .2, .2, 1);
}
.mazo.is-revealed .mazo__inner { transform: rotateY(180deg); }
.mazo__cara {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 22px 55px -14px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .05);
}
.mazo__cara--frente { transform: rotateY(180deg); background: #f3ead9; }
.oraculo__hint {
  margin-top: 26px;
  min-height: 1.4em;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cdb2f7;
}
.oraculo__otra {
  margin-top: 6px;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease, background .25s, box-shadow .25s;
}
.oraculo__otra.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.oraculo__otra:hover { box-shadow: 0 8px 24px rgba(166, 91, 242, .45); }

/* Glosario */
.glosario { padding-bottom: clamp(70px, 9vw, 120px); }
/* El glosario necesita un poco más de ancho para mantener 5 + 4 tarjetas */
.glosario > .container { max-width: 1240px; }
.glosario__title { display: flex; flex-direction: column; align-items: center; }
.glosario__title .script { font-size: clamp(68px, 8vw, 112px); text-shadow: 0 0 40px rgba(166, 91, 242, .35); }
.glosario__sub { margin-top: -.2em; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); color: var(--crema); }
.glosario__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px) clamp(14px, 1.6vw, 22px);
  max-width: 1150px;
  margin-inline: auto;
}
.glosario__grid li { width: clamp(170px, 14.5vw, 200px); container-type: inline-size; }
.g-card {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1200px;
  border-radius: 50% 50% 0 0 / 36% 36% 0 0;
}
.g-card:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.g-card__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}
.g-card:hover .g-card__inner { transform: rotateY(8deg); }
/* Resplandor violeta (color de marca) que se pinta en los bordes del arco */
.g-card__face {
  transition: box-shadow .55s ease;
}
.g-card:hover .g-card__face,
.g-card:focus-visible .g-card__face {
  box-shadow:
    0 0 0 2px rgba(212, 176, 255, .9),
    0 0 16px 3px rgba(173, 90, 238, .85),
    0 0 42px 10px rgba(173, 90, 238, .45),
    0 0 80px 18px rgba(173, 90, 238, .18);
  animation: aura-violeta 2.4s ease-in-out .55s infinite alternate;
}
@keyframes aura-violeta {
  from {
    box-shadow:
      0 0 0 2px rgba(212, 176, 255, .9),
      0 0 16px 3px rgba(173, 90, 238, .85),
      0 0 42px 10px rgba(173, 90, 238, .45),
      0 0 80px 18px rgba(173, 90, 238, .18);
  }
  to {
    box-shadow:
      0 0 0 2px rgba(212, 176, 255, .7),
      0 0 22px 5px rgba(173, 90, 238, .7),
      0 0 56px 14px rgba(173, 90, 238, .35),
      0 0 100px 24px rgba(173, 90, 238, .12);
  }
}
.g-card.is-hidden { visibility: hidden; }
.g-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 50% 50% 0 0 / 36% 36% 0 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.g-card__front { background: var(--violeta); padding: 9% 9% 0; }
.g-card__front img { flex: 1; min-height: 0; width: 100%; object-fit: contain; object-position: center bottom; }
/* El dorso de la grilla no se muestra: su contenido alimenta el visor */
.g-card__back { display: none; }
.g-card__name { font-family: var(--f-script); color: #120a1f; font-size: 19cqw; line-height: 1.1; }

/* Visor del Glosario: tarjeta grande con forma de arco */
.flip-modal--glosario .flip-card__face {
  border-radius: 50% 50% 18px 18px / 36% 36% 18px 18px;
  container-type: inline-size;
  box-shadow:
    0 0 0 2px rgba(212, 176, 255, .85),
    0 0 26px 4px rgba(173, 90, 238, .65),
    0 0 70px 14px rgba(173, 90, 238, .3),
    0 40px 90px rgba(0, 0, 0, .6);
}
.flip-modal--glosario .flip-card__front {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9% 9% 0;
  background: var(--violeta);
}
.flip-modal--glosario .flip-card__front .g-card__name { font-size: 18cqw; }
.flip-modal--glosario .flip-card__front img { flex: 1; min-height: 0; width: 100%; object-fit: contain; object-position: center bottom; }
.flip-modal--glosario .flip-card__back { background: #0a0618 url("../img/universo/cielo-violeta.webp") center / cover; }
/* Marco interior lavanda que acompaña la forma del arco */
.flip-modal--glosario .flip-card__back::before {
  content: "";
  position: absolute;
  inset: 3.2cqw;
  z-index: 1;
  border: 1px solid rgba(212, 176, 255, .45);
  border-radius: 50% 50% 12px 12px / 36% 36% 12px 12px;
  pointer-events: none;
}
.glosa {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15% 11% 9%;
  text-align: center;
  background: radial-gradient(ellipse at 50% 60%, rgba(10, 6, 24, .55), transparent 70%);
}
.glosa__nombre {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 17cqw;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 18px rgba(173, 90, 238, .9), 0 2px 10px rgba(0, 0, 0, .6);
}
.glosa__icono {
  height: 27%;
  width: auto;
  max-width: 70%;
  margin-top: 2.5cqw;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(173, 90, 238, .55));
}
.glosa__sep { margin: 3cqw 0 2.4cqw; font-size: 4cqw; color: #d4b0ff; letter-spacing: .4em; }
.glosa__desc {
  font-style: italic;
  font-weight: 600;
  font-size: 5.1cqw;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

/* Botón cerrar fuera de la tarjeta (el arco no tiene esquina) */
.flip-modal__close {
  position: fixed;
  z-index: 3;
  top: max(14px, var(--card-top, 40px));
  right: calc(50% - var(--card-w, 460px) / 2 - 92px);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(205, 178, 247, .55);
  border-radius: 50%;
  background: rgba(20, 10, 35, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.flip-modal.is-open .flip-modal__close { opacity: 1; transition: opacity .6s ease .7s, background .3s ease, transform .3s ease, box-shadow .3s ease; }
.flip-modal__close:hover,
.flip-modal__close:focus-visible {
  background: var(--violeta);
  transform: rotate(90deg);
  box-shadow: 0 0 24px rgba(173, 90, 238, .7);
}
.flip-modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 759px) {
  .flip-modal__close { top: 12px; right: 12px; width: 44px; height: 44px; }
}

/* ---------- Test El cruce ---------- */
.cruce__form-estado { width: 100%; display: flex; flex-direction: column; align-items: center; }
.cruce__form-estado[hidden] { display: none; }
.cruce__form-estado .btn--sm { margin-top: 8px; }
.ml-form__error { margin: 2px 0 0; font-size: 14px; color: #ffb4c8; text-align: left; }

.test {
  position: relative;
  max-width: 920px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(212, 176, 255, .28);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(166, 91, 242, .2), transparent 60%),
    linear-gradient(160deg, rgba(20, 11, 34, .92), rgba(7, 5, 15, .94));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(166, 91, 242, .35);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.test[hidden] { display: none; }

.test__vista { animation: test-entra .5s cubic-bezier(.2, .7, .2, 1) both; }
.test__vista--atras { animation-name: test-entra-atras; }
.test__vista--sale-adelante { animation: test-sale .28s ease-in both; }
.test__vista--sale-atras { animation: test-sale-atras .28s ease-in both; }
@keyframes test-entra { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes test-entra-atras { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes test-sale { to { opacity: 0; transform: translateX(-28px); } }
@keyframes test-sale-atras { to { opacity: 0; transform: translateX(28px); } }

.test__cabecera { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.test__contador {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lavanda);
}
.test__barra { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.test__barra span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lavanda), var(--violeta));
  box-shadow: 0 0 12px rgba(166, 91, 242, .8);
  transition: width .6s cubic-bezier(.2, .7, .2, 1);
}
.test__pregunta {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  text-wrap: balance;
  margin-bottom: 26px;
  outline: none;
}

.test__opciones { display: grid; gap: 12px; }
.test__opcion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(212, 176, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: var(--texto);
  font-size: 16.5px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s, color .25s;
}
.test__opcion:hover,
.test__opcion:focus-visible {
  border-color: rgba(212, 176, 255, .6);
  background: rgba(166, 91, 242, .12);
  color: #fff;
  transform: translateX(4px);
  outline: none;
}
.test__marca {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--lavanda);
  border-radius: 50%;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.test__opcion.is-elegida {
  border-color: var(--violeta);
  background: rgba(166, 91, 242, .22);
  color: #fff;
  box-shadow: 0 0 0 1px var(--violeta), 0 10px 30px -10px rgba(166, 91, 242, .7);
}
.test__opcion.is-elegida .test__marca {
  border-color: var(--violeta);
  background: radial-gradient(circle, #fff 0 30%, var(--violeta) 34%);
  box-shadow: 0 0 12px rgba(166, 91, 242, .9);
}

/* Preguntas con imágenes */
.test__opciones--img { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.test__opciones--img .test__opcion {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
}
.test__opciones--img .test__opcion:hover,
.test__opciones--img .test__opcion:focus-visible { transform: translateY(-4px); }
.test__opciones--img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s;
  filter: saturate(.9);
}
.test__opciones--img .test__opcion:hover img { transform: scale(1.04); filter: saturate(1.05); }
.test__opciones--img .test__texto { padding: 12px 12px 14px; font-size: 13.5px; line-height: 1.4; color: var(--texto-suave); }
.test__opciones--img .test__opcion.is-elegida .test__texto { color: #fff; }

.test__pie { display: flex; justify-content: flex-start; margin-top: 22px; min-height: 24px; }
.test__volver {
  padding: 4px 0;
  border: 0;
  background: none;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--texto-suave);
  cursor: pointer;
  transition: color .25s;
}
.test__volver:hover,
.test__volver:focus-visible { color: var(--lavanda); }

/* Pantalla de espera */
.test__cargando { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 64px 0; text-align: center; }
.test__lunas { display: flex; align-items: center; gap: 14px; }
.test__lunas i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lavanda);
  animation: luna 1.4s ease-in-out infinite;
}
.test__lunas i:nth-child(2) { width: 22px; height: 22px; animation-delay: .2s; box-shadow: 0 0 18px rgba(212, 176, 255, .9); }
.test__lunas i:nth-child(3) { animation-delay: .4s; }
@keyframes luna { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.test__cargando-texto { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--crema); }

/* ---------- Página de resultado de El cruce ---------- */
.resultado-pagina { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.resultado-pagina__inner { width: min(1440px, 94vw); margin-inline: auto; }
.resultado-h {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1.6fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 60px);
  border: 1px solid rgba(212, 176, 255, .28);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(166, 91, 242, .22), transparent 55%),
    linear-gradient(160deg, rgba(20, 11, 34, .94), rgba(7, 5, 15, .96));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(166, 91, 242, .4);
  animation: resultado-entra .9s cubic-bezier(.2, .7, .2, 1) both;
}
.resultado-h--vacio { grid-template-columns: 1fr; text-align: center; }
.resultado-h--vacio .resultado-h__cuerpo { align-items: center; }
.resultado-h[hidden] { display: none; }
@keyframes resultado-entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.resultado-h__marco {
  padding: 14px;
  border-radius: 22px;
  background: var(--crema);
  box-shadow: 0 0 0 1px rgba(212, 176, 255, .4), 0 0 70px rgba(166, 91, 242, .45), 0 30px 60px -20px rgba(0, 0, 0, .8);
  animation: resultado-gira 1.2s cubic-bezier(.2, .7, .2, 1) .15s both;
}
.resultado-h__marco img { width: 100%; border-radius: 14px; }
@keyframes resultado-gira {
  from { opacity: 0; transform: perspective(1000px) rotateY(-80deg) scale(.9); }
  to { opacity: 1; transform: none; }
}

.resultado-h__cuerpo { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.resultado-h__diosa {
  font-size: clamp(76px, 8vw, 128px);
  color: var(--violeta);
  text-shadow: 0 0 50px rgba(166, 91, 242, .5);
  margin-top: -6px;
}
.resultado-h__area {
  margin-top: -14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lavanda);
}
.resultado-h__titulo {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.22;
  color: var(--crema);
  text-wrap: balance;
}
.resultado-h__texto { display: flex; flex-direction: column; gap: 14px; }
.resultado-h__texto .texto { max-width: 72ch; font-size: clamp(16.5px, 1.25vw, 18.5px); }
.resultado-h__texto .texto + .texto { margin-top: 0; }
.resultado-h__aviso {
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  border: 1px solid rgba(212, 176, 255, .3);
  border-radius: 14px;
  background: rgba(166, 91, 242, .1);
  font-size: 15px;
  color: var(--texto);
}
.resultado-h__aviso--error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-color: rgba(255, 150, 180, .4); background: rgba(255, 120, 160, .08); }
.resultado-h__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

@media (max-width: 900px) {
  .resultado-h { grid-template-columns: 1fr; padding: 24px 20px 30px; border-radius: 22px; }
  .resultado-h__media { justify-self: center; width: min(320px, 80%); }
  .resultado-h__acciones .btn { width: 100%; }
}

@media (max-width: 760px) {
  .test { padding: 24px 18px 28px; border-radius: 20px; }
  .test__opciones--img { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .test__opcion { padding: 14px 16px; font-size: 15.5px; }
  .test__opcion:hover { transform: none; }
}

/* ---------- Página 404 ---------- */
.pagina-404 { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; }
.pagina-404__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; max-width: 760px; }
.pagina-404__titulo { display: flex; flex-direction: column; align-items: center; }
.pagina-404__titulo .script { font-size: clamp(64px, 8vw, 112px); color: var(--violeta); text-shadow: 0 0 40px rgba(166, 91, 242, .45); }
.pagina-404__sub { margin-top: -.15em; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); color: var(--crema); }
.pagina-404__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero { align-items: flex-end; min-height: min(calc(100svh - var(--nav-h)), 760px); }
  .hero__media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero__media::after { background: linear-gradient(0deg, var(--noche) 8%, rgba(7, 5, 15, .75) 45%, rgba(7, 5, 15, .15) 80%); }
  .hero__img { object-position: 58% 20%; }
  .hero__content { padding-block: 120px 88px; }

  .descubri__grid,
  .sobre__grid,
  .algo__grid,
  .llave__grid,
  .cruce__grid,
  .bienvenida__grid { grid-template-columns: 1fr; }
  .descubri__texto { padding-left: 20px; }

  .sobre__polaroid { max-width: 300px; }
  .algo__foto { max-width: 360px; width: 100%; justify-self: center; }
  .llave__foto { max-width: 360px; width: 100%; justify-self: center; }

  .cada { background-attachment: scroll; }

  .juntas { align-items: flex-end; min-height: 620px; }
  .juntas__media { width: 100%; -webkit-mask-image: linear-gradient(0deg, transparent 10%, #000 60%); mask-image: linear-gradient(0deg, transparent 10%, #000 60%); }
  .juntas__inner { align-items: center; text-align: center; padding-block: 300px 64px; }

  .espejo { min-height: 0; background-position: 70% center; }

  /* En celular la foto va arriba como bloque y se funde con el título */
  .section.empezar { padding-top: 0; }
  .empezar__fondo { position: relative; width: 100%; height: 420px; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
  .empezar__fondo img { object-position: 50% 18%; }
  .empezar__fondo::after { display: none; }
  .empezar__lado { margin: -70px auto 0; }
  .empezar .sec-head--izq { align-items: center; text-align: center; }

  .clientas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; }

  .testimonios__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 44px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__marca { grid-column: 1 / -1; }

  .bienvenida__texto { padding-bottom: 0; }
  .bienvenida__img { justify-self: center; max-width: 460px; }
  .cruce__form-card { max-width: 480px; width: 100%; justify-self: center; }

  .conocelas__grid { grid-template-columns: repeat(2, minmax(0, 260px)); }
  .conocelas__sub { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .hero__ctas .btn { width: 100%; }
  .hero__lead { max-width: none; }

  .metodo__templos { grid-template-columns: repeat(3, minmax(0, 104px)); gap: 18px 14px; }

  .empezar__recursos { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }

  .clientas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 340px; }

  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__nav,
  .footer__cta { align-items: center; }

  .cruce__hecate { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cruce__hecate-img { width: 130px; }

  .conocelas__grid { gap: 14px; }

  .glosario__grid li { width: calc(50% - 8px); }
  .glosario__grid { gap: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
