/* ============================================================
   NUEVOFRONT — Landing alterna para evaluación CRO
   Clases prefijadas "nf-" para no colisionar con el theme.
   ============================================================ */

:root {
    scroll-behavior: smooth;
}

.nf-section {
    scroll-margin-top: 110px;
    padding: 80px 0;
}

#purchasing {
    scroll-margin-top: 110px;
}

.nf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Tipografía base ---------- */
.nf-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-purple);
    background: rgba(118, 132, 223, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.nf-h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}

.nf-h2 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-blue);
    margin-bottom: 16px;
}

.nf-sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
}

.nf-text {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
    max-width: 760px;
}

.nf-text-center {
    text-align: center;
}

.nf-text-center .nf-text {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Botones / CTAs ---------- */
.nf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.nf-btn-primary {
    background: var(--color-blue);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 44, 143, 0.35);
}

.nf-btn-primary:hover {
    background: #001f66;
    color: #fff;
    transform: translateY(-2px);
}

.nf-btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.nf-btn-whatsapp:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-2px);
}

.nf-btn-outline {
    background: transparent;
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
}

.nf-btn-outline:hover {
    background: var(--color-blue);
    color: #fff;
}

.nf-btn-white {
    background: #fff;
    color: var(--color-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nf-btn-white:hover {
    background: #e9f1ff;
    color: var(--color-blue);
    transform: translateY(-2px);
}

/* Botón "fantasma" para fondos azules: claramente secundario,
   con el ícono de WhatsApp en verde como único acento */
.nf-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    backdrop-filter: blur(2px);
}

.nf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    transform: translateY(-2px);
}

.nf-btn-ghost .fa-whatsapp {
    color: #25d366;
    font-size: 19px;
}

/* Modificador grande para el CTA principal del hero/cierre */
.nf-btn-lg {
    font-size: 18px;
    padding: 18px 42px;
}

.nf-btn-lg i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.nf-btn-lg:hover i {
    transform: translateX(4px);
}

.nf-btn-white.nf-btn-lg {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

/* Modificador extra grande: CTA destacado (ej. botón de la calculadora) */
.nf-btn-xl {
    font-size: 20px;
    padding: 24px 64px;
}

.nf-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.nf-microcopy {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

.nf-microcopy i {
    color: #25d366;
    margin-right: 4px;
}

/* ============================================================
   1. HERO
   ============================================================ */

/* Evita que cualquier overflow interno encoja el above the fold en móvil */
html,
body {
    overflow-x: hidden;
}

/* Header en modo "transparente" sobre el hero (solo esta página):
   flota encima de la imagen con el logo en versión negativa.
   Al scrollear, aparece el sticky-header del theme (estilizado abajo).
   OJO: el sticky vive DENTRO de .main-header, por eso todas las reglas
   del modo transparente van scopeadas a .header-lower. */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.main-header .header-lower {
    background: transparent;
}

/* Logo en versión negativa (la misma del footer) — solo header transparente */
.main-header .header-lower .logo-box .logo img {
    content: url('../../images/logo/Logo_medidas.png');
    top: 0;
}

/* El logo del theme vive desplazado -33px (pensado para el header
   con fondo); en modo transparente lo regresamos a su lugar */
.main-header .header-lower .logo-box .logo {
    top: 0;
}

.main-header .header-lower .outer-box {
    padding-top: 14px;
}

/* Links del menú en blanco para que se lean sobre la foto */
.main-header .header-lower .main-menu .navigation > li > a,
.main-header .header-lower .nav-right .navigation > li > a,
.main-header .header-lower .nav-right .text-nav-bar {
    color: #fff !important;
}

.main-header .header-lower .main-menu .navigation > li > a:hover {
    color: #aebbff !important;
}

/* Hamburguesa móvil en blanco */
.main-header .header-lower .mobile-nav-toggler .icon-bar {
    background: #fff !important;
}

/* En ≤599px el theme pone el outer-box en display:block (logo centrado
   arriba, hamburguesa en otra fila): lo regresamos a una sola fila
   con logo a la izquierda y hamburguesa a la derecha, alineados */
@media (max-width: 599px) {
    .main-header .header-lower .outer-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .main-header .header-lower .logo-box .logo {
        margin: 0;
        max-width: 170px;
    }
}

/* Centrar verticalmente la hamburguesa: .menu-area se estira a la altura
   de la fila y el toggler (float) se pegaba al margen superior.
   El theme además desplaza .menu-area -30px (pensado para su header
   alto original): aquí lo regresamos a su sitio. */
.main-header .header-lower .menu-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    top: 0;
}

.main-header .header-lower .mobile-nav-toggler {
    float: none;
}

/* Tipografía del menú alineada al cuerpo (Open Sans, peso medio)
   en ambos estados: transparente y scrolleado */
.main-header .main-menu .navigation > li > a,
.main-header .nav-right .navigation > li > a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
}

