/*****************************
            HEADER
******************************/
:root {
    --font-color-primary: #fff;
    --font-color-secondary: #525252;
    --font-color-third: #D84A84;

    --background-color-primary: #fff;
    --background-color-secondary: #FBF3E0;
    --background-color-thrid: #E89C4B;
    --bacground-color-fourth: #1FA8DF;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: var(--font-color-secondary);
}

body {
    overflow-x: hidden !important;
}

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: var(--font-color-primary);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.grey {
    color: var(--font-color-secondary);
}

.capa {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.664) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.815) 100%);
    opacity: 1;
    position: absolute;
}

header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#nav-mobile {
    display: none;
    position: absolute;
}

@media (max-width: 991px) {
    #navbarSupportedContent {
        display: none !important;
    }

    #nav-mobile {
        display: block;
    }

    #nav-language {
        display: none !important;
    }
}

#nav,
#nav .container-fluid {
    margin: 0;
    padding: 0;
}

#nav ul li {
    padding: 1rem;
}

.navbar-toggler {
    border: none;
}

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

.header-content {
    position: absolute;
    bottom: 0;
    margin-bottom: 3rem;
    left: 0;
    margin-left: 5%;
    max-width: 800px;
}

.header-content h1 {
    font-size: clamp(1rem, 8vw, 2.5rem);
    max-width: 600px;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.header-content p {
    font-size: clamp(0.5rem, 4vw, 1.2rem);
    padding-right: 5%;
}

/***************************
        NAV-LANGUAGE
****************************/

#nav-language {
    border-bottom: 1px solid var(--font-color-third);
    border-left: 1px solid var(--font-color-third);
    align-self: start;
    border-radius: 0 0 0 45px;
}

#nav-language li {
    list-style: none;
    padding: 1rem 0;
    padding-right: 1rem;
}

#navbarSupportedContent {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: var(--font-color-primary);
    font-weight: 400;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: var(--font-color-third);
}

.btn-close:focus {
    box-shadow: none;
}

#nav .container-fluid a {
    padding-top: 3%;
}

#nav .container-fluid>a {
    padding-left: 5%;
}

#nav .container-fluid img {
    width: 35vw;
    max-width: 200px;
    min-width: 130px;
    padding-left: 5%;
}

.bi.bi-list {
    color: white;
    font-size: 2.3rem;
}

.btn-contact {
    border: 1px solid var(--background-color-thrid);
    border-radius: 45px;
    text-decoration: none;
    color: var(--font-color-primary);
    margin-top: 1rem;
}

.btn-saber {
    background-color: var(--background-color-thrid);
    border-radius: 45px;
    text-decoration: none;
    color: var(--font-color-primary);
    margin-top: 1rem;
}

.btn-contact:hover,
.btn-saber:hover {
    background-color: var(--font-color-third);
    ;
}

.offcanvas {
    background-color: #E89C4B;
}

/***************************
            INFO
****************************/

#info {
    position: relative;
}

#info .row {
    margin: 0;
    padding: 0;
}

#info .row div {
    margin: 0;
    padding: 0;
}

#info div.row div:nth-child(1) {
    padding: 5rem 5%;
}

#info div.row div:nth-child(2) {
    padding: 0;
    margin: 0;
}

#info p,
#info h2 {
    max-width: 800px;
}

#info>img {
    position: absolute;
    width: 270px;
    height: 200px;
    left: -2%;
    margin-top: 2rem;
    z-index: -1;
    top: 30%;
}

#info video {
    object-fit: cover;
    max-height: 450px;
    width: 100%;
}

@media (max-width: 991px) {
    #info video {
        display: none;
    }

    #info p {
        padding: 5% !important;
    }
}

/***************************
            CARDS
****************************/
#cards {
    background-color: #FBF3E06B;
    padding: 2% 5%;
}

#cards div > div p {
    max-width: 250px;
}

#cards img {
    padding: 1rem;
    width: 120px;
    background-color: white;
    border-radius: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin-bottom: 2rem;
}

.card-img {
    background-color: white;
    display: flex;
}

/***************************
            VIDEO
****************************/

#video h2 {
    max-width: 550px;
    padding: 3rem 5%;
}

.video-west {
    background : url('../img/img-video.png') no-repeat;
    background-position: center;
    height: 40vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.video-west i {
    font-size: 100px;
    color: white;
    margin-bottom: -20px;
}

#video a {
    text-decoration: none;
}

.video-west p {
    font-size: 2rem;
    color: white;
}


/***************************
        CARACTERISTICAS
****************************/

