/* Formulario de diagnóstico de Vira · Expo China 2026.
   Misma marca que Vira City (Outfit + Inter, azul noche, coral), sin el 3D.
   El color de acento (--acc) y el fondo cambian con el área que está respondiendo. */
@font-face { font-family: "Outfit"; src: url(../vendor/fonts/outfit-latin.woff2) format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../vendor/fonts/inter-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --navy: #1F2034; --coral: #E56248; --teal: #2F9286; --paper: #FFFFFF; --sand: #F1EDE6;
  --ink2: #555666; --ink3: #74758A; --line: #E3E0D9; --green: #1FA463; --gold: #F4C152;
  --acc: #E56248; --acc-d: #B9452E; --acc-s: #FDEEEA; --bg: #FAF8F5;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .9, .25, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; font-family: var(--sans); color: var(--navy); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background-color .45s; }
input, button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
h1:focus, h2:focus { outline: none; }

/* ---------------------------------------------------------------- fondo */
.amb { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.amb .b1, .amb .b2 { position: absolute; width: 78vmax; height: 78vmax; border-radius: 50%; background: radial-gradient(closest-side, var(--acc), transparent 72%); opacity: .13; will-change: transform; }
.amb .b1 { top: -34vmax; left: -30vmax; animation: deriva 26s ease-in-out infinite alternate; }
.amb .b2 { bottom: -40vmax; right: -34vmax; opacity: .1; animation: deriva 32s ease-in-out infinite alternate-reverse; }
@keyframes deriva { from { transform: translate(0, 0) scale(1); } to { transform: translate(9vmax, 6vmax) scale(1.14); } }
.floats { position: absolute; inset: 0; transition: opacity .3s; }
.floats.out { opacity: 0; }
.floats span { position: absolute; bottom: -90px; opacity: .2; animation: subir linear infinite; will-change: transform; }
@keyframes subir { from { transform: translateY(0) rotate(-14deg); } to { transform: translateY(-130vh) rotate(20deg); } }
/* Al pasar a otra área, su color se abre en círculo desde donde tocó (solo transform: no se traba). */
.wash { position: fixed; z-index: 1; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%; transform: scale(0); pointer-events: none; will-change: transform, opacity; }

/* ---------------------------------------------------------------- página */
.page { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px calc(22px + env(safe-area-inset-bottom, 0px)); }
.top { display: flex; align-items: center; gap: 8px; padding: 4px 2px 12px; min-height: 50px; }
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; text-decoration: none; color: var(--navy); font: 900 24px/1 var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font: 700 12.5px/1 var(--sans); white-space: nowrap; background: rgba(31, 32, 52, .07); color: var(--ink2); }

.prog { padding: 0 2px 4px; animation: entrar .4s var(--ease) both; }
.prog-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font: 800 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.prog-row b { font-weight: 800; color: var(--acc-d); letter-spacing: 0; }
.prog-bar { height: 7px; border-radius: 9px; background: rgba(31, 32, 52, .09); overflow: hidden; }
.prog-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--acc); transition: width .55s var(--ease), background-color .4s; }

.stage { flex: 1; padding-top: 12px; }
.card { background: var(--paper); border-radius: 26px; padding: 22px 18px 20px; border: 1px solid rgba(31, 32, 52, .06); box-shadow: 0 1px 0 rgba(31, 32, 52, .03), 0 22px 44px -26px rgba(31, 32, 52, .34); }
.pie { text-align: center; color: var(--ink3); font-size: 12px; padding: 18px 0 0; }
@media (min-width: 560px) {
  .page { padding-top: 22px; }
  .card { padding: 30px 30px 26px; }
}

