:root {
    --primario: #A7D8FF;
    --secundario: #99B83C;
    --blanco: #F9F9F9;
    --grisClaro: #E0E0E0;
    --gris: #2B2B2B;
    --beige: #FFF7E6;
    --azul: #6E7582;
    --celeste: #B2FFF8;

    --fuentePrincipal: "Open Sans", sans-serif;
    --fuenteSecundaria: "Rubik", sans-serif;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuentePrincipal);
    font-size: 1.6rem;
}

h1,
h2,
h3 {
    font-weight: 900;
}

h2,
h1 {
    color: var(--gris);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
    width: 90%;
}

.btn {
    color: var(--blanco);
    padding: .5rem 2rem;
    transition: background-color .3s;
    border-radius: .5rem;

}

.btn:hover {
    background-color: rgba(181, 226, 46, 0.548);
    color: #2B2B2B;
}

@media (min-width: 768px) {
    .btn {
        padding: 1.5rem;
    }

}



/*Header*/

.header {
    height: 42rem;
    background-image: url(../img/a-int/img-13.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 1rem;
}

@media (min-width: 768px) {
    .header {
        height: 60rem;
    }

}

.logo img {
    width: 5rem;
    height: auto;
}

@media (min-width: 768px) {
    .logo img {
        width: 15rem;
    }

}

.barra {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .barra {
        flex-direction: row;
        justify-content: space-around;
        text-shadow: 0px 0px 50px rgb(0, 0, 0);
    }


}

.logo p {
    font-size: 3rem;
    font-weight: 300;
    color: var(--blanco);

    margin: 2rem 1rem;
}

.logo span {
    font-weight: 900;
}

.navegacion {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    border-radius: 1rem;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .navegacion {
        flex-direction: row;
        align-items: center;
    }

}

.navegacion a {
    color: var(--blanco);
    text-shadow: 0px 0px 20px rgb(0, 0, 0);
    font-weight: 500;
}

.nombre {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
}

.titulo {
    color: var(--blanco);
}

.titulo h1 {
    text-shadow: 0px 0px 40px rgba(0, 0, 0, 0.719);
    color: var(--blanco);
    margin: 0;
    font-size: 5.5rem;
}

.titulo p {
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .nombre {
        justify-content: center;
        align-items: flex-end;

        margin-top: 20rem;
    }

    .titulo h1 {
        font-size: 9rem;
    }

    .titulo p {
        font-size: 2rem;
    }

}

.btn-contacto {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.btn-contacto a {
    display: block;
    color: var(--gris);
    background-color: var(--secundario);
    padding: 1rem 3rem;
    border-radius: .5rem;
    transition: background-color .3s;
}

.btn-contacto a:hover {
    background-color: transparent;
    color: var(--blanco);
    border: 1px solid var(--blanco);
}

@media (min-width: 768px) {

    .btn-contacto a {
        padding: 1.5rem 3rem;
    }
}


/* .background-principal {
    background-image: url('../img/background.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
} */



/*HEADERS SECCION */

.header-seccion {
    height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 1rem;
}

@media (min-width: 768px) {
    .header-seccion {
        height: 10rem;
    }

}


@media (min-width: 768px) {
    .seccion {
        margin: 0;

    }

    .barra-seccion {
        align-items: center;
    }

}

/*AMENIDADES SECCION*/

.background-contenedor {

    background-color: var(--blanco);
    padding: 2rem 2rem;
}

.amenidades {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .amenidades {
        gap: 3rem;
    }

}

@media (min-width: 1280px) {

    .amenidades {
        gap: 10rem;
    }

}


.amenidad {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.amenidad svg {
    width: 4rem;
    height: 4rem;
    color: var(--azul);
}



.nombre-amenidad {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 500;
}


@media (min-width: 768px) {
    .nombre-amenidad {
        display: inline;
        color: var(--gris);
        padding: 1rem;
        font-weight: 500;

        font-size: 1.6rem;
    }

    .amenidad svg {
        width: 7rem;
        height: 7rem;
    }
}

/**section video**/
/* .contenedor-imp {
    background-image: url('../img/defini.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding-bottom: 4rem;
    margin-bottom: 2rem;
} */

.contenedor-video {
    background-color: var(--grisClaro);
    padding-top: 2rem;
    padding-bottom: 10rem;
}

.contenedor-video h2 {

    font-size: 4.5rem;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 0;

}

.contenedor-video span {
    color: #96bb27;
}

@media (min-width: 768px) {
    .contenedor-video h2 {
        font-size: 9rem;
    }
}

.video {
    display: flex;
    justify-content: center;
}

video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: none;
    outline: none;
    /* border-radius: 2.5rem; */
}

/*Seccion etiqueta habitaciones */

.contenedor-habitaciones {
    background-image: linear-gradient(to bottom, transparent 50%, var(--blanco) 0%), url(../img/a-int/img-15.webp);
    background-repeat: no-repeat;
    background-size: 100%, cover;
    background-position: center, center;

    display: grid;
    grid-template-rows: repeat(2, 1fr);


}



.texto-habitaciones {
    grid-row: 2/3;

    padding: 0 5rem;

}

.texto-habitaciones h2 {
    font-size: 4rem;
}

.texto-habitaciones p:nth-child(2) {
    font-size: 2rem;
}

.texto-habitaciones p:nth-child(4) {
    text-align: end;
    font-weight: 650;
}

@media (min-width: 768px) {
    .contenedor-habitaciones {
        background-image: linear-gradient(to right, transparent 50%, var(--blanco) 50%, var(--blanco) 100%), url(../img/a-int/img-1.webp);
        background-size: 100%;
        background-position: center, center;
        grid-template-rows: unset;
        grid-template-columns: repeat(2, 1fr);

        gap: 10rem;
    }

    .texto-habitaciones {

        grid-row: unset;
        grid-column: 2/3;
        padding: 1rem;


        max-width: 60rem;
    }

    .texto-habitaciones h2 {
        font-size: 5rem;
    }

    .texto-habitaciones h3 {
        font-size: 6.3rem;

    }

    .contenedor-texto-2 {
        width: 60%;
    }



    .texto-habitaciones p:nth-child(2) {
        font-size: 3rem;
    }

    .texto-habitaciones p {
        font-size: 2rem;
    }

    .texto-habitaciones p:nth-child(4) {
        font-size: 3rem;
        margin-top: 5rem;
        text-align: start;
    }
}

@media (min-width: 1280px) {
    .contenedor-habitaciones {
        gap: 30rem;
    }

    .texto-habitaciones h2 {
        font-size: 8.5rem;
    }

}

.btn-global {
    display: flex;
    justify-content: center;

}

@media (min-width: 768px) {
    .btn-global {
        display: unset;
    }

}

.btn-global a {
    display: inline-block;
    height: 6.1rem;
    color: var(--gris);
    font-weight: 500;
    background-color: var(--secundario);
    padding: 2rem 2.5rem;
    border-radius: .5rem;
    transition: background-color .3s;


    margin: 6rem 0;
}

@media (min-width: 1280px) {
    .btn-global a {
        padding: 2rem 5rem;
    }

}

.btn-global a:hover {
    background-color: transparent;

    border: 1px solid var(--gris);

}







/*PAQUETES*/

.promociones {
    background-image: url('../img/promo-celular.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    /* border-radius: 3rem; */
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 10rem auto;
    padding: 1.5rem;

    transition: transform .3s;
}

@media (min-width: 768px) {
    .promociones {
        background-image: url('../img/promo-8.svg');
    }

}

.promociones:hover {
    transform: scale(1.1);
}

.color {
    color: var(--secundario);
}

.promocion h2 {
    font-size: 2rem;
    text-align: center;

}

.promocion p {
    font-size: 1.5rem;
    font-weight: 450;

    text-align: center;
}

.promocion span:first-child {

    font-weight: 700;
}


.promocion span:last-child {
    font-weight: 900;
}

.btn-paquetes {
    display: flex;
    justify-content: center;

    ;
}

.btn-paquetes a {
    display: inline-block;
    color: var(--gris);
    background-color: transparent;
    border: 1px solid var(--gris);
    padding: 1.5rem;
    margin: .5rem;

}

.btn-paquetes a:hover {
    background-color: var(--gris);
    color: var(--blanco);
}

@media (min-width: 768px) {
    .promocion h2 {
        font-size: 3rem;
    }

    .promocion p {
        font-size: 2rem;
    }

    .btn-paquetes a {
        padding: 2rem;
        margin-bottom: 2rem;
        border: 1px solid var(--gris);
        font-weight: 400;
        font-size: 1.5rem;
        padding: 1.5rem 4rem;
        margin: 2rem;
    }

    .promocion span:first-child {
        color: var(--gris)
    }

}

/*GALERIA*/

.galeria {
    padding-bottom: 10rem;
    background-color: var(--grisClaro);
}

.galeria h1 {
    font-size: 4rem;
    margin: 0;
    padding: 5rem 2rem;

    text-align: center;
}

@media (min-width: 768px) {
    .galeria h1 {
        font-size: 10rem;
        padding: 15rem 0;
        text-align: center;
    }

}

.galeria-scroll-1 {
    display: none;
}



.galeria-viewport {
    overflow-x: hidden;
}

.galeria-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 15vw;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 15vw;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.galeria-scroll img {
    flex: 0 0 auto;
    width: 70vw;
    scroll-snap-align: center;
    object-fit: cover;
    border-radius: 12px;
}

@media (min-width: 768px) {



    .galeria-scroll {
        display: none;
    }

    .galeria {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .galeria-scroll-1 {
        display: inline;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 40rem);
        width: 95%;
        gap: 2rem;

    }

    .galeria-scroll-1 div:nth-child(1) {
        grid-column: 1/3;
    }

    .galeria-scroll-1 div:nth-child(2) {
        grid-column: 1/3;
    }

    .galeria-scroll-1 div:nth-child(3) {
        grid-column: 3/5;
        grid-row: 1/3;
    }

    .galeria-scroll-1 div:nth-child(4) {
        grid-column: 1/5;
    }

    .galeria-scroll-1 div:nth-child(5) {
        grid-column: 1/3;
    }

    .galeria-scroll-1 div:nth-child(6) {
        grid-column: 3/5;
    }


    .galeria-scroll-1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;

        /* border-radius: 1rem; */
    }

    .galeria-scroll-1 div:nth-child(2) img {
        object-position: 40% 15%;
    }

    .galeria-scroll-1 div:nth-child(6) img {
        object-position: top;

    }




}


.galeria .btn-g {
    margin: 5rem 0 0 0;
}

/*MAPA*/
.mapa {
    background-color: var(--blanco);
    padding: 5rem 0;
}

.mapa h2 {
    text-align: center;
    font-size: 4rem;
    margin: 0;
    padding: 5rem 0;

}

.mapa-ubicacion iframe {
    border-radius: 2rem;

}

@media (min-width: 768px) {


    .mapa h1 {
        font-size: 10rem;
        text-align: center;
        margin: 0;
        padding: 5rem 0;
    }
}

@media (min-width: 768px) {

    .ubicacion {
        display: flex;
        justify-content: space-between;
    }

    .divider2 {
        display: none;
    }
}

@media (min-width: 1280px) {
    .mapa-ubicacion iframe {
        width: 50rem;
        height: 50rem;

    }


}

.divider {
    border: 1px solid #e1e1e1;
    margin: 5rem 0rem;

}

.divider2 {
    border: 1px solid #e1e1e1;
    margin: 5rem 0rem;
}

@media (min-width: 768px) {
    .divider {
        margin: 0 0 4rem 0;
    }

}

.mapa-ubicacion p {
    font-weight: 500;
    font-size: 2rem;
    color: var(--gris);
    text-align: center;
}


.ubicacion .color {
    font-weight: 700;
}


/* Seccion HABITACIONES PAGINA  */
.contenedor-habitaciones-seccion {
    background-color: var(--blanco);
}

.habitaciones-seccion {
    background-color: var(--gris);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contenedor-habitaciones-seccion h2 {
    text-align: center;
    font-size: 5rem;
    margin: 0;
    padding: 10rem 1rem;
    color: var(--gris);
}

@media (min-width: 768px) {
    .contenedor-habitaciones-seccion h2 {
        font-size: 10rem;
    }



}



.hab-seccion {
    background-color: var(--blanco);
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px 1px #00000015;
    margin-bottom: 5rem;
}

.hab-cuadruple {
    margin: 0;
}

@media (min-width: 768px) {
    .hab-seccion {
        flex-direction: row;

        align-items: center;

    }

    .hab-doble {
        flex-direction: row-reverse;
    }

    .hab-cuadruple {
        flex-direction: row-reverse;
    }
}



.hab-seccion img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

/* En pantallas medianas, limita tamaño de imagen */
@media (min-width: 768px) {
    .hab-seccion img {
        width: 150rem;
        height: 45rem;
    }
}

/* En pantallas grandes, cambia tamaño */
@media (min-width: 1200px) {
    .hab-seccion img {
        width: 300rem;
        height: auto;
    }
}


.hab-sencilla,
.hab-doble,
.hab-triple,
.hab-cuadruple {
    color: var(--gris);
}



@media (min-width: 768px) {
    .hab-texto {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 0 10rem;
    }
}

.hab-texto h2 {
    margin: 0;
    font-size: 6rem;

}


@media (min-width: 768px) {
    .hab-texto h2 {
        text-align: center;
        font-size: 4rem;
    }

}

@media (min-width: 1280px) {}



.estilo {
    font-size: 4rem;
    font-weight: 400;
}

.estilo-2 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gris);
}

@media (min-width: 1280px) {
    .estilo-2 {
        font-size: 10rem;
    }

}

.descripcion {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 1rem
}

.descripcion span {
    font-size: 4rem;
    font-weight: 900;
}

.descripcion-2 {
    text-align: end;
}

.descripcion-3 {
    font-size: 2rem;

    margin: 1.5rem 0 3rem 0;
}

.mas {
    margin: 0;
    font-size: 2rem;
    font-weight: 900;
    text-align: start;
    padding-left: 15rem;
}

@media (min-width: 768px) {
    .mas {
        padding: 0;
    }
}

.nota {
    text-align: center;

    background-color: var(--blanco);
    padding: 2rem 0;
}

.nota p {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--fuentePrincipal);
    color: var(--gris)
}



