@font-face {
    font-family: "e-Ukraine";
    src: local("e-Ukraine Regular"), url("../fonts/e-Ukraine-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "e-Ukraine";
    src: local("e-Ukraine Medium"), url("../fonts/e-Ukraine-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "e-Ukraine-head";
    src: local("e-Ukraine Medium"), url("../fonts/e-UkraineHead-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
}

body {
    font-size: 1.6rem;
}

[map-zoom="sm"] .leaflet-marker-pane,
[map-zoom="xs"] .leaflet-marker-pane {
    visibility: hidden;
}
[map-zoom="xs"] .leaflet-tooltip-pane {
    visibility: hidden;
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before {
    content: none !important;
}
.wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    height: 100vh;
}
#map {
    width: 100%;
    height: 100%;
}

.map-loading {
    position: relative;
}
.map-loading::after {
    content: "Завантаження даних...";
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(255,255,255,0.8);
    padding: 5px 10px;
    z-index: 1000;
    border-radius: 4px;
}

.navigate-toggle {
    /*position: absolute;
    z-index: 2001;
    top: 11px;
    left: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    background: #fff;
    border-radius: 6px;
    border: 0 none;
    user-select: none;
    cursor: pointer;
    transition: 0.2s left ease-in-out;*/
}

.navigate-toggle.active {
    left: 322px;
}

#navigate {
    position: absolute;
    top: 11px;
    left: 92px;
    display: flex;
    flex-direction: column;
    width: 475px;
    margin: 0;
    background: none;
    z-index: 2000;
    transition: 0.3s;
    border-radius: 16px;
    background: #F1F1F1;
    font-family: "e-Ukraine", sans-serif;
}

.accordion {
    margin-bottom: 8px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.04);
}

.accordion-title {
    /*position: relative;
    display: block;
    width: 100%;
    padding: 20px;
    list-style: none;
    font-family: "e-Ukraine";
    font-size: 1.4rem;
    font-weight: 500;
    color: #354044;
    letter-spacing: -0.5px;
    text-align: left;
    cursor: pointer;
    transition: 0.1s;
    user-select: none;
    border: none;
    background: #f4f6f6;*/
}

.accordion-title:hover {
    background: #f4f6f6;
}

.accordion-title h3 {
    font: inherit;
    letter-spacing: inherit;
    color: currentColor;
}

.accordion-title-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    transition: transform 0.1s ease-in-out;
}

[data-accordion-content] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.search-step-title, .desktop-step-content {
    display: none;
}
[data-current-screen="1"] .search-step-title[data-screen = "1"],
[data-current-screen="1"] .desktop-step-content[data-screen = "1"],
[data-current-screen="2"] .search-step-title[data-screen = "2"],
[data-current-screen="2"] .desktop-step-content[data-screen = "2"],
[data-current-screen="3"] .search-step-title[data-screen = "3"],
[data-current-screen="3"] .desktop-step-content[data-screen = "3"],
[data-current-screen="4"] .search-step-title[data-screen = "4"],
[data-current-screen="5"] .search-step-title[data-screen = "4"],
[data-current-screen="4"] .desktop-step-content[data-screen = "4"],
[data-current-screen="5"] .desktop-step-content[data-screen = "5"] {
    display: block;
}
[data-current-screen="1"] .search-clear,
[data-current-screen="4"] .search-step-counter,
[data-current-screen="5"] .search-step-counter {
    display: none;
}

.mobile-switch.active {
    z-index: 500000;
}

.search-nav.hide {
    opacity: 0;
    visibility: hidden;
}

.markers-slider {
    display: none;
    width: 100%;
    position: fixed;
    bottom: 100px;
    z-index: 1000;
    font-size: 1.2rem;
    font-family: 'e-Ukraine', sans-serif;

    .splide__slide {
        border-radius: 8px;
        padding: 12px;
        background-color: #fff;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.35);
        opacity: 0.7;

        .form-submit-btn {
            min-height: 0;
            font-size: 1.4rem;
            background-color: #fff;
            border: solid 1px #297845;
            color: #297845;
        }
    }

    .splide__slide.is-active {
        opacity: 1;
    }

    .marker-slide-item-name {
        margin-bottom: 8px;
    }

    .marker-slide-item-desc {
        margin-bottom: 8px;
        color: #666;
    }
}

.service-info {
    position: fixed;
    z-index: 100000;
    top: 8px;
    left: 16px;
    right: 16px;
}

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

.service-info-content {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.04);
    color: #000;
    font-family: 'e-Ukraine', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;

    svg {
        flex-shrink: 0;
    }
}
.service-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.service-info-tag {
    border-radius: 8px;
    background: #F4F6F6;
    padding: 4px 8px;
    font-weight: 400;
}

.service-info-btn {
    padding: 4px 8px;
    border-radius: 8px;
    background: #297845;
    border: 0;
    color: #fff;
    display: flex;
    gap: 4px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    font-weight: 400;
}

.desktop-step-content {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    padding-top: 0;
    margin-top: 16px;
    max-height: calc(100vh - 140px);
}

.desktop-step-content-inner {
    border-radius: 8px;
    padding: 16px;
    background-color: #fff;
}

.accordion-item {
    /*position: relative;*/
    transition: 0.2s;
}

.accordion-item:not(.popup-open) {
    cursor: pointer;
}

.accordion-group {
    margin-bottom: 8px;
}
.accordion-group-title {
    position: relative;
    padding: 20px 56px;
    font-family: "e-Ukraine";
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 500;
    color: #252d30;
    background-color: #fff;
    border-radius: 8px;
    user-select: none;
    cursor: pointer;
    border: 0;
    text-align: left;
    transition: background 0.3s ease-in-out;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.04);
}
.accordion-group-icon {
    position: absolute;
    left: 24px;
    top: 19px;
    width: 19px;
    height: 19px;
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
}
.accordion-group-wrap {
    display: none;
    padding: 16px;
    overflow: hidden;
}
.accordion .accordion-group-title {
    width: 100%;
    padding-left: 16px;
}
.service-name-wrap {
    position: relative;
}

.tooltip-btn {
    display: block;
    position: absolute;
    top: 18px;
    right: 12px;
    z-index: 5;
    background: none;
    border: none;
    padding: 0;
    box-sizing: border-box;
}

