/* Ventana «Que me llamen» en las páginas de presentación (la arma assets/comun.js). Todo bajo .dlg. */
.dlg{border:0;padding:0;border-radius:16px;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 24px);background:#fff;color:#3b4527;box-shadow:0 20px 60px rgba(0,0,0,.28);font-family:Figtree,system-ui,sans-serif}
.dlg::backdrop{background:rgba(35,42,22,.55)}
@media(max-width:600px){.dlg{width:100%;max-width:100%;margin:auto 0 0;border-radius:18px 18px 0 0;max-height:92dvh}}
.dlg *{box-sizing:border-box}
.dlg-in{padding:24px;display:grid;gap:16px}
.dlg-cab{display:flex;justify-content:space-between;align-items:start;gap:12px}
.dlg-cab h2{margin:0;font-weight:800;font-size:28px;letter-spacing:-.03em;text-transform:uppercase;line-height:1}
.dlg-sub{margin:-4px 0 0;color:#7d8163;font-size:15.5px;line-height:1.5}
.dlg .cerrar{width:44px;height:44px;border-radius:50%;border:0;background:#f5f3ec;font-size:26px;line-height:1;cursor:pointer;color:#3b4527;flex:none}
.dlg .campos{display:grid;gap:12px}
@media(min-width:520px){.dlg .campos{grid-template-columns:1fr 1fr}.dlg .campo-ancho{grid-column:1/-1}}
.dlg .campo{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px;color:#3b4527;min-width:0}
.dlg .opc{font-weight:400;color:#a8ab8f}
.dlg input{font:400 16px Figtree,system-ui,sans-serif;color:#3b4527;background:#f5f3ec;border:1.5px solid #e3e1d4;border-radius:10px;min-height:48px;padding:10px 12px;width:100%;min-width:0}
.dlg input:focus{outline:none;border-color:#4a5631;background:#fff}
.dlg .campo.mal input{border-color:#c4614f;background:#fdf3f1}
.dlg .preg{border:0;padding:0;margin:0;min-width:0}
.dlg .preg-t{font-weight:700;font-size:15px;margin-bottom:10px;padding:0}
.dlg .opciones{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.dlg .opcion{position:relative;cursor:pointer}
.dlg .opcion input{position:absolute;opacity:0;pointer-events:none;min-height:0}
.dlg .opcion span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;height:100%;padding:6px 8px;border-radius:10px;border:1.5px solid #e3e1d4;background:#fff;font-weight:600;font-size:14px;line-height:1.2;color:#3b4527}
.dlg .opcion input:checked+span{background:#4a5631;border-color:#4a5631;color:#f5f3ec}
.dlg .opcion input:focus-visible+span{outline:3px solid #c98da1;outline-offset:2px}
.dlg .trampa{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.dlg .err{color:#a23b2a;font-size:14.5px;margin:0}
.dlg .err:empty{display:none}
.dlg .nota{font-size:13px;color:#a8ab8f;line-height:1.4;margin:0}
.dlg .btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;font:700 16px Figtree,system-ui,sans-serif;cursor:pointer;border:1.5px solid transparent;text-decoration:none}
.dlg .btn-p{background:#4a5631;color:#f5f3ec}.dlg .btn-p:hover{background:#3b4527}
.dlg .btn-g{background:none;border-color:#4a5631;color:#4a5631}
.dlg .btn-bloque{width:100%}
.dlg-ok{padding:36px 24px;text-align:center;display:grid;gap:12px;justify-items:center}
.dlg-ok h2{margin:0;font-weight:800;font-size:26px;text-transform:uppercase;letter-spacing:-.03em}
.dlg-ok p{margin:0;color:#7d8163;max-width:28em}
.dlg .ico-g{width:52px;height:52px;fill:none;stroke:#4a5631;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* Resultado del envío: visto bueno si llegó, alerta si no */
.ok-no{display:none}.fallo .ok-si{display:none}.fallo .ok-no{display:block}
.fallo .ok-no{stroke:#b5546d}
