/* ═══════════════════════════════════════════════════════════════
   OASIS · Landing de inscripción
   Sistema visual: "amanecer en el oasis" (dirección de arte aprobada)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Color: los de bernabela.mariajose */
  --brand: #8D6BBF;
  --brand-press: #6B4C9C;
  --brand-soft: #EADFF3;
  --brand-on-dark: #CBB3E4;
  --cta: #6B4C9C;
  --cta-ink: #FFFFFF;
  --cta-press: #432C6B;
  --ink: #432C6B;
  --text: #453759;
  --muted: #5F5175;
  --bg: #F9F5FC;
  --tinte: #F3ECF9;
  --surface: #FFFFFF;
  --line: #CBB3E4;
  --line-soft: rgba(203, 179, 228, .55);
  --night: #2A1B47;
  --error: #9B2C4A;
  --pendiente: #FFF1A6;

  /* Letras */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Forma */
  --r-xl: 999px; --r-lg: 28px; --r-md: 16px; --r-sm: 10px;

  /* Movimiento (pareja de los tokens M del JS) */
  --ease: cubic-bezier(.25, 1, .5, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-pop: cubic-bezier(.34, 1.4, .64, 1);
  --t-hover: .45s;

  /* Espacio */
  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1120px;
  --section-y: clamp(68px, 9vw, 124px);
  --sombra: 0 24px 50px -24px rgba(42, 27, 71, .38);

  /* La chispa como máscara (viñetas y marcas) */
  --chispa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.4 8.6L23 12l-8.6 2.4L12 23l-2.4-8.6L1 12l8.6-2.4z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-weight: 400; color: var(--text); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip;
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.08; }
p, h1, h2, h3, li, dd, dt, summary { overflow-wrap: break-word; }
a { color: inherit; }
::selection { background: var(--line); color: var(--night); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis-stopped { overflow: hidden; }

.envoltura { padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.salto { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.salto:focus { top: 12px; }

section[id] { scroll-margin-top: 70px; }
.seccion { padding-block: var(--section-y); position: relative; }

.ceja { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-press); margin-bottom: 16px; }
.seccion h2 { font-size: clamp(2.2rem, 6.4vw, 3.5rem); letter-spacing: -.01em; margin-bottom: 18px; }
.intro { color: var(--muted); max-width: 34em; font-size: 1.04rem; }

/* Marcador de dato pendiente (se borra al publicar) */
.pendiente {
  display: inline-block; background: var(--pendiente); color: #4A3B00; font: 500 .85rem/1.5 var(--font-body);
  padding: 3px 10px; border-radius: 6px; border: 1px dashed #B59B00;
}

/* ═════ Botón ═════ */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 15px 30px; border: 0; border-radius: var(--r-xl); cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  background: var(--cta); color: var(--cta-ink); box-shadow: 0 16px 32px -14px rgba(42, 27, 71, .55);
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), background var(--t-hover) var(--ease);
}
.boton__chispa { width: 18px; height: 18px; flex: none; transition: transform var(--t-hover) var(--ease-pop); }
.boton:hover { background: var(--cta-press); transform: translateY(-2px); box-shadow: 0 22px 38px -14px rgba(42, 27, 71, .6); }
.boton:hover .boton__chispa { transform: rotate(90deg) scale(1.15); }
.boton:active { transform: translateY(0) scale(.97); }
.boton:disabled { opacity: .6; cursor: progress; transform: none; }
.boton--chico { min-height: 44px; padding: 10px 22px; font-size: .92rem; box-shadow: none; }
.boton--chico:hover { box-shadow: 0 12px 22px -12px rgba(42, 27, 71, .6); }
.boton--suave { background: transparent; color: var(--ink); border: 1px solid var(--brand); box-shadow: none; }
.boton--suave:hover { background: var(--brand-soft); box-shadow: none; }

