:root {
    --color-primary: #42604F;
    --color-secondary: #C6A775;
    --color-tint: #F4EDE3;
    --font-heading: 'brandon-grotesque', sans-serif;
    --font-lead: 'brandon-grotesque', serif;
    --font-body: 'brandon-grotesque', sans-serif;
}

html {
    overflow-x: hidden;
}


body {
    overflow-x: clip;
    line-height: 1.45;
    background-color: white;
    color: #777777;
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: min(max(16px, 4vw), 18px);
}

/* TYPE */

a {
    color: var(--color-secondary);
    text-decoration: underline;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

p {
    color: #777777;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

p.lead {
    font-family: var(--font-lead);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.btn {
    border-radius: 50px;
}

.btn-primary {
    color: #fff;
    background-color: var(--color-secondary);
    border: 0;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 6px 22px 5px 40px;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    background-image: url("images/btnIcon.svg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 63px;
    width: 60px;
    top: -12px;
    left: -25px;
}

.btn-secondary {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

.btn-secondary:hover {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

/* LAYOUT */

header {
    background-color: white;
    color: white;
    margin-bottom: 15px;
    overflow-x: clip;
    position: relative;
}

.subHeader {
    background-color: var(--color-primary);
    font-size: 0.8rem;
    text-align: right;
    display: inline-block;
    padding: 5px 16px;
    position: relative;
}

.subHeader a {
    color: white;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.subHeader::after {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    height: 31px;
    background-color: var(--color-primary);
    z-index: 1;
}

.navbar-nav {
    background-color: white;
    position: absolute;
    z-index: 100;
    right: 0;
    top: 43px;
}

.navbar-nav::after {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 18px;
    background-color: white;
    z-index: 1;
}

.navbar-nav .nav-item {
    border-bottom: 15px solid white;
    position: relative;
    z-index: 2;
}

.navbar-nav .nav-item.active {
    border-bottom: 15px solid var(--color-secondary);
}

.navbar-nav .nav-link {
    color: var(--color-secondary);
    text-transform: uppercase;
    padding: 0rem 1rem 1.5rem 1rem;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.slider {
    position: relative;
    padding: 0;
    margin: 0;
    background-image: url("images/sliderHome.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
    height: 950px;
}

.slider.page {
    height: 480px;
}

.slider.page > .container-xl {
    position: relative;
    z-index: 3;
    top: 0;
    height: 100%;
}

.slider.page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-color: rgb(67 96 79 / 90%);
    z-index: 1;
}

.slider.page .caption > div {
    margin-top: -40px;
}

.slider.page h2 {
    font-size: 1.1rem;
    text-transform: none !important;
    color: white !important;
    line-height: 1.7rem;
}

.slider .col-md-6 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.slider .caption {
    color: white;
    position: absolute;
}

.slider .caption h1 {
    text-transform: uppercase;
}

.slider .caption h2 {
    text-transform: uppercase;
    color: var(--color-secondary);
}

.slider .caption p {
    color: white;
}

.slider img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.slider .sliderWatermark {
    opacity: 0.1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("images/sliderWatermark.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
}

.bgDevice {
    background-image: url("images/bgDevice.svg");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-position: 5% 104%;
}

.slider.page .sliderWatermark {
    top: 0;
    background-position: left top;
    z-index: 2;
}

.leftColTop {
    text-align: end;
    text-transform: uppercase;
    margin-top: -155px;
    position: relative;
    background-color: var(--color-tint);
    padding-top: 30px;
    padding-bottom: 50px;
}

.leftColPage {
    margin-top: -100px !important;
    text-transform: none !important;
}

.leftColPage::before {
    height: 80px !important;
}

.leftcol {
    text-align: right;
}

.leftColTop::before {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    height: 130px;
    background-color: var(--color-tint);
    z-index: 2;
}

.leftColTop::after {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    right: 23px;
    bottom: -30px;
    height: 50px;
    background-color: white;
    z-index: 1;
}

.leftCol img {
    position: relative;
    z-index: 2;
}

.leftCol h3 {
    color: var(--color-secondary);
    font-size: 2.3rem;
    padding-bottom: 20px;
    text-transform: uppercase;
    text-align: right;
    position: relative;
    z-index: 3;
}

.leftCol h4 {
    color: var(--color-secondary);
    font-size: 1.5rem;
    padding-bottom: 20px;
    text-transform: uppercase;
    text-align: right;
    position: relative;
    z-index: 2;
}

.leftColMid {
    text-align: end;
    text-transform: uppercase;
    margin-top: -90px;
    position: relative;
    background-color: var(--color-tint);
    padding-top: 20px;
    padding-bottom: 50px;
}

.leftColMid::before {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    height: 90px;
    background-color: var(--color-tint);
    z-index: 1;
}

.leftColQuote {
    padding-top: 50%;
    width: 75%;
    margin-left: auto;
}

.leftColQuote p {
    color: var(--color-secondary);
    font-size: 1.4rem;
    text-align: right;
}

.leftColQuote p span {
    font-size: 1rem;
    color: grey;
}

.leftCol .nav {
    margin-top: -85px;
    padding-top: 30px;

}

.leftCol .nav .nav-link {
    color: var(--color-secondary);
    text-transform: uppercase;
    padding: .1rem 1rem;
    text-align: right;
}

.leftCol .nav .nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.leftCol .nav .nav-link.active {
    color: var(--color-primary);
}

.stickyCol {
    position: relative;
}

.stickyCol::before {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    right: 0;
    top: -90px;
    height: 380px;
    background-color: var(--color-tint);
    z-index: 1;
}

.introCol {
    position: relative;
}

.introCol::before {
    content: '';
    width: 100vw;
    z-index: 1;
    position: absolute;
    left: 0;
    top: -55px;
    height: 380px;
    background-color: var(--color-tint);
    z-index: 1;
}

.introCol > section > div {
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.introCol h3 {
    text-transform: uppercase;
    color: var(--color-secondary);
    font-size: 2.5rem;
}

.testimonials p {
    color: var(--color-secondary);
}

.testimonials p:first-child {
    margin-top: 0;
}

.testimonials .blockquote-footer {
    margin-top: 10px;
}

.carousel-indicators {
    position: relative;
    margin: 0;
    justify-content: end;
}

.carousel-indicators [data-bs-target]   {
    background-color: var(--color-secondary);
}

.carousel-indicators button  {
    width: 14px !important;
    height: 14px !important;
    border-radius: 100%
}

hr {
    background-color: var(--color-secondary);
    margin-top: 50px;
    margin-bottom: 50px;
}



.tint {
    background-color: var(--color-tint);
    color: black;
    padding: 30px 0;
    position: relative;
}

footer {
    background-color: var(--color-primary);
    color: white;
    padding: 30px 0;
    font-size: 0.9rem;
    position: relative;
}

footer a,
.nav-link {
    color: white;
    text-decoration: none;
}

footer a:hover,
.nav-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-nav .nav .nav-link {
    text-transform: uppercase;
}

footer::before {
    content: '';
    width: 30%;
    z-index: 1;
    position: absolute;
    right: 0;
    top: -30px;
    height: 31px;
    background-color: var(--color-primary);
    z-index: 1;
}

.footerLogos {
    width: 60%;
    display: flex;
    align-items: center;
    padding-top: 30px;
}

/* POPUP BOX */

.popUpBoxBar {
    min-height: 700px;
}

.popUpBox {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
    text-align: center;
}

.popUpBox > div {
    z-index: 2;
    position: relative;
    top: 10%;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.popUpBox .infoBox {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.popUpBox:hover > div {
    top: 0%;
}

.popUpBox:hover .infoBox {
    top: 40%;
    opacity: 1;
}

.popUpBox p {
    font-size: 1.3rem;
    font-weight: 100;
    max-width: 34ch;
    margin: 0 auto 30px auto;
}

.popUpBox .infoBox .btn {
    width: 50%;
    margin: 0 auto;

}

.popUpBox h3 {
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 4rem;
}


.popUpBox::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}


/* ZOOM BOX */

.zoomBoxBar {
    min-height: 450px;
}

.zoomBox {
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
    background-color: black;
    background-clip: content-box;
}

.zoomBox a {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

.zoomBox img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all .5s;
}

.zoomBox div h3 {
    z-index: 2;
    position: absolute;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.zoomBox:hover div h3 {
    top: 50%;
    opacity: 1;
}

.zoomBox:hover img {
    transform: scale(105%);
    opacity: 0.6;
}



/* UTILITIES */

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.objectFit {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.picScale {
    overflow: hidden;
}

.picScale a img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease;
}

.picScale a:hover img {
    transform: scale(1.03);
}

.btn-text:hover {
    text-decoration: none;
}

.btn-text span {
    display: inline-block;
    transition: 0.2s ease-in;
}

.btn-text:hover span {
    transform: translateX(50%);
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

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

.text-secondary {
    color: var(--color-secondary) !important;
}





/* RESPONSIVE */

.navbar-toggler {
    color: white;
    background-color: var(--color-secondary);
    border-radius: 0;
    padding: 30px 20px;
}

.mobBlock01 {
    display: none;
}

@media (max-width: 1200px) {

    .leftColQuote {
        width: 100%;
    }

}

@media (max-width: 992px) {

    .offcanvas {
        background-color: var(--color-secondary);
    }
    
    .offcanvas::before {
        position: absolute;
        content: '';
        height: 100%;
        width: 100%;
        opacity: 0.1;
        background-image: url("images/sliderWatermark.svg");
        background-size: 220%;
        background-repeat: no-repeat;
        background-position: 20% top;
    }
    
    .offcanvas button {
        border: 0;
        background-color: transparent;
        padding: 0;
        margin: 0;
        background: none;
    }

    .navbar-nav {
        background-color: transparent;
    }

    .navbar-nav::after {
        display: none;
    }

    .navbar-nav .nav-link {
        color: white;
    }

    .subHeader {
        display: none;
    }

    header {
        margin-bottom: 0;
    }

    header > div:nth-child(2) {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar {
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar > .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-brand {
        margin-right: 0;
        padding-left: 15px;
        padding-top: 15px;
    }


    .navbar-nav {
        position: relative;
        right: auto;
        top: auto;
        display: flex;
        height: 100%;
    }

    .navbar-nav .nav-item {
        border-bottom: 0;
        text-align: center;
    }

    .navbar-nav .nav-item.mobContact {
        margin-top: auto;
    }


    .navbar-nav .nav-item.mobContact a {
        color: white;
        text-decoration: none;
    }

    .navbar-nav .nav-item.active {
        border-bottom: 0;
    }

    .navbar-nav .nav-item.active .nav-link {
        color: var(--color-primary);
    }

    .slider .caption {
        padding: 20px;
    }

    body > header > div:nth-child(2)::after {
        content: '';
        width: 50%;
        z-index: 1;
        position: absolute;
        left: 0;
        bottom: -19px;
        height: 20px;
        background-color: white;
        z-index: 2;
        overflow-x: clip;
    }

    .subFooter .nav {
        width: 100%;
    }

    .carousel-indicators {
        justify-content: start;
        padding-bottom: 20px;
    }
    
    .slider.page::after {
        width: 100%;
    }
    
    .leftColTop {
        text-align: start;
    }
    
    .footerLogos {
        width: 60%;
    }


}

@media (max-width: 768px) {

    footer .nav {
        flex-direction: column;
        justify-content: center !important;
        text-align: center;
    }

    .slider {
        height: 700px;
    }

    .slider .sliderWatermark {
        background-size: cover;
        background-position: left top;
    }

    .leftColTop {
        margin-top: -60px;
        padding-bottom: 0;
    }

    .leftColTop::after {
        display: none;
    }

    .leftCol h3 {
        padding-bottom: 0;
        text-align: left;
    }

    .mobBlock01 {
        display: block;
        content: '';
        width: 50%;
        z-index: 1;
        position: absolute;
        right: 0;
        bottom: -29px;
        height: 30px;
        background-color: var(--color-tint);
        z-index: 1;
    }

    .leftColQuote {
        padding-top: 0;
        margin-top: 90px;
        margin-bottom: 90px;
        background-color: var(--color-tint);
        border-image: conic-gradient(#F4EDE3 0 0) fill 0 //0 100vmax;
            position: relative;
    }

    .leftColQuote p {
        color: var(--color-secondary);
        font-size: 2rem;
        text-align: left;
        padding: 60px 20px;
    }

    .leftColQuote p::before {
        content: '';
        width: 25%;
        z-index: 1;
        position: absolute;
        right: -15px;
        top: -29px;
        height: 30px;
        background-color: var(--color-tint);
        z-index: 1;
    }

    .leftColQuote p::after {
        content: '';
        width: 25%;
        z-index: 1;
        position: absolute;
        left: -15px;
        bottom: -29px;
        height: 30px;
        background-color: var(--color-tint);
        z-index: 1;
    }

    .leftColQuote p span {
        font-size: 1.5rem;
        color: grey;
    }

    .leftCol h4 {
        text-align: left;
        padding-bottom: 0;
    }

    .leftColMid {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .leftColMid::before {
        content: '';
        width: 60%;
        z-index: 1;
        position: absolute;
        left: 0;
        top: -60px;
        height: 35px;
        background-color: var(--color-tint);
        z-index: 1;
    }
    
    .leftCol .nav {
        margin-top: -60px;
        padding-top: 0px;
        padding-bottom: 30px;
    }
    
    .leftCol .nav .nav-link {
        color: var(--color-secondary);
        text-transform: uppercase;
        padding: .1rem 0rem;
        text-align: left;
    }
    
    .stickyCol {
        background-color: var(--color-tint);
    }
    
    .stickyCol::before {
        left: 0;
        width: 90%; 
        height: 310px;
    }
    
    .introCol::before {
        width: 100%;
        height: 50px;
    }
    
    .introCol > section > div {
        padding-bottom: 0px;
    }
    
    .footerLogos {
        width: 100%;
        margin: 0 auto;
    }

}

@media (max-width: 576px) {

    .slider .caption h1 {
        font-size: 2.2rem;
    }

    .btn-primary {
        display: block;
    }

    .navbar-toggler {
        padding: 40px 20px;
    }

}