/* ---------- Sticky header (al scrollear): compacto y estilizado ----------
   Estrategia: barra de 72px con flex centrado en TODAS las zonas
   (logo, menú, iniciar sesión), anulando los desplazamientos del
   theme (top -30px en menu-area, paddings asimétricos, etc.) */
.sticky-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 44, 143, 0.08);
    box-shadow: 0 6px 24px rgba(0, 26, 85, 0.08);
    max-height: 72px;
}

.sticky-header .outer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding-top: 0;
    padding-bottom: 0;
}

.sticky-header .logo-box {
    padding: 0;
    display: flex;
    align-items: center;
}

/* El logo de color es casi cuadrado (3300x2550): se limita por
   ALTURA para que quepa en la barra, no por ancho */
.sticky-header .logo-box .logo {
    max-width: none;
    top: 0;
}

.sticky-header .logo-box .logo img {
    top: 0;
    width: auto;
    max-height: 46px;
}

.sticky-header .menu-area {
    top: 0;
    display: flex;
    align-items: center;
    height: 72px;
}

.sticky-header .main-menu .navigation {
    display: flex;
    align-items: center;
}

.sticky-header .main-menu .navigation > li > a {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 72px;
    font-size: 15px;
    color: var(--color-blue);
}

.sticky-header .nav-right {
    padding: 0;
    top: 0;
    display: flex;
    align-items: center;
    height: 72px;
}

.sticky-header .nav-right .navigation {
    display: flex;
    align-items: center;
}

.sticky-header .nav-right .navigation > li > a {
    padding: 0;
    line-height: 72px;
}

.nf-hero {
    position: relative;
    background-color: #001a55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 120px;
    overflow: hidden;
}

.nf-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Por defecto (desktop) se muestra el horizontal y se oculta el vertical */
.nf-hero-video--mobile {
    display: none;
}

.nf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 10, 40, 0.15) 0%,
        rgba(0, 10, 40, 0.28) 45%,
        rgba(0, 10, 40, 0.68) 72%,
        rgba(0, 10, 40, 0.90) 100%
    );
    z-index: 1;
}

.nf-hero .nf-container {
    position: relative;
    z-index: 2;
}

.nf-video-toggle {
    position: absolute;
    top: 135px;
    right: 24px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(20, 20, 20, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
    line-height: 1;
}

.nf-video-toggle:hover {
    background: rgba(20, 20, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.75);
}

/* Onda inferior del hero: transición suave hacia la siguiente sección */
.nf-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.nf-hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

@media (max-width: 767px) {
    .nf-hero-wave svg {
        height: 44px;
    }
}

.nf-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.nf-hero .nf-eyebrow {
    color: #aebbff;
    background: rgba(255, 255, 255, 0.12);
}

/* Bullets como tags discretos: radio corto y sin borde para que
   NO se confundan con los botones (que son pill) */
.nf-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.nf-hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    padding: 5px 10px;
    backdrop-filter: blur(3px);
}

.nf-hero-bullets li i {
    color: #6ee7a0;
    font-size: 12.5px;
    flex-shrink: 0;
}

.nf-hero .nf-microcopy {
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
}

/* El card de cobertura tiene fondo blanco: su microcopy debe ser oscuro */
.nf-hero .nf-coverage-card .nf-microcopy {
    color: #6b7280;
    max-width: none;
}

/* Card de cobertura (mini-form CP) */
.nf-coverage-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.nf-coverage-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-blue);
    margin-bottom: 8px;
}

.nf-coverage-card p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.nf-coverage-card .nf-cp-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.nf-coverage-card input {
    flex: 1;
    min-width: 0;
    height: 54px;
    min-height: 54px;
    border: 2px solid #d6dcef;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    outline: none;
    transition: border-color 0.2s;
}

.nf-coverage-card input:focus {
    border-color: var(--color-blue);
}

