        /* VARIABLES DE COLOR */
        :root {
            --verde-sigaa: #1B813E;
            --verde-oscuro: #145c2c;
            --blanco: #ffffff;
            --gris-fondo: #f8f9fa;
            --texto: #333;
            --transicion: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Segoe UI', Roboto, sans-serif; 
            line-height: 1.6; 
            color: var(--texto); 
            background-color: var(--blanco);
            overflow-x: hidden;
        }

        /* NAVEGACIÓN ANIMADA */
        nav { 
            background: rgba(27, 129, 62, 0.95); 
            backdrop-filter: blur(10px);
            padding: 1rem 5%; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            position: fixed; 
            width: 100%;
            top: 0; 
            z-index: 1000; 
            transition: var(--transicion);
        }

        nav .logo { color: white; font-weight: bold; font-size: 1.4rem; letter-spacing: 1px; }
        nav ul { display: flex; list-style: none; gap: 25px; }
        nav ul a { color: white; text-decoration: none; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
        nav ul a:hover { color: #82e0aa; }

        /* EFECTO PARALLAX EN HERO */
        .parallax-hero {
            height: 100vh;
            background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/home.png'); /* REEMPLAZAR CON TU IMAGEN */
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding: 0 10%;
        }

        .hero-content h1 { 
            font-size: 3.5rem; 
            margin-bottom: 20px; 
            animation: fadeInUp 1s ease-out;
        }

        .hero-content p { 
            font-size: 1.4rem; 
            max-width: 700px; 
            margin: 0 auto 30px;
            animation: fadeInUp 1.2s ease-out;
        }

        /* SECCIÓN APP */

         /* SECCIÓN APP CON CARRUSEL */
        .app-section { padding: 100px 10%; background: var(--gris-fondo); }
        .app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

        /* DISEÑO DEL CARRUSEL (SMARTPHONE MOCKUP) */
        .phone-mockup {
            position: relative;
            width: 280px; /* Ancho fijo para mantener forma de celular */
            height: 580px; /* Alto fijo para mantener forma de celular */
            margin: 0 auto 30px; /* Centrado horizontal */
            border: 12px solid #222;
            border-radius: 35px;
            overflow: hidden;
            background: #000; /* Fondo negro por si la imagen no carga */
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }

        .carousel {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-item {
            position: absolute;
            top: 0;
            left: 0; /* IMPORTANTE: Esto quita el desplazamiento que se ve en tu imagen */
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            object-fit: cover; /* Hace que la imagen llene el espacio sin deformarse */
            display: block;
        }

        .carousel-item.active {
            opacity: 1;
        }

        /* AJUSTES PARA PANTALLAS DE CELULAR MUY PEQUEÑAS */
        @media (max-width: 480px) {
            .phone-mockup {
                width: 240px; /* Un poco más pequeño en celulares mini */
                height: 500px;
                border-width: 8px;
            }
            
            .hero-content h1 {
                font-size: 2rem;
            }

            .app-grid {
                display: flex;
                flex-direction: column; /* Asegura que el celular vaya arriba y el texto abajo */
                gap: 20px;
            }
        }

        /* FEATURES GRID */
        .features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .feature-card { 
            background: white; padding: 20px; border-radius: 12px; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); opacity: 0; transform: translateY(20px); 
        }
        .feature-card.visible { opacity: 1; transform: translateY(0); transition: 0.6s; }
        .feature-card h4 { color: var(--verde-sigaa); margin-bottom: 5px; }

        /* SECCIÓN DESCARGAS (ESTILO APP STORE) */
        .downloads-section { padding: 80px 10%; background: white; }
        .download-item { 
            display: flex; align-items: center; padding: 20px 0; border-bottom: 1px solid #eee; 
        }
        .item-number { font-size: 1.5rem; font-weight: bold; color: #ddd; width: 50px; }
        .item-info { flex: 1; }
        .btn-download { 
            padding: 8px 20px; border: 2px solid var(--verde-sigaa); color: var(--verde-sigaa);
            text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.3s;
        }
        .btn-download:hover { background: var(--verde-sigaa); color: white; }

        .app-section { padding: 100px 10%; background: var(--gris-fondo); }
        .section-title { text-align: center; margin-bottom: 60px; }
        .section-title h2 { font-size: 2.5rem; color: var(--verde-sigaa); position: relative; display: inline-block; padding-bottom: 10px; }
        .section-title h2::after { content: ''; width: 60px; height: 4px; background: var(--verde-sigaa); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

        .app-grid { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 50px; 
            align-items: center; 
        }

        .app-mockup img { 
            max-width: 320px; 
            border-radius: 40px; 
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
            transition: var(--transicion);
        }
        .app-mockup img:hover { transform: scale(1.05) rotate(-2deg); }

        .features-list { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 20px; 
        }

        .feature-card { 
            background: white; 
            padding: 25px; 
            border-radius: 15px; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: var(--transicion);
            opacity: 0; /* Para la animación de scroll */
            transform: translateY(30px);
        }

        .feature-card.visible { opacity: 1; transform: translateY(0); }
        .feature-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--verde-sigaa); }
        .feature-card h4 { color: var(--verde-sigaa); margin-bottom: 10px; }

        /* SECCIÓN QUIENES SOMOS (PARALLAX SUAVE) */
        .about-section { 
            padding: 100px 10%; 
            background: white; 
            text-align: center;
        }
        .about-box {
            max-width: 900px;
            margin: 0 auto;
            padding: 50px;
            border: 1px solid #eee;
            border-radius: 20px;
            background: #fff;
        }

        /* BOTONES */
        .btn { 
            display: inline-block; 
            padding: 15px 35px; 
            background: var(--verde-sigaa); 
            color: white; 
            text-decoration: none; 
            border-radius: 50px; 
            font-weight: bold; 
            transition: var(--transicion);
            box-shadow: 0 10px 20px rgba(27, 129, 62, 0.3);
        }
        .btn:hover { background: var(--verde-oscuro); transform: scale(1.1); }

        /* ANIMACIONES KEYFRAMES */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* RESPONSIVO */
        @media (max-width: 900px) {
            .app-grid { grid-template-columns: 1fr; text-align: center; }
            .features-list { grid-template-columns: 1fr; }
            .hero-content h1 { font-size: 2.2rem; }
            nav ul { display: none; } /* Ocultar menú en móvil para simplificar */
        }
/* ESTILOS ESPECÍFICOS PARA LA LISTA DE DESCARGAS */
    .downloads-section {
        padding: 80px 10%;
        background-color: #fff;
    }

    .downloads-list {
        max-width: 900px;
        margin: 0 auto;
    }

    .download-item {
        display: flex;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        transition: var(--transicion);
    }

    .download-item:hover {
        background-color: #f9f9f9;
        padding-left: 10px;
    }

    .item-number {
        font-size: 1.5rem;
        font-weight: bold;
        color: #ccc;
        width: 60px;
    }

    .item-info {
        flex: 1;
    }

    .item-info h3 {
        color: var(--verde-sigaa);
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .item-info p {
        color: #666;
        font-size: 0.95rem;
    }

    .item-action {
        margin-left: 20px;
    }

    .btn-download {
        display: inline-block;
        padding: 10px 20px;
        background-color: transparent;
        color: var(--verde-sigaa);
        border: 2px solid var(--verde-sigaa);
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        font-size: 0.85rem;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    .btn-download:hover {
        background-color: var(--verde-sigaa);
        color: white;
    }

    /* Ajuste para móviles */
    @media (max-width: 600px) {
        .download-item {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }
        .item-action {
            margin-left: 0;
            width: 100%;
        }
        .btn-download {
            display: block;
        }
    }