.cargando { display: grid; place-items: center; gap: 14px; min-height: 240px; color: var(--ink3); font-size: 14px; }
.cargando p { margin: 0; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--sand); border-top-color: var(--acc); animation: giro .8s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }
@keyframes entrar { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } 60% { transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- textos y botones */
.kicker { margin: 0 0 8px; font: 800 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--acc-d); }
h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.04; font-weight: 900; letter-spacing: -.03em; }
h1 span { color: var(--acc); }
h2.q { font-size: clamp(21px, 5.8vw, 25px); line-height: 1.18; font-weight: 800; }
.lead { font-size: 16.5px; line-height: 1.5; color: var(--ink2); margin: 12px 0 0; }
.sub { font-size: 14.5px; line-height: 1.45; color: var(--ink3); margin: 8px 0 0; }
.sub b { color: var(--acc-d); }
em { font-style: normal; font-weight: 600; font-size: .82em; color: var(--ink3); margin-left: 4px; }
.fino { font-size: 12.5px; line-height: 1.45; color: var(--ink3); text-align: center; margin: 12px 0 0; }
.enlace { display: block; width: fit-content; margin: 8px auto 0; padding: 8px 10px; font: 600 14px var(--sans); color: var(--ink3); text-decoration: underline; text-underline-offset: 3px; }
.err { min-height: 18px; margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: #C0392B; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 999px; font: 700 16px var(--sans); text-decoration: none; text-align: center; transition: transform .12s, box-shadow .2s, background-color .3s, opacity .2s; }
.btn:active { transform: scale(.975); }
.btn.big { min-height: 58px; font: 800 17.5px var(--display); letter-spacing: .01em; }
.btn.pri { background: var(--acc); color: #fff; box-shadow: 0 7px 0 -2px var(--acc-d), 0 16px 26px -16px var(--acc-d); }
.btn.pri:active { transform: translateY(3px); box-shadow: 0 3px 0 -1px var(--acc-d), 0 8px 16px -12px var(--acc-d); }
.btn.pri:disabled { background: #DDD9D2; color: #8C8A86; box-shadow: 0 6px 0 -2px #C3BEB5; cursor: default; transform: none; }
.btn.sec { background: var(--paper); color: var(--navy); border: 2px solid var(--line); }
.btn.wa { background: var(--green); color: #fff; box-shadow: 0 7px 0 -2px #13804b; }
.btn .ico, .enlace .ico { width: 19px; height: 19px; flex: none; }
.btn.listo { animation: latido 1.5s infinite; }
@keyframes latido { 0%, 100% { box-shadow: 0 7px 0 -2px var(--acc-d), 0 0 0 0 var(--acc); } 60% { box-shadow: 0 7px 0 -2px var(--acc-d), 0 0 0 12px transparent; } }
.fila { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; }
.fila::before { content: ""; position: absolute; inset: -4px -6px -10px; z-index: -1; background: linear-gradient(to top, var(--paper) 74%, rgba(255, 255, 255, 0)); pointer-events: none; }
.fila .atras { flex: none; width: 56px; min-height: 56px; padding: 0; border-radius: 50%; background: var(--sand); color: var(--ink2); }
.fila .atras .ico { width: 22px; height: 22px; transform: rotate(180deg); }
.fila .pista { flex: 1; text-align: center; font-size: 13.5px; color: var(--ink3); }

.campo { display: block; margin-top: 18px; font: 700 14px var(--sans); color: var(--ink2); }
.campo input, .campo textarea, .otra { display: block; width: 100%; margin-top: 7px; padding: 13px 15px; border-radius: 15px; border: 2px solid var(--line); background: #fff; font: 500 16px/1.4 var(--sans); color: var(--navy); outline: none; transition: border-color .15s, box-shadow .15s; resize: none; }
.campo input:focus, .campo textarea:focus, .otra:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-s); }
.campo input::placeholder, .campo textarea::placeholder, .otra::placeholder { color: #A9A9B8; font-weight: 400; }
.cnt { display: block; text-align: right; font-size: 11.5px; color: var(--ink3); font-weight: 500; margin-top: 4px; }
.otra { margin-top: 10px; animation: entrar .3s var(--ease) both; }

/* ---------------------------------------------------------------- opciones */
.opts { display: grid; gap: 9px; margin-top: 16px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); text-align: left; font: 600 15.5px/1.3 var(--sans); color: var(--navy);
  transition: border-color .15s, background-color .15s, transform .12s, opacity .2s; animation: entrar .42s var(--ease) both; animation-delay: calc(var(--i, 0) * 38ms + 50ms); }
.opt:active { transform: scale(.985); }
.opt > span { flex: 1; }
.opt kbd, .opt .box, .opt .o-ic { flex: none; display: grid; place-items: center; transition: background-color .15s, color .15s, border-color .15s; }
.opt kbd { width: 28px; height: 28px; border-radius: 9px; background: var(--sand); color: var(--ink2); font: 800 12.5px var(--sans); }
.opt .box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #CCC8C0; background: #fff; color: #fff; }
.opt .box .ico { width: 16px; height: 16px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .2s var(--ease); }
.opt .o-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--sand); color: var(--ink2); }
.opt .o-ic .ico { width: 21px; height: 21px; }
.opt .tick { flex: none; width: 21px; height: 21px; stroke-width: 3; color: var(--acc); opacity: 0; transform: scale(.3); transition: opacity .15s, transform .22s var(--ease); }
.opt.on { border-color: var(--acc); background: var(--acc-s); }
.opt.on kbd, .opt.on .o-ic { background: var(--acc); color: #fff; }
.opt.on .box { background: var(--acc); border-color: var(--acc); }
.opt.on .box .ico, .opt.on .tick { opacity: 1; transform: none; }
.opt.none { border-style: dashed; color: var(--ink2); }
.opt.dim { opacity: .42; }
@media (hover: hover) { .opt:hover { border-color: var(--acc); } .area:hover { border-color: var(--c); } }
.cuenta { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: var(--acc-s); color: var(--acc-d); font: 800 12px var(--sans); vertical-align: 2px; }

/* áreas: fichas de dos columnas (ícono, nombre y el orden en que las marcó) */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.area { position: relative; display: grid; align-content: start; justify-items: start; gap: 10px; min-height: 104px; padding: 13px; border-radius: 18px; border: 2px solid var(--line); background: var(--paper); text-align: left;
  transition: border-color .15s, background-color .15s, transform .12s, opacity .2s; animation: entrar .42s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 50ms); }
.area:active { transform: scale(.97); }
.area .a-ic, .a-head .a-ic { display: grid; place-items: center; background: var(--c); color: #fff; }
.area .a-ic { width: 42px; height: 42px; border-radius: 13px; transition: transform .25s var(--ease); }
.area .a-ic .ico { width: 22px; height: 22px; }
.area b { font: 700 14.5px/1.22 var(--sans); padding-right: 2px; }
.area .ord { position: absolute; right: 11px; top: 11px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #CCC8C0; display: grid; place-items: center; font: 800 13px var(--display); color: #fff; transition: background-color .15s, border-color .15s, transform .2s var(--ease); }
.area.on { border-color: var(--c); background: var(--s); }
.area.on .a-ic { transform: scale(1.08) rotate(-6deg); }
.area.on .ord { background: var(--c); border-color: var(--c); transform: scale(1.08); }
.area.dim { opacity: .42; }
@media (min-width: 560px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.inicio h1 { font-size: clamp(27px, 7.6vw, 36px); }
.inicio .lead { font-size: 15.5px; margin-top: 10px; }

/* preguntas de un área */
.a-head { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 5px 13px 5px 5px; border-radius: 99px; background: var(--sand); font: 700 13px/1 var(--sans); color: var(--navy); }
.a-head .a-ic { width: 28px; height: 28px; border-radius: 50%; }
.a-head .a-ic .ico { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- diagnóstico */
.ana { display: grid; justify-items: center; text-align: center; padding: 22px 0 14px; }
.radar { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 18px; }
.radar img { width: 56px; height: 56px; border-radius: 16px; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--sand); border-top-color: var(--acc); animation: giro .9s linear infinite; }
.ana h2 { font-size: 22px; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; text-align: left; font-size: 14.5px; color: var(--ink3); }
.checks li { display: flex; align-items: center; gap: 10px; transition: color .25s; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line); transition: background-color .25s, border-color .25s; }
.checks li.ok { color: var(--navy); font-weight: 600; }
.checks li.ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

.res { padding-top: 24px; }
.r-head { text-align: center; }
.r-ok { width: 66px; height: 66px; margin: 0 auto 12px; display: block; }
.r-ok circle { fill: none; stroke: var(--green); stroke-width: 4; stroke-dasharray: 176; stroke-dashoffset: 176; animation: trazo .7s .1s var(--ease) forwards; transform: rotate(-90deg); transform-origin: center; }
.r-ok path { fill: none; stroke: var(--green); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: trazo .45s .6s var(--ease) forwards; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
.r-head h1 { font-size: clamp(25px, 7vw, 31px); }
.r-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.r-meta .chip { white-space: normal; text-align: center; line-height: 1.2; }
.r-tipo { display: inline-flex; margin-top: 12px; padding: 8px 15px; border-radius: 99px; font: 800 13.5px var(--display); background: var(--navy); color: #fff; }

.blk { margin-top: 14px; padding: 16px 15px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); animation: entrar .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 250ms); }
.blk h4 { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font: 800 11.5px/1 var(--sans); letter-spacing: .11em; text-transform: uppercase; color: var(--ink3); }
.blk h4 .ico { width: 15px; height: 15px; }
.blk.need { border-left: 5px solid var(--c, var(--acc)); }
.r-title { display: block; font: 800 20px/1.15 var(--display); }
.blk p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.r-how { display: flex; gap: 8px; align-items: flex-start; margin-top: 9px !important; padding: 9px 11px; border-radius: 12px; background: var(--sand); font-size: 13.5px !important; }
.r-how .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.r-how b { color: var(--navy); }
.r-difs { list-style: none; margin: 11px 0 0; padding: 0; display: grid; gap: 9px; }
.r-difs li { display: flex; gap: 10px; align-items: flex-start; }
.r-difs .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #FFF1DC; color: #B26A00; }
.r-difs b { display: block; font: 700 14.5px/1.3 var(--sans); }
.r-difs small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink3); }
.r-quote { display: block; margin-top: 11px; padding: 10px 13px; border-left: 3px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink2); font-style: italic; quotes: "“" "”"; }