.nf-coverage-card button {
    height: 54px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    background: var(--color-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.nf-coverage-card button:hover {
    background: #001f66;
}

.nf-coverage-card .nf-microcopy {
    text-align: left;
    margin-top: 4px;
}

/* ============================================================
   2. PROBLEMA / ADIÓS AL GARRAFÓN
   ============================================================ */
.nf-problem {
    background: #fff;
}

/* ---------- Bloques de foto (humanizar la página) ---------- */
.nf-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    text-align: left;
}

.nf-split .nf-text {
    margin-left: 0;
    margin-right: 0;
}

.nf-photo-card {
    position: relative;
}

.nf-photo-card img {
    display: block;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(0, 26, 85, 0.16);
}

.nf-photo-card.nf-photo-portrait {
    max-width: 400px;
    justify-self: center;
}

.nf-photo-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.nf-photo-badge i {
    color: #25d366;
}

/* Showcase del producto (foto real del equipo) */
.nf-product-showcase {
    position: relative;
    max-width: 920px;
    margin: 44px auto 10px;
}

.nf-product-showcase img {
    display: block;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(0, 26, 85, 0.14);
}

.nf-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 44px 0 36px;
}

.nf-card {
    background: #f8faff;
    border: 1px solid #e6ebf8;
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 44, 143, 0.1);
}

.nf-card .nf-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 44, 143, 0.08);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.nf-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.nf-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* ============================================================
   3. CALCULADORA
   ============================================================ */
.nf-calc {
    background: linear-gradient(180deg, #f2f9f9 0%, #e9f1ff 100%);
}

.nf-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 44px;
    align-items: stretch;
}

.nf-calc-panel {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 16px 48px rgba(0, 44, 143, 0.08);
}

.nf-calc-panel label {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.nf-calc-field {
    margin-bottom: 28px;
}

.nf-calc-field .nf-calc-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-blue);
}

.nf-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: #dbe4fb;
    outline: none;
}

.nf-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-blue);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.nf-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-blue);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* Toggle (specificidad alta para ganarle al "label { display:block }" del panel) */
.nf-calc-panel label.nf-toggle {
    display: flex !important;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    padding: 14px 16px;
    background: #f3f7ff;
    border: 1px solid #dbe4fb;
    border-radius: 14px;
    transition: border-color 0.2s, background 0.2s;
}

.nf-calc-panel label.nf-toggle:hover {
    border-color: var(--color-blue);
}

.nf-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.nf-toggle .nf-toggle-track {
    width: 56px;
    height: 32px;
    background: #cbd5e1;
    border-radius: 32px;
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}

.nf-toggle .nf-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.25s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.nf-toggle input:checked ~ .nf-toggle-track {
    background: #25d366;
}

.nf-toggle input:checked ~ .nf-toggle-track::after {
    left: 27px;
}

.nf-toggle .nf-toggle-label {
    font-size: 15.5px;
    font-weight: 600;
    color: #111827;
    flex-grow: 1;
}

/* Badge Sí / No del toggle */
.nf-toggle .nf-toggle-state {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 50px;
    background: #e5e7eb;
    color: #6b7280;
    transition: all 0.25s;
    flex-shrink: 0;
}

.nf-toggle .nf-toggle-state.on {
    background: rgba(37, 211, 102, 0.15);
    color: #16a34a;
}

/* ---------- Panel de resultado ---------- */
.nf-calc-result {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #001a55 0%, #002c8f 55%, #3b55c0 100%);
    border-radius: 24px;
    padding: 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 24px 56px rgba(0, 26, 85, 0.35);
}

/* Burbujas decorativas */
.nf-calc-result::before,
.nf-calc-result::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.nf-calc-result::before {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -60px;
}

.nf-calc-result::after {
    width: 140px;
    height: 140px;
    bottom: -50px;
    left: -40px;
}

.nf-calc-result > * {
    position: relative;
    z-index: 1;
}

.nf-result-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #aebbff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* Colores explícitos: el theme pinta <p>/<strong> de oscuro y se perdían */
.nf-calc-result p,
.nf-calc-result span,
.nf-calc-result strong,
.nf-calc-result small {
    color: #fff;
}

.nf-calc-result .nf-result-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 6px;
}

.nf-calc-result .nf-result-big {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.05;
    color: #fff !important;
    margin-bottom: 4px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.nf-calc-result .nf-result-unit {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 26px;
}

.nf-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    margin-bottom: 10px;
    font-size: 15.5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(2px);
}

.nf-compare-row span {
    color: rgba(255, 255, 255, 0.85) !important;
}

.nf-compare-row strong {
    font-size: 19px;
    font-weight: 800;
    color: #fff !important;
    white-space: nowrap;
}

/* Fila de ahorro destacada en verde */
.nf-compare-row.nf-diff {
    background: rgba(110, 231, 160, 0.14);
    border-color: rgba(110, 231, 160, 0.45);
}

.nf-compare-row.nf-diff span {
    color: #c9f7dc !important;
    font-weight: 700;
}

