/* globals */
body.facelift h1,
body.facelift .h1 {
    /* font-size: 40px; */
    font-size: clamp(24px, 0.25rem + 4vw, 40px);
    line-height: 1.25;
    font-weight: 600;
}
body.facelift h2,
body.facelift .h2 {
    /* font-size: 32px; */
    font-size: clamp(20px, 0.3125rem + 3vw, 32px);
    line-height: 1.35;
    font-weight: 500;
}
body.facelift h3,
body.facelift .h3 {
    /* font-size: 24px; */
    font-size: clamp(20px, 0.9375rem + 1vw, 24px);
    line-height: 1.45;
    font-weight: 500;
}
body.facelift h3:has(img) {
    display: flex;
    align-items: center;
    gap: 20px;
}
div#top-area-container,
.footer-container,
.body-container {
    max-width: 1140px;
}
/* helpers */
.text-right {
    text-align: right;
}
.bg-light {
    background-color: #F0F6FF;
}
ul, li {
    list-style: disc;
}
ul.logos {
    margin: 0 !important;
    padding: 0 !important;
    gap: 5%;
}
ul.logos > li.item {
    padding: 0;
    flex: auto;
    max-width: none;
}
@media (max-width: 575px) {
    .section {
        padding: 20px 0;
    }
    ul.logos > li.item {
        max-width: 22%;
    }
}

/* buttons */
.btn, a.btn {
    padding: 10px 30px;
    border-radius: 20px;
    background-color: #0C0D16;
    border-color: #0C0D16;
}
p + .btn,
ul + .btn {
    margin-top: 14px;
}
@media (max-width: 575px) {
    .btn, a.btn {
        display: block;
    }
    p + .btn,
    ul + .btn {
        margin-top: 28px;
    }
}

/* tabs */
.tab-section {
    position: relative;
}
.tabs {
    display: flex;
    cursor: pointer;
}
.content {
    display: none;
}
.content.active {
    display: block;
}
@media (min-width: 576px) {
    .tab-section .navigation {
        display: none;
    }
}
@media (max-width: 575px) {
    .tab-section .navigation > button {
        position: absolute;
        border: solid 1px #FFF;
        background: none;
        overflow: hidden;
        color: rgba(0, 0, 0, 0);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: 10px 16px;
    }
    .tab-section .navigation > button:not(:disabled) {
        cursor: pointer;
    }
    .tab-section .navigation > button:disabled {
        opacity: .5;
    }
    .tab-section .navigation > button.prev {
        left: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L2 8L9 15' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
        background-position: 45% 50%;
    }
    .tab-section .navigation > button.next {
        right: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L1 15' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
        background-position: 55% 50%;
    }
    .tab-section .navigation + .tabs {
        pointer-events: none;
    }
}

/* hero */
#hero {
    background-color: #276EDA;
    padding: 0;
    position: relative;
}
#hero .text {
    padding: 180px 45px 180px 0;
}
#hero .text h1 {
    color: #FFF;
    margin: 0 !important;
}
#hero .image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
}
#hero .image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 575px) {
    #hero .body-container {
        padding: 0;
    }
    #hero .d-flex {
        flex-direction: column-reverse;
    }
    #hero .image {
        position: static;
    }
    #hero .text {
        padding: 32px 24px;
    }
}


#products .content .d-flex {
    align-items: center;
}
#products .content .col-6 {
    max-width: calc(50% - 25px);
}
#products .content img {
    width: 100%;
}
#products .tabs {
    margin-bottom: 80px;
}
#products .tabs .tab {
    flex: 1;
    border-bottom: solid 2px #E1EAF7;
    padding: 16px;
    text-align: center;
}
#products .tabs .tab.active {
    border-color: #276EDA;
    color: #276EDA;
}
@media (max-width: 575px) {
    #products .tabs {
        margin-bottom: 24px;
    }
    #products .content .d-flex {
        flex-direction: column-reverse;
    }
    #products .content .col-6 {
        max-width: 100%;
    }
}

#partners {
    position: relative;
    background-color: #F0F6FF;
}
#partners::after {
    content: "";
    display: block;
    background-color: #0C0D16;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 450px;
    z-index: 1;
}
#partners .body-container {
    position: relative;
    z-index: 2;
}
#partners h2 {
    color: #FFF;
}
#partners .tabs {
    margin: 30px auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    max-width: 980px;
}
#partners .tabs .tab {
    padding: 15px 20px;
    line-height: 0;
}
#partners .tabs .tab.active {
    background-color: #276EDA;
}
#partners .tabs .tab > img {
    filter: brightness(0) invert(1);
}
#partners .card {
    text-align: left;
    padding: 0;
}
#partners .card .image {
    line-height: 0;
    width: 100%;
    height: 100%;
}
#partners .card .image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#partners .card .text {
    padding: 45px 40px 45px 60px;
}
@media (max-width: 575px) {
    #partners .tabs .tab:not(.active) {
        display: none;
    }
    #partners .tabs .tab.active {
        background: none;
    }
    #partners .card .text {
        padding: 30px 24px;
    }
}

@media (max-width: 575px) {
    #additional-products h2 {
        display: none;
    }
    #additional-products .mobile-reverse {
        flex-direction: column-reverse;
    }
    #additional-products .d-flex:not(.mobile-reverse) .col-6 + .col-6 {
        margin-top: 30px;
    }
}