.tooltip-popup {
    display: block;
    position: fixed;
    z-index: 2100;
    width: 26rem;
    max-width: 100%;
    max-height: 20rem;
    padding: 8px 12px;
    box-sizing: border-box;
    color: #313136;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.2rem;
    line-height: 164%;
    text-wrap: pretty;
    overflow-y: auto;
    border-radius: 8px;
    border: 0.5px solid #e3e6ea;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    box-shadow: 0 8px 15px 0 rgba(25, 33, 61, 0.1);
    transition: opacity 0.4s 0.2s ease-in-out, visibility 0.4s 0.2s ease-in-out;
}

.tooltip-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.tooltip-popup::-webkit-scrollbar {
    width: 10px;
}
.tooltip-popup::-webkit-scrollbar-thumb {
    background: #dcd7fd;
    border-radius: 20px;
    border: 2px solid #fff;
}

@media (hover: hover) {
    .tooltip-popup:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.mobile-btn {
    padding: 20px 40px 20px 60px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    margin: 0;
    color: #354044;
    cursor: pointer;
}

.item-name-service {
    font-size: 1.2rem;
    font-family: "e-Ukraine", sans-serif;
    color: #000;
    font-weight: 400;
}

.service-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #F7F7F7;
    border-radius: 8px;
}

.marker-item-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 16px 8px;
    width: 100%;
}

.marker-item-btn-name {
    font-family: "e-Ukraine";
    font-size: 1.2rem;
    color: #000;
    font-weight: 400;
}

.marker-item-btn svg {
    flex-shrink: 0;
}

.invincibility-point-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-address-wrap {
    display: flex;
    gap: 16px;
}

.item-address-wrap svg {
    flex-shrink: 0;
}

.item-address {
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: normal;
}

