/* =============================================================
   Best Personal Loans Near Me — hoja de estilos principal
   v1.0.0
   Índice:
   01. Tokens y reset
   02. Utilidades y animaciones
   03. Botones y media placeholders
   04. Header / navegación
   05. Hero
   06. Chips de tipos de préstamo
   07. Panel de información
   08. Cómo funciona (bloque azul)
   09. Qué es un préstamo + tabla
   10. Usos del préstamo
   11. Perfiles de crédito / tarjetas
   12. Calculadora
   13. Why use us + collage
   14. CTA
   15. Estados
   16. FAQ
   17. Aviso importante
   18. Blog / recursos
   19. Footer
   20. Responsive
   ============================================================= */

/* 01. TOKENS Y RESET ----------------------------------------- */
:root {
    --blue:        #1F5AA6;
    --blue-dark:   #184A89;
    --blue-deep:   #123C73;
    --blue-soft:   #EAF2FF;
    --blue-tint:   #F3F8FF;
    --blue-line:   #BFD4F3;

    --navy:        #0E1B33;
    --navy-soft:   #16274A;

    --ink:         #111827;
    --ink-2:       #374151;
    --muted:       #6B7280;
    --muted-2:     #9CA3AF;

    --line:        #E5E7EB;
    --line-soft:   #F1F3F7;
    --bg:          #FFFFFF;
    --bg-alt:      #F5F7FA;
    --bg-panel:    #EEF1F6;

    --green:       #16A34A;
    --green-soft:  #E9F7EF;

    --radius-sm:   10px;
    --radius:      14px;
    --radius-lg:   20px;
    --radius-xl:   26px;

    --shadow-sm:   0 2px 10px rgba(17, 24, 39, .05);
    --shadow:      0 10px 30px rgba(17, 24, 39, .07);
    --shadow-lg:   0 24px 60px rgba(17, 24, 39, .10);

    --ease:        cubic-bezier(.16, .84, .44, 1);
    --header-h:    76px;

    --container:   1200px;
    --gutter:      20px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; }

:focus-visible {
    outline: 3px solid rgba(31, 90, 166, .45);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Keyframe que el formulario usa en su spinner y que no venía definido */
@keyframes bplnm-spin { to { transform: rotate(360deg); } }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--blue); color: #fff; padding: 12px 18px;
    border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* 02. UTILIDADES Y ANIMACIONES ------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container--narrow { max-width: 900px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }

.section__title {
    font-size: clamp(24px, 2.4vw, 32px);
    text-align: center;
    margin-bottom: 14px;
    color: var(--ink);
}
.section__title--left { text-align: left; }
.section__lead {
    text-align: center;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 15px;
}
.section__title + .card-grid,
.section__title + .use-grid,
.section__title + .state-grid,
.section__title + .post-grid,
.section__title + .faq,
.section__title + .calc,
.section__title + .split { margin-top: 44px; }

.section__foot {
    text-align: center;
    color: var(--muted-2);
    font-size: 13px;
    margin-top: 28px;
}
.section__cta { text-align: center; margin-top: 36px; }

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }

.text-accent { color: var(--blue); }

