@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Lexend:wght@400;500;600;700;800&display=swap');



/* ==================== FIX CRÍTICO PARA SLIDER ==================== */
.hero-slider,
.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    padding-top: 0; /* Eliminar padding superior */
    margin-top: 0; /* Eliminar margen superior */
}
.heroSwiper .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;      /* ¡Fuerza el ancho! */
}

.heroSwiper .swiper-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Esto evita que Swiper muestre slides adyacentes */
.heroSwiper {
    overflow: visible;
    position: relative;
}

.heroSwiper .swiper-wrapper {
    overflow: visible;
    display: flex;
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* ==================== VARIABLES ==================== */
:root {
    --verde-ingles: #1B4D3E;
    --azul-marino: #0A2B4E;
    --verde-claro: #2A7F62;
    --blanco: #FFFFFF;
    --gris-oscuro: #333333;
    --gris-claro: #F5F7FA;
    --gris-borde: #E5E7EB;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 3px 15px 2px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==================== GLOBALES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gris-oscuro);
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-light {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== BOTONES ==================== */
.btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--verde-ingles);
    border-color: var(--verde-ingles);
    color: var(--blanco);
}

.btn-primary:hover {
    background-color: var(--verde-claro);
    border-color: var(--verde-claro);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    border: 2px solid var(--verde-ingles);
    color: var(--verde-ingles);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--verde-ingles);
    color: var(--blanco);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ==================== HEADER / NAVEGACIÃ“N ==================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.sticky {
    position: fixed;
    background: var(--blanco);
    box-shadow: var(--shadow);
    padding: 10px 0;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    margin-top:10px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--blanco);
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

.header.sticky .navbar-nav .nav-link {
    color: var(--azul-marino);
}

.navbar-nav .nav-link:hover {
    color: var(--verde-claro);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--verde-claro);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    background: var(--blanco);
    border: none;
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.heroSwiper .swiper-slide-active .slide-bg img {
    transform: scale(1);
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;        /* â† Asegura que ocupe todo el ancho */
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 43, 78, 0.85) 0%, rgba(27, 77, 62, 0.75) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    text-align: left;
    overflow: hidden; /* Evita desbordamiento */
}

.slide-content .col-lg-6 {
    overflow: visible;
    max-height: 100%;
}

.slide-content .row {
    width: 100%;
    margin: 0;
}



.slide-content h1 {
    font-size: 55px;
    color: var(--blanco);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
}

.slide-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.heroSwiper .swiper-slide-active .slide-content h1,
.heroSwiper .swiper-slide-active .slide-content p,
.heroSwiper .swiper-slide-active .slide-content .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Botones de navegaciÃ³n del slider */
.heroSwiper {
    position: relative;
}

.swiper-nav-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    display: flex;
    gap: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin-top: 0 !important;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
}

.swiper-button-prev i,
.swiper-button-next i {
    color: var(--blanco);
    font-size: 18px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--verde-ingles);
    transform: scale(1.1);
}

.heroSwiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.heroSwiper .swiper-slide .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Asegura que el contenido no se desplace */
.heroSwiper .swiper-slide .slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.heroSwiper .swiper-wrapper {
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
}

.swiper-button-prev, 
.swiper-button-next {
    pointer-events: auto;
}

/* ==================== SECCIÃ“N ICONOS SERVICIOS ==================== */
.services-icons {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.service-icon-card {
    display: block;
    background: var(--blanco);
    padding: 25px 15px;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon-card i {
    font-size: 40px;
    color: var(--verde-ingles);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-icon-card:hover i {
    transform: scale(1.1);
}

.service-icon-card h3 {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--azul-marino);
}

/* ==================== SECCIONES GENERALES ==================== */
.section-badge {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--verde-ingles);
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--azul-marino);
}

.section-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.section-subtitle {
    font-size: 18px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--gris-claro) !important;
}

.bg-dark {
    background-color: var(--azul-marino) !important;
}