.blk.prop { border: 2px solid var(--c); }
.p-top { display: flex; align-items: center; gap: 12px; }
.p-logo, .p-ic { flex: none; width: 54px; height: 54px; border-radius: 15px; }
.p-logo { object-fit: cover; }
.p-ic { display: grid; place-items: center; background: var(--c); color: #fff; }
.p-ic .ico { width: 27px; height: 27px; }
.p-top > div { flex: 1; min-width: 0; }
.p-top b { display: block; font: 800 21px/1.1 var(--display); }
.p-top small { display: block; margin-top: 4px; font: 700 12px var(--sans); color: var(--c); }
.p-lema { margin: 12px 0 0 !important; font-size: 14.5px !important; line-height: 1.45 !important; color: var(--ink2) !important; }
.ring { flex: none; position: relative; width: 66px; height: 66px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: var(--sand); }
.ring .fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: 169.6; transition: stroke-dashoffset 1.1s .35s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 16px var(--display); }
.tipo { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 11px; border-radius: 99px; font: 700 12px var(--sans); }
.tipo .ico { width: 14px; height: 14px; }
.tipo.demo { background: #E4F6EC; color: #157A47; }
.tipo.cons { background: #E6F2F0; color: #1F6F65; }
.ayuda { margin-top: 12px !important; padding: 12px 14px; border-radius: 14px; background: var(--sand); font-size: 15px !important; line-height: 1.5 !important; color: var(--navy) !important; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.stat { padding: 10px 6px; border-radius: 13px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font: 800 19px/1.1 var(--display); color: var(--c); }
.stat span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.25; color: var(--ink3); }
.src { margin-top: 6px !important; font-size: 11.5px !important; color: var(--ink3) !important; text-align: center; }
.bul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.bul li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.bul .ico { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--c); color: #fff; stroke-width: 3; }
.nota { display: flex; gap: 8px; margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: #FFF8E8; color: #7A5A12 !important; font-size: 12.5px !important; line-height: 1.4 !important; }
.nota .ico { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.blk.sig .btn { margin-top: 4px; }
.blk.sig .btn + .btn { margin-top: 10px; }
.blk.sig .fino { text-align: left; margin-top: 10px; }
.blk.sig .enlace { margin: 6px 0 0; padding-left: 0; }

.r-sub { margin: 22px 2px 0; font: 800 17px var(--display); }
.rec { display: flex; gap: 12px; margin-top: 10px; padding: 13px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); animation: entrar .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 250ms); }
.rec .p-logo, .rec .p-ic { width: 42px; height: 42px; border-radius: 12px; }
.rec .p-ic .ico { width: 21px; height: 21px; }
.rec-tx { flex: 1; min-width: 0; }
.rec-tx small { font: 700 12px var(--sans); color: var(--c); }
.rec-tx b { display: block; font: 800 16px/1.2 var(--display); }
.barra { height: 6px; margin: 7px 0; border-radius: 6px; background: var(--sand); overflow: hidden; }
.barra i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--c); transition: width 1s .4s var(--ease); }
.rec-tx span { display: block; font-size: 13px; line-height: 1.4; color: var(--ink2); }
.rec-tx a { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font: 700 13.5px var(--sans); color: var(--c); text-decoration: none; }
.rec-tx a .ico { width: 15px; height: 15px; }
.sin-dif { margin: 12px 4px 0; font-size: 12.5px; line-height: 1.45; color: var(--ink3); }
.todas { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 14px; border-radius: 18px; background: var(--acc-s); color: var(--navy); text-decoration: none; }
.todas .t-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acc); color: #fff; }
.todas .t-ic .ico { width: 21px; height: 21px; }
.todas span { flex: 1; min-width: 0; }
.todas b { display: block; font: 700 14.5px/1.25 var(--sans); }
.todas small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--ink2); }
.todas > .ico { width: 18px; height: 18px; flex: none; color: var(--acc-d); }

