/* ── Overrides ─────────────────────────────────────── */
html { height: 100%; }
html, body { background-color: #faf7f2 !important; font-family: 'Montserrat', sans-serif !important; }
body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    height: auto !important;
}
.page { flex: 1; display: block; min-height: unset; padding-top: var(--header-height, 60px); }

/* ── Fixed header ──────────────────────────────────── */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.80);
    backdrop-filter: blur(9px);
    padding: 0 !important;
}
.navbar .container-fluid {
    max-width: 1412px;
    margin: 0 auto;
    padding: 0 48px !important;
}
@media (max-width: 767px) {
    .navbar .container-fluid {
        padding: 0 24px !important;
    }
}
.navbar-brand img {
    margin: 0 !important;
}

/* ── Container ─────────────────────────────────────── */
.lp-container { max-width: 1412px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ──────────────────────────────────────────── */
.lp-hero { padding: 64px 0 48px; }
.lp-hero__title {
    font-size: 60px;
    font-weight: 700;
    color: #5D0916;
    line-height: normal;
    letter-spacing: -0.6px;
    margin-bottom: 1.2rem;
}
.lp-hero__title_reg {
    font-size: 48px;
    font-weight: 700;
    color: #5D0916;
    line-height: normal;
    letter-spacing: -0.6px;
    margin-bottom: 1.2rem;
}
.lp-hero__text { font-size: 20px; color: #03112C; line-height: 1.7; }
.lp-hero__logo { max-width: 460px; width: 100%; }

/* ── Características ───────────────────────────────── */
.lp-caracteristicas { padding-bottom: 48px; }
.caja-caracteristica {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1.5px solid #c4bfb4;
    border-radius: 12px;
    background: transparent;
    height: 100%;
}
.caja-caracteristica__icon {
    font-size: 1.7rem;
    color: #03112C;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    display: block;
}
.caja-caracteristica__text {
    font-size: 18px;
    font-weight: 700;
    color: #03112C;
    line-height: 1.35;
}

/* ── Webinar cards ─────────────────────────────────── */
.lp-webinars { padding-bottom: 64px; }
.wcard {
    height: 100%;
    padding: 24px 28px;
    color: #fff;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wcard--1 { background-color: #5D0916; }
.wcard--2 { background-color: #767D5C; }
.wcard--3 { background-color: #03112C; }
.wcard__head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.wcard__name { font-weight: 700; font-size: 36px; white-space: nowrap; }
.wcard__date { font-size: 18px; font-weight: 400; opacity: .9; white-space: nowrap; font-family: 'DM Sans', sans-serif; }
.wcard__meta { font-size: 18px; line-height: 1.7; opacity: .9; }
.wcard__body { font-size: 18px; line-height: normal; }
.wcard__body p { margin-bottom: .6rem; }
.wcard__body p:last-child { margin-bottom: 0; }

/* ── Registration section ──────────────────────────── */
.lp-registration { padding: 64px 0 80px; }
.lp-registration__title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* ── Form inputs ───────────────────────────────────── */
.lp-label {
    display: block;
    font-size: .8rem;
    color: #03112C;
    margin-bottom: 4px;
}
.lp-input {
    width: 100%;
    border: 1px solid #03112C;
    border-radius: 4px;
    padding: 9px 12px;
    background: #fff;
    font-size: .9rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color .2s;
}
.lp-input:focus { border-color: #5D0916; }
.lp-input.is-invalid { border-color: #dc3545; }
.lp-invalid { font-size: .78rem; color: #dc3545; margin-top: 3px; }

/* ── Session pills ─────────────────────────────────── */
.sessions-group { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.session-pill { position: relative; display: inline-flex; flex: 1; }
.session-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.session-pill label {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    opacity: .75;
    transition: opacity .2s, box-shadow .2s;
}
.session-pill:nth-child(1) label { background: #5D0916; }
.session-pill:nth-child(2) label { background: #767D5C; }
.session-pill:nth-child(3) label { background: #03112C; }
.session-pill label::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.9);
    background: transparent;
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}
.session-pill input:checked + label {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255,255,255,.4) inset;
}
.session-pill input:checked + label::before {
    background: rgba(255,255,255,.95);
    border-color: rgba(255,255,255,.95);
}

/* ── Privacy checkbox ──────────────────────────────── */
.lp-privacy { font-size: .83rem; color: #444; }
.lp-privacy button.pp-link {
    color: #5D0916;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

/* ── Submit button ─────────────────────────────────── */
.btn-lp-submit {
    width: 100%;
    background-color: #03112C;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    margin-top: 8px;
}
.btn-lp-submit:hover { background-color: #5D0916; color: #fff; }
.btn-lp-submit:disabled { opacity: .75; cursor: not-allowed; }

/* ── Loader del botón ──────────────────────────────── */
.btn-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.lp-reg {
    margin: auto;
    max-width: 1100px;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ── SweetAlert2 overrides ─────────────────────────── */
.swal-reg-popup { border-radius: 10px !important; box-shadow: 0 8px 32px rgba(0,0,0,.15) !important; }
.swal-reg-close { color: #999 !important; font-size: 1.4rem !important; top: 10px !important; right: 14px !important; }
.swal-reg-close:hover { color: #03112C !important; }
.swal-reg-html { margin: 0 !important; padding: 0 !important; }


@media (max-width: 1200px) {
    .lp-hero__logo{
        max-width: 260px;
    }
    
    .caja-caracteristica {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 14px;
        border: 1.5px solid #c4bfb4;
        border-radius: 12px;
        background: transparent;
        height: 100%;
    }
    .caja-caracteristica__icon {
        flex-shrink: 0;
        min-width: 50px;
        width: 50px !important;
        height: 50px !important;
        object-fit: contain;
        object-position: center;
    }
    .caja-caracteristica__text {
        font-size: 16px;
        font-weight: 700;
        color: #03112C;
        line-height: 1.35;
    }

    .lp-webinars { padding-bottom: 24px; }
}

@media (max-width: 500px) {
    .lp-hero__title{
        font-size: 45px;
    }
    .lp-hero__title > p:nth-child(2){
        font-size: 17px !important;
    }

    .lp-hero__text{
        font-size: 18px !important;
    }

    .lp-hero__logo{
        max-width: 220px;
    }

    .caja-caracteristica__icon {
        min-width: 50px;
        width: 50px !important;
        height: 50px !important;
        object-fit: contain;
        object-position: center;
    }
    .caja-caracteristica__text{
        min-width: 120px;
    }

     .caja-caracteristica {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 14px;
        border: 1.5px solid #c4bfb4;
        border-radius: 12px;
        background: transparent;
        height: 100%;
    }
    .wcard__name{
        font-size:24px;
    }

    .wcard__date{
        font-size: 18px;
    }

    .sessions-group {
        flex-direction: column;
        gap: 8px;
    }
    .session-pill {
        flex: none;
        width: 100%;
    }
    .session-pill label {
        justify-content: center;
        padding: 8px 16px;
        border-radius: 8px;
    }
}