/* Sistema visual de Alquimia Profunda (moodboard: verde profundo + crema; apoyo terracota, azul ceniza,
   arena y dorado suave; símbolos luna, sol naciente, espiral). Estructura modelada en Prose/Typeform,
   Noom (preguntas) y 16personalities (resultado). */
:root {
  --fondo: #F6EFE3;           /* crema cálido */
  --superficie: #EDE3D2;
  --superficie-hover: #E5D8C3;
  --texto: #1F3B32;           /* verde profundo */
  --texto-suave: #5A6B62;
  --verde: #1F3B32;
  --verde-2: #29493E;
  --verde-claro: #3B5E51;
  --acento: #B4623F;          /* terracota */
  --acento-oscuro: #94502F;
  --acento-suave: #EFD7C8;
  --dorado: #CDA866;
  --dorado-claro: #E6CF9F;
  --azul-ceniza: #8C9DA6;
  --arena: #D9C4A1;
  --linea: #DDD0BB;
  --wa: #2B6B4F;

  --tinte-F: var(--arena);
  --tinte-Ab: #D99A7C;
  --tinte-Ag: var(--azul-ceniza);
  --tinte-E: var(--dorado);

  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio: 14px;
  --ancho: 34rem;
  --curva: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 5;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  background: color-mix(in srgb, var(--fondo) 88%, transparent);
  backdrop-filter: blur(8px);
  transition: opacity .3s var(--curva);
}
.cabecera.oculta { opacity: 0; pointer-events: none; position: fixed; left: 0; right: 0; }
.atras {
  width: 44px; height: 44px; border: 0; background: none; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--texto-suave);
}
@media (hover: hover) { .atras:hover { background: var(--superficie); } }
.marca {
  text-align: center; font: 500 12px/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave);
}
.progreso { grid-column: 1 / -1; height: 3px; margin-top: 10px; background: var(--linea); border-radius: 3px; overflow: hidden; }
.progreso-barra { height: 100%; width: 0; background: var(--acento); border-radius: 3px; transition: width .5s var(--curva); }

