/**********TIPOGRAFIAS**********/

@font-face {
    font-family: 'Gotham';
    src: url(../assets/font/Gotham/Gotham-Thin.otf);
    /*format('otf');*/
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    /* src: url(../assets/font/Gotham/Gotham-Medium.otf); format('otf'); */
    src: url(../assets/font/Gotham/Gotham-Book.otf);
    /*format('otf');*/
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url(../assets/font/Gotham/Gotham-Bold.otf);
    /*format('otf');*/
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url(../assets/font/Gotham/Gotham-Ultra.otf);
    /*format('otf');*/
    font-weight: 800;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    /* border: 1px solid red; */
}

:root {
    --primary-color: #e31525;
    --secondary-color: #ffffff;
    --tertiary-color: #000000;
}


/******** ESTILOS GENERALES *******/
*::selection {
    background-color: var(--primary-color);
    color: #d1d1d1;
}

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

h1 {
    font-family: 'Gotham', sans-serif;
    font-weight: 800;
    /* font-size: 1.25rem; */
    /* padding: 1.5rem 2rem 0.5rem 2rem; */
}

h2 {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    /* font-size: 1rem; */
    /* padding: 0.5rem 2rem; */
}

p {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
}

.subtitle {
    font-family: 'Gotham', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.subtitle-red {
    font-family: 'Gotham', sans-serif;
    font-weight: 100;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    /* margin: 5rem 0 0 0; */
    margin: 3.5rem 0;
}

.enfasis {
    font-weight: 700;
    color: var(--tertiary-color);
}

/*Enlaces y botones*/
/* a.btn {
    text-decoration: none;
    width: 20rem;
    height: 3.10rem;
    margin: 1rem 1.5rem 1rem auto;
    font-size: 1rem;
    font-weight: bold;
    line-height: 2;
    border-radius: 50px;
} */

a.btn {
    text-decoration: none;
    width: 8rem;
    height: 2.5rem;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.8;
    border-radius: 50px;
}

.btn-red {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-red:hover {
    border: 1px solid var(--primary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-white {
    border: 1px solid var(--primary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/*******VER******/
.font-white {
    color: var(--secondary-color);
}

.center {
    text-align: center;
}

.none {
    display: none;
}



/**********HEADER - NAVBAR - IMAGEN HERO**********/

.hero-logo {
    display: block;
    width: 80%;
}

.hero-logo img {
    display: block;
    width: 75%;
}



/* Navbar */
.bg-nav {
    width: 100%;
    height: 80px;
    /* position: sticky; */
    /* top: 0.15; */
    background-image: linear-gradient(to bottom, var(--secondary-color), transparent);

}

.menu-nav {
    margin-top: 0;
}

.logo-box {
    display: flex;
    width: 300px;
}

.navbar-items {
    /* background-color: #ededed; */
    background-color: #ffffff;
    /* background-color: #d1d1d1; */
    /* background-image: linear-gradient(to bottom, var(--secondary-color), transparent); */
    width: 100%;
}

.dropdown-menu {
    margin-bottom: 0;
}

.dropdown-item {
    font-family: 'Gotham', sans-serif;
    margin-top: 0;
    margin-bottom: 0.5rem;
    width: 100%;
    padding: 0;
    font-size: 0.90rem;
    font-weight: 400;
    text-align: center;
}

/*Líneas separatorias*/
.nav-right-separate {
    border-bottom: 2px solid var(--primary-color);
    width: 95%;
    margin: 0 auto;
}

.hero-img {
    background-image: url(../assets/safeway_mob-hero.png);
    background-position: 80% 0%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 50vh;
}

.hero-text-box {
    color: #ffffff;
    height: inherit;
    /* padding: 1.5rem; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-box .hero-text h1 {
    font-size: 1.5rem;
    padding: 1rem 0.25rem 1rem 1.5rem;
}

.hero-text-box .hero-text h2 {
    font-size: 1rem;
    padding: 1rem 1.5rem;
}

.hero-text-box .hero-btn {
    padding-left: 1.5rem;
}


/* .hero-text-box .hero-text,
.hero-text-box .hero-btn {
    width: 95%;
} */








/* Menú de navegación */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* .navbar-items{
    width: 100%;
} */
.nav-link {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    text-align: center;
    line-height: 2;
}

.dropdown-menu {
    border: none;
    /* background-color: #ededed; */
    background-color: #ffffff;
    /* margin-left: 45%; */
}

.dropdown-item {
    width: 100%;
    /* line-height: 1.6; */
    font-size: 0.90rem;
    text-align: center;
    /* white-space: normal; */
}

.dropdown-item:active {
    color: var(--secondary-color);
    text-decoration: none;
    background-color: var(--primary-color);
}
























/* .hero-logo {
    display: block;
    width: 80%;
}

.hero-logo img {
    display: block;
    width: 75%;
}

.logo-box {
    display: flex;
    width: 300px;
} */


/* Menú de navegación */
/* .navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
} */
/* 
.nav-link {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    text-align: center;
    line-height: 2;
}

.navbar-items {
    background-color: #ededed;
    width: 100%;
}

.dropdown-menu {
    border: none;
    background-color: #ededed;
    margin-bottom: 0;

} */

/* .dropdown-item {
    font-family: 'Gotham', sans-serif;
    margin-top: 0;
    margin-bottom: 0.5rem;
    width: 100%;
    padding: 0;
    font-size: 0.90rem;
    font-weight: 400;
    text-align: center;
}

.dropdown-item:active {
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--secondary-color);
} */

/*Líneas separatorias*/
/* .nav-right-separate {
    border-bottom: 2px solid var(--primary-color);
    width: 95%;
    margin: 0 auto;
} */

/******** HEADER - ENCABEZADO DEL SITIO *******/

/* .hero-img {
    width: 100%;
    height: 100%; */

/* background-position: 100%;
    background-repeat: no-repeat;
    background-position: 85% 0%;
    background-repeat: no-repeat;
    background-size: cover;
} */
/* 
.hero-text-box {
    height: 80%;
    padding: 3rem;
    color: #ffffff;

} */

/* .hero-text-box .hero-text h2 {
    padding: 1rem 0;
    font-size: 1rem;
} */

/* .hero-text-box .hero-btn {
    display: flex;
    flex-direction: row;
} */



/*PRUEBO PONER POSITION ABSOLUTE LAS FLAGS*/

/* Cambio de idioma */
.lang-option {
    position: absolute;
    top: 1.5%;
    right: 0;
}

.lang-option a {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.lang-option img {
    /* background-color: var(--secondary-color); */
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}




/***********QUIENES SOMOS**********/

#quienes-somos {
    background-color: #ededed;
    height: auto;
}

.quienes-somos {
    display: flex;
    height: 100%;
    align-items: center;
}

.quienes-somos-box {
    padding: 2.5rem;
}

.quienes-somos-box p {
    padding-top: 1.5rem;
    font-size: 0.75rem;
    line-height: 2;
}

.pilares-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    /* height: auto; */
    margin-bottom: 3rem;
}

.pilares-box {
    position: static;
    height: 150px;
    border: 1px solid var(--tertiary-color);
    display: grid;
    /* align-items: center; */
    grid-template-areas: "numero titulo titulo""numero icono texto";
    grid-template-columns: 25% 25% auto;
    grid-template-rows: 30% 70%;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.pilares-box h2 {
    margin: 0;
    position: static;
    grid-area: titulo;
    /* font-family: 'Gotham', sans-serif;
    font-weight: 800; */
    font-size: 2rem;
    /* margin-top: 0.5rem; */
    /* position: absolute; */
    color: var(--primary-color);
    transform: rotate(0deg);
    /* gira el texto en sentido contrario a las manecillas del reloj */
    /* height: 60px;
    width: 150px;
    right: -174%;
    bottom: 7%; */
    /* height: 0px;
    right: 25%;
    bottom: 58%; */
    font-size: 1.5rem;
    text-align: center;
}

.pilares-box .numero {
    margin: 0;
    color: var(--secondary-color);
    align-self: stretch;
    background-color: var(--primary-color);
    grid-area: numero;
    font-family: 'Gotham', sans-serif;
    font-weight: 800;
    font-size: 5rem;
    padding: 0;
    /* border: 1px solid var(--primary-color); */
    border-right: 1px solid var(--primary-color);
    height: 100%;
    text-align: center;
    ;
}

.pilares-box .text {
    margin: 0;
    grid-area: texto;
    line-height: 1.6;
    font-weight: light;
    font-size: 0.65rem;
    justify-self: center;
    align-self: center;
    /* align-self: center; */
    padding: 0 0.75rem;
}

.pilares-box img {
    grid-area: icono;
    display: block;
    width: 60%;
    margin: 0 auto;
    align-self: center;
    /* margin-left: 1.5rem;
    margin-top: 1.5rem; */
}

.pilares-box p {
    padding: 0
}






/***********DONDE ESTAMOS**********/
#donde-estamos {
    position: relative;
    width: 100%;
    height: 100%;
    /* background-image: url(../assets/donde-estamos/safeway_web-mapa.png);
    background-size: 80%;
    background-repeat: no-repeat;
    filter: opacity(0.5); */
    z-index: -1;
}

#donde-estamos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../assets/donde-estamos/safeway_web-mapa.png);
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    filter: opacity(0.4);
    z-index: -1;
}


.donde-estamos {
    position: static;
    height: inherit;
}

.donde-estamos div {
    padding: 3rem 2.5rem 3rem 1.75rem;
}

/* .img-mapa {
    width: 25%;
    height: 25%;
}

.img-mapa img {
    width: 50%;
} */




/***********CLIENTES Y PARTNERS**********/


.clientes {
    width: 100%;
    margin: 2rem auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.clientes img {
    display: block;
    margin: 0 auto;
    width: 50%;
}

#partners {
    padding-bottom: 3rem;
}

#partners h2 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.partners {
    /* min-height: 180px; */
    margin-bottom: 2.5rem;
}

#brands-carousel-2 .carousel-indicators button {
    width: 0.30rem;
    height: 0.30rem;
    border-radius: 50%;
}

#brands-carousel-2 .partners {
    min-height: 210px;
    height: 100%;
}

.partners img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.partners.diferencial img {
    width: 50%;
}





/******************SERVICIOS************************/


#servicios {
    background-color: #ededed;
    padding: 2rem 0;
}

#servicios .subtitle {
    /* text-align: center; */
    padding: 1.5rem 0 1.5rem 2.5rem;
}