.item-group {
    background: white;
    padding: 12px;
    border-radius: 8px;
}
.item-group + .item-group {
    margin-top: 16px;
}
.item-group .item-name-inner {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.item-group-hidden { display: none; }

.phone-row {
    margin: 15px 0;
    display: flex;
}
.phone-row:last-child {
    margin-bottom: 0;
}
.item-subtitle {
    display: flex;
    align-items: center;
    font-family: "e-Ukraine", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.marker-content .item-subtitle {
    gap: 15px;
}
.item-subcontent {
    font-size: 1.4rem;
    font-weight: 400;
}

.item-subcontent.phone p,
.phone-row {
    display: flex;
}

.item-subcontent.phone p {
    justify-content: space-between;
}

.item-subcontent p {
    margin-bottom: 8px;
}

.item-subcontent.services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.item-subcontent.services p {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
}

.item-subcontent a {
    color: #202729;
    text-decoration: none;
}

.item-subcontent a.phone-link {
    color: #7C4AFF;
    text-decoration: underline;
}

.item-subcontent .phone-link:hover {
    text-decoration: none;
}

.item-footer {
    position: sticky;
    bottom: 0;
    background: white;
    margin: 0 -16px;
    right: 0;
    left: 0;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.item-footer.with-consult-btn {
    padding: 16px;
    margin-top: 16px;
}

.accordion-item:hover,
.accordion-item.popup-open {
    background: linear-gradient(90deg, #daf0ff 0.32%, #d2adff 173.76%);
}
.marker-item {
    border-bottom: 1px solid #eaeaea;
}
.marker-item:last-child {
    margin: 0;
    border: none;
}

.mobile-switch {display: none;}

.leaflet-interactive {
    outline: 0 none;
}

.leaflet-tooltip {
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 500;
    background-color: transparent;
    border: 0 none;
    box-shadow: none;
    text-align: center;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content h2 {
    font-size: 1.15em;
}

.leaflet-popup {
    margin-bottom: 30px;
}

.leaflet-tile-pane {
    -webkit-filter: grayscale(60%);
    filter: grayscale(60%);
    opacity: 0.4;
}

.map-popup {
    position: relative;
    font-family: "e-Ukraine";
    letter-spacing: -0.5px;
}

.map-popup-link {
    position: absolute;
    top: 25px !important;
    right: 0 !important;
}

.map-popup-link svg {
    pointer-events: none;
}

.map-popup-title {
    position: relative;
    padding: 0 40px 0 17px;
    margin-bottom: 10px;
    font-family: "e-Ukraine", sans-serif;
    letter-spacing: -0.04em;
    font-size: 1.2rem;
    font-weight: bold;
    color: #354044;
}

.map-popup-title-point {
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: inherit;
}

.map-popup-title-point:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #fff;
}

.map-popup-subtitle {
    margin-bottom: 12px;
    padding-right: 40px;
    font-family: "e-Ukraine";
    letter-spacing: -0.5px;
    font-size: 1.4rem;
    font-weight: bold;
}

.map-popup-phone {
    margin-bottom: 12px;
    position: relative;
    padding-left: 22px;
    font-family: "e-Ukraine";
    letter-spacing: -0.5px;
    font-size: 1.3rem;
    color: #202729;
    font-weight: bold;
}

.map-popup-phone-icon {
    position: absolute;
    top: -1px;
    left: 0;
    width: 18px;
    height: 18px;
}

.map-popup-phone a {
    color: #202729;
    text-decoration: none;
}

.map-popup-phone p {
    margin: 0 0 5px;
}

.map-popup-phone p:last-child {
    margin: 0;
}

.map-popup-address {
    font-family: "e-Ukraine";
    letter-spacing: -0.5px;
    font-size: 1.3rem;
    color: #576064;
}

.map-popup-services .map-popup-subtitle {
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.map-popup-services .map-popup-subtitle svg {
    margin-top: -6px;
}

.map-popup-services {
    margin-top: 12px;
}

.map-popup-services-row:first-child {
    margin-bottom: 6px;
}

.map-popup-services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.map-popup-services-row p {
    padding: 5px 10px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, rgba(218, 240, 255, 0.6) 0.32%, rgba(210, 173, 255, 0.6) 173.76%);
    border-radius: 15px;
}

.map-popup-services-list {
    max-width: 100%;
    width: 100%;
}

svg path:focus {
    outline: none;
}

/* info popups */
.setting-buttons {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 12px;
    border-radius: 36px;
    border: 1px solid #f4f4f4;
    background: #fff;
    box-shadow: 0 4px 11px 0 rgba(0, 0, 0, 0.10);
}

.start-info-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #000;
    border-radius: 50%;
    background: #f1f4fa;
    box-sizing: border-box;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.start-info-btn:hover {
    background: #22630c;
    color: #fff;
}

.info-popup,
.info-popup * {
    box-sizing: border-box;
}

.info-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 20px 10px;
    font-family: 'e-Ukraine', sans-serif;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(8, 7, 7, 0.22);
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.info-popup.opened {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.info-popup-body {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    margin: auto;
    padding: 13px;
    width: 848px;
    max-width: 100%;
    border-radius: 20px;
    background: #fff;
    transform: scale3d(0, 0, 0);
    transition: transform 0.5s ease-in-out;
}

.info-popup.opened .info-popup-body {
    transform: scale3d(1, 1, 1);
}

.popup-close {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 4;
    display: flex;
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 6px;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.popup-back-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px;
    color: #000;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
}

[data-current-popup="start"] .popup-back-btn {
    display: none;
}

.info-popup-content {
    text-align: center;
    padding-bottom: 35px;
}

.info-popup-section {
    position: relative;
    z-index: -1;
    grid-area: 1/1/2/2;
    display: block;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

[data-current-popup="start"] #start-info,
[data-current-popup="hiw"] #hiw-info,
[data-current-popup="socials"] #social-services-info {
    opacity: 1;
    position: relative;
    visibility: visible;
    pointer-events: auto;
    max-height: unset;
    z-index: 3;
}

.hiw-popup-image,
.info-popup-image {
    border-radius: 13px;
    display: flex;
    justify-content: center;
    background: #287843;
    margin-bottom: 48px;
    overflow: hidden;
}

.hiw-popup-image img,
.info-popup-image img {
    max-width: 100%;
    height: auto;
}

.info-popup-main {
    padding: 0 35px;
    margin: 0 auto;
}

.info-popup-title {
    margin: 0 0 24px;
    color: #000;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    font-family: 'e-Ukraine-head', sans-serif;
}

.info-popup-text {
    margin: 0;
    color: #474747;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
}

section#hiw-info .info-popup-text {
    max-width: 556px;
    margin: 0 auto;
}

.info-popup-buttons {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.info-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 16px;
    min-width: 230px;
    color: #000;
    text-align: center;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    border-radius: 10px;
    border: 1px solid #f7f7f7;
    background: #f1f4fa;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.hiw-slider {
    padding: 0 0 34px;
}

.hiw-slider-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hiw-slide {
    grid-area: 1/1/2/2;
    display: block;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.hiw-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hiw-popup-image {
    padding-top: 60px;
    background: linear-gradient(90deg, #eaf4fd 0%, #e5e1fd 100%);
}

.plus-icon {
    display: inline-block;
    width: 32px;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #f4f6f6;
    border-radius: 50%;
}

.hiw-slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 28px 0;
}

.hiw-slider-btn {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: #F2F4FB;
    color: #fff;
    transition: background 0.3s ease-in-out;
}

[disabled].hiw-slider-btn {
    opacity: 0.7;
    cursor: auto;
    background: #f1f4fa !important;
    color: #2c1a1d !important;
}

.last-slide-text {
    display: none;
}

@media screen and (min-width: 768px) {
    [data-slide-active="5"] .last-slide-text {
        display: block;
        font-size: 16px;
    }
    [data-slide-active="5"] .hiw-slider-btn.hiw-slider-btn--next {
        background-color: #222222;
        width: auto;
        padding-left: 24px;
        padding-right: 24px;
    }
    [data-slide-active="5"] .hiw-slider-btn.hiw-slider-btn--next svg {
        display: none;
    }
}

.hiw-slider-bullets {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.hiw-slider-bullets button {
    display: inline-block;
    width: 18px;
    height: 18px;
    padding: 3px;
    border: none;
    background: none;
    cursor: pointer;
}

.hiw-slider-bullets button:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #D9D9D9;
    transition: opacity 0.2s;
}

.hiw-slider-bullets button.active:before {
    background: #287843;
}

.social-services-info {
    padding: 100px 38px;
    border-radius: 13px;
    background: linear-gradient(90deg, rgba(234, 244, 253, 0.70) 0%, rgba(229, 225, 253, 0.70) 100%);
}

.social-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-services-item {
    padding: 24px;
    margin: 0 0 4px;
    color: #252d30;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 25px;
    border-radius: 12px;
    border: 1px solid #cbe6ff;
    background: rgba(255, 255, 255, 0.35);
}

.social-services-item li,
.social-services-item p {
    margin: 0;
    font: inherit;
}

.social-services-item ul {
    list-style: disc;
    margin-left: 24px;
}

.social-services-item .question {
    margin: 0 0 8px;
    color: #000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
}

.download-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 8px 12px;
    text-decoration: none;
    color: #252d30;
    font-size: 1.4rem;
    line-height: 1;
    border-radius: 9px;
    border: 1px solid #eaf4fd;
    background: #fff;
    transition: background 0.2s;
    cursor: pointer;
}

.leaflet-marker-icon.active {
    z-index: 9999 !important;
}

.psychology-help .phone-row svg {
    margin-top: -2px;
}

.psychology-help a {
    font-family: "e-Ukraine", sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    color: #202729;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.psychology-help {
    margin-top: 12px;
}

/* search */
.search-nav * {
    font-family: e-Ukraine, sans-serif;
    box-sizing: border-box;
}

.search-body {
    display: flex;
    align-items: center;
    padding: 3px 50px 3px 3px;
    max-width: 372px;
    min-height: 48px;
    height: auto;
    width: 100%;
    position: fixed;
    z-index: 99999;
    top: 14px;
    left: 50%;
    background: #fff;
    border-radius: 500px;
    border: 1px solid #ebebeb;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.04);
    transform: translateX(-50%);
    transition: transform 0.3s ease-in-out, max-width 0.3s ease-in-out,
    border-radius 0.3s ease-in-out;
    will-change: transform;
}

.search-step-wrap {
    isolation: isolate;
    will-change: contain;
}

.search-nav.active .search-body {
    max-width: 72rem;
    padding: 3px;
    align-items: stretch;
    background: #f4f6f6;
    border-radius: 78px;
    min-height: 70px;
}

.search-nav:not(.active):not([data-current-step="1"]) .search-body {
    padding-right: 30px;
}

.search-nav::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgb(50, 50, 50);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.search-nav.active::before {
    opacity: 0.4;
    visibility: visible;
    pointer-events: auto;
}

.search-nav.active .default-label {
    display: none;
}

.search-step-wrap {
    flex: 1 1 auto;
    box-sizing: border-box;
}

.search-nav:not([data-current-step="1"]) .search-step-wrap,
.search-nav.active .search-step-wrap {
    display: block;
}

.search-nav.active .search-step-wrap {
    min-width: 200px;
}

.search-nav.active .search-step-services {
    padding-right: 78px;
}

.search-group {
    flex: 1 1 auto;
    display: block;
    max-width: 100%;
}

.search-clear {
    flex: 0 0 auto;
    line-height: 1;
    font-size: 0;
    height: auto;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    background: #F1F1F1;
    padding: 4px;
    place-items: center;
}

.search-step-services .search-clear {
    right: 10px;
    top: 12px;
    position: absolute;
    display: none;
}

.search-label {
    display: block;
    color: #000;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: normal;
}

.search-label {
    display: none;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

input[type="search"]::-ms-clear {
    display: none;
}

.search-input {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    font-family: e-Ukraine, sans-serif;
    color: #252d30;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    border: none;
    background: transparent;
}

.search-input::placeholder {
    font: inherit;
    color: #737373;
}
#navigate .search-step {
    padding: 0;
    position: relative;
    display: block;
}
#navigate .search-input {
    border-radius: 8px;
    border: 1px solid #B5B5B5;
    min-height: 30px;
    padding: 10px;
    padding-left: 40px;
}

.search-input:focus {
    outline: none;
}

.empty-message {
    padding: 23px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #6B6A6A;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: normal;
}

.empty-message strong {
    display: block;
    color: #252D30;
    margin-bottom: 8px;
}

.search-services-autocomplete {
    overflow: hidden;
}

.search-services-autocomplete {
    position: relative;
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 0;
    padding-right: 23rem;
    border-radius: 24px 15px 15px 24px;
    background: #FFF;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
    overflow-y: auto;
    transition: max-height 0.4s ease-in-out;
}

.search-services-autocomplete {
    overflow: hidden;
    padding-right: 22rem;
}

.search-autocomplete-body {
    padding-top: 80px;
    height: 100%;
    width: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

#community-autocomplete {
    padding-right: 0;
}

[data-current-step="2"] #community-autocomplete,
[data-current-step="1"] #region-autocomplete,
[data-current-step="3"] #services-autocomplete {
    display: block;
}

.services-type-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: calc(100% - 24rem);
    padding: 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #fff;
}

.services-type-label {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #252D30;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #F4F6F6;
    cursor: pointer;
}

.services-type-label svg {
    flex: 0 0 auto;
}

.services-type-label input {
    display: none;
}

.services-type-label--veterans:has(input:checked) {
    background: rgba(58, 141, 119, 0.11);
    color: #417161;
}

.services-type-label--socials:has(input:checked) {
    background: #F2EEFF;
    color: #7C4AFF;
}

.services-type-label--invincibility:has(input:checked) {
    background: #FFF4D6;
    color: #9A5B00;
}

.search-autocomplete-inner {
    display: none;
}

.search-autocomplete:has(input[value="socials"]:checked) #social-services-autocomplete {
    display: block;
}

