:root {
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-hover: 0 24px 48px rgba(15, 39, 56, 0.12);
  --hnw-red: #F25555;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo) !important;
  
  /* Sincronizado con la apertura de las cortinas de cine */
  transition-delay: 0.4s, 0.4s !important; 
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal.reveal-d1 { transition-delay: 0.6s, 0.6s !important; } /* Espera 1.0s */
.reveal.reveal-d2 { transition-delay: 0.8s, 0.8s !important; } /* Espera 1.2s */
.reveal.reveal-d3 { transition-delay: 1.0s, 1.0s !important; } /* Espera 1.4s */
.reveal.reveal-d4 { transition-delay: 1.2s, 1.2s !important; } /* Espera 1.4s */

.hnw-card-service{
  background:#fff;
  border:1px solid #eef2f6;
  border-radius:16px;
  padding:40px 30px;
  height:100%;
  display:flex;
  flex-direction:column;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.hnw-card-service:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(15,39,56,.10);
  border-color:#e2e8f0;
}
.hnw-card-service .svc-ico{transition:transform .28s ease;}
.hnw-card-service:hover .svc-ico{transform:scale(1.06);}

.hnw-card-insight {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.3s !important;
}
.hnw-card-insight:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--hnw-red) !important;
}

.hnw-card-insight img {
  transition: transform 0.6s var(--ease-out-expo);
}
.hnw-card-insight:hover img {
  transform: scale(1.05);
}

:root {
    --ease-cinematic: cubic-bezier(.76, 0, .24, 1);
}

.cinema-bars { 
    position: fixed; 
    inset: 0; 
    z-index: 999999; /* Z-index altísimo para cubrir el menú y el slider */
    pointer-events: none; 
}

.cinema-bar {
    position: absolute; 
    left: 0; 
    right: 0; 
    height: 50%;
    background: #0F2738; /* Azul corporativo de HNW */
    transition: transform 0.7s var(--ease-cinematic);
}

.cinema-bar--top { top: 0; }
.cinema-bar--bottom { bottom: 0; }

/* Clases que el JS añadirá para abrir las cortinas */
.cinema-open .cinema-bar--top { transform: translateY(-100%); }
.cinema-open .cinema-bar--bottom { transform: translateY(100%); }
.cinema-done { display: none; }


/* =========================================
   MENÚ DESPLEGABLE AISLADO (Ajuste Estructural)
   ========================================= */


li.hnw-dropdown-parent {
    position: relative !important;
    list-style: none !important;
}

li.hnw-dropdown-parent > a {
    visibility: visible !important;
    opacity: 1 !important;
}

ul.hnw-submenu-box {
    display: block;
    position: absolute !important;
    
    top: 100px !important; 
    
    left: 0 !important;
    background-color: #ffffff !important;
    min-width: 350px !important;
    box-shadow: 0 10px 30px rgba(15, 39, 56, 0.12) !important;
    border-radius: 8px !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
    z-index: 999999 !important; /* Z-index al máximo */
    list-style: none !important;
}

li.hnw-dropdown-parent:hover ul.hnw-submenu-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

ul.hnw-submenu-box li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    float: none !important;
}

ul.hnw-submenu-box li a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    
    padding: 12px 24px !important;
    color: #0F2738 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    
    white-space: nowrap !important; 
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important; 
}

ul.hnw-submenu-box li a:hover {
    background-color: #f8f9fa !important; /* Gris suave de lado a lado */
    color: #1A5B8C !important; 
    padding-left: 32px !important; /* Empuja el texto 8px a la derecha */
}

#Top_bar.is-sticky ul.hnw-submenu-box {
    top: 70px !important; 
}

@media (max-width: 991px) {
    
    ul.hnw-submenu-box {
        position: static !important;
        display: none;
        
        top: 40px !important;
        
        background-color: #0f598c26 !important;
        box-shadow: none !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 !important;
        
        opacity: 1 !important; 
        visibility: visible !important;
    }

    ul.hnw-submenu-box li a {
        color: #f4f4f4b5 !important;
        padding-left: 30px !important;
        font-size: 14px !important;
        font-weight: 200 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;

        white-space: normal !important; 
    }

    ul.hnw-submenu-box li a:hover {
        color: #ffffff !important;
        background-color: transparent !important;
    }
}

