@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Roboto', sans-serif; 
}

*,
*::before,
*::after {
    margin: 0; 
    padding: 0; /* Elimina relleno por defecto */
    box-sizing: border-box; 
}

/* Ajustes generales del html */
html {
    width: 100%; /* Ocupa todo el ancho de la ventana */
    min-height: 100%; /* Altura mínima igual al 100% */
    scroll-behavior: smooth; /* Desplazamiento suave al navegar */
}

/* Ajustes generales del body */
body {
    width: 100%; /* Ocupa todo el ancho */
    min-height: 100vh; /* Altura mínima igual a la ventana */
    overflow-x: hidden; /* Oculta el scroll horizontal */
}

/* Hace que imágenes, videos e iframes sean responsive */
img,
video,
iframe {
    max-width: 100%; /* No exceden el ancho del contenedor */
    height: auto; /* Mantienen proporción */
    display: block; /* Se muestran como bloques */
}

/* Contenedores principales para centrar contenido y limitar ancho */
.container,
.contenedor {
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: 1200px; /* Limita el ancho máximo */
    margin: 0 auto; /* Centra horizontalmente */
    padding-left: 1rem; /* Espaciado interno izquierdo */
    padding-right: 1rem; /* Espaciado interno derecho */
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
        max-width: 1200px;
        margin: auto;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
}

.logo {
        height: 50px;
}

nav {
        display: flex;
        gap: 2rem;
}

nav a {
        text-decoration: none;
        color: black;
        font-weight: 300;
}