/* ---------- pantallas y transiciones ---------- */
main { max-width: var(--ancho); margin: 0 auto; padding: 0 20px 64px; }
.pantalla { padding-top: clamp(20px, 6vh, 56px); }
.entra { animation: entra .45s var(--curva) both; }
.entra-atras { animation: entraAtras .45s var(--curva) both; }
.sale { animation: sale .26s ease-in both; }
.sale-atras { animation: saleAtras .26s ease-in both; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }
@keyframes entraAtras { from { opacity: 0; transform: translateY(-14px); } }
@keyframes sale { to { opacity: 0; transform: translateY(-10px); } }
@keyframes saleAtras { to { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- tipografía ---------- */
.antetitulo, .contador {
  margin: 0 0 14px; font: 500 12px/1.3 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; color: var(--acento-oscuro);
}
.titular {
  margin: 0 0 18px; font: 350 clamp(34px, 9vw, 46px)/1.08 var(--serif);
  letter-spacing: -.01em; font-variation-settings: "opsz" 144;
}
.pregunta-texto {
  margin: 0 0 28px; font: 400 clamp(25px, 6.6vw, 30px)/1.22 var(--serif);
  font-variation-settings: "opsz" 72; text-wrap: balance;
}
.bajada { margin: -8px 0 28px; color: var(--texto-suave); text-wrap: pretty; }
.nota { margin: 18px 0 0; font-size: 14px; color: var(--texto-suave); text-align: center; }

/* ---------- botones ---------- */
.boton {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 14px 26px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 600 16px/1.2 var(--sans); letter-spacing: .01em;
  transition: transform .15s var(--curva), background .2s, box-shadow .2s;
}
.boton:active { transform: scale(.98); }
.boton span { text-align: center; text-wrap: balance; }
.boton-principal { background: var(--texto); color: var(--fondo); }
.boton-principal:hover { background: var(--verde-2); box-shadow: 0 8px 24px -10px rgba(31, 59, 50, .5); }
.boton-wa { background: var(--wa); }
.boton-wa:hover { background: #235A42; }
.boton-wa::before {
  content: ""; width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.boton-secundario { margin-top: 12px; background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--texto); }
.boton-secundario:hover { background: var(--superficie); }
.enlace { background: none; border: 0; padding: 8px; color: var(--texto-suave); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* ---------- inicio ---------- */
.inicio { text-align: center; padding-top: clamp(28px, 8vh, 72px); }
.inicio .antetitulo { margin-top: 26px; }
.inicio .bajada { margin: 0 auto 32px; max-width: 28rem; }
.inicio-logo { width: 54px; margin: 0 auto 26px; }
.inicio-foto {
  width: 132px; aspect-ratio: 4 / 5; margin: 0 auto; overflow: hidden;
  border-radius: 999px 999px 18px 18px;           /* arco: eco de la ventana de las ilustraciones */
  background: var(--superficie);
}
.inicio-foto img { width: 100%; height: 100%; object-fit: cover; }
.inicio-foto.sin-foto {
  background:
    radial-gradient(circle at 50% 38%, #E3BFAE 0 22%, transparent 23%),
    radial-gradient(ellipse at 50% 100%, #E3BFAE 0 42%, transparent 43%),
    #E9DCCB;
}

/* ---------- preguntas ---------- */
.opciones { display: grid; gap: 10px; }
.opcion {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 16px 18px; min-height: 64px; text-align: left;
  background: var(--superficie); border: 0; border-radius: var(--radio);
  box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s var(--curva);
}
@media (hover: hover) { .opcion:hover { background: var(--superficie-hover); } }
.opcion:active { transform: scale(.99); }
.opcion-letra {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px;
  border-radius: 7px; font: 600 12px/1 var(--sans); color: var(--texto-suave);
  box-shadow: inset 0 0 0 1px var(--linea); background: var(--fondo);
  transition: background .2s, color .2s;
}
.opcion-texto { flex: 1; font-size: 16.5px; line-height: 1.45; }
.opcion::after { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--curva);
  background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.opcion.elegida::after { opacity: 1; transform: none; }
.opcion.elegida { background: #EBCBBD; box-shadow: inset 0 0 0 2px var(--acento); transition-duration: 0s; }
.opcion.elegida::after { transition-duration: 0s; }
.opcion.elegida .opcion-letra { background: var(--acento); color: #fff; box-shadow: none; }
@media (hover: none) { .opcion-letra { display: none; } }

/* ---------- datos ---------- */
.datos form { display: grid; gap: 16px; }
.campo { display: grid; gap: 6px; }
.campo > span { font-size: 14px; font-weight: 500; color: var(--texto-suave); }
.campo input, .tel select {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: 400 17px/1.2 var(--sans); color: var(--texto);
  background: var(--superficie); border: 0; border-radius: var(--radio);
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.campo input::placeholder { color: #8A7A7A; }
.campo input:focus, .tel select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--acento); background: var(--fondo); }
.tel { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr; gap: 8px; }
.tel select { padding-right: 30px; font-size: 15px; background-image: linear-gradient(45deg, transparent 50%, var(--texto-suave) 50%), linear-gradient(-45deg, transparent 50%, var(--texto-suave) 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
.acepto { margin-bottom: 8px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--texto-suave); cursor: pointer; }
.acepto input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acento); }
.error { margin: 0; padding: 12px 14px; border-radius: 10px; border-left: 3px solid var(--acento); background: #F6DEDA; color: #8A3B2E; font-size: 15px; }

/* ---------- análisis ---------- */
.cargando { min-height: 60dvh; display: grid; place-content: center; justify-items: center; gap: 26px; text-align: center; }
.pulso { width: 72px; height: 72px; border-radius: 50%; background: var(--acento-suave); position: relative; }
.pulso::before, .pulso::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--acento); animation: onda 2.2s var(--curva) infinite; }
.pulso::after { animation-delay: 1.1s; }
@keyframes onda { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.cargando-texto { font: 400 22px/1.3 var(--serif); margin: 0; }

/* ---------- resultado ---------- */
.pantalla.resultado { padding-top: 0; }
.resultado { --tinte: var(--tinte-F); }
.perfil-Ab { --tinte: var(--tinte-Ab); }
.perfil-Ag { --tinte: var(--tinte-Ag); }
.perfil-E { --tinte: var(--tinte-E); }

/* Bloques a sangre en móvil; tarjetas redondeadas en pantallas anchas. */
.r-hero, .r-voz, .r-cierre { margin-inline: -20px; padding-inline: 24px; position: relative; overflow: hidden; isolation: isolate; }
.r-hero::before, .r-voz::before, .r-cierre::before, .g-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grano); opacity: .09; mix-blend-mode: soft-light; pointer-events: none;
}

.r-hero {
  min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 32px; padding-bottom: 84px; text-align: center; color: var(--fondo);
  background:
    radial-gradient(120% 70% at 50% 0%, var(--verde-claro) 0%, transparent 60%),
    radial-gradient(90% 50% at 50% 100%, color-mix(in srgb, var(--tinte) 35%, transparent), transparent 70%),
    var(--verde);
  border-radius: 0 0 36px 36px;
}
.r-deco { position: absolute; color: var(--dorado); opacity: .55; pointer-events: none; }
.r-deco svg { display: block; width: 100%; height: auto; }
.r-logo { display: block; width: auto; height: 76px; margin: 0 auto; opacity: .95; }
.r-deco-luna { width: 34px; top: 34px; right: 26px; }
.r-etiqueta { margin: 40px 0 20px; font: 500 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dorado-claro); }
.r-arco {
  position: relative; width: min(74vw, 300px); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 22px 22px; overflow: hidden; background: color-mix(in srgb, var(--tinte) 55%, var(--fondo));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--dorado) 60%, transparent), 0 0 0 9px var(--verde), 0 0 0 10px color-mix(in srgb, var(--dorado) 35%, transparent), 0 30px 60px -20px rgba(0, 0, 0, .55);
  animation: arco 1s var(--curva) both .15s;
}
.r-arco img { width: 100%; height: 100%; object-fit: cover; }
.r-arco.sin-imagen,   background:
    radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--fondo) 70%, transparent) 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--fondo) 55%, transparent) 0 44%, transparent 45%),
    color-mix(in srgb, var(--tinte) 70%, var(--verde));
}
@keyframes arco { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.r-nombre {
  margin: 30px 0 10px; color: #FBF5EA; font: 350 clamp(40px, 11.5vw, 60px)/1.02 var(--serif); letter-spacing: -.015em;
  font-variation-settings: "opsz" 144; text-wrap: balance; animation: entra .8s var(--curva) both .35s;
}
.r-pista { margin: 0 0 20px; font: italic 400 18px/1.4 var(--serif); color: #E8DCC0; animation: entra .8s var(--curva) both .5s; }
.r-scroll { position: absolute; bottom: 22px; left: 50%; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dorado-claro); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dorado) 50%, transparent); animation: baja 2.2s ease-in-out infinite; }
@keyframes baja { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }

