html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
}

.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.header {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #FFFFFF;
}

.header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.header__content {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo .logo {
    max-width: 76px;
    height: 100%;
    padding: 8px 100px;
    cursor: pointer;
}

.header__menu {
    display: flex;
    max-width: 910px;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
    line-height: 50px;
    transition: color 0.3s ease;
}

.header__menu a:hover {
    color: #CB2026;
}

.header__menu a:active {
    color: #A82227;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.messenger-icons {
    display: flex;
    gap: 8px;
}

.messenger-icons__icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.messenger-icons__icon:hover {
    transform: scale(1.1);
}

.phone {
    white-space: nowrap;
}

.phone__text {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    color: #000;
    text-decoration: none;
}

.language {
    display: flex;
    align-items: center;
    position: relative;
}

.language__dropdown {
    position: relative;
}

.language__dropdown.open .language__menu {
    display: block;
}

.language__button {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
}

.language__button:focus,
.language__button:active {
    outline: none;
}

.flag-icon {
    width: 24px;
    height: auto;
}

.language__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    border: none;
    min-width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: #fff;
}

.language__menu a {
    display: block;
    padding: 4px 6px;
}

.language__menu a:hover {
    background-color: #f0f0f0;
}

.language__dropdown:hover .language__menu {
    display: block;
}

.arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.burger .line {
    height: 4px;
    width: 30px;
    background-color: #cc2c14;
    margin-bottom: 4px;
}

@media screen and (max-width: 1200px) {
    .header {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1024px) {
    .header {
        max-width: 1024px;
        position: fixed;
        margin: 0 auto;
        padding: 5px 20px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        box-sizing: border-box;
    }

    .header__menu,
    .header__contacts {
        display: none;
    }

    .burger {
        display: flex;
        grid-column: 1;
        justify-self: start;
    }

    .header__logo {
        grid-column: 2;
        justify-self: center;
    }

    .header__logo .logo {
        max-width: 76px;
        padding: 0;
    }

    .header__content {
        display: block;
        justify-self: end;
        margin: 0;
        grid-column: 3;
    }

    .language__button {
        flex-shrink: 0;
        flex-grow: 0;
    }
}

@media screen and (max-width: 768px) {
    .header {
        max-width: 768px;
    }

    .flag-icon {
        width: 22px;
        height: auto;
    }

    .language__menu a {
        padding: 3px 5px;
    }

    .arrow {
        width: 6px;
        height: 6px;
    }
}

@media screen and (max-width: 480px) {
    .header {
        max-width: 480px;
        padding: 3px 10px;
    }

    .header__logo .logo {
        max-width: 70px;
        padding: 0;
    }
}

@media screen and (max-width: 320px) {
    .header {
        max-width: 320px;
    }

    .header__logo .logo {
        max-width: 70px;
        padding: 0;
    }
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: -7px;
    max-width: 280px;
    max-height: calc(100% - 80px);
    padding: 24px 16px;
    background-color: #ffffff;
    box-shadow: 0px 10px 15px rgba(65, 53, 77, 0.5);
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
}

.mobile-menu.show {
    transform: translateX(0);
}

.menu-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 998;
}

.mobile-menu__close {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 50px;
}

.mobile-menu__nav {
    width: 248px;
    margin-bottom: 50px;
}

.mobile-menu__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__nav li {
    display: flex;
    position: relative;
    align-items: center;
    height: 38px;
    margin-bottom: 10px;
}

.mobile-menu__nav li {
    position: relative;
}