/* Corrección de alineación del Header: Logo Izquierda, Menú y Teléfono a la Derecha */
        @media (min-width: 992px) {
            #Top_bar .column.one {
                display: flex !important;
                align-items: center !important;
                flex-wrap: nowrap !important;
                width: 100% !important;
            }
            
            #Top_bar .top_bar_left {
                display: flex !important;
                align-items: center !important;
                flex: 1 1 auto !important; /* Toma todo el espacio del centro */
                float: none !important;
            }
            
            #Top_bar .logo {
                flex: 0 0 auto !important;
            }
            
            #Top_bar .menu_wrapper {
                margin-left: auto !important;
                float: none !important;
                margin-bottom: 0 !important;
                /* margin-right: auto !important; /* Al tener auto en ambos lados, se centra perfectamente */
            }

            #Top_bar .top_bar_right {
                position: relative !important;
                top: 0 !important;
                flex: 0 0 auto !important;
                float: none !important;
                margin-left: 9px !important;
                margin-right: 25px !important;
            }
        }
        

.hnw-faq-wrap{max-width:820px !important;margin:0 auto !important;}
.hnw-faq-item{border-bottom:1px solid #e8edf2 !important;background:#fff !important;}
.hnw-faq-q{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:15px !important;width:100% !important;background:#fff !important;background-color:#fff !important;border:none !important;box-shadow:none !important;cursor:pointer !important;padding:24px 4px !important;margin:0 !important;text-align:left !important;font-size:18px !important;font-weight:500 !important;color:#0F2738 !important;font-family:inherit !important;border-radius:0 !important;letter-spacing:0 !important;line-height:1.4 !important;text-transform:none !important;}
.hnw-faq-q:hover{background:#fff !important;color:#F25555 !important;}
.hnw-faq-q::after{content:"+" !important;font-size:24px !important;font-weight:400 !important;color:#F25555 !important;flex-shrink:0 !important;line-height:1 !important;}
.hnw-faq-item.is-open .hnw-faq-q::after{content:"−" !important;}
.hnw-faq-a{max-height:0 !important;overflow:hidden !important;transition:max-height .35s ease !important;background:#fff !important;}
.hnw-faq-a p{color:#64748b !important;font-size:15px !important;font-weight:400 !important;line-height:1.7 !important;margin:0 0 24px !important;padding:0 4px !important;}
.hnw-faq-item.is-open .hnw-faq-a{max-height:500px !important;}
.hnw-faq-title{font-weight:600 !important;}
.hnw-faq-item.is-open .hnw-faq-a{max-height:400px;}


/* ============================================================
   HNW · KIT VISUAL DE ARTÍCULOS (Insights)
   Componentes reutilizables para variar el diseño entre artículos
   y evitar que se vean como copia-pega. Pegar en modern-hnw.css
   ============================================================ */

/* ----- 0. Lista de checks (base, ya en uso) ----- */
.lista-check { list-style: none; padding-left: 0; }
.lista-check li {
    position: relative; padding-left: 28px; margin-bottom: 12px;
    line-height: 1.6; display: block;
}
.lista-check li i.icon-check { position: absolute; left: 0; top: 5px; color: #0da122; }
.lista-check li strong { display: inline; }

/* ----- 1. PASOS NUMERADOS (procesos / cómo hacer algo) ----- */
.hnw-steps { position: relative; margin: 10px 0; padding-left: 8px; }
.hnw-step { position: relative; padding: 0 0 38px 64px; }
.hnw-step:last-child { padding-bottom: 4px; }
/* línea vertical que une los pasos */
.hnw-step::before {
    content: ""; position: absolute; left: 20px; top: 44px; bottom: 0;
    width: 2px; background: #e2e8f0;
}
.hnw-step:last-child::before { display: none; }
.hnw-step-num {
    position: absolute; left: 0; top: 0; width: 42px; height: 42px;
    border-radius: 50%; background: #20517b; color: #fff;
    font-weight: 700; font-size: 18px; display: flex;
    align-items: center; justify-content: center; z-index: 1;
}
.hnw-step-title { color: #0F2738; font-size: 22px; font-weight: 600; margin: 6px 0 12px; line-height: 1.25; }
.hnw-step-body { color: #475569; font-size: 15px; line-height: 1.7; }
.hnw-step-body p { margin: 0 0 12px; }

/* sub-cajas dentro de un paso (EL PROCEDIMIENTO / EL OBJETIVO) */
.hnw-subbox {
    border-left: 3px solid #cbd5e1; background: #f8fafc;
    padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 14px 0;
}
.hnw-subbox-label {
    display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; color: #20517b; margin-bottom: 6px;
}
.hnw-subbox p { margin: 0; color: #475569; font-size: 15px; line-height: 1.6; }
.hnw-subbox.is-accent { border-left-color: #F25555; }
.hnw-subbox.is-accent .hnw-subbox-label { color: #F25555; }
.hnw-subbox.is-green { border-left-color: #0da122; }
.hnw-subbox.is-green .hnw-subbox-label { color: #0a8a1e; }

/* ----- 2. CAJAS DE ALERTA (peligro / cuidado / solución) ----- */
.hnw-alert {
    border-radius: 10px; padding: 20px 24px; margin: 22px 0;
    font-size: 15px; line-height: 1.6; display: flex; gap: 14px; align-items: flex-start;
}
.hnw-alert i { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.hnw-alert p { margin: 0 0 8px; }
.hnw-alert p:last-child { margin-bottom: 0; }
.hnw-alert.is-danger  { background: #fef2f2; border: 1px solid #f7d4d4; color: #7f1d1d; }
.hnw-alert.is-danger i  { color: #dc2626; }
.hnw-alert.is-warning { background: #fff8eb; border: 1px solid #fde9c8; color: #7a4d09; }
.hnw-alert.is-warning i { color: #d97706; }
.hnw-alert.is-success { background: #f1faf3; border: 1px solid #cdeed4; color: #14532d; }
.hnw-alert.is-success i { color: #16a34a; }
.hnw-alert strong { color: inherit; }

/* ----- 3. PROBLEMA / SOLUCIÓN (cajas pareadas) ----- */
.hnw-ps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.hnw-ps-card { border-radius: 12px; padding: 22px; border: 1px solid #eef2f6; }
.hnw-ps-card.problem { background: #fef6f6; border-color: #f7dada; }
.hnw-ps-card.solution { background: #f4faf6; border-color: #d3edda; }
.hnw-ps-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.hnw-ps-card.problem .hnw-ps-head { color: #dc2626; }
.hnw-ps-card.solution .hnw-ps-head { color: #16a34a; }
.hnw-ps-card p { margin: 0; color: #475569; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 767px) { .hnw-ps { grid-template-columns: 1fr; } }

/* ----- 4. ESTADÍSTICA DESTACADA (impacto) ----- */
.hnw-stat {
    background: linear-gradient(135deg, #0F2738 0%, #1a364d 100%);
    border-radius: 14px; padding: 32px 30px; margin: 24px 0;
    display: flex; align-items: center; gap: 24px; color: #fff;
}
.hnw-stat-num { font-family: 'Poppins', sans-serif; font-size: 56px; font-weight: 700; color: #F25555; line-height: 1; letter-spacing: -2px; flex-shrink: 0; }
.hnw-stat-text { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.88); }
.hnw-stat-text strong { color: #fff; }
@media (max-width: 767px) {
    .hnw-stat { flex-direction: column; text-align: center; gap: 12px; padding: 26px 20px; }
    .hnw-stat-num { font-size: 46px; }
}

/* ----- 5. CITA DESTACADA ----- */
.hnw-quote {
    border-left: 4px solid #F25555; background: #f8fafc;
    padding: 20px 26px; margin: 24px 0; border-radius: 0 10px 10px 0;
    font-size: 18px; line-height: 1.5; color: #0F2738; font-style: italic; font-weight: 500;
}
.hnw-quote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; font-weight: 600; color: #64748b; }

/* ----- 6. PROS / CONTRAS (dos columnas) ----- */
.hnw-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.hnw-pc-col { border-radius: 12px; padding: 22px; border: 1px solid #eef2f6; background: #fff; }
.hnw-pc-head { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hnw-pc-col.pros .hnw-pc-head { color: #16a34a; }
.hnw-pc-col.cons .hnw-pc-head { color: #dc2626; }
.hnw-pc-col ul { list-style: none; padding: 0; margin: 0; }
.hnw-pc-col li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.55; color: #475569; }
.hnw-pc-col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.hnw-pc-col.pros li::before { content: "✓"; color: #16a34a; }
.hnw-pc-col.cons li::before { content: "✕"; color: #dc2626; }
@media (max-width: 767px) { .hnw-proscons { grid-template-columns: 1fr; } }

/* ----- 7. TARJETAS EN GRID (características / tipos) ----- */
.hnw-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 22px 0; }
.hnw-card {
    border: 1px solid #eef2f6; border-radius: 12px; padding: 24px; background: #fff;
    box-shadow: 0 4px 14px rgba(15,39,56,.04); transition: transform .2s ease, box-shadow .2s ease;
}
.hnw-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,39,56,.08); }
.hnw-card i { font-size: 28px; color: #F25555; margin-bottom: 12px; display: block; }
.hnw-card h5 { font-size: 17px; font-weight: 600; color: #0F2738; margin: 0 0 8px; }
.hnw-card p { font-size: 14px; line-height: 1.6; color: #64748b; margin: 0; }
@media (max-width: 767px) { .hnw-cards { grid-template-columns: 1fr; } }

/* ----- 8. TABLA COMPARATIVA (ya en uso, normalizada aquí) ----- */
.hnw-compare {
    width: 100%; border-collapse: collapse; margin: 10px 0 8px;
    font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 6px 20px rgba(15,39,56,.06);
}
.hnw-compare thead th { background: #0F2738; color: #fff; font-weight: 600; text-align: left; padding: 14px 18px; font-size: 14px; }
.hnw-compare tbody td { padding: 14px 18px; border-top: 1px solid #eef2f6; color: #475569; vertical-align: top; }
.hnw-compare tbody tr:nth-child(even) { background: #f8fafc; }
.hnw-compare .row-label { font-weight: 600; color: #0F2738; }
@media (max-width: 767px) { .hnw-compare { font-size: 13px; } .hnw-compare thead th, .hnw-compare tbody td { padding: 11px 12px; } }

/* ----- 9. Enlace contextual a la pillar ----- */
.hnw-inline-link { color: #20517b; font-weight: 600; text-decoration: underline; text-decoration-color: #cbd5e1; }
.hnw-inline-link:hover { color: #F25555; text-decoration-color: #F25555; }

/* ----- 10. TABLA DE PRECIOS (artículos de precios/planes) ----- */
.hnw-price-table {
    width: 100%; border-collapse: collapse; margin: 10px 0 8px;
    font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 6px 20px rgba(15,39,56,.06);
}
.hnw-price-table thead th {
    background: #0F2738; color: #fff; font-weight: 600; text-align: left;
    padding: 14px 18px; font-size: 14px;
}
.hnw-price-table tbody td {
    padding: 14px 18px; border-top: 1px solid #eef2f6; color: #475569; vertical-align: top;
}
.hnw-price-table tbody tr:nth-child(even) { background: #f8fafc; }
.hnw-price-table .plan-name { font-weight: 600; color: #0F2738; }
.hnw-price-table .plan-price { font-weight: 700; color: #0F2738; white-space: nowrap; }
@media (max-width: 767px) {
    .hnw-price-table { font-size: 13px; }
    .hnw-price-table thead th,
    .hnw-price-table tbody td { padding: 11px 12px; }
}


/* Bloque CTA lateral bajo el TOC — solo desktop */
.hnw-toc-cta { display: none; }
@media (min-width: 768px) { .hnw-toc-cta { display: block; margin-top: 22px; } }

/* Efecto glow del borde — intensificado */
.hnw-cta-glow {
    padding: 2.5px;
    border-radius: 14px;
    background: linear-gradient(45deg, #F25555, #ff8a3d, #1a364d, #F25555);
    background-size: 300% 300%;
    animation: hnwGradientBorder 3s linear infinite;
    box-shadow: 0 0 25px rgba(242, 85, 85, 0.35);
}
@keyframes hnwGradientBorder {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.hnw-seeall-inline {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0F2738;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #dbe3ec;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all .25s ease;
}
.hnw-seeall-inline:hover {
    background: #0F2738;
    border-color: #0F2738;
    color: #fff;
}
/* En móvil, el botón inline baja debajo del título */
@media (max-width: 767px) {
    .hnw-section-head { flex-wrap: wrap; }
    .hnw-seeall-inline { margin-top: 10px; font-size: 12px; padding: 7px 14px; }
}

/* Lenis Smooth Scroll */
html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}html,body{scroll-behavior:auto!important;overscroll-behavior:none!important}

/* ====================================================================
   SECCIÓN ESTILO ND STUDIO — VERSIÓN CLARA (WHITE MODE)
   ==================================================================== */
.nd-section {
    background-color: #ffffff;
    color: #0F2738;
    padding: 120px 20px;
    font-family: 'Poppins', 'Inter', sans-serif;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.nd-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Badge Superior idéntico al oscuro pero con colores limpios */
.nd-label-wrapper {
    grid-column: 1 / 13;
    margin-bottom: 10px;
}

/* Titular Masivo y Compacto (Blindado globalmente contra BeTheme) */
.nd-heading {
    grid-column: 1 / 13;
    font-size: clamp(40px, 7vw, 80px) !important; 
    line-height: 1.05 !important;                  
    letter-spacing: -0.03em !important;            
    font-weight: 800 !important;
    margin: 0 0 90px 0 !important;
    color: #0F2738 !important;
}
.nd-heading span {
    color: #20517b !important;
}

/* Bajada Sutil y Escalonada (Empieza en columna 7 para más aire) */
.nd-text-block {
    grid-column: 7 / 13;         
    margin-bottom: 90px;
}
.nd-text-block p.main-p {
    font-size: 15px;             /* Texto más pequeño y elegante */
    line-height: 1.6;
    color: #64748b;              /* Gris más sutil (menos pesado visualmente) */
    text-align: left;            /* Alineado a la izquierda da un look más editorial */
    margin-bottom: 16px;
}
.nd-text-block p.quote-p {
    font-size: 14px;
    line-height: 1.55;
    color: #94a3b8;
    border-left: 3px solid #F25555;
    padding-left: 16px;
    margin: 0;
}

/* Contenedor de Tarjetas (Grid de 3 columnas idéntico al oscuro) */
.nd-cards-wrapper {
    grid-column: 1 / 13;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tarjetas individuales con el formato exacto de tu diseño original */
.nd-card-item {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 39, 56, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nd-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 39, 56, 0.09);
}

.nd-card-icon-box {
    text-align: center;
    margin-bottom: 30px;
}

.nd-card-icon-box .svc-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 22px;
}

.nd-card-item h3 {
    color: #0F2738;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.nd-card-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 35px;
    flex-grow: 1;
}

.nd-card-btn-wrapper {
    text-align: center;
    margin-top: auto;
}

.nd-card-btn {
    display: inline-block;
    border: 2px solid #F25555;
    color: #F25555;
    font-weight: 700;
    font-size: 12px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nd-card-btn:hover {
    background-color: #F25555;
    color: #ffffff !important;
}

/* Responsivo para móviles y tablets */
@media (max-width: 991px) {
    .nd-text-block {
        grid-column: 1 / 13;
    }
    .nd-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ====================================================================
   SISTEMA UNIVERSAL DE PINNING (REUTILIZABLE)
   ==================================================================== */
/* Contenedor principal que dispara el efecto */
.hnw-pin-wrapper {
    overflow: visible; /* CRÍTICO para ScrollTrigger */
    width: 100%;
}

/* Grilla asimétrica */
.hnw-pin-layout {
    display: grid;
    grid-template-columns: 6fr 4fr; 
    gap: 80px;
    align-items: start; /* CRÍTICO para que el pin no salte */
    max-width: 1200px;
    margin: 0 auto;
    /* --- NUEVO: Para que quede por encima del romboide --- */
    position: relative;
    z-index: 2; 
}

/* Columna que se congela */
.hnw-pin-fixed {
    position: relative;
    height: auto;
}

/* Columna que se mueve */
.hnw-pin-scrolling {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Separación entre los elementos que suben */
}

/* Responsive para Móviles: desactiva la grilla y apila normal */
@media (max-width: 991px) {
    .hnw-pin-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ====================================================================
   ESTILOS VISUALES Y TIPOGRAFÍA PARA SECCIONES PIN (FOCO EN ROI)
   ==================================================================== */
.roi-pin-section {
    background-color: #ffffff;
    padding: 120px 20px;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    /* --- NUEVO: Contenedor para el romboide --- */
    position: relative;
    overflow: hidden; 
}

/* Tipografía adaptada para media pantalla */
.nd-heading-pin {
    font-size: clamp(34px, 4.5vw, 58px); 
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 800;
    margin: 0 0 30px 0;
    color: #0F2738;
}
.nd-heading-pin span { 
    color: #20517b; 
}

.nd-text-block-pin .main-p {
    font-size: 16px;
    line-height: 26px;
    color: #475569;
    text-align: left;
    margin-bottom: 20px;
}
.nd-text-block-pin .quote-p {
    font-size: 14px;
    line-height: 24px;
    color: #64748b;
    border-left: 4px solid #F25555;
    padding-left: 16px;
    margin: 0;
}

/* ====================================================================
   EFECTO ROMBOIDE FLOTANTE (PARALLAX LATERAL)
   ==================================================================== */
.hnw-bg-flare {
    position: absolute;
    top: 30%;
    right: -250px; /* Empieza escondido fuera del borde derecho */
    width: 500px;
    height: 500px;
    /* Un degradado súper sutil de tu azul corporativo a transparente */
    background: linear-gradient(135deg, rgba(32, 81, 123, 0.04) 0%, rgba(32, 81, 123, 0) 100%);
    transform: rotate(-45deg); /* Lo inclinamos para hacerlo romboide */
    border-radius: 40px; /* Bordes ligeramente suaves */
    z-index: 0; 
    pointer-events: none; /* Para que el usuario no lo pueda cliquear por error */
}

.hnw-factors-section {
    position: relative;
    overflow: hidden; /* Vital para que el romboide no genere scroll horizontal al inicio */
}

/* ====================================================================
   IMAGEN FLOTANTE (PARALLAX LATERAL)
   ==================================================================== */
.hnw-floating-img {
    position: absolute;
    top: 9%; /* Ajusta este valor para subir o bajar la imagen en la sección */
    right: -400px; /* Empieza escondida fuera de la pantalla */
    width: 100%;
    max-width: 450px; /* Tamaño máximo para que no sea grotesca en pantallas grandes */
    height: auto;
    z-index: 0;
    pointer-events: none; /* Crucial: evita que el usuario le haga clic o la arrastre sin querer */
    opacity: 0.25;
    filter: grayscale(100%) brightness(1.3);
}


/* === Mobile sticky CTA bar (site-wide) === */
#mobile-cta-bar { display: none; }

@media (max-width: 767px) {
  #mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9990;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 18px rgba(15, 39, 56, 0.12);

    /* oculto por defecto, fuera de pantalla */
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
  }

  #mobile-cta-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #mobile-cta-bar a {
    display: block;
    text-align: center;
    background: #F25555;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(242, 85, 85, .3);
  }

  body:not([data-hide-cta]) { padding-bottom: 80px; }
}

@media (max-width: 767.98px) {
    #mobile-cta-bar.hnw-dual-cta {
        display: flex !important;
        gap: 8px !important;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    }
    
    #mobile-cta-bar.hnw-dual-cta a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex: 1 1 50% !important;
        text-align: center !important;
        padding: 12px 8px !important;
        border-radius: 10px !important;
        font-weight: 800 !important;
        font-size: 14px !important;
        letter-spacing: 0.4px !important;
        text-decoration: none !important;
        text-transform: uppercase !important;
        color: #fff !important;
    }
    
    #mobile-cta-bar.hnw-dual-cta .hnw-cta-call {
        background: #F25555 !important;
        box-shadow: 0 6px 16px rgba(242, 85, 85, .3) !important;
    }
    
    #mobile-cta-bar.hnw-dual-cta .hnw-cta-wa {
        background: #25D366 !important;
        box-shadow: 0 6px 16px rgba(37, 211, 102, .3) !important;
    }
    
    #mobile-cta-bar.hnw-dual-cta a svg {
        flex-shrink: 0;
    }
}