        :root{
            --verde:#14d8b6;
            --morado: #593ecc;
            --gris: #333238;
            --nav-bg: rgba(20, 20, 30, 0.95); /* Agregué esta variable para el fondo móvil */
            --transition-speed: 0.3s;
        }

        html{
            font-family: "Raleway", sans-serif;
            overflow-y: scroll;
            scroll-snap-type: y mandatory;
            scroll-behavior: smooth;
        }

        body{
            overflow: visible;
        }

        h1, h2{
            font-family: "Sora", sans-serif;
            color: var(--verde);
            font-size: 2rem;
            line-height: 2.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 0.5rem;
            font-weight: bold;
            text-align: left;
        }

        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 80%;
            padding: 3rem 10%;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: transform var(--transition-speed) ease-in-out;
        }

        /* Clase dinámica para ocultar el menú hacia arriba */
        .site-header.hidden-up {
            transform: translateY(-100%);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
        }
        .logo img{
            width: 9rem;
        }

        /* 3. Navegación Desktop */
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: #000;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.2s ease;
            font-weight: 600;
        }

        .nav-links a:hover {
            color: var(--morado);
        }

        /* 4. Botón Menú Móvil (Oculto en Desktop) */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--nav-text);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* 5. Contenido de relleno y Footer */
        .content-placeholder {
            height: 200vh; /* Simulamos contenido largo o tu slider */
            background: linear-gradient(#6C46E4, #3357FF);
            padding-top: 100px;
            color: white;
            text-align: center;
        }

        .site-footer {
            height: auto;
            text-align: center;
            width: 80%;
            padding: 5rem 10% 2.5rem;
            color: #000;
            background-color: #FFF;
            justify-content: center;
            align-items: center;
            font-size: 1.1rem;
            scroll-snap-align: end;
            font-family: "Sora", sans-serif;
            margin-top: 10px;
        }

        .clientes{
            width: 90%;
            margin: 2rem 5% 4rem;
            text-align: center;
        }

        .clientes img{
            width: 140px;
            margin: 0 1rem;
            display: inline-block;
        }

        .btn{
            background-color: var(--verde);
            color: #FFF;
            padding: 10px 18px;
            border-radius: 7px;
            font-weight: bold;
            font-size: 1.5rem;
            width: auto;
            display: inline-block;
            margin-top: 0.5rem;
        }

        .line-verde::after, .line-morada::after, .line-blanca::after {
            background-color: #2cc6a8;
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50%; /* Longitud del subrayado */
            height: 4px;
            background-color: #2cc6a8; /* Color del subrayado */
        }

        .line-morada::after{
            background-color: #7a64d8;
        }

        .line-blanca::after {
            background-color: #FFF;
        }

        .bolder{
            font-weight: bold;
        }

        .resalta{
            color: var(--morado);
            font-size: 2.3rem;
        }

        #bg-layer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: #FFF; /* Color de fondo base de la imagen */
            z-index: -1;
            transition: background-color 1s ease-in-out;
        }

        /* 3. Contenedor con Scroll Snap */
        .slider-container {
            height: auto; 
            overflow-y: visible;
        }

        /* 4. Estilos de cada Slide */
        .slide {
            height: 100vh;
            width: 100%;
            scroll-snap-align: start;
            display: flex;
            justify-content: center; /* Centrado horizontal */
            align-items: center; /* Centrado vertical */
            color: white;
            position: relative;
        }

        /* 5. Estructura del contenido */
        .content-wrapper {
            display: flex;
            align-items: center;
            max-width: 1500px;
        }

        .icon-img {
            width: 40%;
            height: auto;
            margin: 0 auto;
        }

        .icon-img-left, .icon-img-right {
            width: 20%;
            height: auto;
            margin: 0 2.5% 0 7.5%;
        }

        .icon-img-right {
            margin: 0 7.5% 0 2.5%;
        }

        /* Contenedor de textos */
        .text-content {
            text-align: center;
            width: 90%;
            margin: 0 5%;
        }

        .text-content-right, .text-content-left{
            text-align: left;
            width: 57.5%;
            margin: 0 10% 0 2.5%;
        }

        .text-content-left{
            margin: 0 2.5% 0 10%;
        }

        .hero-p{
            color: var(--gris);
            width: 80%;
            margin: 0 10%;
            text-align: center;
            font-size: 1.4rem;
            line-height: 1.7rem;
            text-align: left;
        }

        /* Párrafos de texto */
        p {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            line-height: 1.5;
            opacity: 0.9;
        }

        @media (max-width: 768px) {

            #ball{
            margin-top: -5rem;
            z-index: 9999;
            }

            .site-header{
                background-color: #FFF;
                padding: 1rem 10%;
            }

            .icon-img {
                width: 55%;
            }

            .logo img {
                width: 6rem;
            }

            .menu-toggle {
                display: block; /* Mostramos la hamburguesa */
            }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: #FFF;
                flex-direction: column;
                align-items: center;
                gap: 0;
                /* Ocultamos el menú por defecto en móvil */
                max-height: 0;
                overflow: hidden;
                transition: max-height var(--transition-speed) ease-in-out;
            }

            /* Clase dinámica para abrir el menú móvil */
            .nav-links.active {
                max-height: 300px; /* Suficiente para que quepan los enlaces */
                border-top:1px solid #cdcdcd;
            }

            .nav-links li {
                width: 100%;
                text-align: center;
                background-color: #FFF;
            }

            .nav-links a {
                display: block;
                padding: 1rem;
                border-top: 1px solid rgba(255,255,255,0.1);
            }

            h1, .hero-p{
                text-align: center;
            }

        /* 1. Contenedor Principal: Cambiar a Columna */
            .content-wrapper {
                flex-direction: column; /* Apila los elementos uno sobre otro */
                justify-content: center; /* Centra el contenido verticalmente */
                align-items: flex-start; /* Alinea todo a la IZQUIERDA */
                padding: 120px 20px; /* Agrega espacio a los lados y arriba (para que no choque con el menú) */
                text-align: left; /* Asegura que el texto se lea de izq a der */
            }

            /* 2. Ajuste de los Textos */
            .text-content-right, 
            .text-content-left, 
            .text-content {
                width: 90%; /* Que ocupen todo el ancho disponible */
                padding: 0;  /* Quitamos paddings laterales extraños */
                margin: 0 5%;
                text-align: justify;
            }

            /* 3. Ajuste de los Títulos */
            h2 {
                font-size: 1.3rem;
                line-height: 1.2;
                margin: 10px 2.5% 15px;
                text-align: center;
                width: 95%;
            }

            /* 4. Ajuste de los Párrafos */
            .content-wrapper p {
                font-size: 1rem;
                margin-bottom: 15px; /* Espacio entre párrafos */
            }

            .line-verde::after, .line-morada::after, .line-blanca::after {
                left: 25%;
            }

            /* 5. Ajuste del Átomo y las Imágenes */
            .icon-img-left, 
            .icon-img-right {
                width: 30% !important; /* Hacemos el icono más pequeño */
                display: inline-block;
                margin: 0 auto; /* Margen solo abajo para separarlo del título */
                order: -1; /* TRUCO: Esto obliga a la imagen a ir siempre PRIMERO (arriba), aunque en el HTML esté abajo */
            }
            
            /* 6. Ajuste específico para la diapositiva morada */
            /* Aseguramos que el texto sea blanco si el fondo es oscuro */
            section[data-color="#562ed1"] p,
            section[data-color="#562ed1"] li {
                color: #FFFFFF;
            }
        }
        