/* Aurora Retiros · registro de interesados (/registro). Paso 2 del recorrido (el 1 es /lista-espera).
   Misma familia visual que la lista de espera: papel cálido, una tarjeta clara con cuatro páginas,
   turquesa profundo para acción y selección.
   Títulos Outfit, texto Instrument Sans. Nada se mueve por decoración: solo fundidos cortos entre pantallas. */
:root {
  --paper: #f7f2ed;
  --card: #fcfaf7;
  --field: #fffefc;
  --ink: #1b1e25;
  --dim: #4d5260;
  --mute: #7a7e89;
  --line: #e7e1da;
  --line-2: #cfc9c2;
  --track: #d9d6d2;
  --teal: #237f78;
  --teal-2: #2e938b;
  --teal-ink: #1b6a64;
  --mint: #d6eee8;
  --req: #c8412f;
  --display: "Outfit", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); }
body { margin: 0; min-height: 100svh; color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: radial-gradient(60% 40% at 100% 0, color-mix(in srgb, var(--mint) 55%, transparent), transparent), radial-gradient(70% 50% at 0 30%, #fbf6f1, transparent), var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
main { padding: max(26px, env(safe-area-inset-top, 0px)) 0 calc(64px + env(safe-area-inset-bottom, 0px)); }

/* Marca */
.rg-brand { display: grid; justify-items: center; gap: 4px; margin-bottom: 30px; padding: 0 16px; }
.rg-brand img { width: 62px; height: auto; }
.rg-word { display: flex; align-items: center; gap: 22px; }
.rg-word::before, .rg-word::after { content: ""; width: clamp(40px, 12vw, 124px); height: 1.5px; background: var(--teal-ink); opacity: .7; }
.rg-word span { font: 600 25px/1 var(--display); letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; }
.rg-tagline { margin-top: 6px; text-align: center; color: var(--dim); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.rg-wave { position: fixed; left: 0; right: 0; bottom: 0; z-index: -1; height: 80px; pointer-events: none;
  background: radial-gradient(70% 100% at 25% 100%, color-mix(in srgb, var(--mint) 85%, transparent), transparent 70%), radial-gradient(60% 90% at 90% 100%, color-mix(in srgb, var(--mint) 60%, transparent), transparent 70%); }

/* Tarjeta */
.reg { width: min(920px, 100% - 28px); margin: 0 auto; }
.reg-panel { padding: clamp(22px, 4vw, 40px) clamp(18px, 4.6vw, 44px) clamp(24px, 4vw, 40px); border-radius: 26px; background: var(--card);
  border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 2px 4px rgb(60 40 30 / .04), 0 18px 48px rgb(60 40 30 / .08); }

/* Cabecera: parte actual y una barra por parte */
.reg-top { display: flex; justify-content: space-between; gap: 12px; font: 500 15px/1.2 var(--body); letter-spacing: .02em; text-transform: uppercase; }
.reg-top span:last-child { text-transform: none; white-space: nowrap; }
.reg-bars { display: flex; gap: 10px; margin: 14px 0 34px; }
.reg-bars i { flex: 1; height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; }
.reg-bars b { display: block; height: 100%; border-radius: inherit; background: var(--teal-2); transition: width .3s ease; }

/* Pantalla */
.reg-screen { display: grid; gap: 22px; }
.reg-screen:focus { outline: none; }
.reg-screen.in-next, .reg-screen.in-prev { animation: reg-fade .22s ease both; }
.reg-screen.out-next, .reg-screen.out-prev { animation: reg-fade .17s ease reverse both; }
@keyframes reg-fade { from { opacity: 0; } }
.reg-h { font: 600 clamp(28px, 4.4vw, 42px)/1.1 var(--display); letter-spacing: -.01em; }
.reg-sub { margin-top: 8px; color: var(--dim); font-size: 16px; }
.reg-fields { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 20px 26px; }

/* Preguntas: grilla de 24 columnas para que cada fila reparta el ancho como en el diseño */
.reg-q { display: grid; gap: 10px; min-width: 0; grid-column: span var(--span, 24); align-content: start; }
/* Leyenda flotante: deja de dibujarse sobre el borde del fieldset y se comporta como una etiqueta más */
.reg-q > legend { float: left; width: 100%; margin: 0; }
.reg-q.line { padding-top: 22px; border-top: 1px solid var(--line); }
.reg-label { display: block; font: 600 16.5px/1.35 var(--body); }
.reg-req { color: var(--req); font-style: normal; }
.reg-label em { font-style: normal; font-weight: 400; color: var(--dim); }
.reg-hint { color: var(--mute); font-size: 13.5px; }
.reg-note { color: var(--dim); font-size: 13px; font-style: italic; }
.reg-field { position: relative; }
.reg-field input, .reg-field textarea, .reg-other input { width: 100%; min-height: 52px; padding: 12px 16px; font-size: 16px; background: var(--field);
  border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.reg-field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.reg-field input::placeholder, .reg-field textarea::placeholder, .reg-other input::placeholder { color: #9b9ca3; }
.reg-field input:focus, .reg-field textarea:focus, .reg-other input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent); }
.reg-q [aria-invalid=true] { border-color: var(--req) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--req) 14%, transparent) !important; }
/* Prefijo dentro del campo (@ de Instagram) */
.reg-affix { position: relative; display: block; }
.reg-affix i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; font-style: normal; color: var(--dim); font-size: 18px; pointer-events: none; }
.reg-affix input { padding-left: 46px; }