.rule {
    display: block;
    width: 54px; height: 3px;
    background: currentColor;
    border-radius: 99px;
    margin-bottom: 20px;
    opacity: .9;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .8s var(--ease),
        transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
    will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--form { transform: translateY(34px) scale(.985); }
.reveal--form.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* 03. BOTONES Y MEDIA ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 26px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .22s var(--ease), transform .18s var(--ease),
                box-shadow .25s var(--ease), color .2s var(--ease);
}
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 22px rgba(31, 90, 166, .24);
}
.btn--primary:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(31, 90, 166, .3);
}
.btn--primary:active { transform: translateY(0); }
.btn--light {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}
.btn--light:hover { background: #F2F6FC; color: var(--blue-dark); transform: translateY(-2px); }
.btn .ico { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.ico { width: 22px; height: 22px; fill: currentColor; }
.ico--sm { width: 16px; height: 16px; }
.ico--xs { width: 13px; height: 13px; }

/* Placeholders de imagen */
.media {
    margin: 0;
    position: relative;
    aspect-ratio: var(--ratio, 16 / 9);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
}
.media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.media--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, #F7F9FC 0 10px, #F1F5FA 10px 20px);
    border: 1.5px dashed var(--blue-line);
    color: var(--muted-2);
}
.media__icon svg { width: 30px; height: 30px; fill: var(--blue-line); }
.media__name { font-size: 11px; font-weight: 700; color: #8FA6C4; word-break: break-all; line-height: 1.3; }
.media__hint { font-size: 10px; color: #AFC0D6; letter-spacing: .04em; }
.media--rounded { border-radius: var(--radius-lg); }
.media--flat { background: transparent; border-radius: var(--radius); }
.media--thumb { border-radius: 12px; }
.media--thumb.media--empty { gap: 0; padding: 6px; }
.media--thumb .media__name,
.media--thumb .media__hint { display: none; }
.media--thumb .media__icon svg { width: 22px; height: 22px; }
.media--badge { width: 110px; border-radius: 999px; }

/* 04. HEADER --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
    border-color: var(--line);
    box-shadow: 0 6px 24px rgba(17, 24, 39, .06);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }

/* El logo se dimensiona por ALTURA y el ancho sale de la proporción real del
   archivo. Nada de aspect-ratio fija + object-fit:cover: eso recortaba el PNG
   (1039×174) a una caja mucho más ancha que alta. Fondo transparente y sin
   radio para que el PNG con transparencia no muestre ningún recuadro. */
.brand__logo {
    width: auto;
    height: 34px;
    aspect-ratio: auto;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.brand__logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}
/* Solo el marcador (archivo aún no subido) necesita medidas propias */
.brand__logo.media--empty { width: 178px; height: 44px; padding: 6px; }
.brand__logo .media__hint { display: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    border-radius: 9px;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after,
.nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__caret { width: 15px; height: 15px; fill: currentColor; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 216px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item.has-children:hover .submenu,
.nav__item.is-open .submenu {
    opacity: 1; visibility: visible; transform: none;
}
.submenu a {
    display: block;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: 8px;
}
.submenu a:hover { background: var(--blue-soft); color: var(--blue); }

/* z-index para que el botón del menú quede por encima del drawer,
   que es un hijo posicionado del propio <header> */
.header__actions { display: flex; align-items: center; gap: 6px; position: relative; z-index: 96; }
.icon-btn {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: none; border: none; cursor: pointer;
    border-radius: 10px;
    color: var(--ink-2);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }

.burger {
    display: none;
    width: 42px; height: 42px;
    background: none; border: none; cursor: pointer;
    border-radius: 10px;
    padding: 11px 9px;
}
.burger span {
    display: block; height: 2px; border-radius: 2px;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__search {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 14px 0;
    animation: dropIn .3s var(--ease);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-form {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-alt);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 6px 6px 6px 14px;
}
.search-form svg { width: 18px; height: 18px; fill: var(--muted-2); flex-shrink: 0; }
.search-form input {
    flex: 1; border: none; background: none; outline: none;
    font-family: inherit; font-size: 15px; color: var(--ink);
    height: 42px;
}

.nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(14, 27, 51, .45);
    backdrop-filter: blur(2px);
    z-index: 90;
    opacity: 0;
    animation: fadeIn .25s var(--ease) forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* 05. HERO ----------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 62%, #F1F4F9 100%);
    padding: 64px 0 76px;
    overflow: hidden;
}
.hero__glow {
    position: absolute;
    top: -220px; right: -160px;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(31, 90, 166, .14), transparent 65%);
    pointer-events: none;
    animation: float 14s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(-24px, 26px, 0); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
}
.hero__copy { padding-top: 28px; }
.hero__title {
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}
.hero__sub {
    color: var(--muted);
    font-size: 15px;
    max-width: 440px;
    margin-bottom: 30px;
}
.hero__points { display: grid; gap: 16px; }
.hero__points li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
}
.hero__ico {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--blue);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero__points li:hover .hero__ico {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(31, 90, 166, .16);
}
.hero__ico .ico { width: 20px; height: 20px; }

.hero__form { position: relative; }
.hero__form #bplnm-multistep-form { max-width: 620px; margin-left: auto; }
.hero__form .form-container {
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(31, 90, 166, .08);
}

/* 06. CHIPS DE TIPOS DE PRÉSTAMO -------------------------------- */
.loan-chips { padding: 40px 0 8px; background: var(--bg); }
.chip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.chip a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    padding: 16px 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    color: var(--ink-2);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.chip a:hover {
    transform: translateY(-4px);
    border-color: var(--blue-line);
    box-shadow: 0 14px 28px rgba(31, 90, 166, .12);
    color: var(--blue);
}
.chip__ico { color: var(--blue); display: grid; place-items: center; }
.chip__ico .ico { width: 26px; height: 26px; transition: transform .35s var(--ease); }
.chip a:hover .chip__ico .ico { transform: scale(1.12) rotate(-4deg); }
.chip__label { font-size: 12.5px; font-weight: 700; line-height: 1.35; }

/* 07. PANEL DE INFORMACIÓN -------------------------------------- */
.info-panel {
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    padding: 34px 36px;
}
.info-panel__title {
    font-size: 17px;
    margin-bottom: 22px;
    color: var(--ink);
}
.info-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
}
.info-list { margin: 0; display: grid; gap: 8px; align-content: start; }
.info-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
}
.info-list dt { font-weight: 700; color: var(--ink); margin: 0; }
.info-list dd { margin: 0; color: var(--ink-2); }
.info-example__title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.info-panel__note {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #DDE3EC;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.75;
}

/* 08. CÓMO FUNCIONA (BLOQUE AZUL) ------------------------------- */
.steps-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.steps-section::after {
    content: '';
    position: absolute;
    right: -120px; bottom: -160px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}
.steps-section__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.steps-section__title {
    font-size: clamp(22px, 2.2vw, 28px);
    margin-bottom: 28px;
    max-width: 460px;
}
.steps { display: grid; gap: 24px; }
.step__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
}
.step__num { color: rgba(255, 255, 255, .7); }
.step p {
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
    max-width: 430px;
    line-height: 1.7;
}
.steps-section__media .media { box-shadow: 0 24px 50px rgba(0, 0, 0, .22); }
.steps-section__media .media:hover img { transform: scale(1.04); }