.enlace-wa { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; transition: text-decoration-color var(--t-hover) var(--ease); }
.enlace-wa:hover { text-decoration-color: var(--brand); }
.enlace-wa svg { width: 20px; height: 20px; flex: none; }

/* ═════ Navegación ═════ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 14px; transition: background var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease); }
.nav.fijo { background: rgba(249, 245, 252, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-soft); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.marca { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); letter-spacing: .01em; text-decoration: none; }
.marca em { font-style: italic; color: var(--brand-press); }
.nav__alternar { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; place-items: center; border-radius: var(--r-sm); }
.nav__menu ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.boton) { color: var(--ink); text-decoration: none; font-size: .95rem; padding-block: 8px; }
.nav__menu a:not(.boton):hover { color: var(--brand-press); }
@media (max-width: 899px) {
  .nav__alternar { display: grid; }
  .no-js .nav__alternar { display: none; }
  .nav__menu { position: absolute; inset: 100% 0 auto 0; background: var(--bg); padding: 8px var(--gutter) 24px; box-shadow: 0 18px 30px -20px rgba(42, 27, 71, .4); display: none; }
  .nav__menu.abierto { display: block; }
  .no-js .nav__menu { display: none; }
  .nav__menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__menu li { border-bottom: 1px solid var(--line-soft); }
  .nav__menu li:last-child { border: 0; padding-top: 18px; }
  .nav__menu a:not(.boton) { display: block; padding: 16px 0; font-size: 1.05rem; }
  .nav__menu .boton { width: 100%; }
}

/* ═════ 1. Portada ═════ */
.portada {
  position: relative; isolation: isolate; overflow: clip; min-height: 100svh;
  display: grid; gap: 34px; align-content: start;
  padding-block: 96px 56px;
  background: linear-gradient(180deg, #F1E9F8 0%, var(--bg) 70%);
}
.portada__texto { display: grid; justify-items: start; }
.portada h1 { font-size: clamp(2.7rem, 10.4vw, 4.9rem); letter-spacing: -.02em; line-height: 1.03; margin-bottom: 20px; }
.portada h1 em, .italica { font-style: italic; font-weight: 500; color: var(--brand); }
.portada__lead { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--muted); max-width: 30em; margin-bottom: 28px; }
.portada__nota { margin-top: 16px; font-size: .88rem; color: var(--muted); letter-spacing: .03em; }
.portada__cta { position: relative; display: inline-block; }
.ondas {
  position: absolute; left: 50%; top: 50%; width: 1200px; height: 1200px; margin: -600px 0 0 -600px;
  max-width: none; z-index: -1; pointer-events: none; fill: none; stroke: var(--line); stroke-width: 1.2;
}
.gota { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; color: var(--brand); z-index: 3; pointer-events: none; opacity: 0; }

/* Arco doble: la foto asoma por una ventana (portada y "Quién te acompaña") */
.retrato { position: relative; width: min(74vw, 330px); aspect-ratio: 4 / 5.3; margin-inline: auto; }
.arco-linea { position: absolute; inset: -12px; border: 1.2px solid var(--line); border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-lg); }
.arco { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-lg); background: linear-gradient(170deg, var(--brand-soft) 0%, var(--line) 100%); box-shadow: var(--sombra); }
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

@media (min-width: 900px) {
  .portada { grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 7vw, 110px); padding-block: 110px 80px; }
  .portada h1 { font-size: clamp(3.4rem, 6.2vw, 5.6rem); }
  .portada .retrato { width: min(100%, 400px); margin-inline: auto 0; }
}

