/* For old browsers */
@supports (not(--css: variables))
{
    .supports_error
    {
        display: flex !important;
    }
}

/* For IE */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none)
{
    .supports_error
    {
        display: flex !important;
    }
}



/*------------------
    Reset styles
------------------*/
*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:before,
*:after
{
    box-sizing: border-box;
}

html
{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
        -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body
{
    margin: 0;

    overscroll-behavior-y: contain;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeLegibility;
}

img
{
    border-style: none;
}

a
{
    color: inherit;
    text-decoration: none;
}

button
{
    color: inherit;
    font: inherit;

    cursor: pointer;

    background: none;
    border: none;
}

ul, ol
{
    list-style: none;
}

input,
textarea,
input:active,
textarea:active,
button
{
    margin: 0;

    -webkit-border-radius: 0;
            border-radius: 0;
         outline: none transparent !important;
    box-shadow: none;

    -webkit-appearance: none;
            appearance: none;
    -moz-outline: none !important;
}

:focus
{
    outline: 0;
}

:hover,
:active
{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}



/*-------------------
    Global styles
-------------------*/
:root
{
    --bg: #fff;
    --bg_soft: #F2F7FA;
    --scroll_width: 17px;

    --text_color: #142430;
    --text_soft: #5C7488;

    --primary: #0578B3;
    --primary_dark: #063F5C;
    --primary_light: #E8F3F9;

    --accent: #E21D24;
    --accent_dark: #B9141A;

    --line: #E1E9EF;

    --font_size: 17px;
    --font_size_h1: 68px;
    --font_size_h2: 44px;
    --font_size_h3: 26px;

    --radius: 16px;
    --header_h: 156px;

    --font_family: 'Manrope', 'Arial', sans-serif;
}


::selection
{
    color: #fff;

    background: var(--primary);
}

::-moz-selection
{
    color: #fff;

    background: var(--primary);
}


.clear
{
    clear: both;
}

.left
{
    float: left;
}

.right
{
    float: right;
}

html
{
    height: 100%;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height:         fill-available;
}

html.custom_scroll ::-webkit-scrollbar
{
    width: 10px;
    height: 10px;

    background-color: var(--bg_soft);
}

html.custom_scroll ::-webkit-scrollbar-thumb
{
    background-color: var(--primary);
}

html.custom_scroll
{
    scrollbar-color: var(--primary) var(--bg_soft);
    scrollbar-width: thin;
}


body
{
    overflow-x: hidden;

    color: var(--text_color);
    font: 400 var(--font_size)/1.6 var(--font_family);

    height: 100%;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height:         fill-available;

    background: var(--bg);
}

body.menu_open
{
    overflow: hidden;
}


h1, h2, h3, h4
{
    font-weight: 700;
}


.row
{
    display: flex;
    align-items: center;
}


.cont
{
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 80px;
}


.icon
{
    display: inline-block;

    width: 1em;
    height: 1em;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Кнопки */
.btn
{
    font-family: var(--font_family);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 20px 34px;

    cursor: pointer;
    transition: .25s;
    text-align: center;

    color: #fff;
    border: 2px solid transparent;
    border-radius: 100px;
    background-color: var(--accent);
}

.btn:hover
{
    background-color: var(--accent_dark);
}

.btn.btn_primary
{
    background-color: var(--accent);
}

.btn.btn_outline
{
    color: #fff;

    background-color: transparent;
    border-color: rgba(255,255,255,.5);
}

.btn.btn_outline:hover
{
    border-color: #fff;
    background-color: rgba(255,255,255,.12);
}

.btn.btn_ghost
{
    font-weight: 600;

    padding: 0;

    color: #fff;
    background: none;
}

.btn.btn_ghost .icon
{
    font-size: 20px;

    transition: .25s;
}

.btn.btn_ghost:hover
{
    background: none;
}

.btn.btn_ghost:hover .icon
{
    transform: translateX(6px);
}



/*==================
    Header
==================*/
header
{
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;

    width: 100%;

    transition: box-shadow .25s;
    background: var(--bg);
    box-shadow: 0 1px 0 var(--line);
}

header.scrolled
{
    box-shadow: 0 8px 30px rgba(6,42,62,.08);
}


/* Topbar */
header .topbar
{
    font-size: 14px;

    border-bottom: 1px solid var(--line);
    background: var(--primary_dark);
}

header .topbar .cont
{
    justify-content: space-between;

    height: 46px;
}

header .topbar .row
{
    gap: 28px;
}

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

    color: rgba(255,255,255,.85);
}

header .topbar_item .icon
{
    font-size: 16px;
    flex-shrink: 0;

    color: rgba(255,255,255,.55);
}

header .topbar_item a:hover
{
    color: #fff;
}

header .topbar_langs
{
    display: flex;
    gap: 10px;
}

header .topbar_langs a
{
    color: rgba(255,255,255,.6);
}

header .topbar_langs a.active,
header .topbar_langs a:hover
{
    color: #fff;
}

header .topbar_langs span
{
    color: rgba(255,255,255,.4);
}

header .topbar_social,
header .mob_social
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    transition: .2s;
    border-radius: 50%;
}

header .topbar_social
{
    width: 30px;
    height: 30px;

    color: #fff;
    background: rgba(255,255,255,.14);
}

header .topbar_social .icon
{
    font-size: 17px;
}