/* Responsive Header */
@media (max-width: 900px) {
    header .container {
        flex-direction: row;
        align-items: center;
        gap: 1.2rem;
        padding: 0.5rem 2vw;
        justify-content: flex-start;
        }
        .logo {
        height: 40px;
        width: auto;
        margin-right: 1.2rem;
        }
        nav {
        flex-direction: row;
        gap: 1.2rem;
        align-items: center;
        }
        nav a {
        font-size: 1.15rem;
        padding: 0.4rem 0;
        }
        .header-row {
        display: none;
        }
    }

    @media (max-width: 600px) {
        header .container {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
        padding: 0.3rem 1vw;
        justify-content: flex-start;
        }
        .logo {
        height: 32px;
        width: auto;
        margin-right: 1rem;
        }
        nav {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
        }
        nav a {
        font-size: 1.05rem;
        padding: 0.35rem 0;
        }
        .header-row {
        display: none;
        }
    }

    /* Hero */
    .hero {
        background: linear-gradient(rgba(74, 0, 115, 0.45), rgba(74, 0, 115, 0.45)), 
                    url('imagenes/imagen\ \(2\).jpg') no-repeat center center/cover;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 5vw;
        width: 100%;
    }

    .contenido {
        max-width: 850px;
        width: 100%;
        text-align: left;
        color: #fff;
        padding: 2rem 1rem;
        box-sizing: border-box;
        margin-left: 0;
    }

    .contenido h1 {
        font-size: 4rem;
        font-weight: 300;
        line-height: 1.1;
    }

    .contenido h1 .bold {
        font-weight: 500;
    }

    .contenido p {
        margin-top: 1rem;
        font-size: 2rem;
        font-weight: 250;
        line-height: 1.4;
    }

    .btn {
        display: inline-block;
        margin-top: 2rem;
        background-color: #4B2A9B;
        color: #fff;
        font-weight: bold;
        padding: 0.75rem 1.5rem;
        border-radius: 20px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        font-size: 2rem;
        cursor: pointer;
    }

    .btn:hover {
        background-color: #fff;
        color: #3a2483;
        border: 2px solid #3a2483;
    }

    /* Responsive Hero */
    @media (max-width: 900px) {
        .hero {
            min-height: 70vh;
            padding-left: 3vw;
        }
        .contenido {
            max-width: 95vw;
            padding: 1.5rem 0.5rem;
            margin-top: 3rem; /* Añade margen superior para centrar respecto a la imagen */
        }
        .contenido h1 {
            font-size: 2.5rem;
        }
        .contenido p {
            font-size: 1.5rem; /* Letra más grande */
        }
        .btn {
            font-size: 1.4rem;
            padding: 0.8rem 1.6rem;
        }
    }

    @media (max-width: 600px) {
        .hero {
            min-height: 60vh;
            padding-left: 0;
            justify-content: center;
            text-align: center;
        }
        .contenido {
            padding: 1rem 0.2rem;
            text-align: center;
            margin-top: 2rem; /* Añade margen superior para centrar respecto a la imagen */
        }
        .contenido h1 {
            font-size: 1.6rem;
        }
        .contenido p {
            font-size: 1.15rem; /* Letra más grande */
        }
        .btn {
            font-size: 1.15rem;
            padding: 0.65rem 1.3rem;
        }
    }

    .videos-dobles {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Alinea las tarjetas arriba */
        gap: 2rem;
        padding: 2rem;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .video-card {
        width: 500px;
        height: 600px;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Justifica el contenido a la izquierda */
        text-align: left;        /* Texto alineado a la izquierda */
        box-sizing: border-box;
    }

    .video-card h3 {
        color: #3f2a92;
        font-size: 1.7rem; /* Agrandado */
        font-weight: 500;
        margin-bottom: 1rem;
        text-align: left;        /* Alinea el texto a la izquierda */
        width: 100%;             /* Ocupa todo el ancho para alinear igual */
        min-height: 3.5em;       /* Fuerza altura mínima igual para todos los títulos */
        display: flex;
        align-items: flex-end;   /* Alinea el texto abajo si es de menos líneas */
        font-size: 2rem;         /* Agranda la letra del título */
        margin-bottom: 2rem;     /* Separa los títulos de las imágenes */
        }

        .video-link {
        position: relative;
        display: flex;           /* Flex para alinear imagen */
        align-items: center;     /* Centra verticalmente la imagen */
        justify-content: center; /* Centra horizontalmente la imagen */
        height: 600px;
        aspect-ratio: 16 / 9;    /* Relación más moderna para videos */
        overflow: hidden;
        border-radius: 12px;
        background: #eee;
        margin-bottom: 2.5rem;   /* Separa las imágenes del texto siguiente */
        }

        .video-link img {
        width: 100%;
        height: 600px;
        max-height:400px;
        object-fit: cover;
        display: block;
        }



    .bloque-importante {
        display: flex;
        flex-wrap: wrap;
        width: 100vw;
        min-height: 400px;
        margin-left: 50%;
        transform: translateX(-50%);
        background: #3f2a92;
        color: #fff;
        position: relative;
        padding: 0;
    }

    .bloque-importante .contenido-imp {
        flex: 1 1 50%;
        padding: 60px 40px;
        background: #3f2a92;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        width: 50%;
        margin: 0;
        box-sizing: border-box;
        position: relative;
        left: 0;
        transform: none;
        z-index: 2;
        padding-left: 5vw; /* Igual que el Hero */
    }

    .bloque-importante .contenido-imp h2{
        font-size: 4rem;
        font-weight: 200;
        margin-bottom: 20px;
        width: 50vw;
        margin-left: 0; /* Elimina margen para usar solo padding */
    }

    .bloque-importante .contenido-imp h3{
        font-size: 3rem;
        font-weight: 400;
        margin-bottom: 20px;
        width: 50vw;
        margin-left: 0;
    }

    .bloque-importante .contenido-imp p {
        margin-bottom: 15px;
        line-height: 1.6;
        font-size: 1.6rem;
        width: 50vw;
        font-weight: 200;
        margin-left: 0;
    }

    .bloque-importante .contenido-imp p strong{
        margin-bottom: 15px;
        line-height: 1.6;
        font-size: 2rem;
        width: 50vw;
        font-weight: 500;
        margin-left: 0;
    }

    .bloque-importante .imagen {
        flex: 1 1 50%;
        width: 50%;
        max-width: 50vw;
        min-width: 0;
        min-height: 400px;
        position: relative;
        left: 0;
        transform: none;
        overflow: hidden;
        margin: 0;
        z-index: 1;
        display: flex;
        align-items: stretch;
    }

    .bloque-importante .imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .bloque-importante .imagen .degradado {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #3f2a92 20%, transparent 100%);
        z-index: 2;
        pointer-events: none;
    }

    .bloque-importante .btn {
        display: inline-block;
        margin-top: 2rem;
        background-color: #fff;
        color: #3a2483;
        font-weight: bold;
        padding: 0.75rem 1.5rem;
        border-radius: 20px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        font-size: 2rem;
        cursor: pointer;
        border: 2px solid #7b5cdf;
    }

    .bloque-importante .btn:hover {
        background-color: #7b5cdf;
        color: #fff;
        border: 2px solid #ffffff;
    }

    /* Responsive styles */
    @media (max-width: 1100px) {
        .bloque-importante .contenido-imp,
        .bloque-importante .contenido-imp h2,
        .bloque-importante .contenido-imp h3,
        .bloque-importante .contenido-imp p,
        .bloque-importante .contenido-imp p strong {
            width: 90vw;
            max-width: 100%;
        }
        .bloque-importante .contenido-imp {
            padding: 40px 20px 40px 5vw;
        }
        .bloque-importante .imagen {
            max-width: 90vw;
        }
        .bloque-importante .btn {
            font-size: 2.2rem;
            padding: 1rem 2.2rem;
        }
        .bloque-importante .imagen .degradado {
            background: linear-gradient(to right, #3f2a92 10%, transparent 80%);
        }
    }

    @media (max-width: 900px) {
        .bloque-importante {
            flex-direction: column;
            min-height: unset;
            width: 100vw;
            margin-left: 0;
            transform: none;
        }
        .bloque-importante .contenido-imp,
        .bloque-importante .imagen {
            width: 100%;
            max-width: 100vw;
            min-width: 0;
        }
        .bloque-importante .contenido-imp {
            padding: 30px 5vw;
            align-items: flex-start;
        }
        .bloque-importante .contenido-imp h2,
        .bloque-importante .contenido-imp h3,
        .bloque-importante .contenido-imp p,
        .bloque-importante .contenido-imp p strong {
            width: 100%;
            max-width: 100%;
        }
        .bloque-importante .imagen {
            min-height: 250px;
            height: 250px;
        }
        .bloque-importante .btn {
            font-size: 1.5rem;
            padding: 0.9rem 1.7rem;
        }
        /* Cambia el degradado a arriba en vez de costado y achica el área */
        .bloque-importante .imagen .degradado {
            background: linear-gradient(to bottom, #3f2a92 10%, transparent 70%);
        }
    }

    @media (max-width: 600px) {
        .bloque-importante .contenido-imp {
            padding: 20px 4vw;
            align-items: center;
            text-align: center;
        }
        .bloque-importante .contenido-imp h2 {
            font-size: 2.5rem;
        }
        .bloque-importante .contenido-imp h3 {
            font-size: 1.8rem;
        }
        .bloque-importante .contenido-imp p,
        .bloque-importante .contenido-imp p strong {
            font-size: 1.3rem;
        }
        .bloque-importante .btn {
            font-size: 1.5rem;
            padding: 0.7rem 1.3rem;
        }
        .bloque-importante .imagen {
            min-height: 150px;
            height: 150px;
        }
        /* Asegura el degradado arriba también en móviles y achica el área */
        .bloque-importante .imagen .degradado {
            background: linear-gradient(to bottom, #3f2a92 10%, transparent 60%);
        }
    }
    .bloque-descubrir {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        background-color: transparent;
        margin-bottom: 50px;
        margin-top: -50px;
        box-sizing: border-box;
        margin-left: 5vw;
        width: calc(100% - 20vw);
    }

    .bloque-descubrir .contenedor {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
        max-width: 1100px;
        width: 100%;
        gap: 40px;
        padding: 0;
        background: none;
        border: none;
        padding-left: 0;
        box-shadow: none;
    }

    .bloque-descubrir .texto-descubrir {
        flex: 1 1 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        color: #3f2a92;
        text-align: left;
        margin-left: 0;
        background: none;
    }

    .bloque-descubrir h2 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-weight: 300;
        color: #3f2a92;
        text-align: left;
        margin-left: 0;
    }

    .bloque-descubrir p {
        font-size: 1.2rem;
        margin-bottom: 20px;
        font-weight: 300;
        color: #3f2a92;
        width: 90%;
        max-width: 100%;
        text-align: left;
        margin-left: 0;
    }

    .bloque-descubrir p strong {
        color: #3f2a92;
        font-weight: 400;
        font-size: 1.5rem;
    }

    .bloque-descubrir .preguntas-violeta {
        flex: 1 1 50%;
        margin-left: auto;
        background: #3f2a92;
        border-radius: 24px;
        box-shadow: 0 2px 16px rgba(63,42,146,0.10);
        border: 5px solid #3f2a92;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        padding: 60px 40px;
        gap: 30px 0;
        min-width: 400px;
        max-width: 1000px;
    }

    .preguntas-violeta .pregunta {
        color: #fff;
        padding: 18px 22px;
        border-radius: 14px;
        font-weight: 500;
        width: 1000px;
        max-width: 100%;
        min-width: 400px;
        min-height: 80px;
        height: auto;
        box-shadow: 0 2px 8px rgba(63,42,146,0.08);
        display: flex;
        box-sizing: border-box;
        font-size: 1.5rem;
    }
    /* Responsive styles */
    @media (max-width: 1100px) {
        .bloque-descubrir {
            width: 98vw;
            margin-left: 1vw;
            margin-top: 30px;
        }
        .bloque-descubrir .contenedor {
            gap: 20px;
            max-width: 98vw;
        }
        .bloque-descubrir .preguntas-violeta {
            min-width: 300px;
            padding: 40px 20px;
        }
        .preguntas-violeta .pregunta {
            min-width: 250px;
            font-size: 1.4rem;
            text-align: center;
        }
        .bloque-descubrir h2 {
            font-weight: 600;
            font-size: 2.3rem;
            text-align: center;
        }
        .bloque-descubrir p {
            font-size: 2rem;
            text-align: center;
        }
    }

    @media (max-width: 900px) {
        .bloque-descubrir {
            flex-direction: column;
            width: 100vw;
            margin-left: 0;
            margin-top: 30px;
        }
        .bloque-descubrir .contenedor {
            flex-direction: column;
            gap: 20px;
            max-width: 100vw;
        }
        .bloque-descubrir .texto-descubrir,
        .bloque-descubrir .preguntas-violeta {
            width: 100%;
            max-width: 100vw;
        }
        .bloque-descubrir .preguntas-violeta {
            align-items: center;
            min-width: 0;
            padding: 30px 5vw;
        }
        .preguntas-violeta .pregunta {
            width: 100%;
            min-width: 0;
            font-size: 1.25rem;
            text-align: center;
        }
        .bloque-descubrir h2 {
            font-weight: 600;
            font-size: 2rem;
            text-align: center;
        }
        .bloque-descubrir p {
            font-size: 2rem;
            text-align: center;
        }
    }

    @media (max-width: 600px) {
        .bloque-descubrir {
            width: 100vw;
            margin-left: 0;
            margin-top: 30px;
            margin-bottom: 30px;
        }
        .bloque-descubrir .contenedor {
            flex-direction: column;
            gap: 10px;
            padding: 0 2vw;
        }
        .bloque-descubrir .texto-descubrir {
            align-items: center;
            text-align: center;
        }
        .bloque-descubrir h2 {
            font-size: 1.7rem;
            font-weight: 700;
            text-align: center;
        }
        .bloque-descubrir p {
            font-size: 1.5rem;
            width: 100%;
            text-align: center;
        }
        .bloque-descubrir .preguntas-violeta {
            padding: 15px 2vw;
            border-radius: 14px;
            min-width: 0;
        }
        .preguntas-violeta .pregunta {
            font-size: 1.5rem;
            padding: 10px 8px;
            min-width: 0;
            min-height: 50px;
            text-align: center;
        }
    }
    .bloque-beneficios {
        padding: 60px 20px;
        background-color: #3f2a92;
        color: #ffffff;
    }

    .bloque-beneficios .contenedor {
        max-width: 1100px;
        margin: 0 auto;
        text-align: left;
        margin-left: 1.5vw; /* Igual que el Hero */
        padding: 0 -5px;
        box-sizing: border-box;
        width: 100%;
    }

    .bloque-beneficios h2 {
        font-size: 4rem;
        margin-bottom: 10px;
        font-weight: 250;
    }

    .bloque-beneficios p strong {
        font-size: 2.5rem;
        margin-bottom: 10px;
        font-weight: 500;
        margin-top: 15px;
    }

    .bloque-beneficios p {
        font-size: 1.5rem;
        margin-bottom: 10px;
        font-weight: 300;
        width: 70%;
        margin-top: 15px;
    }

    .beneficios-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
        justify-items: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        padding-left: 15vw; /* Agrega separación visual desde la izquierda */
    }

    .beneficio {
        background-color: #ffffff15;
        border-radius: 10px;
        overflow: hidden;
        color: #ffffff;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transition: transform 0.2s;
        border: 3px solid #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 500px;
        min-width: 220px;
        height: 250px;
        min-height: 180px;
        position: relative;
    }

    .beneficio img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0.5;
        background: #3f2a92;
        z-index: 1;
        pointer-events: none;
    }

    .beneficio .beneficio-texto {
        z-index: 2;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: linear-gradient(0deg, rgba(63,42,146,0.7) 0%, rgba(63,42,146,0.3) 60%);
        color: #fff;
        pointer-events: none; 
    }

    .beneficio p {
        padding: 0 15px;
        font-size: 1.5rem;
        margin: 0;
        color: #fff;
        font-weight: 400;
        z-index: 3;
    }

    /* Responsive styles */
    @media (max-width: 1100px) {
        .bloque-beneficios h2 {
           font-size: 2.8rem;
        }
        .bloque-beneficios p strong {
           font-size: 2rem;
        }
        .bloque-beneficios p {
           font-size: 1.8rem;
           width: 90%;
        }
        .beneficios-grid {
           padding-left: 5vw;
           gap: 15px;
        }
        .beneficio {
           max-width: 400px;
           height: 200px;
        }
        .beneficio p {
           font-size: 1.8rem;
        }
    }

    @media (max-width: 900px) {
        .beneficios-grid {
           grid-template-columns: 1fr;
           width: 100%;
           padding-left: 0;
           gap: 15px;
        }
        .bloque-beneficios .contenedor {
           margin-left: 0;
           padding: 0 2vw;
        }
        .beneficio {
           max-width: 95vw;
           min-width: 0;
           height: 180px;
        }
        .beneficio p {
           font-size: 1.4rem;
        }
    }

    @media (max-width: 600px) {
        .bloque-beneficios {
           padding: 30px 5px;
        }
        .bloque-beneficios h2 {
           font-size: 1.7rem;
        }
        .bloque-beneficios p strong {
           font-size: 1.25rem;
        }
        .bloque-beneficios p {
           font-size: 1.3rem;
           width: 100%;
        }
        .beneficios-grid {
           gap: 10px;
           margin-top: 15px;
        }
        .beneficio {
           min-width: 0;
           max-width: 100vw;
           height: 120px;
           min-height: 90px;
           padding: 0;
        }
        .beneficio .beneficio-texto {
           padding: 10px;
        }
        .beneficio p {
           font-size: 1.3rem;
           padding: 0 5px;
        }
    }
    .imagen-sonrisa {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .imagen-sonrisa img {
        width: 100%;
        height: auto;
        display: block;
    }

    .degradado-superior {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 300px;
        background: linear-gradient(to bottom, #3f2a92 20%, transparent 100%);
        z-index: 2;
        pointer-events: none;
    }

    .degradado-inferior {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 300px;
        background: linear-gradient(to top, #fff 20%, transparent 100%);
        z-index: 2;
        pointer-events: none;
    }

    /* Responsive styles */
    @media (max-width: 900px) {
        .degradado-superior,
        .degradado-inferior {
            height: 180px;
        }
    }

    @media (max-width: 600px) {
        .degradado-superior,
        .degradado-inferior {
            height: 90px;
        }
    }

    .seccion-kalulu {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem 1rem;
        text-align: left;
        margin-left: 5vw; /* Igual que el Hero */
        padding: 0 5px;
    }

    .seccion-kalulu h2 {
        font-size: 4rem;
        color: #3f2a92;
        margin-bottom: 1rem;
        font-weight: 500;
        text-align: left;
    }

    .seccion-kalulu .destacado {
        background-color: #3f2a92;
        color: #fff;
        font-weight: bold;
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        margin-bottom: 1.5rem;
        font-size: 2rem;
        width: fit-content;
        text-align: left;
    }

    .seccion-kalulu p {
        color: #3f2a92;
        line-height: 1.6;
        margin: 0.8rem 0;
        font-size: 1.8rem;
        font-weight: 300;
        width: 80%;
        text-align: left;
    }

    .seccion-kalulu .materiales {
        color: #3f2a92;
        font-weight: bold;
        margin-top: 3rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;  
        width: 135%;
        box-sizing: border-box;
    }

    .btn-inscripcion {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #3f2a92;
        color: white;
        padding: 1.2rem 2.5rem;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s;
        text-align: center;
        width: max-content;
        font-size: 1.5rem;
        align-self: center;
        margin-left: 33vw;
    }

    .btn-inscripcion:hover {
        background-color: #2c1e6c;
    }

    /* Responsive styles */
    @media (max-width: 1100px) {
        .seccion-kalulu {
            max-width: 98vw;
            margin-left: 2vw;
            padding: 0 2vw;
            margin-top: 2rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .seccion-kalulu h2 {
            font-size: 2.8rem;
            text-align: center;
            width: 100%;
        }
        .seccion-kalulu p {
            font-size: 1.35rem;
            width: 95%;
            margin-top: 1.2rem;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .seccion-kalulu .destacado {
            font-size: 1.5rem;
            margin-top: 1.2rem;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .seccion-kalulu .materiales {
            width: 100%;
            margin-top: 2rem;
            justify-content: center;
            align-items: center;
            display: flex;
            flex-direction: column;
        }
        .btn-inscripcion {
            font-size: 1.25rem;
            padding: 1rem 1.7rem;
            margin-left: 0;
            margin-top: 1.2rem;
            align-self: center;
        }
    }

    @media (max-width: 900px) {
        .seccion-kalulu {
            max-width: 100vw;
            margin-left: 0;
            padding: 0 2vw;
            margin-top: 2rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .seccion-kalulu h2 {
            font-size: 3rem;
            text-align: center;
            width: 100%;
        }
        .seccion-kalulu p {
            font-size: 1.5rem;
            width: 100%;
            margin-top: 1.2rem;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .seccion-kalulu .destacado {
            font-size: 1.7rem;
            margin-top: 1.2rem;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .seccion-kalulu .materiales {
            width: 100%;
            flex-direction: column;
            align-items: center;
            margin-top: 2rem;
            justify-content: center;
            display: flex;
        }
        .btn-inscripcion {
            font-size: 1.5rem;
            padding: 0.9rem 1.2rem;
            margin-left: 0;
            margin-top: 1.2rem;
            align-self: center;
        }
    }

    @media (max-width: 600px) {
        .seccion-kalulu {
            max-width: 100vw;
            margin-left: 0;
            padding: 0 2vw;
            margin-top: 2rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .seccion-kalulu h2 {
            font-size: 3rem;
            text-align: center;
            width: 100%;
        }
        .seccion-kalulu p {
            font-size: 1.5rem;
            width: 100%;
            margin-top: 1.2rem;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .seccion-kalulu .destacado {
            font-size: 1.7rem;
            margin-top: 1.2rem;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .seccion-kalulu .materiales {
            width: 100%;
            flex-direction: column;
            align-items: center;
            margin-top: 2rem;
            justify-content: center;
            display: flex;
        }
        .btn-inscripcion {
            font-size: 1.5rem;
            padding: 0.9rem 1.2rem;
            margin-left: 0;
            margin-top: 1.2rem;
            align-self: center;
        }
    }

.separador {
    margin: 45px auto 30px auto;
    width: 80%;
    border: none;
    border-top: 3px solid #3f2a92;
    max-width: 400px;
    display: block;
}

.mensaje {
    margin-bottom: 100px;
}

.mensaje strong {
    font-weight: bold;
}

.destacado {
    margin: 0.5rem auto;
    font-size: 3rem;
    color: #3f2a92;
    font-weight: 300;
    text-align: center;
    width: 950px;
    max-width: 100%;
    display: block;
}

.texto {
    margin-top: 1.5rem;
    color: #3f2a92;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 1100px) {
    .destacado {
        font-size: 2rem;
        width: 90vw;
    }
    .texto {
        font-size: 2rem;
    }
    .separador {
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .destacado {
        font-size: 1.8rem;
        width: 100vw;
    }
    .texto {
        font-size: 2rem;
    }
    .separador {
        max-width: 150px;
    }
    .mensaje {
        margin-bottom: 40px;
    }
}

.seccion-juego {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #3f2a92;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.seccion-juego .contenido-texto {
    flex: 1 1 500px;
    max-width: 1000px;
    text-align: left;
    margin-left: 50px;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.seccion-juego h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.seccion-juego p {
    margin: 0.5rem 0;
    font-size: 2rem;
}

.seccion-juego p strong {
    margin: 0.5rem 0;
    font-size: 2rem;
}

.seccion-juego .btn-juego {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background-color: #fff;
    color: #3f2a92;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 2rem;
}

.seccion-juego .btn-juego:hover {
    background-color: #ddd;
}

.seccion-juego .imagen-juego {
    position: relative;
    flex: 1 1 50%;
    min-height: 400px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
}

.seccion-juego .imagen-juego img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.seccion-juego .imagen-juego .degradado{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #3f2a92 0%, transparent 20%);
    z-index: 2;
    pointer-events: none;
}


.seccion-juego .imagen-juego .degradado-2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #3f2a92 0%, transparent 20%);
    z-index: 2;
    pointer-events: none;
}


/* Responsive styles */
@media (max-width: 900px) {
    .seccion-juego {
        flex-direction: column;
        align-items: stretch;
    }
    .seccion-juego .contenido-texto {
        margin-left: 0;
        padding: 1.5rem 4vw 0.5rem 4vw;
        max-width: 100vw;
        text-align: center;
    }
    .seccion-juego h2 {
        font-size: 2.8rem;
    }
    .seccion-juego p,
    .seccion-juego p strong {
        font-size: 1.9rem;
    }
    .seccion-juego .btn-juego {
        font-size: 1.5rem;
        padding: 1rem 1.7rem;
    }
    .seccion-juego .imagen-juego img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .seccion-juego .imagen-juego .degradado{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #3f2a92 0%, transparent 20%);
        z-index: 2;
        pointer-events: none;
    }
    .seccion-juego .imagen-juego .degradado-2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, #3f2a92 0%, transparent 20%), 
                    linear-gradient(to bottom, #3f2a92 0%, transparent 20%);
        z-index: 2;
        pointer-events: none;
    }
    .seccion-juego .imagen-juego .degradado {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #3f2a92 0%, transparent 40%);
        z-index: 2;
        pointer-events: none;
    }
}

.proximos-eventos {
    background-color: #432894;
    color: white;
    padding: 2rem;
    text-align: left;
}

#eventos-anteriores {
    background-color: white;
    color: #432894;
    padding: 2rem;
    text-align: left;
}

.proximos-eventos h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-left: 30px;
}

.eventos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.evento {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 320px;
    max-width: 500px;
    margin: 0 1rem;
    box-sizing: border-box;
}

.evento img {
    height: 700px;
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    object-fit: contain;
    background-color: #ccc;
    display: block;
    border: #432894 2px solid;
}

.btn-evento {
    display: inline-block;
    background-color: #fff;
    color: #3f2a92;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    font-size: 1.5rem;
    border: 2px solid #7b5cdf;
    cursor: pointer;
    margin-top: 1.2rem;
}

.btn-evento:hover {
    background-color: #7b5cdf;
    color: #fff;
    border: 2px solid #fff;
}

.countdown {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    background: white;
    border-radius: 10px;
    padding: 0.5rem 0;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.countdown div {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.countdown span:first-child {
    font-size: 1.2rem;
    font-weight: bold;
}



/* Responsive styles */
@media (max-width: 1100px) {
    .proximos-eventos {
        padding: 1.5rem 1vw;
    }
    .proximos-eventos h2 {
        font-size: 2.2rem;
        margin-left: 10px;
        margin-bottom: 1.2rem;
    }
    .eventos-grid {
        gap: 2rem;
        max-width: 98vw;
    }
    .evento {
        max-width: 320px;
        min-width: 200px;
        height: auto;
        margin: 0 0.5rem;
    }
    .evento img,
    .flyer-placeholder {
        height: 400px;
        width: 100%;
        object-fit: contain;
        aspect-ratio: 2/3;
        background: #ccc;
    }
}

@media (max-width: 900px) {
    .proximos-eventos {
        padding: 1.2rem 2vw;
        text-align: center;
    }
    .proximos-eventos h2 {
        font-size: 2rem;
        margin-left: 0;
        text-align: center;
    }
    .eventos-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 100vw;
    }
    .evento {
        width: 100%;
        max-width: 95vw;
        height: auto;
        min-width: 0;
        margin: 0 auto;
    }
    .evento img,
    .flyer-placeholder {
        width: 100%;
        max-width: 100vw;
        aspect-ratio: 2/3;
        height: auto;
        object-fit: contain;
        background: #ccc;
    }
    .countdown {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .proximos-eventos {
        padding: 1rem 2vw;
        text-align: center;
    }
    .proximos-eventos h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        margin-left: 0;
        text-align: center;
    }
    .eventos-grid {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    .evento {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        margin: 0 auto;
        padding: 0;
    }
    .evento img,
    .flyer-placeholder {
        width: 90vw;
        max-width: 90vw;
        aspect-ratio: 2/3;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        background: #ccc;
        display: block;
        margin: 0 auto;
    }
    .flyer-placeholder {
        font-size: 0.9rem;
    }
    .countdown {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        border-radius: 7px;
    }
    .countdown div {
        font-size: 0.85rem;
    }
    .countdown span:first-child {
        font-size: 1rem;
    }
}

.seccion-equipo {
    margin-bottom: 2rem;
}       

.seccion-equipo h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-align: left;
    margin-left: 50px; 
    color: #3a2483;
    margin-top: 2rem;
}

.seccion-equipo p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
    margin-left: 50px; 
    color: #4B2A9B;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
    align-items: flex-start;
    justify-items: flex-start;
    margin-left: 3vw;
}

.miembro {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    color: #3a2483;
    justify-content: flex-start;
}

.miembro p {
    font-size: 1rem;
    margin-left: 2px;
}

.avatar {
    width: 70px;
    height: 70px;
    background-color: #d5cfe9;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Responsive styles */
@media (max-width: 900px) {
    .seccion-equipo {
       margin-top: 2.5rem;
    }
    .seccion-equipo h2 {
       font-size: 2.3rem;
       margin-left: 20px;
       text-align: center;
       margin-top: 2rem;
    }
    .seccion-equipo p {
       font-size: 1.35rem;
       margin-left: 20px;
       text-align: center;
       margin-top: 1.2rem;
    }
    .equipo-grid {
       gap: 1.2rem;
       max-width: 98vw;
    }
    .miembro {
       flex-direction: column;
       align-items: center;
       text-align: center;
    }
    .miembro p {
       font-size: 1.15rem;
    }
}

@media (max-width: 600px) {
    .seccion-equipo {
       margin-top: 2rem;
    }
    .seccion-equipo h2 {
       font-size: 1.5rem;
       margin-left: 0;
       text-align: center;
       margin-top: 1.5rem;
    }
    .seccion-equipo p {
       font-size: 1.1rem;
       margin-left: 0;
       text-align: center;
       margin-top: 1rem;
    }
    .equipo-grid {
       grid-template-columns: 1fr;
       gap: 0.7rem;
       max-width: 90vw;
       padding: 0 2vw;
    }
    .miembro {
       flex-direction: column;
       align-items: center;
       text-align: center;
    }
    .avatar {
       width: 55px;
       height: 55px;
    }
    .miembro p {
       font-size: 1rem;
    }
}

.footer {
    background-color: #fff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5); /* Sombra */
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-footer {
    height: 50px;
    width: auto;
    display: block;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #3f2a92;
}

.footer-social a img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
    vertical-align: middle;
}

.footer-social a img:hover {
    opacity: 1;
}

/* Responsive styles for footer */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 10px;
        text-align: center;
    }
    .footer-left {
        margin-bottom: 10px;
        justify-content: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links {
        margin-bottom: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links a {
        margin: 5px 0;
    }
    .footer-social {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 5px;
    }
    .logo-footer {
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .footer {
        padding-top: 20px;
        padding-bottom: 10px;
    }
    .footer-content {
        padding: 0 5px;
        gap: 10px;
        text-align: center;
    }
    .logo-footer {
        height: 35px;
        display: block;
        margin: 0 auto;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    .footer-links a {
        font-size: 0.85rem;
        margin: 5px 0;
    }
    .footer-social {
        justify-content: center;
        margin-top: 5px;
    }
    .footer-social a img {
        width: 22px;
        height: 22px;
        margin-left: 6px;
    }
} 