.mobile-menu__nav li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.mobile-menu__nav a {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu__footer {
    width: 170px;
    height: 75px;
}

.header__contacts--clone {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.boiler-section {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    padding: 20px 40px;
    background: url('images/main_background.png') no-repeat center center;
    background-size: cover;
}

.boiler-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.boiler-text h3 {
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 15px;
}

.boiler-brands {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 28px;
}

.boiler-brands .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.boiler-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

.cta-btn {
    display: inline-block;
    background: #FCBF49;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 60px;
    color: #000000 !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
}

.cta-btn:hover {
    background: #FFD788;
    color: #000000 !important;
}

.cta-btn:active {
    background: #E5A52B;
    color: #000000 !important;
}

.open-pdf-btn {
    background: #CB2026;
    color: #FFFFFF;
}

.open-pdf-btn:hover {
    background: #EC383F;
}

.open-pdf-btn:active {
    background: #A82227;
}

.boiler-benefits {
    grid-column: span 2;
}

.boiler-benefits p {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
}

.boiler-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.boiler-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
}

.boiler-benefits li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.boiler-lion {
    text-align: center;
}

.boiler-lion img {
    max-width: 100%;
    height: auto;
}

.service {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(360deg, rgba(243, 243, 243, 0) 0%, #F3F3F3 100%);
}

.services__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.services__item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #d1d1d1;
}

.services__item:last-child {
    border-bottom: none;
}

.services__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 15px;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.services__text {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.services__icon--design {
    background-image: url('images/service_1.svg');
}

.services__icon--economy {
    background-image: url('images/service_2.svg');
}

.services__icon--installation {
    background-image: url('images/service_3.svg');
}

.services__icon--service {
    background-image: url('images/service_4.svg');
}

.services__icon--cleaning {
    background-image: url('images/service_5.svg');
}

.services__icon--startup {
    background-image: url('images/service_6.svg');
}

.advantages {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: url('images/advantages_bg.jpg') no-repeat center/cover;
    position: relative;
}

.advantages::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 600px;
    height: 608px;
    background: url('images/advantage_lion.svg') no-repeat right bottom;
    background-size: contain;
    pointer-events: none;
}

.advantages__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #d32f2f;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantages__grid .advantage:nth-child(5),
.advantages__grid .advantage:nth-child(6),
.advantages__grid .advantage:nth-child(7) {
    grid-column: span 4 / span 4;
}

.advantages__grid .advantage:nth-child(5) {
    grid-column: 1 / 2;
}

.advantages__grid .advantage:nth-child(6) {
    grid-column: 2 / 3;
}

.advantages__grid .advantage:nth-child(7) {
    grid-column: 3 / 4;
}

.advantages__grid .advantage:nth-child(8) {
    grid-column: 1 / 2;
}

.advantages__grid .advantage:nth-child(9) {
    grid-column: 2 / 3;
}

.advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advantage img {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.advantage p {
    font-size: 16px;
    font-weight: 200;
    line-height: 1.2;
    text-align: left;
}

.advantage strong {
    display: block;
    font-weight: 800;
    margin-bottom: 4px;
}


.contacts {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 200px;
    display: flex;
    flex-direction: column;
}

.contacts-container {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    padding-top: 40px;
}

.contacts-info {
    flex: 1;
}

.contacts-info p {
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.5;
    font-size: 18px;
    font-weight: 200;
}

.contacts-info ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
}

.contacts-info li {
    margin-bottom: 12px;
    font-size: 16px;
}

.contacts-info a {
    color: #333;
    text-decoration: none;
}

.contacts-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacts-form input,
.contacts-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    color: #333;
}

.contacts-form input::placeholder,
.contacts-form textarea::placeholder {
    font-family: inherit;
    font-size: 16px;
    color: #BDBDBD;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-group {
    display: flex;
    gap: 6px;
}

.icon-group img {
    width: 20px;
    height: 20px;
}

.footer {
    background: #f9f9f9;
    text-align: center;
    padding: 20px 10px;
}

.footer-top p {
    margin: 0 0 15px;
    color: #333;
    font-size: 14px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-nav a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #CB2026;
}

.footer-nav a:active {
    color: #A82227;
}