.btn-collapse {
    margin: 0.5rem auto;
    padding: 0;
    /* width: 300px; */
    max-width: 400px;
    width: 95%;
    height: 75px;
    background-color: #d1d1d1;
    border: 1px solid #d1d1d1;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    display: grid;
    grid-template-areas:
        "flecha-servicios img-servicios"
        "texto-servicios img-servicios";
    grid-template-columns: 60% 40%;
    grid-template-rows: 30% 70%;
}

.btn-collapse.btn-check:checked+.btn,
.btn-collapse.btn.active,
.btn-collapse.btn.show,
.btn-collapse.btn:first-child:active,
.btn-collapse:not(.btn-check)+.btn:active {
    /* color: green; */
    background-color: #ededed;
    border-color: #d1d1d1;
}


.btn-check:checked+.btn:focus-visible,
.btn.active:focus-visible,
.btn.show:focus-visible,
.btn:first-child:active:focus-visible,
:not(.btn-check)+.btn:active:focus-visible {
    box-shadow: none;
}


.btn-collapse .img-flecha {
    grid-area: flecha-servicios;
    margin-left: 0.75rem;
    width: 10%;
    height: auto;
    align-self: flex-end;
    /* justify-self: center; */
}

.btn-collapse h3 {
    margin: 0;
    grid-area: texto-servicios;
    font-weight: 700;
    font-size: 13px;
    height: auto;
    text-align: start;
    align-self: center;
    margin-left: 0.75rem;
    padding-bottom: 0.75rem;
}