/* 09. QUÉ ES UN PRÉSTAMO + TABLA -------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.split__text, .split__table { min-width: 0; }
.split__text p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.table-title { font-size: 16px; margin-bottom: 16px; }
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
    min-width: 460px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.compare th, .compare td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}
.compare thead th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--ink);
    font-size: 12.5px;
    text-transform: none;
}
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare td { color: var(--muted); }
.compare td.is-best { color: var(--blue); font-weight: 700; background: rgba(31, 90, 166, .04); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr { transition: background .2s var(--ease); }
.compare tbody tr:hover { background: var(--blue-tint); }

/* 10. USOS DEL PRÉSTAMO ----------------------------------------- */
.use-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.use-card a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.use-card a:hover {
    transform: translateY(-4px);
    border-color: var(--blue-line);
    box-shadow: 0 16px 32px rgba(31, 90, 166, .12);
}
.use-card__thumb { flex-shrink: 0; width: 62px; }
.use-card__thumb .media { border-radius: 12px; }
.use-card a:hover .use-card__thumb img { transform: scale(1.08); }
.use-card__label { flex: 1; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.use-card__arrow {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.use-card__arrow .ico { width: 15px; height: 15px; }
.use-card a:hover .use-card__arrow { background: var(--blue); color: #fff; transform: translateX(4px); }

/* 11. TARJETAS -------------------------------------------------- */
.card-grid { display: grid; gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #3B82F6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-line); }
.card:hover::before { transform: scaleX(1); }
.card__ico {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    margin-bottom: 16px;
}
.card__title { font-size: 16.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.card--bordered { background: #fff; }

/* 12. CALCULADORA ----------------------------------------------- */
.calc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 34px 36px 28px;
    box-shadow: var(--shadow);
    max-width: 940px;
    margin: 0 auto;
}
.calc__controls { display: grid; gap: 26px; margin-bottom: 30px; }
.calc__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.calc__head label { font-size: 14px; font-weight: 700; color: var(--ink); }
.calc__head output {
    font-size: 17px;
    font-weight: 800;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
}
.calc__scale {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--muted-2);
    margin-top: 7px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 99px;
    background: linear-gradient(var(--blue), var(--blue)) 0 / var(--fill, 40%) 100% no-repeat, var(--line);
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue);
    box-shadow: 0 3px 10px rgba(31, 90, 166, .3);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(31, 90, 166, .14); }
input[type="range"]::-moz-range-thumb {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue);
    box-shadow: 0 3px 10px rgba(31, 90, 166, .3);
    cursor: pointer;
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }

.calc__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    background: var(--blue-tint);
    border: 1px solid var(--blue-line);
    border-radius: var(--radius-lg);
}
.result { text-align: center; }
.result__label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.result__value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}
.result--main .result__value { color: var(--blue); font-size: 32px; }
.calc__note {
    margin-top: 20px;
    font-size: 11.5px;
    color: var(--muted-2);
    line-height: 1.75;
    text-align: center;
}

