/* ==========================================================================
   HERO HEADER CON VIDEO Y CORTINA NEGRA - COENEO
   ========================================================================== */
.coeneo-hero-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 500px;
    max-height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

/* Cortina Negra de Transición */
.hero-curtain-black {
    position: absolute;
    inset: 0;
    background: #000000;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Video y Capa de Opacidad */
.hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* Leve transparencia opaca */
    z-index: 2;
}

/* Contenido Central (Logo y Botón) */
.hero-center-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-center-logo {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s ease;
}

.hero-center-logo:hover {
    transform: scale(1.05);
}

.hero-btn-contact {
    background-color: rgba(30, 41, 59, 0.85) !important;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-btn-contact:hover {
    background-color: #e51d25 !important;
    /* Rojo Coeneo al pasar el cursor */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 29, 37, 0.4) !important;
}

/* Adaptación para pantallas móviles */
@media (max-width: 768px) {
    .coeneo-hero-wrapper {
        height: 60vh;
        min-height: 380px;
    }

    .hero-center-logo {
        max-width: 180px;
    }
}

/* ==========================================================================
   SECCIÓN DE TARJETAS DESTACADAS (FONDO ROSA Y TAMAÑO COMPACTO)
   ========================================================================== */
.coeneo-featured-cards {
    background-color: var(--coeneo-pink, #fbcfe8) !important;
    /* Fondo rosa Coeneo */
    position: relative;
    z-index: 5;
    margin-top: -1px;
}

/* Tarjetas más pequeñas y estilizadas */
.featured-card {
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(190, 24, 93, 0.15) !important;
    max-width: 320px;
    /* Ancho máximo para hacerlas más compactas */
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Altura de imagen reducida */
.featured-img-box {
    position: relative;
    height: 160px;
    /* Reducido de 240px a 160px */
    overflow: hidden;
    background-color: #000000;
    border-radius: 12px 12px 0 0;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.featured-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.featured-overlay .badge {
    font-size: 0.75rem;
}

/* Contenido de texto compacto */
.featured-card .card-body {
    background: #ffffff !important;
    padding: 1.1rem !important;
}

.featured-card h3 {
    color: #1e293b !important;
    font-size: 1rem !important;
    /* Texto del título más pequeño */
}

.featured-card p {
    color: #64748b !important;
    font-size: 0.82rem !important;
    /* Descripción compacta */
    line-height: 1.4;
}

/* Hover Interactivo sobre fondo rosa */
.featured-card-link:hover .featured-card {
    transform: translateY(-6px);
    border-color: #be185d !important;
    box-shadow: 0 12px 25px rgba(190, 24, 93, 0.25) !important;
}

.featured-card-link:hover .featured-img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* ==========================================================================
   SECCIÓN PORTAL CIUDADANO (FONDO DIFUMINADO Y EFECTO TILT)
   ========================================================================== */
.portal-ciudadano-section {
    position: relative;
    background: url('img/fondo1.jpg') center/cover no-repeat fixed;
    overflow: hidden;
    padding: 80px 0;
}

/* Capa de Difuminado Blanco Traslúcido */
.portal-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.portal-description {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
    max-width: 860px;
}

/* Tarjeta Rosada */
.portal-card {
    background-color: #fbcfe8 !important;
    /* Tono rosa Coeneo exacto a la imagen */
    border-radius: 12px;
    border: 1px solid rgba(251, 207, 232, 0.5);
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

/* Círculo del Icono */
.portal-icon-circle {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #111827;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.portal-icon-circle i {
    font-size: 2.5rem;
    color: #111827;
}

/* Animación de Inclinación (Tilt Effect) al Hover */
.portal-card-col:hover .portal-card {
    transform: translateY(-8px) rotateX(6deg) rotateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(190, 24, 93, 0.2) !important;
}

.portal-card-col:hover .portal-icon-circle {
    transform: scale(1.08) translateZ(20px);
}

/* ==========================================================================
   SECCIÓN CONOCE COENEO Y ESCUDO ANIMADO
   ========================================================================== */
.conoce-text {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
}

/* Acordeón */
.coeneo-accordion .accordion-button {
    font-size: 1.05rem;
}

.coeneo-accordion .accordion-button:not(.collapsed) {
    color: #800020 !important;
    /* Guinda / Tinto Coeneo */
}

.coeneo-accordion .accordion-button:not(.collapsed) .bg-burgundy {
    background-color: #800020 !important;
}

.coeneo-accordion .accordion-button:not(.collapsed) .fa-plus::before {
    content: "\f068";
    /* Cambia ícono a "-" al abrir */
}

.bg-burgundy {
    background-color: #4a0404;
    color: #ffffff;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Escudo y Sombra Flotante inferior */
.escudo-wrapper {
    padding: 20px;
}

.coeneo-escudo-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.15));
}

/* Sombra estilizada en el piso (Estilo referencia) */
.escudo-shadow {
    position: absolute;
    bottom: 5px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    transform: scaleY(0.5);
}

/* ==========================================================================
   COMPONENTES Y BOTONES ROSA
   ========================================================================== */
.badge-pink {
    background-color: #fbcfe8 !important;
    color: #be185d !important;
    font-weight: 700;
}

.btn-pink {
    background-color: #be185d !important;
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-pink:hover {
    background-color: #9d174d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(190, 24, 93, 0.3) !important;
}

/* ==========================================================================
   SECCIÓN REDES SOCIALES CON FONDO DE LENTEJAS Y GLASSMORPHISM
   ========================================================================== */
.coeneo-social-section {
    position: relative;
    background-color: #0f172a;
    min-height: 520px;
}

.social-bg-texture {
    position: absolute;
    inset: 0;
    background: url('img/lentejasbn.png') center/cover no-repeat fixed;
    filter: blur(4px) grayscale(40%);
    opacity: 0.35;
    z-index: 1;
}

.social-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(251, 207, 232, 0.3) 100%);
    z-index: 2;
}

.social-glass-card {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(251, 207, 232, 0.6) !important;
}

/* Contenedor del iFrame Centrado */
.fb-iframe-container {
    width: 100%;
    max-width: 380px;
    /* Ancho máximo para evitar desproporción */
    min-height: 480px;
    border: 1px solid #fbcfe8;
    margin: 0 auto;
    /* Centrado horizontal estricto */
}

.fb-iframe-container iframe {
    display: block;
    width: 100%;
}

/* ==========================================================================
   SECCIÓN ALIADOS E INSTITUCIONES (ESTÉTICA GRIS NEUMÓRFICA)
   ========================================================================== */
.coeneo-allies-section {
    background-color: #f1f5f9 !important;
    /* Gris frío gubernamental */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.text-slate-800 {
    color: #1e293b;
}

/* Tarjeta Neumórfica de Marca */
.ally-card {
    background: #f8fafc;
    height: 120px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 6px 6px 16px rgba(15, 23, 42, 0.05),
        -6px -6px 16px rgba(255, 255, 255, 0.9);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.ally-logo {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.85);
    transition: filter 0.35s ease, transform 0.35s ease;
}

/* Hover de Impacto */
.ally-card-link:hover .ally-card {
    background: #ffffff;
    transform: translateY(-5px);
    border-color: #fbcfe8;
    box-shadow: 0 12px 25px rgba(190, 24, 93, 0.12);
}

.ally-card-link:hover .ally-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

/* Paginación de Swiper */
.swiper-pagination-bullet-active {
    background-color: #be185d !important;
    width: 20px !important;
    border-radius: 10px !important;
}

/* ==========================================================================
   SECCIÓN ALIADOS E INSTITUCIONES (FORZADO VISIBLE)
   ========================================================================== */
.coeneo-allies-section {
    background-color: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    min-height: 350px;
}

.text-slate-800 {
    color: #1e293b;
}

/* Tarjeta Neumórfica de Marca */
.ally-card {
    background: #ffffff !important;
    height: 130px !important;
    /* Alto fijo estricto */
    width: 100% !important;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.ally-logo {
    max-height: 60px !important;
    max-width: 85% !important;
    width: auto;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter 0.35s ease, transform 0.35s ease;
}

/* Hover de Impacto */
.ally-card-link:hover .ally-card {
    transform: translateY(-6px);
    border-color: #fbcfe8;
    box-shadow: 0 12px 25px rgba(190, 24, 93, 0.15) !important;
}

.ally-card-link:hover .ally-logo {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* ==========================================================================
   SECCIÓN MAPA Y UBICACIÓN (ESPECTACULAR FONDO ROSA + GLOW)
   ========================================================================== */
.coeneo-map-section {
    background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%) !important;
    /* Rosa degradado Coeneo */
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.badge-pink-dark {
    background-color: #be185d !important;
    color: #ffffff !important;
}

.text-slate-900 {
    color: #0f172a !important;
}

.map-lead-text {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Efecto Brillo / Glow Detrás del Mapa */
.map-card-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.map-glow-pink {
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
    border-radius: 28px;
    filter: blur(25px);
    opacity: 0.35;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.map-card-wrapper:hover .map-glow-pink {
    opacity: 0.6;
}

.map-frame {
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    background-color: #0f172a;
}

/* Estilo del Iframe Mapa */
.coeneo-map-iframe {
    display: block;
    filter: contrast(1.05) saturate(1.1);
}

/* Tarjetas Flotantes Sobre el Mapa - Contraste Legible */
.map-info-floating-grid {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    /* Fondo claro de alta visibilidad */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(190, 24, 93, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-info-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.map-pill-title {
    color: #0f172a !important;
    /* Título en negro mate */
}

.map-pill-subtitle {
    color: #475569 !important;
    /* Subtítulo en gris oscuro de alto contraste */
    font-weight: 600;
}

.text-pink-accent {
    color: #be185d !important;
    /* Iconos en rosa de marca */
}

/* Botón GPS Flotante */
.btn-gps-pink {
    background-color: #be185d !important;
    color: #ffffff !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-gps-pink:hover {
    background-color: #9d174d !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(190, 24, 93, 0.5) !important;
}

/* Responsive para Pantallas Pequeñas */
@media (max-width: 768px) {
    .map-info-floating-grid {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: -10px;
        border-radius: 0 0 16px 16px;
    }
}

/* ==========================================================================
   WIDGET Y POPUP DE ACCESIBILIDAD - ESTILO COENEO
   ========================================================================== */
.accessibility-trigger-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #be185d;
    /* Borgoña Coeneo */
    color: #ffffff;
    border: 2px solid #fbcfe8;
    font-size: 1.5rem;
    z-index: 1050;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.accessibility-trigger-btn:hover {
    background-color: #9d174d;
    transform: scale(1.1);
}

.accessibility-panel {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 320px;
    background: #ffffff;
    border: 1px solid #fbcfe8;
    z-index: 1050;
    transition: all 0.3s ease;
}

.accessibility-panel.panel-left {
    right: auto;
    left: 25px;
}

.accessibility-header {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}

.access-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0 !important;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    transition: all 0.2s ease;
}

.access-btn:hover,
.access-btn.active {
    background: #fbcfe8;
    color: #be185d;
    border-color: #be185d !important;
}

.access-icon {
    font-size: 1.25rem;
    color: #be185d;
    margin-bottom: 4px;
}

.integra2-bar {
    background-color: #0f172a;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* Modificadores de Accesibilidad Globales */
body.high-contrast {
    filter: contrast(140%);
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.large-text {
    font-size: 118% !important;
}

body.readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.highlight-links a {
    outline: 2px solid #be185d !important;
    background-color: #fbcfe8 !important;
}

/* ==========================================================================
   WIDGET Y POPUP DE ACCESIBILIDAD - ESTILO COENEO
   ========================================================================== */
.accessibility-trigger-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #be185d !important;
    /* Borgoña Coeneo */
    color: #ffffff !important;
    border: 2.5px solid #fbcfe8 !important;
    font-size: 1.6rem;
    z-index: 999999 !important;
    /* Fuerza visibilidad superior */
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(190, 24, 93, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accessibility-trigger-btn:hover {
    transform: scale(1.12);
}

.accessibility-panel {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 320px;
    background: #ffffff !important;
    border: 2px solid #fbcfe8;
    z-index: 999998 !important;
    display: none;
    /* Controlado estrictamente vía 'display: block' en JS */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.accessibility-panel.is-active {
    display: block !important;
}

.accessibility-panel.panel-left {
    right: auto;
    left: 25px;
}

.accessibility-header {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%) !important;
}

.access-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0 !important;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    transition: all 0.2s ease;
}

.access-btn:hover,
.access-btn.active {
    background: #fbcfe8 !important;
    color: #be185d !important;
    border-color: #be185d !important;
}

.access-icon {
    font-size: 1.25rem;
    color: #be185d;
    margin-bottom: 3px;
}

.integra2-bar {
    background-color: #0f172a;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* MODIFICADORES DE ACCESIBILIDAD SOBRE EL BODY */
body.high-contrast {
    filter: contrast(150%) brightness(90%);
    background-color: #000000 !important;
}

body.large-text {
    font-size: 120% !important;
}

body.wide-spacing * {
    letter-spacing: 2px !important;
    word-spacing: 4px !important;
}

body.stop-animations * {
    animation: none !important;
    transition: none !important;
}

body.readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.big-cursor,
body.big-cursor * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="%23be185d"><path d="M4.5 2a.5.5 0 0 0-.5.5v16a.5.5 0 0 0 .8.4l4.7-3.9 2.8 6.7a.5.5 0 0 0 .9-.4l-2.8-6.6 6.3 0a.5.5 0 0 0 .3-.9L4.8 2.1a.5.5 0 0 0-.3-.1z"/></svg>'), auto !important;
}

body.highlight-links a {
    outline: 3px solid #be185d !important;
    background-color: #fbcfe8 !important;
    color: #be185d !important;
}

/* LÍNEA DE LECTURA */
.reading-line {
    position: fixed;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(190, 24, 93, 0.8);
    z-index: 999999;
    pointer-events: none;
}

/* ==========================================================================
   POPUP MODAL DE BIENVENIDA INICIAL
   ========================================================================== */
.bg-burgundy-coeneo {
    background: linear-gradient(135deg, #be185d 0%, #800020 100%) !important;
}

.bg-pink-coeneo {
    background-color: #fbcfe8 !important;
}

.text-burgundy-dark {
    color: #800020 !important;
    font-weight: 700;
}

.btn-burgundy {
    background-color: #be185d !important;
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-burgundy:hover {
    background-color: #800020 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(190, 24, 93, 0.3) !important;
}

.btn-outline-burgundy {
    border: 2px solid #be185d !important;
    color: #be185d !important;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-burgundy:hover {
    background-color: #be185d !important;
    color: #ffffff !important;
}

/* Difuminado de Fondo al Abrir el Popup */
.modal-backdrop.show {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.7);
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA LA PÁGINA SEVAC
   ========================================================================== */
.sevac-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.sevac-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(251, 207, 232, 0.15) 0%, transparent 70%);
}

.text-slate-200 {
    color: #e2e8f0 !important;
}

.sevac-main-card {
    border: 1px solid rgba(251, 207, 232, 0.6) !important;
}

.bg-burgundy-light {
    background-color: #fbcfe8 !important;
}

.text-burgundy {
    color: #be185d !important;
}

.iframe-responsive-container {
    width: 100%;
    border: 1px solid #e2e8f0;
}

.iframe-responsive-container iframe {
    display: block;
    width: 100%;
}

/* ==========================================================================
   ESTILOS GLOBALES DE NAVBAR TRANSPARENTE Y SUPERPUESTA
   ========================================================================== */
.header-nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    background: transparent;
}

/* Transparencia y cristal en la Navbar */
.header-nav-wrapper .navbar {
    background: rgba(15, 23, 42, 0.45) !important;
    /* Fondo obscuro traslúcido */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

/* Ajustes de contraste para enlaces e íconos */
.header-nav-wrapper .navbar-nav .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.header-nav-wrapper .navbar-nav .nav-link:hover,
.header-nav-wrapper .navbar-nav .nav-link.active {
    color: #fbcfe8 !important;
    /* Rosa Coeneo en hover */
}

/* Compensación de espacio superior para el Hero Banner */
.has-transparent-nav {
    padding-top: 90px !important;
    /* Evita que el contenido quede oculto debajo del menú */
}

/* Soporte para submenús anidados en Bootstrap 5 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

@media (max-width: 991px) {
    .dropdown-submenu>.dropdown-menu {
        position: static;
        left: auto;
        margin-left: 1rem;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.03);
    }
}

/* Utilidades reutilizables para Tarjetas de Contenido */
.icon-box-md {
    width: 48px;
    height: 48px;
}

.logo-privacy {
    max-height: 100px;
    width: auto;
}

.border-pink {
    border-color: #fbcfe8 !important;
}

.bg-pink-light {
    background-color: #fbcfe8 !important;
}

/* Estilos adicionales para Fiestas de Octubre */
.hero-fiestas {
    background: linear-gradient(135deg, #800020 0%, #be185d 50%, #0f172a 100%) !important;
}

.bg-burgundy-dark {
    background-color: #580016 !important;
}

.btn-pink-coeneo {
    background-color: #fbcfe8 !important;
    color: #800020 !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-pink-coeneo:hover {
    background-color: #ffffff !important;
    color: #be185d !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 207, 232, 0.4) !important;
}

/* Estilos utilitarios para tarjetas de Trámites */
.icon-box-md {
    width: 48px;
    height: 48px;
}

.sevac-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón Personalizado para WhatsApp */
.btn-whatsapp {
    background-color: #25d366 !important;
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1eb954 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================================================
   SOLUCIÓN DE SUPERPOSICIÓN DE MENÚ Y DROPDOWNS (Z-INDEX)
   ========================================================================== */
/* Asegura que el contenedor del menú y sus desplegables estén por encima del contenido del Hero */
.header-nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    /* Capa superior sobre cualquier elemento de la página */
}

/* Fuerza a los menús desplegables de Bootstrap a mantenerse al frente */
.dropdown-menu {
    z-index: 10000 !important;
}

/* Controla que el contenedor Hero no solape capas superiores */
.sevac-hero-section {
    position: relative;
    z-index: 1;
}