/* ═════ 2. Cifras ═════ */
.cifras { background: var(--surface); padding-block: clamp(36px, 6vw, 60px); border-block: 1px solid var(--line-soft); }
.cifras ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
.cifras li { display: grid; gap: 2px; }
.cifras strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.8rem, 9vw, 4rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.cifras span { font-size: .95rem; color: var(--muted); max-width: 12em; line-height: 1.4; }
@media (min-width: 900px) {
  .cifras ul { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .cifras li { padding-inline: 28px; border-left: 1px solid var(--line-soft); }
  .cifras li:first-child { padding-left: 0; border-left: 0; }
}

/* ═════ 3. ¿Te suena? ═════ */
.suena { overflow: clip; }
.suena__grid { display: grid; gap: 34px; position: relative; z-index: 1; }
.suena h2 { margin-bottom: 0; }
.frases { list-style: none; display: grid; gap: clamp(18px, 3vw, 28px); }
.frases li { position: relative; padding-left: 38px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 5.4vw, 2.45rem); line-height: 1.15; color: var(--ink); }
.frases li::before, .lista-chispa li::before, .si li::before, .ficha dt::before {
  content: ""; position: absolute; left: 0; width: 17px; height: 17px; background: var(--brand);
  -webkit-mask: var(--chispa) center / contain no-repeat; mask: var(--chispa) center / contain no-repeat;
}
.frases li::before { top: .42em; }
.suena__cierre { margin-top: clamp(26px, 4vw, 40px); max-width: 32em; color: var(--text); font-size: 1.06rem; }
.suena__cierre strong { font-weight: 500; color: var(--ink); }
.ondas-fondo { position: absolute; right: -380px; top: 50%; width: 900px; height: 900px; max-width: none; margin-top: -450px; fill: none; stroke: var(--line); stroke-width: 1.2; pointer-events: none; z-index: 0; opacity: .6; }
@media (min-width: 900px) {
  .suena__grid { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
  .suena h2 { position: sticky; top: 120px; }
}

/* ═════ 4. Quién te acompaña ═════ */
.quien { background: linear-gradient(180deg, var(--tinte) 0%, var(--bg) 100%); overflow: clip; }
.quien__grid { display: grid; gap: 52px; align-items: center; }
.quien .retrato { aspect-ratio: 4 / 5; width: min(70vw, 320px); }
.quien .arco img { object-position: center 30%; }
.quien__texto p { margin-bottom: 16px; max-width: 34em; }
.quien__texto .frase-grande { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 4vw, 1.85rem); line-height: 1.25; color: var(--ink); }
.lista-chispa { list-style: none; display: grid; gap: 6px; margin: 22px 0 26px; }
.lista-chispa li { position: relative; padding-left: 30px; color: var(--ink); }
.lista-chispa li::before { top: .5em; width: 13px; height: 13px; }
.voces__grid { display: grid; gap: 34px; align-items: center; }
.voces__texto .intro { margin-bottom: 26px; }
.collage { margin: 0; width: min(100%, 640px); margin-inline: auto; }
.collage img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .voces__grid { grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); } .collage { margin-inline: auto 0; } }
.quien__cita { margin: 0 0 26px; padding-left: 20px; border-left: 2px solid var(--line); }
.quien__cita p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.35; color: var(--ink); max-width: 30em; margin: 0; }
.quien__cita footer { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.quien__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
@media (min-width: 900px) {
  .quien__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); }
  .quien .retrato { width: min(100%, 360px); margin-inline: 0 auto; }
}