.search-autocomplete:has(input[value="veterans"]:checked) #veteran-services-autocomplete {
    display: block;
}

.search-autocomplete:has(input[value="invincibility"]:checked) #invincibility-points-autocomplete {
    display: block;
}

.search-nav.active .search-autocomplete.active {
    max-height: calc(100vh - 190px);
    max-height: calc(100svh - 190px);
    overflow-y: auto;
}

.search-autocomplete .services-list {
    padding: 14px 23px 14px 16px;
    margin: 0;
    list-style: none;
}

.search-autocomplete .search-region-list {
    padding: 15px 14px 27px;
    margin: 0;
    list-style: none;
    max-width: 300px;
}

.search-autocomplete .community-list {
    padding: 16px 20px 49px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 64px;
}

.search-autocomplete .search-region-list li {
    margin: 4px 0;
}

.search-autocomplete .community-list li,
.search-autocomplete .services-list li {
    margin: 2px 0;
}

.search-autocomplete-body::-webkit-scrollbar,
.search-autocomplete::-webkit-scrollbar {
    background: #ffffff;
    border-radius: 0 24px 24px 0;
    padding: 10px 0;
}

.search-autocomplete-body::-webkit-scrollbar-track,
.search-autocomplete::-webkit-scrollbar-track {
    width: 14px;
}

.search-autocomplete-body::-webkit-scrollbar-thumb,
.search-autocomplete::-webkit-scrollbar-thumb {
    background: #CCD0D0;
    border-radius: 24px;
    border: 4px solid #ffffff;
}

.service-description::-webkit-scrollbar {
    background: #ffffff;
    border-radius: 0 4px 4px 0;
    padding: 0;
    width: 6px;
}

.service-description::-webkit-scrollbar-track {
    width: 8px;
}

.service-description::-webkit-scrollbar-thumb {
    background: #CCD0D0;
    border-radius: 24px;
    border: 2px solid #ffffff;
}

.community-label, input,
.region-label input,
.services-label input {
    display: none;
}

.community-label,
.region-label,
.services-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.2rem;
    min-height: 56px;
    color: #252D30;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: normal;
    border-radius: 14px;
    cursor: pointer;
}

.region-label {
    padding: 8px 24px;
}

.community-label {
    padding: 20px;
    min-width: 280px;
    border: 1px solid transparent;
}

.services-label {
    border: 1px solid transparent;
}

.services-label .icon-info,
.services-label .icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

.region-label .icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border-width: 4px;
    border-style: solid;
}

.services-label:has(input:checked) .icon,
.services-label:hover .icon {
    background: #ffffff;
}

.services-label span.services-label-text {
    flex: 1 1 auto;
}

.services-label .icon-info {
    display: none;
}

.search-submit {
    display: grid;
    place-items: center;
    position: absolute;
    right: 7px;
    top: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: #297845;
    border: none;
    padding: 0;
    transition: 0.3s;
    cursor: pointer;
}

.search-submit[disabled] {
    pointer-events: none;
}

.search-submit svg {
    display: block;
    width: 80%;
    height: auto;
}

.search-nav.active .search-submit {
    height: 58px;
    width: 58px;
}

.search-new {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    place-items: center;
    background: #fff;
    border: 0;
    display: none;
}

.search-nav:not(.active):not([data-current-step="1"]) .search-submit:disabled,
.search-nav.active .search-submit:disabled {
    opacity: 0.5;
}

.search-nav.active .search-label {
    display: block;
}

.search-mobile-close {
    display: none;
}

