/* RESET Y ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}


/* ========== HEADER ========== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* LOGO */
.logo a {
    display: block;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}


 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== BOTÓN FLOTANTE DE WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #128C7E;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}
 
/* MENÚ HAMBURGUESA (oculto en desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* NAV MENU */
.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #007bff;
}

.nav-list li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

/* SECCIONES */
.section {
    padding: 80px 0;
}

.section h1, .section h2 {
    margin-bottom: 20px;
    color: #222;
}

.bg-light {
    background-color: #f9f9f9;
}


/* ========== RESPONSIVE (MÓVIL) ========== */
@media (max-width: 768px) {

    .logo img {
        height: 50px;  /* Ajusta este valor a lo que necesites */
    }
    .menu-toggle {
        display: flex;
        width: 35px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #2d4893;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Botón hamburguesa animado */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0.1);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Panel del menú */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
        padding-top: 100px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Lista del menú */
    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(45, 72, 147, 0.1);
        width: 100%;
    }

    .nav-list li a {
        display: block;
        padding: 18px 25px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #2d4893;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-list li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(135deg, #2d4893 0%, #4a7db8 100%);
        transition: width 0.3s ease;
        z-index: -1;
    }

    .nav-list li a:hover::before,
    .nav-list li a.active::before {
        width: 5px;
    }

    .nav-list li a:hover,
    .nav-list li a.active {
        color: #4a7db8;
        background-color: rgba(74, 125, 184, 0.05);
        padding-left: 30px;
    }

     

    .nav-menu.active::after {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu.active::after:hover {
        color: #4a7db8;
        transform: scale(1.1);
    }

    /* Ajuste de secciones */
    .section {
        padding: 50px 0;
    }
}



/* ========== HERO SECTION - CAPA 1 ========== */
.hero {
    position: relative;
    width: 100%;
    height: 750px;
    min-height: 700px;
      background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?ixlib=rb-4.0.3&auto=format&fit=crop&w=2071&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 72, 147, 0.85) 0%, rgba(74, 125, 184, 0.75) 100%);
}

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-text {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-btn {
    display: inline-block;
    background-color: #4a7db8;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background-color: #2d4893;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .hero {
        height: 600px;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: left;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
    }
}





/* ========== SECCIÓN CATEGORÍAS - CAPA 2 ========== */
.categorias-section {
    width: 100%;
    padding: 10px 0; /* Espacio superior e inferior */
    background-color: #fff;
}

.categorias-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px; /* Espacio a los lados izquierdo y derecho */
}

.categorias-grid {
    display: flex;
    width: 100%;
    gap: 10px; /* Espacio delgado de 10px ENTRE imágenes */
}

.categoria-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 400px; 
}