@media (max-width: 768px) {
    .boiler-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .boiler-lion {
        display: none;
    }

    .boiler-section {
        background: url('images/logo_lion_mob.png') no-repeat center top,
            url('images/main_background.png') no-repeat center center;
        background-size: contain, cover;
        background-position: right -20px top -30px, center center;
        padding: 20px 20px;
        background-size: 75%, cover;
    }

    .boiler-brands {
        display: flex;
        flex-direction: column;
        margin-bottom: 25px;
        margin-top: 25px;
        font-size: 24px;
    }

    .boiler-text h2 {
        font-size: 24px;
    }

    .boiler-text h3 {
        margin-bottom: 0px;
        font-size: 24px;
    }

    .boiler-text h3,
    .boiler-text h2,
    .boiler-benefits p {
        text-align: left;
        margin-left: 0;
    }

    .cta-btn {
        width: 100%;
        margin: 10px 0;
        height: 56px;
    }

    .boiler-benefits ul {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .advantages {
        padding: 40px 16px;
    }

    .advantages::after {
        display: none;
    }

    .advantages__grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .advantages__grid .advantage {
        grid-column: auto !important;
        text-align: left;
        align-items: flex-start;
        position: relative;
        padding-bottom: 20px;
    }

    .advantages__grid .advantage:nth-child(9) {
        grid-column: 1 / -1 !important;
    }

    .advantages__grid .advantage::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #d1d1d1;
    }

    .service {
        padding: 40px 16px;
    }

    .contacts {
        padding: 40px 16px;
        background: linear-gradient(360deg, rgba(243, 243, 243, 0) 0%, #F3F3F3 100%);
    }

    .contacts-container {
        flex-direction: column;
    }

    .contacts-form {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .contacts {
        padding: 40px 40px;
    }

}

.howwork_frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px;
    background: url('images/howwork_frame.jpg') no-repeat center/cover;
}

.title {
    display: flex;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #CB2026;
    margin: 0 auto;
}

.symbols_howwork {
    display: flex;
    max-width: 914px;
    flex-direction: column;
    gap: 50px;
        padding-top: 40px;
}

.row {padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: flex-start;
    text-align: center;
    gap: 10px;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    gap: 10px;
}

.icon {
    min-width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    max-width: 100px;
    max-height: 100%;
}

.label {
    font-size: 18px;
    font-weight: 500;
}

.arrow_work {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.arrow_work::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(315deg);
}

@media screen and (max-width: 1200px) {
  

    .symbols_howwork {
        max-width: 900px;
        gap: 30px;
    }

    .item {
        min-height: 100px;
        gap: 10px;
    }

    .icon {
        min-width: 150px;
        height: 60px;
    }

    .icon img {
        max-width: 100px;
        max-height: 100%;
    }

    .arrow_work {
        min-height: 90px;
    }

}

@media screen and (max-width: 1024px) {


    .symbols_howwork {
        max-width: 700px;
    }

    .item {
        min-height: 100px;
        gap: 10px;
    }

    .icon {
        min-width: 120px;
        height: 60px;
    }

    .icon img {
        max-width: 80px;
        max-height: 100%;
    }

    .arrow_work {
        min-height: 70px;
    }

    .label {
        font-size: 14px;
        font-weight: 500;
    }

}

@media screen and (max-width: 768px) {


    .title {
        font-size: 24px;
        font-weight: 700;
    }

    .symbols_howwork {
        max-width: 600px;
        gap: 20px;
    }

    .item {
        min-height: 80px;
        gap: 8px;
    }

    .icon {
        min-width: 100px;
        height: 50px;
    }

    .icon img {
        max-width: 80px;
        max-height: 100%;
    }

    .arrow_work {
        min-height: 70px;
    }

    .arrow_work::before {
        width: 8px;
        height: 8px;
        border-right: 2px solid #333;
        border-bottom: 2px solid #333;
    }

    .label {
        font-size: 11px;
        font-weight: 400;
    }
}

@media screen and (max-width: 480px) {


    .row {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 15px;
        padding: 10px 0;
    }

    .title {
        font-size: 18px;
        font-weight: 700;
    }

    .symbols_howwork {
        max-width: 380px;

    }

    .item {
        min-height: 50px;
        gap: 5px;
    }

    .icon {
        max-width: 80px;
        height: 40px;
    }

    .icon img {
        max-width: 80px;
        max-height: 100%;
    }

    .label {
        max-width: 100px;
        font-size: 10px;
        font-weight: 400;
    }

    .arrow_work {
        display: none !important;
        position: absolute;
    }

    .arrow_work::before {
        display: none;
    }
}

@media screen and (max-width: 320px) {


    .row {
        gap: 10px;
    }

    .title {
        font-size: 18px;
        font-weight: 700;
    }

    .symbols_howwork {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        max-width: 310px;
        height: 300px;
        gap: 20px;
    }

    .symbols_howwork .row {
        display: contents;
    }

    .item {
        max-height: 90px;
        width: 100px;
        gap: 5px;
        flex: 0 0 calc(50% - 10px);
        text-align: center;
    }

    .icon {
        max-width: 60px;
        height: 40px;
    }

    .icon img {
        max-width: 60px;
    }

    .label {
        max-width: 80px;
    }
}

.products_frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 1600px;
    padding: 100px 0;
    gap: 40px;
    box-sizing: border-box;
}

