body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: rgba(24, 56, 60, 1);
    color: #E8E6D4;
}



@media screen and (min-width: 1280px) {
    body {
        overflow-x: hidden;
    }


}
@media screen and (min-width: 1600px) {
    .headers {
        height: 100px;
    }
}
.header {
    max-width: 1160px;
    background-color: #18383C;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: auto;
    padding: 14px 0 13px 0;
    width: 100%;
    /* overflow: hidden; */
    gap: 40px;
}

.header-inner {
    width: 100%;
    max-width: 1160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left-block {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.logo {
    max-width: 164px;
    max-height: 47px;
    opacity: 1;
    min-width: 164px;
    display: block;
}
.logo + i{
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
    font-size: 9px;
    display: block;
    color: var(--color-white);
    text-decoration: none;
}
.address-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 220px;
    gap: 6px;
    opacity: 1;
}

.address-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 17px;
    max-height: 100px;
}

.marker-icon {
    width: 9.8px;
    height: 14px;
}

.address-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.branch-toggle {
    background: none;
    border: none;
    color: #E8E6D4;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    padding-left: 18px;
    transition: opacity 0.3s ease;
}

.arrow-icon {
    width: 10px;
    height: 5px;
    margin-top: 2px;
}

.branch-toggle .arrow-icon {
    transition: transform 0.3s ease;
}

.branch-toggle.active .arrow-icon {
    transform: rotate(180deg);
}

.phone-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 194.56px;
    height: 40px;
    gap: 6px;
    opacity: 1;
    /* margin-left: 62px; */
}

.phone-top {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 17px;
}

.phone-icon {
    width: 13.56px;
    height: 13.56px;
}

.phone-number {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #E8E6D4;
    white-space: nowrap;
}

.phone-bottom {
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    padding-left: 18px;
}