.nf-compare-row.nf-diff strong {
    color: #6ee7a0 !important;
    font-size: 22px;
}

/* Callout de pérdida anualizada: el dato estrella de la calculadora */
.nf-annual-loss {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(110, 231, 160, 0.18) 0%, rgba(110, 231, 160, 0.06) 100%);
    border: 1px solid rgba(110, 231, 160, 0.5);
    border-radius: 16px;
    animation: nfGlowPulse 2.8s ease-in-out infinite;
}

@keyframes nfGlowPulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(110, 231, 160, 0.12);
    }
    50% {
        box-shadow: 0 0 32px rgba(110, 231, 160, 0.3);
    }
}

.nf-annual-loss-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(110, 231, 160, 0.18);
    border: 1px solid rgba(110, 231, 160, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6ee7a0;
    flex-shrink: 0;
}

.nf-annual-loss .nf-annual-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(201, 247, 220, 0.85) !important;
    margin-bottom: 2px;
}

.nf-annual-loss .nf-annual-amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: #6ee7a0 !important;
    text-shadow: 0 2px 14px rgba(110, 231, 160, 0.35);
}

.nf-annual-loss .nf-annual-tail {
    display: block;
    font-size: 14px;
    color: #c9f7dc !important;
}

.nf-calc-result .nf-microcopy {
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 16px;
}

/* Separar el CTA del párrafo en los bloques de texto+foto */
.nf-split .nf-btn {
    margin-top: 26px;
}

/* ============================================================
   4. QUÉ INCLUYE / 8. DIFERENCIADOR (cards 6 / 4)
   ============================================================ */
.nf-includes {
    background: #fff;
}

.nf-cards-6 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 44px 0 40px;
}

.nf-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 44px 0 40px;
}

/* ============================================================
   5. OPCIONES DE PAGO
   ============================================================ */
.nf-plans {
    background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

.nf-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin: 48px 0 28px;
    align-items: stretch;
}

.nf-plan-card {
    position: relative;
    background: #fff;
    border: 2px solid #e6ebf8;
    border-radius: 24px;
    padding: 38px 30px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nf-plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-blue);
    box-shadow: 0 24px 56px rgba(0, 44, 143, 0.14);
}

.nf-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-purple);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.nf-plan-card .nf-plan-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-purple);
    margin-bottom: 10px;
}

.nf-plan-card .nf-plan-price {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: linear-gradient(135deg, #7367f0 0%, #4d3fd6 55%, #002c8f 100%);
    border-radius: 14px;
    padding: 12px 20px;
    margin: 2px 0 18px;
    box-shadow: 0 12px 26px rgba(115, 103, 240, 0.38);
}

/* Brillo que cruza el chip */
.nf-plan-card .nf-plan-price::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    animation: nf-price-shine 3.6s ease-in-out infinite;
}

@keyframes nf-price-shine {
    0% { left: -60%; }
    55%, 100% { left: 130%; }
}

.nf-plan-card .nf-plan-price .nf-plan-price-from {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.nf-plan-card .nf-plan-price .nf-plan-price-amount {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.nf-plan-card .nf-plan-price .nf-plan-price-unit {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
    .nf-plan-card .nf-plan-price::after { animation: none; }
}

.nf-plan-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-blue);
    line-height: 1.3;
    margin-bottom: 10px;
}

.nf-plan-card .nf-plan-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.nf-plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    flex-grow: 1;
}

.nf-plan-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #374151;
    padding: 7px 0;
}

.nf-plan-card ul li i {
    color: #25d366;
    margin-top: 3px;
    flex-shrink: 0;
}

.nf-plan-card .nf-btn {
    width: 100%;
}

/* ============================================================
   6. CÓMO FUNCIONA
   ============================================================ */
.nf-steps {
    background: #fff;
}

.nf-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 48px 0 40px;
}

.nf-step {
    text-align: center;
    padding: 0 14px;
}

.nf-step .nf-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-blue);
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 10px 26px rgba(0, 44, 143, 0.3);
}

