/* 
 Developer: Dmytro Serdiuk
 Contacts: my.fg.code@gmail.com ; 
 Creation Date: 2025-02-06
 Code written by the developer for the project: https://diagnose.avtoinstallservis.site/
*/


:root {
    --bg-btn: #002A52;
    --bg-color: #1E2026; 
    --color-txt: #fff;
}
* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}
body {
    background-color: var(--bg-color);
}


/* HEADER. START */

.header {
    position: relative;
    background-color: transparent;
    color: #fff;
}
.header_top {
    width: 100%;
    max-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-descr {
    display: flex;
    align-items: center;
}
.header-top-descr a.header_logo {
    margin-right: 37px;
}
.header_logo img {
    max-height: 64px;
    width: auto;
}
.header_nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
} 
.header_nav li {
    margin-right: 20px;
}
.header_nav a {
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-txt);
    text-transform: none;
}
.header_contacts {
    display: flex;
    align-items: center;
}
.header_contacts .header_social {
    display: flex;
    flex-wrap: wrap;
}
.header_social .header_social-email-mobile,
.header_social .header_social-phone-mobile {
    display: none;
}
.header_contacts .header_social-email,
.header_contacts .header_social-phone {
    display: flex;
    flex-wrap: wrap;
}
.header_contacts .header_social-email img,
.header_contacts .header_social-phone img {
    width: 24px;
    height: auto;
    margin-right: 10px;
}
.header_contacts .header_social-email a.header_email,
.header_contacts .header_social-phone a.header_email {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-txt);
    text-transform: none;
}
.header_contacts .header_social .header_social-wrapper-btn a {
    margin-right: 20px;
}
.header_contacts .header_social .header_social-wrapper-btn img {
    width: 24px;
    height: auto;
}
.header_contacts .header_social .header_social-wrapper-btn a:last-child {
    margin-right: 0;
}
.header_top .header_contacts-language ul.language-switcher {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style-type: none;
}
.header_top .header_contacts-language li {
    margin-right: 20px;
}
.header_top .header_contacts-language li:last-child {
    margin-right: 0;
} 
.header_burger {
    display: none;
}
.header_burger span {
    display: block;
    height: 3px;
    background-color: #fff;
}
  
/* Контент */
.header_content {
    position: relative;
    text-align: center;
    margin-top: 19.5px;
    margin-bottom: 30.5px;
} 
.header_content h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 70px;
    line-height: 85px;
    letter-spacing: calc(0.18 * 1em);
    color: var(--color-txt);
    text-transform: none;
}

.header_wrapper-logo-mob {
    display: none;
}
  
 









/* HEADER. START */

.header {
    position: relative;
    /* margin-top: 40px; */
    background-color: transparent;
    color: #fff;
}

.header_top_contacts {
    background-color: #f5f5f5;
    padding: 15px 0;
} 
.header_top_contacts  .contacts-list {
    display: flex; 
    gap: 20px; 
    overflow-x: auto;
    scrollbar-width: thin; 
    scrollbar-color: #ccc transparent; 
    padding-bottom: 10px;
    justify-content: space-around;
    list-style-type: none;
    padding: 0; 
    margin: 0;
    align-items: center;
} 
.header_top_contacts .contacts-list::-webkit-scrollbar {
    height: 6px; 
} 
.contacts-list::-webkit-scrollbar-thumb {
    background-color: #aaa; 
    border-radius: 10px; 
} 
.header_top_contacts .contacts-list::-webkit-scrollbar-track {
    background: transparent; 
} 
.header_top_contacts .top_header_contacts_icon {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; 
} 
.header_top_contacts .header_icons {
    width: 32px;
    height: auto;
    margin-right: 5px;
} 
.header_top_contacts a.top_header_contacts_icon-link {
    text-decoration: none;
}
.header_top_contacts .top_header_contacts_icon_text h4 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #444;
    margin: 0;
}
.header_top_contacts .top_header_contacts_icon_subtitle,
.header_top_contacts a.top_header_contacts_icon_subtitle {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #777;
    transition: solid 0,3s all;
}
.header_top_contacts a.top_header_contacts_icon_subtitle:hover {
    color: var(--bg-btn);
}
@media (max-width: 991px) {
    .header_top_contacts {
        padding: 10px 0 10px 0;
    }
    .header_top_contacts .contacts-list {
        justify-content: space-around;
    }
}
@media (max-width: 720px) {
    .header_top_contacts .top_header_contacts_icon_text {
        display: none;
    }
    .header_top_contacts .header_icons {
        width: 24px;
        height: auto;
        margin-right: 0;
    }
}  

