.home-page {
    padding-bottom: clamp(56px, 7vw, 96px);
}

body.asklepiy-site .home-page .home-hero__media img,
body.asklepiy-site .home-page .home-banner__media img,
body.asklepiy-site .home-page .home-service-card__media img,
body.asklepiy-site .home-page .home-about__media img,
body.asklepiy-site .home-page .home-specialists__track .ui-specialist-card__media img,
body.asklepiy-site .home-page .home-publications .ui-news-card__media img {
    width: 100%;
    height: 100%;
}

.home-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 32px;
    background: #f4eeeb;
    box-shadow: 0 20px 55px rgba(31, 35, 45, .08);
}

.home-hero__media,
.home-hero__media img,
.home-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__media img {
    object-fit: cover;
    object-position: center;
}

.home-hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 36%, rgba(255, 255, 255, .54) 62%, rgba(255, 255, 255, .10) 100%);
}

.home-hero:not(.home-hero--with-image) .home-hero__overlay {
    background:
        radial-gradient(circle at 84% 22%, rgba(211, 14, 23, .13), transparent 29%),
        linear-gradient(135deg, #fff 0%, #f7efed 100%);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 54px 48px;
}

.home-hero--with-stats .home-hero__content {
    padding-bottom: 190px;
}

.home-hero__eyebrow,
.home-about__eyebrow {
    margin-bottom: 24px;
    color: var(--ask-color-accent);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}

.home-hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--ask-color-text);
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.06;
}

.home-hero__content > p {
    max-width: 520px;
    margin: 18px 0 0;
    color: #2e3138;
    font-size: 16px;
    line-height: 1.15;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.home-hero__actions .button {
    min-width: 230px;
    min-height: 58px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
}

.home-hero__actions .button--outline {
    border-color: var(--accent-red-soft);
    background: rgba(255, 255, 255, .281);
    box-shadow: 0 18px 34px rgba(18, 26, 42, .2);
    color: var(--ask-color-accent) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.home-hero__actions .button--outline:hover,
.home-hero__actions .button--outline:focus-visible {
    border-color: var(--ask-color-accent);
    background: rgba(255, 255, 255, .5);
}

.home-hero__stats {
    position: absolute;
    right: auto;
    bottom: 34px;
    left: 48px;
    z-index: 3;
    display: grid;
    width: min(calc(100% - 96px), 970px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 20px 45px rgba(16, 24, 40, .12);
    backdrop-filter: blur(8px);
}

.home-hero__stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.home-hero__stat img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}

.home-hero__stat-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.home-hero__stat-value {
    color: var(--ask-color-accent);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.05;
    white-space: nowrap;
}

.home-hero__stat-label {
    color: rgba(41, 42, 47, .75);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.home-hero__stat-note {
    margin-top: 2px;
    color: var(--ask-color-muted);
    font-size: 11px;
}

.home-banners {
    position: relative;
}

.home-banners__controls {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 6;
}

.home-banners__controls button {
    color: var(--ask-color-accent);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.home-banners__controls button:hover,
.home-banners__controls button:focus-visible {
    background: var(--ask-color-accent);
    color: #fff;
    transform: translateY(-1px);
}

.home-banners__track {
    display: flex;
    overflow-x: auto;
    border-radius: 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-banners__track::-webkit-scrollbar {
    display: none;
}

.home-banners__pagination {
    display: none;
}

.home-banner {
    position: relative;
    min-width: 100%;
    scroll-snap-align: start;
}

.home-banner__surface {
    position: relative;
    display: block;
    min-height: 440px;
    overflow: hidden;
    border-radius: 30px;
    background: #f5efed;
    color: var(--ask-color-text) !important;
    text-decoration: none !important;
}

.home-banner__media,
.home-banner__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-banner__media img {
    object-fit: cover;
}

.home-banner--with-content .home-banner__surface::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 34%, rgba(255, 255, 255, .52) 63%, rgba(255, 255, 255, .05) 100%);
}

.home-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 440px;
    width: min(960px, 78%);
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: 110px 64px 42px;
}

.home-banner__text {
    font-size: 18px;
}

.home-banner__text h2,
.home-banner__text h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.08;
}

.home-banner__content .button {
    min-width: 230px;
    min-height: 57px;
    margin-top: 24px;
    padding: 13px 28px;
    font-size: 16px;
    pointer-events: none;
}

.home-banner__link {
    position: absolute;
    z-index: 4;
    inset: 0;
    border-radius: 30px;
}

.home-banner__link:focus-visible {
    outline: 3px solid rgba(211, 14, 23, .42);
    outline-offset: -4px;
}

.home-banner:hover .home-banner__content .button,
.home-banner:focus-within .home-banner__content .button {
    transform: translateY(-1px);
}

.home-services__grid {
    display: grid;
    gap: 16px;
}

.home-services--compact .home-services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services--featured .home-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services--mosaic .home-services__grid {
    grid-auto-flow: dense;
    grid-auto-rows: 190px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services--mosaic2 .home-services__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(3, 126px);
    gap: 15px;
}

.home-service-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ask-color-line);
    border-radius: 24px;
    background: #f8f8f8;
    color: var(--ask-color-text) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-service-card:hover,