.nf-step h3 {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.nf-step p {
    font-size: 15.5px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   7. VIDEO INSTALACIÓN / 9. TESTIMONIO
   ============================================================ */
.nf-video-install {
    background: linear-gradient(180deg, #f2f9f9 0%, #e9f1ff 100%);
}

.nf-video-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
    margin-top: 44px;
}

.nf-video-placeholder {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #002c8f 0%, #7684df 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    box-shadow: 0 20px 52px rgba(0, 44, 143, 0.25);
}

.nf-video-placeholder.nf-horizontal {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.nf-video-placeholder.nf-vertical {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
}

.nf-video-placeholder .nf-play {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    backdrop-filter: blur(4px);
}

.nf-video-placeholder .nf-video-note {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 0 20px;
}

/* ---------- Facade de YouTube (lite embed) ---------- */
.nf-video-embed {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 20px 52px rgba(0, 44, 143, 0.25);
}

.nf-video-embed.nf-horizontal {
    aspect-ratio: 16 / 9;
}

.nf-video-embed.nf-vertical {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    margin: 0 auto;
}

.nf-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.nf-video-embed:hover .nf-video-thumb {
    transform: scale(1.04);
}

.nf-video-embed .nf-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0, 44, 143, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.nf-video-embed:hover .nf-play {
    background: rgba(0, 44, 143, 0.9);
    transform: translate(-50%, -50%) scale(1.08);
}

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

.nf-video-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.nf-video-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16.5px;
    font-weight: 600;
    color: #111827;
    padding: 11px 0;
}

.nf-video-bullets li i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 44, 143, 0.08);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

/* Testimonio */
.nf-testimonial {
    background: #fff;
}

.nf-testimonial-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
    align-items: center;
    margin-top: 44px;
}