.btn-collapse .img-icono-servicio {
    grid-area: img-servicios;
    width: auto;
    height: 100%;
}

.card-body {
    margin: 0.75rem auto;
    padding: 1rem;
    width: 300px;
    font-size: 12px;
}




/***********CONTACTO**********/


.contact-section {
    background-color: var(--tertiary-color);
    padding: 2.5rem 0.5rem;
}

.form-title {
    padding: 0.5rem 0 1.5rem 0;
}

.contact-section .form-control {
    background-color: transparent;
    color: #fff;
    border-radius: 1.375rem;
}

.form-control::placeholder {
    color: rgb(231, 210, 210);
    font-family: 'Gotham', sans-serif;
    font-size: 0.75rem;
}

.form-control:focus {
    /* border-color: transparent; */
    border-color: var(--primary-color);
    /* border-bottom: 1px solid #d1d1d1; */
    /* background-image: linear-gradient( var(--primary-color), #000000,  transparent);
background-image: linear-gradient( var(--primary-color), #000000,  transparent, var(--primary-color));
background-image: linear-gradient(#000000,transparent, var(--primary-color),transparent, #000000); */
    /* color: #000000; */
    box-shadow: none;
}



/***********TRABAJA CON NOSOTROS**********/

.equipo-box {
    height: auto;
    padding: 3rem 0;
    background-image: url(../assets/safeway_mob-trabaja.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100%;
    /* background-color: var(--primary-color);
    color: var(--secondary-color); */
}

.equipo-box article {
    color: #d1d1d1;
    width: 100%;
    padding: 2rem 3rem;
}




/******** ÍCONO DE VOLVER ARRIBA *******/

.volver-btn {
    /* position: relative; */
    /* Cambia la posición a "relative" para poder usar "top" */
    /* height: 50px; */
    /* Ajusta la altura según el tamaño de la imagen */
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 0;
    width: 45px;
    background-color: transparent;
    z-index: 9999;
}

.volver-btn-container {
    position: sticky;
    top: 0;
    /* Cambia el valor según el lugar donde quieras que se fije */
    width: 100%;
}

.volver-btn img {
    display: block;
    width: 35px;
    height: 35px;
}







/***********FOOTER**********/

footer {
    min-height: 550px;
    background-color: #e31525;
}

.footer-container {
    height: auto;
    background-image: url(../assets/safeway_mob-footer.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 97%;
}

.footer-boxes {
    width: 100%;
    /* height: 150px; */
    margin: 0 auto;
    padding: 1.5rem 0;
    color: #d1d1d1;
    display: grid;
    grid-template-areas:
        "footer-logo footer-logo"
        "footer-indice footer-contacto"
        "footer-redes footer-redes";
    grid-template-columns: 45% 48%;
    grid-template-rows: repeat(3, 1fr);
    justify-items: center;
    border-bottom: 1px solid #d1d1d1;
}

.footer-boxes .footer-boxes-logo {
    grid-area: footer-logo;
    width: 100%;
    height: auto;
}

.footer-boxes .footer-indice {
    grid-area: footer-indice;
}

.footer-boxes .footer-contacto {
    grid-area: footer-contacto;
}

.footer-boxes .footer-redes {
    grid-area: footer-redes;
}


.footer-boxes .footer-boxes-logo img {
    margin: 0 auto;
    display: block;
    width: 65%;
}

/* .footer-boxes .separador {
    border-left: 1px solid #d1d1d1;
} */

.footer-container .separador a {
    color: #d1d1d1;
    text-decoration: none;
}

.footer-boxes h4 {
    color: #ededed;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 0.5rem;
}

.footer-boxes h5 {
    font-size: 0.85rem;
    margin-top: -0.5rem;
    padding-left: 0.5rem;
}

.footer-redes {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-redes a img {
    display: block;
    margin: 0 auto;
    width: 50px;
}

footer p {
    font-size: 0.9rem;
    padding: 1.5rem;
    margin-left: 0;
}










@media (min-width: 400px) and (orientation:landscape) {
    .hero-img {
        width: 100%;
        height: 100%;
        padding: 3rem 0;
    }
}





/* @media (min-width: 460px) { */
@media (min-width: 568px) {

    /***********QUIENES SOMOS**********/
    .pilares-box .text {
        font-size: 0.80rem;
    }


    .pilares-box img {
        width: 40%;
    }



    .partners {
        min-height: 200px;
        margin-bottom: 2.5rem;
    }

    /* #brands-carousel-2 .carousel-indicators button {
    width: 0.30rem;
    height: 0.30rem;
    border-radius: 50%;
} */

    #brands-carousel-2 .partners {
        min-height: 250px;
        height: 100%;
    }

    .partners img {
        width: 75%;
    }

    .partners.diferencial img {
        width: 50%;
    }

}




@media (min-width: 700px) and (orientation: landscape) {
    .hero-img {
        width: 100%;
        height: 100%;
        padding: 3rem 0;
    }
}






@media (min-width: 768px) {


    .hero-img {
        width: 100%;
        height: 35vh;
        background-size: cover;
        background-position: 100% 0%;
        background-repeat: no-repeat;
        /* background-size: cover; */
    }

    /* .navbar-items {
        background-color: transparent;
        background-color: #d1d1d1;
        background-image: linear-gradient(to bottom, var(--secondary-color), transparent);
        width: 100%;
    } */

    .navbar-items {
        width: 100%;
        display: flex;
        /* justify-content: space-between; */
        align-items: center;
        justify-content: space-evenly;
    }

    /* .nav-right-separate {
        border-right: 1px solid var(--primary-color);
        border-bottom: 0;
        width: 25%;
        height: 45px;
    } */















    /* .hero-img {
        height: 50vh;

    }


    .hero-text-box {
        height: 70%;
        padding: 2rem;
        padding-left: 2.75rem;
        margin-top: 1rem;
        margin-left: 2rem;
        width: 70%;
    } */




    /* CONTENEDORES ACOMODADOS CON GRIDS - BORRAR SI NO SIRVE!!!  */

    .pilares-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        height: 100%;
        margin-bottom: 0;
    }

    .pilares-box {
        position: relative;
        height: 300px;
        border: 1px solid var(--tertiary-color);
        display: grid;
        align-items: center;
        grid-template-areas: "numero titulo""texto titulo""icono titulo";
        grid-template-columns: 2fr 10%;
        grid-template-rows: repeat(3, 1fr);
        width: 250px;
    }

    .pilares-box h2 {
        position: absolute;
        grid-area: titulo;
        /* font-family: 'Gotham', sans-serif;
font-weight: 800; */
        font-size: 2.50rem;
        margin-top: 0;
        /* position: absolute; */
        color: var(--primary-color);
        transform: rotate(-90deg);
        /* gira el texto en sentido contrario a las manecillas del reloj */
        height: 40px;
        width: 135px;
        right: -157%;
        bottom: 15%;
        /* height: 0px;
right: 25%;
bottom: 58%; */
    }

    .titulo-girado.subtitle {
        font-size: 2 .55rem;
        letter-spacing: 0.25rem;
        /* right: -90%; */
    }

    .pilares-box .numero {
        color: var(--tertiary-color);
        grid-area: numero;
        background-color: transparent;
        font-family: 'Gotham', sans-serif;
        font-weight: 800;
        font-size: 5rem;
        border: none;
        text-align: start;
    }

    .pilares-box .text {
        grid-area: texto;
        line-height: 1.2;
        font-weight: bold;
        font-size: 0.85rem;
        align-self: center;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    }

    .pilares-box img {
        grid-area: icono;
        display: block;
        width: 40px;
        margin-left: 1.5rem;
        margin-top: -2rem;
    }

    .pilares-box p {
        padding: 0 2rem 0 2rem;
    }


    #brands-carousel-2 .partners {
        min-height: 150px;
        height: 100%;
    }

    .partners.diferencial img {
        width: 25%;
    }









    /***********SERVICIOS**********/
    #servicios {
        background-color: #d1d1d1;
        margin-bottom: 6rem;
        padding-bottom: 1.5rem;
    }

    #servicios .subtitle {
        margin-left: 1rem;
    }

    #servicios .servicios-nav {
        margin-right: 1.5rem;
    }

    #servicios .box-services {
        /* margin: auto; */
        width: 100%;
        max-width: 1500px;
        /* display: flex;
    flex-direction: column;
    justify-content: space-around; */
    }

    .box-service {
        background-color: #ededed;
        margin: 0 auto;
        margin-bottom: 2rem;
        padding: 2.5rem 1rem 1.5rem 2rem;
        border: 3px solid var(--primary-color);
        border-radius: 35px;
        max-width: 1370px;
        font-size: 0.85rem;
        /* justify-content: space-evenly; */
    }

    /* .box-service p, .quienes-somos-box p{
    line-height: 1.2;
    } */

    .box-service picture img {
        width: 100%;
    }

    /******** ÍCONO DE WHATSAPP *******/

    .wsp-contact {
        width: 35px;
        height: 35px;
        position: fixed;
        right: 1rem;
        bottom: 1rem;
    }

    .wsp-contact img {
        display: block;
        width: 100%;
        height: auto;
    }

    /******** ÍCONO DE VOLVER ARRIBA *******/

    .volver-btn {
        /* position: relative; */
        /* Cambia la posición a "relative" para poder usar "top" */
        /* height: 50px; */
        /* Ajusta la altura según el tamaño de la imagen */
        display: none;
        position: fixed;
        bottom: 3rem;
        right: 1rem;
        width: 35px;
        background-color: transparent;
        z-index: 9999;
    }



    .volver-btn img {
        display: block;
        width: 35px;
        height: 35px;
    }




    .footer-boxes {
        grid-template-rows: repeat(3, auto);
    }
}