/* Conectemos contigo */
.contacto { margin-top: 20px; padding: 22px 18px 20px; border-radius: 24px; background: var(--navy); color: #fff; scroll-margin-top: 14px; }
.contacto h3 { font-size: 22px; font-weight: 800; }
.contacto > form > p, .contacto .enviado p { margin: 6px 0 4px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.contacto .campo { margin-top: 13px; color: rgba(255, 255, 255, .86); }
.contacto .campo em { color: rgba(255, 255, 255, .5); }
.contacto .campo input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.contacto .campo input::placeholder { color: rgba(255, 255, 255, .38); }
.contacto .campo input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .14); }
.dos { display: grid; gap: 0 10px; }
@media (min-width: 560px) { .dos { grid-template-columns: 1fr 1fr; } }
.acepto { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .8); cursor: pointer; }
.acepto input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--acc); }
.acepto a { color: #fff; }
.contacto .err { color: #FFB4A6; }
.contacto .btn.pri { margin-top: 6px; }
.contacto .enlace { color: rgba(255, 255, 255, .7); }
.contacto .mas { margin: 10px 0 0; padding-left: 0; font-size: 13.5px; }
.enviado { text-align: center; animation: entrar .45s var(--ease) both; }
.enviado .r-ok { width: 58px; height: 58px; }
.enviado .r-ok circle, .enviado .r-ok path { stroke: #5FE0A1; }
.enviado p b { color: #fff; }
.enviado .btn { margin-top: 14px; }

.fin { margin-top: 16px; display: grid; gap: 4px; justify-items: center; }
.fin .enlace { margin: 0; text-align: center; }
.promesa { margin: 14px 0 0; text-align: center; font: 700 13px var(--sans); color: var(--ink2); }

/* Tablet del stand: aviso antes de reiniciar por inactividad */
.idle { position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 99px; background: var(--navy); color: #fff; font: 600 14px var(--sans); white-space: nowrap; box-shadow: 0 16px 34px -14px rgba(31, 32, 52, .7); }
.idle button { padding: 9px 15px; border-radius: 99px; background: #fff; color: var(--navy); font: 800 13.5px var(--sans); }
.confetti-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 100; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .floats { display: none; }
}