.nf-quotes {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.nf-quotes li {
    position: relative;
    background: #f8faff;
    border-left: 4px solid var(--color-purple);
    border-radius: 0 14px 14px 0;
    padding: 16px 20px;
    font-size: 16.5px;
    font-style: italic;
    color: #374151;
    margin-bottom: 14px;
}

/* ============================================================
   10. FORMULARIO
   ============================================================ */
.nf-form-section {
    background: linear-gradient(180deg, #eef3ff 0%, #f8faff 100%);
}

.nf-form-wrapper {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0, 44, 143, 0.12);
    overflow: hidden;
    margin-top: 44px;
}

.nf-form-microcopies {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.nf-form-microcopies .nf-mini {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.nf-form-microcopies .nf-mini i {
    color: var(--color-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================================
   11. FAQ
   ============================================================ */
.nf-faq {
    background: #fff;
}

.nf-faq .accordion {
    max-width: 860px;
    margin: 44px auto 0;
}

.nf-faq .accordion-item {
    border: 1px solid #e6ebf8;
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.nf-faq .accordion-button {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-blue);
    padding: 20px 24px;
    background: #fff;
    box-shadow: none;
}

.nf-faq .accordion-button:not(.collapsed) {
    background: #f3f7ff;
    color: var(--color-blue);
}

.nf-faq .accordion-body,
.nf-faq .accordion-body p,
.nf-faq .accordion-body ul,
.nf-faq .accordion-body li {
    font-size: 15.5px;
    color: #4b5563;
    line-height: 1.7;
}

.nf-faq .accordion-body {
    padding: 6px 24px 22px;
}

.nf-faq-extra {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.nf-faq-extra.is-open {
    max-height: 2400px;
}

#nf-faq-toggle-icon {
    transition: transform 0.3s ease;
}

#nf-faq-toggle-btn.is-open #nf-faq-toggle-icon {
    transform: rotate(180deg);
}

/* ============================================================
   12. CIERRE
   Card con gradiente flotando sobre fondo claro, para que las
   curvas azules del footer caigan sobre fondo limpio y no choquen.
   ============================================================ */
.nf-closing {
    background: #fff;
    text-align: center;
    padding-bottom: 110px;
}

.nf-closing-card {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(135deg, #001a55 0%, #002c8f 55%, #3b55c0 100%);
    border-radius: 32px;
    padding: 70px 56px;
    box-shadow: 0 32px 80px rgba(0, 26, 85, 0.35);
}

/* Burbujas decorativas del card */
.nf-closing-card::before,
.nf-closing-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.nf-closing-card::before {
    width: 300px;
    height: 300px;
    top: -120px;
    right: -90px;
}

.nf-closing-card::after {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -60px;
}

.nf-closing-card > * {
    position: relative;
    z-index: 1;
}

.nf-closing-card .nf-closing-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #6ee7a0;
}

.nf-closing .nf-h2 {
    color: #fff;
}

.nf-closing .nf-text {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 30px;
}

.nf-closing .nf-eyebrow {
    color: #aebbff;
    background: rgba(255, 255, 255, 0.12);
}

.nf-closing .nf-cta-group {
    justify-content: center;
}

.nf-closing .nf-microcopy {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Entre 992 y 1200px el header del theme sigue visible: dar aire arriba */
@media (max-width: 1200px) {
    .nf-hero {
        padding-bottom: 100px;
    }
}

@media (max-width: 991px) {
    .nf-hero {
        padding: 0 0 70px;
    }

    .nf-hero-grid,
    .nf-calc-grid,
    .nf-video-grid,
    .nf-testimonial-grid,
    .nf-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* En móvil el texto va primero y la foto después */
    .nf-split .nf-photo-card {
        order: 2;
        max-width: 440px;
        justify-self: center;
    }

    .nf-cards-3,
    .nf-cards-6,
    .nf-plans-grid,
    .nf-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nf-cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nf-form-microcopies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nf-h1 {
        font-size: 34px;
    }

    .nf-h2 {
        font-size: 28px;
    }

    .nf-testimonial-grid .nf-video-placeholder.nf-vertical {
        order: -1;
    }
}

@media (max-width: 600px) {
    .nf-section {
        padding: 56px 0;
    }

    .nf-hero {
        min-height: 100vh;
        padding: 0 0 56px;
    }

    /* En móvil se muestra el video vertical y se oculta el horizontal */
    .nf-hero-video--desktop {
        display: none;
    }

    .nf-hero-video--mobile {
        display: block;
    }

    .nf-video-toggle {
        top: 100px;
        right: 16px;
    }

    .nf-hero .nf-microcopy,
    .nf-hero .nf-coverage-card {
        display: none;
    }

    .nf-cards-3,
    .nf-cards-6,
    .nf-cards-4,
    .nf-plans-grid,
    .nf-steps-grid,
    .nf-form-microcopies {
        grid-template-columns: 1fr;
    }

    .nf-hero-bullets li {
        font-size: 13.5px;
        padding: 7px 14px;
    }

    .nf-h1 {
        font-size: 29px;
    }

    .nf-h2 {
        font-size: 24px;
    }

    .nf-calc-result .nf-result-big {
        font-size: 38px;
    }

    .nf-calc-result {
        padding: 30px 22px;
    }

    .nf-compare-row {
        font-size: 14px;
        padding: 11px 14px;
    }

    .nf-compare-row strong {
        font-size: 16px;
    }

    .nf-compare-row.nf-diff strong {
        font-size: 18px;
    }

    .nf-annual-loss .nf-annual-amount {
        font-size: 26px;
    }

    .nf-annual-loss {
        padding: 14px 16px;
        gap: 12px;
    }

    .nf-closing-card {
        padding: 48px 24px;
        border-radius: 24px;
    }

    .nf-closing {
        padding-bottom: 70px;
    }

    /* Todos los botones centrados y a ancho uniforme en móvil */
    .nf-btn {
        display: flex;
        width: 100%;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .nf-cta-group {
        justify-content: center;
    }

    .nf-coverage-card {
        padding: 28px 22px;
    }

    .nf-coverage-card .nf-cp-row {
        flex-direction: column;
        gap: 12px;
    }

    /* Más aire vertical en el input de CP */
    .nf-coverage-card input {
        height: 58px;
        min-height: 58px;
        font-size: 18px;
        text-align: center;
    }

    .nf-coverage-card button {
        width: 100%;
        height: 56px;
    }

    /* Eyebrow compacto en móvil (en grande se veía burdo) */
    .nf-eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }
}

/* ============================================================
   PROMO DEL MES  ·  hero + popup + pricing
   ------------------------------------------------------------
   Demo: 50% OFF en los 2 primeros meses (suscripción / financiamiento).
   Estética "premium sutil": glass sobre el hero, acento dorado
   sobre el azul de marca, sin ruido de e-commerce.

   Para cambiar la promo cada mes, edita SOLO los textos en el HTML
   (home.blade.php) y el atributo data-campaign del popup.
   ============================================================ */

:root {
    /* Acento dorado premium para las cifras de descuento */
    --nf-promo-gold-1: #ffe6a8;
    --nf-promo-gold-2: #eeb24a;
}

/* Cifra grande de descuento (compartida por hero / popup / banner) */
.nf-promo-num {
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    background: linear-gradient(180deg, var(--nf-promo-gold-1) 0%, var(--nf-promo-gold-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--nf-promo-gold-2); /* fallback navegadores sin clip */
}

/* ------------------------------------------------------------
   Hero un poco más alto y columna de contenido más contenida
   (título, promo y botones un pelín más chicos; microcopy igual)
   ------------------------------------------------------------ */
.nf-hero {
    /* Hero alto (más que el viewport): el contenido (nf-hero-grid) va
       anclado al fondo por el justify-content: flex-end del base, con
       margen inferior para no pegarlo a la onda. Al ser más alto, el
       bloque cae al tercio inferior de la primera vista (no centrado)
       y deja el video dominando arriba. Se scrollea un poco a propósito. */
    min-height: 115vh;
    padding-bottom: 90px;
}

.nf-hero .nf-h1 {
    font-size: 35px;
    margin-bottom: 14px;
}

/* Above the fold un poco más compacto: menos aire entre título,
   promo y botones (sin cambiar tamaños del diseño de la promo) */
.nf-hero .nf-promo-hero {
    margin: 0 0 16px;
}

.nf-hero .nf-cta-group {
    margin-bottom: 8px;
}

.nf-hero .nf-cta-group .nf-btn-lg {
    font-size: 16px;
    padding: 13px 28px;
}

.nf-hero .nf-cta-group .nf-btn {
    font-size: 15px;
    padding: 12px 24px;
}

/* ------------------------------------------------------------
   1. Promo en el HERO (above the fold) — card glass, acento azul
   ------------------------------------------------------------ */
.nf-promo-hero {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: 540px;
    margin: 2px 0 24px;
    padding: 12px 20px 12px 12px;
    border-radius: 18px;
    background: rgba(0, 8, 35, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 34px rgba(0, 8, 35, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nf-promo-hero__badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 13px;
    /* Azul de marca translúcido: acento suave que deja ver el video detrás
       sin competir con la cifra blanca */
    background: rgba(118, 132, 223, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 6px 18px rgba(0, 44, 143, 0.5);
}

.nf-promo-hero__num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    color: #fff;
}

.nf-promo-hero__pct {
    font-size: 18px;
}

.nf-promo-hero__badge-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 3px;
}

.nf-promo-hero__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nf-promo-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #a9c1ff;
}

.nf-promo-hero__copy {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
}

.nf-promo-hero__copy strong {
    font-weight: 800;
    color: #cddbff;
}

.nf-promo-hero__code-row {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 2px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
}

.nf-promo-hero__code {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(118, 132, 223, 0.38);
    border: 1.5px dashed rgba(174, 187, 255, 0.9);
    border-radius: 9px;
    padding: 3px 13px;
}

.nf-promo-hero__terms {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------
   2. Promo en PRICING (rectángulo dentro de #payment_plans)
   ------------------------------------------------------------ */
.nf-promo-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
    margin: 8px 0 8px;
    padding: 26px 34px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(120deg, #7367f0 0%, #4d3fd6 45%, #002c8f 100%);
    box-shadow: 0 22px 48px rgba(0, 44, 143, 0.28);
}

.nf-promo-banner__glow {
    position: absolute;
    top: -60%;
    right: -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(174, 187, 255, 0.38), transparent 68%);
    pointer-events: none;
}

.nf-promo-banner__figure {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.nf-promo-banner__figure .nf-promo-num {
    font-size: 62px;
    /* Sobre el gradiente morado/azul: cifra en blanco sólido */
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.nf-promo-banner__pct {
    font-size: 30px;
}

.nf-promo-banner__off {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    align-self: center;
}

.nf-promo-banner__body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.nf-promo-banner__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #dfe6ff;
    margin-bottom: 8px;
}

.nf-promo-banner__title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
    color: #fff;
}

.nf-promo-banner__title strong {
    font-weight: 800;
    color: #fff;
}

/* Código de cupón (grande) dentro del rectángulo */
.nf-promo-banner__code {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    margin: 14px 0 12px;
    padding: 8px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px dashed rgba(255, 255, 255, 0.55);
}

.nf-promo-banner__code-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.nf-promo-banner__code-value {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
}

.nf-promo-banner__terms {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.nf-promo-banner__cta {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    color: var(--color-blue);
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform .25s ease, background .25s ease;
}

.nf-promo-banner__cta:hover {
    color: var(--color-blue);
    background: #fff7e6;
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   3. Promo POPUP (aparece al hacer scroll ~% de la página)
   ------------------------------------------------------------ */
body.nf-promo-lock {
    overflow: hidden;
}

.nf-promo-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nf-promo-modal.is-visible {
    display: flex;
}

.nf-promo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 10, 40, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: nf-promo-fade .3s ease;
}

.nf-promo-modal__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    padding: 42px 36px 32px;
    text-align: center;
    border-radius: 26px;
    background: linear-gradient(160deg, #ffffff 0%, #f4f7ff 100%);
    box-shadow: 0 40px 90px rgba(0, 10, 40, 0.45);
    animation: nf-promo-pop .38s cubic-bezier(.2, .9, .3, 1.1);
}

.nf-promo-modal__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(115, 103, 240, 0.22), transparent 70%);
    pointer-events: none;
}

.nf-promo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 20, 60, 0.06);
    color: #4b5563;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.nf-promo-modal__close:hover {
    background: rgba(0, 20, 60, 0.12);
    color: #111827;
}

.nf-promo-modal__kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-purple);
    background: rgba(118, 132, 223, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.nf-promo-modal__figure {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.nf-promo-modal__figure .nf-promo-num {
    font-size: 88px;
    /* Sobre fondo claro, el dorado se ancla en un azul profundo para contraste */
    background: linear-gradient(150deg, #7367f0 0%, #4d3fd6 50%, #002c8f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-blue);
}

.nf-promo-modal__pct {
    font-size: 42px;
}

.nf-promo-modal__off {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-purple);
    align-self: center;
}

.nf-promo-modal__title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-blue);
    margin: 0 0 12px;
}

.nf-promo-modal__desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 auto 24px;
    max-width: 340px;
}

.nf-promo-modal__desc strong {
    color: var(--color-blue);
}

/* Código de cupón (grande) dentro del popup */
.nf-promo-modal__code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 4px auto 22px;
    padding: 14px 24px;
    border-radius: 16px;
    background: rgba(118, 132, 223, 0.10);
    border: 2px dashed rgba(118, 132, 223, 0.5);
}

.nf-promo-modal__code-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-purple);
}