.product_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    height: calc((1600px - 100px * 2 - 40px * 2) / 3);
    box-sizing: border-box;
    border-bottom: 4px solid #F3F3F3;
    padding-bottom: 100px;
}

.product_item:last-child {
    border-bottom: none;
}

.product_item.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.product_item.reverse>* {
    direction: ltr;
}

.product_right {
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.product_left {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}

.product_left .product_description {
    display: block;
    position: relative;
    text-align: left;
    align-self: flex-start;
    max-width: 530px;
    padding-left: 80px;
    white-space: wrap;
    max-height: 3.6em;
}

.product_image {
    width: auto;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 16px;
}

.product_description {
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #000;
    margin: 3px 0;
    position: relative;
}

.product_description.active-description {
    font-weight: 700;
}

.product_description:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 60px;
    right: 0;
    width: auto;
    height: 1px;
    background-color: #D5D5D5;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    max-height: 260px;
}

.carousel_track {
    display: flex;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-snap-type: x mandatory;
}

.carousel_track img {
    width: 100%;
    object-fit: contain;
    scroll-snap-align: center;
}

.carousel_prev,
.carousel_next {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    color: #000000;
    background-color: #FFFFFF;
    border: none;
    font-size: 36px;
    cursor: pointer;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel_prev:hover,
.carousel_next:hover {
    background-color: #FCBF49;
}

.carousel_prev:active,
.carousel_next:active {
    background-color: #E79904;
}

.carousel_prev {
    left: calc(40% - 180px);
}

.carousel_next {
    right: calc(40% - 180px);
}

.carousel_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel_dots span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: inline-block;
    transition: background-color 0.3s;
    border: 2px solid #DFDFDF;
}

.carousel_dots span.active {
    background-color: #FCBF49;
}

.carousel_dots+.cta-btn {
    margin-top: 40px;
}

.button_more {
    margin-top: 10px;
    text-align: center;
    height: 45px;
    width: 230px;
}

.button_more .know_more {
    display: inline-block;
    background: #FCBF49;
    color: #000;
    padding: 8px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button_more .know_more:hover {
    background: #e6aa3f;
}

.popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000066;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    z-index: 999;
}

.popup_content {
    background: #fff;
    width: 1044px;
    max-height: fit-content;
    padding: 32px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 100px;
    overflow-y: auto;
}

.popup_close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.popup_close:hover {
    color: #8F8F8F;
}

.popup_close:active {
    color: #191919;
}

.popup_head {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    gap: 30px;
}

.popup_product_img {
    flex: 1;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.popup_logo {
    object-fit: contain;
    padding: 5px 15px;
}

.popup_logo--small {
    max-width: 30%;
    height: auto;
}

h1.title_popup {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    width: 100%;
    height: 50px;
}

h2.title_popup {
    font-weight: 400;
    font-size: 16px;
}

.custom_table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #CACACA;
    text-align: left;
}

.custom_table thead tr {
    background: #FFF5E3;
    height: 48px;
    font-size: 14px;
    font-weight: 700;
}