/* ==================== TARJETAS DE SERVICIOS ==================== */
.service-card {
    background: var(--blanco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.service-card-body {
    padding: 25px;
    text-align: center;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--verde-ingles);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 22px;
    box-shadow: var(--shadow);
}

.service-card-body h3 {
    font-size: 22px;
    margin: 15px 0 10px;
    color: var(--azul-marino);
}

.service-card-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.service-link {
    font-weight: 600;
    color: var(--verde-ingles);
    font-size: 14px;
}

.service-link:hover {
    color: var(--verde-claro);
    letter-spacing: 0.5px;
}

/* ==================== SECCIÃ“N VIVIENDA ==================== */
.section-vivienda .section-title.text-white {
    color: var(--blanco) !important;
}

.vivienda-image img,
.turismo-image img,
.proveeduria-image img {
    transition: var(--transition);
}

.vivienda-image img:hover,
.turismo-image img:hover,
.proveeduria-image img:hover {
    transform: scale(1.02);
}

/* ==================== SLIDER DE BENEFICIOS ==================== */
.benefitsSwiper {
    padding: 20px 0;
}

.benefitsSwiper .swiper-slide {
    text-align: center;
}

.benefitsSwiper .swiper-slide img {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.benefitsSwiper .swiper-slide img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ==================== CONTACTO ==================== */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: var(--verde-ingles);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 20px;
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.05);
    background: var(--verde-claro);
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--azul-marino);
}

.contact-item p {
    margin-bottom: 0;
    color: #666;
}

.contact-form .form-control {
    padding: 12px 16px;
    border: 1px solid var(--gris-borde);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--verde-ingles);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
    outline: none;
}

.contact-form textarea {
    resize: none;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--azul-marino);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-logo {
    height: 45px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--verde-ingles);
    transform: translateY(-3px);
}

.footer h3 {
    font-size: 18px;
    color: var(--blanco);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--verde-claro);
    padding-left: 5px;
}

.footer ul li i {
    width: 25px;
    color: var(--verde-ingles);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--blanco);
    padding: 12px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ==================== BOTÃ“N SCROLL TOP ==================== */
.scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--verde-ingles);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