.header_top {
    margin-top: 15px;
    width: 100%;
    max-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-descr {
    display: flex;
    align-items: center;
}
.header-top-descr a.header_logo {
    margin-right: 37px;
}
.header_logo img {
    max-height: 64px;
    width: auto;
}

/* Десктопне меню */
.header_menu-desc {
    display: block;
}
.header_nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header_nav li {
    margin-right: 20px;
}
.header_nav a {
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: var(--color-txt);
    text-transform: none;
}

/* Мобільне меню */
.header_menu-mob {
    display: none;
}
/* Контакти */
.header_contacts {
    display: flex;
    align-items: center;
}
.header_contacts .header_social {
    display: flex;
    flex-wrap: wrap;
}
.header_social .header_social-email-mobile,
.header_social .header_social-phone-mobile {
    display: none;
}
.header_contacts .header_social-email,
.header_contacts .header_social-phone {
    display: flex;
    flex-wrap: wrap;
}
.header_contacts .header_social-email img,
.header_contacts .header_social-phone img {
    width: 24px;
    height: auto;
    margin-right: 10px;
}
.header_contacts .header_social-email a.header_email,
.header_contacts .header_social-phone a.header_email {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-txt);
    text-transform: none;
}
.header_contacts .header_social .header_social-wrapper-btn a {
    margin-right: 20px;
}
.header_contacts .header_social .header_social-wrapper-btn img {
    width: 24px;
    height: auto;
}
.header_contacts .header_social .header_social-wrapper-btn a:last-child {
    margin-right: 0;
}
.header_top .header_contacts-language ul.language-switcher {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style-type: none;
}
.header_top .header_contacts-language li {
    margin-right: 20px;
}
.header_top .header_contacts-language li:last-child {
    margin-right: 0;
}

/* Бургер-меню */
.header_burger {
    display: none;
}
.header_burger span {
    display: block;
    height: 3px;
    background-color: #fff;
}

/* Контент */
.header_content {
    position: relative;
    text-align: center;
    margin-top: 12.5px;
    margin-bottom: 20.5px;
}
.header_content h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 70px;
    line-height: 85px;
    letter-spacing: calc(0.18 * 1em);
    color: var(--color-txt);
    text-transform: none;
}
.main_title-txt-mobile {
    display: none;
}
/* Адаптивність */
@media (max-width: 1197px) {
    .header_contacts .header_social-email,
    .header_contacts .header_social-phone {
        display: none;
    }
    .header_contacts .header_social-email-mobile,
    .header_contacts .header_social-phone-mobile {
        display: block;
        margin-right: 20px;
    }
}
@media (max-width: 991px) {
    .header_menu-desc {
        display: none;
    }
    .header_menu-mob {
        display: block;
    }
    .header_nav-mobile {
        position: fixed;
        top: 0;
        left: -100%;
        width: 290px;
        height: 100vh;
        background-color: #000;
        padding: 20px;
        z-index: 100;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }
    .header_nav-mobile ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-top: 50px;
    }
    .header_nav-mobile li {
        margin-bottom: 20px;
    }
    .header_nav-mobile a {
        color: #fff;
        font-size: 20px;
        text-decoration: none;
    }
    .header_nav-mobile.active {
        left: 0;
    }
    .header_contacts .header_social-email,
    .header_contacts .header_social-phone {
        display: none;
    }
    .header_contacts .header_social-email-mobile,
    .header_contacts .header_social-phone-mobile {
        display: block;
        margin-right: 20px;
    }
    .header_content h2 {
        font-size: 4.3rem;
    }
    .main_title-txt-mobile {
        display: block;
        margin-bottom: 20px;
    }
    .main_title-txt-mobile h1 {
        font-family: "Roboto", sans-serif;
        font-weight: 700;
        text-shadow: 2px 2px 2px #000;
        font-size: 20px;
        line-height: 30px;
        color: var(--color-txt);
        text-transform: none;
        text-align: center;
    }
    /* Бургер-меню */
    .button_burger-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0 16px;
        background-color: transparent;
        height: 60px;
    }
    .header_burger {
        display: block;
        width: 34px;
        height: 20px;
        border: none;
        background: none;
        padding: 0;
        cursor: pointer;
    }
    .header_burger span {
        display: block;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }
    .header_burger span:nth-child(1) {
        width: 28px; 
        height: 2px;
    }
    .header_burger span:nth-child(2) {
        width: 24px; 
        margin-left: 4px; 
    }
    .header_burger span:nth-child(3) {
        width: 20px;
        margin-left: 7px;
    }
    .header_burger span + span {
        margin-top: 8px; 
    }
    .header_burger.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .header_burger.open span:nth-child(2) {
        opacity: 0;
    }
    .header_burger.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        width: 28px;
        position: relative;
        top: -4px;
        left: -6px;
    }
}
@media (max-width: 630px) {
    .header_content h2 {
        font-size: 28px;
        line-height: 34px;
    }
}
@media (max-width: 540px) {
    .header-top-descr {
        display: none;
    }
    .header_wrapper-logo-mob {
        display: block;
    }
    .header_wrapper-logo-mob a.header_logo-mob {
        height: 64px;
        position: relative;
        display: block;
    }
    .header_wrapper-logo-mob a.header_logo-mob img {
        display: block;
        margin: 0 auto;

        width: 100%;
        height: 60px;
    }
    .main_title-txt-mobile h1 {
        font-size: 18px;
        line-height: 22px;
    }
    .header_content h2 {
        font-size: 20px;
        line-height: 25px;
    }
}
@media (max-width: 410px) {
    .header_content h2 {
        font-size: 17px;
        line-height: 21px;
    }
    .header_wrapper-logo-mob a.header_logo-mob img {
        width: 100%;
        height: 55px;
    }
}
@media (max-width: 340px) {
    .header_nav-mobile {
        width: 260px;
    }
}