/* 13. WHY USE US ------------------------------------------------ */
.why-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.collage__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 18px;
    border-radius: var(--radius-lg);
    text-align: center;
    min-height: 150px;
}
.collage__tile--no { background: var(--blue-soft); border: 1px solid var(--blue-line); }
.collage__tile--clear { background: var(--green-soft); border: 1px solid #BFE6CE; }
.tile__x {
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -.03em;
}
.tile__text { font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.tile__dots { display: flex; gap: 6px; }
.tile__dots i {
    width: 14px; height: 14px;
    background: var(--green);
    border-radius: 3px;
    display: block;
    animation: dotPulse 2.4s var(--ease) infinite;
}
.tile__dots i:nth-child(2) { animation-delay: .15s; }
.tile__dots i:nth-child(3) { animation-delay: .3s; }
.tile__dots i:nth-child(4) { animation-delay: .45s; }
.tile__dots i:nth-child(5) { animation-delay: .6s; }
@keyframes dotPulse {
    0%, 70%, 100% { opacity: .35; transform: translateY(0); }
    35%           { opacity: 1;  transform: translateY(-3px); }
}

.benefit-list { display: grid; gap: 22px; margin-top: 28px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; }
.benefit__ico {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
}
.benefit__ico .ico { width: 17px; height: 17px; }
.benefit-list h3 { font-size: 15px; margin-bottom: 3px; }
.benefit-list p { font-size: 13.5px; color: var(--muted); }

/* 14. CTA ------------------------------------------------------- */
.cta {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(120deg, var(--navy) 0%, #16336B 100%);
    border-radius: var(--radius-xl);
    padding: 44px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    left: -80px; top: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(59, 130, 246, .16);
    filter: blur(10px);
}
.cta__copy { position: relative; z-index: 1; }
.cta__eyebrow {
    font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: rgba(255, 255, 255, .6);
    margin-bottom: 10px;
}
.cta__title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.cta__text { font-size: 14.5px; color: rgba(255, 255, 255, .82); max-width: 460px; margin-bottom: 22px; }
.cta__note { font-size: 11.5px; color: rgba(255, 255, 255, .55); margin-top: 16px; max-width: 460px; }
.cta__media { position: relative; z-index: 1; }
.cta__media .media--empty { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.cta__media .media__name { color: rgba(255, 255, 255, .7); }
.cta__media .media__icon svg { fill: rgba(255, 255, 255, .4); }

/* 15. ESTADOS --------------------------------------------------- */
.state-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.state.is-hidden { display: none; }
.state a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    line-height: 1.4;
    transition: transform .25s var(--ease), border-color .25s var(--ease),
                box-shadow .25s var(--ease), color .25s var(--ease);
}
.state a:hover {
    transform: translateY(-3px);
    border-color: var(--blue-line);
    box-shadow: 0 10px 22px rgba(31, 90, 166, .1);
    color: var(--blue);
}
.state__dot {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
}

/* 16. FAQ ------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item.is-open { border-color: var(--blue-line); box-shadow: 0 10px 26px rgba(31, 90, 166, .08); }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--blue); }
.faq__sign {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    transition: transform .35s var(--ease), background .3s var(--ease);
}
.faq__item.is-open .faq__sign { transform: rotate(135deg); background: var(--blue); color: #fff; }
.faq__a {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    animation: faqIn .35s var(--ease);
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 17. AVISO IMPORTANTE ------------------------------------------ */
.notice {
    background: #fff;
    border: 1.5px solid var(--blue-line);
    border-radius: var(--radius-lg);
    padding: 32px 34px;
    box-shadow: var(--shadow-sm);
}
.notice__title { font-size: 18px; margin-bottom: 6px; }
.notice__lead { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.notice__list { display: grid; gap: 10px; margin-bottom: 20px; }
.notice__list li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.7;
}
.notice__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}
.notice__foot { font-size: 13.5px; color: var(--muted); font-style: italic; }

/* 18. BLOG ------------------------------------------------------ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.post {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.post:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--blue-line);
}
.post__media { display: block; }
.post__media .media { border-radius: 0; }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__kicker {
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.post__title { font-size: 16px; line-height: 1.4; margin-bottom: 10px; }
.post__title a { color: var(--ink); }
.post__title a:hover { color: var(--blue); }
.post__excerpt { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.post__link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--blue);
}
.post__link .ico { transition: transform .25s var(--ease); }
.post__link:hover .ico { transform: translateX(4px); }

.resources-row__title { font-size: 15px; margin-bottom: 14px; }
.resources-row__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.resources-row__list a { font-size: 13px; color: var(--muted); font-weight: 500; }
.resources-row__list a:hover { color: var(--blue); }

/* 19. FOOTER ---------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
    padding: 56px 0 0;
    font-size: 13px;
}
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.brand--footer .brand__logo { height: 38px; }
.brand--footer .brand__logo.media--empty { width: 190px; height: 46px; }
.brand--footer .media--empty {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .25);
}
.brand--footer .media__name { color: rgba(255, 255, 255, .6); }
.brand--footer .media__icon svg { fill: rgba(255, 255, 255, .35); }

.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.socials svg { width: 16px; height: 16px; fill: #fff; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    padding: 40px 0;
}
.footer__title {
    font-size: 13px;
    color: #fff;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.footer__title--spaced { margin-top: 28px; }
.footer__list { display: grid; gap: 9px; }
.footer__list--dense { gap: 7px; }
.footer__list a { color: rgba(255, 255, 255, .68); font-size: 12.5px; line-height: 1.5; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__badge { margin-top: 24px; }
.footer__badge .media--empty {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .25);
}
.footer__badge .media__name { color: rgba(255, 255, 255, .55); }
.footer__badge .media__icon svg { fill: rgba(255, 255, 255, .3); }

.footer__legal {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 26px 0;
    font-size: 11.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .5);
}
.footer__legal p { margin-bottom: 12px; }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}
.footer__bottom p { margin: 0; }
.footer__version { opacity: .5; letter-spacing: .08em; }

.to-top {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(31, 90, 166, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
    z-index: 80;
}
.to-top svg { width: 22px; height: 22px; fill: currentColor; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); }

/* 20. RESPONSIVE ------------------------------------------------ */
@media (max-width: 1300px) {
    .nav__link { padding: 10px 9px; font-size: 13.5px; }
    .brand__logo { height: 31px; }
    .brand__logo.media--empty { width: 162px; }
}

@media (max-width: 1080px) {
    :root { --header-h: 70px; }

    .burger { display: block; }

    .nav {
        position: fixed;
        top: 0; right: 0;
        width: min(340px, 86vw);
        height: 100dvh;
        background: #fff;
        padding: calc(var(--header-h) + 16px) 20px 32px;
        box-shadow: -12px 0 40px rgba(17, 24, 39, .16);
        transform: translateY(-14px);
        opacity: 0;
        transition: transform .34s var(--ease), opacity .28s var(--ease), visibility .34s;
        overflow-y: auto;
        z-index: 95;
        margin-left: 0;
        visibility: hidden;
    }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__link {
        justify-content: space-between;
        padding: 14px 12px;
        font-size: 15px;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
    }
    .nav__link::after { display: none; }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 4px 0 8px 12px;
        display: none;
    }
    .nav__item.is-open .submenu { display: block; }

    .nav__link { padding: 14px 12px; }

    /* El drawer es blanco también en páginas con header oscuro */
    .site-header--dark .nav__link { color: var(--ink-2); }
    .site-header--dark .nav__link:hover,
    .site-header--dark .nav__item.is-current > .nav__link { color: var(--blue); }

    .brand__logo { height: 29px; }
    .brand__logo.media--empty { width: 150px; }
    .chip-grid { grid-template-columns: repeat(3, 1fr); }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__copy { padding-top: 0; text-align: left; }
    .hero__sub { max-width: 560px; }
    .hero__form #bplnm-multistep-form { margin: 0 auto; }
    .hero__points { grid-template-columns: repeat(3, 1fr); }
    .hero__points li { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }


    .section { padding: 64px 0; }
    .section--tight { padding: 44px 0; }

    .info-panel { padding: 26px 22px; }
    .info-panel__grid { grid-template-columns: 1fr; gap: 22px; }

    .steps-section__inner { grid-template-columns: 1fr; gap: 34px; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .use-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid--3 { grid-template-columns: 1fr; }
    .why-us { grid-template-columns: 1fr; gap: 36px; }
    .cta { grid-template-columns: 1fr; padding: 34px 26px; text-align: left; }
    .cta__media { order: -1; max-width: 380px; }
    .state-grid { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .calc { padding: 26px 22px 22px; }
    .calc__results { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
    .result { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
    .result__label { margin-bottom: 0; }
}

@media (max-width: 620px) {
    :root { --gutter: 16px; }

    .hero { padding: 36px 0 52px; }
    .hero__points { grid-template-columns: 1fr; gap: 12px; }
    .hero__points li { flex-direction: row; align-items: center; }
    .hero__title { font-size: 30px; }

    .loan-chips { padding: 28px 0 0; }
    .chip-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .chip a { min-height: 92px; }

    .use-grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .state-grid { grid-template-columns: 1fr; }
    .collage { grid-template-columns: 1fr 1fr; gap: 10px; }
    .notice { padding: 24px 20px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__top { flex-direction: column; align-items: flex-start; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .resources-row__list { flex-direction: column; gap: 10px; }
    .section__title { font-size: 22px; }
    .result__value { font-size: 22px; }
    .result--main .result__value { font-size: 26px; }
    .to-top { right: 14px; bottom: 14px; }
}

/* Impresión mínima */
@media print {
    .site-header, .to-top, .nav-backdrop, .hero__glow { display: none !important; }
    body { background: #fff; }
}

/* =============================================================
   21. PÁGINAS INTERNAS — v1.1.0
   (How It Works y todo lo reutilizable para las siguientes)
   ============================================================= */

.container--mid { max-width: 1060px; }

.section--grey { background: var(--bg-panel); }
.section__title--plain { font-weight: 700; letter-spacing: -.01em; }
.rule--blue { background: var(--blue); }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Header en versión oscura (páginas con hero navy) -------- */
.site-header--dark {
    background: rgba(11, 26, 51, .92);
    border-bottom-color: rgba(255, 255, 255, .08);
}
.site-header--dark.is-stuck {
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}
.site-header--dark .nav__link { color: rgba(255, 255, 255, .84); }
.site-header--dark .nav__link:hover,
.site-header--dark .nav__item.is-current > .nav__link { color: #fff; }
.site-header--dark .icon-btn { color: rgba(255, 255, 255, .84); }
.site-header--dark .icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.site-header--dark .burger span { background: #fff; }
.site-header--dark .brand__logo.media--empty {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .28);
}
.site-header--dark .brand__logo .media__name { color: rgba(255, 255, 255, .6); }
.site-header--dark .brand__logo .media__icon svg { fill: rgba(255, 255, 255, .35); }

/* Enlace activo (header claro y oscuro) */
.nav__item.is-current > .nav__link { color: var(--blue); }
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.site-header--dark .nav__item.is-current > .nav__link::after { background: #fff; }

/* --- Hero oscuro de página interna --------------------------- */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #0B1A33 0%, #102A50 58%, #0D2444 100%);
    color: #fff;
    padding: 46px 0 70px;
    overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 1100px; }
.page-hero__media {
    position: absolute;
    top: 0; right: 0;
    width: 44%;
    /* Tope de altura: el hero crece con el formulario y sin este límite la
       foto se estiraba a más de 1300px, obligando a object-fit:cover a
       ampliarla al doble y dejando solo un recorte central. */
    height: 78%;
    max-height: 700px;
    z-index: 1;
    border-bottom-left-radius: 999px;
    overflow: hidden;
}
.page-hero__media .media {
    width: 100%; height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}
.page-hero__media .media--empty {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .22);
}
.page-hero__media .media__name { color: rgba(255, 255, 255, .65); }
.page-hero__media .media__icon svg { fill: rgba(255, 255, 255, .35); }

.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumb li {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .62);
}
.breadcrumb li + li::before {
    content: '|';
    margin-right: 10px;
    color: rgba(255, 255, 255, .3);
}
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.page-hero__title {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 14px;
}
.page-hero__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
    max-width: 540px;
    margin-bottom: 26px;
    line-height: 1.75;
}
.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .4);
    min-width: 240px;
    justify-content: space-between;
}
.btn--outline-light:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}
.btn--green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 26px rgba(22, 163, 74, .28);
    min-width: 260px;
    justify-content: space-between;
}
.btn--green:hover { background: #12833B; color: #fff; transform: translateY(-2px); }

/* --- Panel que envuelve el formulario ------------------------ */
.form-panel {
    margin-top: 40px;
    max-width: 620px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-lg);
}
.form-panel #bplnm-multistep-form { max-width: 100%; }
.form-panel .form-container { box-shadow: none; padding: 24px 20px 32px; }

.collection-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    background: var(--blue-tint);
    border: 1px solid var(--blue-line);
    border-radius: 12px;
    padding: 10px 14px;
}
.collection-notice__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    white-space: nowrap;
}
.collection-notice p {
    flex: 1;
    min-width: 200px;
    margin: 0;
    font-size: 11.5px;
    color: var(--ink-2);
    line-height: 1.5;
}
.collection-notice__link {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue);
    white-space: nowrap;
}
.collection-notice__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Paneles de pasos ---------------------------------------- */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 40px;
    align-items: start;
}
.panel-grid--2 { gap: 26px; }