.revela { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--curva), transform .8s var(--curva); }
.revela.visible { opacity: 1; transform: none; }

.resultado p { margin: 0 0 1.2em; text-wrap: pretty; }
.resultado strong { font-weight: 600; }
.r-rotulo {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px !important;
  font: 600 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--acento-oscuro);
}
.r-rotulo svg { width: 28px; height: 28px; flex: none; color: var(--acento); }
.r-rotulo svg path, .r-rotulo svg circle { stroke-width: 1.6; }
.r-voz .r-rotulo svg { color: var(--dorado); }

.r-espejo { position: relative; margin: 56px 0 8px; padding: 34px 4px 8px; text-align: center; }
.r-comilla { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font: 400 120px/1 var(--serif); color: var(--dorado); opacity: .7; }
.r-espejo p { margin: 0 !important; font: 400 clamp(24px, 6.6vw, 30px)/1.32 var(--serif); font-variation-settings: "opsz" 72; text-wrap: balance; }

.r-capitular::first-letter { float: left; margin: .06em .1em 0 0; padding: 0; font: 400 4.1em/.78 var(--serif); letter-spacing: 0; color: var(--acento); }

.r-voz {
  margin-top: 48px; padding-top: 44px; padding-bottom: 36px; color: var(--fondo);
  background: linear-gradient(rgba(41, 73, 62, .9), rgba(31, 59, 50, .96)), url("../img/fondo-voz.jpg") center / cover, var(--verde-2);
  border-radius: 32px;
}
.r-voz .r-rotulo { color: var(--dorado-claro); }
.r-voz p { color: color-mix(in srgb, var(--fondo) 86%, transparent); }
.r-voz strong { color: var(--fondo); }
.r-voz-frase {
  margin: 30px 0 32px !important; padding: 26px 0; text-align: center; color: var(--fondo) !important;
  font: 400 21px/1.35 var(--serif); border-block: 1px solid color-mix(in srgb, var(--dorado) 45%, transparent);
}
.r-voz-frase em {
  display: block; margin-top: 10px; font: italic 400 clamp(38px, 11vw, 52px)/1.05 var(--serif);
  color: var(--dorado-claro); font-variation-settings: "opsz" 144;
}