/* user form */
.reset-button,
.form-submit-btn,
.leaflet-container .form-request-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    padding: 8px;
    min-height: 44px;
    color: #FFF;
    text-decoration: none;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
    border-radius: 10px;
    box-sizing: border-box;
    background: #297845;
    cursor: pointer;
    transition: background 0.2s;
}

.map-popup .form-request-btn {
    margin-top: 16px;
}

.form-submit-btn {
    border: none;
    box-shadow: none;
    min-height: 50px;
    font-size: 1.6rem;
}

.form-popup .popup-close {
    width: 44px;
    height: 44px;
    padding: 10px;
    top: 19px;
}

.form-popup .search-label {
    display: block;
}

.form-popup-body {
    width: 100%;
    max-width: 1100px;
    padding: 5px;
}

.form-pictures {
    width: 100%;
    padding: 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #287843;
}

.form-pictures img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.user-form {
    position: relative;
    width: 100%;
    padding: 24px;
    font-family: e-Ukraine, sans-serif;
    box-sizing: border-box;
}

.user-form.sending::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(255,255,255,0.4);
}

.user-form.sending .form-submit-btn::after {
    content: "";
    position: relative;
    width: 20px;
    z-index: 1111;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    border-top-color: #287946;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


[data-form-result] .user-form {
    display: none;
}

.form-result {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    padding: 100px 24px;
    text-align: center;
}

.form-result img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

.form-result p {
    color: #252D30;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 145%;
    max-width: 514px;
    margin: 0 auto 20px;
    text-wrap: balance;
}

.reset-button {
    font-size: 1.6rem;
    padding: 8px;
    max-width: 250px;
    height: 50px;
    box-shadow: none;
    border: none;
}

[data-form-result="error"] .result-error,
[data-form-result="success"] .result-success {
    display: flex;
}

.user-form legend {
    display: block;
    margin-bottom: 24px;
    color: #252D30;
    font-family: e-Ukraine, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.user-form fieldset {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.form-group:not(:last-child) {
    position: relative;
    margin: 0 0 20px;
}

.form-group:has(.required) .form-label:after {
    content: '*';
    color: currentColor;
    font: inherit;
}

.form-group_textarea,
.form-group_submit,
.form-recapcha,
.form-group_agree {
    grid-column: 1/3;
}

.form-label {
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 16px;
    padding: 4px;
    transform: translateY(-50%);
    color: #417161;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: normal;
    background: #fff;
    box-sizing: border-box;
}

.form-group:has(.error) .form-label {
    color: #C13515;
}

.form-input {
    display: flex;
    align-items: center;
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    color: #252D30;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(107, 106, 106, 0.2);
}

.select.active .select-input,
.form-input:focus-visible,
.form-input:focus {
    outline: none;
    border-color: #417161;
}

.input-other-status {
    margin-top: 24px;
}

.select-placeholder,
.form-input::placeholder {
    color: rgba(107, 106, 106, 0.5);
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: normal;
}

.form-input[disabled] {
    text-overflow: ellipsis;
    max-width: 100%;
}

.form-input.error {
    border-color: #C13515;
}

.form-error {
    display: inline-block;
    margin-top: 3px;
    padding: 3px 0;
    color: #C13515;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
}

.form-error::before {
    content: '';
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-right: 6px;
    margin-top: -3px;
    vertical-align: middle;
    background: url('/img/error-icon.svg') center / contain no-repeat;
}

.form-input_textarea {
    align-items: flex-start;
    resize: none;
    height: 85px;
}

.form-error[hidden],
.form-input[hidden] {
    display: none;
}

.select {
    display: block;
    position: relative;
    width: 100%;
}

.select.active {
    z-index: 7;
}

.select .form-label {
    z-index: 5;
}

.select-input {
    cursor: pointer;
    background: #fff;
    padding-right: 60px;
    transition: border-color 0.3s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.select-button {
    position: relative;
    z-index: 4;
}

.select-button span {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.select-button span::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    transition: transform 0.3s ease-in-out;
    background: url('/img/dropdown-arrow.svg') center / contain no-repeat;
}

.select.active .select-button span::after {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 3;
    width: 100%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0 4px 0 8px;
    border-radius: 8px;
    background: #FFF;
    border: 1px solid transparent;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    overflow: hidden;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out, max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.select.active .select-dropdown {
    max-height: 360px;
    overflow: auto;
    height: auto;
    border: 1px solid #EAEAEF;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.1);
}

.select-list {
    display: block;
    height: 100%;
    padding: 8px 0;
    overflow-y: auto;
    list-style: none;
    margin: 0;
}

.select-list li {
    display: block;
    width: 100%;
    padding: 8px 16px;
    list-style: none;
    color: #32324D;
    font-family: e-Ukraine, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 4px;
    cursor: pointer;
}

.select-list li:hover {
    background: linear-gradient(90deg, #EAF4FD 0%, #E5E1FD 100%);
}

.select-list::-webkit-scrollbar {
    width: 12px;
}

.select-list::-webkit-scrollbar-track {
    background: #fff;
}

.select-list::-webkit-scrollbar-thumb {
    background-color: #EAEAEF;
    border-radius: 4px;
    border: 4px solid #fff;
}

.checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 6px;
    box-sizing: border-box;
    font-size: 1.2rem;
    line-height: 1.7;
}

.checkbox-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.checkbox-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #417161;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: border 0.3s ease-in-out, background 0.3s ease-in-out;
}

.checkbox:has(.error) .checkbox-icon {
    border-color: #C13515;
}

.checkbox-icon:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: url('/img/check.svg') center / 10px 10px no-repeat;
    transition: opacity 0.3s ease-in-out;
}

.checkbox-input:checked + .checkbox-icon {
    background: #417161;
}

.checkbox-input:checked + .checkbox-icon:before {
    opacity: 1;
}

.checkbox-text {
    color: #32324D;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
}

.checkbox-text a {
    color: #225DF4;
}

.g-recaptcha {
    overflow: hidden;
}

.g-recaptcha > div,
.g-recaptcha iframe {
    max-width: 100%;
    height: auto;
}

.sidebar {
    position: fixed;
    z-index: 10000;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #fff;
    padding: 8px;
}

.sidebar-logo {
    margin-bottom: 16px;
}
.sidebar-separator {
    display: block;
    margin: 0 auto 16px;
    background: #F4F6F6;
    height: 1px;
    width: 24px;
}
.sidebar-btn {
    cursor: pointer;
    border: 0;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #F4F6F6;
    padding: 8px 4px;
    color: #000;
    text-align: center;
    font-family: "e-Ukraine", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: block;
    width: 64px;
    height: 64px;
}
.sidebar-btn svg {
    color: #407648;
}

.sidebar-btn.active {
    color: #fff;
    background-color: #407648;
}
.sidebar-btn.active svg {
    color: #fff;
}

.search-step-header {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px 16px 0 0;
    font-size: 1.6rem;
    font-weight: 500;
}

.search-step-counter {
    border-radius: 8px;
    border: 1px solid #E6E6E6;
    padding: 6px 8px;
    font-size: 1.2rem;
    color: #A4A4A4;
    font-weight: 500;
}
.search-step-counter-current {
    font-size: 1.4rem;
    color: #222;
}

.search-step-close {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 8px;
    border: 0;
    background: #F1F1F1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 1;
    right: 16px;
    top: 16px;
}
.services-group-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.services-group-btn {
    cursor: pointer;
    display: inline-flex;
    border: 0;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background-color: #FAFAFA;
    font-size: 1.2rem;
    font-weight: 500;
    color: #4D4D4D;
    font-family: 'e-Ukraine', sans-serif;
}

.services-group-btn.active {
    color: #7C4AFF;
    background-color: #F2EEFF;
}

.search-step-info-mobile {
    font-size: 1.2rem;
    color: #757575;
    margin: 8px 0 0;
    display: flex;
    gap: 8px;
    padding: 0 16px;
}
.search-step-info-mobile span:not(:empty):before {
    content: "●";
    display: inline-block;
    margin-right: 4px;
}

.search-mobile-icon {
    display: block;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#navigate .search-mobile-icon {
    left: 12px;
}
@media (hover: hover) {
    .hiw-slider-btn:hover {
        background: #e1e9fa;
    }

    .tooltip-btn:hover {
        color: rgba(0, 0, 0, 1);
    }

    .download-link:hover,
    .popup-close:hover,
    .info-popup-btn:hover {
        background: #e1e9fa;
    }

    .checkbox-text a:hover {
        text-decoration: none;
    }

    .reset-button:hover,
    .form-submit-btn:hover,
    .form-request-btn:hover {
        background: #417161;
    }
}

@media (min-width: 768px) {
    .desktop-hidden {
        display: none !important;
    }

    .search-step-info-mobile span + span {
        margin-left: 8px;
    }

    .search-step-info-mobile span:not(:empty):before {
        font-size: 0.8rem;
        vertical-align: 2px;
        margin-right: 6px;
    }

    .search-label {
        margin-bottom: 8px;
    }
    #navigate.desktop-hide {
        transform: translateX(-150%);
    }
    .map-popup-link {
        display: none !important;
    }
    .item-subcontent.services p {
        background: linear-gradient(90deg, rgba(218, 240, 255, 0.6) 0.32%, rgba(210, 173, 255, 0.6) 173.76%);
    }
    [data-acc-fontsize] #navigate {
        max-width: calc(100% - 455px);
        width: 360px;
    }

    [data-acc-fontsize] .navigate-toggle.active {
        right: 382px;
    }

    [data-acc-fontsize] .item-content {
        left: 382px;
        width: 375px;
    }

    .community-label:has(input:checked),
    .community-label:hover,
    .region-label:has(input:checked),
    .region-label:hover,
    .services-label:has(input:checked),
    .services-label:hover {
        background: linear-gradient(90deg, #EAF4FD 0%, #E5E1FD 100%);
        border: 1px solid #BCA3FF;
    }

    [data-slide-active="4"] .hiw-popup-image {
        padding-top: 20px;
    }
    .hiw-popup-image {
        height: 328px;
    }
    .hiw-slider-bullets {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 991px) {
    [data-acc-fontsize="2"] #navigate {
        width: 450px;
    }
    [data-acc-fontsize="3"] #navigate {
        width: 500px;
    }
    [data-acc-fontsize="4"] #navigate {
        width: 550px;
    }
    [data-acc-fontsize="2"] .navigate-toggle.active {
        left: 472px;
    }
    [data-acc-fontsize="3"] .navigate-toggle.active {
        left: 522px;
    }
    [data-acc-fontsize="4"] .navigate-toggle.active {
        left: 572px;
    }
    [data-acc-fontsize="2"] .item-content {
        left: 472px;
        width: 455px;
    }
    [data-acc-fontsize="3"] .item-content {
        left: 522px;
    }
    [data-acc-fontsize="4"] .item-content {
        left: 572px;
    }
    .form-wrap {
        display: flex;
        align-items: stretch;
    }
    .user-form {
        flex: 0 0 60%;
        width: 60%;
        padding: 24px 67px 20px 34px;
    }
    .form-pictures {
        flex: 0 0 40%;
        width: 40%;
    }

    [data-form-result] .form-popup-body {
        min-height: 90vh;
    }
}

