/*
 * style.css — Préstamos.us custom styles
 * Extracted from index.html to keep markup lean.
 * DO NOT edit the Webflow CDN stylesheet; place all custom overrides here.
 */

/* ─── Header — scrolls with page (Webflow default is position: fixed) ─────── */
.header {
    position: relative;
    z-index: 1;
    top: auto;
    background-color: transparent;
}

/* ─── CTA pills linking to lead form — compact width (not full-column) ───── */
a.button-block-49[href="#lead-form"] {
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: 2.5rem;
    padding: 0.4rem 0.65rem 0.4rem 0.5rem;
}

a.button-block-49[href="#lead-form"] .button-wrap-49 {
    flex-wrap: nowrap;
    gap: 0.4rem;
    align-items: center;
}

a.button-block-49[href="#lead-form"] .button-text-33 {
    font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
    line-height: 1.25;
    font-weight: 500;
    white-space: nowrap;
}

a.button-block-49[href="#lead-form"] .button-icon-wrap-49.is-left,
a.button-block-49[href="#lead-form"] .button-icon-wrap-49.is-right {
    width: 1.85rem !important;
    height: 1.85rem !important;
    min-width: 1.85rem;
    min-height: 1.85rem;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    a.button-block-49[href="#lead-form"] {
        min-height: 2.4rem;
        padding: 0.36rem 0.55rem 0.36rem 0.45rem !important;
    }

    a.button-block-49[href="#lead-form"] .button-text-33 {
        font-size: clamp(0.8125rem, 3.1vw, 0.9rem);
        line-height: 1.2;
    }
}

@media (max-width: 479px) {
    a.button-block-49[href="#lead-form"] {
        min-height: 2.3rem;
        padding: 0.3rem 0.5rem 0.3rem 0.38rem !important;
    }

    a.button-block-49[href="#lead-form"] .button-icon-wrap-49.is-left,
    a.button-block-49[href="#lead-form"] .button-icon-wrap-49.is-right {
        width: 1.65rem !important;
        height: 1.65rem !important;
        min-width: 1.65rem;
        min-height: 1.65rem;
    }
}

/* ─── Header + hero — shared sage shell (no photo bg) ─ */
.header-hero-shell {
    position: relative;
    background-color: var(--sage);
    overflow: hidden;
}

/* Full-shell subtle radial pattern (no heavy gradient overlays) */
.header-hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle, rgba(20, 56, 36, 0.16) 1.05px, transparent 1.45px),
        radial-gradient(circle, rgba(20, 56, 36, 0.1) 0.8px, transparent 1.2px);
    background-size:
        30px 30px,
        24px 24px;
    background-position:
        0 0,
        12px 12px;
    background-repeat: repeat, repeat;
    opacity: 0.45;
}