.r-cierre {
  margin-top: 56px; padding-top: 64px; padding-bottom: 52px; text-align: center; color: var(--fondo);
  background: linear-gradient(rgba(150, 78, 45, .86), rgba(120, 60, 34, .94)), url("../img/fondo-cierre.jpg") center / cover, #8E4B2C;
  border-radius: 32px;
}
.r-deco-espiral { width: 46px; top: 22px; left: 50%; transform: translateX(-50%); color: var(--dorado-claro); opacity: .8; }
.r-cierre p { color: #FFF8EC; font-size: 17px; }
.r-cierre-final { margin: 28px 0 0 !important; font: 400 clamp(26px, 7.4vw, 32px)/1.25 var(--serif) !important; color: var(--fondo) !important; text-wrap: balance; }

.r-cta {
  position: relative; margin: 30px 0 0; padding: 40px 24px 30px; text-align: center;
  background: #FBF7F0; border-radius: 32px; box-shadow: 0 1px 0 var(--linea), 0 30px 60px -36px rgba(31, 59, 50, .45);
}
.r-cta-foto {
  width: 132px; aspect-ratio: 4 / 5; margin: 0 auto 18px; overflow: hidden; border-radius: 999px 999px 18px 18px;
  box-shadow: 0 0 0 1px var(--dorado), 0 0 0 7px #FBF7F0, 0 0 0 8px color-mix(in srgb, var(--dorado) 40%, transparent);
}
.r-cta-foto img { width: 100%; height: 100%; object-fit: cover; }
.r-cta-firma { margin: 0 0 4px !important; font: italic 400 26px/1.1 var(--serif); }
.r-cta-rol { margin: 0 0 22px !important; font: 500 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--texto-suave); }
.r-cta-texto { font-size: 17.5px; }
.r-cta-nota { margin: 14px 0 0 !important; font-size: 14px; color: var(--texto-suave); }