@media (min-height: 900px) {
    .hiw-popup-image {
        margin-bottom: 72px;
    }
}

@media (max-width: 767px) {
    .hiw-slider-btn {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
    .hiw-slider {
        padding: 0;
    }
    .hiw-slider-nav {
        padding: 25px 0 0;
    }
    .item-footer {
        padding: 16px;
        margin-top: 16px;
    }
    .search-step-info-mobile {
        margin: 8px 0 16px;
    }
    .mobile-hidden {
        display: none !important;
    }
    .search-nav.active .search-body {
        overflow: auto;
        flex-wrap: nowrap;
    }
    .search-nav.active .search-submit {
        display: none;
    }
    .search-nav.active .search-step.active {
        border-radius: 20px 20px 0 0;
        box-shadow: none;
        margin-bottom: 8px;
    }
    .search-nav.active .search-step-services.active {
        position: relative;
    }

    .search-nav.active .search-step-services.active .search-label {
        display: none;
    }
    .search-step-services .search-clear {
        right: 24px;
        top: 27px;
        position: absolute;
    }

    .search-nav.active .search-step {
        min-height: 70px;
    }
    #navigate {
        top: 0;
        right: 0;
        left: 0;
        width: auto;
        height: auto;
        overflow: visible;
        display: none;
    }

    .mobile-switch {
        position: fixed;
        z-index: 3000;
        bottom: 24px;
        left: 20px;
        right: 20px;
        display: flex;
        padding: 8px;
        background-color: #fff;
        border-radius: 34px;
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    }

    .mobile-switch-control {
        flex-shrink: 0;
        position: relative;
        z-index: 5;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 0 none;
        border-radius: 26px;
        padding: 16px 12px;
        background: transparent;
        font-family: "e-Ukraine";
        font-size: 1.4rem;
        font-weight: 500;
        color: #000;
        letter-spacing: -0.5px;
        transition: 0.2s background ease-in-out, 0.2s color ease-in-out;
    }
    .mobile-switch-control.active {
        color: #7c4aff;
        background: #f2edff;
    }
    .mobile-switch-control.active path {
        fill: #7c4aff;
    }
    .mobile-switch-icon {
        flex-shrink: 0;
        margin-right: 6px;
        pointer-events: none;
    }
    .mobile-switch-icon path {
        transition: 0.2s fill ease-in-out;
    }
    .mobile-switch-label {
        flex-shrink: 0;
        pointer-events: none;
    }
    .accordion-group-title {
        border: 1px solid #ebecec;
    }
    .item-subcontent.services p {
        background: linear-gradient(90deg, rgba(218, 240, 255, 1) 0.32%, rgba(210, 173, 255, 1) 173.76%);
    }

    .marker-item-btn {
        margin-left: 0;
        width: 100%;
    }

    .form-group_submit {
        position: sticky;
        bottom: 0;
        margin-left: -32px;
        padding: 16px;
        background: white;
        z-index: 10;
        margin-right: -32px;
        margin-bottom: -46px;
    }

    .hiw-popup-image {
        height: 230px;
        align-items: flex-end;
        padding-top: 12px;
        margin-bottom: 16px;
    }

    .hiw-popup-image img {
        height: auto;
    }
}