.nf-promo-modal__code-value {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 5px;
    line-height: 1;
    color: var(--color-blue);
}

.nf-promo-modal__cta {
    width: 100%;
}

.nf-promo-modal__terms {
    font-size: 12px;
    color: #9ca3af;
    margin: 16px 0 0;
}

@keyframes nf-promo-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nf-promo-pop {
    from { opacity: 0; transform: translateY(24px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .nf-promo-modal__overlay,
    .nf-promo-modal__card {
        animation: none;
    }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .nf-promo-banner {
        flex-wrap: wrap;
        gap: 20px 24px;
        padding: 24px 26px;
    }

    .nf-promo-banner__figure {
        padding-right: 24px;
    }

    .nf-promo-banner__figure .nf-promo-num {
        font-size: 52px;
    }

    .nf-promo-banner__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .nf-promo-hero {
        gap: 9px;
        /* Sin tope de ancho ni padding lateral: el card usa todo el ancho
           disponible para que la descripción entre en una sola línea sin
           achicar la letra (que es lo que agrandaba la sección). */
        max-width: none;
        width: 100%;
        margin: 0 0 16px;
        padding: 9px 6px 9px 6px;
        border-radius: 15px;
    }

    /* Badge del 50% más chico: cede ancho para que la descripción
       corra a la izquierda y entre en una sola línea */
    .nf-promo-hero__badge {
        padding: 4px 9px;
        border-radius: 10px;
    }

    .nf-promo-hero__num {
        font-size: 19px;
    }

    .nf-promo-hero__pct {
        font-size: 11px;
    }

    .nf-promo-hero__badge-label {
        font-size: 7.5px;
        letter-spacing: 1.5px;
        margin-top: 1px;
    }

    .nf-promo-hero__body {
        gap: 2px;
    }

    .nf-promo-hero__kicker {
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Descripción en una sola línea */
    .nf-promo-hero__copy {
        font-size: 9px;
        line-height: 1.25;
        white-space: nowrap;
    }

    .nf-promo-hero__code-row {
        font-size: 11.5px;
        gap: 7px;
    }

    .nf-promo-hero__code {
        font-size: 13.5px;
        letter-spacing: 1.5px;
        padding: 2px 10px;
    }

    /* T&C ocultos en móvil (d-none) para que el card ocupe menos */
    .nf-promo-hero__terms {
        display: none;
    }

    .nf-promo-banner__code-value {
        font-size: 24px;
    }

    .nf-promo-modal__code-value {
        font-size: 34px;
    }

    .nf-promo-banner__figure {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        padding-right: 0;
        padding-bottom: 16px;
        width: 100%;
        justify-content: center;
    }

    .nf-promo-modal__card {
        padding: 38px 24px 28px;
    }

    .nf-promo-modal__figure .nf-promo-num {
        font-size: 68px;
    }

    .nf-promo-modal__title {
        font-size: 22px;
    }
}

/* En móvil, más padding inferior en el hero para que los botones
   (que se apilan) entren bien y no queden pegados a la onda.
   Va al final para ganarle al padding del override de escritorio. */
@media (max-width: 600px) {
    .nf-hero {
        padding-bottom: 120px;
    }
}
