:root {
    --bs-font-sans-serif: 'Lato', sans-serif;
    --bs-link-color: #f1b310;
    --bs-link-hover-color: #e6ab0f;
    --bs-body-bg: #f2f2f2;
    --bs-dark-rgb: 17, 17, 17;
    --bs-dark-rgb-lite: 23, 23, 23;
    --bg-body: #f2f2f2;
    --bs-light-rgb: 242, 242, 242;
    --navbar-height: 100px;
}

a:not([class]) {
    text-decoration: none;
}

.logo-brand img,
.logo-brand object {
    max-height: 100%;
    width: auto;
    pointer-events: none;
}

.navbar {
    --bs-navbar-toggler-focus-width: 0;
    --bs-navbar-nav-link-padding-x: 1.5rem;
}

.navbar-height {
    height: var(--navbar-height);
}

.navbar-dark {
    --bs-navbar-color: rgba(255, 255, 255, 0.9);
    --bs-navbar-hover-color: rgba(255, 255, 255, 1);
}

.btn-primary {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--bs-link-color);
    --bs-btn-hover-bg: rgb(var(--bs-dark-rgb-lite));
    --bs-btn-hover-border-color: rgb(var(--bs-dark-rgb-lite));
    --bs-btn-active-bg: rgb(var(--bs-dark-rgb-lite));
    --bs-btn-active-border-color: rgb(var(--bs-dark-rgb-lite));
}

/* Parallax */
.parallax-1 {
    height: 700px;
}

.parallax-container-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/Polizas-Arrendamiento-Brentara.webp");
    background-size: cover;
    background-blend-mode: lighten;
    background-position: center;
}

#parallax-2 {
    padding-top: 150px;
    padding-bottom: 150px;
    background: url("../img/Cobertura-Brentara.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/********/


.text-primary,
.link-primary {
    color: var(--bs-link-color) !important;
}

.link-primary:hover {
    color: var(--bs-link-hover-color) !important;
}

.bg-dark-lite {
    background-color: rgb(var(--bs-dark-rgb-lite));
}

.bg-opacity-92 {
    opacity: 0.92;
}

.phone {
    color: var(--bs-link-color);
}

/* Fix font awesome */
.fa-xs {
    vertical-align: 0;
}

/* Extra */
.width-30 {
    width: 30px;
}

.container-xl {
    --bs-gutter-x: 0;
}

.z-index-1 {
    z-index: 1;
}

.text-shadow {
    text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.125), 0 1rem 1.5rem rgba(0, 0, 0, 0.250);
}

/* Carousel */
.carousel-item img {
    max-height: 460px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
}

#List-1.list-group {
    --bs-list-group-bg: transparent;
    --bs-list-group-border-color: none;
    --bs-list-group-active-bg: transparent;
    --bs-list-group-active-border-color: transparent;
    --bs-list-group-border-radius: 0;
    --bs-list-group-item-padding-y: 1rem;
}

.list-group-item-action {
    color: rgba(255, 255, 255, 0.2);
}

#List-1 .list-group-item {
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

#List-1 .list-group-item.active {
    border-color: rgba(255, 255, 255, 1);
}


/* Boxes */
.proteccion-box,
.featured-box {
    overflow: hidden;
    position: relative;
    min-height: 460px;
    height: auto;
}

.featured-box {
    min-height: 390px;
}

.proteccion-box:hover .overlay,
.featured-box:hover .overlay-2 {
    opacity: 1;
    transform: translateX(0%);
    transition: all 0.5s ease;
}

.overlay,
.overlay-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-image: url('../img/Real_Estate_Mexico.webp');
    background-size: cover;
    background-position: center center;
    transition: all 0.5s ease;
    transform: translateX(-100%);
}

.overlay-2 {
    background-image: url('../img/despacho.webp');
}

.proteccion-box .proteccion-title,
.featured-box .proteccion-title {
    position: relative;
    z-index: 1;
}

.proteccion-box h3,
.featured-box h3,
.proteccion-box p,
.featured-box p {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease-out;
}

.overlay:hover,
.overlay-2:hover {
    transform: translateX(0%);
}

.proteccion-box:hover h3,
.featured-box:hover h3,
.proteccion-box:hover p,
.featured-box:hover p {
    color: #fff;
}

.proteccion-box .proteccion-box-content,
.featured-box .proteccion-box-content {
    height: 100%;
    overflow: auto;
}

/* Firma */
#firma .img-fluid,
#english .img-fluid {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Contacto */
#contacto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6rem;
    width: 100%;
    background-color: var(--bg-body);
}

#contacto .img-fluid {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.gavel {
    display: inline-block;
    background-color: rgb(var(--bs-light-rgb));
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
}


.bg-shield::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/shield.svg");
    background-size: cover;
    background-blend-mode: lighten;
    background-position: center top;
}


@media (min-width: 992px) {
    .logo-brand.navbar-height {
        padding-top: 0.25rem;
        padding-bottom: 1.1rem;
    }

    .nav-link::after {
        content: "";
        display: inline-block;
        width: 0;
        height: 1px;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        background-color: var(--bs-link-color);
        transition: all .3s;
    }

    .nav-link:hover::after {
        width: calc(100% - 3rem);
    }

    .h-300 {
        min-height: 300px;
    }
}

@media (max-width: 991.98px) {

    :root {
        --navbar-height: 50px;
    }

    .logo-brand.navbar-height {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-toggler {
        border: 0;
    }

    .navbar {
        --bs-navbar-padding-y: 0;
    }

    .navbar-collapse {
        background-color: rgb(var(--bs-dark-rgb-lite));
    }

    .dropdown-menu {
        border-radius: 0;
    }

    .dropdown-menu-p {
        padding: 1rem 1.5rem;
    }

    .carousel-lite-item img {
        height: calc(270px + var(--navbar-height));
    }

    .parallax-1 {
        height: 360px;
    }

    #parallax-2 {
        padding-top: 100px;
        padding-bottom: 100px;
        min-height: 300px;
    }

    .h-300 {
        min-height: 240px;
    }
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .position-absolute-lg {
        position: absolute;
    }
}


@media (max-width: 767.98px) {
    .bg-transparent-sm {
        background-color: transparent !important;
    }

    .shadow-lg {
        box-shadow: none !important;
    }

    .text-light-sm {
        --bs-text-opacity: 1;
        color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
    }

    .text-white-sm {
        color: #fff !important;
    }
}