@media (max-width: 991px) {
    .info-popup-image-start {
        height: 280px;
    }

    .hiw-popup-image img,
    .info-popup-image img {
        height: 100%;
        width: auto;
    }

    .form-pictures {
        height: 200px;
    }

    .form-pictures img {
        width: auto;
        height: 100%;
        max-height: 100%;
    }
}

@media (max-width: 767px) {
    .form-submit-btn {
        font-size: 1.4rem;
    }
    .btn-outline {
        background-color: #fff;
        border: solid 2px #297845;
        color: #000;
    }
    .search-mobile-navigation {
        display: none;
        position: fixed;
        z-index: 3000;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 8px 16px 24px;
    }
    .search-nav .search-body {
        justify-content: flex-start;
        flex-wrap: wrap;
        max-width: calc(100% - 40px);
        padding: 12px 50px 12px 20px;
        border-radius: 8px;
        border: 1px solid #297845;
    }
    .search-nav:not(.done) .search-body {
        padding: 18px 50px 18px 20px;
    }
    .default-label {
        color: #297845;
        font-size: 1.4rem;
    }
    .search-nav:not(.active) .search-step {
        padding: 0;
        width: 100%;
    }
    .search-nav.active .search-body {
        border: 0;
        flex-direction: column;
        top: 0;
        bottom: 0;
        border-radius: 0;
        padding: 0;
    }
    .search-nav.active .search-group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    .search-step {
        background: #fff;
        border-radius: 18px;
        display: flex;
        align-items: center;
    }
    .search-nav.active /*.search-step-community*/ .search-step-services {
        padding-right: 20px;
    }
    .search-nav.active .search-step-wrap {
        margin-bottom: 6px;
        border-radius: 0;
        flex: 0;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        display: none;
    }
    [data-current-step="1"] #region-wrap,
    [data-current-step="2"] #community-wrap,
    [data-current-step="3"] #services-wrap,
    [data-current-step="4"] #markers-wrap,
    [data-current-step="5"] #marker-wrap {
        display: block;
        max-width: 100%;
    }
    .search-nav.active[data-current-step="1"] .search-mobile-navigation,
    .search-nav.active[data-current-step="2"] .search-mobile-navigation {
        display: block;
    }
    .search-nav.active .search-step-services.active .search-input {
        border-radius: 8px;
        border: 1px solid #B5B5B5;
        min-height: 30px;
        padding: 10px;
        padding-left: 40px;
    }
    .search-autocomplete {
        padding-right: 0;
        position: relative;
        top: 0;
        left: 0;
        border-radius: 0 0 20px 20px;
        background-color: transparent;
        box-shadow: none;
    }
    .search-nav.active .search-mobile-close {
        display: grid;
        flex-shrink: 0;
        place-items: center;
        border-radius: 8px;
        border: 0;
        background: #F1F1F1;
        cursor: pointer;
        width: 32px;
        height: 32px;
        position: absolute;
        z-index: 1;
        right: 16px;
        top: 17px;
    }
    .search-submit:not(.search-new) {
        border-radius: 8px;
        right: 12px;
    }
    .community-label, .region-label {
        font-size: 1.4rem;
        font-weight: 500;
    }
    .services-label {
        font-size: 1.2rem;
        font-weight: 400;
    }
    .label-check {
        width: 20px;
        height: 20px;
        border: 2px solid #737373;
        display: grid;
        place-items: center;
        color: #E6E6E6;
        margin-left: auto;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .search-autocomplete .search-region-list li,
    .search-autocomplete .community-list li {
        margin: 8px 0;
    }
    .region-label, .community-label, .services-label {
        padding: .8rem 1.4rem;
        background-color: #fff;
    }
    .community-label:has(input:checked) .label-check,
    .region-label:has(input:checked) .label-check,
    .services-label:has(input:checked) .label-check {
        background-color: #407648;
        border-color: #407648;
        color: #fff;
    }
    .services-label {
        flex-wrap: wrap;
    }
    .services-label span.services-label-text {
        max-width: calc(100% - 55px);
        flex: 1 1 calc(100% - 110px);
    }
    .services-label .icon-info {
        display: flex;
    }
    .services-label[data-description="undefined"] .icon-info {
        display: none;
    }
    .service-description {
        position: static;
        padding: 0 0 0 50px;
        height: auto;
        width: 100%;
        border-radius: 0px 20px 20px 0px;
        background: none;
        font-size: 1.2rem;
    }
    .search-autocomplete .search-region-list {
        padding: 0;
        max-width: 100%;
        margin: 16px;
    }
    .search-autocomplete .community-list {
        padding: 0 10px;
        display: block;
    }
    .setting-buttons {
        bottom: auto;
        top: 126px;
        flex-direction: column;
        gap: 6px;
        padding: 4px;
    }

    .info-popup:not(.info-popup-narrow) {
        padding: 0;
        background-color: #F1F1F1;
    }

    .info-popup.info-popup-narrow {
        padding: 14px;
    }

    .info-popup-body {
        padding: 0;
        border-radius: 0;
        background-color: #F1F1F1;
        margin: 0;
        /*display: flex;*/
        /*flex-direction: column;*/
    }

    .info-popup-body .popup-back-btn {
        border-radius: 8px;
        background: #FFF;
        width: 32px;
        height: 32px;
        top: 16px;
        left: 16px;
    }

    .info-popup-narrow .info-popup-body {
        border-radius: 24px;
        padding: 8px;
        background-color: #fff;
    }

    #info-popup {
        align-items: center;
    }

    [data-acc-fontsize] #info-popup {
        align-items: flex-start;
    }

    .start-info-btn {
        width: 40px;
        height: 40px;
    }

    .start-info-btn svg {
        max-width: 100%;
    }

    .popup-close {
        width: 32px;
        height: 32px;
        padding: 0;
        top: 16px;
        right: 16px;
        color: #000;
        background-color: #fff;
    }
    .search-nav:not(.done) .form-wrap {
        background: white;
        margin: 16px;
        border-radius: 16px;
    }
    .form-popup .popup-close {
        color: #000;
        background: #F1F1F1;
        top: 16px;
        width: 32px;
        height: 32px;
        padding: 0;
    }

    .form-popup .form-wrap {
        margin: auto 16px;
        border-radius: 16px;
        background-color: #fff;
    }

    .info-popup-btn {
        padding: 8px;
    }

    .info-popup-content {
        padding-bottom: 0;
    }

    .info-popup-image-start {
        height: 121px;
        margin-bottom: 16px;
    }

    .info-popup-main {
        padding: 0 12px;
    }

    .info-popup-title {
        font-size: 1.5rem;
        line-height: 1.4;
        text-wrap: pretty;
        margin-bottom: 0.8rem;
    }

    .info-popup-text {
        font-size: 1.4rem;
        text-wrap: pretty;
        line-height: 1.6;
    }

    .social-services-info {
        padding: 60px 11px 15px;
    }

    .social-services-item {
        font-size: 1.2rem;
    }

    .social-services-item .question {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .leaflet-right:has(.leaflet-control-zoom) {
        bottom: 215px;
        top: auto;
        right: 10px;
    }

    .show-org-slider .leaflet-right:has(.leaflet-control-zoom) {
        bottom: 345px;
    }
    
    .show-org-slider .leaflet-popup {
        display: none;
    }

    .show-org-slider .markers-slider {
        display: block;
    }

    .leaflet-fade-anim .leaflet-popup {
        transition-delay: 0.3s;
    }

    .services-type-header {
        width: 100%;
        align-items: stretch;
        overflow: auto;
        position: static;
        padding: 6px 16px;
    }
    .search-autocomplete-body {
        padding-top: 0;
    }

    .services-type-label {
        flex: 0 0 auto;
        padding: 8px 12px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .search-autocomplete .services-list {
        padding-right: 0;
        padding-left: 0;
        padding-top: 0;
        max-height: calc(100vh - 215px);
        max-height: calc(100dvh - 215px);
    }

    .form-result {
        padding: 50px 16px 24px;
        gap: 24px;
    }

    .form-result img {
        width: 150px;
    }

    .form-result p {
        font-size: 1.8rem;
    }
    .search-step-header-mobile {
        display: none;
        gap: 8px;
        align-items: center;
        font-weight: 500;
        font-size: 1.6rem;
    }
    .form-popup .info-popup-header .search-step-header-mobile,
    .search-nav.active .search-step-header-mobile {
        display: flex;
    }
    #choose-region .search-clear,
    .search-nav.active .search-step.active #selected-region {
        display: none;
    }
    .search-clear {
        border-radius: 8px;
        background: #F1F1F1;
        padding: 4px;
        place-items: center;
    }
    #choose-service .search-clear {
        display: none;
    }
    #choose-service.entered .search-clear {
        display: block;
    }
    .not-found-service {
        padding: 12px;
        text-align: center;
        font-weight: 300;
        font-size: 1.2rem;
    }
    .search-step-header-mobile {
        border-radius: 20px 20px 0 0;
        box-shadow: none;
        background: #fff;
        padding: 16px;
    }
    .search-nav.active #services-wrap .search-step {
        min-height: 0;
        margin-bottom: 0;
        padding: 16px;
    }
    .search-nav.active #services-wrap .search-autocomplete.active {
        height: auto;
        max-height: calc(100vh - 190px);
        max-height: calc(100dvh - 190px);
    }

    .search-autocomplete-body {
        max-height: calc(100vh - 240px);
        max-height: calc(100dvh - 240px);
    }
    #markers-autocomplete {
        padding: 16px;
    }
    #marker-mobile {
        padding: 16px 16px 0 16px;
        max-height: calc(100vh - 66px);
        max-height: calc(100dvh - 66px);
        overflow: auto;
    }
    [data-current-step="4"] #markers-autocomplete {
        max-height: calc(100vh - 180px);
        max-height: calc(100dvh - 180px);
        overflow: auto;
    }

    .leaflet-popup-content {
        min-width: 200px;
    }
}