@media (min-width: 1280px) {
    .nota p {
        font-size: 5rem;
    }

    .nota span {
        font-size: 7rem;
    }

}

/*PAQUETES*/

.paquetes {
    background-color: var(--gris);
    height: auto;
    padding-bottom: 5rem;

}

@media (min-width: 768px) {
    .paquetes {
        height: 100rem;
    }

}


.contenedor-paquetes {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    margin: 0 auto;
    gap: 3rem;
}


@media (min-width: 768px) {
    .contenedor-paquetes {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }


}



.paquete img {
    width: 10rem;
    height: 10rem;
    margin-bottom: 3rem;
}

.paquete {
    background-color: #313131;
    height: 50rem;
    box-shadow: 0px 0px 20px 1px rgba(10, 10, 10, 0.164);
    padding: 5rem 2rem 2rem 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .paquete {
        width: 30rem;
        height: 65rem;
        padding: 10rem 2rem 2rem 2rem;

    }

}

.paquetes h2 {
    font-size: 5rem;
    padding: 5rem 1rem;
    text-align: center;
    color: var(--grisClaro);

    margin: 0;
}

@media (min-width: 768px) {
    .paquetes h2 {
        font-size: 7rem;
        font-weight: 700;
    }

}

.paquete h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--grisClaro);
    margin-top: 0;
    margin-bottom: 2rem;
}