/* Opciones: base común */
.reg-opts { display: grid; gap: 4px; }
.reg-opt { position: relative; cursor: pointer; min-width: 0; }
.reg-opt > input { position: absolute; opacity: 0; pointer-events: none; }
.reg-card { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; font-size: 16px; line-height: 1.25; transition: background .15s, border-color .15s; }
.reg-card small { display: block; color: var(--dim); font-size: 13.5px; }
.reg-opt:hover .reg-card { background: rgb(40 30 20 / .035); }
.reg-tick { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 1.6px solid var(--dim); border-radius: 50%; background: var(--field); transition: border-color .15s, background .15s; }
.reg-tick svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
/* Una sola: círculo con punto */
.reg-opts.one .reg-tick svg { display: none; }
.reg-opts.one .reg-tick::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); opacity: 0; transition: opacity .15s; }
.reg-opts.one input:checked + .reg-card .reg-tick { border-color: var(--teal); }
.reg-opts.one input:checked + .reg-card .reg-tick::after { opacity: 1; }
/* Varias: casilla cuadrada con tilde */
.reg-opts.many .reg-tick { border-radius: 6px; }
.reg-opts.many input:checked + .reg-card .reg-tick { border-color: var(--teal); background: var(--teal-2); }
.reg-opts.many input:checked + .reg-card .reg-tick svg { opacity: 1; }
.reg-opt > input:focus-visible + .reg-card { outline: 2px solid var(--teal); outline-offset: 0; }
.reg-opt > input[aria-invalid=true] + .reg-card .reg-tick { border-color: var(--req); }

/* "Otro" con su campo en la misma línea */
.reg-otro { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.reg-inline { flex: 1; min-width: 0; max-width: 580px; height: 30px; padding: 2px 4px; border: 0; border-bottom: 1px solid var(--line-2); background: none; font-size: 16px; }
.reg-inline:focus { outline: none; border-bottom-color: var(--teal); }
.reg-opts.grid .reg-inline, .reg-opts.flow .reg-inline { max-width: none; height: 38px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--field); }
.reg-opts.grid .reg-inline:focus, .reg-opts.flow .reg-inline:focus { border-color: var(--teal); }