header .topbar_social:hover,
header .mob_social:hover
{
    color: #fff;
    background: linear-gradient(45deg, #f9a03f 0%, #e1306c 50%, #833ab4 100%);
}

header .mob_social
{
    width: 34px;
    height: 34px;

    color: var(--primary);
    background: var(--bg_soft);
}

header .mob_social .icon
{
    font-size: 19px;
}


/* Main header */
header .main_header .cont
{
    justify-content: space-between;

    height: 110px;
}

header .logo
{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

header .logo .mark
{
    display: block;

    height: 84px;
    width: auto;
}

header .logo .text
{
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .02em;

    color: var(--text_color);
}

header .logo .text b
{
    display: block;

    color: var(--primary);
}


header .menu
{
    display: flex;
    align-items: center;
    gap: 40px;
}

header .menu .close_btn,
header .menu .menu_mob_foot
{
    display: none;
}

header .menu a
{
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;

    position: relative;

    padding: 8px 0;

    color: var(--text_color);
    transition: .2s;
}

header .menu a:after
{
    content: '';

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 2px;

    transform: scaleX(0);
    transition: .25s;
    transform-origin: right;

    background: var(--primary);
}

header .menu a:hover,
header .menu a.active
{
    color: var(--primary);
}

header .menu a:hover:after,
header .menu a.active:after
{
    transform: scaleX(1);
    transform-origin: left;
}

header .menu a.btn,
header .menu a.btn:hover
{
    color: #fff;
}

header .menu a.btn:after
{
    content: none;
}


/* Випадаюче підменю "Про нас" */
header .menu .item.has_dropdown
{
    position: relative;
}

header .menu .item.has_dropdown .row
{
    display: flex;
    align-items: center;
}

header .menu .dropdown_toggle
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    margin-left: 2px;

    color: inherit;
}

header .menu .dropdown_toggle .icon
{
    width: 12px;
    height: 12px;

    transition: .2s;
}

header .menu .dropdown
{
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;

    min-width: 210px;
    margin-top: 14px;
    padding: 10px;

    opacity: 0;
    transition: opacity .2s, transform .2s, visibility 0s linear .25s;
    transform: translateY(8px);
    visibility: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(6,42,62,.16);
}

header .menu .dropdown:before
{
    content: '';

    position: absolute;
    top: -14px;
    right: 0;
    left: 0;

    height: 14px;
}

header .menu .item.has_dropdown:hover .dropdown,
header .menu .item.has_dropdown.open .dropdown
{
    opacity: 1;
    transition-delay: 0s;
    transform: translateY(0);
    visibility: visible;
}

header .menu .item.has_dropdown:hover .dropdown_toggle .icon,
header .menu .item.has_dropdown.open .dropdown_toggle .icon
{
    transform: rotate(180deg);
}

header .menu .dropdown a
{
    font-size: 15px;

    display: block;

    padding: 11px 14px;

    border-radius: 8px;
}

header .menu .dropdown a:after
{
    content: none;
}

header .menu .dropdown a:hover
{
    color: var(--primary);
    background: var(--bg_soft);
}


header .header_right
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

header .header_btns
{
    display: flex;
    align-items: center;
    gap: 24px;
}

header .header_trust
{
    display: flex;
    align-items: center;
    gap: 10px;
}

header .header_trust .rating
{
    display: flex;
    align-items: center;
    gap: 5px;

    color: inherit;
    text-decoration: none;
}

header .header_trust .rating .g
{
    flex-shrink: 0;

    width: 15px;
    height: 15px;
}

header .header_trust .rating b
{
    font-size: 13px;
    font-weight: 800;

    color: var(--text_color);
}

header .header_trust .rating .stars
{
    font-size: 12px;
    letter-spacing: 1px;

    color: #FBBC05;
}

header .header_trust .rating .num
{
    font-size: 13px;

    color: var(--text_soft);
}

header .header_trust .rating:hover b,
header .header_trust .rating:hover .num
{
    color: var(--primary);
}

header .header_trust .sep
{
    width: 1px;
    height: 12px;

    background: var(--line);
}

header .header_trust > .num
{
    font-size: 13px;

    color: var(--text_soft);
}

header .header_btns .phone
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

header .header_btns .phone a
{
    font-size: 18px;
    font-weight: 800;
}

header .header_btns .phone a:hover
{
    color: var(--primary);
}

header .header_btns .phone span
{
    font-size: 13px;

    color: var(--text_soft);
}

header .header_btns .btn
{
    padding: 16px 28px;
}

header .mob_phone_btn
{
    display: none;
}


/* Моб. кнопка меню */
header .mob_menu_btn
{
    position: relative;

    display: none;
    flex-shrink: 0;

    width: 32px;
    height: 20px;
}

header .mob_menu_btn span,
header .mob_menu_btn span:before,
header .mob_menu_btn span:after
{
    content: '';

    position: absolute;
    left: 0;

    width: 100%;
    height: 2px;

    transition: .25s;
    background: var(--text_color);
}

header .mob_menu_btn span
{
    top: 9px;
}

header .mob_menu_btn span:before
{
    top: -9px;
}

header .mob_menu_btn span:after
{
    top: 9px;
}


header .overlay
{
    position: fixed;
    z-index: 190;
    top: 0;
    left: 0;

    display: none;

    width: 100%;
    height: 100%;

    background: rgba(18,33,29,.6);
}

body.menu_open header .overlay
{
    display: block;
}



/*==================
    Hero slider
==================*/
.hero
{
    position: relative;

    margin-top: var(--header_h);
}

.hero .swiper-container
{
    position: relative;

    overflow: hidden;
}

.hero .slide
{
    position: relative;

    display: flex;
    align-items: center;

    min-height: 760px;
}

.hero .slide .img
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    overflow: hidden;

    width: 100%;
    height: 100%;
}

.hero .slide .img img
{
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: right center;
}

.hero .slide .overlay
{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(90deg, rgba(6,42,62,.95) 0%, rgba(6,42,62,.86) 30%, rgba(6,42,62,.5) 48%, rgba(6,42,62,.1) 60%, rgba(6,42,62,0) 68%);
}

.hero .slide .cont
{
    position: relative;
    z-index: 3;
}

.hero .slide .info
{
    max-width: 660px;
}

.hero .slide .eyebrow
{
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    color: var(--accent);
}