.paquete li {
    font-size: 2rem;
    color: var(--blanco);
    font-weight: 300;
}

@media (min-width: 768px) {


    .paquete-2 {
        height: 70rem;
    }
}


.div {
    border: 1px solid var(--secundario);
    box-shadow: 0px 0px 20px 1px rgba(10, 10, 10, 0.349);
    width: 85%;
    margin: 2rem 0;
}


/* .paquete-3 ul,
.paquete-1 ul {
    margin: 0;
    height: 27rem;
    padding-left: 3rem;

    display: flex;
    flex-direction: column;
    justify-content: center;

} */

ul {
    margin: 0;
    height: 27rem;
    padding-left: 3rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


li {
    padding: 0.5rem;
}

/*Footer*/

/*Contenedor contacto*/
.contenedor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

@media (min-width: 768px) {
    .contenedor-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;

        gap: 2rem;
    }


    .derecho {
        grid-column: 2/3;
    }
}

.informacion-contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.informacion-contacto p:nth-child(2) {
    font-weight: bold;
}


.informacion-contacto .btn-global {
    display: flex;
    gap: 5rem;
}

.informacion-contacto .btn-global a {
    margin: 2.5rem 0;
}

/*Contenedor LOGO*/

.logo-1 {
    display: flex;
    justify-content: center;
}