/* ═════ 5. El camino (5 etapas) ═════ */
.camino__grid { display: grid; gap: 40px; }
.camino .intro { margin-bottom: 8px; }
.etapas { list-style: none; position: relative; counter-reset: etapa; }
.etapas::before { content: ""; position: absolute; left: 19.2px; top: 14px; bottom: 30px; width: 1.6px; background: var(--line); }
.hilo-listo::before { display: none; }
.hilo-svg { position: absolute; left: 0; top: 0; width: 40px; max-width: none; overflow: visible; pointer-events: none; }
.hilo-svg path { fill: none; stroke-linecap: round; stroke-width: 1.8; }
.hilo-svg .base { stroke: var(--line); stroke-opacity: .7; }
.hilo-svg .trazo { stroke: var(--brand); }
.etapa { position: relative; padding: 0 0 clamp(34px, 5vw, 54px) 58px; }
.etapa:last-child { padding-bottom: 0; }
.etapa__nodo { position: absolute; left: 10.5px; top: .42em; width: 19px; height: 19px; border-radius: 50%; border: 1.8px solid var(--brand); background: var(--brand); transition: background .6s var(--ease), transform .6s var(--ease-pop); }
.js .etapa__nodo { background: var(--bg); }
.js .etapa.llegada .etapa__nodo { background: var(--brand); transform: scale(1.12); }
.etapa__num { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--brand-press); font-size: 1.1rem; display: block; line-height: 1.2; margin-bottom: 2px; }
.etapa h3 { font-size: clamp(2.2rem, 7vw, 3rem); margin-bottom: 8px; }
.etapa p { max-width: 32em; }
.etapa .uno { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: .96rem; color: var(--muted); }
.etapa .uno strong { font-weight: 500; color: var(--ink); }
.camino__cierre { margin-top: 40px; padding-left: 58px; display: grid; gap: 14px; justify-items: start; }
.camino__cierre p { font-size: .92rem; color: var(--muted); max-width: 30em; }
@media (min-width: 900px) {
  .camino__grid { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
  .camino__cab { position: sticky; top: 120px; }
}

/* ═════ 6. Qué incluye ═════ */
.incluye { background: var(--surface); }
.incluye__cab { display: grid; gap: 28px; align-items: center; }
.marco-foto { margin: 0; width: min(100%, 460px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(170deg, var(--brand-soft) 0%, var(--line) 100%); box-shadow: var(--sombra); }
.marco-foto img { width: 100%; height: 100%; object-fit: cover; }
.marco-foto--cut img { object-position: center bottom; }
@media (min-width: 900px) { .incluye__cab { grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); } .incluye__cab .marco-foto { margin-inline: auto 0; } }
.ficha { margin-top: clamp(28px, 4vw, 44px); position: relative; }
.ficha::after { content: ""; display: block; height: 1px; background: var(--line); }
.ficha .fila { position: relative; display: grid; gap: 6px; padding-block: 22px; }
.ficha .fila::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left center; transform: scaleX(var(--l, 1)); }
.ficha dt { position: relative; padding-left: 30px; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--ink); }
.ficha dt::before { top: .32em; width: 15px; height: 15px; }
.ficha dd { color: var(--text); max-width: 34em; }
.incluye__notas { display: grid; gap: 22px; margin-top: clamp(30px, 4vw, 44px); }
.incluye__notas h3 { font-size: 1.5rem; margin-bottom: 6px; }
.incluye__notas p { color: var(--muted); max-width: 30em; font-size: .98rem; }
@media (min-width: 760px) {
  .ficha .fila { grid-template-columns: minmax(250px, 1fr) 1.6fr; gap: 40px; align-items: baseline; }
  .incluye__notas { grid-template-columns: 1fr 1fr; gap: 50px; }
}

