html body header {
            background-color: #FFFFFF; /* Fondo blanco sólido */
            box-shadow: 0 4px 20px rgba(31, 50, 134, 0.05); /* Sombra suave para destacar al hacer scroll */
            position: fixed; /* Cambiado a fixed para flotar e irse pegando en la parte superior sin alterar el flujo y centrado del hero */
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            border-bottom: 1px solid var(--bg-light);
            padding: 16px 0;
            transition: var(--transition);
        }
html body header .container {
            max-width: 100% !important; /* Permite que la cabecera ocupe todo el ancho de pantalla y ancle el logo a la izquierda */
            padding: 0 60px !important; /* Relleno lateral consistente de 60px para alinearse exactamente con el hero */
        }
@media (max-width: 480px) {html body .container, html body header .container { padding: 0 16px !important; }
}
html body .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
html body .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            justify-content: flex-start;
            margin: 0;
            padding: 0;
            margin-left: -6px; /* Compensación de margen negativo para alinear el borde visual visible de la imagen con la tipografía */
            margin-right: auto; /* Pushes the menu fully to the right, aligning the logo strictly to the left edge */
        }
html body .logo img {
            height: 62px; /* Incrementado de 52px para una visualización mucho más clara y destacada */
            width: auto;
            max-height: 62px;
            object-fit: contain;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            transform: translateZ(0); /* Evita desenfoque inducido por el backdrop-filter del header */
        }
html body .nav-menu {
            display: flex;
            list-style: none;
            gap: 8px; /* Espaciado horizontal sutil ya que los links tienen padding horizontal de 16px */
            align-items: center;
            flex-shrink: 0; /* Impide que el flexbox encoja el contenedor del menú */
        }
html body .nav-item {
            position: relative;
        }
html body .nav-item > a {
            text-decoration: none;
            color: var(--text-dark);
            font-family: 'Montserrat', sans-serif;
            font-size: 13px; /* Reducido a 13px para dar espacio */
            font-weight: 600;
            padding: 8px 12px; /* Reducido a 12px horizontal para que quepa en una línea */
            display: flex;
            align-items: center;
            gap: 4px;
            transition: var(--transition);
            white-space: nowrap; /* Evita que los enlaces del menú se corten o dividan en dos líneas */
        }
html body .nav-item > a:hover {
            color: var(--rose);
        }
html body .nav-item.has-dropdown > a::after {
            content: '▾';
            font-size: 0.75rem;
            opacity: 0.6;
            transition: transform 0.25s ease;
        }
html body .nav-item.has-dropdown:hover > a::after {
            transform: rotate(180deg);
            color: var(--rose);
        }
html body .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background-color: var(--white);
            border: 1px solid rgba(31, 50, 134, 0.06);
            border-radius: var(--radius-sm);
            box-shadow: 0 10px 30px rgba(31, 50, 134, 0.08);
            width: max-content;
            min-width: 230px;
            padding: 10px 0;
            margin-top: 8px;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            z-index: 1100;
            transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        }
html body .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -6px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 10px;
            height: 10px;
            background-color: var(--white);
            border-left: 1px solid rgba(31, 50, 134, 0.06);
            border-top: 1px solid rgba(31, 50, 134, 0.06);
        }
html body .nav-item.has-dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }
html body .dropdown-item {
            width: 100%;
        }
html body .dropdown-label {
            padding: 10px 20px 4px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--rose);
        }
html body .dropdown-label + .dropdown-label, html body .dropdown-item + .dropdown-label {
            border-top: 1px solid #F1EDF4;
            margin-top: 6px;
        }
html body .nav-burger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 44px;
            height: 44px;
            padding: 10px;
            margin-left: auto;
            background: none;
            border: 0;
            cursor: pointer;
        }
html body .nav-burger span {
            display: block;
            width: 22px;
            height: 2px;
            border-radius: 2px;
            background: var(--navy);
            transition: transform .25s ease, opacity .2s ease;
        }
html body .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html body .nav-burger.open span:nth-child(2) { opacity: 0; }
html body .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html body .nav-mobile-panel {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            background: #fff;
            z-index: 999;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 18px 22px 110px; /* aire final: no chocar con la barra fija inferior */
        }