@media (max-width: 575px) {
    .info-popup-buttons {
        margin-top: 16px;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 8px;
    }

    .download-link {
        width: 100%;
    }

    .map-popup-services-row p {
        white-space: nowrap;
    }

    .map-popup-services-row {
        flex-wrap: nowrap;
        width: 100%;
    }

    .map-popup-services-list {
        width: auto;
        max-width: unset;
        margin: 0 -24px 0 -20px;
        padding: 0 24px 10px 20px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .map-popup-services-list::-webkit-scrollbar {
        height: 10px;
    }

    .map-popup-services-list::-webkit-scrollbar-track {
        background: #fff;
    }

    .map-popup-services-list::-webkit-scrollbar-thumb {
        background: #efeaff;
        border-radius: 20px;
        border: 2px solid #fff;
    }

    .user-form {
        padding: 24px 16px;
    }

    div:has(.g-recaptcha-bubble-arrow) {
        left: 50% !important;
        translate: -50% 0;
    }

    div:has(.g-recaptcha-bubble-arrow) iframe {
        width: 350px !important;
    }
}


.tooltipWrapper {
    position: relative;
    display: inline-flex;
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background-color: #1f2937;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    pointer-events: none;
    max-width: 100px;
    text-align: center;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
}

.tooltipWrapper:hover .tooltip,
.tooltipWrapper:focus-within .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 767px) {
    [data-acc-fontsize="3"] .form-label {
        font-size: 0.8rem;
    }
}