/* ═════ 7. ¿Es para vos? ═════ */
.para { max-width: 100%; }
.para__col { max-width: 760px; }
.si { list-style: none; display: grid; gap: 16px; margin: 28px 0 44px; }
.si li { position: relative; padding-left: 36px; font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.si li::before { top: .5em; width: 16px; height: 16px; }
.para h3 { font-size: 1.6rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.para__suave { color: var(--muted); max-width: 32em; margin-bottom: 18px; }
.no { list-style: none; display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-soft); margin-bottom: 40px; }
.no li { position: relative; padding-left: 36px; color: var(--muted); }
.no li::before { content: ""; position: absolute; left: 0; top: .85em; width: 16px; height: 1.6px; background: var(--line); }

/* ═════ 8. Fechas y lugar ═════ */
.fechas { background: linear-gradient(180deg, var(--bg) 0%, var(--tinte) 100%); }
.fechas__grid { display: grid; gap: 40px; align-items: center; }
.fechas__lado { display: grid; gap: 28px; justify-items: center; }
.calendario { display: flex; align-items: stretch; gap: 0; justify-content: center; }
.calendario__linea { align-self: center; }
.dia { flex: 0 1 190px; min-width: 0; background: var(--surface); border-radius: var(--r-lg); padding: 22px 18px 22px; text-align: center; box-shadow: var(--sombra); border-top: 3px solid var(--line); position: relative; }
.dia--inicio { border-top-color: var(--brand); }
.dia__sem { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-press); font-weight: 500; }
.dia__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.6rem, 12vw, 5rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.dia__mes { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--brand-press); }
.dia p { margin-top: 10px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.dia__chispa { position: absolute; top: -13px; right: 16px; width: 22px; height: 22px; background: var(--brand); -webkit-mask: var(--chispa) center / contain no-repeat; mask: var(--chispa) center / contain no-repeat; }
.calendario__linea { flex: 1 1 24px; max-width: 90px; min-width: 18px; height: 0; border-top: 1.6px dashed var(--line); transform-origin: left center; }
.fechas__texto .lugares { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 4vw, 1.9rem); line-height: 1.2; color: var(--ink); margin: 18px 0 8px; }
.fechas__texto p { max-width: 32em; }
.fechas__texto .urgencia { margin-top: 12px; color: var(--brand-press); font-weight: 500; }
.fechas__pendientes { display: grid; gap: 8px; justify-items: start; margin-top: 18px; }
.fechas__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }
@media (min-width: 900px) { .fechas__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); } }

/* ═════ 9. Preguntas frecuentes ═════ */
.faq__grid { display: grid; gap: 34px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; display: block; padding: 22px 46px 22px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3.4vw, 1.6rem); line-height: 1.2; color: var(--ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--brand); -webkit-mask: var(--chispa) center / contain no-repeat; mask: var(--chispa) center / contain no-repeat; transition: transform .6s var(--ease-pop); }
.faq details[open] summary::after { transform: rotate(135deg) scale(1.1); }
.faq details p { padding: 0 46px 24px 0; max-width: 38em; color: var(--text); }
.faq__otra { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--muted); }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; } .faq__cab { position: sticky; top: 120px; } }