/*ГОЛОВНИЙ БАНЕР. START*/
.main-banner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 750px; 
    min-height: 100%;
}
.main-banner-img-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    pointer-events: none;
}
.main-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -1; 
    max-height: 750px; 
    min-height: 100%;
}
.main-banner-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    width: 100%; 

    justify-content: center;
}
.main-banner-desc-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.main-banner-content {
    position: relative;
    z-index: 2; 
    text-align: center;
    color: var(--color-txt);
    padding: 0 20px;
    max-width: 1279px;
}
.main-banner-content h1 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 2px #000;
    font-size: 48px;
    line-height: 59px;
    text-align: center;
    text-transform: none;
}
.main-btn-wrapper-desc {
    position: absolute;
    z-index: 3;
    bottom: 0;
}
.main-btn-wrapper-desc .main-banner-button {
    margin-top: 20px; 
    margin-bottom: 80px; 
    display: inline-block;
    padding: 16px 18px;
    background-color: var(--bg-btn); 
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-transform: none;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.main-banner-button:hover {
    background-color: #00509d;
}
@media (max-width: 991px) {
    .main-banner {
        display: none;
    }
}
/*ГОЛОВНИЙ БАНЕР DESCTOP. END*/





/*ГОЛОВНИЙ БАНЕР MOBILE. START*/
.main-banner-mobile {
    display: none;
}
@media (max-width: 991px) {
    .main-banner-mobile {
        display: block;
        position: relative;
        width: 100%;
    }
    .main-banner-img-mob-wrapper {
        position: relative;
        width: 100%;
        max-height: 750px;
        overflow: hidden;
    }
    .main-banner-mobile .main_title-txt-mobile {
        position: absolute; 
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); 
        z-index: 3; 
        margin: 0; 
        padding: 10px;
        padding: 10px; 
        width: 100%;
      }
    .main-banner-mobile .main-banner-img-mob {
        width: 100%;
        height: auto;
        max-height: 750px;
        object-fit: cover;
        z-index: -1;
        min-height: 265px; 
    }
    .main-banner-img-mob-wrapper .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 2;
        pointer-events: none;
    }
    .main-banner-mobile .main-btn-wrapper-mob {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        z-index: 1; 

        margin-left: 5px;
        margin-right: 5px;
        position: relative;
    }

    .main-banner-mobile .main-btn-wrapper-mob .main-banner-button-mob {
        padding: 16px 18px;
        background-color: var(--bg-btn);
        color: var(--color-txt);
        font-family: 'Montserrat', Arial, sans-serif;
        line-height: 24px;
        text-transform: none;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        text-align: center;
        font-weight: 400;
        font-size: 19px;
    }
}
/*ГОЛОВНИЙ БАНЕР DESCTOP. END*/