.panel {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px 22px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.panel::before {
    content: '';
    position: absolute;
    left: 0; top: 18px; bottom: 18px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--blue);
    transition: top .35s var(--ease), bottom .35s var(--ease);
}
.panel--green::before { background: var(--green); }
.panel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.panel:hover::before { top: 8px; bottom: 8px; }
.panel--flat { padding: 24px 26px; }

.panel__title { font-size: 16.5px; margin-bottom: 10px; }
.panel__lead, .panel p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.panel__lead { margin-bottom: 10px; }
.panel__foot { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.panel__foot strong, .panel p strong { color: var(--ink); }

.bullets { display: grid; gap: 8px; margin: 0 0 4px; }
.bullets li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.6;
}
.bullets .ico {
    flex-shrink: 0;
    margin-top: 4px;
    padding: 3px;
    width: 17px; height: 17px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    fill: currentColor;
}
.panel--green .bullets .ico { background: var(--green-soft); color: var(--green); }

.note-pill {
    margin: 30px auto 0;
    max-width: 560px;
    text-align: center;
    background: var(--green-soft);
    border: 1px solid #BFE6CE;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 13px;
    color: #15603A;
}

/* --- What you can expect (bloque azul) ----------------------- */
.expect {
    background: linear-gradient(135deg, var(--blue) 0%, #1B4F94 100%);
    color: #fff;
    text-align: center;
}
.expect__title { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 10px; }
.expect__lead { font-size: 14px; color: rgba(255, 255, 255, .78); margin-bottom: 34px; }
.expect__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 44px;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}
.expect__grid li { display: flex; align-items: flex-start; gap: 13px; }
.expect__check {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 7px;
    background: #fff;
    color: var(--green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.expect__grid h3 { font-size: 14.5px; margin-bottom: 2px; }
.expect__grid p { font-size: 13px; color: rgba(255, 255, 255, .76); margin: 0; }
.expect__foot {
    margin-top: 36px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .8);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --- What we do NOT do --------------------------------------- */
.notdo {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
}
.notdo__title { font-size: clamp(20px, 2vw, 26px); margin-bottom: 22px; }
.notdo__list { display: grid; gap: 12px; }
.notdo__list li {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--ink-2);
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.notdo__list li:hover {
    transform: translateX(4px);
    border-color: #F3C6C6;
    box-shadow: 0 8px 20px rgba(190, 60, 60, .08);
}
.notdo__x {
    flex-shrink: 0;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 6px;
    background: #FDECEC;
    border: 1px solid #F5C2C2;
    color: #D24545;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.notdo__foot { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.notdo__media .media { box-shadow: var(--shadow); }
.notdo__media .media:hover img { transform: scale(1.04); }

/* --- CTA simple + aviso de cumplimiento ---------------------- */
.cta-simple { text-align: center; }
.cta-simple__title { font-size: clamp(21px, 2.1vw, 27px); margin-bottom: 12px; }
.cta-simple__text { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.8; }

.compliance { border-top: 4px solid var(--green); background: var(--bg-alt); }
.compliance__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
}
.compliance__title { font-size: 17px; margin-bottom: 14px; }
.compliance__card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.compliance__card strong { color: var(--ink); }

/* --- Responsive de páginas internas -------------------------- */
@media (max-width: 1080px) {
    .page-hero__media {
        position: static;
        width: 100%;
        height: auto;
        border-bottom-left-radius: 0;
        border-radius: var(--radius-lg);
        margin-bottom: 26px;
    }
    .page-hero__media .media { aspect-ratio: 16 / 9; }
    .page-hero { padding-top: 30px; }
    .page-hero__inner { max-width: 100%; }
    .form-panel { max-width: 100%; margin-left: auto; margin-right: auto; }
}

@media (max-width: 900px) {
    .panel-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .expect__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .notdo { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .notdo__media { order: -1; max-width: 420px; }
    .compliance__card { padding: 22px 20px; }
}

@media (max-width: 620px) {
    .btn--outline-light, .btn--green { width: 100%; min-width: 0; }
    .collection-notice { gap: 6px; }
    .collection-notice__link { margin-left: auto; }
    .form-panel { padding: 10px; }
    .cta-simple__text br { display: none; }
}

/* --- Correcciones de orden: el drawer va después del bloque 21 --- */
@media (max-width: 1080px) {
    /* El drawer arranca bajo la barra del header, que queda siempre visible */
    .nav {
        top: var(--header-h);
        height: calc(100dvh - var(--header-h));
        padding: 18px 20px 32px;
        border-top: 1px solid var(--line);
    }
    /* El drawer es blanco también en páginas con header oscuro */
    .site-header--dark .nav__link { color: var(--ink-2); }
    .site-header--dark .nav__link:hover,
    .site-header--dark .nav__item.is-current > .nav__link { color: var(--blue); }
    .site-header--dark .submenu a { color: var(--ink-2); }
}

/* Enlace activo dentro de un submenú */
.submenu a.is-current { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