.logo-1 img {
    width: 100%;
    max-width: 20rem;
    height: auto;


}


/*Contenedor redes sociales*/

footer {
    background-color: var(--grisClaro);
    padding-top: 5rem;
}

.redes-contacto {
    display: flex;
    flex-direction: column;
    align-items: center;

}

@media (min-width: 768px) {
    .redes-contacto {
        gap: 13rem;
    }

}

.redes-contacto p {
    font-weight: bold;
}

.logo-redes {
    display: flex;
    gap: 2rem;
}

.logo-redes img {
    width: 100%;
    max-width: 3rem;
    height: auto;
}

.derecho {
    text-align: center;
    margin-top: 5rem
}


.botones {
    display: flex;
    gap: 3rem;
}

.btn-g {
    display: inline-block;
    background-color: var(--secundario);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--secundario);
    text-align: center;

    color: var(--gris);
    transition: background-color .3s;

    display: flex;
    align-items: center;
}

.btn-g:hover {
    background-color: transparent;
    border: 1px solid var(--gris);
}

.btn-secundario {
    background-color: var(--blanco);
    color: var(--gris);

    border: 1px solid var(--blanco);
}


/*Header PAGINAS*/
.header-promocion {
    height: auto;
    background-color: #2B2B2B;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 1rem;
}

