/* Zavia Marketing - herramienta de una pregunta por pantalla («Detecta dónde pierdes ventas»).
   Mismos colores del sitio (azul noche y verde). Casi sin texto: pregunta, botones con letra, avance. */
.fl-hero { text-align: center; color: #fff; padding: clamp(24px, 6vw, 56px) var(--gutter) clamp(76px, 14vw, 124px);
  background: radial-gradient(120% 140% at 100% 0%, rgba(180, 211, 137, 0.30) 0%, rgba(180, 211, 137, 0) 55%), linear-gradient(135deg, #0a1a2b 0%, #060e17 100%); }
.fl-kicker { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green); }
.fl-hero h1 { margin: 12px auto 0; max-width: 16ch; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.08; font-weight: 800; color: #fff; text-wrap: balance; }
.fl-hero h1 em { font-style: normal; color: var(--green); }
.fl-sub { margin: 14px auto 0; font-size: clamp(1rem, 2.6vw, 1.15rem); color: rgba(255, 255, 255, 0.84); }
.fl-wrap { position: relative; max-width: 580px; margin: calc(-1 * clamp(58px, 10vw, 84px)) auto 56px; padding: 0 var(--gutter); }
.fl-card { background: var(--white); border-radius: 22px; padding: clamp(20px, 4.5vw, 34px); box-shadow: 0 20px 54px rgba(6, 14, 23, 0.2); min-height: 340px; }
.fl-screen { animation: flIn .22s ease-out; }
@keyframes flIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fl-screen { animation: none; } .fl-fill { transition: none !important; } }

.fl-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 26px; }
.fl-back { font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); background: none; border: 0; padding: 6px 2px; cursor: pointer; min-height: 32px; }
.fl-back:hover { color: var(--ink); }
.fl-back[hidden] { visibility: hidden; display: block !important; }
.fl-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fl-fill { display: block; height: 100%; border-radius: 999px; background: var(--green-deep); transition: width .3s ease; }
.fl-count { font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); min-width: 2.4em; text-align: right; }

.fl-q { margin: 0; font-size: clamp(1.5rem, 5.2vw, 1.95rem); line-height: 1.18; font-weight: 800; color: var(--ink); text-wrap: balance; }
.fl-q:focus { outline: none; }
.fl-note { margin: 8px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.fl-opts { display: grid; gap: 10px; margin-top: 22px; }
.fl-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 12px 16px; text-align: left; font: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.fl-opt:hover { border-color: var(--green-deep); background: var(--green-soft); }
.fl-opt:active { transform: scale(0.99); }
.fl-opt:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 2px; }
.fl-key { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line-strong); font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); background: var(--white); }
.fl-txt { flex: 1 1 auto; min-width: 0; }
.fl-txt small { display: block; margin-top: 1px; font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }
.fl-opt.on { background: var(--green); border-color: var(--green); }
.fl-opt.on .fl-key { border-color: var(--white); }
.fl-opt.on .fl-txt small { color: var(--ink); }

.fl-pts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.fl-pt { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--green-soft); border: 1px solid var(--green-line); }
.fl-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-deep); color: #fff; font-weight: 800; }
.fl-lab { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); }
.fl-pt strong { display: block; margin-top: 2px; font-size: 0.97rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.fl-go { width: 100%; margin-top: 22px; padding: 17px 22px; font-size: 1.05rem; text-align: center; }
.fl-go[disabled] { opacity: .7; cursor: wait; }

.fl-form { display: grid; gap: 16px; margin-top: 22px; }
.fl-field label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.fl-field input, .fl-field select { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 12px; }
.fl-field input:focus, .fl-field select:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px var(--green-line); }
.fl-field input[aria-invalid="true"] { border-color: #b3261e; }
.fl-tel { display: grid; grid-template-columns: minmax(118px, 38%) 1fr; gap: 10px; }
.fl-err { margin: 6px 0 0; min-height: 0; font-size: 0.86rem; color: #b3261e; }
.fl-err:empty { display: none; }
.fl-ok { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }
.fl-ok input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-deep); }
.fl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fl-gerr { margin: 0; font-size: 0.9rem; color: #b3261e; }
.fl-gerr:empty { display: none; }
.fl-gerr a { color: #b3261e; }

.fl-done { text-align: center; padding: 22px 0 10px; }
.fl-check { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: var(--ink); }
.fl-check svg { width: 38px; height: 38px; }
.fl-done .fl-q { text-align: center; }
.fl-done p { margin: 10px 0 0; font-size: 1.05rem; color: var(--ink-soft); }
@media (max-width: 420px) { .fl-tel { grid-template-columns: 1fr; } }
@media print { .fl-hero { background: none; color: #000; } }

.fl-src { display: block; margin-top: 8px; font-size: 0.78rem; line-height: 1.4; color: var(--ink-soft); font-weight: 600; }
.fl-src2 { display: block; margin-top: 3px; font-size: 0.7rem; line-height: 1.35; color: var(--ink-soft); }

/* bloques del diagnóstico: idea en negrita y líneas cortas «Dato:» / «Te recomendamos:», sin espacio entre ellas */
.fl-tx { display: block; margin-top: 2px; font-size: 0.95rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.fl-tx b { font-weight: 800; }
.fl-ln { display: block; margin-top: 3px; }
.fl-k { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; color: var(--green-deep); margin-right: 2px; }