.hero .slide .eyebrow:before
{
    content: '';

    width: 32px;
    height: 2px;

    background: var(--accent);
}

.hero .slide .title
{
    font-size: var(--font_size_h1);
    font-weight: 800;
    line-height: 1.08;

    margin-bottom: 26px;

    color: #fff;
}

.hero .slide .title span
{
    color: #fff;
}

.hero .slide .desc
{
    font-size: 19px;
    line-height: 1.6;

    max-width: 540px;
    margin-bottom: 40px;

    color: rgba(255,255,255,.82);
}

.hero .slide .btns
{
    display: flex;
    align-items: center;
    gap: 36px;
}


/* Нижняя панель со статистикой и пагинацией */
.hero .hero_bottom
{
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;

    border-top: 1px solid rgba(255,255,255,.16);
    background: rgba(6,42,62,.55);
}

.hero .hero_bottom .cont
{
    justify-content: space-between;

    height: 108px;
}

.hero .stats
{
    display: flex;
    gap: 64px;
}

.hero .stats .stat .num
{
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;

    color: #fff;
}

.hero .stats .stat .label
{
    font-size: 14px;

    max-width: 160px;
    margin-top: 4px;

    color: rgba(255,255,255,.7);
}

.hero .swiper-pagination
{
    position: static;

    display: flex;
    gap: 10px;

    width: auto;
}

.hero .swiper-pagination .swiper-pagination-bullet
{
    opacity: 1;

    width: 34px;
    height: 4px;

    transition: .25s;
    border-radius: 4px;
    background: rgba(255,255,255,.35);
}

.hero .swiper-pagination .swiper-pagination-bullet.active
{
    width: 44px;

    background: #fff;
}


/* Стрілки */
.hero .swiper-button-prev,
.hero .swiper-button-next
{
    position: absolute;
    z-index: 5;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;
    margin-top: -30px;

    cursor: pointer;
    transition: .25s;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(6,42,62,.45);
}

.hero .swiper-button-prev:after,
.hero .swiper-button-next:after
{
    content: none;
}

.hero .swiper-button-prev .icon,
.hero .swiper-button-next .icon
{
    font-size: 24px;
}

.hero .swiper-button-prev
{
    left: 40px;
}

.hero .swiper-button-next
{
    right: 40px;
}

.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover
{
    border-color: var(--accent);
    background: var(--accent);
}

.hero .swiper-button-prev.swiper-button-disabled,
.hero .swiper-button-next.swiper-button-disabled
{
    cursor: default;
    opacity: .35;
}



/*==================
    Block head
==================*/
.block
{
    padding: 110px 0;
}

.block_head
{
    margin-bottom: 56px;
}

.block_head.row
{
    justify-content: space-between;
    align-items: flex-end;
}