@media (min-width: 768px) and (orientation: landscape) {
    .hero-img {
        width: 100%;
        height: 100%;
        padding: 3rem 0;
    }
}




















@media (min-width: 992px) {

    /*Tipografías y tamaños de textos*/
    h1 {
        font-size: 2.5rem;
        padding-bottom: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    p {
        line-height: 1.2;
        font-size: 1rem;
    }

    .subtitle {
        font-size: 3rem;
    }

    .subtitle-red {
        font-size: 2rem;
        margin: 5rem 0 0 0;
    }

    /*Contenedores*/
    .contenedor {
        max-width: 1420px;
        margin-left: auto;
        margin-right: auto;
    }


    /**********HEADER - NAVBAR - IMAGEN HERO**********/

    /* .hero-logo {
        width: 80%;
    } */

    .hero-logo img {
        margin: 2rem;
        width: 100%;
    }

    /* Navbar */
    .bg-nav {
        width: 97%;
        height: 100px;
        background-image: linear-gradient(to bottom, var(--secondary-color), transparent);
    }

    .navbar-items {
        background-color: transparent;
        /* width: 100%; */
        display: flex;
        /* justify-content: space-between; */
        align-items: center;
        justify-content: space-evenly;
    }

    .nav-link {
        padding: 0;
        font-size: 1rem;
        font-weight: 700;

        /* font-weight: bolder; */
        /* text-align: center; */
    }

    .nav-link:hover {
        color: var(--primary-color);
        font-weight: 700;
    }

    .dropdown-menu {
        padding: 0;
        border: none;
        border-radius: 0;
        background-color: #fff9;
    }

    .dropdown-menu[data-bs-popper] {
        /* left: -30%; */
        left: 0;
        margin-top: 0;
        width: 100%;
    }

    .dropdown-item {
        /* width: 100%; */
        padding: 0.75rem 0.25rem;
        /* font-size: 0.90rem; */
        /* font-weight: 400;
        text-align: center; */
        white-space: normal;
    }

    .dropdown-item:hover {
        color: var(--primary-color);
        background-color: var(--secondary-color);
    }

    .dropdown-item:active {
        color: var(--secondary-color);
        text-decoration: none;
        background-color: var(--primary-color);
    }

    /*Líneas separatorias*/
    .nav-right-separate {
        border-right: 1px solid var(--primary-color);
        border-bottom: 0;
        width: 25%;
        height: auto;
    }

    .nav-top-separate {
        border-top: 1.5px solid var(--primary-color);
        margin: auto;
    }

    /* Hero imagen y texto */
    .hero-img {
        width: 100%;
        height: 40vh;
        background-image: url(../assets/safeway_web-hero.png);
        background-size: contain;
        background-position: 100% 0%;
        background-repeat: no-repeat;
        /* background-size: cover; */
    }

    .hero-text-box {
        color: #000000;
        padding-left: 2.75rem;
        margin-left: 2rem;
        width: 60%;
    }


    .hero-text-box .hero-text h1 {
        font-size: 2.25rem;
        padding: 1rem 0.25rem 1rem 1.5rem;
    }

    .hero-text-box .hero-text h2 {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /***********QUIENES SOMOS**********/

    #quienes-somos {
        background-color: #ededed;
        /* height: 500px; */
        height: auto;
    }

    .quienes-somos {
        display: flex;
        height: 100%;
        align-items: center;
    }

    .quienes-somos-box {
        padding: 2.5rem;
        padding-left: 1.55rem;
    }

    .quienes-somos-box p {
        padding-top: 1.5rem;
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0;
    }


    /* CONTENEDORES ACOMODADOS CON GRIDS - BORRAR SI NO SIRVE!!!  */

    .pilares-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        height: 400px;
        margin-bottom: 0;
    }

    .pilares-box {
        position: relative;
        height: auto;
        border: 1px solid var(--tertiary-color);
        display: grid;
        align-items: center;
        grid-template-areas: "numero titulo""texto titulo""icono titulo";
        grid-template-columns: 2fr 10%;
        grid-template-rows: repeat(3, 1fr);
        width: 250px;
    }

    .pilares-box h2 {
        position: absolute;
        grid-area: titulo;
        /* font-family: 'Gotham', sans-serif;
    font-weight: 800; */
        font-size: 3.25rem;
        margin-top: 0;
        /* position: absolute; */
        color: var(--primary-color);
        transform: rotate(-90deg);
        /* gira el texto en sentido contrario a las manecillas del reloj */
        height: 60px;
        width: 150px;
        right: -174%;
        bottom: 7%;
        /* height: 0px;
    right: 25%;
    bottom: 58%; */
    }

    .titulo-girado.subtitle {
        font-size: 3.25rem;
        letter-spacing: 0.20rem;
        /* right: -90%; */
    }

    .pilares-box .numero {
        color: var(--tertiary-color);
        grid-area: numero;
        background-color: transparent;
        font-family: 'Gotham', sans-serif;
        font-weight: 800;
        font-size: 6rem;
        border: none;
        text-align: start;
    }

    .pilares-box .text {
        grid-area: texto;
        line-height: 1.2;
        font-weight: bold;
        font-size: 0.85rem;
        align-self: center;
        padding: 0.5rem 1.5rem;
    }

    .pilares-box img {
        grid-area: icono;
        display: block;
        width: 40px;
        margin-left: 1.5rem;
        margin-top: 1.5rem;
    }

    .pilares-box p {
        padding: 0 2rem 0 2rem;
    }




    @media (min-width: 992px) and (orientation: landscape) {
        .hero-img {
            width: 100%;
            height: 100%;
            padding: 3rem 0;
        }
    }





    /***********DONDE ESTAMOS**********/
    #donde-estamos {
        position: relative;
        width: 100%;
        height: 60vh;
        background-image: url(../assets/donde-estamos/safeway_web-42.png);
        background-size: 100%;
        background-repeat: no-repeat;
        z-index: -1;
    }

    #donde-estamos::before {
        content: "";
        position: absolute;
        top: 0;
        left: 20%;
        right: 0;
        bottom: 0;
        background-image: url(../assets/donde-estamos/safeway_web-mapa.png);
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        filter: opacity(1);
        z-index: -1;
    }


    .donde-estamos {
        position: static;
        height: inherit;
    }

    .donde-estamos div {
        padding: 3rem 2.5rem 3rem 1.75rem;
    }

    .img-mapa {
        width: 25%;
        height: 25%;
    }

    .img-mapa img {
        width: 50%;
    }





    #brands-carousel-2 .partners {
        padding-top: 3rem;
        min-height: 180px;
        height: 100%;
    }






    /***********DONDE ESTAMOS**********/
    /* #donde-estamos {
        position: static;
        width: 100%;
        height: 95vh;
        background-image: url(../assets/donde-estamos/safeway_web-42.png);
        background-size: 100%;
        background-repeat: no-repeat;
        z-index: 1;
    }

    #donde-estamos::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: none;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        filter: opacity(1);
        z-index: 1;
    }

    .donde-estamos {
        position: relative;
        height: inherit;

    }

    .donde-estamos div {
        padding: 3rem 2.5rem 3rem 1.75rem;
    }

    .img-mapa {
        width: 60%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 37%;
        z-index: 3;
    }

    .img-mapa img {
        width: 80%;
    } */


    /***********TRABAJA CON NOSOTROS**********/

    .equipo-box {
        height: 300px;
        padding: 1rem 0;
        background-image: url(../assets/safeway_web-trabaja.jpg);
        background-size: cover;
    }

    .equipo-box article {
        width: 60%;
        margin-left: 2rem;
        padding: 0 3rem;
        color: #ffffff;
    }

    .equipo-box article a {
        margin-top: 1rem;
    }



    /******** ÍCONO DE VOLVER ARRIBA *******/

    .volver-btn {
        /* position: relative; */
        /* Cambia la posición a "relative" para poder usar "top" */
        /* height: 50px; */
        /* Ajusta la altura según el tamaño de la imagen */
        display: none;
        position: fixed;
        bottom: 4rem;
        right: 1rem;
        width: 45px;
        background-color: transparent;
        z-index: 9999;
    }

    .volver-btn-container {
        position: sticky;
        top: 0;
        /* Cambia el valor según el lugar donde quieras que se fije */
        width: 100%;
    }

    .volver-btn img {
        display: block;
        width: 45px;
        height: 45px;
    }


    /******** ÍCONO DE WHATSAPP *******/

    .wsp-contact {
        width: 45px;
        height: 45px;
        position: fixed;
        right: 1rem;
        bottom: 1rem;
    }

    .wsp-contact img {
        display: block;
        width: 100%;
        height: auto;
    }


    /***********FOOTER**********/

    footer {
        min-height: fit-content;
        height: 250px;
        background-color: #e31525;
    }

    .footer-container {
        height: 100%;
        background-image: url(../assets/safeway_web-footer.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .footer-boxes {
        width: 90%;
        /* height: 150px; */
        margin: 0 auto;
        padding: 1.5rem 0;
        color: #d1d1d1;
        grid-template-areas:
            "footer-logo footer-indice footer-contacto footer-redes";
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        border-bottom: 1px solid #d1d1d1;
    }

    .footer-boxes .footer-boxes-logo {
        width: 100%;
        height: auto;
    }

    .footer-boxes .footer-boxes-logo img {
        width: 80%;
    }

    .footer-boxes .separador {
        border-left: 1px solid #d1d1d1;
    }

    .footer-container .separador a {
        color: #d1d1d1;
        text-decoration: none;
    }

    .footer-boxes h4 {
        color: #ededed;
        font-size: 1rem;
        font-weight: bold;
        padding-left: 0.5rem;
    }

    .footer-boxes h5 {
        font-size: 0.85rem;
        margin-top: -0.5rem;
        padding-left: 0.5rem;
    }

    .footer-redes {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .footer-redes a img {
        display: block;
        width: 50px;
    }

    footer p {
        font-size: 0.9rem;
        padding: 1.5rem 0;
        margin-left: 5rem;
    }


}





















@media (min-width: 1200px) {

    a.btn {
        text-decoration: none;
        width: 12.5rem;
        height: 3.1rem;
        /* margin: 1rem 1.5rem 1rem auto; */
        margin: 1rem 1.5rem 1rem 0;
        font-size: 1rem;
        font-weight: bold;
        line-height: 2;
        border-radius: 50px;
    }












    /**********HEADER - NAVBAR - IMAGEN HERO**********/

    .hero-logo {
        display: block;
        width: 80%;
    }

    .hero-logo img {
        display: block;
        margin: 2rem;
        width: 100%;
    }

    /* Navbar */
    .bg-nav {
        height: 75px;
        /* position: sticky; */
        /* top: 0.15; */
        background-image: linear-gradient(to bottom, transparent, var(--secondary-color), var(--secondary-color), transparent);
    }

    .logo-box {
        display: flex;
    }

    .navbar-items {
        width: 100%;
        display: flex;
        /* justify-content: space-between; */
        align-items: center;
        justify-content: space-evenly;
    }

    .nav-link {
        padding: 0;
        font-size: 1rem;
        font-weight: bolder;
        text-align: center;
    }

    .nav-link:hover {
        color: var(--primary-color);
        font-weight: bolder;
    }

    .dropdown-menu {
        padding: 0;
        border: none;
        border-radius: 0;
        background-color: #fff9;
    }

    .dropdown-menu[data-bs-popper] {
        /* left: -30%; */
        left: 0;
        margin-top: 0;
        width: 100%;
    }

    .dropdown-item {
        width: 100%;
        padding: 0.75rem 0.25rem;
        font-size: 0.90rem;
        font-weight: 400;
        text-align: center;
        white-space: normal;
    }

    .dropdown-item:hover {
        color: var(--primary-color);
        background-color: var(--secondary-color);
    }

    .dropdown-item:active {
        color: var(--secondary-color);
        text-decoration: none;
        background-color: var(--primary-color);
    }

    /*Líneas separatorias*/
    .nav-right-separate {
        border-right: 1px solid var(--primary-color);
        border-bottom: 0;
        width: 25%;
        height: auto;
    }

    .nav-top-separate {
        border-top: 1.5px solid var(--primary-color);
        margin: auto;
    }

    /* Hero imagen y texto */
    .hero-img {
        width: 100%;
        height: 65vh;
        background-image: url(../assets/safeway_web-hero.png);
        background-size: contain;
        background-position: 100% 0%;
        background-repeat: no-repeat;
    }

    .hero-text-box {
        width: 60%;
        padding: 2rem;
        padding-left: 2.75rem;
        margin-top: 1rem;
        margin-left: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    /* .hero-text-box .hero-text,
    .hero-text-box .hero-btn {
        width: 50%;
    } */

    /* Cambio de idioma */
    /* .lang-option {
        display: block;
    } */


    .hero-text-box .hero-text h1 {
        font-size: 3rem;
        padding: 1rem 0.25rem 1rem 1.5rem;
    }

    .hero-text-box .hero-text h2 {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
    }



    .lang-option a {
        /* display: block; */
        width: 25px;
        height: 25px;
        margin-right: 1rem;
    }

    .lang-option img {
        background-color: var(--secondary-color);
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }



















    /* .hero-img {
        height: 70vh;
    }

    .hero-text-box {
        height: auto;
        padding: 2rem;
        padding-left: 2.75rem;
        margin-top: 3%;
        margin-left: 2rem;
        width: 50%;
    } */


    /***********DONDE ESTAMOS**********/
    #donde-estamos {
        height: 95vh;
    }


    /***********CLIENTES Y PARTNERS**********/
    .box-brands {
        height: 200px;
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 3.5rem;
    }

    .clientes {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .clientes img {
        width: 100%;
    }

    #brands-carousel-2 .carousel-indicators button {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
    }



    #brands-carousel-2 .partners {
        min-height: 200px;
        height: 100%;
    }

    .partners img {
        width: 80%;
    }

    .partners.diferencial img {
        width: 20%;
    }


    /***********SERVICIOS**********/
    #servicios {
        background-color: #d1d1d1;
        margin-bottom: 6rem;
        padding-bottom: 1.5rem;
    }

    #servicios .subtitle {
        margin-left: 2rem;
    }

    #servicios .servicios-nav {
        margin-right: 1.5rem;
    }

    #servicios .servicios-nav a {
        font-family: 'Gotham', sans-serif;
        font-weight: 400;
        line-height: 1.2;
    }

    #servicios .servicios-nav a:hover {
        font-weight: 400;
    }

    #servicios .box-services {
        /* margin: auto; */
        width: 100%;
        max-width: 85%;
        /* display: flex;
flex-direction: column;
justify-content: space-around; */
    }

    .box-service {
        background-color: #ededed;
        margin: 0 auto;
        margin-bottom: 2rem;
        padding: 2.5rem 1rem 1.5rem 2rem;
        border: 3px solid var(--primary-color);
        border-radius: 35px;
        max-width: 1370px;
        font-size: 1rem;
        /* justify-content: space-evenly; */
    }

    /* .box-service p, .quienes-somos-box p{
line-height: 1.2;
} */

    .box-service picture img {
        width: 100%;
    }

    /***********CONTACTO**********/

    .contact-section {
        height: 100vh;
    }

    .form-title {
        font-size: 3rem;
        padding: 3rem 0;
    }

    .contact-section .logo-contacto {
        height: inherit;
        background-image: url(../assets/logos/safeway_web-mitad.png);
        background-size: 27%;
        background-position: 100% 0;
        background-repeat: no-repeat;
    }

    .contact-section .form-control {
        background-color: transparent;
        color: #fff;
        border-radius: 1.375rem;
    }

    .form-control::placeholder {
        color: rgb(231, 210, 210);
        font-weight: 400;
        padding: 0 0.5rem;
        font-size: 1rem;
    }


    .contact-form textarea {
        height: 15rem;
        padding: 1rem 0.5rem;
        resize: none;
    }

    input,
    button[type="submit"] {
        display: block;
        height: 4rem;
        border-radius: 1.375rem
    }





    /***********TRABAJA CON NOSOTROS**********/

    .equipo-box {
        height: 18.75rem;
        padding: 3rem 0;

    }






    /* ANIMACIONES */
    @keyframes appear {
        0% {
            opacity: 0;
            /* transform: translateY(0); */
        }

        25% {
            opacity: 1;
            /* transform: translateY(0); */
        }

        50% {
            transform: scale(1.05);
            /* transform: translateY(0); */
        }

        /* 75% {
    transform: scale(1);
} */

        100% {
            opacity: 1;
            z-index: 1;
            /* transform: translateY(0); */
        }
    }





}

@media (min-width: 1200px) and (orientation: landscape) {
    .hero-img {
        width: 100%;
        height: 100%;
        padding: 3rem 0;
    }
}