/* ПРО НАС. START */
.about-us {
    padding: 50px 20px;
}  
.about-us h2.about-us-title {
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 49px;
    text-transform: none;
    margin-bottom: 30px;
}
.about-us .about-us-subtitle {
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-transform: none;
    margin-bottom: 20px;
}
.about-us .about-us-txt {
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-transform: none;
    margin-bottom: 30px;
}
.about-us .about-us-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.about-us .about-us-text {
    flex: 1 1 60%; /* Основна ширина */
    font-size: 16px;
    line-height: 1.6;
}  
.about-us .about-us-list {
    padding: 0;
    list-style: none;
} 
.about-us-list li {
    position: relative;
    max-width: 500px;
    height: auto;
    margin-bottom: 30px;
}
.about-us-list li:last-child {
    margin-bottom: 0;
}
.about-us-list li:nth-child(2) {
    margin-left: 147px;
}
.about-us-list li:nth-child(3) {
    margin-left: 300px;
}
.about-list-title-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.about-us-list li img.about-list-icon {
    display: inline-block;
    width: 26px;
    height: auto;
    flex-shrink: 0;
    margin-right: 10px;
}
.about-us-list li p.about-list-title {
    display: inline-block;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-transform: none;
    text-decoration: none;
} 
.about-us-list li p.about-list-descr {
    margin: 5px 0 0 0;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-transform: none;
    text-decoration: none;
}
.about-us-image {
    flex: 1 1 35%;
    text-align: center;
}
.about-us-image img {
    max-width: 100%; 
    max-height: 300px; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    aspect-ratio: 440 / 300;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
}
.about-us .about-us-content .about-us-txt-mobile {
    display: none;
} 
.about-us .about-us-content button.read-more-btn {
    display: none;
} 
@media (max-width: 991px) {
    .about-us {
        padding: 60px 10px;
    }  
    .about-us h2.about-us-title {
        font-weight: 600;
        font-size: 30px;
        line-height: 39px;
        text-transform: none;
        margin-bottom: 30px;
    }
    .about-us .about-us-subtitle {
        font-weight: 400;
        font-size: 19px;
        line-height: 23px;
        margin-bottom: 20px;
    }
    .about-us .about-us-txt {
        font-weight: 400;
        font-size: 19px;
        line-height: 23px;
        margin-bottom: 30px;
    }
    .about-us-list li img.about-list-icon {
        width: 24px;
        margin-right: 9px;
    }
    .about-us-list li p.about-list-title {
        font-size: 19px;
        line-height: 23px;
    } 
    .about-us-list li p.about-list-descr {
        font-weight: 400;
        font-size: 19px;
        line-height: 23px;
    }

    .about-us-list li:nth-child(2) {
        margin-left: 70px;
    }
    .about-us-list li:nth-child(3) {
        margin-left: 140px;
    }
}
@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column; 
    } 
    .about-us-text, .about-us-image {
        flex: 1 1 100%; 
    }
    .about-us .about-us-txt {
        display: none;
    }
    .about-us .about-us-content .about-us-txt-mobile {
        display: block;
        color: var(--color-txt);
        font-weight: 400;
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 20px;
        text-transform: none;
    }
    .about-us-list li:nth-child(2),
    .about-us-list li:nth-child(3) {
        margin-left: 0;
    }
    .about-us-list li img.about-list-icon {
        width: 24px;
        margin-right: 9px;
    }
    .about-us-list li p.about-list-title {
        font-size: 18px;
        line-height: 22px;
    } 
    .about-us-list li p.about-list-descr {
        font-size: 18px;
        line-height: 22px;
    }

    .about-us .about-us-text {
        overflow: hidden;
        max-height: 115px; 
        transition: max-height 0.3s ease-in-out;
    }
    .about-us .about-us-text.expanded {
        max-height: 1500px; 
    }
    .about-us .about-us-content button.read-more-btn {
        display: block;
        background-color: transparent;
        border: none;
        color: var(--color-txt);
        font-family: 'Montserrat', Arial, sans-serif;
        font-weight: 400;
        font-size: 17px;
        line-height: 24px;
    }
    .about-us .about-us-content .about-us-image {
        margin-top: 20px;
    }
}
/* ПРО НАС. END */


/* Працюємо з різними типами. Desctop. START */
.auto-types-section {
    width: 100%;
    min-height: 850px;
    background-color: var(--bg-btn);
    padding: 40px 20px;
    color: var(--color-txt);
}
  
.auto-types-section .section-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 400;
    margin-top: 60px;
    margin-bottom: 30px;
    color: var(--color-txt);
    text-align: center;
    text-transform: none;
}
.auto-types-section .categories-grid-top {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.auto-types-section .category {
    width: 440px;
    height: auto;
    text-align: center;
}
.auto-types-section .category:nth-child(2) {
    margin-left: 130px;
}
.auto-types-section .categories-grid-bottom {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    position: relative;
    top: -40px
}
.auto-types-section .category p.category-title {
    margin-bottom: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-decoration: underline;
}
.auto-types-section .ategories-grid .category-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}
.auto-types-section .category:hover .category-image {
    transform: scale(1.05);
}

.auto-types-section-mobile {
    display: none;
}

