/* Ajustes exclusivos de los elementos dinámicos añadidos en el Bloque 5. */
.lead-prep-section {
    position: relative;
    z-index: 10;
    padding: clamp(5rem, 9vw, 9rem) 0;
    background: var(--brand-navy, #0c2340);
    color: #fff;
}

/* =========================================
   LIVE EMBEBIDO — OVERRIDE DEL LAYOUT HISTÓRICO
========================================= */
.live-media-layer.js-expand-media {
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none !important;
    transform: none !important;
    overflow: hidden;
}

.live-video-content {
    position: relative;
    z-index: 10;
    flex: 0 0 auto;
    width: min(80vw, 1100px) !important;
    max-width: calc(100% - 48px) !important;
    min-width: 0;
    opacity: 1 !important;
    transform: none !important;
}

.live-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.live-video-embed iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.live-youtube-link {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Gotham', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 992px) {
    .live-video-content {
        width: min(92vw, calc(100% - 24px)) !important;
        max-width: calc(100% - 24px) !important;
    }

    .live-video-embed {
        border-radius: 16px;
    }
}

.lead-prep-container {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: center;
}

.lead-prep-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lead-prep-form .floating-group {
    position: relative;
}

.lead-prep-form .floating-group input {
    width: 100%;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
}

.lead-prep-form .floating-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: rgba(255, 255, 255, .65);
    pointer-events: none;
    transition: .25s ease;
}

.lead-prep-form .floating-group input:focus+label,
.lead-prep-form .floating-group input:not(:placeholder-shown)+label {
    top: -.8rem;
    color: var(--primary, #fdc400);
    font-size: .75rem;
}

.data-consent {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    color: inherit;
    font-size: .85rem;
    line-height: 1.5;
}

.data-consent input {
    flex: 0 0 auto;
    margin-top: .25rem;
}

.data-consent a {
    color: var(--primary, #fdc400);
    text-decoration: underline;
}

.btn-primary-capsule:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.form-status {
    padding: .9rem 1rem;
    border: 1px solid currentColor;
    border-radius: .75rem;
    font-size: .9rem;
    line-height: 1.5;
}

.form-status span {
    display: block;
}

.form-status.is-success {
    color: #7ee2a8;
}

.form-status.is-error {
    color: #ffb4ab;
}

@media (max-width: 768px) {
    .lead-prep-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FORMULARIO CLIENTES - AJUSTES FINALES
========================================= */

/* Mantiene la sección por encima del hero sticky */
.lead-prep-section {
    position: relative;
    z-index: 20;

    /* El fondo continúa detrás del borde redondeado del FAQ
       para que no reaparezca foto/nombre del hero */
    margin-bottom: -70px;
    padding-bottom: calc(clamp(5rem, 9vw, 9rem) + 70px);
}

/* Acciones del formulario */
.lead-prep-section .form-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
}

/* Base visual de ambos botones */
.lead-prep-section .btn-primary-capsule,
.lead-prep-section .btn-wa-capsule {
    padding: 16px 36px;
    min-height: 54px;
    font-size: 1rem;
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Enviar mis datos */
.lead-prep-section .btn-primary-capsule {
    appearance: none;
    border: none;
    background: #ffffff;
    color: var(--brand-navy, #0c2340);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

.lead-prep-section .btn-primary-capsule:hover {
    background: var(--primary, #fdc400);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(253, 196, 0, 0.30);
}

/* WhatsApp: visible como CTA de WhatsApp */
.lead-prep-section .btn-wa-capsule {
    border: 1px solid #25D366;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.20);
}

.lead-prep-section .btn-wa-capsule:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

/* =========================================
   RESPONSIVE FORMULARIO CLIENTES
========================================= */
@media (max-width: 768px) {

    .lead-prep-container {
        padding-left: 28px;
        padding-right: 28px;
        box-sizing: border-box;
    }

    .lead-prep-copy,
    .lead-prep-form {
        width: 100%;
        min-width: 0;
    }

    /* Evita que "Déjanos acompañarte." llegue al borde */
    .lead-prep-copy .faq-main-title {
        width: 100%;
        max-width: 100%;
        padding-right: 8px;
        box-sizing: border-box;
        font-size: clamp(2.6rem, 12vw, 3.5rem);
        line-height: 1.05;
    }

    .lead-prep-section .form-actions-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 14px;
    }

    .lead-prep-section .btn-primary-capsule,
    .lead-prep-section .btn-wa-capsule {
        width: 100%;
        text-align: center;
    }
}
.live-flyer-image{display:block;width:100%;height:100%;object-fit:contain;background:#0b1320}