/* Opciones con borde: grilla de tres columnas, dos filas libres y filas enteras */
.reg-opts.grid, .reg-opts.flow, .reg-opts.rows { gap: 8px 14px; }
.reg-opts.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reg-opts.grid .reg-opt.wide { grid-column: span 2; }
.reg-opts.flow { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.reg-opts.flow .reg-opt { grid-column: span 3; }
.reg-opts.flow .reg-opt:nth-child(6) { grid-column: span 5; }
.reg-opts.flow .reg-opt:nth-child(7) { grid-column: span 4; }
/* "Otro" con su campo ocupa el resto de la última fila */
.reg-opts.flow .reg-opt.otro { grid-column: span 9; }
.reg-opts.rows.two { grid-template-columns: 1fr 1fr; }
.reg-opts.grid .reg-card, .reg-opts.flow .reg-card, .reg-opts.rows .reg-card { margin: 0; height: 100%; min-height: 50px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.reg-opts.rows .reg-card { min-height: 40px; }
.reg-opts.grid .reg-opt:hover .reg-card, .reg-opts.flow .reg-opt:hover .reg-card, .reg-opts.rows .reg-opt:hover .reg-card { background: var(--field); border-color: var(--line-2); }
.reg-opts.grid input:checked + .reg-card, .reg-opts.flow input:checked + .reg-card, .reg-opts.rows input:checked + .reg-card,
.reg-opts.grid .reg-opt:hover input:checked + .reg-card, .reg-opts.flow .reg-opt:hover input:checked + .reg-card, .reg-opts.rows .reg-opt:hover input:checked + .reg-card { border-color: color-mix(in srgb, var(--teal-2) 70%, transparent); background: color-mix(in srgb, var(--mint) 55%, var(--field)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal-2) 70%, transparent); }

/* Tarjetas con dibujo: tipo de experiencia e interés */
.reg-opts.tier { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reg-opts.tier .reg-card { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; height: 100%; margin: 0; padding: 18px 22px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); text-align: left; }
.reg-opts.tier .reg-tick, .reg-opts.mood .reg-tick { position: absolute; top: 14px; right: 14px; }
.reg-art { height: 64px; width: auto; align-self: center; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reg-art .tint { fill: color-mix(in srgb, var(--teal-2) 45%, #fff); stroke: var(--ink); }
.reg-opts.tier b { align-self: center; font: 700 21px/1.1 var(--display); }
.reg-opts.tier em { align-self: center; padding: 4px 16px; border-radius: 99px; background: color-mix(in srgb, var(--mint) 70%, transparent); font-style: normal; font-weight: 500; font-size: 14px; text-align: center; }
.reg-opts.tier .reg-card > span:last-child { font-size: 15px; line-height: 1.32; }
.reg-opts.mood { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.reg-opts.mood .reg-card { position: relative; gap: 18px; height: 100%; min-height: 118px; margin: 0; padding: 14px 44px 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); }
.reg-face { width: 72px; height: 72px; flex: none; padding-right: 0; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reg-face .bg { stroke: none; }
.reg-emo { stroke: none; }
.reg-face .bg.sun { fill: #fdeec4; } .reg-face .bg.rose { fill: #fbdccf; } .reg-face .bg.mint { fill: var(--mint); } .reg-face .bg.sage { fill: #dcecd2; }
.reg-face .skin { fill: #fffaf3; }
.reg-face .hair { fill: var(--teal-2); }
.reg-face .ray { stroke: #e8b23a; stroke-width: 2.4; }
.reg-face .heart { fill: #ec8a78; stroke: none; }
.reg-face .leaf { fill: #6fae6a; stroke: none; }
.reg-face .leaf-v { stroke: #fff; stroke-width: 1.2; }
.reg-mood-txt { display: grid; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 15px; line-height: 1.32; }
.reg-mood-txt b { font: 700 17.5px/1.2 var(--display); }
.reg-opts.tier .reg-opt:hover .reg-card, .reg-opts.mood .reg-opt:hover .reg-card { background: var(--field); border-color: var(--line-2); }
.reg-opts.tier input:checked + .reg-card, .reg-opts.mood input:checked + .reg-card,
.reg-opts.tier .reg-opt:hover input:checked + .reg-card, .reg-opts.mood .reg-opt:hover input:checked + .reg-card { border-color: var(--teal-2); background: color-mix(in srgb, var(--mint) 55%, var(--field)); box-shadow: 0 0 0 1px var(--teal-2), 0 8px 18px color-mix(in srgb, var(--teal) 10%, transparent); }
/* En estas tarjetas la selección es un círculo lleno con tilde */
.reg-opts.tier .reg-tick svg, .reg-opts.mood .reg-tick svg { display: block; }
.reg-opts.tier .reg-tick::after, .reg-opts.mood .reg-tick::after { display: none; }
.reg-opts.tier .reg-tick, .reg-opts.mood .reg-tick { border-color: var(--line-2); }
.reg-opts.tier input:checked + .reg-card .reg-tick, .reg-opts.mood input:checked + .reg-card .reg-tick { border-color: var(--teal-2); background: var(--teal-2); }
.reg-opts.tier input:checked + .reg-card .reg-tick svg, .reg-opts.mood input:checked + .reg-card .reg-tick svg { opacity: 1; }

/* "Otro" del desplegable: campo que aparece al elegirlo */
.reg-other { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .25s ease, opacity .2s; }
.reg-other > div { overflow: hidden; padding: 0 4px; margin: 0 -4px; }
.reg-other.open { grid-template-rows: 1fr; opacity: 1; }
.reg-other input { margin: 4px 0; }

/* Desplegable propio, con aspecto de select */
.reg-menu { position: relative; }
.reg-menu-btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; text-align: left;
  background: var(--field); border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.reg-menu.open .reg-menu-btn, .reg-menu-btn:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent); }
.reg-menu-val.is-empty { color: var(--dim); }
.reg-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: rotate .2s; }
.reg-menu.open .reg-chev { rotate: 180deg; }
.reg-menu-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto;
  border-radius: 12px; border: 1px solid var(--line); background: var(--field); box-shadow: 0 18px 44px rgb(40 30 20 / .14); outline: none;
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s .15s; }
.reg-menu.open .reg-menu-list { opacity: 1; visibility: visible; transition: opacity .15s, visibility 0s; }
.reg-menu-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; cursor: pointer; font-size: 15.5px; transition: background .15s; }
.reg-menu-list li .reg-tick { width: 18px; height: 18px; border: 0; background: none; }
.reg-menu-list li .reg-tick svg { stroke: var(--teal); }
.reg-menu-list li[aria-selected=true] .reg-tick svg { opacity: 1; }
.reg-menu-list li:hover, .reg-menu-list li.active { background: color-mix(in srgb, var(--mint) 50%, transparent); }
.reg-menu-list li[aria-selected=true] { color: var(--teal-ink); font-weight: 600; }

/* Presupuesto: sugerencia, histograma y barra con dos controles */
.reg-suggest { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 10px; background: color-mix(in srgb, #bcdde8 45%, var(--card)); font-size: 15px; }
.reg-suggest svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; }
.reg-suggest b { font-weight: 600; }
.reg-range { --a: .316; --b: .684; --thumb: 32px; position: relative; height: 92px; margin: 6px 3%; }
.reg-hist { position: absolute; left: 16%; right: 16%; top: 0; height: 56px; display: flex; align-items: flex-end; gap: 3px; }
.reg-hist i { flex: 1; background: color-mix(in srgb, var(--teal-2) 16%, transparent); }
.reg-hist i.in { background: color-mix(in srgb, var(--teal-2) 42%, transparent); }
.reg-track { position: absolute; left: 0; right: 0; top: 62px; height: 8px; border-radius: 99px; background: var(--track); }
.reg-track i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * (100% - var(--thumb)) + var(--thumb) / 2); right: calc((1 - var(--b)) * (100% - var(--thumb)) + var(--thumb) / 2); background: var(--teal-2); }
.reg-range input { position: absolute; left: 0; width: 100%; top: 50px; height: 32px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.reg-range input::-webkit-slider-runnable-track { background: none; height: 32px; }
.reg-range input::-moz-range-track { background: none; height: 32px; }
.reg-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: var(--thumb); height: var(--thumb); border-radius: 50%; background: #fff; border: 2.5px solid var(--teal-2); box-shadow: 0 2px 6px rgb(40 30 20 / .2); cursor: grab; }
.reg-range input::-moz-range-thumb { pointer-events: auto; box-sizing: border-box; width: var(--thumb); height: var(--thumb); border-radius: 50%; background: #fff; border: 2.5px solid var(--teal-2); box-shadow: 0 2px 6px rgb(40 30 20 / .2); cursor: grab; }
.reg-range input:focus-visible { outline: none; }
.reg-range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--teal); outline-offset: 2px; }
.reg-range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--teal); outline-offset: 2px; }
.reg-range-ends { display: flex; justify-content: space-between; padding: 0 19%; text-align: center; }
.reg-range-ends div { display: grid; justify-items: center; gap: 4px; }
.reg-range-ends small { color: var(--dim); font-size: 14px; }
.reg-range-ends b { min-width: 92px; padding: 3px 14px; border-radius: 99px; background: color-mix(in srgb, var(--mint) 75%, transparent); font: 600 18px/1.3 var(--display); color: var(--teal-ink); }

/* Escala del 1 al 5 con estrellas */
.reg-stars { position: relative; display: flex; justify-content: space-between; padding: 0 calc(11.5% - 34px); }
.reg-stars::before { content: ""; position: absolute; left: 11.5%; right: 11.5%; top: 62px; height: 2px; background: var(--line-2); }
.reg-star { position: relative; display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.reg-star > input { position: absolute; opacity: 0; pointer-events: none; }
.reg-star-n { min-width: 34px; padding: 2px 8px; border-radius: 99px; background: #eeebe7; text-align: center; font: 600 15px/1.5 var(--display); transition: background .15s; }
.reg-star-ic { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 3px solid transparent; transition: border-color .15s, box-shadow .15s; }
.reg-star-ic svg { width: 40px; height: 40px; fill: #f4b73f; stroke: #e6a52c; stroke-width: 1; stroke-linejoin: round; }
.reg-star:hover .reg-star-ic { border-color: color-mix(in srgb, var(--teal-2) 35%, transparent); }
.reg-star > input:checked ~ .reg-star-n { background: color-mix(in srgb, var(--mint) 90%, var(--teal-2)); }
.reg-star > input:checked ~ .reg-star-ic { border-color: var(--teal-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 70%, transparent), 0 0 14px color-mix(in srgb, var(--teal-2) 40%, transparent); }
.reg-star > input:focus-visible ~ .reg-star-ic { outline: 2px solid var(--teal); outline-offset: 2px; }
.reg-star > input[aria-invalid=true] ~ .reg-star-n { background: color-mix(in srgb, var(--req) 18%, transparent); }
.reg-scale-ends { display: flex; justify-content: space-between; gap: 16px; padding: 0 2.5%; }
.reg-scale-ends small { max-width: 190px; padding: 6px 18px; border-radius: 18px; background: color-mix(in srgb, #bcdde8 32%, var(--card)); text-align: center; font-size: 14px; line-height: 1.2; }

/* Navegación */
.reg-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { min-height: 22px; margin-top: 18px; text-align: center; color: var(--req); font-size: 14.5px; font-weight: 500; }
.form-nav { position: relative; display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 44px; border: 0; border-radius: 999px;
  color: #fff; font: 500 21px/1 var(--display); text-decoration: none; background: linear-gradient(180deg, var(--teal-2), var(--teal));
  box-shadow: 0 1px 0 rgb(255 255 255 / .2) inset, 0 8px 20px color-mix(in srgb, var(--teal) 24%, transparent); transition: filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { cursor: progress; filter: saturate(.6) brightness(1.05); }
.btn.ghost { min-width: 240px; color: var(--ink); background: none; border: 1px solid var(--ink); box-shadow: none; font: 500 19px/1 var(--body); }
.btn.ghost:hover { background: rgb(40 30 20 / .04); filter: none; }
.reg-spark { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: #e0a62a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reg-go .reg-spark { width: 20px; height: 20px; stroke: currentColor; vertical-align: 0; }
.reg-arrow { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Final: agradecimiento, "Sumate a soñar" y contacto. Página completa, fuera de la tarjeta del formulario. */
.fin { width: min(940px, 100% - 28px); margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.fin:focus { outline: none; }
.fin-spark { position: absolute; width: 34px; height: 34px; fill: none; stroke: #efbd4e; stroke-width: 2.6; stroke-linecap: round; pointer-events: none; }
.fin-mark { position: relative; white-space: nowrap; }
.fin-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .08em; min-height: 3px; border-radius: 50%; background: var(--teal-2); transform: rotate(-.8deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.fin-thanks { width: 100%; max-width: 880px; padding: 22px clamp(18px, 5vw, 56px) 34px; border-radius: 26px; background: rgb(252 249 245 / .9);
  border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 2px 4px rgb(60 40 30 / .04), 0 18px 44px rgb(60 40 30 / .08); }
.fin-seal { position: relative; width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); }
.fin-seal svg:not(.fin-spark) { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fin-seal .s-seal { width: 40px; height: 40px; top: -14px; right: -40px; }
.fin-seal.sm { width: 56px; height: 56px; margin-bottom: 10px; }
.fin-seal.sm svg:not(.fin-spark) { width: 30px; height: 30px; }
.fin-title { font: 700 clamp(28px, 4.6vw, 44px)/1.15 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.fin-subtitle { margin-top: 18px; font: 500 clamp(20px, 2.6vw, 25px)/1.3 var(--body); }
.fin-text { max-width: 62ch; margin: 12px auto 0; color: var(--dim); font-size: clamp(15px, 1.9vw, 18px); line-height: 1.5; }

.fin-join { width: 100%; margin-top: 48px; }
.fin-h { position: relative; display: inline-block; font: 700 clamp(38px, 6.4vw, 58px)/1.05 var(--display); letter-spacing: -.02em; }
.fin-h .s-h { width: 46px; height: 46px; top: -18px; right: -58px; }
.fin-lead { margin-top: 14px; color: var(--dim); font-style: italic; font-size: clamp(15px, 1.9vw, 18px); }
.fin-socials { display: grid; grid-template-columns: 1fr 1fr 2.05fr; gap: 22px; margin-top: 28px; text-align: left; }
.fin-social { position: relative; display: grid; align-content: end; gap: 10px; min-height: 196px; padding: 22px 22px 22px; border-radius: 20px; color: var(--ink); text-decoration: none;
  background: rgb(252 249 245 / .92); border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 2px 4px rgb(60 40 30 / .05), 0 12px 30px rgb(60 40 30 / .08); transition: border-color .15s, box-shadow .15s; }
a.fin-social:hover { border-color: color-mix(in srgb, var(--teal) 40%, transparent); box-shadow: 0 2px 4px rgb(60 40 30 / .05), 0 14px 34px rgb(60 40 30 / .12); }
.fin-social .s-card { width: 30px; height: 30px; top: 12px; right: 18px; }
.fin-social.wide { grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; align-content: stretch; gap: 8px 20px; }
.fin-social.wide .fin-stamp-wrap { grid-row: 1; justify-self: start; }
.fin-social.wide .fin-wa { display: contents; }
.fin-social.wide .fin-wa-k { grid-row: 1; grid-column: 2 / 4; align-self: center; }
.fin-social.wide .fin-wa > span { grid-row: 2; grid-column: 1 / 3; align-self: end; color: var(--dim); font-style: italic; font-size: 15.5px; line-height: 1.45; }
.fin-social.wide .fin-go { grid-row: 2; grid-column: 3; align-self: end; }
.fin-social.wide .s-card { top: 40px; right: 26px; }
/* Estampilla: borde troquelado (agujeros solo en el contorno) e ícono de la red en blanco */
.fin-stamp-wrap { display: block; width: max-content; justify-self: center; filter: drop-shadow(0 3px 5px rgb(60 40 30 / .16)); }
.fin-stamp { --hole: 4px; display: grid; place-items: center; width: 88px; height: 88px; padding: 9px; background: #fffaf3; transform: rotate(-4deg);
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - 2 * var(--hole)) calc(100% - 2 * var(--hole)) no-repeat, radial-gradient(circle var(--hole) at var(--hole) var(--hole), #0000 92%, #000) calc(-1 * var(--hole)) calc(-1 * var(--hole)) / calc(2 * var(--hole)) calc(2 * var(--hole));
          mask: linear-gradient(#000 0 0) center / calc(100% - 2 * var(--hole)) calc(100% - 2 * var(--hole)) no-repeat, radial-gradient(circle var(--hole) at var(--hole) var(--hole), #0000 92%, #000) calc(-1 * var(--hole)) calc(-1 * var(--hole)) / calc(2 * var(--hole)) calc(2 * var(--hole)); }
.fin-stamp svg { width: 100%; height: 100%; padding: 13px; border-radius: 2px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fin-stamp svg .fill { fill: #fff; }
.fin-stamp.instagram { transform: rotate(-5deg); }
.fin-stamp.instagram svg { background: linear-gradient(140deg, #e48a9b, #cf6f86); }
.fin-stamp.pinterest { transform: rotate(4deg); }
.fin-stamp.pinterest svg { background: linear-gradient(140deg, #f4b450, #eb9a35); stroke-width: 2.3; }
.fin-stamp.whatsapp { transform: rotate(-6deg); }
.fin-stamp.whatsapp svg { background: linear-gradient(140deg, #5cbf63, #3b9f48); }
.fin-net { display: grid; justify-items: center; text-align: center; padding-right: 0; }
.fin-net small { font-style: italic; font-size: 15px; color: var(--dim); }
.fin-net b { position: relative; font: 700 clamp(22px, 2.6vw, 27px)/1.1 var(--display); }
.fin-net b::after { content: ""; position: absolute; left: 6%; right: 18%; bottom: -8px; height: 3px; border-radius: 50%; background: var(--teal-2); }
.fin-social:not(.wide) { grid-template-columns: 1fr auto; align-items: end; column-gap: 10px; }
.fin-social:not(.wide) .fin-stamp-wrap { grid-column: 1 / -1; }
.fin-social:not(.wide) .fin-go { margin-bottom: 6px; }
.fin-wa-k { font: 700 clamp(17px, 2vw, 21px)/1.15 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.fin-wa-k em { display: inline-block; margin-top: 4px; padding: 0 8px 2px; font-style: normal; font-size: 1.35em; letter-spacing: .04em; border-radius: 40% 55% 45% 60% / 60% 45% 55% 40%;
  background: linear-gradient(100deg, transparent 0, #cfe8a9 6%, #d8edb6 92%, transparent 100%); }
.fin-go { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #3fa77a, #2c8a62); color: #fff; box-shadow: 0 4px 10px rgb(44 138 98 / .25); }
.fin-social.instagram .fin-go, .fin-social.pinterest .fin-go { width: 38px; height: 38px; }
.fin-social.pinterest .fin-go { background: linear-gradient(180deg, var(--teal-2), var(--teal)); }
.fin-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Separador: avión con su recorrido y un corazón */
.fin-divider { position: relative; width: 100%; height: 44px; margin: 40px 0 24px; }
.fin-divider::before, .fin-divider::after { content: ""; position: absolute; top: 50%; height: 1.5px; background: var(--teal-ink); opacity: .75; }
.fin-divider::before { left: 0; width: calc(50% - 150px); }
.fin-divider::after { right: 0; width: calc(50% - 140px); }
.fin-divider svg { position: absolute; left: 50%; top: 0; width: 260px; height: 44px; translate: -50% 0; fill: none; }
.fin-divider .plane { fill: var(--teal); }
.fin-divider .trail { stroke: var(--teal-ink); stroke-width: 1.3; stroke-dasharray: 4 4; opacity: .8; }
.fin-divider .heart { stroke: var(--teal-ink); stroke-width: 1.3; stroke-dasharray: 3 3; }

/* Contacto */
.fin-contact { width: 100%; max-width: 900px; }
.fin-q { position: relative; display: inline-block; max-width: 680px; font: 700 clamp(25px, 3.8vw, 36px)/1.2 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.fin-q .s-q { width: 32px; height: 32px; top: -6px; right: -34px; }
.fin-script { margin-top: 10px; }
.fin-script span { display: inline-block; padding: 4px 26px 10px; font: 500 clamp(26px, 4vw, 36px)/1.1 "Caveat", "Segoe Script", cursive; transform: rotate(-2deg);
  border-radius: 45% 55% 50% 50% / 60% 50% 50% 40%; background: linear-gradient(100deg, transparent 0, color-mix(in srgb, var(--mint) 95%, #fff) 6%, var(--mint) 92%, transparent 100%); }
#finForm { display: grid; gap: 4px; margin-top: 26px; text-align: left; }
.fin-line { display: flex; align-items: flex-start; gap: 18px; padding: 12px 6px 10px; border-bottom: 1.5px solid #6c6f78; }
.fin-line:focus-within { border-bottom-color: var(--teal); }
.fin-ic { width: 26px; height: 26px; flex: none; margin-top: 3px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fin-line input, .fin-line textarea { flex: 1; min-width: 0; border: 0; background: none; padding: 4px 0; font-size: 16px; outline: none; resize: vertical; }
.fin-line input::placeholder, .fin-line textarea::placeholder { color: var(--dim); font-style: italic; }
.fin-line.msg textarea { min-height: 76px; line-height: 1.5; }
.fin-line:has([aria-invalid=true]) { border-bottom-color: var(--req); }
.fin-err { min-height: 22px; margin-top: 10px; text-align: center; color: var(--req); font-size: 14.5px; font-weight: 500; }
.fin-send-wrap { position: relative; justify-self: center; margin-top: 4px; }
.fin-send-wrap .s-btn { width: 30px; height: 30px; top: -24px; right: -12px; }
.fin-send { min-width: 340px; }
.fin-send svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fin-sent { display: grid; justify-items: center; gap: 4px; margin-top: 26px; padding: 24px; border-radius: 20px; background: rgb(252 249 245 / .9); border: 1px solid var(--line); }
.fin-sent:focus { outline: none; }
.fin-sent p { color: var(--dim); }
.fin-sent b { color: var(--ink); font: 600 20px/1.3 var(--display); }

@media (max-width: 760px) {
  .rg-brand { margin-bottom: 20px; }
  .rg-brand img { width: 52px; }
  .rg-word span { font-size: 21px; }
  .rg-tagline { font-size: 9.5px; letter-spacing: .14em; }
  .reg-top { font-size: 13px; }
  .reg-bars { gap: 6px; margin: 12px 0 26px; }
  .reg-fields { grid-template-columns: minmax(0, 1fr); }
  .reg-q { grid-column: 1 / -1; }
  .reg-opts.grid, .reg-opts.tier, .reg-opts.mood, .reg-opts.rows.two { grid-template-columns: 1fr; }
  .reg-opts.flow { grid-template-columns: 1fr 1fr; }
  .reg-opts.flow .reg-opt, .reg-opts.flow .reg-opt:nth-child(6), .reg-opts.flow .reg-opt:nth-child(7) { grid-column: auto; }
  .reg-opts.flow .reg-opt:nth-child(6) { grid-column: 1 / -1; }
  .reg-opts.flow .reg-opt:nth-child(7), .reg-opts.flow .reg-opt.otro, .reg-opts.flow .reg-opt:has(+ .otro) { grid-column: 1 / -1; }
  .reg-opts.grid .reg-opt.wide { grid-column: auto; }
  .reg-range { margin-inline: 0; }
  .reg-hist { left: 8%; right: 8%; }
  .reg-range-ends { padding: 0 6%; }
  .reg-stars { padding: 0; }
  .reg-stars::before { left: 26px; right: 26px; top: 54px; }
  .reg-star-ic { width: 52px; height: 52px; }
  .reg-star-ic svg { width: 32px; height: 32px; }
  .reg-scale-ends { padding: 0; }
  .reg-scale-ends small { max-width: 46%; padding: 6px 12px; font-size: 13px; }
  .form-nav { flex-direction: column-reverse; gap: 12px; }
  .btn { width: 100%; min-height: 56px; font-size: 19px; }
  .btn.ghost { min-height: 50px; font-size: 17px; }
  .fin-thanks { padding-top: 18px; }
  .fin-seal .s-seal { right: -34px; }
  .fin-h .s-h { right: -44px; width: 36px; height: 36px; }
  .fin-socials { grid-template-columns: 1fr 1fr; gap: 14px; }
  .fin-social { min-height: 170px; padding: 18px 14px; }
  .fin-social.wide { grid-column: 1 / -1; min-height: 0; }
  .fin-stamp { width: 72px; height: 72px; padding: 7px; }
  .fin-stamp svg { padding: 10px; }
  .fin-social:not(.wide) { grid-template-columns: 1fr; justify-items: center; }
  .fin-social:not(.wide) .fin-go { margin: 6px 0 0; }
  .fin-net b::after { bottom: -6px; }
  .fin-divider::before { width: calc(50% - 132px); }
  .fin-divider::after { width: calc(50% - 124px); }
  .fin-q .s-q { display: none; }
  .fin-script span { padding: 4px 16px 8px; }
  .fin-send { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