@media (max-width: 1080px) {
    .auto-types-section .category:nth-child(2) {
        margin-left: 20px;
    }
}
@media (max-width: 991px) {
    .auto-types-section {
        display: none;
    }
    .auto-types-section-mobile {
        display: block;
        width: 100%;
        height: auto;
    }
    .auto-types-section-mobile h2.section-title {
        text-align: center;
        font-family: 'Montserrat', Arial, sans-serif;
        font-size: 30px;
        line-height: 39px;
        font-weight: 400;
        margin-top: 60px;
        margin-bottom: 20px;
        color: var(--color-txt);
        text-transform: none;
    }
    .auto-types-section-mobile .categories-list-mobile {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
    }
    .auto-types-section-mobile .categories-column {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-right: 43px;
    }
    .auto-types-section-mobile span.category-circle {
        display: inline-block;
        position: relative;
        top: -4px;
        margin-right: 10px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: var(--color-txt);
    }
    .auto-types-section-mobile .categories-column p.category-title {
        display: inline-block;
        font-family: 'Montserrat', Arial, sans-serif;
        font-size: 20px;
        line-height: 24px;
        font-weight: 400;
        color: var(--color-txt);
        text-transform: none;
    }
    .auto-types-section-mobile .slider-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    .auto-types-section-mobile .slider {
        display: flex;
        transition: transform 0.3s ease-in-out;
    }
    .auto-types-section-mobile .slider-item {
        width: 100%;
        flex-shrink: 0;
    }
    .auto-types-section-mobile .slider-item img {
        width: 100%;
        display: block;

    }
    /***** Стрілки *****/
    .auto-types-section-mobile .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        color: var(--color-txt);
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 10;
    }
    .auto-types-section-mobile .slider-arrow.left {
        left: 10px;
    }
    .auto-types-section-mobile .slider-arrow.right {
        right: 10px;
    }
    /***** Точки *****/
    .auto-types-section-mobile .slider-dots {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        gap: 16px;
    }
    .dot {
        width: 32px;
        height: 12px;
        background-color: transparent;
        border: 1px solid var(--color-txt);
        border-radius: 50px;
        cursor: pointer;
    }
    .dot.active {
        background-color: var(--bg-btn);
    }
}
@media (max-width: 768px) {
    .auto-types-section-mobile h2.section-title {
        text-align: center;
        font-family: 'Montserrat', Arial, sans-serif;
        font-size: 20px;
        line-height: 29px;
        font-weight: 400;
    }
    .auto-types-section-mobile .categories-column p.category-title {
        font-size: 16px;
        line-height: 20px;
    }
}
@media (max-width: 442px) {
    .auto-types-section-mobile .slider-wrapper {
        width: 100%; 
    }

    .auto-types-section-mobile .slider-item img {
        object-fit: contain; 
    }
    .auto-types-section-mobile .slider-arrow {
        padding: 5px;
    }
    .auto-types-section-mobile .dot {
        width: 24px;
        height: 8px;
    }
}
@media (max-width: 350px) {
    .auto-types-section-mobile .categories-column {
        margin-right: 10px;
    }
    .auto-types-section-mobile .categories-column:nth-child(2n) {
        margin-right: 0;
    }
}
/* Працюємо з різними типами. Desctop. END */



