    /* ========================================================= */
    /* 1. Variables Globales */
    /* ========================================================= */
    :root {
        /* Paleta de Colores */
        --primary-color: #2980b9;    /* Azul brillante (Acero) */
        --secondary-color: #e67e22;  /* Naranja de acento (Calabaza) */
        --light-color: #ecf0f1;      /* Gris muy claro (fondo alterno) */
        --dark-color: #2c3e50;       /* Gris oscuro (texto/fondo footer) */
        --white-color: #ffffff;
        --gray-text: #95a5a6;        /* Gris para subtítulos */

        /* Espaciado y Tipografía Base */
        --base-font-size: 0.95rem;
        --base-line-height: 1.6;
        --section-padding: 4rem 0;
        --container-max-width: 1200px;
    }

    /* ========================================================= */
    /* 2. Reset y Tipografía Base */
    /* ========================================================= */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Poppins', sans-serif;
        line-height: var(--base-line-height);
        font-size: var(--base-font-size);
        color: var(--dark-color);
        overflow-x: hidden;
        /* Asegura la altura mínima en dispositivos móviles */
        min-height: 100vh;
        height: -webkit-fill-available;
    }

    /* Títulos: Uso de REMs para escalabilidad */
    h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--white-color);
    }

    h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
        color: var(--dark-color);
    }

    h3 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    p {
        line-height: var(--base-line-height);
    }

    a {
        text-decoration: none;
        color: var(--primary-color);
        transition: color 0.3s ease;
    }

    a:hover {
        color: var(--secondary-color);
    }

    /* Contenedores y Secciones */
    .container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    .section {
        padding: var(--section-padding);
    }

    /* CLASE CLAVE PARA LA ALTERNANCIA DE FONDOS (GRIS CLARO) */
    .bg-light {
        background-color: var(--light-color);
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        color: var(--gray-text);
        text-align: center;
    }

    .section-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    /* ========================================================= */
    /* 3. Botones (Estandarización y Reutilización) */
    /* ========================================================= */

    /* Botón CTA (Call to Action) principal - Usado en Hero */
    .cta-button {
        /* Box Model */
        display: inline-block;
        padding: 0.7rem 1.8rem;
        margin-top: 1.2rem;
        border-radius: 50px;
        
        /* Tipografía */
        font-weight: 600;
        
        /* Visual */
        background-color: var(--secondary-color);
        color: var(--white-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
    }

    /* Botón Primario - Usado en Formulario (y como base) */
    .btn-primary {
        /* Box Model */
        padding: 0.7rem 1.8rem;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        /* Centrado y ancho adaptativo */
        display: block;
        width: fit-content;
        margin: 0 auto;

        /* Tipografía */
        font-size: var(--base-font-size);
        font-weight: 600;

        /* Visual */
        background-color: var(--secondary-color);
        color: var(--white-color);
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .btn-primary:hover {
        background-color: #d35400; /* Tono más oscuro del secondary-color */
        transform: translateY(-2px);
    }

    /* Botón Secundario (Trabaja con Nosotros) */
    .btn-secondary {
        display: inline-block;
        padding: 10px 25px;
        border: 2px solid var(--primary-color);
        border-radius: 50px;

        color: var(--primary-color);
        background-color: transparent;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-secondary:hover {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

    /* Botón Volver a Empresas (Especial para Navbar) */
    .btn-home {
        padding: 0.4rem 0.8rem;
        border-radius: 5px;
        font-weight: 700;
        
        background-color: var(--secondary-color); 
        color: var(--white-color) !important; /* Anulación clave */
        transition: background-color 0.3s ease;
    }

    .btn-home:hover {
        background-color: #d35400; 
    }

    /* Anula la línea de subrayado de los enlaces del menú normal */
    .btn-home::after {
        display: none !important;
    }

    /* Asegura que el color se mantenga si la navbar está scrolled */
    .navbar.scrolled .btn-home {
        color: var(--white-color) !important; 
        background-color: var(--secondary-color);
    }


    /* ========================================================= */
    /* 4. Estilos de la Landing Page (index.html) */
    /* ========================================================= */

    /* ANIMACIÓN: Mueve SOLO el gradiente, la imagen base queda fija */
    @keyframes gradientShift {
        0% { background-position: 0% 50%, center; }
        50% { background-position: 100% 50%, center; }
        100% { background-position: 0% 50%, center; }
    }

    .landing-page-body {
        /* Box Model */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        min-height: 100vh; 
        text-align: center;
        
        /* Visual */
        background-image:
            linear-gradient(-45deg,
                rgba(0,123,255,0.6),
                rgba(0,198,255,0.6),
                rgba(255,165,0,0.6),
                rgba(255,99,71,0.6)),
            url("LOGO6.jpeg"); 
        
        background-size: 100% 100%, cover;
        background-position: 0% 50%, center;
        background-repeat: no-repeat;
        background-blend-mode: overlay;
        color: var(--white-color);

        /* Animación */
        animation: gradientShift 15s ease infinite;
    }


    .welcome-container {
        /* Box Model */
        padding: 2rem 3rem;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;

        /* Visual (Glassmorphism) */
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    }

    .subtitle {
        font-size: 1.2rem;
        font-weight: 300;
        color: #f1f1f1; 
    }

    .brand-selection {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .brand-card {
        /* Box Model */
        width: 150px;
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;

        /* Visual */
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .brand-card:hover {
        transform: translateY(-8px);
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .brand-card .logo {
        width: 80px;
        height: auto;
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
    }

    .brand-name {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--white-color);
        margin: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }


    /* ========================================================= */
    /* 5. Navbar y Hero (Páginas Internas) */
    /* ========================================================= */

    /* Navegación (Navbar) */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        transform: translateY(-100%); 
        transition: background-color 0.4s ease, padding 0.4s ease, transform 0.5s ease-out;

        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 2rem;
        background-color: transparent;
    }

    .navbar.scrolled {
        transform: translateY(0);
        background-color: var(--white-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 0.4rem 2rem;
    }

    .navbar .logo-container {
        height: 40px;
    }

    .navbar .logo {
        height: 100%;
        width: auto;
        filter: brightness(0) invert(1);
        transition: filter 0.4s ease;
    }

    .navbar.scrolled .logo {
        filter: none;
    }

    .nav-links {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

    .nav-links a {
        color: var(--white-color);
        font-size: var(--base-font-size);
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease;
    }

    .navbar.scrolled .nav-links a {
        color: var(--dark-color);
    }

    /* Efecto de subrayado */
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    /* Menú Móvil (Toggle/Hamburguesa) */
    .menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        background: transparent;
        border: none;
        z-index: 1001;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: var(--white-color);
        margin: 4px 0;
        transition: all 0.3s ease-in-out;
    }

    .navbar.scrolled .menu-toggle .bar {
        background-color: var(--dark-color);
    }


    /* Hero Section */
    .hero-section {
        position: relative;
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        
        background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('bg-hero.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed; /* Efecto Parallax */
        color: var(--white-color);
    }

    .hero-content {
        max-width: 800px;
        padding: 0 1rem;
    }


    /* ========================================================= */
    /* 6. Componentes de Contenido (Grids, Cards, Timeline, Form) */
    /* ========================================================= */

    /* Grids Comunes (Productos, Aliados, Vacantes) */
    .products-grid, 
    .aliados-grid,
    .vacancies-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    /* Grids Específicos */
    .vacancies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px; 
        margin-top: 40px;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 1.5rem;
        align-items: flex-start;
    }

    /* Cards de Contenido (Productos y Aliados) */
    .product-card, 
    .aliado-card {
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
        opacity: 0; /* Para la animación JS */
        
        background-color: var(--white-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product-card:hover, 
    .aliado-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .product-card .icon {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 0.8rem;
    }

    .aliado-card img {
        max-width: 100%;
        height: auto;
        opacity: 1;
        transition: transform 0.3s ease;
    }

    /* Tarjetas de Vacantes */
    .vacancy-card {
        padding: 30px;
        border-radius: 12px;
        text-align: center;
        
        background: var(--white-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
        border-top: 5px solid var(--primary-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .vacancy-card:hover {
        transform: translateY(-5px); 
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .vacancy-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
        display: block;
        color: var(--primary-color); 
    }

    .vacancy-card h3 {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: #333;
    }

    .vacancy-role {
        font-size: 1rem;
        margin-bottom: 20px;
        min-height: 50px; 
        color: #666;
    }

    .vacancy-details {
        margin-bottom: 25px;
        padding: 0 10px;
        text-align: left;
    }

    .vacancy-details span {
        display: block;
        font-size: 0.95rem;
        margin-bottom: 5px;
        color: #444;
    }

    .vacancy-details i {
        margin-right: 8px;
        color: #ffc107; /* Color de acento (Amarillo) */
    }

    /* Botón de WhatsApp */
    .whatsapp-button {
        display: inline-block;
        width: 90%; 
        padding: 12px 20px;
        border-radius: 50px; 
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        
        background-color: #25D366; /* Color de WhatsApp */
        color: var(--white-color);
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .whatsapp-button:hover {
        background-color: #1EBE5A;
        transform: translateY(-2px);
    }

    .whatsapp-button i {
        margin-right: 8px;
        font-size: 1.1rem;
    }


    /* Timeline Section (Nosotros) */
    .timeline {
        position: relative;
        max-width: 700px;
        margin: 0 auto;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 2px;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -1px;
        background-color: var(--primary-color);
    }

    .timeline-item {
        padding: 8px 30px;
        position: relative;
        width: 50%;
        margin-bottom: 1.5rem;
        opacity: 0; /* Para la animación JS */
    }

    .timeline-item:nth-child(odd) { left: 0; }
    .timeline-item:nth-child(even) { left: 50%; }

    .timeline-dot {
        position: absolute;
        width: 14px;
        height: 14px;
        top: 15px;
        border-radius: 50%;
        z-index: 1;

        background-color: var(--secondary-color);
        border: 2px solid var(--white-color);
        right: -7px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -7px;
        right: auto;
    }

    .timeline-content {
        padding: 15px 25px;
        border-radius: 6px;
        position: relative;
        
        background-color: var(--white-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .timeline-content h3 {
        color: var(--primary-color);
    }

    /* Formulario */
    .form-modern {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 500px;
        margin: 0 auto;
        opacity: 0; /* Para la animación JS */
    }

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .form-group input, 
    .form-group textarea, 
    .form-group select {
        width: 100%;
        padding: 0.6rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-family: inherit;
        font-size: var(--base-font-size);
    }

    .form-group input:focus, 
    .form-group textarea:focus, 
    .form-group select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 5px rgba(41, 128, 185, 0.3);
    }


    /* ========================================================= */
    /* 7. Sección de Contacto e Info */
    /* ========================================================= */

    .contact-info-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-info-card p {
    margin-bottom: 0.8rem;
}

.contact-info-card i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Este bloque debe complementarse con width: 100%; y height: 100%; en el CSS de arriba */
.map-container iframe {
    border-radius: 12px;
    display: block;
}

    /* Sección de Cobertura (con más detalle) */
    .map-container-section {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        align-items: center;
        padding: 3rem;
        border-radius: 15px;

        background: var(--white-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .map-details {
        flex: 1;
        padding-right: 2rem;
    }

    .map-details h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
    }

    .map-details p {
        margin-bottom: 2rem;
        color: var(--gray-text);
    }

    .coverage-list {
        margin-top: 1.5rem;
    }

    .coverage-list h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: var(--dark-color);
    }

    .coverage-item {
        padding: 1rem 1.5rem;
        border-radius: 8px;
        margin-bottom: 1rem;
        opacity: 0; 
        
        background: #f4f4f4; 
        border-left: 4px solid var(--secondary-color);
    }

    .coverage-item h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        color: var(--dark-color);
    }

    .coverage-item ul {
        list-style: none;
        padding-left: 1rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .coverage-item ul li {
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        
        background: var(--light-color);
        color: var(--dark-color);
    }

    .map-iframe {
        flex: 2;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }

    .map-iframe iframe {
        width: 100%;
        height: 500px;
        display: block;
    }

    .map-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        
        background: rgba(0, 0, 0, 0.5);
        color: var(--white-color);
        
        display: flex;
        justify-content: center;
        align-items: center;
        
        font-size: 1.5rem;
        font-weight: 600;
        text-align: center;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .map-iframe.active .map-overlay {
        opacity: 0;
        pointer-events: none;
    }


    /* ========================================================= */
    /* 8. Footer */
    /* ========================================================= */
    .footer {
        padding: 1.5rem 0;
        text-align: center;
        background-color: var(--dark-color);
        color: var(--light-color);
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0 1.5rem;
        opacity: 0; /* Para la animación JS */
    }

    .social-links {
        display: flex;
        gap: 0.8rem;
    }

    .social-links a {
        color: var(--light-color);
        font-size: 1rem;
        transition: color 0.3s ease;
    }

    .social-links a:hover {
        color: var(--secondary-color);
    }


    /* ========================================================= */
    /* 9. Animación y Visibilidad (JS) */
    /* ========================================================= */

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Clases de utilidad para el JS de animación */
    .fade-in-up { animation: fadeInUp 0.8s ease forwards; }
    .fade-in-up-delay-1 { animation-delay: 0.2s; }
    .fade-in-up-delay-2 { animation-delay: 0.4s; }
    .fade-in-up-delay-3 { animation-delay: 0.6s; }
    .fade-in-up-delay-4 { animation-delay: 0.8s; }
    .fade-in-up-delay-5 { animation-delay: 1s; }
    .fade-in-up-delay-6 { animation-delay: 1.2s; }
    .fade-in-up-delay-7 { animation-delay: 1.4s; }
    .fade-in-up-delay-8 { animation-delay: 1.6s; }
    .fade-in-up-delay-9 { animation-delay: 1.8s; }
    .fade-in-up-delay-10 { animation-delay: 2s; }

    .visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .hidden {
        opacity: 0;
        transform: translateY(20px);
    }


    /* ========================================================= */
    /* 10. Media Queries para Responsividad */
    /* ========================================================= */

    @media (max-width: 992px) {
        .map-container-section {
            flex-direction: column;
            padding: 2rem; 
        }

        .map-details {
            padding-right: 0;
        }
    }


    @media (max-width: 768px) {
        /* Tipografía Base */
        h1 { font-size: 1.8rem; }
        h2 { font-size: 1.5rem; }
        h3 { font-size: 1.2rem; }
        .subtitle { font-size: 0.9rem; }
        .section-title { font-size: 1.8rem; }
        .section-subtitle { font-size: 1.1rem; }

        /* Landing Page */
        .landing-page-body {
            height: auto; 
            padding: 3rem 0; 
        }
        .welcome-container {
            padding: 1.5rem; 
            width: 90%; 
            max-width: 400px;
        }
        .brand-selection {
            flex-direction: column;
            gap: 1rem;
        }
        .brand-card {
            width: 100%;
            max-width: 250px; 
            margin: 0 auto; 
        }
        
        /* Navbar Móvil */
        .navbar { padding: 0.8rem 1rem; }
        .nav-links {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.9);
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            transition: transform 0.3s ease-in-out;
            transform: translateX(100%);
        }
        .nav-links.active {
            transform: translateX(0);
        }
        .nav-links.active a {
            color: var(--white-color) !important;
        }
        .nav-links.active + .menu-toggle .bar {
            background-color: var(--white-color) !important;
        }
        .menu-toggle {
            display: flex;
        }
        .hero-section {
            height: 60vh; 
        }

        /* Timeline Móvil */
        .timeline::after {
            left: 21px; 
        }
        .timeline-item {
            width: 100%;
            padding-left: 50px;
            padding-right: 15px;
            left: 0 !important; 
        }
        .timeline-item:nth-child(even) {
            left: 0;
        }
        .timeline-dot {
            left: 14px; 
            right: auto;
        }

        /* Grids Móvil */
        .contact-grid {
            grid-template-columns: 1fr;
        }
        .map-iframe iframe {
            height: 300px; 
        }
        .vacancies-grid {
            grid-template-columns: 1fr;
        }

        /* Footer Móvil */
        .footer-content {
            flex-direction: column;
            gap: 0.8rem;
        }
    }
    /* ... Tus estilos existentes ... */

    /* ========================================================= */
    /* 6.1. Estilos Específicos para Aliados/Cards (Mejoras) */
    /* ========================================================= */

    .aliado-card {
        /* Hacemos que la tarjeta parezca un botón interactivo */
        cursor: pointer; 
    }


    /* ========================================================= */
    /* 11. Estilos del Modal de Productos (NUEVO) */
    /* ========================================================= */

    /* Fondo oscurecido del modal */
    .modal {
        display: none; /* Oculto por defecto */
        position: fixed; /* Posición fija para cubrir toda la ventana */
        z-index: 1050; /* Por encima de todo */
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto; /* Habilitar scroll si el contenido es muy largo */
        background-color: rgba(0,0,0,0.6); /* Fondo semi-transparente */
        backdrop-filter: blur(3px); /* Efecto blur para un toque moderno */
    }

    /* Contenido del modal */
    .modal-content {
        background-color: var(--white-color);
        margin: 10% auto; /* Centrado vertical y horizontalmente */
        padding: 30px;
        border-radius: 10px;
        width: 90%; /* Ancho en móviles */
        max-width: 500px; /* Ancho máximo en escritorio */
        position: relative;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
        border-top: 5px solid var(--primary-color); /* El color se cambia por JS */
        animation: zoomIn 0.3s ease-out;
    }

    /* Animación de entrada */
    @keyframes zoomIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Botón de cierre */
    .close-button {
        color: var(--gray-text);
        float: right;
        font-size: 28px;
        font-weight: bold;
        transition: color 0.3s ease;
    }

    .close-button:hover,
    .close-button:focus {
        color: var(--secondary-color);
        text-decoration: none;
        cursor: pointer;
    }

    /* Estilos internos del modal */
    #modal-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        color: var(--primary-color); /* Se actualiza con el color de la marca en JS */
    }

    .modal-description {
        font-size: 0.95rem;
        color: var(--gray-text);
        margin-bottom: 20px;
        border-bottom: 1px dashed #ddd;
        padding-bottom: 15px;
    }

    .product-list {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columnas para mejor uso del espacio */
        gap: 10px;
    }

    .product-list li {
        font-size: 1rem;
        padding: 5px 0;
        color: var(--dark-color);
    }

    .product-list li i {
        color: #28a745; /* Verde para el check */
        margin-right: 8px;
    }

    #modal-cta {
        margin: 20px auto 0 auto;
        width: 90%;
        text-align: center;
    }

    /* Media Query para móvil */
    @media (max-width: 600px) {
        .modal-content {
            margin: 5% auto;
            padding: 20px;
        }
        .product-list {
            grid-template-columns: 1fr; /* 1 columna en móvil */
        }
    }
    /* Estilos necesarios para los botones flotantes */

    /* Contenedor de botones fijos */
    .fixed-contact-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }

    /* Estilo base de los botones fijos (Call y WhatsApp) */
    .call-fixed, .whatsapp-fixed {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }

    /* Colores específicos */
    .call-fixed {
        background-color: #3498db; /* Azul */
    }
    .whatsapp-fixed {
        background-color: #25D366; /* Verde WhatsApp */
    }

    .call-fixed:hover, .whatsapp-fixed:hover {
        transform: scale(1.1);
    }

    /* Botón Volver Arriba */
    #back-to-top {
        position: fixed;
        bottom: 80px; /* Separado del botón de WhatsApp */
        right: 20px;
        background-color: #333; /* Color oscuro */
        color: white;
        border: none;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        font-size: 20px;
        cursor: pointer;
        display: none; /* Inicialmente oculto, JS lo muestra */
        opacity: 0.8;
        z-index: 999;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: opacity 0.3s, background-color 0.3s;
    }

    #back-to-top:hover {
        opacity: 1;
        background-color: var(--primary-color, #f39c12); /* Usar el color primario si está definido */
    }
    .hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    }

    .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }

    .hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    }

    .hero-slider .slide.active {
    opacity: 1;
    }

    .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    }

    .hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
    }
    
.mascota-container {
    position: fixed;
    bottom: 10px;
    right: -10px;        /* lo pega más a la derecha — puedes usar -10px si quieres más */
    display: flex;
    flex-direction: column;
    align-items: flex-end;   /* todo alineado a la derecha */
    z-index: 9999;
}

/* Imagen del pingüino */
.mascota-img {
    width: 150px;
    animation: bounce 2s infinite ease-in-out;
}

/* Burbuja alta y angosta */
.mascota-bubble {
    background: #4b83fa;
    color: white;
    padding: 12px;
    width: 100px;             /* burbuja angosta */
    min-height: 100px;        /* burbuja alta */
    border-radius: 15px;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    position: relative;
    animation: fadeIn 1s ease-in-out;
}

/* Triangulito apuntando al pingüino */
.mascota-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 15px;            /* ajusta la punta según la posición exacta del pingüino */
    width: 0;
    height: 0;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #4b83fa transparent transparent transparent;
}

/* Animaciones */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}


/* Para el texto de información de productos */
.products-info-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333; /* Ajusta el color si es necesario */
}

/* Para la línea separadora en la sección Aliados */
.cta-separator {
    margin: 40px auto;
    width: 50%;
    border-top: 1px solid #ddd;
}

/* Para el encabezado CTA en la sección Aliados */
.cta-heading {
    font-size: 1.5rem;
    color: var(--primary-color); /* Asegúrate de que --primary-color esté definido */
}