.title-h2 {
    padding-bottom: 5%;
}

#caracteristicas {
    background-color: var(--background-color-secondary);
    padding: 3rem 0;
}

#caracteristicas .row {
    padding: 0;
    margin: 0;
}

#caracteristicas .row div {
    padding: 5%;
}

#caracteristicas img {
    width: 33vw;
    max-width: 546px;
    height: fit-content;
}

#caracteristicas h2,
#caracteristicas p {
    margin-bottom: 5%;
    max-width: 500px;
    padding-left: 5%;
}

.list-west {
    list-style: none;
    padding-left: 5%;
}

.list-west li::before {
    content: "\2022";
    color: var(--font-color-third);
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/***************************
        PRODUCTOS
****************************/

#productos {
    padding: 3rem 0;
}

#productos>div {
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    flex-direction: column;
}

#productos img {
    width: 50vw;
}

#productos img,
.text {
    padding: 1rem;
    max-width: 800px;
    align-self: center;
    text-align: center;
}

.btn-conocer {
    border-radius: 45px;
    padding: 0.5rem 1rem;
    background-color: var(--font-color-third);
    color: white;
    text-decoration: none;
}

.b2 {
    display: none;
}

@media (max-width: 470px) {
    .b1 {
        display: none;
    }

    .b2 {
        display: inline;
    }
}

/***************************
        VALORES
****************************/

#valores {
    background: url('../img/fondo.webp') no-repeat;
    padding: 5%;
    display: flex;
    justify-content: center;
    background-size: cover;
    padding: 4rem 0;
}

#valores div {
    max-width: 800px;
    text-align: center;
}

.text-valores {
    line-height: 1.5;
    color: white;
}

.border-text {
    color: var(--font-color-third);
    border: 3px solid var(--font-color-third);
    border-radius: 45px;
    padding: 0 0.5rem;
}

/***************************
        CAROUSEL
****************************/

.swiper-slide {
    position: relative;
}

.text-slide {
    position: absolute;
    top: 0;
    padding: 5%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    opacity: 1;
    filter: brightness(80%);
}

.swiper {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff
}

/***************************
    NUESTRA EMPRESA
****************************/

#empresa {
    padding: 5%;
}

.mision {
    display: flex;
    justify-content: center;
}

.info-mision {
    max-width: 400px;
    text-align: justify;
    margin: 1rem 2rem;
}

/***************************
        SELLOS
****************************/

#sellos {
    background: url('../img/fondo.webp') no-repeat;
    background-size: cover;
}

.sello {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sello p {
    max-width: 200px;
    margin-top: 1rem;
}

/***************************
        ASEGURAMOS
****************************/

#aseguramos {
    padding: 3rem 5%;
}

#aseguramos .row>div:nth-child(1) {
    text-align: center;
}

#aseguramos .row h2 {
    max-width: 700px;
}

#aseguramos .row p {
    padding: 1rem 0;
    max-width: 700px;
}


#aseguramos .row img {
    max-width: 30vw;
    min-width: 200px;
    padding-bottom: 1rem;
}

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

#contacto {
    background: url('../img/contacto-fondo.webp') no-repeat;
    background-size: cover;
    color: white;
    padding: 3rem 0;
}

#contacto .form-group {
    padding: 0.5rem 0;
}

#contacto .row>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 5%;
}

#contacto .row>div:nth-child(2) {
    position: relative;
}

#contacto .row {
    padding: 3%;
    margin: 0;
}

#contacto img {
    padding: 2rem;
    right: -20%;
}

form .form-control {
    border-radius: 0;
    background-color: transparent;
}

.btn-white {
    background-color: white;
    border-radius: 45px;
}

.btn-white:hover {
    background-color: var(--font-color-third);
    color: white;
}


.form-control:focus {
    background-color: transparent;
    box-shadow: 0 0 0 0.25rem #d84a853f;
    border-color: var(--font-color-third);
}

@media (max-width:941px) {
    #contacto > div > div.col-lg-3 > img {
        display: none;
    }

    #contacto .row {
        padding: 3rem 5% !important;
    }
}


/***************************
        SCROLL
****************************/

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 45px;
    transition: all 0.4s;
    box-shadow: 0 0 0 0.25rem #d84a853f;
}

.scroll-top i {
    font-size: 24px;
    color: var(--font-color-secondary);
    line-height: 0;
}

.scroll-top:hover {
    background-color: var(--font-color-third);
}

.scroll-top:hover i {
    color: var(--font-color-primary);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}