html body .nav-mp-link {
            display: block;
            padding: 13px 2px;
            color: var(--navy);
            text-decoration: none;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 16px;
            border-bottom: 1px solid #F1EDF4;
        }
html body .nav-mp-top { font-weight: 700; }
html body .nav-mp-group { margin: 6px 0 2px; }
html body .nav-mp-label {
            padding: 16px 2px 4px;
            font-family: 'Montserrat', sans-serif;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--rose);
        }
html body .nav-mp-sublabel {
            padding: 12px 2px 2px;
            font-family: 'Montserrat', sans-serif;
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: #8b93a3;
        }
html body .nav-mp-cta {
            display: block;
            text-align: center;
            margin: 14px 0 0;
            padding: 13px 18px;
            border-radius: 999px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            background: var(--navy);
            color: #fff;
        }
html body .nav-mp-cta.nav-btn-secondary {
            background: #fff;
            color: var(--rose);
            border: 1.5px solid var(--rose);
        }
html.nav-mp-lock, html.nav-mp-lock body { overflow: hidden; }
html body .dropdown-item a {
            display: block;
            padding: 8px 20px;
            color: var(--text-dark);
            font-family: 'Montserrat', sans-serif;
            font-size: 0.88rem;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            text-align: left;
        }
html body .dropdown-item a:hover {
            background-color: #F9F0F5; /* Fondo rosa suave */
            color: var(--navy);
            padding-left: 24px; /* Efecto interactivo de desplazamiento */
        }
html body .nav-item a.nav-btn {
            background-color: var(--navy);
            color: var(--white) !important;
            padding: 12px 28px !important; /* Fuerza el padding vertical de 12px sobrescribiendo el 8px de .nav-item > a */
            border-radius: var(--radius-sm);
            font-weight: 700 !important;
            box-shadow: 0 4px 12px rgba(31, 50, 134, 0.15);
            transition: var(--transition);
            text-decoration: none;
            white-space: nowrap; /* Evita que el texto se rompa */
            display: inline-flex; /* Asegura el centrado y comportamiento de bloque en flexbox */
            align-items: center;
            justify-content: center;
            flex-shrink: 0; /* Impide que flexbox encoja el botón */
            line-height: 1; /* Alinea perfectamente el texto verticalmente */
        }
html body .nav-item a.nav-btn:hover {
            background-color: var(--rose) !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(189, 124, 172, 0.35);
        }
html body .nav-item a.nav-btn.nav-btn-secondary {
            background-color: transparent !important;
            color: #BD7CAC !important;
            border: 2px solid #BD7CAC;
            box-shadow: none;
            padding: 10px 20px !important;
        }
html body .nav-item a.nav-btn.nav-btn-secondary:hover {
            background-color: #BD7CAC !important;
            color: var(--white) !important;
            box-shadow: 0 6px 16px rgba(189, 124, 172, 0.25);
            transform: translateY(-2px);
        }
@media (max-width: 768px) {html body .nav-menu {
                display: none; /* En móvil la navegación vive en el panel hamburguesa */
            }
html body .nav-burger {
                display: flex;
            }
}
html body .mobile-cta-bar { display: none; }
@media (max-width: 768px) {html body .mobile-cta-bar {
                display: flex;
                gap: 10px;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 900;
                background: #ffffff;
                box-shadow: 0 -4px 20px rgba(31, 50, 134, .12);
                padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
            }
html body .mcta-primary, html body .mcta-secondary {
                display: flex; align-items: center; justify-content: center;
                font-family: 'Montserrat', sans-serif; text-decoration: none;
                border-radius: 12px; padding: 14px 10px; white-space: nowrap;
            }
html body .mcta-primary { flex: 1.5; background: #1F3286; color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 4px 12px rgba(31,50,134,.18); }
html body .mcta-secondary { flex: 1; background: #fff; color: #9D5E8E; border: 1.5px solid #BD7CAC; font-weight: 600; font-size: 14px; }
}
@media (max-width: 768px) {body { padding-bottom: 74px; }
}
html body .wp-site-blocks > header.wp-block-template-part { display: none; }
html body [data-elementor-type="header"]:not(:has(.nav-wrapper)) { display: none !important; }
html body header .logo img { width: auto; max-width: 220px; }
body.admin-bar header { top: 32px; }
@media (max-width: 782px) {body.admin-bar header { top: 46px; }
}