.icons-block {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 45px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons__item {
    --icon-color: #ffffff;
    --bg-color: #039BE5;
    display: inline-flex;
    transition: all 0.3s ease;
}

.social-icons__item svg {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.social-icons__item svg rect {
    transition: fill 0.3s ease;
    fill: var(--bg-color);
}

.social-icons__item svg path {
    transition: fill 0.3s ease;
    fill: var(--icon-color);
}

.social-icons__item:hover svg rect {
    fill: var(--icon-color);
}

.social-icons__item:hover svg path {
    fill: var(--bg-color);
}

.accessibility-button {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.accessibility-button svg {
    display: block;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
}

.accessibility-fill {
    transition: fill 0.3s ease;
    fill: #E8E6D4;
}

.accessibility-border {
    transition: stroke 0.3s ease;
    stroke: var(--color-orange);
}

.accessibility-icon {
    transition: fill 0.3s ease;
    fill: var(--color-orange);
}

/* Ð¥Ð¾Ð²ÐµÑ€-ÑÑ„Ñ„ÐµÐºÑ‚ */
.accessibility-button:hover .accessibility-fill {
    fill: var(--color-orange);
}

.accessibility-button:hover .accessibility-border {
    stroke: #E8E6D4;
}

.accessibility-button:hover .accessibility-icon {
    fill: #E8E6D4;
}

.callback-button button:hover {
    background-color: var(--color-orange);
}

.branch-selector {
    position: relative;
}

.branches-dropdown {
    position: absolute;
    top: calc( 100% + 12px );
    width: 300px;
    background-color: #E8E6D4;
    z-index: 10000;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-orange);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.3s ease, visibility 0.3s;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.branch-item:before{
    content: "";
    position: absolute;
    background: transparent;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
}
.branches-dropdown:before {
    content: "";
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #e8e6d4;
    border-top: 0;
    border-style: solid;
    width: 0;
    height: 0;
    top: -12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.branches-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}

.header-buttons .branches-dropdown {
    left: -24px;
}

.header-buttons .branches-dropdown:before {
    left: auto;
    right: 51px;
    transform: none;
}

/* ÐšÐ°Ð¶Ð´Ð°Ñ Ð³Ñ€ÑƒÐ¿Ð¿Ð° Ð°Ð´Ñ€ÐµÑÐ¾Ð² (Ð²ÑÑ Ð·Ð°Ð¿Ð¸ÑÑŒ all_clinic_address) */
.branch-item {
    width: 100%;
    /* padding-bottom: 20px; */
    /* border-bottom: 1px solid rgba(118, 130, 74, 0.2); */
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: default;
}

/* ÐšÐ°Ð¶Ð´Ð°Ñ ÑÑ‚Ñ€Ð¾ÐºÐ° Ð°Ð´Ñ€ÐµÑÐ° (Ð²Ð½ÑƒÑ‚Ñ€Ð¸ Repeater) */
.clinic-address-line {
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: pre-line;
    cursor: pointer;
    transition: color 0.2s ease;
}

.clinic-address-line:hover {
    text-decoration: underline;
}

.navbar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #18383C;
    position: sticky;
    top: 0;
    z-index: 999;
    /* border: 1px solid red; */
    height: 78px;
    border-top: 1px solid rgba(132, 168, 172, 0.20);
}

.navbar-section {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #18383C;
    height: 78px;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 40px;
    height: 100%;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #E8E6D4;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}
span.nav-link{
    cursor: default;
}
.nav-link.active{
    text-decoration: underline;
}
.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 46px;
}

.nav-action-button {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #E8E6D4;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-action-button:hover {
    text-decoration: underline;
}

.burger-button {
    width: 45px;
    height: 46px;
    padding: 18px 13px;
    background-color: #E8E6D4;
    border: 1px solid var(--color-orange);
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.burger-button:hover {
    background-color: var(--color-orange);
    border-color: #E8E6D4;
}

.nav-link-wrapper {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc( 100% + 20px );
    left: -90px;
    background-color: #E8E6D4;
    border-radius: 4px;
    padding: 0;
    width: 245px;
    /* Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð»ÐµÐ²Ð°Ñ ÐºÐ¾Ð»Ð¾Ð½ÐºÐ° */
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    /* transition: all 0.45s ease, width 0.3s ease; */
    z-index: 100;
    display: grid;
    grid-template-columns: 220px 0;
    /* ÑÐºÑ€Ñ‹Ñ‚ÑŒ Ð¿Ñ€Ð°Ð²ÑƒÑŽ ÐºÐ¾Ð»Ð¾Ð½ÐºÑƒ */
    /* overflow: hidden; */
}

.dropdown:after {
    content: "";
    display: block;
    background: transparent;
    width: 245px;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 30px;
}

.dropdown.dropdown--has-second {
    width: 520px;
    /* Ð´Ð¾Ð±Ð°Ð²Ð»ÑÐµÑ‚ÑÑ Ð²Ñ‚Ð¾Ñ€Ð°Ñ ÐºÐ¾Ð»Ð¾Ð½ÐºÐ° */
    grid-template-columns: 245px 1fr;
}

.nav-link-wrapper.active .dropdown {
    /* box-shadow: 5px 5px 20px 5px #18383C; */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link-wrapper.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* box-shadow: 5px 5px 20px 5px #18383C; */
    z-index: 100;
    /* border-radius: 8px 0 0 8px; */
}

.nav-link-wrapper .dropdown:before {
    content: "";
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #e8e6d4;
    border-top: none;
    display: block;
    position: absolute;
    top: -11px;
    left: 102px;
    /* transform: translateX(-50%); */
}

.dropdown__list.dropdown__list--level-1 {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid rgba(24,56,60,0.1);
    min-width: 245px;
    z-index: 2;
}

.dropdown__item.dropdown__item--level-1 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.1;
    color: var(--color-text);
    cursor: pointer;
    user-select: none;
    padding: 0;
    border-radius: 0;
    /* transition: background-color 0.2s ease, color 0.3s ease; */
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.dropdown__item.dropdown__item--level-1:hover {
    color: #495b2e;
}

.dropdown__item.dropdown__item--level-1 svg {
    transition: transform .3s ease-in-out;
}

.dropdown__item.dropdown__item--level-1.active svg {
    transform: rotate(180deg);
}

.dropdown__panel.dropdown__panel--level-2 {
    padding: 25px;
    background: #FCFAE8;
    border-radius: 0 8px 8px 0;
    min-height: 100%;
    display: none;
    /* ÑÐºÑ€Ñ‹Ñ‚Ð¾ Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ Ð´Ð¾ Ð²Ñ‹Ð±Ð¾Ñ€Ð° ÐºÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¸ */
}

.dropdown__list.dropdown__list--level-2 {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.dropdown__list.dropdown__list--level-2.active {
    display: flex;
}

/* Ð¿Ð¾ÐºÐ°Ð·Ñ‹Ð²Ð°Ñ‚ÑŒ Ð¿Ñ€Ð°Ð²ÑƒÑŽ ÐºÐ¾Ð»Ð¾Ð½ÐºÑƒ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ ÐµÑÐ»Ð¸ ÐµÑÑ‚ÑŒ Ð°ÐºÑ‚Ð¸Ð²Ð½Ð°Ñ ÐºÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ñ */
.dropdown__list--level-1 .dropdown__item--level-1.active ~ .dropdown__panel--level-2 {
    display: block;
}

.dropdown__item.dropdown__item--level-2 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #18383C;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.dropdown__item.dropdown__item--level-2:hover {
    text-decoration: underline;
}

.nav-link--dropdown .arrow-icon {
    transition: transform 0.3s ease;
}

.nav-link--dropdown.active .arrow-icon {
    transform: rotate(180deg);
}

.burger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 19px;
    height: 10px;
    gap: 2px;
}

.burger-line {
    width: 19px;
    height: 2px;
    background-color: var(--color-orange);
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.burger-button:hover .burger-line {
    background-color: #E8E6D4;
}

.header-buttons {
    display: none;
}

@media (max-width: 1024px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .left-block {
        flex-wrap: wrap;
        justify-content: center;
        width: 138.118px;
        height: 40px;
    }

    .icons-block {
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .address-block, .phone-block {
        align-items: center;
    }
}

.mobile-location-button {
    display: none;
}
@media screen and (max-width: 1320px) {
    .dropdown {
        left: 0;
    }
    .nav-link-wrapper .dropdown:before{
        left: 20px;
    }
}
@media screen and (max-width: 1180px) {
    .header {
        margin-left:20px;
        margin-right: 20px;
        gap: 0;
        justify-content: space-between;
        width: auto;
    }

    .header-inner {
        gap: 20px;
        width: auto;
    }

    .nav-links {
        gap: 20px;
    }
}

@media screen and (max-width: 1023px) {
    .mobile-burger-button {
        display: flex;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background-color: #E8E6D4;
        border: 1px solid var(--color-orange);
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .mobile-burger-button svg path {
        stroke: var(--color-orange);
        transition: stroke 0.3s ease;
    }

    .mobile-burger-button:hover {
        background-color: var(--color-orange);
        border-color: #E8E6D4;
    }

    .mobile-burger-button:hover svg path {
        stroke: #E8E6D4;
    }

    .mobile-location-button {
        display: flex;
        background: transparent;
        border: none;
        width: 24px;
        height: 24px;
        padding: 0;
        cursor: pointer;
    }

    .mobile-location-button svg path {
        /* fill: var(--color-orange); */
        /* transition: fill 0.3s ease; */
    }

    .header {
        width: calc(100% - 20px);
        background-color: #18383C;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0 0 0 10px;
        /* overflow: hidden; */
    }

    .header-inner {
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        margin: 0;
        overflow: hidden;
    }

    .logo-block {
        /* width: 138.12px; */
        height: 40px;
        flex-shrink: 0;
    }

    .logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .logo + i{
        transform: translateY(-4px);
        font-size: 9px;
    }
    .header-buttons {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }

    /* ÐšÐ½Ð¾Ð¿ÐºÐ° 1 */
    .header-button-1 {
        width: 36px;
        height: 36px;
        padding: 10px 15px;
        border-radius: 100px;
        border: 1px solid #E8E6D4;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* ÐšÐ½Ð¾Ð¿ÐºÐ° 2 */
    .header-button-2 {
        width: 40px;
        height: 40px;
        padding: 12px;
        border-radius: 20px;
        background-color: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* ÐšÐ½Ð¾Ð¿ÐºÐ° 3 (Ð±ÑƒÑ€Ð³ÐµÑ€) */
    .burger-button {
        width: 40px;
        height: 40px;
        padding: 12px;
        border-radius: 20px;
        background-color: #E8E6D4;
        border: 1px solid var(--color-orange);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .burger-lines {
        width: 20px;
        height: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2px;
    }

    .burger-line {
        width: 20px;
        height: 2px;
        background-color: var(--color-orange);
        border-radius: 2px;
    }

    .navbar-wrapper, .address-block, .address-block, .icons-block {
        display: none;
    }

    .phone-block {
        margin: 0;
    }
}

@media screen and (max-width: 480px) {
    .mobile-burger-button {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #E8E6D4;
        border: 1px solid var(--color-orange);
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .mobile-burger-button svg path {
        stroke: var(--color-orange);
        transition: stroke 0.3s ease;
    }

    .mobile-burger-button:hover {
        background-color: var(--color-orange);
        border-color: #E8E6D4;
    }

    .mobile-burger-button:hover svg path {
        stroke: #E8E6D4;
    }



    .mobile-location-button:hover {
        background-color: var(--color-orange);
        border-color: #E8E6D4;
    }

    .mobile-location-button:hover svg path {
        fill: #E8E6D4;
    }

    .header {
        width: auto;
        background-color: #18383C;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .header-inner {
        width: calc( 100% - 20px );
        align-items: center;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
        box-sizing: border-box;
        margin: 0;
    }

    .logo-block {
        transform: translateY(-4px);
        height: 40px;
        flex-shrink: 0;
    }

    .logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .header-buttons {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* ÐšÐ½Ð¾Ð¿ÐºÐ° 1 */
    .header-button-1 {
        width: 36px;
        height: 36px;
        padding: 10px 15px;
        border-radius: 100px;
        border: 1px solid #E8E6D4;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* ÐšÐ½Ð¾Ð¿ÐºÐ° 2 */
    .header-button-2 {
        width: 40px;
        height: 40px;
        padding: 12px;
        border-radius: 20px;
        background-color: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* ÐšÐ½Ð¾Ð¿ÐºÐ° 3 (Ð±ÑƒÑ€Ð³ÐµÑ€) */
    .burger-button {
        width: 40px;
        height: 40px;
        padding: 12px;
        border-radius: 20px;
        background-color: #E8E6D4;
        border: 1px solid var(--color-orange);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .burger-lines {
        width: 20px;
        height: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2px;
    }

    .burger-line {
        width: 20px;
        height: 2px;
        background-color: var(--color-orange);
        border-radius: 2px;
    }

    .navbar-wrapper, .address-block, .phone-block, .address-block, .icons-block {
        display: none;
    }
}
