/* libro-gratis.css - Bribool Capital */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --lg-ink: #17110c;
    --lg-ink-2: #2a2118;
    --lg-orange: #ff6b2c;
    --lg-orange-2: #e85a1f;
    --lg-warm: #fff5e8;
    --lg-text: #17110c;
    --lg-soft: #6f6255;
    --lg-border: #efe5d7;
}

html { scroll-behavior: smooth; }

.lg-body {
    background: #ffffff;
    color: var(--lg-text);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.lg-container {
    margin: 0 auto;
    padding: 0 32px;
    width: min(1180px, 100%);
}

.lg-hero {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.90), rgba(255,255,255,.90)),
        url('../images/fondovideoblanco.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    padding: 54px 0 46px;
    position: relative;
}

.lg-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(32px, 4.5vw, 64px);
    grid-template-columns: minmax(0, .96fr) minmax(360px, .86fr);
    position: relative;
    z-index: 1;
}

.lg-hero__copy {
    color: var(--lg-text);
    min-width: 0;
}

.lg-hero__eyebrow {
    color: var(--lg-orange-2);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.lg-hero__title {
    color: var(--lg-ink);
    font-size: clamp(46px, 5vw, 78px);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: .98;
    margin: 0 0 18px;
    max-width: 680px;
}

.lg-hero__title::after {
    background: var(--lg-orange);
    content: "";
    display: block;
    height: 4px;
    margin-top: 18px;
    width: 74px;
}

.lg-hero__subtitle {
    color: var(--lg-ink);
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 14px;
    max-width: 620px;
}

.lg-hero__desc {
    color: var(--lg-soft);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
    max-width: 560px;
}

.lg-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
}

.lg-pills span {
    align-items: center;
    background: rgba(255,255,255,.82);
    border: 1px solid #e8ded1;
    border-radius: 999px;
    color: #6f6255;
    display: inline-flex;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
}

.lg-pills i {
    color: var(--lg-orange-2);
    font-size: 11px;
}

.lg-hero__trust {
    align-items: flex-start;
    color: #8b94a8;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    gap: 8px;
    margin-top: 14px;
    max-width: 330px;
    line-height: 1.45;
}

.lg-hero__trust i {
    color: #8b94a8;
    flex: 0 0 auto;
    font-size: 12px;
    margin-top: 2px;
}

.lg-hero__media {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    position: relative;
}