.boton-cta {
  position: relative; min-height: 62px; background: var(--dorado); color: var(--verde);
  font-size: 17px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(140, 100, 40, .9);
}
.boton-cta svg { width: 22px; height: 22px; transition: transform .25s var(--curva); }
.boton-cta::after {
  content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 1.5px solid var(--dorado);
  opacity: 0; animation: halo 2.6s var(--curva) infinite 1s;
}
@keyframes halo { 0% { opacity: .9; transform: scale(.98); } 70%, 100% { opacity: 0; transform: scale(1.06); } }
@media (hover: hover) { .boton-cta:hover { background: #D8B675; } .boton-cta:hover svg { transform: translateX(4px); } }
.boton-cta.boton-wa { background: var(--dorado); }
.boton-claro { margin-top: 12px; background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--texto); }
@media (hover: hover) { .boton-claro:hover { background: var(--superficie); } }

.r-agenda { margin-top: 28px; padding: 28px 18px 18px; background: #FBF7F0; border-radius: 28px; scroll-margin-top: 16px; box-shadow: inset 0 0 0 1px var(--linea); }
.r-agenda h2 { font: 400 26px/1.2 var(--serif); margin: 0 0 18px; }
.r-agenda.plegada { display: none; }
.agendador-iframe { width: 100%; min-height: 640px; border: 0; border-radius: var(--radio); background: #fff; }
.hueco {
  display: grid; place-items: center; min-height: 260px; padding: 20px; text-align: center;
  border: 1.5px dashed var(--linea); border-radius: var(--radio); color: var(--texto-suave); font-size: 14px;
}
.resultado { padding-bottom: 96px; }

.r-barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  padding-top: 26px; background: linear-gradient(transparent, var(--fondo) 38%);
  transform: translateY(110%); transition: transform .4s var(--curva);
}
.r-barra.visible { transform: none; }
.r-barra .boton { max-width: var(--ancho); margin: 0 auto; min-height: 54px; }
.r-barra .boton-cta::after { display: none; }

.r-dos { margin: 32px 0 0; padding: 6px 22px; background: var(--superficie); border-radius: 24px; }
.r-dos-fila { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; }
.r-dos-fila + .r-dos-fila { border-top: 1px solid var(--linea); }
.r-dos .r-rotulo { margin-bottom: 6px !important; }
.r-dos-texto { margin: 0 !important; font: italic 400 18.5px/1.45 var(--serif); }
.r-dos-texto strong { font-style: normal; font-weight: 500; }
.r-dos-icono { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--acento); color: var(--fondo); overflow: hidden; }
.r-dos-icono svg { width: 28px; height: 28px; }
.r-dos-arco { height: 62px; border-radius: 999px 999px 10px 10px; background: color-mix(in srgb, var(--tinte) 70%, var(--fondo)); }
.r-dos-arco img { width: 100%; height: 100%; object-fit: cover; }
.r-dos-arco.sin-imagen { background: radial-gradient(circle at 50% 36%, var(--fondo) 0 17%, transparent 18%), radial-gradient(ellipse at 50% 100%, var(--fondo) 0 44%, transparent 45%), color-mix(in srgb, var(--tinte) 70%, var(--verde)); }

.r-cta { text-align: left; padding-top: 36px; }
.r-puente-titulo { margin: 0 0 16px; font: 400 clamp(27px, 7.6vw, 34px)/1.18 var(--serif); font-variation-settings: "opsz" 96; text-wrap: balance; }
.r-puente-texto { color: var(--texto-suave); }
.r-pasos { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 14px; }
.r-pasos li { display: flex; gap: 14px; align-items: flex-start; }
.r-paso-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 400 18px/1 var(--serif); color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--dorado); }
.r-pasos strong { display: block; font-weight: 600; }
.r-pasos span:not(.r-paso-num) { display: block; font-size: 15.5px; color: var(--texto-suave); }
.r-firma { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding-top: 26px; border-top: 1px solid var(--linea); }
.r-firma .r-cta-foto { width: 74px; margin: 0; flex: none; box-shadow: 0 0 0 1px var(--dorado), 0 0 0 5px #FBF7F0, 0 0 0 6px color-mix(in srgb, var(--dorado) 40%, transparent); }
.r-firma .r-cta-firma { font-size: 24px; }
.r-firma .r-cta-rol { margin: 0 !important; }
.r-cta .r-cta-nota { text-align: center; }
.r-alterna { margin: 18px 0 0 !important; text-align: center; }
.r-alterna a { font-size: 15px; color: var(--texto-suave); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--dorado); }

/* ---------- gracias ---------- */
.gracias { padding-bottom: 72px; }
.g-hero {
  position: relative; isolation: isolate; overflow: hidden; margin: 0 -20px; padding: 52px 24px 96px;
  text-align: center; color: var(--fondo); border-radius: 0 0 36px 36px;
  background: radial-gradient(120% 70% at 50% 0%, var(--verde-claro), transparent 60%), var(--verde);
}
.g-hero .r-logo { height: 58px; margin-bottom: 36px; }
.g-sello { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px !important; padding: 7px 16px 7px 10px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dorado-claro); background: color-mix(in srgb, var(--dorado) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dorado) 55%, transparent); }
.g-sello svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--dorado); color: var(--verde); }
.g-titulo { margin: 0 0 14px; font: 350 clamp(34px, 9.6vw, 48px)/1.08 var(--serif); font-variation-settings: "opsz" 144; text-wrap: balance; }
.g-hero p.g-bajada { margin: 0 auto; max-width: 26rem; color: color-mix(in srgb, var(--fondo) 80%, transparent); }