/* ═════ 10. Anotarme (sección oscura) ═════ */
.anotarme { background: var(--night); color: rgba(238, 231, 246, .86); overflow: clip; isolation: isolate; }
.anotarme .ondas-fondo { left: 50%; right: auto; top: 50%; width: 1200px; height: 1200px; margin: -600px 0 0 -600px; stroke: var(--brand-on-dark); opacity: .5; z-index: -1; }
.anotarme__cab { text-align: left; max-width: 640px; margin-inline: auto; margin-bottom: 34px; }
.anotarme .ceja { color: var(--brand-on-dark); }
.anotarme h2 { color: #fff; }
.anotarme__cab p { color: rgba(238, 231, 246, .86); }
.anotarme__cab .urgencia { margin-top: 12px; color: var(--brand-on-dark); font-weight: 500; }
.form-marco { max-width: 640px; margin-inline: auto; background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 44px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.campo { margin-bottom: 20px; }
.campo label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.2px solid var(--line); border-radius: var(--r-md);
  font: 400 1rem var(--font-body); color: var(--text); background: var(--bg);
  transition: border-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.campo textarea { resize: vertical; min-height: 96px; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(141, 107, 191, .22); }
.campo [aria-invalid="true"] { border-color: var(--error); }
.ayuda { display: block; margin-top: 5px; font-size: .86rem; color: var(--muted); }
.error-campo { display: block; min-height: 0; margin-top: 4px; font-size: .88rem; color: var(--error); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.permiso { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 8px; line-height: 1.5; cursor: pointer; }
.permiso input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cta); }
.form-marco .boton { width: 100%; margin-top: 10px; }
.form-estado { margin-top: 14px; font-size: .92rem; color: var(--error); min-height: 1.2em; }
.gracias h3, .aviso-cierre h3 { font-size: clamp(1.9rem, 5vw, 2.4rem); margin-bottom: 14px; }
.gracias p, .aviso-cierre p { margin-bottom: 16px; }
.gracias:focus { outline: none; }
.gracias { scroll-margin-top: 90px; }
.form-marco--agenda { max-width: 720px; padding: clamp(14px, 3vw, 24px); }
.agenda { min-width: 0; height: 690px; border-radius: var(--r-md); overflow: hidden; }
.agenda__nota { margin: 10px 4px 2px; font-size: .88rem; color: var(--muted); text-align: center; }
.agenda__nota a { color: var(--ink); text-underline-offset: 4px; }
.consulta { margin-top: clamp(56px, 8vw, 88px); }
.consulta__cab { margin-bottom: 26px; }
.consulta__cab h3 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 10px; }
.form-marco .boton + .boton { margin-top: 12px; }
.agenda iframe { border: 0; }
.gracias .boton, .aviso-cierre .boton { width: auto; margin-top: 4px; }
.consulta-wa { max-width: 640px; margin: 28px auto 0; text-align: left; color: rgba(238, 231, 246, .8); }
.consulta-wa a { color: #fff; text-decoration-color: var(--brand-on-dark); text-underline-offset: 5px; font-weight: 500; }

/* ═════ Pie ═════ */
.pie { background: var(--night); color: rgba(238, 231, 246, .8); padding-block: 44px 40px; border-top: 1px solid rgba(203, 179, 228, .18); }
.pie .marca { color: #fff; }
.pie .marca em { color: var(--brand-on-dark); }
.pie__mantra { margin-top: 6px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.2rem; color: var(--brand-on-dark); }
.pie__redes { display: flex; gap: 8px; margin: 22px 0 18px; }
.pie__redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(203, 179, 228, .35); color: #fff; transition: background var(--t-hover) var(--ease); }
.pie__redes a:hover { background: rgba(203, 179, 228, .16); }
.pie__redes svg { width: 22px; height: 22px; }
.pie__legal { font-size: .84rem; color: rgba(238, 231, 246, .6); }

/* Botón flotante de WhatsApp */
.wa-flotante { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; box-shadow: 0 14px 28px -10px rgba(42, 27, 71, .6); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease-pop), background var(--t-hover) var(--ease); }
.wa-flotante svg { width: 26px; height: 26px; }
.wa-flotante.visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-flotante:hover { background: var(--cta-press); }

/* ═════ Estados ocultos de las animaciones: solo con JavaScript activo ═════ */
.js .portada [data-pieza], .js .portada h1, .js .portada .ondas circle, .js .portada .gota,
.js .portada .boton__chispa, .js .portada .arco-linea { opacity: 0; }
.js .portada .arco { clip-path: inset(100% 0 0 0); }
.js [data-rev], .js [data-rev-hijos] > *, .js .frases li, .js .cifras li, .js .etapa__cont, .js .ficha .fila > *,
.js .si li, .js .no li, .js .dia, .js .quien .arco-linea, .js .dia__chispa { opacity: 0; }
.js .ficha .fila { --l: 0; }
.js .calendario__linea { transform: scaleX(0); }
.js .quien .arco { clip-path: inset(100% 0 0 0); }
.js [data-ondas] circle { opacity: 0; }

/* ═════ Accesibilidad y preferencias ═════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-contrast: more) {
  :root { --line: #8D6BBF; --line-soft: #8D6BBF; --muted: #453759; }
  .campo input, .campo textarea, .campo select { border-width: 2px; }
}
@media (forced-colors: active) {
  .boton, .wa-flotante { border: 1px solid ButtonText; }
  .arco, .dia, .form-marco { border: 1px solid CanvasText; }
  .frases li::before, .lista-chispa li::before, .si li::before, .ficha dt::before, .faq summary::after, .dia__chispa { background: CanvasText; }
}