/* ПОСЛУГИ. START */
.services-section {
    position: relative;
    width: 100%;
    height: auto;
}
.services-section h2.section-title {
    position: relative;
    margin-top: 80px;
    color: var(--color-txt);
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 600;
    text-transform: none;
}
.services-section .services-grid {
    position: relative;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 130px;
    justify-content: center;
}
.services-section .service-item {
    width: 285px;
    height: 410px;
    background: transparent;
    border-radius: 0;
    border: 1px solid var(--bg-btn);
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.services-section .service-item h3.service-title {
    margin: 29px 30px 27px 30px;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    text-transform: none;

    font-size: 18px;
    margin-bottom: 10px;
    min-height: 48px; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-item img {
    max-width: 100%;
    height: 190px; 
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 10px;
}
.services-section .service-item p.service-description {
    margin: 0 11px 2px 11px;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    text-transform: none;
}

/***** Кнопка запису *****/
.services-button-wrapper {
    text-align: center;
    margin-top: 50px;
}
.services-button {
    background: var(--bg-btn);
    color: #fff;
    border: none;
    padding: 16px 20px;
    font-size: 20px;
    line-height: 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: none;
}
.services-button:hover {
    background: #0056b3;
}

/***** Адаптація під мобільні пристрої *****/
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    .service-item img {
        height: auto;
        margin-left: 50px;
        margin-right: 50px;
    }
}
@media (max-width: 480px) {
    .service-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .services-section h2.section-title {
        font-size: 20px;
        line-height: 24PX;
        font-weight: 600;
    }
}
@media (max-width: 340px) {
    .services-button-wrapper .services-button {
        font-size: 18px;
        line-height: 22px;
    }
}
/* ПОСЛУГИ. END */




/* МОДАЛЬНЕ ВІКНО. START */
/* Загальний стиль для модального вікна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background: var(--color-txt);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Кнопка закриття модального вікна */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}
.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-submit {
    background-color: var(--bg-btn, #007bff);
    color: var(--color-txt);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-submit:hover {
    background-color: var(--bg-btn-hover, #0056b3);
}

/* Відображення модального вікна */
.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}
/* МОДАЛЬНЕ ВІКНО. END */



/* НАШІ ПЕРЕВАГИ. START */
.advantages-section {
    background-color: transparent;
    width: 100%;
    height: auto;
    margin-top: 60px;
}
.advantages-section .advantages-title {
    position: relative;
    color: var(--color-txt);
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 600;
    text-transform: none;
}
.advantages-section .advantages-container {
    margin-top: 30px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.advantages-section .advantage-item-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.advantages-section .advantage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    border: 1px solid var(--color-txt);
    border-radius: none;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 80px;
    cursor: pointer;
}
.advantages-section .advantage-item.active {
    background-color: var(--bg-btn);
    color: var(--color-txt);
}
.advantages-section .advantage-item-wrapper:first-child .advantage-item {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.advantages-section .advantage-item:nth-child(1n) {
    border-bottom: none;
}
.advantages-section .advantage-item:nth-child(2n) {
    border-bottom: none;
}
.advantages-section .advantage-item-wrapper:last-child .advantage-item {
    border-bottom: 1px solid var(--color-txt);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.advantages-section .advantage-header {
    display: flex;
    align-items: center;
    width: 100%;
}
.advantages-section .advantage-number {
    margin-right: 30px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 35px;
    line-height: 40px;
    font-weight: 600;
    width: 46px;
    height: auto;
    text-align: center;
    color: var(--color-txt);
    background-color: var(--bg-btn); 
    border-radius: 50%;
    z-index: 2; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
.advantages-section .advantage-text {
    flex-grow: 1;
}
.advantages-section .advantage-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: var(--color-txt);
    text-transform: none;
}
.advantages-section .advantage-desc {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    margin: 6px 0 0;
    color: var(--color-txt);
    text-transform: none;
}
.advantages-section .accordion-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
}
.advantages-section  .advantage-desc {
    display: none;
}
.advantages-section .advantage-item.active .advantage-desc {
    display: block; 
}
.advantages-section .accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.advantages-section .advantage-item.active .accordion-toggle {
    transform: rotate(45deg); 
}
.advantages-section .advantage-item .accordion-toggle img {
    transition: transform 0.3s ease;
}
.advantages-section .advantage-item.active .accordion-toggle img {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .advantages-section .advantages-container {
        margin-bottom: 60px;
    }
    .advantages-section .advantage-number {
        margin-right: 15px;
        font-size: 30px;
        line-height: 35px;
        font-weight: 600;
        width: 30px;
        height: auto;
    }
    .advantages-section .advantage-item {
        padding: 17px 5px;
        width: 100%;
        min-height: 80px;
    }
    .advantages-section .advantage-title {
        font-family: 'Montserrat', Arial, sans-serif;
        font-size: 18px;
        line-height: 22px;
        font-weight: 400;
        color: var(--color-txt);
    }
    .advantages-section .advantage-desc {
        font-family: 'Montserrat', Arial, sans-serif;
        font-size: 14px;
        line-height: 17px;
        font-weight: 400;
        margin: 6px 0 0;
        color: var(--color-txt);
    }
}
@media (max-width: 480px) {
    .advantages-section .advantages-title {
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
    }
    .advantages-section .advantage-number {
        margin-right: 11px;
        font-size: 30px;
        line-height: 35px;
        font-weight: 600;
        width: 30px;
        height: auto;
    }
    .advantages-section .advantage-item {
        padding: 17px 5px;
        width: 100%;
        min-height: 80px;
    }
    .advantages-section .advantage-title {
        font-size: 16px;
        line-height: 20px;
    }
    .advantages-section .advantage-desc {
        font-size: 14px;
        line-height: 17px;
    }
}
/* НАШІ ПЕРЕВАГИ. END */


/* ТРОХИ ЦИФР ПРО НАС. START */
.numbers-section {
    position: relative;
    width: 100%;
    min-height: auto;
}

.numbers-section h2.numbers-title {
    position: relative;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 30px;
    
    margin-top: 50px;
}

.numbers-section .numbers-section-bg {
    background-color: var(--bg-btn);
    padding: 40px 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.numbers-section .numbers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 65px;
    margin-bottom: 65px;
}

.numbers-section .number-item {
    border: 1px solid var(--color-txt);
    border-radius: 5px;
    padding: 40px 9px;
    text-align: center;
    width: calc(25% - 20px); 
    max-width: 260px;
    box-sizing: border-box;
}

.numbers-section .number-item .number {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 48px;
    line-height: 59px;
    font-weight: 500;
}

.numbers-section .number-item .number-desc {
    display: block;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 19px;
    line-height: 24px;
    font-weight: 500;
    text-transform: none;
}

/* Планшети (2 в рядок) */
@media (max-width: 1024px) {
    .numbers-section .number-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Мобільні (2 в рядок) */
@media (max-width: 768px) {
    .numbers-section .number-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        padding: 20px; 
    }
}
@media (max-width: 480px) {
    .numbers-section h2.numbers-title {
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
        margin-bottom: 25px;
    }
    .numbers-section .numbers-section-bg {
        padding: 32px 0;
        margin-bottom: 30px;
    }
    .numbers-section .numbers-grid {
        margin-top: 27px;
        margin-bottom: 27px;
    }
    .numbers-section .number-item {
        border: 1px solid var(--color-txt);
        border-radius: 5px;
        padding: 5px 2px;
        text-align: center;
        width: calc(25% - 20px); 
        max-width: 260px;
        box-sizing: border-box;
    }
    .numbers-section .number-item .number {
        margin-bottom: 10px;
        font-size: 34px;
        line-height: 41px;
        font-weight: 500;
    }
    .numbers-section .number-item .number-desc {
        font-size: 19px;
        line-height: 24px;
        font-weight: 500;
    }
}
@media(max-width: 360px) {
    .numbers-section .numbers-grid {
        gap: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .numbers-section .number-item .number {
        margin-bottom: 10px;
        font-size: 30px;
        line-height: 38px;
        font-weight: 500;
    }
    .numbers-section .number-item .number-desc {
        font-size: 19px;
        line-height: 24px;
    }
    .numbers-section .number-item .number-desc {
        font-size: 16px;
        line-height: 20px;
    }
}
/* ТРОХИ ЦИФР ПРО НАС. END */


/* ЗАПИС НА ДІАГНОСТИКУ. START */
.form-section {
    position: relative;
    width: 100%;
    height: 900px; 
    background: url('../images/img/bg-1.jpeg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-attachment: fixed;
 
}
  
.form-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1; 
}
/* Заголовок і підзаголовок */
.form-section h2 {
    position: relative;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    z-index: 3;
}
.form-section p {
    position: relative;
    margin-top: 25px;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    z-index: 3;
}

/* Контейнер форми */
.form-section .form-container {
    margin-top: 73px;
    position: relative;
    max-width: 860px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
}
/* Рядки форми */
.form-section form {
    margin-top: 73px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    column-gap: 60px;
    row-gap: 40px;
}

/* Перший і другий рядок */
.form-section .form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}
/* Поля форми */
.form-section .form-field {
    max-width: 245px;
    flex: 1;
    padding: 12px;
    border: 1px solid var(--color-txt);
    border-radius: 0;
    background: transparent;
    color: var(--color-txt);
    font-size: 16px;
}

.form-section .second-row {
    justify-content: center;
}
/*Третій рядок*/
.form-section .third-row {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;

}

.form-section .third-row .form-group {
    display: flex;
    flex-direction: column; 
    width: 245px;
    height: auto;
}
.form-section .third-row .form-field {
    max-width: 245px;
    flex: 1;
    padding: 12px;
    border: 1px solid var(--color-txt);
    border-radius: 0;
    background: transparent;
    color: var(--color-txt);
    font-size: 16px;
}
.form-section .third-row .form-group label {
    display: inline-block; 
    text-align: left; 
    width: auto; 
    margin-bottom: 5px;
    color: var(--color-txt); 
}

.form-section .button-row {
    display: flex;
    justify-content: center;
}

.form-section .form-button {
    padding: 18px 40px;
    border: none;
    border-radius: 3px;
    background: var(--bg-btn);
    color: var(--color-txt);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}
.form-section .form-button:hover {
    background: #0056b3;
}



/* Випадаюче меню */
.form-section select.form-field {
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid var(--color-txt);
    color: var(--color-txt);
    font-size: 16px;
    padding: 12px;
    cursor: pointer;
    max-width: 245px; 
    flex: 1;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23CCCCCC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.form-section select.form-field:focus {
    outline: none;
    border-color: #0056b3;
}
.form-section select.form-field option {
    color: #000;
    background: #ffffff;
    padding: 10px;
}

@media (max-width: 890px) {
    .form-section {
        display: block;
        height: 570px;
        background-attachment: scroll;
    }
    .form-section h2 {
        margin-top: 40px;
    }
    .form-section p {
        margin-top: 15px;
    }
    .form-section form {
        margin-top: 45px;
        row-gap: 10px;
    }
    .form-section .form-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .form-section .form-field {
        width: 245px;
    }
    .form-section .form-row.second-row {
        width: 245px;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .form-section {
      height: 700px; 
    }
    .form-container {
      padding: 20px;
    }
    form {
      grid-template-columns: 1fr; 
    }
    button {
      grid-column: 1 / 2; 
    }
}
@media (max-width: 480px) {
    .form-section {
        /* height: 540px;  */
        height: 670px;
      }
    .form-section h2 {
        margin-top: 20px;
        font-size: 20px;
        line-height: 24px;
    }
    .form-section p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 17px;
    }
    .form-section form {
        margin-top: 0;
    }

}
@media (max-width: 320px) {
    .form-section .form-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .form-section .form-field {
        width: 230px;
    }
    .form-section .form-row.second-row {
        width: 230px;
        margin: 0 auto;
    }
    .form-section .form-row {
        align-items: start;
    }
    .form-section .form-row.button-row {
        align-items: center;
    }
    .flatpickr-calendar {
        width: 300.875px;
    }
}
/* ЗАПИС НА ДІАГНОСТИКУ. END */



/* КОНТАКТИ. START */
.contact-section {
    position: relative;
    width: 100%;
    height: auto;
}
.contact-section .contact-info-wrapper {
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.contact-section .contact-info {
    max-width: 400px;
    flex: 1 1 400px;
}
.contact-section .contact-info h2 {
    position: relative;
    margin-bottom: 37px;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 600;
    text-align: center;
    text-transform: none;
}
.contact-section .contact-info-box {
    position: relative;
    margin-bottom: 30px;
}
.contact-section .contact-info-box:last-child {
    margin-bottom: 0;
}
.contact-section .contact-info-box p {
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 6px;
}
.contact-section .contact-info-box a {
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
}
.contact-section .contact-info-social-box p {
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 11px;
}
.contact-section .contact-info-social-box a {
    margin-right: 30px;
    height: 24px;
    width: auto;
    position: relative;
    display: inline-block;
}
.contact-section .contact-info-social-box img {
    height: 24px;
    width: auto;
}
.contact-section .contact-info-social-box a:last-child {
    margin-right: 0;
}
.contact-info-map {
    flex: 1 1 600px;
    max-width: 786px;
    height: 436px;
}
.contact-info-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-section span.contact-section-line {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}
.contact-section .contact-info-policy-wrapper {
    position: relative;
    margin-top: 22px;
    margin-bottom: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-section .contact-info-policy-wrapper p,
.contact-section .contact-info-policy-wrapper a {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    line-height: 13px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
}


@media (max-width: 1045px) {
    .contact-section .contact-info {
        max-width: 800px;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        max-width: 100%;
        text-align: center;
    }

    .contact-info-map {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 480px) {
    .contact-section .contact-info-wrapper {
        margin-top: 60px;
        margin-bottom: 30px;
        gap: 20px;
    }
    .contact-section .contact-info h2 {
        position: relative;
        margin-bottom: 22px;
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
    }
    .contact-section .contact-info-box p {
        font-size: 15px;
        line-height: 20px;
    }
    .contact-section .contact-info-box a {
        font-size: 15px;
        line-height: 20px;
    }
    .contact-section .contact-info-social-box p {
        font-size: 15px;
        line-height: 20px;
    }
    .contact-section .contact-info-map {
        max-width: 400px;
        flex: 1 1 300px;
    }

    .contact-section .contact-info-policy-wrapper {
        margin-top: 0;
        margin-bottom: 0;
    }
    .contact-section .contact-info-policy-wrapper p,
    .contact-section .contact-info-policy-wrapper a {
        font-size: 8px;
        line-height: 10px;
    }
}
@media (max-width: 370px) {
    .contact-section .contact-info-wrapper {
        margin-top: 60px;
        margin-bottom: 30px;
        gap: 20px;
    }
    .contact-section .contact-info h2 {
        position: relative;
        margin-bottom: 22px;
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
    }
    .contact-section .contact-info-box p {
        font-size: 13px;
        line-height: 20px;
    }
    .contact-section .contact-info-box a {
        font-size: 13px;
        line-height: 20px;
    }
    .contact-section .contact-info-social-box p {
        font-size: 13px;
        line-height: 20px;
    }
    .contact-info-map {
        flex: 1 1 250px;
        max-width: 786px;
        height: 436px;
    }
}
/* КОНТАКТИ. END */





/*Google Forms. Start*/
.form-section-calendar {
    position: relative;
    width: 100%;
    height: 900px; 
    background: url('../images/img/bg-3.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-attachment: fixed;
 
}
.form-section-calendar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1; 
}
.form-section-calendar h2 {
    position: relative;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 40px;
    line-height: 49px;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    z-index: 3;
}
.form-section-calendar .form-container-calendar {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}
.calendar-wrapper {
    width: 100%;
    max-width: 800px; 
    margin: 0 auto;
    overflow: hidden;
}

.form-section-calendar .form-container-calendar  iframe {
    width: 100%;
    height: 600px;
    border: 0;
}

.form-section-calendar .calendar-wrapper iframe {
    background-color: #fff;
}



/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .form-section h2 {
        margin-top: 40px;
    }
    .calendar-wrapper iframe {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .form-section h2 {
        margin-top: 20px;
        font-size: 20px;
        line-height: 24px;
    }
    .calendar-wrapper iframe {
        height: 400px;
    }
}

/*Google Forms. End*/





.succes {
    font-size: 16px;
    color: var(--bg-btn);
    text-align: center;
    margin-top: 30px;
}
.disp {
    display: none;
}

.succes-form {
    font-size: 16px;
    color: var(--color-txt);
    text-align: center;
    margin-top: 30px;
}
.displ {
    display: none;
}



.succes {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
}

.succes.disp {
    display: none; 
}




/*Політика конфіденційності. START*/
.policy h2 {
    position: relative;
    margin-top: 50px;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 35px;
    line-height: 40px;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
}
.policy p {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
}
@media (max-width: 540px) {
    .policy h2 {
        font-size: 23px;
        line-height: 30px;
    }
    .policy p {
        font-size: 15px;
        line-height: 25px;
    }
}
/*Політика конфіденційності. END*/


/*Оферта. START*/
.offer h2 {
    position: relative;
    margin-top: 50px;
    text-align: center;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 35px;
    line-height: 40px;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
}
.offer p {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--color-txt);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    text-transform: none;
    text-decoration: none;
}
.offer a {
    color: var(--color-txt);
    text-transform: none;
}
@media (max-width: 540px) {
    .policy h2 {
        font-size: 23px;
        line-height: 30px;
    }
    .policy p {
        font-size: 15px;
        line-height: 25px;
    }
}
/*Оферта. END*/