.home-service-card:focus-visible {
    border-color: rgba(211, 14, 23, .32);
    box-shadow: var(--ask-shadow);
    transform: translateY(-2px);
}

.home-service-card__media {
    position: absolute;
    inset: 0;
}

.home-service-card--cover .home-service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 21, 25, .03) 20%, rgba(20, 21, 25, .72) 100%);
}

.home-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-service-card--cover:hover .home-service-card__media img {
    transform: scale(1.035);
}

.home-service-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.home-service-card__title {
    max-width: 92%;
    font-size: 20px;
    font-weight: 780;
    line-height: 1.2;
}

.home-service-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 9px;
    color: var(--ask-color-muted);
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-service-card__arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--ask-color-soft);
    color: var(--ask-color-accent);
}

.home-service-card:hover .home-service-card__arrow .ui-arrow,
.home-service-card:focus-visible .home-service-card__arrow .ui-arrow {
    transform: translateX(2px);
}

.home-service-card--cover .home-service-card__title,
.home-service-card--cover .home-service-card__text {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}

.home-service-card--cover .home-service-card__arrow {
    background: rgba(255, 255, 255, .94);
}

.home-service-card--icon .home-service-card__media {
    top: 22px;
    right: auto;
    bottom: auto;
    left: 22px;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    background: var(--ask-color-soft);
}

.home-service-card--icon .home-service-card__media img {
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
}

.home-service-card--icon .home-service-card__body {
    padding-top: 108px;
}

.home-service-card--compact {
    min-height: 92px;
    border-radius: 18px;
    background: #fff;
}

.home-service-card--compact .home-service-card__body {
    justify-content: center;
    padding: 20px 56px 20px 20px;
}

.home-service-card--compact.home-service-card--icon .home-service-card__media {
    top: 50%;
    left: 18px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    transform: translateY(-50%);
}

.home-service-card--compact.home-service-card--icon .home-service-card__media img {
    padding: 9px;
}

.home-service-card--compact.home-service-card--icon .home-service-card__body {
    padding: 20px 56px 20px 78px;
}

.home-service-card--compact .home-service-card__title {
    font-size: 16px;
}

.home-service-card--compact .home-service-card__arrow {
    right: 16px;
    bottom: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(50%);
}

.home-service-card--featured {
    min-height: 360px;
}

