body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #1A1A1A;
    line-height: 1.6;
    background-color: #F4F4F4;
}

header {
    background-color: #e8e4db;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links a {
    text-decoration: none;
    color: #1A1A1A;
    font-family: 'Inkia', Open Sans;
    padding: 8px 0;
}

.btn-register {
    background-color: #1F3C88;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inkia';
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1A1A1A;
    font-family: 'Inkia';
}

/* Contenedor principal (hero-blue) */
.hero-blue {
    position: relative;
    width: 95%;
    max-width: 1200px;
    margin: 16px auto;
    padding: 24px 16px;
    height: 400px; /* Altura fija para el contenedor */
    background: linear-gradient(135deg, #1F3C88 0%, #2A5298 100%);
    color: white;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Contenido de texto y botón (columna izquierda) */
.hero-blue-content {
    float: left; /* Mueve el contenido a la izquierda */
    width: 50%; /* Ocupa la mitad del espacio */
    padding-right: 20px;
    text-align: left;
    z-index: 2;
    font-family: 'Open Sans';
}

.hero-blue-content h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
}

.hero-blue-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
}

/* Contenedor de las imágenes (columna derecha) */
.hero-images-container {
    float: right; /* Mueve el contenedor de imágenes a la derecha */
    position: relative;
    width: 50%; /* Ocupa la otra mitad del espacio */
    height: 100%;
}

/* Estilos para todas las imágenes */
.hero-image {
    position: absolute;
    width: 210px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Posicionamiento para crear el triángulo a la derecha */
.image-1 {
    top: 18%;
    right: 14.5%;
}

.image-2 {
    bottom: 20%;
    right: 26%;
}

.image-3 {
    bottom: 20%;
    right: 3%;
}

/* El botón, con el color de tu Style Guide */
.btn-primary {
    background-color: #A3D55B;
    color: #1A1A1A;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

/* Esta regla es esencial para que el contenedor padre (hero-blue) 
   envuelva a los elementos flotantes y no colapse. */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.trust {
    /* El contenedor principal se centra con 'margin: auto' */
    width: 95%;
    max-width: 1200px;
    margin: 16px auto;
    padding: 24px 16px;
    
    /* Centra todos los elementos de tipo 'inline' y 'inline-block' */
    text-align: center;
    box-sizing: border-box;
}

.trust-content {
    /* El contenedor de contenido se centra automáticamente con 'margin: auto' */
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.trust-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: #1F3C88;
}

.trust-list {
    list-style: none;
    margin: 16px auto; /* 'margin: auto' para centrar la lista */
    padding: 0;
    
    max-width: 600px;
    text-align: left; /* El texto dentro de los 'li' se alinea a la izquierda */
}

.trust-list li {
    /* Los 'li' se convierten en 'inline-block' para que puedan tener un ancho y centrarse */
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: left;
}

.trust-list li input {
    margin-right: 10px;
    margin-top: 2px;
}

.trust-shapes {
    max-width: 100%;
    margin-bottom: 24px;
    text-align: center;
}

.trust-shapes img {
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    /* Las imágenes, que son 'inline' por defecto, se centran con 'text-align' del padre */
}

.stats {
    display: flex;
    flex-direction: column; /* Por defecto, apila los elementos (diseño móvil) */
    width: 95%;
    max-width: 1200px;
    margin: 16px auto;
    padding: 24px 16px;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

/* Contenedor que agrupa el texto y la imagen */
.stats-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.stats-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    margin-bottom: 12px;
    color: #1F3C88;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.stats-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    text-align: center;
}

.stats-image img {
    /* Convierte la imagen en un elemento de bloque para que los márgenes automáticos funcionen */
    display: block; 
    
    /* Centra la imagen horizontalmente */
    margin: 0 auto;
    
    width: 80%;
    margin-bottom: 24px;
    border-radius: 12px;
}

/* Cuadrícula de estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Cuadrícula de 2x2 */
    gap: 16px;
    margin: 16px 0;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 48px;
    color: #3EAE72; /* Color verde para los números */
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-item p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #555;
}

/* Diseño para computadoras (dos columnas) */
@media (min-width: 768px) {
    .stats {
        flex-direction: row; /* Cambia a un diseño de dos columnas */
        align-items: flex-start;
    }

    .stats-content-wrapper {
        flex: 1;
        text-align: left;
        align-self: center; /* Alinea el texto y la imagen verticalmente */
    }

    .stats-grid {
        flex: 1;
    }
}

.partners, .blog, .testimonials {
    width: 95%;
    max-width: 1200px;
    margin: 16px auto;
    padding: 24px 16px;
    box-sizing: border-box;
}

.partners h2, .blog h2, .testimonials h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    margin-bottom: 16px;
    color: #1F3C88;
    text-align: center;
}

.blog-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
}

.blog-item, .testimonial-item {
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 16px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.partner-logos img {
    max-width: 120px;
    height: auto;
}

footer {
    background-color: #1A1A1A;
    color: white;
    padding: 24px 16px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.social-links img {
    width: 24px;
    height: 24px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #F4F4F4;
    padding: 16px;
}

.login-form {
    background-color: #e8e4db;
    padding: 24px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

.login-form h2 {
    font-family: 'Inkia';
    margin-bottom: 16px;
    color: #1F3C88;
}

.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #B0B0B0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }

    .menu-toggle {
        display: none;
    }

    .hero-blue {
        flex-direction: row;
        padding: 48px 24px;
    }

    .hero-blue-content {
        flex: 1;
        text-align: left;
    }

    .hero-blue-content h1 {
        font-size: 32px;
    }

    .hero-blue-content p {
        font-size: 18px;
    }

    .hero-blue-shapes {
        flex: 1;
        height: 300px;
    }

    .hero-blue-shapes img {
        width: 80px;
        height: 80px;
    }

    .profile {
        width: 120px;
        height: 120px;
        right: 20px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }

    .blog-button-container {
        font-family: 'Inkia';
        display: flex;
        justify-content: center; /* Centra el contenido horizontalmente */
        align-items: center; /* Centra el contenido verticalmente (si el contenedor tiene altura) */
        margin-top: 30px; /* Agrega un poco de espacio superior para separarlo de la cuadrícula del blog */
    }

    .stats {
        flex-direction: row;
        padding: 48px 24px;
    }

    .stats-content {
        flex: 1;
        text-align: left;
    }

    .stats-content h2 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .blog-grid, .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-blue-content h1 {
        font-size: 36px;
    }

    .hero-blue-shapes {
        height: 400px;
    }
}

.social-links {
    /* Esto centra los elementos dentro del contenedor */
    display: flex;
    justify-content: center; 
    align-items: center; 
    
    /* Estas reglas son las que ya tenías y mantienen el espaciado */
    margin: 20px 0;
    flex-wrap: wrap; 
    gap: 20px;
}

.social-links img {
    /* Esto hace que las imágenes sean más grandes */
    width: 50px; 
    height: 50px;
}

.testimonials {
    display: flex;
    flex-direction: column; /* Apila el título y la cuadrícula verticalmente */
    align-items: center;    /* Centra todo el contenido (título y cuadrícula) horizontalmente */
    text-align: center;     /* Centra el texto dentro de los elementos */
    padding: 40px 0;
}

.blog {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centra todo el contenido (título y cuadrícula) horizontalmente */
    text-align: center;     /* Centra el texto dentro de los elementos */
    padding: 40px 0;
}