.lg-hero__img {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.lg-form-box {
    background: #ffffff;
    border: 1px solid rgba(236,239,253,.9);
    border-radius: 18px;
    box-shadow: 0 24px 52px rgba(0,0,0,.18);
    padding: 32px;
}

.lg-form-head {
    border-bottom: 1px solid var(--lg-border);
    margin-bottom: 22px;
    padding-bottom: 20px;
    text-align: center;
}

.lg-form-kicker {
    color: var(--lg-orange-2);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.lg-form-head h2 {
    color: var(--lg-text);
    font-size: clamp(25px, 1.8vw, 29px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 10px;
    white-space: nowrap;
}

.lg-form-head p {
    color: var(--lg-soft);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.lg-form {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.lg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lg-field--full { grid-column: 1 / -1; }

.lg-field label {
    color: #232835;
    font-size: 12px;
    font-weight: 700;
}

.lg-field input[type="text"],
.lg-field input[type="email"],
.lg-field input[type="tel"],
.lg-field input[type="password"] {
    background: #f7f8fb;
    border: 1px solid #d7dce7;
    border-radius: 9px;
    color: #121938;
    font: inherit;
    font-size: 13px;
    min-height: 46px;
    outline: none;
    padding: 0 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    width: 100%;
}

.lg-field input:focus {
    background: #ffffff;
    border-color: var(--lg-orange);
    box-shadow: 0 0 0 3px rgba(243,146,32,.16);
}

.lg-field__pw {
    display: flex;
    position: relative;
}

.lg-field__pw input {
    flex: 1;
    padding-right: 42px;
}

.lg-field__pw button {
    background: none;
    border: none;
    color: #8b94a8;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.lg-check {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    gap: 9px;
    grid-column: 1 / -1;
}

.lg-check input {
    accent-color: var(--lg-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

.lg-check span {
    color: #5c657d;
    font-size: 11px;
    line-height: 1.5;
}

.lg-submit,
.lg-btn-cta {
    align-items: center;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    letter-spacing: .04em;
    min-height: 52px;
    padding: 0 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .18s ease, background .18s ease;
}

.lg-submit {
    background: var(--lg-orange);
    color: #ffffff;
    grid-column: 1 / -1;
    width: 100%;
}

.lg-submit:hover {
    background: var(--lg-orange-2);
    transform: translateY(-1px);
}

.lg-form-trust {
    align-items: center;
    color: #8b94a8;
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    gap: 7px;
    grid-column: 1 / -1;
    justify-content: center;
    line-height: 1.4;
    margin: -2px 0 0;
    text-align: center;
}

.lg-form-trust i {
    color: #8b94a8;
    font-size: 11px;
}

.lg-btn-cta {
    background: var(--lg-orange);
    color: #ffffff;
    min-width: 230px;
}

.lg-btn-cta:hover {
    background: var(--lg-orange-2);
    transform: translateY(-1px);
}

.lg-login-link {
    color: #8b94a8;
    font-size: 12px;
    margin: 16px 0 0;
    text-align: center;
}

.lg-login-link a {
    color: var(--lg-orange-2);
    font-weight: 800;
    text-decoration: underline;
}

.lg-modal[hidden] { display: none; }

.lg-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 22px;
    pointer-events: none;
    position: fixed;
    transition: opacity .18s ease;
    z-index: 9999;
}

.lg-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lg-modal__backdrop {
    background: rgba(14,3,33,.72);
    inset: 0;
    position: absolute;
}

.lg-modal .lg-form-box {
    max-height: min(92vh, 720px);
    max-width: 660px;
    overflow: auto;
    position: relative;
    transform: translateY(10px) scale(.98);
    transition: transform .18s ease;
    width: min(100%, 660px);
    z-index: 1;
}

.lg-modal.is-open .lg-form-box {
    transform: translateY(0) scale(1);
}

.lg-modal-open {
    overflow: hidden;
}

.lg-form-close {
    align-items: center;
    background: #f4f5f8;
    border: 0;
    border-radius: 999px;
    color: #4a5568;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 34px;
}

.lg-form-close:hover {
    background: rgba(243,146,32,.12);
    color: var(--lg-orange-2);
}

.lg-inside {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.90), rgba(255,255,255,.90)),
        url('../images/fondovideoblanco.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 54px 0 60px;
}

.lg-section-head {
    margin-bottom: 30px;
    text-align: center;
}

.lg-section-head span,
.lg-cta-final__label {
    color: var(--lg-orange-2);
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lg-section-head h2 {
    color: var(--lg-text);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0;
}

.lg-inside__grid {
    display: grid;
    gap: 14px 38px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 980px;
}

.lg-inside__item {
    align-items: flex-start;
    color: #4e5362;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    line-height: 1.65;
    padding: 0;
}

.lg-inside__item i {
    color: var(--lg-orange-2);
    flex-shrink: 0;
    font-size: 15px;
    margin-top: 3px;
}

.lg-index {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
        url('../images/fondovideoblanco.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 18px 0 58px;
}

.lg-index__accordion {
    background: rgba(255,255,255,.86);
    border: 1px solid #e8edf3;
    border-radius: 18px;
    box-shadow: none;
    display: grid;
    gap: 0;
    margin: 0 auto;
    max-width: 860px;
    overflow: hidden;
}

.lg-index__group {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e8edf3;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.lg-index__summary {
    align-items: center;
    display: grid;
    gap: 10px 16px;
    grid-template-columns: 82px 1fr auto;
    min-height: 0;
    padding: 16px 22px;
    position: relative;
    z-index: 1;
}

.lg-index__part {
    color: var(--lg-orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lg-index__summary strong {
    color: var(--lg-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.lg-index__summary em {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #7f8794;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .02em;
    padding: 0;
    white-space: nowrap;
}

.lg-index__lessons {
    background: transparent;
    border-top: 1px solid #eef2f6;
    padding: 0 22px 8px;
}

.lg-index__lesson {
    align-items: center;
    color: #49515f;
    display: grid;
    font-size: 13px;
    gap: 10px;
    grid-template-columns: 22px 1fr 18px;
    line-height: 1.45;
    padding: 10px 0;
}

.lg-index__lesson + .lg-index__lesson {
    border-top: 1px solid #f0f3f7;
}

.lg-index__lesson i {
    align-items: center;
    background: transparent;
    border-radius: 999px;
    color: var(--lg-orange-2);
    display: inline-flex;
    font-size: 12px;
    height: auto;
    justify-content: center;
    width: 18px;
}

.lg-index__lesson .lg-index__lock {
    color: #a3abb8;
    font-size: 12px;
    justify-self: end;
}

.lg-index__lesson span {
    color: #242936;
    font-weight: 600;
}

.lg-cta-final {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.90), rgba(255,255,255,.90)),
        url('../images/fondovideoblanco.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 54px 0 62px;
    text-align: center;
}

.lg-cta-final__label {
    color: var(--lg-orange-2);
}

.lg-cta-final h2 {
    color: var(--lg-text);
    font-size: clamp(24px, 2.6vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 auto 26px;
    max-width: 760px;
}

.lg-footer {
    background: #ffffff;
    padding: 0;
    text-align: center;
}

.lg-footer .lg-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 34px;
}

.lg-footer__logo {
    display: none;
}

.lg-footer p {
    color: #8b94a8;
    font-size: 11px;
    line-height: 1;
    margin: 0;
    text-align: center;
}

@media (max-width: 1040px) {
    .lg-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lg-hero__media {
        justify-content: flex-start;
    }

    .lg-form-box {
        max-width: 640px;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .lg-container { padding: 0 22px; }
    .lg-hero {
        background-attachment: scroll;
        min-height: auto;
        padding: 38px 0 44px;
    }
    .lg-inside,
    .lg-index,
    .lg-cta-final { background-attachment: scroll; }
    .lg-hero__grid { gap: 0; }
    .lg-hero__copy { display: contents; }
    .lg-hero__eyebrow { order: 1; }
    .lg-hero__title { order: 2; }
    .lg-hero__subtitle { order: 3; }
    .lg-hero__media { order: 4; }
    .lg-hero__desc { order: 5; }
    .lg-pills { order: 6; }
    .lg-btn-cta { order: 7; }
    .lg-hero__trust { order: 8; }
    .lg-hero__title { font-size: clamp(38px, 13vw, 54px); }
    .lg-hero__media {
        display: flex;
        justify-content: center;
        margin: 8px 0 18px;
    }
    .lg-inside__grid { grid-template-columns: 1fr; }
    .lg-index { padding: 8px 0 44px; }
    .lg-index__accordion { border-radius: 14px; }
    .lg-index__summary {
        gap: 8px 10px;
        grid-template-columns: 1fr;
        padding: 15px 16px;
    }
    .lg-index__part,
    .lg-index__summary strong,
    .lg-index__summary em {
        grid-column: 1 / 2;
    }
    .lg-index__lesson {
        align-items: flex-start;
        grid-template-columns: 20px 1fr 16px;
        padding: 11px 0;
    }
    .lg-index__lessons { padding: 0 16px 8px; }
    .lg-form { grid-template-columns: 1fr; }
    .lg-form-head h2 { font-size: clamp(14px, 4.4vw, 24px); }
    .lg-form-box { padding: 24px 18px; }
    .lg-inside,
    .lg-cta-final { padding: 42px 0 48px; }
}

@media (max-width: 520px) {
    .lg-hero__img { max-width: 290px; }
}