.home-service-card--featured:not(.has-image) {
    background: linear-gradient(145deg, #f8eeee, #f5f5f5);
}

.home-services--mosaic .home-service-card {
    min-height: 190px;
}

.home-services--mosaic .home-service-card:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.home-services--mosaic .home-service-card:nth-child(6n + 4) {
    grid-column: span 2;
}

.home-services--mosaic2 .home-service-card {
    min-height: 126px;
    border: 0;
    border-radius: 15px;
    background: #f2f4f6;
}

.home-services--mosaic2 .home-service-card__body {
    justify-content: flex-end;
    padding: 10px;
}

.home-services--mosaic2 .home-service-card__title {
    max-width: 72%;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.12;
    text-shadow: none;
}

.home-services--mosaic2 .home-service-card--cover .home-service-card__media::after {
    background: linear-gradient(180deg, rgba(15, 18, 24, .02) 0%, rgba(15, 18, 24, .12) 50%, rgba(15, 18, 24, .62) 100%);
}

.home-services--mosaic2 .home-service-card__arrow {
    right: 18px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    background: #c91520;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 20px rgba(87, 7, 16, .28);
    color: #fff;
    opacity: 0;
    transition: opacity .25s ease;
}

.home-services--mosaic2 .home-service-card:hover .home-service-card__arrow,
.home-services--mosaic2 .home-service-card:focus-visible .home-service-card__arrow,
.home-services--mosaic2 .home-service-card--all .home-service-card__arrow {
    opacity: 1;
}

/* CMS relation order fills the mosaic from top to bottom, column by column. */
.home-services--mosaic2 .home-service-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.home-services--mosaic2 .home-service-card:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
}

.home-services--mosaic2 .home-service-card:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}

.home-services--mosaic2 .home-service-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / span 2;
}

.home-services--mosaic2 .home-service-card:nth-child(5) {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.home-services--mosaic2 .home-service-card:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
}

.home-services--mosaic2 .home-service-card:nth-child(7) {
    grid-column: 4;
    grid-row: 1;
}

.home-services--mosaic2 .home-service-card:nth-child(8) {
    grid-column: 4;
    grid-row: 2 / span 2;
}

.home-services--mosaic2 .home-service-card:nth-child(9) {
    grid-column: 5;
    grid-row: 1 / span 2;
}

.home-services--mosaic2 .home-service-card:nth-child(10) {
    grid-column: 5;
    grid-row: 3;
}

.home-services--mosaic2 .home-service-card--all {
    grid-column: 6;
    grid-row: 2 / 4;
    background: var(--ask-color-accent);
}

.home-services--mosaic2 .home-service-card--all .home-service-card__body {
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.home-services--mosaic2 .home-service-card--all .home-service-card__title {
    max-width: none;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.home-services--mosaic2 .home-service-card--all .home-service-card__arrow {
    border-color: transparent;
    background: #fff;
    box-shadow: none;
    color: var(--ask-color-accent);
}

.home-about {
    position: relative;
    display: block;
    min-height: 390px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--ask-color-panel);
}

.home-about--with-image::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 34%, rgba(255, 255, 255, .46) 60%, rgba(255, 255, 255, .06) 100%);
    pointer-events: none;
}

.home-about__media {
    position: absolute;
    z-index: 0;
    inset: 0;
}

.home-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-about__content {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 620px;
    min-height: 390px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px 48px 0;
}

.home-about h2,
.home-audiences h2 {
    margin: 0;
    color: var(--ask-color-text);
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.05;
}

.home-about__text {
    margin-top: 22px;
    color: var(--ask-color-muted);
    font-size: 16px;
    line-height: 1.25;
}

.home-about__content .button {
    min-width: 216px;
    min-height: 52px;
    margin-top: 36px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
}

