* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gris: rgb(50, 50, 50);
    --naranja: #ff8800;
}

h2 {
    text-align: center;
    font-weight: bold;
    padding-bottom: 2rem;
    
}


/* Estilos nav */
.nav {
    background-color: rgb(50, 50, 50);
    color: white;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    height: 2.7rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ff8800;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
    overflow: hidden;
    padding: 6rem 2rem;
    padding-top: 10rem;
}

.hero-content {
    max-width: 50%;
    padding-left: 5rem;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 2.5em;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

.hero-img-pc img, .hero-img-movil img {
    width: auto;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: brightness(80%);
}

.hero-img-pc {
    display: block;
}

.hero-img-movil {
    display: none;
}

.btn-gris {
    background-color: var(--gris);
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 0.5em;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-naranja {
    background-color: var(--naranja);
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 0.5em;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-naranja:hover, .btn-gris:hover, .btn-whatsapp:hover {
    background-color: #e67600;
}

/* Beneficios */
.beneficios {
    background-color: white;
    padding: 3rem 0rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.beneficios-content {
    flex: 1;
    padding-left: 5rem;
    font-size: 1.2rem;
}

.beneficios-content h2 {
    color: var(--gris);
    margin-bottom: 1rem;
    text-align: left;
}
.checklist {
    list-style: none;
    line-height: 2em;
    font-size: 1.1rem;
}

.beneficios img {
    flex: 1;
    max-width: 45%;
    height: auto;
    object-fit: cover;
    align-self: stretch;
    margin-right: 0;
    padding-right: 0;
}

/* Modulos */
.modulo-principal {
    display: flex;
    flex-wrap: wrap;
    min-height: 400px;
}

.modulo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modulo-texto {
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
}

.modulo-header img {
    width: 50px;
    height: auto;
}

.modulo-header h3 {
    color: var(--gris);
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

.modulo-subtitulo {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1rem;
}

.modulo-lista {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modulo-lista li {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.modulo-lista i {
    color: #09061f;
    margin-right: 0.6rem;
}

/* clases para modulos divididos */
.modulo-windows-left {
    flex: 1 1 50%;
    background-color: #cfe8ff;
}

.modulo-windows-left img {
    max-width: 100%;
}

.modulo-windows-right {
    flex: 1 1 50%;
    background-color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3rem;
}

/* Estadisticas */
.estadisticas-container h2 {
    padding-top: 5rem;
    font-weight: bold;
    color: var(--gris);
    font-family: "Poppins", sans-serif;
}

.estadisticas {
    background-color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.5rem;
    text-align: center;
}

.estadistica {
    max-width: 200px;
}

.estadistica img {
    width: 3rem;
    height: auto;
    margin-bottom: 0.5rem;
}

/* Texto estadisticas */
.est-text {
    font-size: 3em;
    font-weight: bold;
}

.est-icon {
    width: 200px;
}

/* Modalidad estilos */
.modalidad {
    padding: 3rem 2rem;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}

.modulo {
    flex: 1 1 150px;
}

.modulo h3 {
    color: var(--gris);
    margin-bottom: 0.5rem;
    font-size: 2.7rem;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

.txt-mod {
    font-size: 1.2rem;
}

.emoji {
    font-size: 2.5em;
}

.precio {
    color: var(--naranja);
    font-weight: bold;
    font-size: 2.3rem;
}

.turno {
    position: relative;
    display: inline-block;
    margin-top: 0.5rem;
}

.banda {
    position: absolute;
    top: -5px;
    right: -40px;
    width: 170px;
    background-color: rgba(220, 20, 60, 0.8);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3rem 1.2rem;
    transform: rotate(5deg);
    transform-origin: center;
    pointer-events: none;
}

/* Certificacion */
.certificacion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 0rem;
    background-color: #f9f9f9;
}
.cert-img img {
    max-width: 100%;
    height: auto;
}
.cert-info {
    flex: 1 1 300px;
    padding-left: 5rem;
    font-size: 1.2rem;
}

.cert-info h2 {
    color: var(--gris);
    margin-bottom: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
}

.cert-info ul {
    list-style: none;
    padding-left: 0;
    line-height: 2em;
}

.cert-img {
    max-width: 50%;
}

/* Estilos footer */
.footer {
    background-color: var(--gris);
    color: white;
    padding: 2rem;
    font-size: 1rem;
}

.footer-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    gap: 1rem;
}

.footer-col {
    flex: 1 1 30%;
    min-width: 250px;
}

.ft-logo {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.redes h6 {
    margin-bottom: 0.5em;
    font-size: 1.5em;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
}

.social-list {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    gap: 0.5em;
}

.social-list li a {
    color: white;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-list li a:hover {
    color: #ff8800;
}

.direccion h6 {
    margin-bottom: 0.5em;
    font-size: 1.5em;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
}

.direccion p {
    margin: 0.3em 0;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

/* Boton al punto naranja */
.btn-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: var(--naranja);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
    z-index: 999;
}

.btn-whatsapp i {
    line-height: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }

    .nav-logo {
        width: 10rem;
        height: auto;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        background-color: var(--gris);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        display: none;
        top: 4.5rem;
        right: 2rem;
        padding: 1rem;
        border-radius: 10px;
    }

    .hero {
        align-items: center;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        max-width: 90%; 
        margin: 0 auto;
    }

    .hero-img-pc {
        display: none;
    }

    .hero-img-movil {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .beneficios img {
        display: none;
    }

    .modulo-principal {
        display: flex;
        flex-direction: column;
    }

    .checklist {
        padding-left: 0.7rem;
    }

    .beneficios {
        align-items: center;
    }

    .cert-img {
        max-width: 90%;
    }

    /* Footer */
    .ft-logo {
        max-width: 50%;
        padding-right: 0.2rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2em;
        padding-bottom: 3rem;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .social-list {
        justify-content: center;
    }

    .direccion p {
        text-align: center;
    }
}