@media (min-width: 768px) {
    .header-promocion {
        height: auto;
    }

}


@media (min-width: 768px) {
    .background-seccion {
        background-color: var(--grisClaro);
        height: 85rem;
    }

}

.barra {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem
}

@media (min-width: 768px) {
    .barra {
        flex-direction: row;
        justify-content: space-around;
    }


}



/*PAGINA PROMOCION */

.contenedor-promocion {
    display: flex;
    flex-direction: column;
    min-height: 90rem;
    /* O el alto que necesites */
    background-image: linear-gradient(to left, transparent 50%, #7f99312f 0%), url(../img/a-des/img-8.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--blanco);

}

.contenedor-promocion h2 {
    color: var(--blanco);
    text-shadow: 0px 0px 40px rgb(0, 0, 0);

    text-align: center;
    padding: 2rem;
    padding-bottom: 0;
    margin: 0;


}

@media (min-width: 768px) {
    .contenedor-promocion h2 {
        font-size: 3rem;
    }

}

@media (min-width: 1280px) {
    .contenedor-promocion h2 {
        font-size: 7rem;
    }

}

.promocion-contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;

}

@media (min-width: 768px) {
    .promocion-contacto {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        place-items: start;



    }

    .promocion-contacto>* {
        grid-column: 1;
    }
}




.promocion-contacto h2 {
    text-shadow: 0px 0px 40px rgb(0, 0, 0);
    text-align: center;
    font-size: 5rem;


}

@media (min-width: 768px) {
    .promocion-contacto h2 {
        font-size: 5rem;

        padding: 0 2rem;
        text-align: start;
    }

}

@media (min-width: 1280px) {
    .promocion-contacto h2 {
        font-size: 10rem;
    }

}

.promocion-contacto p {
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0px 0px 40px rgb(0, 0, 0);

    margin-bottom: 3rem;

}

.contenedor-grupo {
    background-color: #99b83c4b;
    display: flex;
    justify-content: center;
    padding: 1rem;



    margin-top: auto;
}

@media (min-width: 768px) {
    .contenedor-grupo {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}

.contenedor-grupo p {
    text-shadow: 0px 0px 40px rgb(0, 0, 0);
    max-width: 8rem;
}



.grupos-seccion {
    display: flex;
    align-items: center;

}

@media (min-width: 768px) {
    .grupos-seccion {
        grid-column: 2/3;

        justify-content: space-evenly
    }

}


.grupo {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.grupo img {
    width: 100%;
    max-width: 7rem;
    height: auto;


}



.promocion-contacto .btn-g {
    padding: 3rem 5rem;
}


/*CONTACTO SOBRE MI */

/*SECCION VIDEO*/
.sobre-mi {
    width: 100%;
    height: 50vh;
    /* o el alto que desees */
    padding: 0;
}

.sobre-mi .video {
    width: 100%;
    height: 100%;
}

/*SECCION SOBRE MI*/
.sobre-mi-contenedor {
    background-color: var(--grisClaro);
    display: grid;
    grid-template-rows: repeat(2, 1fr)
}

@media (min-width: 768px) {
    .sobre-mi-contenedor {
        grid-template-rows: none;
        grid-template-columns: repeat(2, 1fr)
    }

}

.background-color {
    padding: 0 4rem;
}

@media (min-width: 768px) {
    .background-color {
        padding: 10rem 4rem;
    }

}


.texto-sobre-mi h2 {
    color: var(--gris);
    font-size: 4rem;
}

.texto-sobre-mi p {
    color: var(--gris);
    font-size: 2rem;
    font-weight: 500;

    text-align: start;
}


@media (min-width: 1280px) {
    .texto-sobre-mi h2 {
        font-size: 8.5rem;
    }

    .texto-sobre-mi p {
        font-size: 3rem;
    }

}

.background-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*SECCION SERVICIOS*/

.servicios-contenedor h2 {
    font-size: 4rem;
    color: var(--gris);
    text-align: center;
}

@media (min-width: 768px) {
    .servicios-contenedor h2 {
        font-size: 8rem;
        margin: 3rem 0 10rem 0;
    }

}

.servicios {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;

    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .servicios {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }

}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80%;
    height: 40rem;
    padding: 5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--gris);
}

