/* Modal embudo de captación por perfil — estética industrial Varnolac */

.vl-embudo-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(12, 12, 12, 0.72);
    backdrop-filter: blur(4px);
}

.vl-embudo-overlay[hidden] {
    display: none !important;
}

.vl-embudo-panel {
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d4d4d4;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.vl-embudo-header {
    position: relative;
    padding: 1.75rem 1.75rem 1rem;
    border-bottom: 1px solid #ececec;
}

.vl-embudo-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #737373;
}

.vl-embudo-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.02em;
}

.vl-embudo-cerrar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #525252;
    cursor: pointer;
}

.vl-embudo-cerrar:hover {
    color: #111;
}

.vl-embudo-body {
    padding: 1.25rem 1.75rem 1.75rem;
}

.vl-embudo-intro {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #525252;
}

.vl-embudo-perfiles {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
}

@media (min-width: 520px) {
    .vl-embudo-perfiles {
        grid-template-columns: 1fr 1fr;
    }
}

.vl-embudo-perfil-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid #d4d4d4;
    background: #fafafa;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.vl-embudo-perfil-card:hover,
.vl-embudo-perfil-card:focus-visible {
    border-color: #111;
    background: #fff;
    outline: none;
}

.vl-embudo-perfil-card.activo {
    border-color: #111;
    background: #111;
    color: #fff;
}

.vl-embudo-perfil-card.activo .vl-embudo-perfil-text span {
    color: #d4d4d4;
}

.vl-embudo-perfil-icon {
    flex-shrink: 0;
    width: 2rem;
    font-size: 1.1rem;
    opacity: 0.85;
    padding-top: 0.1rem;
}

.vl-embudo-perfil-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.vl-embudo-perfil-text strong {
    font-size: 0.92rem;
    font-weight: 600;
}

.vl-embudo-perfil-text span {
    font-size: 0.78rem;
    color: #737373;
    line-height: 1.4;
}

.vl-embudo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vl-embudo-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vl-embudo-field span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #525252;
}

.vl-embudo-field input {
    padding: 0.7rem 0.85rem;
    border: 1px solid #d4d4d4;
    font-size: 0.95rem;
    background: #fff;
}

.vl-embudo-field input:focus {
    outline: none;
    border-color: #111;
}

.vl-embudo-error {
    margin: 0;
    font-size: 0.85rem;
    color: #b91c1c;
}

.vl-embudo-submit {
    margin-top: 0.5rem;
    padding: 0.85rem 1.25rem;
    border: none;
    background: #111;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
}

.vl-embudo-submit:hover {
    background: #262626;
}

.vl-embudo-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.vl-embudo-exito {
    text-align: center;
    padding: 0.5rem 0 0;
}

.vl-embudo-exito-icon {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    color: #111;
}

.vl-embudo-exito h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.vl-embudo-exito p {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #525252;
}

.vl-embudo-exito-actions {
    margin: 0 0 0.75rem;
}

a.vl-embudo-submit.vl-embudo-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #128c7e;
    border: none;
    margin-bottom: 0.5rem;
}

a.vl-embudo-submit.vl-embudo-wa:hover {
    background: #0e6b60;
}

/* Precios protegidos en ficha */
.ficha-v9-precios--protegido {
    padding: 0.35rem 0 0.5rem;
}

.ficha-v9-precio-protegido {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #26252d;
}

.ficha-v9-precio-hint {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #6b7280;
}

.ficha-v9-ver-precio {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border: 1px solid #c81c24;
    border-radius: 4px;
    background: #c81c24;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ficha-v9-ver-precio:hover {
    background: #c81c24;
    border-color: #c81c24;
    color: #fff;
}

.ficha-v9-pending-banner {
    margin: 0 0 0.65rem;
    padding: 0.5rem 0.65rem;
    border-left: 3px solid #07008a;
    background: rgba(7, 0, 138, 0.06);
    font-size: 0.72rem;
    line-height: 1.35;
    color: #26252d;
}

.ficha-v9-card[data-precio-protegido="1"] .ficha-v9-por-litro,
.ficha-v9-card[data-precio-protegido="1"] .ficha-v9-precio-neto,
.ficha-v9-card[data-precio-protegido="1"] .ficha-v9-financia,
.ficha-v9-card[data-precio-protegido="1"] .ficha-v9-cuota-row {
    display: none !important;
}

.cotizador-precios-bloqueados {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #525252;
}

.cotizador-precios-bloqueados strong {
    color: #111;
}

.cotiz-btn-ver-precios {
    width: 100%;
}

.cotizador-footer--gate .cotiz-btn-sec,
.cotizador-footer--gate #cotizador-wa-pedido {
    display: none;
}

.vl-embudo-varni-pending {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #737373;
}

.vl-embudo-wa-manual {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
}