.g-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: -50px 14px 0; padding: 18px 12px; position: relative; z-index: 2; background: #FBF7F0; border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(31, 59, 50, .5); list-style: none; }
.g-pasos::before { content: ""; position: absolute; top: 35px; left: 18%; right: 18%; border-top: 1px dashed var(--dorado); z-index: -1; }
.g-pasos li { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; line-height: 1.3; color: var(--texto-suave); }
.g-pasos b { background: #FBF7F0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 600 14px/1 var(--sans); box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--texto); }
.g-pasos .hecho b { background: var(--verde); color: var(--dorado-claro); box-shadow: none; }
.g-pasos .actual { color: var(--texto); font-weight: 600; }
.g-pasos .actual b { box-shadow: inset 0 0 0 1.5px var(--acento); color: var(--acento); }

.g-seccion { margin-top: 40px; }
.g-seccion h2 { margin: 0 0 10px; font: 400 28px/1.2 var(--serif); }
.g-seccion > p { color: var(--texto-suave); }
.video { position: relative; margin: 20px 0 0; border-radius: 22px; overflow: hidden; background: var(--verde); box-shadow: 0 30px 60px -30px rgba(31, 59, 50, .6); }
.video iframe, .video video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 78svh; border: 0; }
.video-hueco {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; color: var(--fondo); text-align: center;
  background: radial-gradient(80% 60% at 50% 30%, var(--verde-claro), transparent 70%), var(--verde);
}
.video-hueco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-hueco span { position: relative; display: grid; justify-items: center; gap: 14px; font-size: 14px; color: color-mix(in srgb, var(--fondo) 80%, transparent); }
.video-hueco i { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--dorado); color: var(--verde); box-shadow: 0 0 0 10px color-mix(in srgb, var(--dorado) 25%, transparent); }
.video-hueco i svg { width: 26px; height: 26px; margin-left: 4px; }

.paso-visto { margin-top: 22px; padding: 28px 22px; text-align: center; background: #FBF7F0; border-radius: 28px; box-shadow: inset 0 0 0 1.5px var(--dorado); animation: entra .6s var(--curva) both; }
.paso-visto p { margin: 0 0 18px; }
.paso-visto .r-rotulo { justify-content: center; }
.g-cita { position: relative; margin: 48px 0 0; padding: 40px 24px 34px; text-align: center; border-radius: 28px; color: var(--fondo); background: radial-gradient(100% 60% at 50% 0%, var(--verde-claro), transparent 70%), var(--verde-2); }
.g-cita .r-cta-foto { width: 96px; box-shadow: 0 0 0 1px var(--dorado), 0 0 0 6px var(--verde-2), 0 0 0 7px color-mix(in srgb, var(--dorado) 40%, transparent); }
.g-cita .r-deco-luna { top: 22px; right: 24px; }
.g-cita p { margin: 0 0 14px; font: italic 400 26px/1.3 var(--serif); }
.g-cita span { font: 500 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dorado-claro); }

@media (min-width: 720px) {
  body { font-size: 18px; }
  body { background: radial-gradient(1200px 600px at 85% -10%, var(--acento-suave), transparent 60%), radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--azul-ceniza) 30%, transparent), transparent 60%), var(--fondo); background-attachment: fixed; }
  .inicio-logo { width: 54px; margin: 0 auto 26px; }
.inicio-foto { width: 180px; }
  .r-hero, .g-hero { margin: 20px 0 0; border-radius: 36px; min-height: 0; padding-block: 72px 80px; }
  .g-hero { padding-block: 56px 100px; }
  .r-voz, .r-cierre { margin-inline: 0; padding-inline: 40px; }
  .r-cta { padding-inline: 40px; }
  .video iframe, .video video { aspect-ratio: 16 / 9; }
}