@media (min-width: 768px) {
    .servicio {
        width: 30%;
        height: 43rem;
    }

}

.servicio img {
    width: 10rem;
    height: auto;
}

.servicio h3 {
    font-size: 2.5rem;
}

.servicio p {
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    .servicio h3 {
        font-size: 3rem;
    }

    .servicio p {
        font-size: 2rem;
        font-weight: 500;
    }

}

/*SECCION GALERIA*/
.galeria {
    padding-bottom: 5rem;
    background-color: var(--grisClaro);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.galeria h2 {
    font-size: 4rem;
    margin: 0;
    padding: 5rem 2rem;
    text-align: center;
}

/* Centrado del grid contenedor */
.galeria-viewport {
    overflow-x: hidden;
    width: 100%;
    display: flex;
    justify-content: center;

    padding-bottom: 5rem;
}

/* Scroll horizontal en móvil */
.galeria-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 15vw;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 15vw;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.galeria-scroll>div {
    flex: 0 0 auto;
    width: 90%;
    /* Esto permite ver una a la izquierda, otra centrada, otra derecha */
    scroll-snap-align: center;
    border-radius: 1.2rem;
    overflow: hidden;
}

.galeria-scroll img {
    width: 100%;
    height: 40rem;
    object-fit: cover;
    border-radius: 1.2rem;
}

/* Grid en pantallas grandes */
@media (min-width: 768px) {
    .galeria h2 {
        font-size: 10rem;
        padding: 15rem 0;
    }

    .galeria-viewport {
        padding: 0;
        padding-bottom: 2rem;
    }

    .galeria-scroll {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 40rem);
        gap: 2rem;
        padding: 0;
        width: 95%;
        max-width: 100%;
        /* Centrado y limitado */
        overflow: unset;
    }

    .galeria-scroll img {
        height: 100%;
    }

    .galeria-scroll>div {
        width: 100%;
        height: 100%;
        scroll-snap-align: unset;
    }

    .galeria-scroll>div:nth-child(1) {
        grid-column: span 2 / span 2;
    }

    .galeria-scroll>div:nth-child(2) {
        grid-column: span 2 / span 2;
        grid-column-start: 1;
        grid-row-start: 2;
    }

    .galeria-scroll>div:nth-child(3) {
        grid-column: span 2 / span 2;
        grid-row: span 2 / span 2;
        grid-column-start: 3;
        grid-row-start: 1;
    }

    .galeria-scroll>div:nth-child(4) {
        grid-column: span 4 / span 4;
        grid-row-start: 3;
    }

    .galeria-scroll>div:nth-child(5) {
        grid-column: span 2 / span 2;
        grid-row-start: 4;
    }

    .galeria-scroll>div:nth-child(6) {
        grid-column: span 2 / span 2;
        grid-column-start: 3;
        grid-row-start: 4;
    }

    .galeria-scroll>div:nth-child(7) {
        grid-column: span 2 / span 2;
        grid-row: span 2 / span 2;
        grid-row-start: 5;
    }

    .galeria-scroll>div:nth-child(8) {
        grid-column: span 2 / span 2;
        grid-column-start: 3;
        grid-row-start: 5;
    }

    .galeria-scroll>div:nth-child(9) {
        grid-column: span 2 / span 2;
        grid-column-start: 3;
        grid-row-start: 6;
    }

    .galeria-scroll>div:nth-child(10) {
        grid-column: span 2 / span 2;
        grid-row-start: 7;
    }

    .galeria-scroll>div:nth-child(11) {
        grid-column: span 2 / span 2;
        grid-column-start: 3;
        grid-row-start: 7;
    }

    .galeria-scroll>div:nth-child(12) {
        grid-column: span 2 / span 2;
        grid-row-start: 8;
    }

    .galeria-scroll>div:nth-child(13) {
        grid-column: span 2 / span 2;
        grid-column-start: 1;
        grid-row-start: 9;
    }

    .galeria-scroll>div:nth-child(14) {
        grid-column: span 2 / span 2;
        grid-row: span 2 / span 2;
        grid-column-start: 3;
        grid-row-start: 8;
    }

    .galeria-scroll>div:nth-child(15) {
        grid-column: span 4 / span 4;
        grid-row-start: 10;
    }



}