.regional-page { color: #21384A; }
.regional-page [id^="clinic-"] { scroll-margin-top: 24px; }
.regional-page .hub-section-head { max-width: 940px; margin: 0 auto 36px; text-align: center; }
.regional-page .hub-section-head .section__title { margin: 0; }
.hub-section-description { margin: 20px auto 0; max-width: 780px; color: #637383; font-size: 18px; line-height: 1.6; }
.regional-page #clinic-contacts { padding-bottom: 80px; }
.regional-page .contacts-map__box { height: 720px; border-radius: 0 0 24px 24px; }
.hub-legal { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; }
.hub-legal__card { position: relative; display: flex; align-items: center; justify-content: center; padding: 16px 108px; border: 1px solid #DBCEFF; border-radius: 0 0 24px 24px; background: #FFF; text-align: center; }
.hub-legal__icon { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); flex: 0 0 60px; width: 60px; height: 60px; display: grid; place-items: center; color: #6B4ACB; background: #F6F2FF; border-radius: 50%; }
.hub-legal__content { min-width: 0; }
.hub-legal__caption { margin-bottom: 6px; color: #637383; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hub-legal__name { display: block; font-size: 20px; line-height: 1.4; }
.hub-legal__details { margin: 6px 0 0; color: #637383; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.hub-services { padding: 80px 0; background: #f7f7f7; }
.hub-tabs { display: flex; gap: 12px; margin: 0 0 24px; }
.hub-tabs[hidden], .regional-page [role="tabpanel"][hidden] { display: none; }
.hub-tab { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; min-height: 76px; border: 1px solid #DBCEFF; border-radius: 10px; background: #FFF; color: #21384A; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hub-tab:hover { border-color: #6B4ACB; color: #6B4ACB; }
.hub-tab[aria-selected="true"] { border-color: #6B4ACB; background: #6B4ACB; color: #FFF; }
.hub-tab__mark { position: relative; flex: 0 0 16px; height: 16px; }
.hub-tab__mark::before, .hub-tab__mark::after { content: ""; position: absolute; background: currentColor; border-radius: 1px; }
.hub-tab__mark::before { top: 7px; left: 1px; width: 14px; height: 2px; }
.hub-tab__mark::after { top: 1px; left: 7px; width: 2px; height: 14px; }
.hub-tab[aria-selected="true"] .hub-tab__mark::after { display: none; }
.hub-tab:focus-visible, .hub-services__link:focus-visible, .regional-page [role="tabpanel"]:focus-visible { outline: 2px solid #6B4ACB; outline-offset: 4px; }
.hub-services__panel { margin-top: 24px; padding: 12px 32px; border: 1px solid #DBCEFF; border-radius: 10px; background: #FFF; }
.hub-services__direction { margin: 16px 0; font-size: 22px; }
.hub-tabs-ready:not(.hub-tabs-single) .hub-services__direction { display: none; }
.hub-services__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.hub-services__list li { min-width: 0; border-bottom: 1px solid #EEE8FA; }
.hub-services__list li:only-child { grid-column: 1 / -1; }
.hub-services__list li:nth-child(odd):nth-last-child(-n+2), .hub-services__list li:last-child { border-bottom: 0; }
.hub-services__link { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 20px 0; color: #21384A; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; transition: color .2s; }
.hub-services__link:hover { color: #6B4ACB; }
.hub-services__arrow { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F6F2FF; color: #6B4ACB; font-size: 22px; transition: background .2s, color .2s; }
.hub-services__link:hover .hub-services__arrow { background: #6B4ACB; color: #FFF; }
.hub-calculators { padding: 80px 0; background: #F6F2FF; }
.hub-tabs--calculators { max-width: 700px; margin: 0 auto 32px; }
.regional-page .hub-calculators .pcalc { padding: 0; background: transparent; }
.regional-page .hub-calculators .pcalc .section__title { margin: 0; font-size: 28px; }
.regional-page .hub-calculators .pcalc .section__description { width: auto; max-width: 850px; color: #637383; font-size: 16px; }
.regional-page .hub-calculators .pcalc__card { margin-top: 32px; }
.regional-page .hub-calculators.hub-tabs-ready .pcalc__inner > .section__label,
.regional-page .hub-calculators.hub-tabs-ready .pcalc__inner > .section__title,
.regional-page .hub-calculators.hub-tabs-ready .pcalc__inner > .section__description { display: none; }
.regional-page .hub-calculators.hub-tabs-ready .pcalc__card { margin-top: 0; }
.hub-calculators__panel + .hub-calculators__panel { margin-top: 48px; }
.hub-tabs-ready .hub-calculators__panel { margin-top: 0; }
.regional-page .doctors { margin: 0; padding: 80px 0; background: #FFF; }
.regional-page .doctors .section__title, .regional-page .reviews .section__title { margin-top: 0; }
.regional-page .doctors .section__description { max-width: 850px; width: 100%; color: #637383; }
.regional-page .clinic-gallery { padding: 80px 0; background: #f7f7f7; }
.regional-page .reviews { padding: 80px 0; }
@media (max-width: 1399px) {
    .hub-tab { padding: 20px; font-size: 15px; }
}
@media (max-width: 1199px) {
    .hub-tabs { flex-wrap: wrap; }
    .hub-tab { flex-basis: calc(50% - 6px); }
    .hub-tabs--calculators { flex-wrap: nowrap; }
}
@media (max-width: 767px) {
    .hub-services, .hub-calculators, .regional-page .doctors, .regional-page .clinic-gallery, .regional-page .reviews { padding: 48px 0; }
    .regional-page .hub-section-head { margin-bottom: 24px; }
    .hub-section-description { margin-top: 16px; font-size: 15px; }
    .regional-page .contacts-map__box { height: 460px; }
    .hub-legal__card { flex-direction: column; gap: 10px; padding: 16px; }
    .hub-legal__icon { position: static; transform: none; flex-basis: 32px; width: 32px; height: 32px; }
    .hub-legal__icon svg { width: 24px; height: 24px; }
    .hub-legal__name { font-size: 18px; }
    .hub-legal__details { font-size: 13px; }
    .hub-tabs { gap: 8px; margin-bottom: 16px; }
    .hub-tab { flex-basis: calc(50% - 4px); min-height: 72px; padding: 16px; font-size: 14px; gap: 10px; }
    .hub-services__panel { margin-top: 16px; padding: 8px 20px; }
    .hub-services__list { grid-template-columns: minmax(0, 1fr); }
    .hub-services__list li:nth-child(odd):nth-last-child(2) { border-bottom: 1px solid #EEE8FA; }
    .hub-services__link { min-height: 68px; padding: 16px 0; font-size: 15px; gap: 16px; }
    .hub-services__arrow { width: 30px; height: 30px; font-size: 20px; }
    .regional-page .hub-calculators .pcalc .section__title { font-size: 22px; }
    .regional-page .hub-calculators .pcalc .section__description { font-size: 14px; margin-top: 16px; }
    .regional-page .hub-calculators .pcalc__card { margin-top: 24px; }
    .regional-page .doctors .section__description { font-size: 15px; }
}
@media (max-width: 399px) {
    .hub-tabs:not(.hub-tabs--calculators) .hub-tab { flex-basis: 100%; min-height: 56px; }
    .hub-tabs--calculators .hub-tab { padding: 14px 12px; font-size: 13px; }
    .hub-legal__card { padding: 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-tab, .hub-services__link, .hub-services__arrow { transition: none; }
}