.scrollToTop:hover {
    background: var(--verde-claro);
    transform: translateY(-5px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1199px) {
    .section-title {
        font-size: 36px;
    }
}

/* Estilos para el menú en móvil */
@media (max-width: 991px) {
    /* Menú principal */
    .navbar-collapse {
        background-color: #0a1a3a !important;  /* Azul marino oscuro */
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    
    /* Enlaces del menú principal */
    .navbar-nav .nav-link {
        color: white !important;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-weight: 500;
    }
    
    .navbar-nav .nav-link.active {
        color: #faa !important;
    }
    
    .navbar-nav .nav-link[style*="color:#faa"] {
        color: #faa !important;
    }
    
    /* Dropdown toggle (Servicios) */
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-toggle::after {
        margin-left: auto;
    }
    
    /* Submenú - Fondo transparente para que herede el color del padre */
    .dropdown-menu {
        position: static !important;
        width: 100%;
        background: rgba(255,255,255,0.1) !important;  /* Fondo semi-transparente */
        border: none !important;
        padding-left: 20px !important;
        margin-top: 5px !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Items del submenú */
    .dropdown-item {
        color: white !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 14px;
    }
    
    .dropdown-item:hover {
        background-color: rgba(255,255,255,0.15) !important;
        color: #faa !important;
        padding-left: 20px !important;
    }
    
    /* Icono del dropdown - flecha blanca */
    .dropdown-toggle::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        border: none;
        width: auto;
        height: auto;
        vertical-align: middle;
        color: white;
    }
    
    /* Rotar icono cuando está abierto */
    .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Botón hamburguesa - ajustar color */
    .navbar-toggler {
        background-color: transparent;
        border: 1px solid rgba(255,255,255,0.3);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .navbar-nav .nav-link {
        color: var(--azul-marino);
    }
    
    .navbar-collapse {
        background: var(--blanco);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: var(--shadow);
    }
    
    .services-icons {
        margin-top: -50px;
    }
    
    .service-icon-card {
        padding: 15px 10px;
    }
    
    .service-icon-card i {
        font-size: 30px;
    }
    
    .service-icon-card h3 {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-card-img {
        height: 180px;
    }
    
    .service-card-body h3 {
        font-size: 18px;
    }
    
    .contact-item {
        gap: 10px;
    }
    
    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .contact-item h4 {
        font-size: 16px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* Fuerza que Swiper tenga un ancho definido antes de cargar */
.heroSwiper {
    min-height: 500px;
}



/* ==================== FIX ABSOLUTO PARA SLIDER ==================== */
.heroSwiper {
    overflow: visible !important;
    position: relative;
}

.heroSwiper .swiper-wrapper {
    overflow: visible !important;
    display: flex;
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* IMPORTANTE: No ocultamos las slides, solo escondemos el desborde */
.heroSwiper .swiper-wrapper {
    transform: translate3d(0px, 0px, 0px);
}
        /* Estilos institucionales - Azul marino */
        .btn-dark {
            background-color: #0a1a3a !important;
            border-color: #0a1a3a !important;
            color: white !important;
        }
        
        .btn-dark:hover {
            background-color: #0d2a5a !important;
            border-color: #0d2a5a !important;
        }
        
        .btn-outline-dark {
            border-color: #0a1a3a !important;
            color: #0a1a3a !important;
        }
        
        .btn-outline-dark:hover {
            background-color: #0a1a3a !important;
            color: white !important;
        }
        
        .institutional-card h2,
        .institutional-card h3,
        .institutional-card h4 {
            color: #0a1a3a !important;
        }
        
        .section-badge.bg-dark {
            background-color: #0a1a3a !important;
        }
        
        .institutional-card .text-primary {
            color: #0a1a3a !important;
        }
        
        .valor-item {
            background-color: #0a1a3a !important;
        }
        
        .autoridad-card h4 {
            color: #0a1a3a !important;
        }
        /* Estilo para el checkbox de asociarme */
        .asociarme-check {
            background: #f0f7ff;
            padding: 12px 15px;
            border-radius: 12px;
            border: 1px solid #d4e4ff;
            transition: all 0.3s ease;
        }
        
        .asociarme-check:hover {
            background: #e8f0fe;
            border-color: #0a1a3a;
        }
        
        .asociarme-check .form-check-input {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            cursor: pointer;
            border: 2px solid #0a1a3a;
            transition: all 0.2s;
        }
        
        .asociarme-check .form-check-input:checked {
            background-color: #0a1a3a;
            border-color: #0a1a3a;
        }
        
        .asociarme-check .form-check-label {
            font-weight: 500;
            color: #0a1a3a;
            cursor: pointer;
        }
        
        .asociarme-check .form-check-label i {
            margin-right: 8px;
            color: #0a1a3a;
        }
/* Efecto hover para el botón de WhatsApp */
.whatsapp-number a:hover {
    text-decoration: underline !important;
    opacity: 0.9;
}

/* Botón flotante de WhatsApp - efecto pulse */
.whatsapp-float {
    transition: all 0.3s ease;
    bottom: 100px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-wa {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.whatsapp-float {
    animation: pulse-wa 1s infinite;
}
.valores-section {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
    border-radius: 28px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* brillo decorativo */
.valores-section::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(13, 43, 92, 0.05);
    border-radius: 50%;
    top: -120px;
    right: -120px;
}

.valores-header {
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.valores-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 35, 80, 0.08);
    color: #0b2a5b;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.valores-header h2 {
    font-size: 42px;
    margin: 0 0 15px;
    color: #0b1f44;
    font-weight: 800;
}

.valores-header p {
    max-width: 700px;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.7;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.valor-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.35s ease;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(11, 31, 68, 0.12);
    background: white;
}

.valor-card i {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b2a5b, #154084);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 20px rgba(11, 42, 91, 0.25);
}

.valor-card span {
    font-size: 17px;
    font-weight: 600;
    color: #1d2b42;
    line-height: 1.4;
}
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.container {
    width: 100%;
}

.programas {
    padding-top:20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.programas.abierto {
    padding-top:20px;
    max-height: 1000px;
    opacity: 1;
}

/* Estilos para la barra superior */
.top-bar {
    background-color: #111;
    width: 100%;
    padding: 4px 0;
    margin: 0;
    position: relative;
    z-index: 1001;
}

.top-bar-text {
    color: #fff;
    font-size: 14px;
    text-align: right;
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Opcional: para pantallas pequeñas */
@media (max-width: 768px) {
    .top-bar-text {
        font-size: 8px;
        text-align: center;
    }
}

/* Fondo del menú hamburguesa - siempre visible */
.navbar-collapse {
    transition: all 0.3s ease;
}

/* Cuando el menú está abierto (show) */
.navbar-collapse.show {
    background-color: #0a1a3a !important;
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
}

/* Cuando el menú está cerrado pero colapsando */
.navbar-collapse.collapsing {
    background-color: #0a1a3a !important;
}

/* Asegurar que los enlaces sean visibles */
.navbar-collapse.show .nav-link,
.navbar-collapse.collapsing .nav-link {
    color: white !important;
}

.navbar-collapse.show .dropdown-item {
    color: white !important;
}

.navbar-collapse.show .dropdown-toggle::after {
    color: white !important;
}

/* Botón hamburguesa - asegurar que sea visible */
.navbar-toggler {
    background-color: #0a1a3a;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
@media (max-width: 991px) {
    .navbar-brand .logo {
        height: 50px;
    }
}

/* Móviles (pantallas chicas) */
@media (max-width: 576px) {
    .navbar-brand .logo {
        height: 45px;
    }
}