.home-about__stats {
    position: absolute;
    top: 50%;
    right: 28px;
    z-index: 2;
    display: grid;
    width: min(44%, 575px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 28px 34px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 20px 45px rgba(16, 24, 40, .12);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
}

.home-about__stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.home-about__stat img {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
}

.home-about__stat-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.home-about__stat-text strong {
    color: var(--ask-color-accent);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.05;
    white-space: nowrap;
}

.home-about__stat-text span {
    color: rgba(41, 42, 47, .75);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.home-specialists__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 3px 0 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-specialists__track::-webkit-scrollbar {
    display: none;
}

.home-specialists__track .ui-specialist-card {
    width: 286px;
    min-width: 286px;
    min-height: 440px;
    scroll-snap-align: start;
}

.home-specialists__pagination {
    margin-top: 14px;
}

@media (min-width: 1200px) {
    .home-specialists__track {
        gap: 14px;
    }

    .home-specialists__track .ui-specialist-card {
        width: calc((100% - 56px) / 5);
        min-width: calc((100% - 56px) / 5);
        min-height: 0;
    }

    .home-specialists__track .ui-specialist-card__media {
        height: auto;
        aspect-ratio: 143 / 113;
    }

    .home-specialists__track .ui-specialist-card__body {
        padding: 12px;
    }

    .home-specialists__track .ui-specialist-card__name {
        font-size: 16px;
    }

    .home-specialists__track .ui-specialist-card__position {
        font-size: 12px;
    }

    .home-specialists__track .ui-specialist-card__actions {
        gap: 6px;
        padding-top: 12px;
    }

    .home-specialists__track .ui-specialist-card__actions .button {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

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

.home-audiences__group {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-audiences h2 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.home-audiences__card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 26px 28px 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(20, 28, 38, .1);
}

.home-audiences .ui-accordion {
    border: 0;
    border-radius: 0;
}

.home-audiences .ui-accordion__item + .ui-accordion__item {
    border-top: 0;
}

.home-audiences .ui-accordion__item {
    border-bottom: 1px solid rgba(41, 42, 47, .14);
}

.home-audiences .ui-accordion__trigger {
    min-height: 0;
    padding: 22px 0;
    gap: 18px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.home-audiences .ui-accordion__panel {
    color: rgba(41, 42, 47, .78);
    font-size: 14px;
    line-height: 1.45;
}

.home-audiences .ui-accordion__panel-inner {
    padding: 0 48px 20px 0;
}

.home-audiences__actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 24px;
}

.home-audiences__actions .button {
    min-width: 192px;
    min-height: 52px;
    padding: 12px 28px;
    font-size: 16px;
}

.home-publications__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-page .ui-section-heading__title,
.home-publications .ui-tabs__heading {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.05;
}

.home-publications .ui-tabs__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-bottom: 24px;
}

.home-publications .ui-tabs__list {
    width: auto;
    margin: 0;
}

.home-publications .ui-tabs__panel {
    padding-top: 0;
}

.home-publications__all {
    display: flex;
    width: fit-content;
    min-width: 168px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px auto 0;
    padding: 9px 22px;
    border: 1px solid rgba(211, 14, 23, .42);
    border-radius: 999px;
    background: #fff;
    color: var(--ask-color-accent) !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.home-publications__all:hover,
.home-publications__all:focus-visible {
    border-color: var(--ask-color-accent);
    background: var(--ask-color-soft);
    transform: translateY(-1px);
}

.home-publications__pagination {
    display: none;
}

.clinic-entrances__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 26px;
}

.clinic-entrances__head h2 {
    margin: 0;
    color: var(--ask-color-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.08;
}

.clinic-entrances__card {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.35fr);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(22, 27, 45, .1);
}

.clinic-entrances__list {
    display: flex;
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 38px;
    background: #fff;
}

.clinic-entrances__item {
    display: grid;
    width: 100%;
    min-height: 70px;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 8px 20px;
    border: 1px solid var(--ask-color-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(22, 27, 45, .08);
    color: var(--ask-color-text);
    cursor: pointer;
    text-align: left;
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.clinic-entrances__item:hover,
.clinic-entrances__item:focus-visible {
    border-color: var(--ask-color-accent);
    color: var(--ask-color-accent);
}

.clinic-entrances__item:focus-visible,
.clinic-entrances__marker:focus-visible {
    outline: 3px solid rgba(211, 14, 23, .28);
    outline-offset: 3px;
}

.clinic-entrances__item.is-active {
    border-color: var(--ask-color-accent);
    background: var(--ask-color-accent);
    box-shadow: 0 12px 26px var(--accent-red-shadow);
    color: #fff;
}

.clinic-entrances__number {
    color: var(--ask-color-accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.clinic-entrances__item.is-active .clinic-entrances__number {
    color: #fff;
}

.clinic-entrances__item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.clinic-entrances__map {
    position: relative;
    min-height: 496px;
    overflow: hidden;
    background: #d8ddd3;
}

.clinic-entrances__map::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 26%;
    background: linear-gradient(
        90deg,
        #fff 0%,
        rgba(255, 255, 255, .98) 18%,
        rgba(255, 255, 255, .82) 43%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

body.asklepiy-site .home-page .clinic-entrances__map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.clinic-entrances__marker {
    position: absolute;
    z-index: 2;
    top: var(--entrance-y);
    left: var(--entrance-x);
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ask-color-accent);
    color: #fff;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.clinic-entrances__marker:hover,
.clinic-entrances__marker:focus-visible,
.clinic-entrances__marker.is-active {
    background: var(--ask-color-accent-dark);
    box-shadow: 0 0 0 7px rgba(211, 14, 23, .16);
}

.clinic-entrances__marker.is-active {
    transform: translate(-50%, -50%) scale(1.25);
}

.clinic-entrances__marker-label {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.clinic-entrances__marker-pulse {
    position: absolute;
    z-index: 1;
    inset: -7px;
    border: 2px solid var(--ask-color-accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.72);
}

.clinic-entrances__marker.is-active .clinic-entrances__marker-pulse {
    animation: clinic-entrances-pulse 1.8s ease-out infinite;
}

.clinic-entrances__marker.is-active .clinic-entrances__marker-pulse--delayed {
    animation-delay: .9s;
}

@keyframes clinic-entrances-pulse {
    0% {
        opacity: .8;
        transform: scale(.78);
    }

    100% {
        opacity: 0;
        transform: scale(1.92);
    }
}

.home-contacts__panel {
    display: grid;
    min-height: 410px;
    grid-template-columns: minmax(340px, 450px) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 4px 38px rgba(0, 0, 0, .14);
}

.home-contacts__details {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: clamp(30px, 4vw, 48px) 72px clamp(30px, 4vw, 48px) clamp(28px, 4vw, 48px);
    background: #fff;
}

.home-contacts__details::after {
    content: "";
    position: absolute;
    top: 0;
    right: -48px;
    bottom: 0;
    width: 52px;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .88) 38%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.home-contacts__heading,
.home-contacts__locations {
    position: relative;
    z-index: 1;
}

.home-contacts__select-label {
    display: block;
    margin-top: 22px;
    color: var(--ask-color-muted);
    font-size: 12px;
    font-weight: 700;
}

.home-contacts__select {
    width: min(100%, 320px);
    min-height: 50px;
    margin-top: 7px;
    padding: 0 46px 0 18px;
    border: 1px solid var(--ask-color-line);
    border-radius: 999px;
    background: var(--ask-color-panel);
    color: var(--ask-color-text);
    cursor: pointer;
    font: inherit;
}

.home-contacts__locations {
    margin-top: 26px;
}

.home-contacts__location {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
}

.home-contacts__location-icon {
    width: 32px;
    height: 32px;
    margin-top: 1px;
    object-fit: contain;
}

.home-contacts__location-content {
    min-width: 0;
}

.home-contacts__location h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.home-contacts__address {
    margin: 8px 0 0;
    color: var(--ask-color-muted);
}

.home-contacts__hours {
    margin-top: 18px;
    font-size: 14px;
}

.home-contacts__links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.home-contacts__links a {
    color: var(--ask-color-accent) !important;
    font-weight: 700;
    text-decoration: none;
}

.home-contacts__map {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-left: -36px;
    background: #eceff1;
}

.home-contacts__map iframe,
.home-contacts__map-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 410px;
    border: 0;
}

.home-contacts__map-placeholder {
    display: grid;
    place-items: center;
    color: var(--ask-color-muted);
}

@media (max-width: 1199px) {
    .home-services--compact .home-services__grid,
    .home-publications__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-services--mosaic .home-services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-services--mosaic .home-service-card:nth-child(6n + 4) {
        grid-column: auto;
    }

    .home-contacts__panel {
        grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    }

    .home-about__content {
        max-width: 56%;
        padding-right: 24px;
    }

    .home-about__stats {
        right: 24px;
        width: 40%;
        gap: 20px;
        padding: 24px;
    }

    .home-about__stat img {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .home-about__stat-text strong {
        font-size: 24px;
    }

    .clinic-entrances__card {
        grid-template-columns: minmax(330px, .9fr) minmax(440px, 1.1fr);
    }

    .clinic-entrances__list {
        padding: 28px;
    }

    .clinic-entrances__map {
        min-height: 500px;
    }
}

@media (max-width: 999px) {
    .home-services--mosaic2 .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(9, 110px);
        gap: 12px;
    }

    .home-services--mosaic2 .home-service-card {
        min-height: 110px;
        border-radius: 18px;
    }

    .home-services--mosaic2 .home-service-card__body {
        padding: 16px 14px;
    }

    .home-services--mosaic2 .home-service-card__title {
        max-width: 100%;
        font-size: 12px;
    }

    .home-services--mosaic2 .home-service-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .home-services--mosaic2 .home-service-card:nth-child(2) {
        grid-column: 1;
        grid-row: 3;
    }

    .home-services--mosaic2 .home-service-card:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .home-services--mosaic2 .home-service-card:nth-child(4) {
        grid-column: 2;
        grid-row: 2 / span 2;
    }

    .home-services--mosaic2 .home-service-card:nth-child(5) {
        grid-column: 1;
        grid-row: 4 / span 2;
    }

    .home-services--mosaic2 .home-service-card:nth-child(6) {
        grid-column: 1;
        grid-row: 6;
    }

    .home-services--mosaic2 .home-service-card:nth-child(7) {
        grid-column: 2;
        grid-row: 4;
    }

    .home-services--mosaic2 .home-service-card:nth-child(8) {
        grid-column: 2;
        grid-row: 5 / span 2;
    }

    .home-services--mosaic2 .home-service-card:nth-child(9) {
        grid-column: 1;
        grid-row: 7 / span 2;
    }

    .home-services--mosaic2 .home-service-card:nth-child(10) {
        grid-column: 1;
        grid-row: 9;
    }

    .home-services--mosaic2 .home-service-card--all {
        grid-column: 2;
        grid-row: 8 / span 2;
    }

    .home-services--mosaic2 .home-service-card--all .home-service-card__body {
        align-items: flex-start;
        justify-content: center;
        padding: 22px 16px;
    }

    .home-services--mosaic2 .home-service-card--all .home-service-card__title {
        font-size: 18px;
        text-align: left;
    }

    .home-services--mosaic2 .home-service-card--all .home-service-card__arrow {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 38px;
    }
}

@media (max-width: 991px) {
    .clinic-entrances__card {
        grid-template-columns: 1fr;
    }

    .clinic-entrances__map {
        min-height: 0;
        aspect-ratio: 16 / 10;
        order: 1;
    }

    .clinic-entrances__map::after {
        display: none;
    }

    .clinic-entrances__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        order: 2;
    }
}

@media (max-width: 899px) {
    .home-hero--with-stats .home-hero__content {
        padding-bottom: 54px;
    }

    .home-hero__stats {
        display: none;
    }

    .home-services--compact .home-services__grid,
    .home-services--featured .home-services__grid,
    .home-publications__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services--mosaic .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services--mosaic .home-service-card:nth-child(6n + 1) {
        grid-column: span 2;
    }

    .home-about {
        min-height: 0;
    }

    .home-about--with-image::before,
    .home-about__media,
    .home-about__stats {
        display: none;
    }

    .home-about__content {
        max-width: none;
        min-height: 0;
        padding: 38px 34px;
    }

    .home-publications .ui-tabs__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-audiences {
        grid-template-columns: 1fr;
    }

    .home-contacts__panel {
        grid-template-columns: 1fr;
    }

    .home-contacts__details {
        padding: 34px 34px 76px;
    }

    .home-contacts__details::after {
        top: auto;
        right: 0;
        bottom: -72px;
        left: 0;
        width: auto;
        height: 76px;
        background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .88) 40%, rgba(255, 255, 255, 0) 100%);
    }

    .home-contacts__map {
        height: 340px;
        margin-top: -36px;
        margin-left: 0;
    }

    .home-contacts__map iframe,
    .home-contacts__map-placeholder {
        min-height: 340px;
    }
}

@media (max-width: 599px) {
    .home-page {
        padding-bottom: 54px;
    }

    .home-services--compact .home-services__grid,
    .home-services--featured .home-services__grid,
    .home-services--mosaic .home-services__grid {
        grid-template-columns: 1fr;
    }

    .home-services--mosaic .home-services__grid {
        grid-auto-rows: auto;
    }

    .home-services--mosaic .home-service-card:nth-child(n) {
        min-height: 230px;
        grid-column: auto;
        grid-row: auto;
    }

    .home-service-card--featured {
        min-height: 310px;
    }

    .home-about {
        border-radius: 24px;
    }

    .home-about__content {
        padding: 30px 22px;
    }

    .home-about h2,
    .home-page .ui-section-heading__title,
    .home-publications .ui-tabs__heading {
        font-size: 30px;
    }

    .home-publications .ui-tabs__header {
        gap: 16px;
    }

    .home-specialists__track .ui-specialist-card {
        width: min(286px, calc(100vw - 58px));
        min-width: min(286px, calc(100vw - 58px));
    }

    .home-audiences h2 {
        margin-bottom: 14px;
        font-size: 28px;
    }

    .home-audiences__card {
        padding: 20px 20px 24px;
        border-radius: 24px;
    }

    .home-audiences .ui-accordion__trigger {
        align-items: flex-start;
        padding: 18px 0;
        font-size: 13px;
    }

    .home-audiences .ui-accordion__panel-inner {
        padding: 0 24px 18px 0;
    }

    .home-audiences .ui-accordion__panel {
        font-size: 13px;
    }

    .home-audiences__actions .button {
        min-width: 200px;
        min-height: 50px;
    }

}

@media (max-width: 767px) {
    .home-hero,
    .home-hero--with-stats {
        min-height: auto;
        border-radius: 24px;
    }

    .home-hero__media img {
        object-position: 72% center;
    }

    .home-hero__overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .88) 44%, rgba(255, 255, 255, .45) 72%, rgba(255, 255, 255, .25) 100%);
    }

    .home-hero__content,
    .home-hero--with-stats .home-hero__content {
        padding: 28px 24px 24px;
    }

    .home-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
        line-height: 1.2;
    }

    .home-hero h1 {
        font-size: 16px;
        line-height: 1.08;
    }

    .home-hero__content > p {
        max-width: 320px;
        margin-top: 16px;
        font-size: 12px;
        line-height: 1.15;
    }

    .home-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 22px;
    }

    .home-hero__actions .button {
        width: min(100%, 210px);
        min-width: 0;
        min-height: 44px;
        padding: 11px 22px;
        font-size: 13px;
    }

    .home-about__content .button {
        min-width: 180px;
        min-height: 44px;
        margin-top: 34px;
        padding: 16px 24px;
        font-size: 14px;
    }

    .home-banners__controls {
        display: none;
    }

    .home-banners:not(.is-static) .home-banners__pagination,
    .home-publications__slider:not(.is-static) .home-publications__pagination {
        display: flex;
    }

    .home-banner__surface,
    .home-banner__content {
        min-height: 290px;
    }

    .home-banner--with-content .home-banner__surface::after {
        background: none;
    }

    .home-banner__content {
        width: 100%;
        justify-content: flex-start;
        padding: 44px 24px 28px;
    }

    .home-banner__text {
        font-size: 14px;
        line-height: 1.28;
    }

    .home-banner__text h2,
    .home-banner__text h3 {
        max-width: 300px;
        margin-bottom: 14px;
        font-size: 20px;
        line-height: 1.12;
    }

    .home-banner__content .button {
        min-width: 176px;
        min-height: 42px;
        margin-top: 18px;
        padding: 11px 22px;
        font-size: 13px;
    }

    .home-publications__grid {
        display: grid;
        overflow-x: auto;
        grid-auto-columns: min(86vw, 330px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 16px;
        overscroll-behavior-inline: contain;
        padding: 2px 0 14px;
        scroll-padding-inline: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-publications__grid::-webkit-scrollbar {
        display: none;
    }

    .home-publications__grid .ui-news-card {
        height: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .clinic-entrances__head {
        display: block;
        margin-bottom: 18px;
    }

    .clinic-entrances__head h2 {
        font-size: 28px;
    }

    .clinic-entrances__card {
        border-radius: 16px;
    }

    .clinic-entrances__map {
        aspect-ratio: 16 / 11;
    }

    .clinic-entrances__marker {
        width: 22px;
        height: 22px;
    }

    .clinic-entrances__marker-label {
        font-size: 12px;
    }

    .clinic-entrances__marker.is-active {
        transform: translate(-50%, -50%) scale(1.18);
    }

    .clinic-entrances__list {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }

    .clinic-entrances__item {
        min-height: 66px;
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 14px;
    }

    .clinic-entrances__number {
        font-size: 23px;
    }

    .home-contacts__panel {
        border-radius: 28px;
    }

    .home-contacts__details {
        padding: 28px 18px 54px;
        background: linear-gradient(180deg, #fff 0%, #fff 78%, rgba(255, 255, 255, .72) 91%, rgba(255, 255, 255, 0) 100%);
    }

    .home-contacts__details::after {
        display: none;
    }

    .home-contacts__select-label {
        margin-top: 0;
    }

    .home-contacts__select {
        width: 100%;
        min-height: 44px;
        margin: 7px 0 24px;
        font-size: 16px;
    }

    .home-contacts__locations {
        margin-top: 0;
    }

    .home-contacts__location {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 16px;
    }

    .home-contacts__location-icon {
        width: 30px;
        height: 30px;
        margin-top: 2px;
    }

    .home-contacts__location h3 {
        margin-bottom: 18px;
        font-size: 18px;
        line-height: 1.25;
    }

    .home-contacts__address,
    .home-contacts__hours,
    .home-contacts__links {
        font-size: 16px;
        line-height: 1.3;
    }

    .home-contacts__map {
        height: 300px;
        margin-top: -20px;
    }

    .home-contacts__map iframe,
    .home-contacts__map-placeholder {
        height: 300px;
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-banners__track,
    .home-specialists__track,
    .home-publications__grid {
        scroll-behavior: auto;
    }

    .home-service-card,
    .home-service-card__media img {
        transition: none;
    }

    .clinic-entrances__item,
    .clinic-entrances__marker {
        transition: none;
    }

    .clinic-entrances__marker.is-active .clinic-entrances__marker-pulse {
        animation: none;
        opacity: .55;
        transform: scale(1.28);
    }
}