.custom_table thead th {
    padding: 0 10px;
}

.custom_table tbody tr {
    height: 60px;
    font-size: 14px;
    font-weight: 400;
}

.custom_table tbody td {
    padding: 0 10px;
    border-top: 1px solid #ddd;
}

.highlight_row {
    background: #F7F7F7;
}

.custom_table td:nth-child(1),
.custom_table th:nth-child(1) {
    width: 15%;
}

.custom_table td:nth-child(6),
.custom_table th:nth-child(6) {
    width: 15%;
}

.popup_advantages {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 30px 0;
}

.popup_advantage_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 140px;
}

.popup_advantage_img {
    max-width: 106px;
    height: auto;
    object-fit: contain;
}

.description_advantage {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 32px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

.request {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    height: auto;
}

.request_more p {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 55px;
    margin: 0 auto;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.request .cta-btn {
    margin-top: 0;
}

@media screen and (max-width: 1200px) {
    .products_frame {
        width: auto;
        height: auto;
        padding: 40px 0;
    }

    .product_item {
        gap: 10px;
        padding: 20px;
        max-width: 1100px;
        height: calc((1550px - 80px * 2 - 40px * 2) / 3);
    }

    .product_left .product_description {
        max-width: 460px;
        padding-left: 70px;
    }

    .product_image {
        max-height: 120px;
    }

    .carousel_prev,
    .carousel_next {
        font-size: 34px;
    }

    .carousel_prev {
        left: calc(40% - 170px);
    }

    .carousel_next {
        right: calc(40% - 170px);
    }

    .carousel_dots span {
        width: 15px;
        height: 15px;
    }

    .button_more {
        margin-top: 10px;
        height: 40px;
        width: auto;
    }



    .popup_head {
        gap: 20px;
    }

    .popup_product_img {
        margin-bottom: 15px;
    }

    h1.title_popup {
        height: 40px;
    }

    h2.title_popup {
        font-size: 15px;
    }

    .custom_table thead tr {
        font-size: 14px;
    }

    .custom_table tbody tr {
        height: 50px;
        font-size: 14px;
    }

    .custom_table td:nth-child(1),
    .custom_table th:nth-child(1) {
        width: 14%;
    }

    .custom_table td:nth-child(6),
    .custom_table th:nth-child(6) {
        width: 16%;
    }

    .popup_advantages {
        gap: 20px;
        padding: 20px 0;
    }

    .popup_advantage_item {
        width: 130px;
    }

}

@media screen and (max-width: 1024px) {
    .products_frame {
        max-height: 1400px;
        padding: 40px 0;
    }

    .product_item {
        gap: 10px;
        max-width: 1000px;
        height: auto;
    }

    .product_left .product_description {
        max-width: 440px;
        padding-left: 30px;
    }

    .product_image {
        max-height: 90px;
        margin-bottom: 10px;
    }

    .product_description {
        font-size: 17px;
        font-weight: 400;
    }

    .product_description.active-description {
        font-weight: 600;
    }

    .product_description:not(:last-child)::after {
        left: 25px;
    }

    .carousel {
        max-width: 300px;
        max-height: 220px;
    }

    .carousel_prev,
    .carousel_next {
        font-size: 32px;
    }

    .carousel_prev {
        left: calc(40% - 150px);
    }

    .carousel_next {
        right: calc(40% - 150px);
    }

    .carousel_dots {
        gap: 7px;
        margin-top: 20px;
    }

    .carousel_dots span {
        width: 12px;
        height: 12px;
    }

    .popup_content {
        padding: 20px;
        margin-top: 90px;
    }

    .popup_close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .popup_head {
        width: auto;
        gap: 10px;
    }

    .popup_product_img {
        margin-bottom: 15px;
    }

    .popup_logo {
        padding: 5px 20px;
    }

    h1.title_popup {
        font-size: 22px;
    }

    h2.title_popup {
        font-weight: 400;
        font-size: 14px;
    }

    .custom_table thead tr {
        height: 48px;
        font-size: 14px;
        font-weight: 600;
    }

    .custom_table thead th {
        padding: 0 8px;
    }

    .custom_table tbody tr {
        height: 50px;
        font-size: 14px;
        font-weight: 400;
    }

    .custom_table tbody td {
        padding: 0 8px;
    }

    .highlight_row {
        background: #F7F7F7;
    }

    .custom_table td:nth-child(1),
    .custom_table th:nth-child(1) {
        width: 14%;
    }

    .custom_table td:nth-child(6),
    .custom_table th:nth-child(6) {
        width: 16%;
    }

    .popup_advantages {
        padding: 10px 0;
    }

    .popup_advantage_item {
        width: 120px;
    }

    .popup_advantage_img {
        width: 80px;
        align-items: flex-start;
    }

    .description_advantage {
        height: 30px;
        font-size: 14px;
        font-weight: 600;
    }

    .request {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .products_frame {
        padding: 40px 0;
        gap: 20px;
    }

    .product_item {
        gap: 40px;
        max-width: 700px;
    }

    .product_left .product_description {
        max-width: 290px;
        padding-left: 25px;
    }

    .product_image {
        max-height: 60px;
        max-width: 180px;
        margin-bottom: 10px;
    }

    .product_description {
        font-size: 11px;
        font-weight: 400;
    }

    .product_description.active-description {
        font-weight: 500;
    }

    .product_description:not(:last-child)::after {
        left: 20px;
    }

    .carousel {
        max-width: 190px;
        max-height: 140px;
    }

    .carousel_prev,
    .carousel_next {
        font-size: 26px;
    }

    .carousel_prev {
        left: calc(40% - 100px);
    }

    .carousel_next {
        right: calc(40% - 100px);
    }

    .carousel_dots {
        gap: 7px;
        margin-top: 10px;
    }

    .carousel_dots span {
        width: 8px;
        height: 8px;
    }

    .popup_content {
        max-width: 650px;
        padding: 20px;
        margin-top: 90px;
    }

    .popup_close {
        top: 10px;
        right: 12px;
        font-size: 22px;
    }

    .popup_head {
        flex-direction: column;
        width: auto;
        gap: 10px;
    }

    .popup_product_img {
        margin-bottom: 15px;
        width: auto;
    }

    .popup_logo {
        width: 150px;
        padding: 0;
    }

    h1.title_popup {
        font-size: 18px;
        height: 25px;
    }

    h2.title_popup {
        font-weight: 400;
        font-size: 10px;
    }

    .custom_table thead tr {
        height: 40px;
        font-size: 12px;
        font-weight: 500;
    }

    .custom_table thead th {
        padding: 0 5px;
    }

    .custom_table tbody tr {
        height: 40px;
        font-size: 10px;
        font-weight: 400;
    }

    .custom_table tbody td {
        padding: 0 5px;
    }

    .custom_table td:nth-child(1),
    .custom_table th:nth-child(1) {
        width: 14%;
    }

    .custom_table td:nth-child(6),
    .custom_table th:nth-child(6) {
        width: 16%;
    }

    .popup_advantages {
        padding: 8px 0;
    }

    .popup_advantage_item {
        width: 90px;
        max-height: 90px;
    }

    .popup_advantage_img {
        width: 55px;
    }

    .description_advantage {
        height: 20px;
        font-size: 10px;
        font-weight: 600;
    }

    .request {
        display: contents;
        gap: 10px;
        height: 50px;
    }

    .carousel_dots+.cta-btn {
        margin-top: 5px;
    }

}

@media screen and (max-width: 480px) {
    .products_frame {
        min-height: 1600px;
        padding: 40px 0;
    }

    .product_item {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        flex: 1;
        gap: 10px;
        padding: 12px;
        max-width: 460px;
        min-height: 410px;
    }

    .product_left .product_description {
        max-width: 300px;
        padding-left: 25px;
    }

    .product_image {
        max-height: 60px;
        max-width: 180px;
        margin-bottom: 10px;
    }

    .product_description {
        font-size: 11px;
        font-weight: 400;
    }

    .product_description.active-description {
        font-weight: 500;
    }

    .product_description:not(:last-child)::after {
        left: 20px;
    }

    .carousel {
        max-width: 190px;
        max-height: 140px;
    }

    .carousel_prev,
    .carousel_next {
        font-size: 24px;
    }

    .carousel_prev {
        left: calc(40% - 120px);
    }

    .carousel_next {
        right: calc(40% - 120px);
    }

    .carousel_dots {
        gap: 7px;
        margin-top: 10px;
    }

    .carousel_dots span {
        width: 8px;
        height: 8px;
    }

    .popup_content {
        max-width: 440px;
        padding: 10px;
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .popup_close {
        top: 10px;
        right: 12px;
        font-size: 22px;
    }

    .popup_head {
        gap: 2px;
    }

    .popup_product_img {
        margin-bottom: 10px;
        max-height: 120px;
    }

    .popup_logo {
        width: 110px;
        padding: 0;
    }

    h1.title_popup {
        font-size: 16px;
        height: 25px;
    }

    h2.title_popup {
        font-weight: 400;
        font-size: 10px;
    }

    .custom_table thead tr {
        height: 40px;
        font-size: 10px;
        font-weight: 500;
    }

    .custom_table thead th {
        padding: 0 5px;
    }

    .custom_table tbody tr {
        height: 37px;
        font-size: 10px;
        font-weight: 400;
    }

    .custom_table tbody td {
        padding: 0 5px;
        width: 200px;
    }

    .custom_table td:nth-child(1),
    .custom_table th:nth-child(1) {
        width: 25%;
    }

    .custom_table td:nth-child(2) {
        text-align: center;
    }

    .custom_table td:nth-child(6),
    .custom_table th:nth-child(6),
    .custom_table td:nth-child(7),
    .custom_table th:nth-child(7) {
        display: none;
    }

    .popup_advantages {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 10px;
        justify-items: center;
        align-items: center;
        padding: 7px 0;
        width: 250px;
    }

    .popup_advantage_item {
        width: 85px;
        max-height: 85px;
    }

    .popup_advantage_img {
        width: 55px;
    }

    .description_advantage {
        height: 20px;
        font-size: 10px;
        font-weight: 600;
    }

    .request {
        gap: 10px;
        height: 45px;
    }

}

@media screen and (max-width: 320px) {
    .products_frame {
        min-height: 2000px;
        padding: 40px 0;
    }

    .product_item {
        gap: 5px;
        padding: 10px;
        max-width: 320px;
        min-height: 410px;
    }

    .product_left .product_description {
        max-width: 280px;
        padding-left: 10px;
    }

    .product_image {
        max-height: 55px;
        max-width: 150px;
        margin-bottom: 5px;
    }

    .product_description {
        font-size: 11px;
        font-weight: 400;
    }

    .product_description.active-description {
        font-weight: 500;
    }

    .product_description:not(:last-child)::after {
        left: 7px;
    }

    .carousel {
        max-width: 180px;
        max-height: 120px;
    }

    .carousel_prev,
    .carousel_next {
        font-size: 22px;
    }

    .carousel_prev {
        left: calc(40% - 110px);
    }

    .carousel_next {
        right: calc(40% - 110px);
    }

    .carousel_dots {
        gap: 7px;
        margin-top: 10px;
    }

    .carousel_dots span {
        width: 8px;
        height: 8px;
    }

    .popup_content {
        max-width: 440px;
        padding: 10px;
        margin-top: 80px;
    }

    .popup_close {
        top: 10px;
        right: 12px;
        font-size: 22px;
    }

    .popup_head {
        gap: 1px;
    }

    .popup_product_img {
        margin-bottom: 10px;
        max-height: 110px;
    }

    .popup_logo {
        width: 100px;
        height: 75px;
    }

    h1.title_popup {
        font-size: 14px;
        height: 22px;
    }

    h2.title_popup {
        font-weight: 400;
        font-size: 10px;
    }

    .custom_table thead tr {
        height: 35px;
        font-size: 10px;
        font-weight: 500;
    }

    .custom_table thead th {
        padding: 0 5px;
    }

    .custom_table tbody tr {
        height: 35px;
        font-size: 10px;
        font-weight: 400;
    }

    .custom_table tbody td {
        padding: 0 5px;
        width: 200px;
    }

    .custom_table td:nth-child(3),
    .custom_table th:nth-child(3),
    .custom_table td:nth-child(5),
    .custom_table th:nth-child(5),
    .custom_table td:nth-child(6),
    .custom_table th:nth-child(6),
    .custom_table td:nth-child(7),
    .custom_table th:nth-child(7) {
        display: none;
    }

    .popup_advantages {
        width: 200px;
    }

    .popup_advantage_item {
        width: 60px;
        max-height: 80px;
        display: flex;
        justify-content: center;
    }

    .popup_advantage_img {
        width: 55px;
    }

    .description_advantage {
        height: 20px;
        font-size: 10px;
        font-weight: 600;
        display: flex;
        justify-content: center;
    }

    .request {
        gap: 10px;
        height: 45px;
    }
}

#howwork,
#how_work,
#products,
#service,
#partners,
#contact_section,
#advantages {
    scroll-margin-top: 80px;
}

#adwantagem {
    scroll-margin-top: 90px;
}

.our_partners {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 40px 40px;
    max-height: 300px;
    max-width: 1440px;
    background-color: #F9F9F9;
}

.carousel_partners {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow: hidden;
    max-width: 1095px;
    width: 100%;
    height: 115px;
    position: relative;
    padding: 40px 0;
    margin: 0 auto;
}

.carousel_list {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    transition: transform 3.0s ease-in-out;
    flex: 0 0 calc(100% / 4);
}

.carousel_list img {
    max-height: 90px;
    width: 120px;
    object-fit: contain;
}

.carousel_dots_partners {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel_dots_partners span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: inline-block;
    transition: background-color 0.3s;
    border: 2px solid #DFDFDF;
}

.carousel_dots_partners span.active {
    background-color: #FCBF49;
}

.carousel_dots_partners+.cta-btn {
    margin-top: 40px;
}

@media screen and (max-width: 1200px) {
    .our_partners {
        height: auto;
        padding: 40px 0;
    }

    .carousel_dots_partners span {
        width: 15px;
        height: 15px;
    }
}

@media screen and (max-width: 1024px) {
    .carousel_dots_partners {
        gap: 7px;
        margin-top: 20px;
    }

    .carousel_dots_partners span {
        width: 12px;
        height: 12px;
    }
}

@media screen and (max-width: 768px) {
    .our_partners {
        padding: 40px 0;
        gap: 20px;
    }

    .carousel_partners {
        height: auto;
        width: 100%;
        padding: 20px 0;
    }

    .carousel_dots_partners {
        gap: 7px;
        margin-top: 10px;
    }

    .carousel_dots_partners span {
        width: 8px;
        height: 8px;
    }

    .carousel_dots_partners+.cta-btn {
        margin-top: 5px;
    }
}

@media screen and (max-width: 480px) {
    .our_partners {
        padding: 40px 0;
        gap: 15px;
    }

    .carousel_partners {
        padding: 20px 0;
        margin: 0 auto;
    }

    .carousel_list {
        gap: 25px;
    }

    .carousel_list img {
        width: 95px;
        max-height: 80px;
        object-fit: contain;
    }

    .carousel_dots_partners {
        gap: 7px;
        margin-top: 10px;
    }

    .carousel_dots_partners span {
        width: 8px;
        height: 8px;
    }
}

@media screen and (max-width: 320px) {
    .our_partners {
        padding: 40px 0;
        gap: 10px;
    }

    .carousel_dots_partners {
        gap: 7px;
        margin-top: 10px;
    }

    .carousel_dots_partners span {
        width: 8px;
        height: 8px;
    }
}

.form-message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none; 
}

.form-message.success {
    color: #28a745; 
    display: block;
}

.form-message.error {
    color: #dc3545; 
    display: block;
}