@media (max-width: 480px) {
    :root {
        --h1-celular: 25px;
        --h2-celular: 30px;
        --h3-celular: 16px;
        --texto-general-celular: 14px;
    }

    nav {
        justify-content: space-between;
        padding: 10px 20px 10px 20px;
    }

    .logo-Quinta-Lago-Texcoco{
        margin-left: 5%;
    }

    .burger-container {
        display: block;
        margin-right: 15%;
    }

    /* El Menú de Overlay de Pantalla Completa */
    .contenedor-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        /* Color de fondo del menú */
        z-index: 1000;

        /* Ocultar el menú por defecto */
        transform: translateX(100%);
        /* Lo desliza fuera de la pantalla a la derecha */
        transition: transform 0.4s ease-in-out;

        /* Centrar los ítems del menú en el overlay */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Lista de enlaces dentro del menú */
    .menu {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .menu li a {
        font-size: var(--texto-general-celular);
        /* Hacer los enlaces más grandes en móvil */
    }

    /* Mostrar el botón de cierre */
    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: black;
        line-height: 1;
        z-index: 1002;
    }

    /* --- Funcionalidad usando el Checkbox (Puro CSS) --- */
    /* Cuando el checkbox está marcado, transforma el menú a la vista */
    #burger-toggle:checked~.contenedor-menu {
        transform: translateX(0);
        /* Lo desliza a su posición original (visible) */
    }

    /* Opcional: Rotar el icono de hamburguesa a una 'X' usando el checkbox */
    #burger-toggle:checked~.burger-container {
        /* Ocultar las líneas */
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
    }

    header {
        height: 310px;
    }

    h1 {
        font-size: var(--h1-celular);
    }


    .slide-1 {

        background-position:
            calc(25% - 15%) 55%, 
            left bottom,
            250% center,
            center;
        background-size:
            40%,
            25%,
            cover,
            cover;
    }

    .slide-2 {
        background-position:
            calc(25% - 15%) 55%,
            left bottom,
            250% center,
            center;
        background-size:
            40%,
            25%,
            cover,
            cover;
    }

    .slide-3 {
        background-position:
            calc(25% - 15%) 55%,
            left bottom,
            250% center,
            center;
        background-size:
            40%,
            25%,
            cover,
            cover;
    }

    h1 {
        font-size: var(--h1-celular);
    }

    .contenedor-principal {
        background-position:
            calc(50% - 30%) 90%,
            calc(20% - 5%) 33%,
            calc(90% - -15%) 17%;
        background-size:
            auto,
            40%,
            40%;
        display: block;
    }

    .pc-texto {
        text-align: center;
        transform: translateX(0);
        padding: 0 20px;
    }

    .pc-texto p {
        font-size: var(--texto-general-celular);
        font-weight: lighter;
        width: 100%;
        text-align: center;
    }

    .circulo-pequeño {
        width: 10%;
        padding: 10px 0;
    }

    iframe {
        margin: 20px 0;
        width: 100%;
    }

    .pc-imagenes {
        background-size: contain;
        transform: translateX(0);
    }

    .primera {
        z-index: 0;
        width: 80%;
    }

    .segunda {
        z-index: 1;
        margin: -20px 50px 0 0;
        width: 80%;

    }

    .tercera {
        z-index: 2;
        margin: -20px -50px 0 0;
        width: 80%;
    }

    .contenedor-circulos-iconos {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .cont-azul {
        background-color: var(--azul);
        border-radius: 50%;
        width: 40%;
        height: 150px;
        margin: 0;
    }

    .cont-azul img {
        width: 20%;
    }

    .cont-azul h3 {
        font-size: var(--h3-celular);
    }

    .cont-naranja {
        border-radius: 100%;
        width: 40%;
        height: 150px;
        margin: 0;
    }

    .cont-naranja img {
        width: 20%;
    }

    .cont-naranja h3 {
        font-size: var(--h3-celular);
    }

    .segundo-contenedor {
        padding: 0 20px;
    }

    .sub-contenedor {
        display: block;
        grid-template-columns: 1fr 1fr;
        /* 2 columnas del mismo tamaño */
        gap: 0;
        justify-content: center;
        align-items: center;
    }

    .segundo-contenedor p {
        font-size: var(--texto-general-celular);
        transform: translateX(0%);
    }

    .texto-circulos {
        background-position:
            calc(50% - 20%) 100%,
            calc(10% - -120%),
            calc(50% - 60%);
        background-size:
            40%,
            80%,
            75%;
        padding: 50px 0 50px 0;
    }

    .texto-circulos h1 {
        color: var(--blanco);
        font-size: 45px;
        line-height: 1;
    }

    .cont-der {
        transform: translateX(0);
        font-size: var(--texto-general-celular);
    }

    .cont-imagenes-der {
        background-position:
            calc(0% - -55%) 80%,
            calc(10% - -10%) 0;
        background-size:
            70%,
            20%;
        display: flex;
        padding: 20px 0 20px 0;
    }

    .imagenV1,
    .imagenV2 {
        width: 50%;
    }

    .imagenV1 {
        margin: 50px 5px 0 0;
    }

    .imagenV2 {
        margin: 0 0 50px 0;
        padding: 0;
    }

    .tercer-contenedor {
        padding: 0 20px;
    }

    .tercer-h1 {
        line-height: 25px;
        padding-bottom: 20px;
    }

    .parrafo-tercercontenedor {
        font-size: var(--texto-general-celular);
        text-align: center;
    }

    .contenedor-metodologia-integral {
        display: block;
        justify-content: center;
        align-items: center;
        margin-top: -40px;
        width: 100%;
        font-size: var(--texto-general-celular);
    }

    .contenedor-uno {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .contenedor-uno h2 {
        border-radius: 100%;
        text-align: center;
        padding: 10px;
        width: 15%;
        font-size: var(--h2-celular);
    }

    .contenedor-uno h3 {
        font-size: var(--h3-celular);
    }

    .contenedor-uno p {
        font-size: var(--texto-general-celular);
    }

    .contenedor-dos {
        background-size: contain;
        padding: 60px 0 0 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .contenedor-dos h2 {
        border-radius: 100%;
        padding: 10px;
        width: 15%;
        margin-left: 20px;
        font-size: var(--h2-celular);
    }

    .contenedor-dos h3 {
        border-radius: 20px;
        width: 50%;
        font-size: var(--h3-celular);
        z-index: 1;
    }

    .contenedor-dos p {
        background-color: var(--blanco);
        font-size: var(--texto-general-celular);
        border-radius: 100px;
        width: 85%;
        padding: 10px 10px 10px 10px;
        margin: -3% 5% 5% 5%;
        z-index: 0;
    }

    .contenedor-tres {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .contenedor-tres h2 {
        width: 12%;
        padding: 15px;
        font-size: var(--h2-celular);
        margin: 62% 0 0 2%;
        z-index: 1;
    }

    .contenedor-tres h3 {
        background-color: var(--azul);
        color: var(--blanco);
        border-radius: 20px;
        padding: 10px 20px 10px 35px;
        margin-right: 40px;
        font-size: var(--h3);
    }

    .contenedor-tres p {
        font-size: var(--texto-general-celular);
        text-align: left;
        padding: 20px 0 0 0;
    }

    .contenedor-tres img {
        z-index: 0;
    }

    .cuarto-contenedor {
        background-position: center 30%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 100px 0;
    }

    .texto-banner {
        margin: 150px 0 0 -120px;
        width: 300%;
    }

    .texto-banner h1 {
        text-align: center;
        color: var(--blanco);
        font-size: var(--h1-celular);
    }

    .imagen-pan {
        margin: -130px 0 0 0;
    }

    .imagen-pan img {
        height: 300px;
    }

    .imagen-reconocimiento {
        margin: 430px 0 0 -34px;
    }

    .imagen-reconocimiento img {
        height: 300px;
    }

    .contenedor-carrusel-qlt {
        text-align: center;
    }

    .contenedor-carrusel-qlt h2 {
        font-size: var(--h2-celular);
        line-height: 30px;
        margin: -50% 55% 5% 0;
    }

    .contenedor-carrusel-qlt h1 {
        font-size: 45px;
        margin-bottom: 100px;
    }

    .cc-izq {
        background-position:
            calc(50% - 45%) 25%,
            calc(50% - 50%) 30%;
        background-size:
            20%,
            30%;
        height: 250%;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-item {
        width: 220px;
    }

    .carousel-item img {
        height: 220px;
    }

    .carousel-wrapper.active {
        opacity: 1;
        z-index: 10;
        /* Más grande */
        left: 50%;
        right: 50%;
        margin: 0 auto;
        /* Centrado absoluto */
        pointer-events: auto;
        /* Permite clics si el círculo central fuera un enlace */
        transform: translateX(0) scale(1.0);
    }

    /* El central puede ser más pequeño */
    .carousel-wrapper.prev {
        transform: translateX(-90%) scale(0.6);
    }

    .carousel-wrapper.next {
        transform: translateX(-10%) scale(0.6);
    }

    /* Ajuste para que se vea en pantallas pequeñas */
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .nav-btn.prev-btn {
        left: 15%;
        top: 50%;
    }

    .nav-btn.next-btn {
        right: 15%;
        top: 50%;
    }

    .carousel-text {
        display: none !important;
    }

    /* Ocultar texto en móviles muy pequeños */
    .main-title {
        font-size: 1.1rem;
    }

    .cc-der {
        background-image: url('../imagenes/img-carrusel/elipses/elipse-azul-der.webp');
        background-position: calc(50% - -50%) center;
        background-repeat: no-repeat;
        background-size: 30%;
        margin-top: -300px;
        margin-left: -250px;
    }

    .contenedor-clientes {
        font-size: var(--h1-celular);
        padding: 15px 0;
    }

    .carousel-button i {
        font-size: 70%;
    }

    .contacto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .contacto-texto h1 {
        font-size: 45px;
        line-height: 1;
        margin-bottom: 70px;
    }

    .contacto-texto p {
        font-size: var(--texto-general-celular);
        text-align: center;
        width: 100%;
    }

    .formulario {
        background-size:
            25%,
            120%;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    form {
        padding: 100px 0 50px 0;
        width: 80%;
    }

    label {
        display: block;
        margin-top: 5px;
        color: var(--blanco);
        font-size: var(--texto-general-celular);
        font-weight: 600;
    }

    .name,
    .phone,
    .email {
        display: block;
        width: 100%;
        padding: 5px 0 5px 0;
        margin-top: 0px;
        border-radius: 20px;
        border: 7px solid var(--naranja);
        text-indent: 20px;
        font-size: var(--texto-general);
    }

    textarea {
        display: block;
        width: 100%;
        height: 50px;
        padding: 10px 0 0 0;
        margin-top: 5px;
        border-radius: 20px;
        border: 7px solid var(--naranja);
        text-indent: 10px;
        font-size: var(--texto-general);
    }

    .send {
        padding: 12px;
        background-color: var(--naranja);
        color: white;
        border: none;
        cursor: pointer;
        width: 40%;
        display: block;
        margin: 15px auto;
        text-align: center;
        border-radius: 20px;
        font-size: var(--texto-general);
    }

    .footer-item i {
        font-size: 18px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 30px;
    }

    .info-column h3 {
        font-size: var(--h3-celular);
    }

    .address {
        order: 2;
    }

    .info-column a {
        font-size: var(--texto-general-celular);
    }

    .contact {
        order: 3;
    }

    .branding-column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        width: 80%;
        order: 1;
    }

    .branding-column img {
        width: 100%;
    }

    .firma h3 {
        font-size: var(--texto-general-celular);
    }

}


@media (min-width: 1200px) and (max-width: 1439px) {

    :root {
        --principal: #2E2E2E;
        --naranja: #F5764D;
        --azul: #44C8EE;
        --blanco: #ffffff;
        --h1: 32px;
        --h2: 48px;
        --h3: 19px;
        --texto-general: 17px;
    }

    header {
        height: 650px;
    }

    h1 {
        font-size: var(--h1);
    }

    .slide-1 {

        background-position:
            calc(35% - 15%) 40%,
            left bottom,
            0 center,
            200% center;
        background-size:
            40%,
            20%,
            70%,
            80%;
    }

    .slide-2 {
        background-position:
            calc(35% - 15%) 40%,
            left bottom,
            0 center,
            200% center;
        background-size:
            40%,
            20%,
            70%,
            80%;
    }

    .slide-3 {
        background-position:
            calc(35% - 15%) 40%,
            left bottom,
            0 center,
            200% center;
        background-size:
            40%,
            18%,
            70%,
            80%;
    }

    .contenedor-principal {
        background-position:
            calc(50% - 30%) -90%,
            calc(20% - 17%) 60%,
            calc(50% - 10%) 30%;
        background-size:
            auto,
            15%,
            15%;
    }

    .pc-texto {
        text-align: center;
        transform: translateX(0);
        padding: 0 20px;
    }

    .pc-texto p {
        font-size: var(--texto-genera);
        font-weight: lighter;
        width: 100%;
        text-align: center;
    }

    .circulo-pequeño {
        width: 4%;
        padding: 10px 0;
    }

    iframe {
        margin: 20px 0;
        width: 80%;
    }

    .pc-imagenes {
        background-size: contain;
        transform: translateX(0);
    }

    .pc-imagenes img {
        width: 70%;
    }

    .primera {
        z-index: 0;
    }

    .segunda {
        z-index: 1;
        margin: -20px 0 0 -260px;
    }

    .tercera {
        z-index: 2;
    }

    .cont-azul,
    .cont-naranja {
        width: 18%;
        height: 225px;
        margin: 0 -5px 0 -25px;
    }

    .cont-azul img,
    .cont-naranja img {
        width: 40%;
    }

    .cont-azul h3 {
        font-size: var(--h3);
    }

    .cont-naranja h3 {
        font-size: var(--h3);
    }

    .segundo-contenedor {
        padding: 0;
    }

    .segundo-contenedor p {
        font-size: var(--texto-general);
    }

    .cont-izq p {
        transform: translateX(100px);
    }

    .cont-izq {
        font-size: var(--texto-general);
    }

    .texto-circulos {
        background-position:
            calc(50% - 50px) 250px,
            85% center,
            25% center;
        background-size:
            30%,
            65%,
            60%;
        padding: 80px 0 80px 0;
    }

    .texto-circulos h1 {
        font-size: 70px;
    }

    .cont-texto-izq {
        width: 70%;
    }

    .cont-der p {
        font-size: var(--texto-general);
    }

    .cont-imagenes-der {
        background-position:
            calc(20% - -55%) 80%,
            calc(20% - 5%) 0;
        background-size:
            50%,
            10%;
        padding-bottom: 50px;
    }

    .parrafo-tercercontenedor {
        font-size: var(--texto-general);
        text-align: center;
        margin: -30px 0 50px 0;
    }

    .contenedor-uno {
        margin-left: 20%;
        width: 85%;
    }

    .contenedor-uno h2 {
        width: 20%;
        font-size: var(--h2);
        font-weight: 600;
        margin: 0;
    }

    .contenedor-uno h3 {
        background-color: var(--azul);
        color: var(--blanco);
        border-radius: 20px;
        padding: 10px 20px 10px 35px;
        margin-right: 40px;
        font-size: var(--h3);
    }

    .contenedor-uno p {
        font-size: var(--texto-general);
        text-align: left;
        width: 90%;
        padding: 20px 0 0 0;
    }

    .contenedor-uno img {
        margin: -30px 0 0 0;
        width: auto;
    }

    /*.contenedor-dos {
        padding: 60px 20px;
        margin-bottom: 150px;
    }*/

    .contenedor-dos {
        padding: 0 20px 0 -20px;
        margin-top: 140px;
    }

    .contenedor-dos h2 {
        width: 20%;
        font-size: var(--h2);
    }

    .contenedor-dos h3 {
        width: 70%;
        font-size: var(--h3);
        margin-bottom: 15px;
    }

    .contenedor-dos p {
        font-size: var(--texto-general);
        text-align: left;
        width: 85%;
    }

    .contenedor-tres {
        margin-right: 10%;
    }

    .contenedor-tres h2 {
        width: 6%;
        font-size: var(--h2);
        margin: -7% 0 0 1%;
    }

    .contenedor-tres h3 {
        font-size: var(--h3);
    }

    .contendor-tres p {
        font-size: var(--texto-general);
        text-align: left;
        color: red;
    }

    .texto-banner h1 {
        font-size: var(--h1);
    }

    .contenedor-carrusel-qlt h2 {
        font-size: var(--h2);
        margin: 0 55% -1% 0;
    }

    .contenedor-carrusel-qlt h1 {
        font-size: 60px;
        margin: 0 10px 0 0;
    }

    .carousel-item {
        width: 250px;
        height: 250px;
    }

    .nav-btn.prev-btn {
        left: 34%;
        /* Ajusta esta posición para que quede entre el centro y la izq */
        top: 50%;
    }

    .nav-btn.next-btn {
        right: 34%;
        /* Ajusta esta posición para que quede entre el centro y la der */
        top: 50%
    }

    .contacto-texto h1 {
        font-size: 70px;
    }

    .contacto-texto p {
        font-size: var(--texto-general);
        margin-top: -40px;
        width: 100%;
    }

    .formulario {
        width: 60%;
        padding-left: 100px;
    }

    label {
        font-size: var(--texto-general);
    }

    .name,
    .phone,
    .email {

        display: block;
        width: 90%;
        font-size: var(--texto-general);
    }

    textarea {
        display: block;
        width: 90%;
        height: 70px;
        padding: 10px 0 0 0;
        margin-top: 5px;
        border-radius: 20px;
        border: 7px solid var(--naranja);
        text-indent: 10px;
        font-size: var(--texto-general);
    }

    .send {
        padding: 15px;
        background-color: var(--naranja);
        color: white;
        border: none;
        cursor: pointer;
        width: 50%;
        display: block;
        margin: 15px auto;
        text-align: center;
        border-radius: 20px;
        font-size: var(--texto-general);
    }

    .info-column h3 {
        font-size: var(--h3);
    }

    .info-column a {
        font-size: var(--texto-general);
    }

    .branding-column {
        display: flex;
        flex-direction: column;
        padding: 50px 0;
        order: 1;
    }

    .branding-column img {
        width: 80%;
    }

    .firma h3,
    .firma a {
        font-size: var(--texto-general);
    }
}


@media (min-width: 1440px) and (max-width: 1919px) {

    header {
        height: 750px;
    }

    .contenedor-principal {
        gap: 100px;
    }

    iframe {
        width: 70%;
    }

    .pc-imagenes {
        background-size: 90%;
        transform: translateX(0);
        padding: 100px 0 0 0;
    }

    .pc-imagenes img {
        width: 50%;
    }

    .cont-azul,
    .cont-naranja {
        width: 15%;
        height: 230px;
        margin-left: 20px;
    }

    .cont-azul img,
    .cont-naranja img {
        width: 35%;
    }

    .segundo-contenedor {
        padding: 30px 0 30px 0;
    }

    .texto-circulos {
        background-position:
            calc(50% - 50px) 105%,
            85% center,
            25% center;
    }

    .texto-circulos h1 {
        font-size: 80px;
    }

    .cont-texto-izq {
        width: 85%;
    }

    .contenedor-uno {
        margin-left: 32%;
    }

    .contenedor-dos {
        padding: 0 20px 0 -20px;
        margin-top: 120px;
    }

    .contenedor-dos h2 {
        width: 17%;
        height: 80px;
    }

    .contenedor-dos h3 {
        width: 70%;
    }

    .contenedor-tres {
        margin-right: 40%;
        margin-left: 6%;
    }

    .contenedor-tres h2 {
        width: 5%;
        font-size: var(--h2);
        margin: -7% 0 0 1%;
    }

    .contenedor-tres h3 {
        width: 100%;
    }

    .contenedor-tres p {
        text-align: left;
    }

    .contenedor-carrusel-qlt h1 {
        font-size: 75px;
        margin: 0 0 0 0;
    }

    .nav-btn.prev-btn {
        left: 34%;
    }

    .nav-btn.next-btn {
        right: 34%;
    }

    .contacto-texto h1 {
        font-size: 75px;
        line-height: 1;
        margin-bottom: 70px;
    }

    .contacto-texto p {
        width: 80%;
    }

    .formulario {
        background-size:
            25%,
            100%;
        width: 65%;
        padding: 65px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    form {
        width: 60%;
    }

    .name,
    .phone,
    .email {
        padding: 5px 0 5px 0;
    }

    textarea {
        padding: 5px 0 0 0;
        height: 50px;
    }

    .send {
        padding: 10px;
    }

}