:root {
    --bg-color: #EEF6FF;
    --active-color: #518DF1;
    
    --cart-size: calc((100% - 90px) / 4);
    
    --ms: 70px;
    
    --mtb: 130px;
    --g-gap: 30px;
    
    --additional-fs: 24px;
    
    --icon-w: 70px;
}

.mT-0 {
    margin-top: 0px !important;
}

.contacts strong {
    font-weight: 700;
    font-family: Gilroy-Bold;
}

.container.contacts {
    font-family: Gilroy-Regular;
    
}

.container.contacts section {
    margin: var(--mtb) 0;
}

section.contacts_section {
    text-align: center;
}

.container.contacts section h2.h-title {
    
    padding: 0 0 var(--ms);
    
}

.contacts_section_countries {
    
    display: flex;
    flex-wrap: wrap;
    gap: var(--g-gap);
    justify-content: center;
    
    margin-bottom: var(--ms);
}

.contacts_section_countries__country {
    background: var(--bg-color);
    border-radius: 24px;
    box-shadow: 4px 4px 15px 0px #4A4D4D1A;
    width: var(--cart-size);
    
    display: flex;
    
    align-items: center;
    flex-direction: column;
    
    padding: var(--g-gap);
}

.country__title {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1em
}

.country__title > h3 {
    margin-bottom: 0;
}

.country__adress {
    text-align: center;
}

main.contacts-page {
    font-family: Gilroy-Regular;
    font-size: 100%;
}

.contacts_section_countries__country p {
    margin-bottom: 0.625em;
}

.contacts_description {
    font-size: var(--additional-fs);
}

.contacts_map .accordion-item {
    margin-bottom: var(--g-gap);
    box-shadow: 4px 4px 15px 0px #4A4D4D1A;
    
}

.contacts_map .accordion-item:not(.active) {
    background: var(--bg-color);
    border-radius: 24px;
}

.contacts_map .accordion-item.active {
    background: var(--active-color);
    color: #fff;
    border-radius: 24px;
    padding: 0 var(--g-gap) var(--g-gap);
    
}

.contacts_map .accordion-item.active a {
    color: #fff;
}

.contacts_map .accordion-item:not(.active) h3 {
    
    color: #000;
    
}

.contacts_map .accordion-item h3 {
    cursor: pointer;
    
    padding: 0;
    
    color: #fff;
    margin-bottom: 0;
}

.contacts_map .accordion-item p {
    margin-bottom: 0.5em;
}

.contacts_map .accordion-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: var(--g-gap) 0;
}

.contacts_map iframe {
    max-width: 100%;
    width: 100%;
    border: none;
}

.contacts_form button.learn-more.all-items-button {
    width: 100%;
    max-width: 100%;
}

.contacts .social-buttons {
    display: flex;
    gap: var(--g-gap);
    align-items: center;
    justify-content: center;
}

.contacts .social-buttons img {
    width: var(--icon-w);
    height: auto;
}

.contacts img {
    max-width: 100%;
    height: auto
}

.right-content-sp {
    padding-right: 15px;
}

.map-wrapper {
    position: relative;
    
}

.map-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.6); /* полупрозрачный фон */
}

.map-loader {
    display: none
}

.map-loader::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.active .map-frame-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

div#mapContainer {
    position: relative;
}

.contacts_wa img {
    width: 26px;
}

@media (min-width: 992px) {
    main.contacts-page {
        
        font-size: 1.125em;
    }
}

@media (min-width: 769px) {
    .container.contacts {
        padding: 0;
    }
}

@media (max-width: 991px) {
    :root {
        --cart-size: calc((100% - 60px) / 3);
    }
    
    .country__title > h3 {
        margin-bottom: 0;
    }
    
    .country__title {
        margin-bottom: 0.625em;
    }
    
    form.send-review .field-area input {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --cart-size: calc((100% - 60px) / 2);
        --ms: 35px;
        --mtb: 75px;
        --g-gap: 20px;
        --additional-fs: 100%;
        --icon-w: 40px;
    }
    
    .contacts .left-content-sp {
        padding-left: 0;
        margin-bottom: var(--g-gap);
    }
    
    .map-frame-container iframe {
        display: none;
        height: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --cart-size: 100%;
    }
    
    .contacts h1.h-title {
        margin: 30px 0 30px;
    }
}