.categoria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.categoria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 72, 147, 0.7) 0%, rgba(74, 125, 184, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.categoria-card:hover .categoria-overlay {
    background: linear-gradient(135deg, rgba(45, 72, 147, 0.85) 0%, rgba(74, 125, 184, 0.75) 100%);
}

.categoria-titulo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    padding: 0 15px;
    margin: 0;
    transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-titulo {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .categoria-titulo {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .categorias-section {
        padding: 30px 0;
    }
    
    .categorias-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .categoria-card {
        height: 250px;
        width: 100%;
    }
    
    .categoria-titulo {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .categorias-section {
        padding: 20px 0;
    }
    
    .categoria-card {
        height: 200px;
    }
    
    .categoria-titulo {
        font-size: 1.2rem;
    }
}













/* ========== CATÁLOGO DE PRODUCTOS - CAPA 3 ========== */
.catalogo-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.catalogo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.catalogo-titulo {
    text-align: center;
    font-size: 2.5rem;
    color: #2d4893;
    margin-bottom: 15px;
    font-weight: 700;
}

.catalogo-subtitulo {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.producto-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 72, 147, 0.15);
}

.producto-imagen {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

.producto-info {
    padding: 20px;
}

.producto-nombre {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d4893;
    margin-bottom: 8px;
}

.producto-descripcion {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.producto-precio {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a7db8;
    margin-bottom: 15px;
}

.producto-btn {
    width: 100%;
    padding: 10px;
    background-color: #2d4893;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.producto-btn:hover {
    background-color: #4a7db8;
}

/* Responsive */
@media (max-width: 1024px) {
    .catalogo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .catalogo-section {
        padding: 50px 0;
    }
    
    .catalogo-titulo {
        font-size: 2rem;
    }
    
    .catalogo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .producto-imagen {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .catalogo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .catalogo-titulo {
        font-size: 1.6rem;
    }
}





/* ========== QUIÉNES SOMOS / CARACTERÍSTICAS - CAPA 5 ========== */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Imagen izquierda (60%) */
.about-image {
    flex: 0 0 60%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Contenido derecho (40%) */
.about-content {
    flex: 0 0 40%;
}

.about-slogan {
    color: #4a7db8;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-title {
    font-size: 2.2rem;
    color: #2d4893;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-title span {
    color: #4a7db8;
    border-bottom: 3px solid #4a7db8;
}

.about-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Características 2 columnas */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(45, 72, 147, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #2d4893;
}

.feature-item:hover .feature-icon svg path,
.feature-item:hover .feature-icon svg circle,
.feature-item:hover .feature-icon svg rect {
    stroke: #ffffff !important;
}

.feature-text h4 {
    font-size: 1rem;
    color: #2d4893;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
}

/* Botón CTA */
.about-btn {
    display: inline-block;
    background-color: #2d4893;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2d4893;
}

.about-btn:hover {
    background-color: transparent;
    color: #2d4893;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .about-content {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .about-features {
        text-align: left;
    }
    
    .feature-item {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 0;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-slogan {
        font-size: 0.85rem;
    }
}













/* ===== CARRUSEL DE CLIENTES ===== */
.clientes-carrusel {
    width: 100%;
    padding: 4rem 2rem;
    background: #ffffff;
    margin-top: 20px; /* Espaciado con la capa anterior */
    position: relative;
    overflow: hidden;
}

.clientes-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clientes-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.clientes-titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #2d4893;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.clientes-subtitulo {
    font-size: 1.1rem;
    color: #64748b;
}

/* Contenedor del carrusel */
.carrusel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1900px;
    margin: 0 auto;
}

/* Wrapper del track (oculta el desborde) */
.carrusel-track-wrapper {
    overflow-x: hidden;
    width: 100%;
    border-radius: 20px;
}

/* Track que contiene los logos */
.carrusel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Tarjeta de cada logo - 450px x 300px */
.logo-card {
    flex: 0 0 450px;   /* Ancho fijo: 450px */
    width: 450px;
    height: 300px;     /* Alto fijo: 300px */
    border: 1px solid #e2e8f0;  /* Línea tenue gris */
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.logo-card:hover {
    border-color: #2d4893;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
}

/* Contenedor interno para centrar el logo */
.logo-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Estilo del logo - con transparencia y centrado */
.logo-cliente {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(60%) opacity(0.7);
    transition: all 0.3s ease;
}

.logo-card:hover .logo-cliente {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Botones de navegación */
.carrusel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.carrusel-btn:hover {
    background: #2d4893;
    border-color: #2d4893;
    color: white;
    transform: scale(1.05);
}

.carrusel-btn:active {
    transform: scale(0.95);
}



/* Responsive */
@media (max-width: 1200px) {
    .logo-card {
        flex: 0 0 400px;
        width: 400px;
        height: 266px; /* Mantiene proporción 1.5:1 (450/300 = 1.5) */
    }
}

@media (max-width: 992px) {
    .logo-card {
        flex: 0 0 350px;
        width: 350px;
        height: 233px;
    }
    
    .carrusel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .clientes-carrusel {
        padding: 3rem 1rem;
        margin-top: 20px;
    }
    
    .logo-card {
        flex: 0 0 300px;
        width: 300px;
        height: 200px;
    }
    
    .clientes-titulo {
        font-size: 2rem;
    }
    
    .carrusel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-card {
        flex: 0 0 280px;
        width: 280px;
        height: 187px;
    }
    
    .carrusel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}













/* ===== HERO SECTION - AHORRO ===== */
.hero-ahorro {
    width: 100%;
    height: 700px; /* Alto fijo de 600px */
    /*background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);*/
    position: relative;
    overflow: hidden;
    margin: 0px 0 0 0; /* Espaciado con capa anterior */
    background-image: url(../img/ahorro.jpg);
}

/* Capa semitransparente encima de la imagen */
.hero-ahorro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Negro al 50% de opacidad */
    /* También puedes usar otros colores: */
    /* background-color: rgba(15, 23, 42, 0.6); */ /* Azul oscuro al 60% */
    /* background-color: rgba(16, 185, 129, 0.3); */ /* Verde al 30% */
    z-index: 1;
}

/* Contenedor interno */
.hero-ahorro-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Columna de texto (izquierda) */
.hero-ahorro-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInLeft 0.8s ease-out;
}

/* Título grande */
.hero-ahorro-titulo {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Subtítulo / llamado a la acción */
.hero-ahorro-subtitulo {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 2rem;text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Botón de contacto */
.btn-ahorro {
    display: inline-block;
    background: #2d4893;
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -8px rgba(16, 185, 129, 0.4);
    border: 2px solid transparent;
}

.btn-ahorro:hover {
    background: #5a78cc;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px rgba(16, 185, 129, 0.5);
}

.btn-ahorro:active {
    transform: translateY(0);
}

/* Columna de imagen (derecha) */
.hero-ahorro-imagen {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.ejecutivo-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE ===== */

/* Tablets */
@media (max-width: 1000px) {
    .hero-ahorro {
        height: auto;
        min-height: 500px;
        padding: 4rem 0;
    }
    
    .hero-ahorro-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-ahorro-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-ahorro-titulo {
        font-size: 3rem;
    }
    
    .hero-ahorro-subtitulo {
        font-size: 1.1rem;
    }
    
    .hero-ahorro-imagen {
        justify-content: center;
    }
    
    .ejecutivo-img {
        max-height: 300px;
    }
}

/* Móviles */
@media (max-width: 700px) {
    .hero-ahorro {
        padding: 3rem 0;
    }
    
    .hero-ahorro-titulo {
        font-size: 2.2rem;
    }
    
    .hero-ahorro-subtitulo {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .btn-ahorro {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    .ejecutivo-img {
        max-height: 250px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-ahorro-titulo {
        font-size: 1.8rem;
    }
    
    .hero-ahorro-subtitulo {
        font-size: 0.9rem;
    }
    
    .btn-ahorro {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .ejecutivo-img {
        max-height: 200px;
    }
}











/* FOOTER */

.footer {
    background-color: #0f172a;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}



/* ===== NUEVA CAPA SUPERIOR DEL FOOTER ===== */
.footer-top {
    padding: 4rem 5%;
    width: 100%;
    border-bottom: 1px solid #1e293b;
}

.footer-top-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* ===== COLUMNA 1: Logo + CTA + Botón ===== */
.footer-col-1 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-cta-text {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
     text-align: left; /* Agrega esta línea */ max-width: 70%;
} 

.footer-contact-btn {
    display: inline-block;
    background: #2d4893;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    align-self: flex-start;
}

.footer-contact-btn:hover {
    background: #5a78cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -8px rgba(16, 185, 129, 0.4);
}

/* ===== COLUMNA 2: Enlaces del sitio ===== */
.footer-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: left; /* Alineado a la izquierda en PC */
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #5a78cc;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #5a78cc;
    transform: translateX(5px);
}

/* ===== COLUMNA 3: Contacto + Redes Sociales ===== */
.footer-col-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alineado a la izquierda en PC */
}

.footer-contact-info {
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-icon {
    font-size: 1.2rem;
    min-width: 28px;
}

.footer-contact-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #5a78cc;
}

/* Redes Sociales */
.footer-social {
    width: 100%;
}

.footer-social-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left; /* Alineado a la izquierda en PC */
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; /* Alineado a la izquierda en PC */
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #5a78cc;
    transform: translateY(-3px);
}

.social-svg {
    width: 20px;
    height: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .footer-top-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-col-1 {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-contact-btn {
        align-self: center;
        max-width: 200px;
    }
    
    /* Ajustes para columnas 2 y 3 en tablets */
    .footer-col-2,
    .footer-col-3 {
        align-items: center;
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-contact-info {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social-title {
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .footer-top-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col-1 {
        grid-column: span 1;
        text-align: center;
    }
    
    .footer-col-2,
    .footer-col-3 {
        align-items: center;
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
    }

    
.footer-cta-text {
    text-align: center;
}
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-contact-btn {
        align-self: center;
    }
    
    .footer-contact-info {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social-title {
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}


  
/* ========== SUBPÁGINA QUIÉNES SOMOS ========== */

/* Hero interno */
.page-hero {
    position: relative;
    height: 350px;
    background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(135deg, rgba(45,72,147,0.9) 0%, rgba(74,125,184,0.85) 100%);*/
}

.page-hero-container {
    position: relative;
    width: 100%;
    z-index: 2;
}

.page-hero-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700; text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9); text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Sección intro + imagen */
.intro-section {
    padding: 80px 0;
    background: white;
}

.intro-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 2rem;
    color: #2d4893;
    margin-bottom: 20px;
}

.intro-content h2 span {
    color: #4a7db8;
    border-bottom: 3px solid #4a7db8;
}

.intro-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background: #2d4893;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #4a7db8;
    transform: translateX(5px);
}

/* Misión, Visión, Políticas */
.mvp-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.mvp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvp-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.mvp-card:hover {
    transform: translateY(-8px);
}

.mvp-icon {
    margin-bottom: 20px;
}

.mvp-card h3 {
    font-size: 1.8rem;
    color: #2d4893;
    margin-bottom: 15px;
}

.mvp-card p {
    color: #555;
    line-height: 1.5;
}

/* Valores */
.valores-section {
    padding: 70px 0;
    background: white;
}

.valores-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2d4893;
    margin-bottom: 50px;
}

.valores-title span {
    color: #4a7db8;
    border-bottom: 3px solid #4a7db8;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.valor-card {
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.valor-card:hover {
    background: #2d4893;
}

.valor-card:hover h4,
.valor-card:hover p {
    color: white;
}

.valor-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.valor-card h4 {
    font-size: 1.3rem;
    color: #2d4893;
    margin-bottom: 10px;
}

.valor-card p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA final */
.cta-final {
    background: linear-gradient(135deg, #2d4893 0%, #4a7db8 100%);
    padding: 70px 0;
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: #2d4893;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

/* Responsive */
@media (max-width: 992px) {
    .intro-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .mvp-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 250px;
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .intro-section {
        padding: 50px 0;
    }
    
    .intro-content h2 {
        font-size: 1.6rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-final h2 {
        font-size: 1.5rem;
    }
}







/* ========== SUBPÁGINA CONTACTO ========== */

/* Hero específico para contacto */
.contacto-hero {
    background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

/* Sección contacto */
.contacto-section {
    padding: 80px 0;
    background: #ffffff;
}

.contacto-container {
    display: flex;
    gap: 50px;
}

/* Información izquierda */
.contacto-info {
    flex: 1;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.contacto-info h2 {
    color: #2d4893;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contacto-info > p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

.info-detalle {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-icon {
    font-size: 1.8rem;
    min-width: 45px;
}

.info-item h4 {
    color: #2d4893;
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    font-size: 0.9rem;
}

.whatsapp-directo {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 14px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.whatsapp-directo:hover {
    background: #128C7E;
    transform: scale(1.02);
}

/* Formulario derecha */
.contacto-formulario {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.contacto-formulario h3 {
    color: #2d4893;
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7db8;
    box-shadow: 0 0 0 3px rgba(74,125,184,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-enviar {
    width: 100%;
    background: #2d4893;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-enviar:hover {
    background: #4a7db8;
    transform: translateY(-2px);
}

/* Sección mapa */
.mapa-section {
    padding: 0 0 80px 0;
    background: white;
}

.mapa-section h3 {
    text-align: center;
    color: #2d4893;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.mapa-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .contacto-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .contacto-info {
        order: 2;
    }
    
    .contacto-formulario {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        padding: 50px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contacto-info,
    .contacto-formulario {
        padding: 25px;
    }
    
    .contacto-info h2 {
        font-size: 1.5rem;
    }
}








/* ========== PÁGINA PRINCIPAL DE CATEGORÍAS ========== */

.categorias-hero {
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.categorias-principales {
    padding: 80px 0;
    background: #2d4893;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.categoria-tarjeta {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: block;
}

.categoria-tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(45, 72, 147, 0.15);
    border-color: #4a7db8;
}

.categoria-icono {
    font-size: 4rem;
    margin-bottom: 20px;
}

.categoria-tarjeta h3 {
    color: #2d4893;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.categoria-tarjeta p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.categoria-link {
    display: inline-block;
    color: #4a7db8;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.categoria-tarjeta:hover .categoria-link {
    color: #2d4893;
    transform: translateX(5px);
}

/* Beneficios */
.beneficios-categorias {
    padding: 70px 0;
    background: #f8f9fa;
}

.beneficios-categorias h2 {
    text-align: center;
    color: #2d4893;
    font-size: 2rem;
    margin-bottom: 50px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.beneficio {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
}

.beneficio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.beneficio-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.beneficio h4 {
    color: #2d4893;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.beneficio p {
    color: #777;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .categorias-principales {
        padding: 50px 0;
    }
    
    .categorias-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .beneficios-categorias {
        padding: 50px 0;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .beneficios-categorias h2 {
        font-size: 1.5rem;
    }
}








/* ========== PÁGINAS DE CATEGORÍA ========== */

/* Heroes específicos */
.administrativas-hero {
    background-image: url('../img/bannerAdmin.webp');
}

.publicitarias-hero {
    background-image: url('../img/bannerPubli.jpg');
}

.medicas-hero {
    background-image: url('../img/bannerMedical.webp');
}

.industriales-hero {
    background-image: url('../img/bannerIndustrial.jpg');
}

/* Descripción categoría */
.categoria-descripcion {
    padding: 40px 0;
    background: #f8f9fa;
    text-align: center;
}

.categoria-descripcion p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Productos grid */
.productos-categoria {
    padding: 60px 0;
    background: white;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CTA categoría */
.cta-categoria {
    background: linear-gradient(135deg, #2d4893 0%, #4a7db8 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-categoria h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 992px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .productos-categoria {
        padding: 40px 0;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categoria-descripcion p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .cta-categoria {
        padding: 40px 0;
    }
    
    .cta-categoria h2 {
        font-size: 1.4rem;
        padding: 0 20px;
    }
}