.hero.hero--redesign {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.header .desktop,
.header .mobile {
    position: relative;
    z-index: 1;
}

/* Header cleanup — remove nav menu and header CTA across breakpoints */
.header .desktop .column.w-col.w-col-8,
.header .desktop .column-2.w-col.w-col-2,
.header .desktop .header-links,
.header .desktop .header-link,
.header .desktop .btn,
.header .desktop .button-block-49,
.header .mobile .btn-mob,
.header .mobile .open-modal,
.header .mobile .close-modal,
.header .mobile .bottom {
    display: none !important;
}

.header .desktop .columns.w-row {
    justify-content: center;
}

.header .desktop .column-3.w-col.w-col-2 {
    width: auto;
    left: auto;
    right: auto;
}

.header .mobile .upper {
    justify-content: center;
}

@media (max-width: 991px) {
    .header-hero-shell::before {
        background-size:
            34px 34px,
            26px 26px;
        opacity: 0.36;
    }
}

/* Webflow: .circle uses z-index: -1, which can paint the neon arc behind the hero; keep it above sage only */
.standart_section .circle {
    z-index: 0;
}

/* El reto — left-aligned copy, readable line breaks, mobile-friendly column */
.standart_section .section-side_txt--el-reto {
    align-items: flex-start;
    text-align: left;
}

.standart_section .section-side_txt--el-reto .div-block {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

.standart_section .section-side_txt--el-reto .section-el-reto__h2 {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.standart_section .section-side_txt--el-reto .badge {
    align-self: flex-start;
}

.standart_section .section-side_txt--el-reto .div-block > div:has(.button-block-49) {
    align-self: flex-start;
    width: 100%;
    max-width: 100%;
}

.standart_section .section-side_txt--el-reto .button-block-49 {
    margin-left: 0;
    margin-right: auto;
}

/* Only one .grid_section on homepage — stretch so text column is full width on small screens */
@media screen and (max-width: 991px) {
    .standart_section .grid_section {
        align-items: stretch;
    }
}

/* El reto — smaller headline + tighter body measure (first standart_section text column) */
.standart_section .section-side_txt--el-reto .section-copy--compact {
    display: flex;
    flex-direction: column;
    gap: 0.55em;
    width: 100%;
    max-width: min(32rem, 100%);
    padding-bottom: 0.35em;
}

.standart_section .section-side_txt--el-reto .section-el-reto__copy .body_txt {
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.standart_section .section-side_txt--el-reto .section-copy--compact .body_txt {
    font-size: 0.87em;
    line-height: 1.52;
}

@media screen and (min-width: 992px) {
    .standart_section .section-side_txt--el-reto .section-el-reto__h2 {
        font-size: 3.35vw;
        line-height: 1.14;
        letter-spacing: -0.006vw;
        max-width: min(14em, 100%);
    }
}

@media screen and (max-width: 991px) {
    .standart_section .section-side_txt--el-reto .section-el-reto__h2 {
        font-size: clamp(1.35rem, 4.15vw, 2rem);
        line-height: 1.18;
    }
}

@media screen and (max-width: 479px) {
    .standart_section .section-side_txt--el-reto .section-el-reto__h2 {
        font-size: clamp(1.45rem, 6.2vw, 1.85rem);
        line-height: 1.2;
    }

    .standart_section .section-side_txt--el-reto .section-copy--compact {
        gap: 0.65em;
        max-width: 100%;
    }

    .standart_section .section-side_txt--el-reto .section-copy--compact .body_txt {
        font-size: 0.9375rem;
        line-height: 1.55;
    }
}

/* ─── Header — logo size + desktop alignment with hero (.hero-stage / 75rem row) ─ */
.header .logo img,
.header .logo.mob img {
    height: auto;
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 992px) {
    /* Same horizontal inset + max content width as .hero-stage + .hero-stage__row */
    .header .desktop {
        padding-left: clamp(1rem, 5vw, 4rem);
        padding-right: clamp(1rem, 5vw, 4rem);
        box-sizing: border-box;
    }

    .header .desktop .columns.w-row {
        position: relative;
        justify-content: center;
        max-width: 75rem;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    /* Soft divider lines from both sides toward centered logo */
    .header .desktop .columns.w-row::before,
    .header .desktop .columns.w-row::after {
        content: "";
        position: absolute;
        top: 50%;
        height: 1px;
        width: calc(50% - clamp(8rem, 13vw, 10.5rem));
        transform: translateY(-50%);
        pointer-events: none;
    }

    .header .desktop .columns.w-row::before {
        left: 0;
        background: linear-gradient(to right, rgba(20, 56, 36, 0), rgba(20, 56, 36, 0.38));
    }

    .header .desktop .columns.w-row::after {
        right: 0;
        background: linear-gradient(to left, rgba(20, 56, 36, 0), rgba(20, 56, 36, 0.38));
    }

    .header .desktop .w-col-8 {
        display: none !important;
    }

    .header .desktop .column-2 {
        display: none !important;
    }

    .header .desktop .column-3.w-col-2 {
        position: relative;
        width: auto !important;
        flex: 0 0 auto;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mini icon pair to balance empty sides */
    .header .desktop .column-3.w-col-2::before,
    .header .desktop .column-3.w-col-2::after {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 1.35rem;
        height: 1.35rem;
        border-radius: 999px;
        border: 1px solid rgba(20, 56, 36, 0.22);
        color: rgba(20, 56, 36, 0.62);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Inter, sans-serif;
        font-size: 0.72rem;
        line-height: 1;
        background: rgba(255, 255, 255, 0.24);
        pointer-events: none;
    }

    .header .desktop .column-3.w-col-2::before {
        content: "✦";
        left: clamp(-5.8rem, -7.2vw, -4.8rem);
    }

    .header .desktop .column-3.w-col-2::after {
        content: "✧";
        right: clamp(-5.8rem, -7.2vw, -4.8rem);
    }

    .header .logo,
    .header .logo.w--current {
        width: auto !important;
        max-width: none;
    }

    .header .logo img {
        height: 3.25rem;
        width: auto;
        max-height: none;
    }
}

@media (max-width: 991px) {
    .header .btn-mob,
    .header .mobile .bottom {
        display: none !important;
    }

    .header .mobile .wrapper {
        padding-left: clamp(1rem, 5vw, 4rem);
        padding-right: clamp(1rem, 5vw, 4rem);
        box-sizing: border-box;
    }

    .header .mobile .upper {
        justify-content: center;
    }

    .header .logo.mob {
        width: auto !important;
        max-width: min(13.5rem, 68vw) !important;
    }

    .header .logo.mob img {
        max-height: 2.35rem;
    }
}

/* ─── Hero H1 — same face as preloader title; less gap below header ──────── */
/* Preloader: .logo_title + .logo_title.appear.letter → Avenirltpro, weight 900 */
.hero .h1 {
    font-family: Avenirltpro, Inter, sans-serif;
    font-weight: 900;
    letter-spacing: -0.2vw;
    font-size: 4.1vw;
    line-height: 1.12;
}

.hero .subtitle {
    font-size: 1.02vw;
    line-height: 1.5vw;
}

/* Legacy Webflow hero blocks only (homepage hero uses .hero--redesign) */
.hero:not(.hero--redesign) {
    padding-top: clamp(0.5rem, 1.75vw, 2rem);
}

.hero-title_container.main {
    margin-top: 0;
    margin-bottom: clamp(1rem, 2.5vw, 2.5rem);
}

@media (max-width: 991px) {
    .hero:not(.hero--redesign) {
        padding-top: clamp(0.5rem, 2.5vw, 2rem);
    }
}

@media (max-width: 479px) {
    .hero .h1 {
        font-size: 8.25vw;
        line-height: 1.12;
    }

    .hero .subtitle {
        font-size: 3.75vw;
        line-height: 4.45vw;
    }

    .hero:not(.hero--redesign) {
        padding: clamp(0.75rem, 6vw, 2.25rem) 4vw 12vw;
    }
}

/* ─── Hero Redesign — Apple/Google style ─────────────────────────────────── */

/* Ambient orbs */
.hero--redesign {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-top: clamp(1.5rem, 3.5vw, 4rem);
    padding-bottom: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(72px);
    opacity: 0.55;
}

.hero-orb--1 {
    width: 52vw;
    height: 52vw;
    top: -18vw;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(210, 233, 195, 0.55) 0%, transparent 70%);
}

.hero-orb--2 {
    width: 34vw;
    height: 34vw;
    bottom: 8vw;
    right: -8vw;
    background: radial-gradient(circle, rgba(224, 230, 126, 0.28) 0%, transparent 65%);
}

/* Stage — top row: copy left + form right (desktop); stack on small screens */
.hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-left: max(clamp(1rem, 5vw, 4rem), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(1rem, 5vw, 4rem), env(safe-area-inset-right, 0px));
    padding-top: 0;
    padding-bottom: 0;
}

.hero-stage__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    align-items: start;
}

.hero-stage__copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0;
    min-width: 0;
}

.hero-stage__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

@media (min-width: 992px) {
    /* Copy ~60%, form ~40% */
    .hero-stage__row {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        column-gap: clamp(0.35rem, 0.65vw, 0.75rem);
        row-gap: clamp(1.25rem, 2.25vw, 2rem);
        align-items: center;
    }

    .hero-stage__copy {
        display: flex;
        flex-direction: column;
        padding-top: 0;
    }

    .hero-copy-lead,
    .hero-copy-tail,
    .hero-stage__cta {
        order: 0;
    }

    .hero-stage__cta {
        align-items: stretch;
    }

    .hero-stage__cta .hero-btn_container.lead-form-wrap {
        align-self: stretch;
        max-width: 100%;
        width: 100%;
    }
}

/* Copy blocks: lead = pill + headline + sub; tail = proof + badges (reordered on mobile) */
.hero-copy-lead,
.hero-copy-tail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

@media (max-width: 991px) {
    .hero-copy-lead,
    .hero-copy-tail {
        max-width: 36rem;
    }
}

/* Desktop: ~38rem copy measure + gutter before form column */
@media (min-width: 992px) {
    .hero-copy-lead,
    .hero-copy-tail {
        max-width: min(38rem, 100%);
    }
}

/* Mobile only: subheading → lead form → proof & badges (tablet/desktop unchanged) */
@media (max-width: 767px) {
    .hero-stage__row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stage__copy {
        display: contents;
    }

    .hero-copy-lead {
        order: 1;
        max-width: none;
    }

    .hero-stage__cta {
        order: 2;
    }

    .hero-copy-tail {
        order: 3;
        max-width: none;
    }
}

/* Trust pill — same language as .badge / .badge-txt (“La solución”) */
.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    align-self: flex-start;
    padding: 0.22rem 0.55rem 0.22rem 0.4rem;
    border-radius: 1000px;
    background-color: var(--neon_darker);
    border: none;
    box-shadow: none;
    margin-bottom: 1.15rem;
    animation: hero-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-pill__badge-img {
    flex-shrink: 0;
    width: clamp(0.85rem, 2.9vw, 1rem);
    height: clamp(0.85rem, 2.9vw, 1rem);
    object-fit: contain;
    display: block;
}

.hero-pill__text {
    font-family: Inter, sans-serif;
    font-size: clamp(0.6875rem, 2.75vw, 0.78125rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: normal;
    color: var(--dark_green);
    padding-right: 0.05rem;
}

/* Main headline — responsive scale + brand green, flush left */
.hero-h1 {
    font-family: Avenirltpro, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.11;
    letter-spacing: -0.03em;
    color: #142e22;
    margin: 0 0 0.9rem;
    padding: 0;
    width: 100%;
    max-width: none;
    text-align: left;
    box-sizing: border-box;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-h1.is-visible {
    visibility: visible;
}

.hero-h1__br { display: block; }

@media (min-width: 640px) {
    .hero-h1 {
        font-size: 2.25rem;
        line-height: 1.25;
    }
}

@media (min-width: 768px) {
    .hero-h1 {
        font-size: 3rem;
        line-height: 1.08;
    }
}

@media (min-width: 1024px) {
    .hero-h1 {
        font-size: 3.75rem;
    }
}

/* Subtitle — same left edge and measure as heading */
.hero-sub {
    font-family: Inter, sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.58;
    color: rgba(20, 46, 34, 0.78);
    font-weight: 400;
    margin: 0 0 1.1rem;
    padding: 0;
    width: 100%;
    max-width: none;
    text-align: left;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* Left column — faces + rating + quote + stat */
.hero-proof-block {
    width: 100%;
    margin: 0 0 1.35rem;
    padding: 1.05rem 1.15rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(40, 93, 66, 0.12);
    box-shadow:
        0 1px 3px rgba(40, 93, 66, 0.06),
        0 12px 32px -18px rgba(40, 93, 66, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    animation: hero-fade-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero-proof-block__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.1rem;
    margin-bottom: 0.75rem;
}

.hero-proof-faces {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    max-width: min(11.5rem, 34vw);
}

.hero-proof-faces__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: clamp(1.65rem, 3.6vw, 2.15rem);
    height: auto;
    object-fit: contain;
    object-position: left center;
    border-radius: 0.3rem;
    box-shadow: 0 1px 8px rgba(40, 93, 66, 0.1);
}

.hero-proof-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    color: #c4b01a;
    filter: drop-shadow(0 1px 1px rgba(40, 93, 66, 0.06));
}

.hero-star {
    flex-shrink: 0;
    display: block;
}

.hero-star--dim {
    opacity: 0.42;
}

.hero-proof-rating__text {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: rgba(20, 46, 34, 0.72);
}

.hero-proof-rating__score {
    font-size: 1.125rem;
    font-weight: 800;
    color: #142e22;
    letter-spacing: -0.02em;
}

.hero-proof-rating__out {
    font-weight: 700;
    color: rgba(20, 46, 34, 0.55);
}

.hero-proof-rating__sep {
    margin: 0 0.28rem;
    color: rgba(40, 93, 66, 0.35);
}

.hero-proof-rating__count {
    font-weight: 600;
    color: #285d42;
}

.hero-proof-block__quote {
    margin: 0 0 0.65rem;
    padding: 0.65rem 0 0;
    border-top: 1px solid rgba(40, 93, 66, 0.1);
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.5;
    color: rgba(20, 46, 34, 0.68);
}

.hero-proof-block__stat {
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.3;
    color: #1a3d2e;
    background: rgba(210, 233, 195, 0.45);
    border: 1px solid rgba(40, 93, 66, 0.12);
}

.hero-proof-block__stat strong {
    font-weight: 800;
    color: #142e22;
}

/* Trust badges — 3 across, one row on all breakpoints; accent #f0f68d */
.hero-trust-badges {
    --hero-trust-secondary: #f0f68d;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    animation: hero-fade-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero-trust-badge {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    min-height: 0;
    padding: 0.4rem 0.35rem 0.4rem 0.4rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(40, 93, 66, 0.09);
    border-left: 2px solid var(--hero-trust-secondary);
    box-shadow: 0 1px 2px rgba(40, 93, 66, 0.04);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.hero-trust-badge:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(40, 93, 66, 0.12);
    border-left-color: #e8ee7a;
}

.hero-trust-badge__icon {
    flex-shrink: 0;
    color: #285d42;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4rem;
    background: rgba(240, 246, 141, 0.45);
}

.hero-trust-badge__icon svg {
    width: 1rem;
    height: 1rem;
}

.hero-trust-badge__label {
    font-family: Inter, sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: rgba(20, 46, 34, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

@media (min-width: 400px) {
    .hero-trust-badge__label {
        font-size: 0.6875rem;
    }
}

@media (min-width: 480px) {
    .hero-trust-badge__label {
        font-size: 0.71875rem;
    }

    .hero-trust-badges {
        gap: 0.5rem;
    }

    .hero-trust-badge {
        gap: 0.45rem;
        padding: 0.45rem 0.5rem 0.45rem 0.5rem;
    }
}

/* Hide hero trust row on mobile — later rules used to set display:grid and overrode display:none */
@media (max-width: 767px) {
    .hero-trust-badges {
        display: none !important;
    }
}

/* Form wrapper */
.hero-btn_container.lead-form-wrap {
    animation: hero-fade-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

/* Social proof strip */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 1.05rem;
    width: 100%;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero-avatars {
    display: flex;
    align-items: center;
}

.hero-avatar {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #285d42;
    margin-left: -0.55rem;
    font-family: Inter, sans-serif;
    box-shadow: 0 1px 3px rgba(40, 93, 66, 0.18);
}

.hero-avatars .hero-avatar:first-child {
    margin-left: 0;
}

.hero-social-proof__text {
    font-family: Inter, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(15, 36, 24, 0.58);
}

/* Keyframe: fade + rise */
@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .hero--redesign {
        padding-top: clamp(1rem, 3vw, 2.5rem);
    }

    .hero-sub {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    }

    .hero-orb--1 {
        width: 80vw;
        height: 80vw;
        top: -30vw;
        filter: blur(55px);
    }
}

@media (max-width: 767px) {
    .hero-h1__br {
        display: none;
    }

    .hero-sub {
        font-size: 0.98rem;
    }

}

@media (max-width: 479px) {
    .hero-sub {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    /* Keep bottom ambient orb visible (slightly smaller) — was display:none */
    .hero-orb--2 {
        width: 48vw;
        height: 48vw;
        bottom: 4vw;
        right: -14vw;
        opacity: 0.42;
        filter: blur(52px);
    }
}

/* ─── Hero redesign — tablet & mobile layout (padding, form, badges, media strip) ─ */
@media (max-width: 991px) {
    .hero.hero--redesign {
        padding-left: max(0px, env(safe-area-inset-left, 0px));
        padding-right: max(0px, env(safe-area-inset-right, 0px));
        padding-bottom: clamp(0.5rem, 2vw, 1.25rem);
    }

    .hero-stage__row {
        gap: clamp(1.35rem, 4.5vw, 2.35rem);
    }

    .hero.hero--redesign .hero-btn_container.lead-form-wrap {
        max-width: min(26rem, 100%);
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero.hero--redesign .hero-img-container {
        width: min(100%, 42rem);
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: clamp(0.75rem, 2.2vw, 1.15rem);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero.hero--redesign .hero-h1 {
        font-size: clamp(2.125rem, 2.6vw + 1.1rem, 2.9rem);
        line-height: 1.1;
    }
}

@media (max-width: 767px) {
    .hero-copy-lead {
        align-items: center;
        text-align: center;
    }

    .hero.hero--redesign .hero-h1,
    .hero.hero--redesign .hero-sub {
        text-align: center;
    }

    .hero.hero--redesign .hero-h1 {
        font-size: clamp(1.8125rem, 6.25vw + 0.5rem, 2.5rem);
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .hero-sub {
        margin-bottom: 1rem;
    }

    .hero-pill {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-self: center;
    }

    .hero-pill__text {
        white-space: normal;
        text-align: center;
    }

    .hero-proof-block {
        padding: 0.9rem 1rem 1rem;
    }

    .hero-proof-faces {
        max-width: min(13rem, 58vw);
    }
}

@media (max-width: 639px) {
    .hero-trust-badge__label {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.22;
    }
}

@media (max-width: 479px) {
    .hero.hero--redesign {
        padding-top: clamp(0.6rem, 2.8vw, 1.1rem);
        padding-bottom: clamp(1.1rem, 5vw, 1.85rem);
    }

    .lead-form__presets {
        gap: 0.28rem;
    }

    .lead-form__preset {
        min-height: 2.35rem;
        padding: 0.32rem 0.15rem;
    }

    .lead-form__trust {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.45rem;
    }
}

/* ─── 1. Webflow IX2 initial-state overrides (no-JS fallback) ─────────────── */
@media (min-width: 992px) {
    html.w-mod-js:not(.w-mod-ix) [data-w-id="49984665-7243-591b-db47-c93f716721fa"] {
        -webkit-transform: translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="68488fe3-092f-c5d5-7ca9-a9ba9be1bed3"] {
        opacity: 1;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="21b4927a-73ae-cb9e-056c-5bd97589fe2d"] {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="21b4927a-73ae-cb9e-056c-5bd97589fe2b"] {
        background-color: rgb(224, 230, 126);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="97743b6c-0b3d-99f7-2763-2e8e504d741c"] {
        -webkit-transform: translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="97743b6c-0b3d-99f7-2763-2e8e504d741a"] {
        background-color: rgb(224, 230, 126);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="e6d7b1d2-ea0f-7ff6-5dcd-28c06106c77a"] {
        -webkit-transform: translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="e6d7b1d2-ea0f-7ff6-5dcd-28c06106c778"] {
        background-color: rgb(224, 230, 126);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="9a67d817-5b76-c469-b8eb-17a9ab8cbfc2"] {
        -webkit-transform: translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="9a67d817-5b76-c469-b8eb-17a9ab8cbfc0"] {
        background-color: rgb(224, 230, 126);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="0aaca80f-8e1b-f459-ec32-52c89fe23927"] {
        -webkit-transform: translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0%, 0%, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="0aaca80f-8e1b-f459-ec32-52c89fe2392c"] {
        opacity: 1;
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="0aaca80f-8e1b-f459-ec32-52c89fe23932"] {
        -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -moz-transform:    translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        -ms-transform:     translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
        transform:         translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0) rotateY(0) rotateZ(0) skew(0, 0);
    }

    html.w-mod-js:not(.w-mod-ix) [data-w-id="0aaca80f-8e1b-f459-ec32-52c89fe23930"] {
        background-color: rgb(210, 233, 195);
    }
}

/* ─── 2. Page-transition helpers ──────────────────────────────────────────── */
body .transition {
    display: block;
}

.w-editor .transition {
    display: none;
}

.no-scroll-transition {
    overflow: hidden;
    position: relative;
}

/* ─── 3. Preloader — centering overrides ──────────────────────────────────── */
.preloader-content {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000;
}

.initial_state_opacity {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100%;
    margin-right: 0 !important;
}

.logo_container {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.logo_title.appear {
    text-align: center !important;
    width: 100% !important;
    margin-top: 0.4rem;
}

/* ─── 4. Preloader — leaf + finance mark ──────────────────────────────────── */
.pw-mark {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 0.25rem;
}

@media (min-width: 480px) { .pw-mark { width: 5.5rem; height: 5.5rem; } }
@media (min-width: 768px) { .pw-mark { width: 6rem;   height: 6rem;   } }

.pw-mark svg { overflow: visible; width: 100%; height: 100%; }

.pw-glow {
    position: absolute;
    inset: -22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210, 233, 195, 0.28) 0%, transparent 68%);
    animation: pw-glow-pulse 2.8s ease-in-out infinite;
}

.pw-leaf {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    animation: pw-draw 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}

.pw-leaf-fill {
    opacity: 0;
    animation: pw-fade 0.8s ease 0.8s forwards;
}

.pw-stem {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: pw-draw-short 0.7s ease 0.7s forwards;
}

.pw-vein              { stroke-dasharray: 30; stroke-dashoffset: 30; }
.pw-vein--1           { animation: pw-draw-short 0.5s ease 1.05s forwards; }
.pw-vein--2           { animation: pw-draw-short 0.5s ease 1.20s forwards; }
.pw-vein--3           { animation: pw-draw-short 0.5s ease 1.35s forwards; }

.pw-dollar {
    opacity: 0;
    animation: pw-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}

.pw-sway {
    transform-origin: 50% 85%;
    animation: pw-sway 3.2s ease-in-out 2s infinite;
}

.pw-sparkle            { opacity: 0; transform-origin: center; }
.pw-sparkle--1         { animation: pw-spark 0.55s ease 1.80s forwards; }
.pw-sparkle--2         { animation: pw-spark 0.55s ease 2.00s forwards; }
.pw-sparkle--3         { animation: pw-spark 0.55s ease 2.15s forwards; }

@keyframes pw-glow-pulse {
    0%,  100% { opacity: 0.5; transform: scale(1);    }
    50%        { opacity: 1;   transform: scale(1.12); }
}

@keyframes pw-draw       { to { stroke-dashoffset: 0; } }
@keyframes pw-draw-short { to { stroke-dashoffset: 0; } }
@keyframes pw-fade       { to { opacity: 1; } }

@keyframes pw-pop {
    0%   { opacity: 0; transform: scale(0.45) translateY(3px); }
    100% { opacity: 1; transform: scale(1)    translateY(0);   }
}

@keyframes pw-sway {
    0%,  100% { transform: rotate(-2.5deg); }
    50%        { transform: rotate( 2.5deg); }
}

@keyframes pw-spark {
    0%   { opacity: 0; transform: scale(0);   }
    55%  { opacity: 1; transform: scale(1.4); }
    100% { opacity: 0; transform: scale(0.7); }
}

/* ─── 5. Preloader text — FOUC guard ──────────────────────────────────────── */
.appear            { visibility: hidden; }
.appear.is-ready   { visibility: visible; }

/* ─── 6. Lenis smooth-scroll helpers ──────────────────────────────────────── */
html.lenis                                      { height: auto; }
.lenis.lenis-smooth                             { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent]        { overscroll-behavior: contain; }
.lenis.lenis-stopped                            { overflow: hidden; }

/* ─── 7. Hide native scrollbar (Webkit) ───────────────────────────────────── */
body::-webkit-scrollbar { display: none; }

/* ─── La solución — steps list: avoid clipping / overlap with slider (mobile) ─ */
@media screen and (max-width: 991px) {
    .the_solution {
        overflow: visible;
    }

    .the_solution-part2 {
        overflow: visible;
        min-height: 0;
        justify-content: flex-start;
        align-items: stretch;
        padding-bottom: max(5rem, 18vw);
    }

    .problem-grid2 {
        justify-content: flex-start !important;
        align-items: stretch !important;
        align-self: stretch;
        width: 100% !important;
        max-width: 100%;
        gap: clamp(1rem, 4vw, 1.5rem);
        flex: 0 1 auto;
    }

    .problem-grid_item2 {
        flex-shrink: 0;
    }

    .problem_divider {
        flex-shrink: 0;
    }
}

@media screen and (max-width: 479px) {
    .the_solution-part2 {
        padding-bottom: max(6rem, 26vw);
    }
}

.the_solution {
    position: relative;
    z-index: 1;
}

/* ─── 8. Slider section — remove scroll-jacking height, use click nav ─────── */

/* Collapse the 450vh scroll-jacking height; sit below .the_solution in stacking order */
.section_slider_container {
    position: relative;
    z-index: 0;
    height: auto !important;
}

/* Container no longer needs to be sticky — just a normal block */
._100vh-container {
    position: relative;
    overflow: hidden; /* clip horizontally so off-screen slides are hidden */
    top: auto !important;
}

/* Slider track — must not clip; translateX slides it */
.sliders {
    overflow: visible !important;
    will-change: transform;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .sliders.is-desktop-draggable {
        cursor: grab;
        user-select: none;
    }

    .sliders.is-desktop-draggable.is-dragging {
        cursor: grabbing;
    }
}

.slider_widget img {
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1.5px solid rgba(210, 233, 195, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #d2e9c3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.slider-arrow svg {
    width: 1.1rem;
    height: 1.1rem;
    pointer-events: none;
}

.slider-arrow:hover {
    background: rgba(224, 230, 126, 0.15);
    border-color: #e0e67e;
    color: #e0e67e;
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow--prev { left: 1.5rem; }
.slider-arrow--next { right: 1.5rem; }

.slider-arrow:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.slider-dots {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.slider-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    border: none;
    background: rgba(210, 233, 195, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.slider-dot.is-active {
    background: #e0e67e;
    transform: scale(1.4);
}

/* Mobile arrow adjustments */
@media (max-width: 479px) {
    .slider-arrow { width: 2.2rem; height: 2.2rem; }
    .slider-arrow--prev { left: 0.6rem; }
    .slider-arrow--next { right: 0.6rem; }
}

/* Mobile: hide slider controls for "Préstamos en línea..." section */
@media (max-width: 767px) {
    .section_slider_container .slider-arrow,
    .section_slider_container .slider-dots {
        display: none !important;
    }

    .section_slider_container .sliders {
        transform: none !important;
        transition: none !important;
    }

    .section_slider_container .slider {
        display: none;
    }

    .section_slider_container .slider:first-child {
        display: block;
    }
}

/* ─── 9. Hero image container (replaces video container) ─────────────────── */
.hero-img-container {
    position: relative;
    width: 79vw;
    height: 44vw;
    margin: 0 auto;
    border-radius: 1.30952vw;
    overflow: hidden;
    z-index: 2;
    transform-origin: center center;
    will-change: transform;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

@media (max-width: 991px) {
    .hero-img-container {
        width: 90vw;
        height: 52vw;
        border-radius: 3vw;
    }
}

@media (max-width: 479px) {
    .hero-img-container {
        width: 94vw;
        height: 60vw;
        border-radius: 4vw;
    }
}

/* ─── 10. Lead form — calculator stack (brand palette) ─────────────────── */

.hero-btn_container.lead-form-wrap {
    flex-direction: column;
    align-items: stretch;
    align-self: center;
    width: 100%;
    max-width: min(22.5rem, 92vw);
    margin-top: 0.75rem;
}

.lead-form {
    --lf-navy: #0f2418;
    --lf-navy-mid: #1b4b38;
    --lf-green: #285d42;
    --lf-neon: var(--neon_green);
    --lf-track: rgba(255, 255, 255, 0.24);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
}

#lead-form {
    scroll-margin-top: clamp(4.5rem, 12vw, 6rem);
}

.lead-form__card {
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.lead-form__flow {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Curved header inside panel — brand green ribbon + light type */
.lead-form__intro {
    position: relative;
    z-index: 1;
    isolation: isolate;
    background: linear-gradient(135deg, #285d42 0%, #214c36 58%, #1a3d2e 100%);
    padding: 1rem 1.25rem 0.85rem 1.3rem;
    border-radius: calc(1.75rem - 2px) calc(1.75rem - 2px) 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -20px 24px rgba(13, 31, 22, 0.24);
}

.lead-form__intro::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -18%;
    width: 66%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(224, 230, 126, 0.35) 0%, rgba(224, 230, 126, 0) 72%);
    pointer-events: none;
    z-index: -1;
}

.lead-form__intro::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(224, 230, 126, 0.4) 0%, rgba(224, 230, 126, 0.08) 45%, rgba(224, 230, 126, 0.2) 100%);
    pointer-events: none;
}

.lead-form__intro-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.lead-form__intro-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 0;
}

.lead-form__intro-meta {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lead-form__intro-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: Editorialnew, sans-serif;
    font-size: 0.72rem;
    font-weight: 100;
    line-height: 1.12;
    letter-spacing: -0.004em;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.lead-form__intro-meta-item svg {
    display: none;
}

.lead-form__intro-meta-dot {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.84rem;
    line-height: 1;
}

.lead-form__intro-step {
    display: none;
}

.lead-form__intro-wave {
    display: none;
}

.lead-form__top-icon {
    display: none;
}

.lead-form__intro-badge {
    display: none;
}

.lead-form__top-copy {
    min-width: 0;
}

.lead-form__top-title {
    margin: 0;
    font-family: Editorialnew, sans-serif;
    font-size: 1.62rem;
    font-weight: 500;
    letter-spacing: -0.006em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.lead-form__top-sub {
    display: none;
}

/* Dark green calculator panel */
.lead-form__panel {
    border-radius: 1.75rem;
    background: linear-gradient(165deg, #214c36 0%, #1b4330 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 6px 18px rgba(11, 27, 19, 0.24),
        0 22px 44px -14px rgba(10, 24, 18, 0.48);
    overflow: hidden;
}

.lead-form__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1.35rem 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.lead-form__kicker {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(240, 251, 245, 0.72);
    cursor: pointer;
}

.lead-form__amount-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.lead-form__amount-currency {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e0e67e;
    line-height: 1;
}

.lead-form__amount-value {
    font-size: clamp(2.25rem, 9vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #f7fffb;
    font-variant-numeric: tabular-nums;
}

/* Range */
.lead-form__range-wrap {
    margin-bottom: 1rem;
    padding: 0 0.15rem;
}

.lead-form__range {
    --lf-range-pct: 44.44%;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 1.35rem;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.lead-form__range::-webkit-slider-runnable-track {
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--lf-neon) 0%,
        var(--lf-neon) var(--lf-range-pct),
        rgba(224, 230, 126, 0.3) var(--lf-range-pct),
        rgba(224, 230, 126, 0.3) 100%
    );
}

.lead-form__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--lf-neon);
    box-shadow: 0 1px 6px rgba(14, 34, 24, 0.35);
    margin-top: calc((0.45rem - 1.25rem) / 2);
}

.lead-form__range::-moz-range-track {
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(224, 230, 126, 0.3);
}

.lead-form__range::-moz-range-progress {
    height: 0.45rem;
    border-radius: 999px;
    background: var(--lf-neon);
}

.lead-form__range::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--lf-neon);
    box-shadow: 0 1px 6px rgba(14, 34, 24, 0.35);
}

.lead-form__presets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.lead-form__preset {
    font-family: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    min-height: 2.5rem;
    padding: 0.4rem 0.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 255, 250, 0.9);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.lead-form__preset-currency {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
}

.lead-form__preset-num {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead-form__preset:hover {
    border-color: rgba(224, 230, 126, 0.6);
    background: rgba(224, 230, 126, 0.16);
    color: #fff;
}

.lead-form__preset.is-selected {
    background: var(--lf-neon);
    border-color: var(--lf-neon);
    color: var(--lf-navy);
}

.lead-form__preset.is-selected .lead-form__preset-currency {
    opacity: 0.9;
    color: rgba(15, 36, 24, 0.72);
}

.lead-form__preset.is-selected .lead-form__preset-num {
    color: var(--lf-navy);
}

.lead-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0;
}

.lead-form__field--custom {
    margin-bottom: 0;
}

.lead-form__field-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(245, 255, 250, 0.9);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.lead-form__field-hint {
    font-size: 0.68rem;
    color: rgba(245, 255, 250, 0.62);
}

.lead-form__input-wrap {
    display: flex;
    align-items: center;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.97);
    min-height: 2.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form__input-wrap:focus-within {
    border-color: #285d42;
    box-shadow: 0 0 0 4px rgba(40, 93, 66, 0.12);
}

.lead-form__input-prefix {
    flex-shrink: 0;
    padding-left: 0.85rem;
    font-size: 0.86rem;
    font-weight: 800;
    color: rgba(40, 93, 66, 0.6);
    user-select: none;
}

.lead-form__input {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.7rem 0.85rem;
    border: none;
    background: transparent;
    color: #0f2418;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 0.85rem;
    -webkit-appearance: none;
    appearance: none;
}

.lead-form__input--with-prefix {
    padding-left: 0.25rem;
}

.lead-form__input:focus {
    outline: none;
}

.lead-form__input::placeholder {
    color: rgba(15, 36, 24, 0.42);
}

.lead-form__error {
    font-size: 0.75rem;
    font-weight: 500;
    color: #b42318;
    margin: 0.35rem 0 0;
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(180, 35, 24, 0.07);
    border: 1px solid rgba(180, 35, 24, 0.14);
}

.lead-form__body .lead-form__submit {
    margin-top: 1.05rem;
    flex-shrink: 0;
}

.lead-form__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 3.15rem;
    padding: 0 0.55rem 0 1.15rem;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lf-navy);
    cursor: pointer;
    background: var(--lf-neon);
    box-shadow:
        0 2px 6px rgba(15, 36, 24, 0.06),
        0 12px 28px -6px rgba(240, 246, 141, 0.65);
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lead-form__submit-text {
    flex: 1;
    text-align: left;
}

.lead-form__submit-arrow {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lf-navy);
    color: #fff;
    transition: transform 0.2s ease;
}

.lead-form__submit-arrow svg {
    width: 1rem;
    height: 1rem;
}

.lead-form__submit:hover:not(:disabled) {
    filter: brightness(1.02);
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgba(15, 36, 24, 0.08),
        0 14px 36px -4px rgba(240, 246, 141, 0.75);
}

.lead-form__submit:hover:not(:disabled) .lead-form__submit-arrow {
    transform: translateX(2px);
}

.lead-form__submit:active:not(:disabled) {
    transform: scale(0.99);
}

.lead-form__submit:focus-visible {
    outline: 2.5px solid var(--lf-green);
    outline-offset: 3px;
}

.lead-form__submit:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* Neon CTA (#f0f68d) — no filter on hover; neutral shadow */
.hero.hero--redesign .lead-form__submit {
    position: relative;
    z-index: 1;
    isolation: isolate;
    mix-blend-mode: normal;
    background-color: #f0f68d;
    filter: none;
    box-shadow:
        0 2px 6px rgba(15, 36, 24, 0.07),
        0 10px 26px -10px rgba(15, 36, 24, 0.14);
}

.hero.hero--redesign .lead-form__submit:hover:not(:disabled) {
    filter: none;
    background-color: #f4f799;
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgba(15, 36, 24, 0.09),
        0 14px 32px -10px rgba(15, 36, 24, 0.16);
}

.hero.hero--redesign .lead-form__submit:active:not(:disabled) {
    filter: none;
    background-color: #f0f68d;
}

.hero.hero--redesign .lead-form__submit-arrow {
    isolation: isolate;
    mix-blend-mode: normal;
}

.lead-form__trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(40, 93, 66, 0.08);
    box-shadow: 0 1px 3px rgba(15, 36, 24, 0.04);
}

.lead-form__trust-secure {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.lead-form__trust-shield {
    flex-shrink: 0;
    color: var(--lf-green);
    display: flex;
}

.lead-form__trust-secure-txt {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 36, 24, 0.45);
    line-height: 1.2;
}

.lead-form__trust-social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.lead-form__trust-social-img {
    display: block;
    width: auto;
    height: clamp(1.3rem, 3vw, 1.55rem);
    max-width: min(6rem, 28vw);
    object-fit: contain;
    object-position: center;
}

.lead-form__trust-avatars {
    display: flex;
    align-items: center;
}

.lead-form__trust-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--lf-green);
    font-family: Inter, sans-serif;
    box-shadow: 0 1px 2px rgba(40, 93, 66, 0.15);
}

.lead-form__trust-avatars .lead-form__trust-avatar:first-child {
    margin-left: 0;
}

.lead-form__trust-plus {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(15, 36, 24, 0.4);
    font-variant-numeric: tabular-nums;
}

.lead-form__hint {
    font-size: 0.625rem;
    line-height: 1.5;
    color: rgba(15, 36, 24, 0.42);
    margin: 0;
    text-align: center;
    padding: 0 0.35rem;
}

.lead-form__success-panel[hidden] {
    display: none !important;
}

.lead-form__success-panel:not([hidden]) {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    padding: 2.75rem 1.5rem 3rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, #fafdfb 0%, #eef4ea 100%);
    border: 1px solid rgba(40, 93, 66, 0.1);
    box-shadow: 0 16px 40px -12px rgba(40, 93, 66, 0.15);
    animation: lf-success-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lf-success-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lead-form__success-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #285d42, #1a3d2e);
    color: #e0e67e;
    box-shadow: 0 6px 24px rgba(40, 93, 66, 0.35);
}

.lead-form__success {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.5;
    color: #0f2418;
    margin: 0;
    max-width: 19rem;
}

.lead-form.is-sent .lead-form__flow {
    display: none;
}

@media (max-width: 380px) {
    .lead-form__top-title {
        font-size: 1.42rem;
    }

    .lead-form__intro {
        padding: 0.95rem 1rem 0.75rem;
    }

    .lead-form__intro-meta {
        gap: 0.35rem;
    }

    .lead-form__intro-meta-item {
        font-size: 0.74rem;
    }

    .lead-form__preset-num {
        font-size: 0.8125rem;
    }

    .lead-form__body {
        padding: 1.15rem 1.1rem 1.1rem;
    }
}

/* ─── 11. Scroll to top ──────────────────────────────────────────────────── */
.scroll-to-top {
    position: fixed;
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #285d42;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0.25rem 1rem rgba(40, 93, 66, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #1f4a34;
}

.scroll-to-top:focus-visible {
    outline: 2px solid #e0e67e;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition-duration: 0.01ms;
    }
}

/* ─── Exit intent modal (CRO) ─────────────────────────────────────────────── */
.exit-intent {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 22, 16, 0.56);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.exit-intent[hidden] {
    display: none;
}

.exit-intent.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.exit-intent__card {
    position: relative;
    width: min(34rem, 100%);
    border-radius: 1.05rem;
    border: 1px solid rgba(40, 93, 66, 0.2);
    background: linear-gradient(160deg, #f8fcf5 0%, #eef5e9 100%);
    box-shadow: 0 14px 42px rgba(7, 27, 18, 0.34);
    padding: 1.15rem 1.1rem 1.15rem;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.24s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exit-intent.is-visible .exit-intent__card {
    transform: translateY(0) scale(1);
}

.exit-intent__close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: rgba(20, 56, 36, 0.07);
    color: rgba(20, 56, 36, 0.7);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.exit-intent__hero-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.5rem;
    background: rgba(224, 230, 126, 0.24);
    border: 1px solid rgba(40, 93, 66, 0.2);
    color: #214b3b;
}

.exit-intent__kicker {
    margin: 0 0 0.32rem;
    font: 600 0.7rem/1.2 Inter, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #285d42;
}

.exit-intent__title {
    margin: 0 0 0.5rem;
    font: 500 1.5rem/1.18 Editorialnew, sans-serif;
    letter-spacing: -0.01em;
    color: #153927;
}

.exit-intent__copy {
    margin: 0 0 0.95rem;
    font: 400 0.95rem/1.5 Inter, sans-serif;
    color: rgba(20, 46, 34, 0.76);
}

.exit-intent__timer {
    margin: 0 0 0.6rem;
    font: 500 0.77rem/1.3 Inter, sans-serif;
    color: rgba(20, 56, 36, 0.72);
}

.exit-intent__timer strong {
    font-weight: 800;
    color: #1b4b38;
    font-variant-numeric: tabular-nums;
}

.exit-intent__meta {
    margin: 0 0 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(40, 93, 66, 0.16);
    background: rgba(210, 233, 195, 0.42);
    font: 500 0.78rem/1.25 Inter, sans-serif;
    color: rgba(20, 56, 36, 0.82);
}

.exit-intent__meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #285d42;
    flex-shrink: 0;
}

.exit-intent__meta strong {
    color: #153927;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.exit-intent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.exit-intent__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font: 600 0.87rem/1 Inter, sans-serif;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.exit-intent__btn--primary {
    background: #e0e67e;
    color: #143824;
}

.exit-intent__btn--secondary {
    background: rgba(20, 56, 36, 0.08);
    color: #1f4a34;
    border: 1px solid rgba(20, 56, 36, 0.18);
}

.exit-intent__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.exit-intent__dismiss-link {
    margin-top: 0.62rem;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(20, 56, 36, 0.5);
    font: 500 0.72rem/1.2 Inter, sans-serif;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    align-self: center;
}

.exit-intent__dismiss-link:hover {
    color: rgba(20, 56, 36, 0.72);
}

body.exit-intent-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .exit-intent {
        display: none !important;
    }
}

/* ─── Form overlay — full-page iframe view after lead form submission ──────── */
.form-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--sage, #d2e9c3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* Flip-in entrance */
    opacity: 0;
    transform: rotateX(12deg) scale(0.97);
    transform-origin: top center;
    transform-style: preserve-3d;
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.form-overlay[hidden] {
    display: none;
}

.form-overlay.is-visible {
    opacity: 1;
    transform: rotateX(0deg) scale(1);
    pointer-events: auto;
}

.form-overlay__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: clamp(0.35rem, 1.4vw, 1rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 4rem);
    box-sizing: border-box;
}

.form-overlay__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: clamp(0.25rem, 0.9vw, 0.55rem);
    animation: hero-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.form-overlay__logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 0.35rem;
    transition: opacity 0.18s ease;
}

.form-overlay__logo a:hover {
    opacity: 0.72;
}

.form-overlay__logo a:focus-visible {
    outline: 2px solid #285d42;
    outline-offset: 4px;
}

.form-overlay__logo-img {
    height: auto;
    max-height: clamp(1.65rem, 3.7vw, 2.1rem);
    width: auto;
    max-width: 188px;
    display: block;
    object-fit: contain;
}

.form-overlay__iframe-wrap {
    width: 100%;
    max-width: 54rem;
    animation: hero-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@media (max-width: 768px) {
    .form-overlay__inner {
        padding-top: 0.35rem;
    }

    .form-overlay__logo {
        margin-bottom: 0.3rem;
    }

    .form-overlay__logo-img {
        max-height: 1.65rem;
        max-width: 172px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .form-overlay,
    .form-overlay__logo,
    .form-overlay__iframe-wrap {
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
    }
}

/* Keep full mobile.png visible on laptop screens */
@media screen and (min-width: 992px) and (max-width: 1440px) {
    .the_solution-phone_container {
        overflow: visible;
    }

    .the_solution-phone_container .phone {
        left: clamp(10px, 1.5vw, 22px);
        width: min(34vw, 470px);
        align-items: center;
    }

    .the_solution-phone_container .image-4 {
        display: block;
        width: 100%;
        height: auto;
        max-height: 94vh;
        object-fit: contain;
        object-position: center top;
    }
}

/* ─── Footer — aviso legal (reemplaza columnas de enlaces) ───────────────── */
.footer.footer--disclaimer {
    background: var(--dark_green, #143824);
    color: rgba(233, 248, 223, 0.88);
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
}

.footer-disclaimer {
    max-width: 52rem;
    margin: 0 auto;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
}

.footer-disclaimer__intro {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(233, 248, 223, 0.14);
}

.footer-disclaimer__brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 0.5rem;
}

.footer-disclaimer__brand-link {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.65rem;
    text-decoration: none;
}

.footer-disclaimer__brand-logo {
    display: block;
    width: auto;
    height: clamp(2rem, 3.1vw, 2.45rem);
    max-width: min(12.5rem, 56vw);
    object-fit: contain;
    filter: brightness(0) invert(1) saturate(0.65) sepia(0.2) hue-rotate(58deg) brightness(1.03);
    opacity: 0.95;
}

.footer-disclaimer__tagline {
    margin: 0;
    color: rgba(233, 248, 223, 0.86);
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 42rem;
}

.footer-disclaimer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1.25rem;
}

/* Collapsible legal body */
.footer-disclaimer__collapsible-shell {
    margin-bottom: 0.5rem;
}

.footer-disclaimer__collapsible-viewport {
    position: relative;
}

.footer-disclaimer__collapsible {
    max-height: 6.5rem;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-disclaimer__collapsible-shell.is-expanded .footer-disclaimer__collapsible {
    max-height: 500vh;
    overflow: visible;
}

.footer-disclaimer__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(20, 56, 36, 0), rgba(20, 56, 36, 0.55) 35%, var(--dark_green, #143824));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-disclaimer__collapsible-shell.is-expanded .footer-disclaimer__fade {
    opacity: 0;
    visibility: hidden;
}

.footer-disclaimer__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.35rem 0 1.25rem;
    padding: 0.45rem 1rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #143824;
    background: #e0e67e;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.footer-disclaimer__toggle:hover {
    background: #eef2a8;
}

.footer-disclaimer__toggle:focus-visible {
    outline: 2px solid #e0e67e;
    outline-offset: 3px;
}

.footer-disclaimer__toggle-label--less {
    display: none;
}

.footer-disclaimer__collapsible-shell.is-expanded .footer-disclaimer__toggle-label--more {
    display: none;
}

.footer-disclaimer__collapsible-shell.is-expanded .footer-disclaimer__toggle-label--less {
    display: inline;
}

.footer-disclaimer__link {
    color: #e0e67e;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
}

.footer-disclaimer__link:hover {
    text-decoration: underline;
}

.footer-disclaimer__sep {
    color: rgba(233, 248, 223, 0.32);
    user-select: none;
}

.footer-disclaimer__body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-disclaimer__section {
    scroll-margin-top: 5rem;
}

.footer-disclaimer__h {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #e0e67e;
    margin: 0 0 0.45rem;
}

.footer-disclaimer__section p {
    margin: 0;
    color: rgba(233, 248, 223, 0.82);
}

.footer-disclaimer__copyright {
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(233, 248, 223, 0.12);
    font-size: 0.75rem;
    color: rgba(233, 248, 223, 0.55);
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .footer-disclaimer__collapsible {
        transition: none;
    }

    .footer-disclaimer__fade {
        transition: none;
    }
}

@media (max-width: 479px) {
    .footer-disclaimer__links {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-disclaimer__sep {
        display: none;
    }

    .footer-disclaimer__collapsible {
        max-height: 5.75rem;
    }
}

@media (min-width: 768px) {
    .footer-disclaimer__collapsible {
        max-height: 7rem;
    }
}