.block_head.center
{
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.block_head .tag
{
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 16px;

    color: var(--primary);
}

.block_head.center .tag
{
    justify-content: center;

    width: 100%;
}

.block_head .tag:before
{
    content: '';

    width: 28px;
    height: 2px;

    background: var(--accent);
}

.block_head.center .tag:before
{
    display: none;
}

.block_head .title
{
    font-size: var(--font_size_h2);
    font-weight: 800;
    line-height: 1.2;
}

.block_head .title span
{
    color: var(--primary);
}


.arrows
{
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.arrows .swiper-button-prev,
.arrows .swiper-button-next
{
    position: static;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin: 0;

    cursor: pointer;
    transition: .25s;
    color: var(--primary);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.arrows .swiper-button-prev:after,
.arrows .swiper-button-next:after
{
    content: none;
}

.arrows .icon
{
    font-size: 22px;
}

.arrows .swiper-button-prev:hover,
.arrows .swiper-button-next:hover
{
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

.arrows .swiper-button-disabled
{
    cursor: default;
    opacity: .3;
}



/*==================
    Наші послуги
==================*/
.services_grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service_card
{
    padding: 40px 32px;

    transition: .25s;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.service_card:hover
{
    transform: translateY(-4px);
    border-color: transparent;
    background: var(--primary);
    box-shadow: 0 24px 50px rgba(5,120,179,.25);
}

.service_card .icon
{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    margin-bottom: 24px;

    color: var(--primary);
    border-radius: 16px;
    background: var(--primary_light);
}

.service_card:hover .icon
{
    color: var(--primary);
    background: #fff;
}

.service_card .icon svg
{
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service_card .name
{
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 10px;
}

.service_card:hover .name
{
    color: #fff;
}

.service_card .desc
{
    font-size: 15px;
    line-height: 1.55;

    color: var(--text_soft);
}

.service_card:hover .desc
{
    color: rgba(255,255,255,.82);
}



/*==================
    Про нас
==================*/




.btn.btn_outline_dark
{
    color: var(--text_color);

    background: transparent;
    border-color: var(--line);
}

.btn.btn_outline_dark:hover
{
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}


.stats_grid
{
    display: grid;
    flex: 1;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat_card
{
    padding: 36px 28px;

    color: #fff;
    border-radius: var(--radius);
    background: var(--primary_dark);
}

.stat_card:nth-child(2)
{
    background: var(--primary);
}

.stat_card:nth-child(3)
{
    background: var(--accent);
}

.stat_card:nth-child(4)
{
    color: var(--text_color);

    background: #fff;
    border: 1px solid var(--line);
}

.stat_card .num
{
    font-size: 42px;
    font-weight: 800;
    line-height: 1;

    margin-bottom: 10px;
}

.stat_card .label
{
    font-size: 15px;
    line-height: 1.4;

    opacity: .85;
}



/*==================
    Лікарі
==================*/
.doctors .block_head
{
    margin-bottom: 40px;
}

.block_foot
{
    margin-top: 48px;
}

.block_foot.center
{
    text-align: center;
}

.doctors_slider
{
    overflow: hidden;

    padding: 0 80px;
}

.doctor_card
{
    display: block;

    padding: 32px 24px;

    transition: .25s;
    text-align: center;
    color: var(--text_color);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.doctor_card:hover
{
    border-color: transparent;
    box-shadow: 0 24px 50px rgba(6,42,62,.1);
}

.doctor_card .avatar
{
    font-size: 36px;
    font-weight: 800;
    line-height: 1;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 315px;
    height: 315px;
    margin: 0 auto 24px;

    overflow: hidden;
    color: var(--primary);
    border-radius: var(--radius);
    background: var(--primary_light);
}

.doctor_card .avatar img
{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    transition: .3s;
}

.doctor_card .avatar:hover img
{
    transform: scale(1.06);
}

.doctor_card .name
{
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;

    display: block;

    margin-bottom: 8px;
}

.doctor_card .name:hover
{
    color: var(--primary);
}

.doctor_card .position
{
    font-size: 14px;

    margin-bottom: 14px;

    color: var(--accent);
}

.doctor_card .location
{
    font-size: 13px;
    line-height: 1.6;

    color: var(--text_soft);
}

.doctor_card .location a
{
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 2px;
}

.doctor_card .location a:hover
{
    color: var(--primary);
    text-decoration-color: var(--primary);
}

.doctor_card .location .sep
{
    color: var(--line);
}



/*==================
    Напрямки допомоги
==================*/
.care
{
    background: var(--primary_dark);
}

.care .tag
{
    color: #fff;
}

.care .title
{
    color: #fff;
}

.care_grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.care_card
{
    padding: 36px 28px;

    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
}

.care_card .icon
{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;
    margin-bottom: 22px;

    color: #fff;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
}

.care_card .icon svg
{
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.care_card .name
{
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 10px;

    color: #fff;
}

.care_card .desc
{
    font-size: 14.5px;
    line-height: 1.55;

    color: rgba(255,255,255,.66);
}



/*==================
    Акція
==================*/
.promo_card
{
    position: relative;

    align-items: stretch;

    overflow: hidden;

    border-radius: 28px;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary_dark) 100%);
}

.promo_card:before
{
    content: '';

    position: absolute;
    top: -80px;
    right: -80px;

    width: 340px;
    height: 340px;

    border-radius: 50%;
    background: rgba(226,29,36,.25);
}

.promo_card .info
{
    position: relative;
    z-index: 1;
    flex: 1 1 55%;

    max-width: 640px;
    padding: 64px 40px 64px 80px;
}

.promo_img
{
    position: relative;

    overflow: hidden;
    flex: 1 1 45%;

    min-height: 360px;
}

.promo_img img
{
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.promo_img:after
{
    content: '';

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(90deg, var(--primary) 0%, rgba(5,120,179,0) 18%);
}

.promo_card .tag
{
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;

    display: inline-block;

    margin-bottom: 18px;
    padding: 8px 18px;

    color: #fff;
    border-radius: 100px;
    background: var(--accent);
}

.promo_card .title
{
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;

    margin-bottom: 18px;

    color: #fff;
}

.promo_card .price
{
    font-size: 22px;
    font-weight: 600;

    margin-bottom: 28px;

    color: rgba(255,255,255,.85);
}

.promo_card .price span
{
    font-size: 48px;
    font-weight: 800;

    margin-right: 8px;

    color: #fff;
}

.promo_card .conditions
{
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;

    margin-bottom: 24px;
}

.promo_card .conditions .item
{
    font-size: 15px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #fff;
}

.promo_card .conditions .icon
{
    font-size: 18px;
    flex-shrink: 0;

    color: #fff;
}

.promo_card .note
{
    font-size: 14px;
    line-height: 1.5;

    max-width: 480px;
    margin-bottom: 32px;

    color: rgba(255,255,255,.65);
}



/*==================
    Наші філії
==================*/
.clinics
{
    background: var(--bg_soft);
}

.clinics_map
{
    overflow: hidden;

    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(6,42,62,.05);
}

.clinics_map .map_info
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;

    padding: 22px 28px;

    background: #fff;
}

.clinics_map .address
{
    font-size: 16px;
    font-weight: 700;

    flex: 1 1 auto;
}

.clinics_map .phone
{
    font-size: 16px;
    font-weight: 800;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);
}

.clinics_map .phone .icon
{
    font-size: 18px;
}

.clinics_map .hours
{
    font-size: 14px;

    width: 100%;

    color: var(--text_soft);
}

.clinics_map .map_info .btn
{
    font-size: 14px;

    margin-left: auto;
    padding: 13px 22px;
}

.clinics_map iframe
{
    display: block;

    width: 100%;
    height: 460px;

    border: none;
}


.filii_cards
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.filii_card
{
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 22px 26px;

    transition: .2s;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(6,42,62,.05);
}

.filii_card:hover
{
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(6,42,62,.1);
}

.filii_card .card_link
{
    position: absolute;
    z-index: 1;
    inset: 0;

    border-radius: 14px;
}

.filii_card .top,
.filii_card .bottom
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
}

.filii_card .top
{
    flex-wrap: nowrap;
    align-items: flex-start;
}

.filii_card .top .address
{
    flex: 1 1 auto;
    min-width: 0;
}

.filii_card .top .phone
{
    flex-shrink: 0;

    padding-top: 2px;
}

.filii_card .address,
.filii_card .hours,
.filii_card .phone
{
    display: flex;
    align-items: center;
    gap: 8px;
}

.filii_card .address
{
    font-size: 16px;
    font-weight: 700;
}

.filii_card .address .icon
{
    font-size: 20px;
    flex-shrink: 0;

    color: var(--accent);
}

.filii_card .phone
{
    position: relative;
    z-index: 2;

    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;

    color: var(--primary);
}

.filii_card .phone .icon
{
    font-size: 17px;
}

.filii_card .phone:hover
{
    color: var(--primary_dark);
}

.filii_card .hours
{
    font-size: 14px;

    color: var(--text_soft);
}

.filii_card .hours .icon
{
    font-size: 17px;
    flex-shrink: 0;
}

.filii_card .route
{
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 7px 14px 7px 9px;

    transition: .2s;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;

    color: var(--text_soft);
    border-radius: 20px;
    background: var(--bg_soft);
}

.filii_card .route:hover
{
    color: var(--primary);
    background: var(--primary_light);
}

.filii_card .route svg
{
    flex-shrink: 0;

    width: 18px;
    height: 18px;
}


.filii_layout
{
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    gap: 24px;
}

.filii_layout .filii_cards
{
    grid-template-columns: 1fr;
    gap: 14px;
}

.filii_allmap
{
    position: sticky;
    top: calc(var(--header_h) + 24px);

    overflow: hidden;

    height: calc(100vh - var(--header_h) - 48px);
    min-height: 420px;
    max-height: 760px;

    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(6,42,62,.05);
}

.filii_allmap iframe
{
    display: block;

    width: 100%;
    height: calc(100% + 78px);
    margin-top: -78px;

    border: none;
}



/*==================
    Блог
==================*/
.articles .block_head
{
    margin-bottom: 40px;
}

.articles_slider
{
    overflow: hidden;

    padding: 0 80px;
}

.article_card
{
    display: block;
    overflow: hidden;

    padding: 32px;

    transition: .25s;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article_card .thumb
{
    overflow: hidden;

    height: 190px;
    margin: -32px -32px 24px;

    background: var(--bg_soft);
}

.article_card .thumb img
{
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    transition: .4s;
}

.article_card:hover .thumb img
{
    transform: scale(1.06);
}

.article_card:hover
{
    border-color: transparent;
    box-shadow: 0 24px 50px rgba(6,42,62,.1);
}

.article_card .date
{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;

    display: inline-flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 20px;
    padding: 10px 16px;

    color: var(--primary);
    border-radius: 10px;
    background: var(--primary_light);
}

.article_card .date span
{
    font-size: 20px;
    font-weight: 800;

    color: var(--text_color);
}

.article_card .name
{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    margin-bottom: 12px;
}

.article_card .desc
{
    font-size: 14.5px;
    line-height: 1.6;

    margin-bottom: 20px;

    color: var(--text_soft);
}

.article_card .link
{
    font-size: 14px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);
}

.article_card .link .icon
{
    font-size: 18px;

    transition: .2s;
}

.article_card:hover .link .icon
{
    transform: translateX(4px);
}



/*==================
    Footer
==================*/
footer
{
    padding-top: 90px;

    color: rgba(255,255,255,.7);

    background: var(--primary_dark);
}

footer .footer_top
{
    align-items: flex-start;
    gap: 40px;

    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

footer .col_logo
{
    width: 30%;
}

footer .logo
{
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}

footer .logo .mark
{
    height: 64px;
}

footer .logo .text
{
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;

    color: #fff;
}

footer .logo .text b
{
    display: block;

    color: var(--accent);
}

footer .col_logo p
{
    font-size: 14.5px;
    line-height: 1.6;

    margin-bottom: 24px;
}

footer .socials
{
    display: flex;
    gap: 12px;
}

footer .socials a
{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    transition: .2s;
    color: #fff;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

footer .socials a:hover
{
    background: var(--accent);
}

footer .socials .icon
{
    font-size: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

footer .col_links
{
    flex: 1;
}

footer .col_contacts
{
    width: 24%;
}

footer .title
{
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;

    margin-bottom: 22px;

    color: #fff;
}

footer .items
{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

footer .items a:hover
{
    color: #fff;
}

footer .col_contacts .phone
{
    font-size: 22px;
    font-weight: 800;

    display: block;

    margin-bottom: 8px;

    color: #fff;
}

footer .col_contacts .hours
{
    font-size: 14px;

    margin-bottom: 26px;
}

footer .footer_bottom
{
    justify-content: space-between;

    padding: 28px 0;
}

footer .footer_bottom a:hover
{
    color: #fff;
}

footer .copyright,
footer .policy
{
    font-size: 13.5px;
}



/*==================
    Модалки (Fancybox)
==================*/
.fancybox__content
{
    --fancybox-bg: transparent;

    padding: 0;
    background: transparent;
}

.fancybox__content > .carousel__button.is-close
{
    display: none;
}

section.modal
{
    display: none;

    box-sizing: border-box;
    width: 100%;
    max-width: 960px;
    padding: 56px;

    border-radius: 28px;
    background: #fff;
}

.modal .modal_close_btn
{
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    transition: .2s;
    color: var(--text_color);
    border-radius: 50%;

}

.modal .modal_close_btn:hover
{

}

.modal .modal_close_btn .icon
{
    font-size: 20px;
}


/* Модалка запису */
.booking_modal
{
    position: relative;
}

.booking_modal .row
{
    align-items: flex-start;
    gap: 56px;
}

.booking_modal .info
{
    width: 42%;
}

.booking_modal .tag
{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;

    display: inline-block;

    margin-bottom: 14px;
    padding: 7px 14px;

    color: var(--primary);
    border-radius: 100px;
    background: var(--primary_light);
}

.booking_modal .title
{
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;

    margin-bottom: 14px;
}

.booking_modal .desc
{
    font-size: 15px;
    line-height: 1.6;

    margin-bottom: 26px;

    color: var(--text_soft);
}

.booking_modal .perks
{
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-bottom: 32px;
}

.booking_modal .perks .item
{
    font-size: 14.5px;

    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.booking_modal .perks .icon
{
    font-size: 18px;
    flex-shrink: 0;

    margin-top: 1px;

    color: var(--primary);
}

.booking_modal .info > .phone
{
    font-size: 20px;
    font-weight: 800;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--primary);
}

.booking_modal .info > .phone .icon
{
    font-size: 22px;
}

.booking_modal .form
{
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
}

.booking_modal .field
{
    position: relative;
}

.booking_modal .input
{
    font-family: var(--font_family);
    font-size: 15px;

    width: 100%;
    padding: 16px 20px;

    transition: .2s;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg_soft);
}

.booking_modal .input:focus
{
    border-color: var(--primary);
    background: #fff;
}

.booking_modal textarea.input
{
    resize: none;
}

.booking_modal .select_field
{
    position: relative;
}

.booking_modal select.input
{
    appearance: none;
    -webkit-appearance: none;

    color: var(--text_color);

    cursor: pointer;
}

.booking_modal select.input:invalid
{
    color: var(--text_soft);
}

.booking_modal .select_field .arrow
{
    position: absolute;
    top: 50%;
    right: 20px;

    width: 16px;
    height: 16px;
    margin-top: -8px;

    pointer-events: none;
    color: var(--text_soft);
}

.booking_modal .field.agree
{
    display: flex;
}

.booking_modal .field.agree input
{
    display: none;
}

.booking_modal .field.agree label
{
    font-size: 13px;
    line-height: 1.5;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    cursor: pointer;
    color: var(--text_soft);
}

.booking_modal .field.agree .check
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
    margin-top: 1px;

    color: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg_soft);
}

.booking_modal .field.agree input:checked + label .check
{
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.booking_modal .field.agree .check .icon
{
    font-size: 13px;
}

.booking_modal .field.agree a
{
    color: var(--primary);
}

.booking_modal .submit_btn
{
    width: 100%;
    margin-top: 6px;
}


/* Модалка успіху */
section.modal.success_modal
{
    max-width: 460px;
    padding: 64px 48px;

    text-align: center;
}

.success_modal .icon
{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    margin: 0 auto 24px;

    color: #fff;
    border-radius: 50%;
    background: var(--primary);
}

.success_modal .icon svg
{
    width: 32px;
    height: 32px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success_modal .title
{
    font-size: 22px;
    font-weight: 800;

    margin-bottom: 12px;
}

.success_modal .desc
{
    font-size: 15px;
    line-height: 1.6;

    color: var(--text_soft);
}



/*==================
    Плаваюча кнопка
==================*/
.fab
{
    position: fixed;
    z-index: 150;
    right: 32px;
    bottom: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    color: #fff;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(226,29,36,.4);
    animation: fab_pulse 2.4s infinite;
}

.fab .icon
{
    font-size: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@keyframes fab_pulse
{
    0%
    {
        box-shadow: 0 12px 30px rgba(226,29,36,.4), 0 0 0 0 rgba(226,29,36,.4);
    }

    70%
    {
        box-shadow: 0 12px 30px rgba(226,29,36,.4), 0 0 0 14px rgba(226,29,36,0);
    }

    100%
    {
        box-shadow: 0 12px 30px rgba(226,29,36,.4), 0 0 0 0 rgba(226,29,36,0);
    }
}


/* Приховуємо власну кнопку/бабл віджета Binotel — використовуємо свою .fab, віджет відкривається по кліку на неї.
   Ховаємо лише через opacity/pointer-events (не display:none і не зсув за екран) —
   скрипту віджета потрібен реально видимий елемент у своїх штатних розмірах/позиції, інакше клік ігнорується. */
#bingc-phone-button,
#bingc-passive
{
    opacity: 0 !important;
    pointer-events: none !important;
}



/*==================
    Шапка внутрішньої сторінки
==================*/
.page_head
{
    padding: calc(var(--header_h) + 64px) 0 64px;

    background: linear-gradient(120deg, var(--primary_dark) 0%, var(--primary) 140%);
}

.page_head .breadcrumbs
{
    font-size: 14px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 22px;

    color: rgba(255,255,255,.55);
}

.page_head .breadcrumbs a:hover
{
    color: #fff;
}

.page_head .title
{
    font-size: var(--font_size_h2);
    font-weight: 800;
    line-height: 1.2;

    max-width: 800px;
    margin-bottom: 18px;

    color: #fff;
}

.page_head .desc
{
    font-size: 17px;
    line-height: 1.6;

    max-width: 680px;

    color: rgba(255,255,255,.75);
}



/*==================
    Сторінка лікарів
==================*/
.doctors_grid_full
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    margin-bottom: 64px;
}

.doctors_grid_full .doctor_card
{
    padding: 32px 22px;
}

.doctors_cta
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 40px 48px;

    border-radius: 24px;
    background: var(--bg_soft);
}

.doctors_cta .title
{
    font-size: 22px;
    font-weight: 800;

    margin-bottom: 8px;
}

.doctors_cta .desc
{
    font-size: 15px;

    max-width: 480px;

    color: var(--text_soft);
}

.doctors_cta .btn
{
    flex-shrink: 0;
}

.doctors_cta .btns
{
    display: flex;
    flex-shrink: 0;
    gap: 16px;
}



/*==================
    Сторінка філій
==================*/
.filii_perks
{
    padding: 56px 0;

    border-bottom: 1px solid var(--line);
}

.filii_perks_grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.filii_perk
{
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.filii_perk .icon
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    color: var(--primary);
    border-radius: 14px;
    background: var(--primary_light);
}

.filii_perk .name
{
    font-size: 17px;
    font-weight: 700;

    margin-bottom: 6px;
}

.filii_perk .desc
{
    font-size: 14px;
    line-height: 1.5;

    color: var(--text_soft);
}


.clinics.block
{
    padding-top: 90px;
}



/*==================
    Сторінка "Про нас"
==================*/
.about_intro
{
    background: var(--bg_soft);
}

.about_intro .cont.row
{
    align-items: flex-start;
    gap: 80px;
}

.about_intro .text
{
    flex: 1 1 55%;
}

.about_intro .text p
{
    font-size: 16px;
    line-height: 1.75;

    margin-bottom: 18px;

    color: var(--text_soft);
}

.about_intro .text p:first-child
{
    font-size: 19px;
    font-weight: 600;

    color: var(--text_color);
}

.about_intro .text p:last-child
{
    margin-bottom: 0;
}

.about_intro .stats_grid
{
    display: grid;
    flex: 1 1 40%;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.advantages_list
{
    display: flex;
    flex-direction: column;
}

.advantage_row
{
    display: flex;
    align-items: flex-start;
    gap: 32px;

    padding: 36px 0;

    border-bottom: 1px solid var(--line);
}

.advantage_row:first-child
{
    padding-top: 0;
}

.advantage_row:last-child
{
    padding-bottom: 0;
    border-bottom: none;
}

.advantage_row .num
{
    font-size: 42px;
    font-weight: 800;
    line-height: 1;

    flex-shrink: 0;

    width: 64px;

    color: var(--primary_light);
}

.advantage_row .icon
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    color: var(--primary);
    border-radius: 16px;
    background: var(--primary_light);
}

.advantage_row .icon svg
{
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advantage_row .text
{
    padding-top: 6px;
}

.advantage_row .name
{
    font-size: 21px;
    font-weight: 800;

    margin-bottom: 10px;
}

.advantage_row .desc
{
    font-size: 15px;
    line-height: 1.7;

    max-width: 760px;

    color: var(--text_soft);
}



/*==================
    Сторінка послуг
==================*/
.services_grid_full
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    margin-bottom: 64px;
}



/*==================
    Питання стоматологу
==================*/
.faq.block
{
    background: var(--bg_soft);
}

.faq_list
{
    display: flex;
    flex-direction: column;

    max-width: 840px;
    margin: 0 auto;
}

.faq_item,
.price_item
{
    padding: 0 28px;

    transition: .25s;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.faq_item + .faq_item,
.price_item + .price_item
{
    margin-top: 16px;
}

.faq_item[open],
.price_item[open]
{
    border-color: var(--primary);

    box-shadow: 0 16px 40px rgba(5,120,179,.1);
}

.faq_item summary,
.price_item summary
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 24px 0;

    list-style: none;
    cursor: pointer;

    font-size: 18px;
    font-weight: 700;
}

.faq_item summary::-webkit-details-marker,
.price_item summary::-webkit-details-marker
{
    display: none;
}

.faq_item summary .icon,
.price_item summary .icon
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    transition: .25s;
    color: var(--primary);
    border-radius: 50%;
    background: var(--primary_light);
}

.faq_item summary .icon svg,
.price_item summary .icon svg
{
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.faq_item[open] summary .icon,
.price_item[open] summary .icon
{
    color: #fff;
    background: var(--primary);
    transform: rotate(45deg);
}

.faq_item .a,
.price_item .a
{
    max-width: 720px;
    margin-top: -6px;
    padding-bottom: 26px;

    font-size: 15.5px;
    line-height: 1.7;

    color: var(--text_soft);
}



/*==================
    Прайс
==================*/
.price.block
{
    background: var(--bg_soft);
}

.price_note
{
    max-width: 840px;
    margin: 0 auto 32px;
    padding: 16px 20px;

    text-align: center;

    font-size: 14.5px;
    line-height: 1.6;

    color: var(--text_soft);
    border-radius: 14px;
    background: var(--primary_light);
}

.price_item .a
{
    max-width: 100%;
}

.price_list
{
    display: flex;
    flex-direction: column;
}

.price_row
{
    display: flex;
    align-items: flex-end;
    gap: 10px;

    padding: 13px 0;

    border-bottom: 1px solid var(--line);
}

.price_row:last-child
{
    padding-bottom: 0;
    border-bottom: none;
}

.price_row .name
{
    font-size: 15.5px;

    color: var(--text_color);
}

.price_row .dots
{
    flex: 1 1 auto;

    min-width: 16px;
    margin-bottom: 6px;

    border-bottom: 2px dotted var(--line);
}

.price_row .price
{
    flex-shrink: 0;

    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;

    color: var(--primary);
}

.price_group
{
    margin-top: 20px;
    padding-bottom: 6px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;

    color: var(--primary);
}

.price_list > .price_group:first-child
{
    margin-top: 0;
}

.price_hint
{
    margin: -6px 0 16px;

    font-size: 13.5px;

    color: var(--text_soft);
}



/*==================
    Акції
==================*/
.aktsii_note
{
    max-width: 840px;
    margin: 0 auto 40px;

    text-align: center;

    font-size: 15px;
    line-height: 1.6;

    color: var(--text_soft);
}

.aktsii_grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    margin-bottom: 24px;
}

.aktsii_card
{
    display: flex;
    flex-direction: column;
    overflow: hidden;

    transition: .25s;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.aktsii_card:hover
{
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 24px 50px rgba(5,120,179,.18);
}

.aktsii_card .img
{
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.aktsii_card .img img
{
    display: block;

    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aktsii_card .info
{
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;

    padding: 20px;
}

.aktsii_card .location
{
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 8px;

    font-size: 14px;
    line-height: 1.5;

    color: var(--text_soft);
}

.aktsii_card .location:hover
{
    color: var(--primary);
}

.aktsii_card .location svg
{
    flex-shrink: 0;

    width: 17px;
    height: 17px;
    margin-top: 1px;

    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aktsii_card .btn
{
    width: 100%;

    text-align: center;
}



/*==================
    Сторінка послуги (єдиний текстовий блок)
==================*/
.service_layout
{
    display: flex;
    align-items: flex-start;
    gap: 64px;
}

.service_main
{
    flex: 1 1 auto;

    min-width: 0;
}

.service_sidebar
{
    display: flex;
    flex: 0 0 320px;
    flex-direction: column;
    gap: 28px;

    width: 320px;

    position: sticky;
    top: calc(var(--header_h) + 24px);
}

.sidebar_widget
{
    padding: 26px;

    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.sidebar_widget_title
{
    margin-bottom: 18px;
    padding-bottom: 16px;

    font-size: 18px;
    font-weight: 800;

    border-bottom: 1px solid var(--line);
}

.sidebar_menu
{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar_menu a
{
    margin: 0 -12px;
    padding: 11px 12px;

    transition: .2s;
    color: var(--text_soft);
    border-radius: 10px;

    font-size: 14.5px;
    line-height: 1.4;
}

.sidebar_menu a:hover
{
    color: var(--text_color);
    background: var(--bg_soft);
}

.sidebar_menu a.active
{
    color: var(--primary);
    background: var(--primary_light);
    font-weight: 700;
}

.sidebar_articles
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar_article .thumb
{
    aspect-ratio: 16 / 10;
    overflow: hidden;

    margin-bottom: 12px;

    border-radius: 14px;
}

.sidebar_article .thumb img
{
    display: block;

    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: .3s;
}

.sidebar_article:hover .thumb img
{
    transform: scale(1.05);
}

.sidebar_article .name
{
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;

    transition: .2s;
    color: var(--text_color);
}

.sidebar_article:hover .name
{
    color: var(--primary);
}

.article_content > *:first-child
{
    margin-top: 0;
}

.article_content > *:last-child
{
    margin-bottom: 0;
}

.article_content p
{
    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 22px;

    color: var(--text_soft);
}

.article_content h2
{
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;

    margin: 52px 0 20px;

    color: var(--text_color);
}

.article_content h3
{
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;

    margin: 40px 0 16px;

    color: var(--text_color);
}

.article_content h4
{
    font-size: 18px;
    font-weight: 700;

    margin: 28px 0 10px;

    color: var(--text_color);
}

.article_content h5
{
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;

    margin: 24px 0 10px;

    color: var(--primary);
}

.article_content strong,
.article_content b
{
    font-weight: 800;

    color: var(--text_color);
}

.article_content a
{
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article_content img
{
    display: block;

    width: 100%;
    height: auto;
    margin: 36px 0;

    border-radius: var(--radius);
}

.article_content hr
{
    margin: 44px 0;

    border: none;
    border-top: 1px solid var(--line);
}

.article_content blockquote
{
    margin: 32px 0;
    padding: 24px 28px;

    font-size: 17px;
    font-style: italic;
    line-height: 1.7;

    color: var(--text_color);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--primary_light);
}

.article_content blockquote p
{
    margin-bottom: 0;

    color: inherit;
}

.article_content ul,
.article_content ol
{
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0 0 24px;
    padding: 0;

    list-style: none;
}

.article_content ul li,
.article_content ol li
{
    position: relative;

    padding-left: 34px;

    font-size: 16px;
    line-height: 1.65;

    color: var(--text_soft);
}

.article_content ul li::before
{
    content: '';
    position: absolute;
    top: 3px;
    left: 0;

    width: 21px;
    height: 21px;

    border-radius: 50%;
    background-color: var(--primary_light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230578B3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
}

.article_content ol
{
    counter-reset: content_ol;
}

.article_content ol li
{
    counter-increment: content_ol;
}

.article_content ol li::before
{
    content: counter(content_ol);

    position: absolute;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    font-size: 12px;
    font-weight: 800;

    color: var(--primary);
    border-radius: 50%;
    background: var(--primary_light);
}



/*==================
    Сторінка філії
==================*/
.filii_map
{
    margin-top: 56px;
}

.filii_gallery
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-top: 56px;
}

.filii_gallery img
{
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: var(--radius);
}

.filii_doctors
{
    margin-top: 56px;
}

.filii_doctors .block_head
{
    margin-bottom: 32px;
}



/*==================
    Блог
==================*/
.articles_grid_full
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    margin-bottom: 24px;
}



/*==================
    Сторінка лікаря
==================*/
.doctor_profile
{
    display: flex;
    align-items: flex-start;
    gap: 56px;

    margin-bottom: 64px;
}

.doctor_profile_photo
{
    flex: 0 0 360px;

    width: 360px;
    overflow: hidden;

    border-radius: var(--radius);
}

.doctor_profile_photo img
{
    display: block;

    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.doctor_profile_info
{
    flex: 1 1 auto;

    min-width: 0;
}

.doctor_profile_info .position
{
    font-size: 19px;
    font-weight: 700;

    margin-bottom: 22px;

    color: var(--primary);
}

.doctor_profile_locations
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 28px;
}

.doctor_profile_locations a
{
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 16px;

    transition: .2s;
    font-size: 13.5px;

    color: var(--text_soft);
    border-radius: 30px;
    background: var(--bg_soft);
}

.doctor_profile_locations a:hover
{
    color: var(--primary);
    background: var(--primary_light);
}

.doctor_profile_locations a svg
{
    flex-shrink: 0;

    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.doctor_profile_info .article_content
{
    margin-bottom: 32px;
}

.doctor_profile_info .btns
{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}



/* форма бледнеет и не реагирует на клики */
.booking_modal .form.is_loading {
	opacity: .6;
	pointer-events: none;
	transition: opacity .2s;
}

/* кнопка: текст прячем, вместо него крутится спиннер */
.booking_modal .submit_btn {
	position: relative;
}

.booking_modal .form.is_loading .submit_btn {
	color: transparent;
}

.booking_modal .form.is_loading .submit_btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: btn_spin .7s linear infinite;
}

@keyframes btn_spin {
	to { transform: rotate(360deg); }
}