/* Shell header/footer styles for legacy pages. Generated from home.css. */
:root {
    --ld-u: min(calc(0.05 * 100vw / 7.2), 10px);
}

@media (max-width: 900px) {
    :root {
        --ld-u: min(calc(0.05 * 100vw / 1.8), 13.3333px);
    }
}

/* ==========================================================================
   Lederm — новый дизайн главной (2026).
   Подключается только на /new/, старый сайт не затрагивает.
   ========================================================================== */

:root {
    --ld-bg: #f9f6f1;
    --ld-bg-2: #fcf8f2;
    --ld-surface: #ffffff;
    --ld-beige: #f0ebe5;
    --ld-beige-dark: #e0d3ce;
    --ld-dark: #3e4c5b;
    --ld-dark-2: #21354c;
    --ld-brown: #86736f;
    --ld-blue: #89b8ff;
    --ld-text: #3b3a39;
    --ld-text-2: #6b6760;
    --ld-heading: #081a30;
    --ld-muted: #a39c90;
    --ld-border: #e0d3ce;
    --ld-radius: calc(2.3998 * var(--ld-u));
    --ld-gutter: calc(2.3998 * var(--ld-u));
    --ld-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --ld-serif: "Old Standard TT", Georgia, serif;
}

.ld-shell {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--ld-bg);
    color: var(--ld-text);
    font-family: var(--ld-font);
    font-size: calc(1.6999 * var(--ld-u));
    font-weight: 300;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.ld-shell :where(h1, h2, h3, h4, p, ul, ol, figure) {
    margin: 0;
    padding: 0;
}

.ld-shell ul, .ld-shell ol {
    list-style: none;
}

.ld-shell a {
    color: inherit;
    text-decoration: none;
}

.ld-shell button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.ld-shell img {
    max-width: 100%;
    display: block;
}

.ld-shell input,
.ld-shell textarea {
    font-family: inherit;
}

.ld-main {
    overflow-x: hidden;
    overflow-x: clip;
}

.ld-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--ld-gutter);
}


/* ── Типографика ───────────────────────────────────────────── */

.ld-h2 {
    font-size: calc(4.3999 * var(--ld-u));
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ld-heading);
}

.ld-shell .ld-serif {
    font-family: var(--ld-serif);
    font-style: italic;
    font-weight: 400;
}

.ld-section {
    padding-top: calc(7.9999 * var(--ld-u));
}

.ld-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: calc(4.0003 * var(--ld-u));
}

.ld-section-head__title {
    max-width: calc(96.5002 * var(--ld-u));
}

.ld-section-sub {
    margin-top: calc(1.5998 * var(--ld-u));
    max-width: calc(59.9998 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-link {
    display: inline-flex;
    align-items: center;
    gap: calc(1.0001 * var(--ld-u));
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 400;
    line-height: 1.3;
    color: var(--ld-dark);
    transition: color .2s;
}

.ld-link svg {
    flex: 0 0 auto;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ld-link:hover {
    text-decoration: underline;
    text-underline-offset: calc(0.25 * var(--ld-u));
    text-decoration-thickness: 0.06em;
    text-decoration-color: currentColor;
}

.ld-link:hover svg {
    transform: translateX(calc(0.4003 * var(--ld-u)));
}

/* ── Кнопки ────────────────────────────────────────────────── */

.ld-shell .ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.7999 * var(--ld-u));
    height: calc(5.4 * var(--ld-u));
    padding: 0 calc(3.1997 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 600;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    text-align: center;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}

.ld-shell .ld-btn--primary {
    background: var(--ld-blue);
    color: #fff;
}

.ld-shell .ld-btn--primary:hover {
    background: #76a9f5;
}

.ld-shell .ld-btn--primary:active {
    background: #639aeb;
}

.ld-shell .ld-btn:hover {
    transform: none;
}

.ld-shell .ld-btn--outline {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.ld-shell .ld-btn--outline:hover {
    background: rgba(255, 255, 255, .12);
}

.ld-shell .ld-btn--outline:active {
    background: rgba(255, 255, 255, .2);
}

.ld-shell .ld-btn--outline-dark {
    border: 1px solid rgba(62, 76, 91, .35);
    color: var(--ld-dark);
}

.ld-shell .ld-btn--outline-dark:hover {
    background: rgba(62, 76, 91, .06);
}

.ld-shell .ld-btn--outline-dark:active {
    background: rgba(62, 76, 91, .12);
}

.ld-shell .ld-btn--block {
    width: 100%;
}

.ld-pill {
    display: inline-flex;
    align-items: center;
    height: calc(4.0003 * var(--ld-u));
    padding: 0 calc(1.8 * var(--ld-u));
    border: 1px solid var(--ld-beige-dark);
    border-radius: calc(10.0001 * var(--ld-u));
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 300;
    color: var(--ld-dark);
    transition: background-color .2s, border-color .2s;
}

.ld-pill:hover {
    background: var(--ld-beige);
}

.ld-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4.3999 * var(--ld-u));
    height: calc(4.3999 * var(--ld-u));
    flex: 0 0 calc(4.3999 * var(--ld-u));
    border-radius: 50%;
    background: var(--ld-blue);
    color: #fff;
    transition: background-color .15s ease, transform .15s ease;
}

.ld-social:hover {
    transform: scale(1.06);
    background: #74a8f7;
}

.ld-social__icon {
    display: block;
    width: calc(2.2002 * var(--ld-u));
    height: calc(2.2002 * var(--ld-u));
    object-fit: contain;
}

.ld-sticky-social__btn .ld-social__icon {
    width: calc(2.8 * var(--ld-u));
    height: calc(2.8 * var(--ld-u));
    object-fit: contain;
}

/* ── Шапка ─────────────────────────────────────────────────── */

.ld-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: calc(1.2002 * var(--ld-u));
    background: linear-gradient(var(--ld-bg) 70%, rgba(249, 246, 241, 0));
}

.ld-header__top {
    height: calc(2.2997 * var(--ld-u));
    overflow: hidden;
    transition: height .25s ease, opacity .2s ease;
}

.ld-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(2.3998 * var(--ld-u));
}

.ld-header__meta-group {
    display: flex;
    align-items: center;
    gap: calc(2.3998 * var(--ld-u));
}

.ld-header__meta {
    display: inline-flex;
    align-items: center;
    gap: calc(0.7999 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    font-weight: 300;
    line-height: 1.2;
    color: var(--ld-dark);
    white-space: nowrap;
}

.ld-header__meta--link:hover {
    color: var(--ld-blue);
}

.ld-header__meta--muted {
    color: var(--ld-text-2);
}

.ld-header__meta svg {
    flex: 0 0 calc(1.5998 * var(--ld-u));
    color: var(--ld-brown);
}

.ld-header__bar {
    position: relative;
    padding: calc(1.0001 * var(--ld-u)) var(--ld-gutter) 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    transition: padding .35s ease, max-width .35s ease;
}

.ld-header__pill {
    display: flex;
    align-items: center;
    height: calc(7.2 * var(--ld-u));
    padding: 0 calc(1.2002 * var(--ld-u)) 0 calc(2.8001 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    background: #fff;
    box-shadow: 0 calc(0.5998 * var(--ld-u)) calc(2.3998 * var(--ld-u)) rgba(62, 76, 91, .06);
    transition: height .25s ease, box-shadow .35s ease, border-radius .35s ease, padding .35s ease;
}

.ld-header__logo {
    flex: 0 0 auto;
    display: block;
}

.ld-header__logo img {
    width: calc(10.0001 * var(--ld-u));
    height: auto;
}

.ld-nav {
    display: flex;
    align-items: center;
    gap: calc(0.4003 * var(--ld-u));
    margin-left: calc(7.6003 * var(--ld-u));
}

.ld-nav__item {
    position: relative;
}

.ld-nav__link {
    display: inline-flex;
    align-items: center;
    gap: calc(0.5998 * var(--ld-u));
    height: calc(4.1998 * var(--ld-u));
    padding: 0 calc(1.5998 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 500;
    color: var(--ld-dark);
    transition: background-color .2s, color .2s;
    white-space: nowrap;
}

.ld-nav__link:hover,
.ld-nav__item.is-active > .ld-nav__link,
.ld-nav__item--mega.is-open > .ld-nav__link {
    background: var(--ld-beige);
}

.ld-nav__caret {
    transition: transform .25s ease, box-shadow .25s ease;
}

.ld-nav__item--mega.is-open .ld-nav__caret {
    transform: rotate(180deg);
}

.ld-header__actions {
    display: flex;
    align-items: center;
    gap: calc(1.0001 * var(--ld-u));
    margin-left: auto;
}

.ld-header__cta {
    height: calc(5.4 * var(--ld-u));
    margin-left: 0;
}

.ld-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: calc(0.4997 * var(--ld-u));
    width: calc(4.3999 * var(--ld-u));
    height: calc(4.3999 * var(--ld-u));
    padding: 0 calc(1.0001 * var(--ld-u));
    border-radius: 50%;
}

.ld-burger span {
    display: block;
    height: calc(0.1498 * var(--ld-u));
    width: 100%;
    background: var(--ld-dark);
    border-radius: 2px;
}

/* Шапка после скролла */

.ld-header.is-scrolled {
    padding-top: 0;
    background: transparent;
    backdrop-filter: none;
}

.ld-header.is-scrolled .ld-header__top {
    height: 0;
    opacity: 0;
}

.ld-header.is-scrolled .ld-header__bar {
    padding: 0;
    max-width: 100vw;
}

.ld-header.is-scrolled .ld-header__pill {
    height: calc(7.2 * var(--ld-u));
    border-radius: 0;
    padding: 0 max(calc(2.4 * var(--ld-u)), calc((100vw - 1440px) / 2 + calc(2.4 * var(--ld-u))));
    box-shadow: 0 calc(1 * var(--ld-u)) calc(3 * var(--ld-u)) rgba(62, 76, 91, .12);
}

/* iOS: во встроенных браузерах (Telegram, Instagram) верхняя панель
   полупрозрачная — закрашиваем полосу над шапкой, чтобы текст не просвечивал. */
@supports (-webkit-touch-callout: none) {
    .ld-header.is-scrolled {
        background: #fff;
    }

    .ld-header.is-scrolled::before {
        content: "";
        position: absolute;
        z-index: 1;
        right: 0;
        bottom: 100%;
        left: 0;
        height: 160px;
        background: #fff;
        pointer-events: none;
    }

    .ld-mobile-menu {
        box-shadow: 0 -160px 0 0 var(--ld-bg);
    }
}

/* ── Мега-меню ─────────────────────────────────────────────── */

.ld-mega {
    position: absolute;
    left: var(--ld-gutter);
    right: var(--ld-gutter);
    top: calc(100% + calc(0.7999 * var(--ld-u)));
    max-width: calc(139.2 * var(--ld-u));
    margin-left: auto;
    margin-right: auto;
    z-index: 90;
    opacity: 0;
    transform: translateY(calc(-0.7999 * var(--ld-u)));
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, clip-path .2s ease;
}

.ld-mega.is-open {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(calc(-8 * var(--ld-u)));
    pointer-events: auto;
}

.ld-mega__inner {
    display: flex;
    background: #fff;
    border-radius: calc(2.3998 * var(--ld-u));
    box-shadow: 0 calc(2.3998 * var(--ld-u)) calc(5.9998 * var(--ld-u)) rgba(62, 76, 91, .16);
    overflow: hidden;
}

.ld-mega__directions {
    width: calc(42.9998 * var(--ld-u));
    flex: 0 0 calc(42.9998 * var(--ld-u));
    padding: calc(3.1997 * var(--ld-u));
    border-right: 1px solid var(--ld-beige-dark);
}

.ld-mega__label {
    margin-bottom: calc(1.5998 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    color: var(--ld-text-2);
}

.ld-mega__direction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(1.2002 * var(--ld-u));
    width: 100%;
    min-height: calc(4.6001 * var(--ld-u));
    padding: calc(1.0001 * var(--ld-u)) calc(1.3997 * var(--ld-u));
    border-radius: calc(1.3997 * var(--ld-u));
    text-align: left;
    font-size: calc(1.6999 * var(--ld-u));
    font-weight: 300;
    color: var(--ld-dark);
    transition: background-color .2s;
}

.ld-mega__direction svg {
    opacity: 0;
    transition: opacity .2s, transform .2s;
}

.ld-mega__direction:hover,
.ld-mega__direction.is-active {
    background: var(--ld-beige);
}

.ld-mega__direction.is-active svg {
    opacity: 1;
}

.ld-mega__services {
    flex: 1;
    padding: calc(3.1997 * var(--ld-u));
    transition: opacity .2s ease;
}

.ld-mega__title {
    margin-bottom: calc(3.1997 * var(--ld-u));
    font-size: calc(3.1997 * var(--ld-u));
    line-height: 1.1;
    color: var(--ld-dark);
}

.ld-mega__pills {
    display: flex;
    flex-wrap: wrap;
    gap: calc(1.0001 * var(--ld-u));
    margin-bottom: calc(4.0003 * var(--ld-u));
    min-height: calc(9 * var(--ld-u));
    align-content: flex-start;
}

.ld-mega__pills .ld-pill {
    height: calc(4.1998 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
}

/* ── Мобильное меню ────────────────────────────────────────── */

.ld-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: calc(0.7999 * var(--ld-u)) calc(1.5998 * var(--ld-u)) calc(2.3998 * var(--ld-u));
    background: var(--ld-bg);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ld-mobile-menu[hidden] {
    display: none;
}

.ld-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(1.2002 * var(--ld-u));
    padding: calc(0.7999 * var(--ld-u)) calc(0.7999 * var(--ld-u)) calc(0.7999 * var(--ld-u)) calc(2.0002 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    background: #fff;
}

.ld-mobile-menu__actions {
    display: flex;
    align-items: center;
    gap: calc(0.7999 * var(--ld-u));
}

.ld-mobile-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4.3999 * var(--ld-u));
    height: calc(4.3999 * var(--ld-u));
    border-radius: 50%;
    background: var(--ld-beige);
    color: var(--ld-dark);
}

.ld-mobile-menu__body {
    display: flex;
    flex-direction: column;
    gap: calc(0.4003 * var(--ld-u));
    padding: calc(2.3998 * var(--ld-u)) 0 calc(4.0003 * var(--ld-u));
}

.ld-mobile-menu__group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: calc(1.5998 * var(--ld-u)) calc(0.7999 * var(--ld-u));
    font-size: calc(2.0002 * var(--ld-u));
    font-weight: 500;
    color: var(--ld-dark);
}

.ld-mobile-menu__group-title svg {
    transition: transform .25s;
}

.ld-mobile-menu__group.is-open .ld-mobile-menu__group-title svg {
    transform: rotate(180deg);
}

.ld-mobile-menu__group-body {
    display: none;
    flex-direction: column;
    gap: calc(0.4003 * var(--ld-u));
    padding: calc(0.7999 * var(--ld-u)) 0 calc(1.2002 * var(--ld-u));
}

.ld-mobile-menu__group.is-open .ld-mobile-menu__group-body {
    display: flex;
}

.ld-mobile-menu__group-body a {
    padding: calc(1.0001 * var(--ld-u)) calc(0.7999 * var(--ld-u));
    font-size: calc(1.5998 * var(--ld-u));
    font-weight: 300;
    color: var(--ld-text-2);
}

.ld-mobile-menu__link {
    padding: calc(1.5998 * var(--ld-u)) calc(0.7999 * var(--ld-u));
    font-size: calc(2.0002 * var(--ld-u));
    font-weight: 500;
    color: var(--ld-dark);
}

.ld-mobile-menu__footer {
    margin-top: auto;
    padding-top: calc(2.3998 * var(--ld-u));
}

.ld-mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: calc(1.2002 * var(--ld-u));
    margin-top: calc(2.3998 * var(--ld-u));
}

.ld-mobile-menu__contacts .ld-header__meta {
    white-space: normal;
    font-size: calc(1.3997 * var(--ld-u));
}

/* ── Подвал ────────────────────────────────────────────────── */

.ld-footer {
    padding: calc(7.9999 * var(--ld-u)) 0 calc(2.4002 * var(--ld-u));
}

.ld-footer__panel {
    position: relative;
    padding: calc(5.6002 * var(--ld-u)) calc(4.8002 * var(--ld-u)) calc(3.1997 * var(--ld-u));
    border-radius: calc(2.3998 * var(--ld-u));
    background: var(--ld-dark-2);
    color: #fff;
    overflow: hidden;
}

.ld-shell .ld-footer__watermark {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: calc(117.4003 * var(--ld-u));
    max-width: none;
    transform: translateX(-50%);
    opacity: .35;
    pointer-events: none;
}

.ld-shell .ld-footer__watermark--mobile {
    display: none;
}

.ld-footer__panel > *:not(.ld-footer__watermark) {
    position: relative;
    z-index: 1;
}

.ld-footer__top {
    display: grid;
    grid-template-columns: calc(28.4998 * var(--ld-u)) calc(33.3 * var(--ld-u)) 1fr;
    gap: calc(2.0002 * var(--ld-u));
    align-items: start;
    padding-bottom: calc(4.0003 * var(--ld-u));
}

.ld-footer__logo img {
    width: calc(20.4998 * var(--ld-u));
    height: auto;
}

.ld-footer__label {
    margin-bottom: calc(1.3997 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
}

.ld-footer__address-title {
    max-width: calc(30.6 * var(--ld-u));
    margin-bottom: calc(1.2002 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.1;
    font-weight: 400;
}

.ld-footer__address p {
    max-width: calc(30.6 * var(--ld-u));
    margin-bottom: calc(0.7999 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
}

.ld-footer__callback {
    margin-left: auto;
    max-width: calc(63.5998 * var(--ld-u));
}

.ld-footer__callback-title {
    margin-bottom: calc(1.2002 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.1;
    font-weight: 400;
}

.ld-footer__callback > p {
    margin-bottom: calc(2.3998 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    color: rgba(255, 255, 255, .85);
}

.ld-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(1.2002 * var(--ld-u));
}

.ld-form--footer .ld-input {
    flex: 0 0 calc(12.0002 * var(--ld-u));
}

.ld-form--footer .ld-input--phone {
    flex: 1 1 calc(28.0001 * var(--ld-u));
}

.ld-form--footer .ld-btn {
    flex: 0 0 calc(18 * var(--ld-u));
}

.ld-input {
    width: 100%;
    height: calc(5.4 * var(--ld-u));
    padding: 0 calc(2.4998 * var(--ld-u));
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: calc(10.0001 * var(--ld-u));
    background: transparent;
    color: #fff;
    font-size: calc(1.4998 * var(--ld-u));
    font-weight: 300;
    outline: none;
    transition: border-color .2s;
}

.ld-input::placeholder {
    color: rgba(255, 255, 255, .8);
}

.ld-input:focus {
    border-color: #fff;
}

.ld-consent {
    display: flex;
    align-items: flex-start;
    gap: calc(1.0001 * var(--ld-u));
    width: 100%;
    margin-top: calc(1.2002 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    line-height: 1.4;
    color: rgba(255, 255, 255, .8);
    cursor: pointer;
}

.ld-consent input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 calc(2.0002 * var(--ld-u));
    width: calc(2.0002 * var(--ld-u));
    height: calc(2.0002 * var(--ld-u));
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: calc(0.5998 * var(--ld-u));
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.ld-consent input:hover {
    border-color: #fff;
}

.ld-consent input:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .65);
    outline-offset: 2px;
}

.ld-consent input:checked {
    background: transparent;
    border-color: #fff;
}

.ld-consent input:checked::after {
    content: "";
    position: absolute;
    left: calc(0.58 * var(--ld-u));
    top: calc(0.36 * var(--ld-u));
    width: calc(0.5 * var(--ld-u));
    height: calc(0.9 * var(--ld-u));
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.ld-consent a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ld-footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, .35);
}

.ld-footer__columns {
    display: grid;
    grid-template-columns: calc(28.5998 * var(--ld-u)) calc(33.3 * var(--ld-u)) calc(33.1999 * var(--ld-u)) calc(28.4998 * var(--ld-u));
    justify-content: space-between;
    gap: calc(2.0002 * var(--ld-u));
    padding: calc(4.0003 * var(--ld-u)) 0;
}

.ld-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ld-footer__direction-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ld-footer__link {
    padding: calc(0.4003 * var(--ld-u)) 0;
    font-size: calc(1.6999 * var(--ld-u));
    font-weight: 300;
    color: #fff;
    transition: opacity .2s;
}

.ld-footer__link:hover {
    opacity: .75;
}

.ld-footer__contact-label {
    margin: calc(0.4003 * var(--ld-u)) 0 calc(0.7999 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    color: rgba(255, 255, 255, .7);
}

.ld-footer__phone {
    font-size: calc(2.8001 * var(--ld-u));
    white-space: nowrap;
    line-height: 1.05;
    font-weight: 400;
}

.ld-footer__email {
    margin-top: calc(0.7999 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    font-weight: 300;
}

.ld-footer__social-label {
    margin: calc(2.3998 * var(--ld-u)) 0 calc(1.0001 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    color: rgba(255, 255, 255, .7);
}

.ld-footer__socials {
    display: flex;
    gap: calc(1.2002 * var(--ld-u));
}

.ld-footer__documents {
    display: grid;
    grid-template-columns: calc(28.3997 * var(--ld-u)) calc(33.5002 * var(--ld-u)) calc(30.6 * var(--ld-u));
    gap: calc(2.0002 * var(--ld-u));
    justify-content: space-between;
    padding: calc(2.3998 * var(--ld-u)) 0;
}

.ld-footer__doc {
    font-size: calc(1.4998 * var(--ld-u));
    font-weight: 300;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: calc(0.3002 * var(--ld-u));
    text-decoration-color: rgba(255, 255, 255, .4);
}

.ld-footer__legal {
    display: grid;
    grid-template-columns: calc(28.4998 * var(--ld-u)) calc(33.3 * var(--ld-u)) calc(33.3 * var(--ld-u)) calc(30.6 * var(--ld-u));
    gap: calc(2.0002 * var(--ld-u));
    justify-content: space-between;
    padding-top: calc(2.3998 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    font-weight: 300;
    color: #fff;
}

.ld-footer__legal a:hover {
    text-decoration: underline;
    text-underline-offset: calc(0.3002 * var(--ld-u));
}

/* ── Sticky соцкнопки ──────────────────────────────────────── */

.ld-sticky-social {
    position: fixed;
    right: max(calc(2.3998 * var(--ld-u)), calc((100vw - 1440px) / 2 + calc(2.3998 * var(--ld-u))));
    top: 50%;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: calc(0.5998 * var(--ld-u));
    padding: calc(0.6998 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    background: #fff;
    box-shadow: 0 calc(1.0001 * var(--ld-u)) calc(3.0002 * var(--ld-u)) rgba(62, 76, 91, .18);
    transform: translateY(-50%);
}

.ld-sticky-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(5.6002 * var(--ld-u));
    height: calc(5.6002 * var(--ld-u));
    border-radius: 50%;
    background: var(--ld-blue);
    color: #fff;
    transition: background-color .2s, transform .2s ease;
}

.ld-sticky-social__btn:hover {
    transform: scale(1.06);
    background: #74a8f7;
}

/* ── Cookie ────────────────────────────────────────────────── */

.ld-cookie {
    position: fixed;
    left: max(calc(2.3998 * var(--ld-u)), calc((100vw - 1392px) / 2));
    right: max(calc(2.3998 * var(--ld-u)), calc((100vw - 1392px) / 2));
    bottom: calc(2.3998 * var(--ld-u));
    z-index: 150;
    display: flex;
    align-items: center;
    gap: calc(2.3998 * var(--ld-u));
    max-width: calc(139.1998 * var(--ld-u));
    margin: 0 auto;
    padding: calc(2.1002 * var(--ld-u)) calc(2.3998 * var(--ld-u)) calc(2.1002 * var(--ld-u)) calc(2.9002 * var(--ld-u));
    border-radius: calc(2.0002 * var(--ld-u));
    background: #fff;
    box-shadow: 0 calc(1.5998 * var(--ld-u)) calc(4.9997 * var(--ld-u)) rgba(62, 76, 91, .16);
}

.ld-cookie[hidden] {
    display: none;
}

.ld-cookie__text {
    font-size: calc(1.4998 * var(--ld-u));
    font-weight: 300;
    color: var(--ld-dark);
}

.ld-cookie__btn {
    margin-left: auto;
    flex: 0 0 auto;
    height: calc(5.4 * var(--ld-u));
}

/* ── Модалка ───────────────────────────────────────────────── */

.ld-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(2.3998 * var(--ld-u));
}

.ld-modal[hidden] {
    display: none;
}

.ld-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(33, 53, 76, .55);
    backdrop-filter: blur(calc(0.3002 * var(--ld-u)));
}

.ld-modal__dialog {
    position: relative;
    width: 100%;
    max-width: calc(51.9998 * var(--ld-u));
    max-height: calc(100vh - calc(4.8002 * var(--ld-u)));
    overflow-y: auto;
    padding: calc(4.8002 * var(--ld-u)) calc(4.0003 * var(--ld-u)) calc(4.0003 * var(--ld-u));
    border-radius: calc(2.3998 * var(--ld-u));
    background: var(--ld-bg);
}

.ld-modal__close {
    position: absolute;
    top: calc(1.5998 * var(--ld-u));
    right: calc(1.5998 * var(--ld-u));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4.0003 * var(--ld-u));
    height: calc(4.0003 * var(--ld-u));
    border-radius: 50%;
    background: var(--ld-beige);
    color: var(--ld-dark);
}

.ld-modal__title {
    font-size: calc(3.1997 * var(--ld-u));
    line-height: 1.1;
    font-weight: 400;
    color: var(--ld-heading);
}

.ld-modal__subtitle {
    margin: calc(1.0001 * var(--ld-u)) 0 calc(2.8001 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-modal .ld-form {
    flex-direction: column;
    align-items: stretch;
}

.ld-modal .ld-input {
    border-color: var(--ld-beige-dark);
    color: var(--ld-dark);
}

.ld-modal .ld-input::placeholder {
    color: var(--ld-text-2);
}

.ld-modal .ld-input:focus {
    border-color: var(--ld-dark);
}

.ld-modal .ld-consent {
    color: var(--ld-text-2);
}

.ld-modal .ld-consent input {
    border-color: var(--ld-beige-dark);
    color: var(--ld-dark);
}

.ld-modal .ld-consent input:hover,
.ld-modal .ld-consent input:checked {
    border-color: var(--ld-dark);
}

.ld-modal .ld-consent input:focus-visible {
    outline-color: var(--ld-dark);
}

.ld-modal__success-title {
    margin-bottom: calc(0.7999 * var(--ld-u));
    font-size: calc(2.8001 * var(--ld-u));
    color: var(--ld-heading);
}

/* ── Hero ──────────────────────────────────────────────────── */

.ld-hero {
    padding-top: calc(1.5998 * var(--ld-u));
}

.ld-hero__card {
    position: relative;
    height: calc(69.7003 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: var(--ld-dark);
    color: #fff;
    overflow: hidden;
}

.ld-hero__watermark {
    position: absolute;
    top: 0;
    right: calc(11.0002 * var(--ld-u));
    width: calc(78.7003 * var(--ld-u));
    max-width: none;
    pointer-events: none;
}

.ld-hero__photo {
    position: absolute;
    right: calc(15.5002 * var(--ld-u));
    bottom: calc(-0.9 * var(--ld-u));
    width: calc(60.0998 * var(--ld-u));
    height: calc(70.6003 * var(--ld-u));
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}

.ld-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: calc(3.1997 * var(--ld-u));
}

.ld-hero__eyebrow {
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 400;
    letter-spacing: .02em;
}

.ld-hero__title {
    width: calc(50.8003 * var(--ld-u));
    margin-top: calc(4.8002 * var(--ld-u));
    font-size: calc(6.4001 * var(--ld-u));
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.ld-hero__title .ld-serif {
    font-size: calc(6.4001 * var(--ld-u));
    line-height: 1;
}

.ld-hero__cta {
    margin-top: calc(4.8002 * var(--ld-u));
}

.ld-hero__promos {
    width: 100%;
    margin-top: calc(6.7997 * var(--ld-u));
    overflow: visible;
}

.ld-hero__promos .swiper-wrapper {
    display: flex;
    gap: calc(1.5998 * var(--ld-u));
}

.ld-hero__promos .swiper-slide {
    flex: 0 0 calc((100% - calc(3.1997 * var(--ld-u))) / 3);
    width: calc((100% - calc(3.1997 * var(--ld-u))) / 3);
}

.ld-shell .ld-promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: calc(12.3998 * var(--ld-u));
    padding: calc(2.2003 * var(--ld-u)) calc(2.3998 * var(--ld-u));
    border-radius: calc(2.0002 * var(--ld-u));
    background: #fff;
    color: var(--ld-dark);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ld-slider-nav.ld-hero__promos-nav,
.ld-slider-nav.ld-advantages-nav {
    display: none;
}

.ld-advantages__photo-mobile {
    display: none;
}

.ld-promo-card:hover {
    transform: translateY(calc(-0.4 * var(--ld-u)));
    box-shadow: 0 calc(1.2 * var(--ld-u)) calc(3 * var(--ld-u)) rgba(33, 53, 76, .18);
}

.ld-promo-card__arrow {
    position: absolute;
    right: calc(1.8 * var(--ld-u));
    bottom: calc(1.6 * var(--ld-u));
    color: var(--ld-dark);
    opacity: 0;
    transform: translate(calc(-0.4 * var(--ld-u)), calc(0.4 * var(--ld-u)));
    transition: opacity .25s ease, transform .25s ease;
}

.ld-promo-card:hover .ld-promo-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.ld-shell .ld-promo-card__tag {
    position: absolute;
    top: calc(1.5998 * var(--ld-u));
    right: calc(1.5998 * var(--ld-u));
    padding: calc(0.4003 * var(--ld-u)) calc(1.0001 * var(--ld-u));
    border-radius: calc(0.5998 * var(--ld-u));
    background: var(--ld-blue);
    color: #fff;
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.ld-shell .ld-promo-card__name {
    max-width: calc(100% - calc(6.9998 * var(--ld-u)));
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 400;
    line-height: 1.3;
}

.ld-promo-card__row {
    display: flex;
    align-items: baseline;
    gap: calc(1.2002 * var(--ld-u));
}

.ld-shell .ld-promo-card__price {
    font-size: calc(3.0002 * var(--ld-u));
    line-height: 1.05;
    font-weight: 400;
}

.ld-shell .ld-promo-card__old {
    font-size: calc(1.4998 * var(--ld-u));
    color: var(--ld-text-2);
    text-decoration: line-through;
}

.ld-hero__all {
    margin-top: calc(2.5999 * var(--ld-u));
}

/* ── Партнёры ──────────────────────────────────────────────── */

.ld-partners {
    display: flex;
    align-items: center;
    gap: calc(4.0003 * var(--ld-u));
    margin-top: calc(1.5998 * var(--ld-u));
    padding: calc(2.3998 * var(--ld-u)) calc(3.1997 * var(--ld-u));
    border-radius: calc(2.0002 * var(--ld-u));
    background: var(--ld-beige);
    overflow: hidden;
}

.ld-partners__text {
    flex: 0 0 calc(38.1002 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.5;
    color: var(--ld-text-2);
}

.ld-partners__list {
    flex: 1;
    overflow: hidden;
    font-size: calc(2.2003 * var(--ld-u));
    font-weight: 400;
    color: var(--ld-muted);
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.ld-partners__list:active {
    cursor: grabbing;
}

.ld-partners__track {
    display: flex;
    width: max-content;
    animation: ldMarquee 40s linear infinite;
}

.ld-partners:hover .ld-partners__track {
    animation-play-state: paused;
}

.ld-partners__group {
    display: flex;
    align-items: center;
    gap: calc(3.1997 * var(--ld-u));
    padding-right: calc(3.1997 * var(--ld-u));
    white-space: nowrap;
}

@keyframes ldMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Клиническая база ФМБА ─────────────────────────────────── */

.ld-fmba {
    margin-top: calc(1.2002 * var(--ld-u));
}

.ld-fmba__card {
    display: grid;
    grid-template-columns: calc(9.6001 * var(--ld-u)) minmax(0, 1fr);
    grid-template-areas:
        "emblem title"
        "emblem text";
    align-items: center;
    column-gap: calc(3.1997 * var(--ld-u));
    row-gap: calc(1.0001 * var(--ld-u));
    padding: calc(2.7998 * var(--ld-u)) calc(3.1997 * var(--ld-u));
    border-radius: calc(2.3998 * var(--ld-u));
    background: var(--ld-dark);
    color: #fff;
}

.ld-fmba__emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: emblem;
    width: calc(9.6001 * var(--ld-u));
    height: calc(10.4001 * var(--ld-u));
    padding: calc(1.2002 * var(--ld-u));
    border-radius: calc(1.5998 * var(--ld-u));
    background: var(--ld-beige);
    overflow: hidden;
}

.ld-fmba__emblem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ld-fmba__title {
    grid-area: title;
    align-self: end;
    margin: 0;
    font-size: calc(2.2003 * var(--ld-u));
    font-weight: 500;
    line-height: 1.1;
}

.ld-fmba__text {
    grid-area: text;
    align-self: start;
    max-width: calc(86.0001 * var(--ld-u));
    margin: 0;
    font-size: calc(1.5001 * var(--ld-u));
    line-height: 1.53;
    color: rgba(255, 255, 255, .8);
}

/* ── Преимущества ──────────────────────────────────────────── */

.ld-advantages {
    padding-top: calc(7.9999 * var(--ld-u));
}

.ld-advantages__grid {
    margin-top: calc(4.0003 * var(--ld-u));
    overflow: hidden;
}

.ld-advantages__grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: calc(34.4002 * var(--ld-u)) calc(34.4002 * var(--ld-u));
    gap: calc(1.5998 * var(--ld-u));
}

.ld-advantages__grid .swiper-slide {
    display: flex;
    min-width: 0;
}

.ld-advantages__grid .ld-advantage,
.ld-advantages__grid .ld-advantage-photo {
    width: 100%;
    height: 100%;
}

.ld-advantage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(2.3998 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ld-advantage:hover {
    transform: translateY(calc(-0.4003 * var(--ld-u)));
    box-shadow: 0 calc(1.8 * var(--ld-u)) calc(4.0003 * var(--ld-u)) rgba(62, 76, 91, .1);
}

.ld-advantage__tag {
    align-self: flex-start;
    padding: calc(0.6998 * var(--ld-u)) calc(1.4998 * var(--ld-u));
    border: 1px solid var(--ld-beige-dark);
    border-radius: calc(10.0001 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 400;
    line-height: 1.2;
    color: var(--ld-text-2);
}

.ld-advantage__bottom {
    position: relative;
    z-index: 1;
}

.ld-advantage__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: calc(1.0001 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
    font-weight: 400;
    color: var(--ld-dark);
}

.ld-advantage__desc {
    display: flex;
    align-items: flex-end;
    gap: calc(0.5998 * var(--ld-u));
}

.ld-advantage__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    max-width: calc(23.6002 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.5;
    color: var(--ld-text-2);
}

.ld-advantage__arrow {
    flex: 0 0 calc(1.5998 * var(--ld-u));
    color: var(--ld-dark);
}

.ld-advantage--dark {
    background: var(--ld-dark);
    color: #fff;
}

.ld-advantage--dark::before {
    content: "";
    position: absolute;
    top: calc(-4.2998 * var(--ld-u));
    left: calc(-9.2002 * var(--ld-u));
    width: calc(90.3002 * var(--ld-u));
    height: calc(107.1 * var(--ld-u));
    background: url("../img/logo-watermark.svg") no-repeat center / contain;
    opacity: .35;
    pointer-events: none;
}

.ld-advantage--dark .ld-advantage__tag {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.ld-advantage--dark .ld-advantage__title,
.ld-advantage--dark .ld-advantage__text,
.ld-advantage--dark .ld-advantage__arrow {
    color: #fff;
}

.ld-advantage-photo {
    position: relative;
    border-radius: var(--ld-radius);
    overflow: hidden;
}

.ld-advantage-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-advantage-photo .ld-btn {
    position: absolute;
    left: calc(2.0002 * var(--ld-u));
    right: calc(2.0002 * var(--ld-u));
    bottom: calc(2.0002 * var(--ld-u));
}

/* ── О клинике ─────────────────────────────────────────────── */

.ld-about {
    padding-top: calc(7.9999 * var(--ld-u));
}

.ld-about__inner {
    display: flex;
    justify-content: space-between;
    gap: calc(4.0003 * var(--ld-u));
}

.ld-about__text {
    max-width: calc(64.0001 * var(--ld-u));
}

.ld-about__text p {
    max-width: calc(59.9998 * var(--ld-u));
    margin-top: calc(1.5998 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-about__facts {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding-top: calc(1.2002 * var(--ld-u));
}

.ld-fact {
    padding: 0 calc(2.3998 * var(--ld-u));
}

.ld-fact:first-child {
    padding-left: 0;
}

.ld-fact__value {
    font-size: calc(6.4001 * var(--ld-u));
    line-height: 1;
    font-weight: 300;
    color: var(--ld-dark);
    white-space: nowrap;
}

.ld-fact__label {
    max-width: calc(16.9999 * var(--ld-u));
    margin-top: calc(0.5998 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.5;
    color: var(--ld-text-2);
}

.ld-fact__divider {
    width: 1px;
    height: calc(8.4002 * var(--ld-u));
    margin-top: calc(1.5998 * var(--ld-u));
    background: var(--ld-beige-dark);
}

[data-ld-reveal] {
    opacity: 0;
    transform: translateY(calc(2.3998 * var(--ld-u)));
    transition: opacity .6s ease, transform .6s ease;
}

[data-ld-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.r1c1 { grid-area: 1 / 1; }
.r1c3 { grid-area: 1 / 3; }
.r1c4 { grid-area: 1 / 4; }
.r2c1 { grid-area: 2 / 1; }
.r2c2 { grid-area: 2 / 2; }
.r2c4 { grid-area: 2 / 4; }

/* ── Общая навигация слайдеров ─────────────────────────────── */

.ld-slider-nav {
    display: inline-flex;
    align-items: center;
    gap: calc(2.0002 * var(--ld-u));
}

.ld-slider-nav__counter {
    font-size: calc(1.3997 * var(--ld-u));
    line-height: 1.3;
    color: var(--ld-text-2);
    white-space: nowrap;
}

.ld-slider-nav__arrows {
    display: flex;
    gap: calc(1.0001 * var(--ld-u));
}

.ld-shell .ld-slider-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4.3999 * var(--ld-u));
    height: calc(4.3999 * var(--ld-u));
    border-radius: 50%;
    background: transparent;
    color: var(--ld-dark);
    border: 1px solid rgba(62, 76, 91, .35);
    transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}

.ld-slider-nav__btn:hover {
    background: transparent;
    border-color: var(--ld-dark);
    color: var(--ld-dark);
}

.ld-slider-nav__btn.swiper-button-disabled,
.ld-slider-nav__btn:disabled {
    opacity: .35;
    pointer-events: none;
}

/* ── Акции ─────────────────────────────────────────────────── */

.ld-promo__slider {
    position: relative;
}

.ld-promo__slider .swiper-wrapper {
    align-items: stretch;
}

.ld-promo__slider .swiper-slide {
    display: flex;
    height: auto;
}

.ld-promo-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(56 * var(--ld-u));
    padding-bottom: 0;
    color: #fff;
}

.ld-promo-slide__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(5.6 * var(--ld-u));
    bottom: calc(4.8 * var(--ld-u));
    z-index: 0;
    border-radius: var(--ld-radius);
    background: var(--ld-dark);
    overflow: hidden;
}

.ld-promo-slide__bg::before {
    content: "";
    position: absolute;
    right: calc(15.9998 * var(--ld-u));
    top: calc(-31.9997 * var(--ld-u));
    width: calc(93.1997 * var(--ld-u));
    height: calc(110.5999 * var(--ld-u));
    background: url("../img/logo-watermark.svg") no-repeat center / contain;
    opacity: .35;
    pointer-events: none;
}

.ld-promo-slide__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(56 * var(--ld-u));
    max-width: calc(70 * var(--ld-u));
    padding: calc(10 * var(--ld-u)) 0 calc(10 * var(--ld-u)) calc(3.2 * var(--ld-u));
}

.ld-promo-slide__tag {
    display: inline-flex;
    align-items: center;
    gap: calc(0.7999 * var(--ld-u));
    height: calc(3.1997 * var(--ld-u));
    padding: 0 calc(1.2002 * var(--ld-u));
    border: 1px solid rgba(137, 184, 255, .55);
    border-radius: calc(0.6 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ld-blue);
}

.ld-promo-slide__title {
    margin-top: calc(1.3997 * var(--ld-u));
    font-size: calc(4.3999 * var(--ld-u));
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.ld-promo-slide__slogan {
    margin-top: calc(1.2002 * var(--ld-u));
    max-width: calc(51.9998 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    color: rgba(255, 255, 255, .8);
}

.ld-promo-slide__prices {
    margin-top: 0;
}

.ld-promo-slide__price-label {
    font-size: calc(1.2002 * var(--ld-u));
    color: rgba(255, 255, 255, .75);
}

.ld-promo-slide__price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(0.4 * var(--ld-u));
    margin-top: 0;
}

.ld-promo-slide__old {
    font-size: calc(1.6999 * var(--ld-u));
    line-height: 1.2;
    color: rgba(255, 255, 255, .7);
    text-decoration: line-through;
}

.ld-promo-slide__discount-pill {
    padding: calc(0.5998 * var(--ld-u)) calc(1.2002 * var(--ld-u));
    border-radius: calc(0.7999 * var(--ld-u));
    background: var(--ld-brown);
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
}

.ld-promo-slide__price {
    font-size: calc(6.4001 * var(--ld-u));
    line-height: 1;
    font-weight: 300;
}

.ld-promo-slide__btn {
    margin-top: calc(3.1997 * var(--ld-u));
}

.ld-promo-slide__photo {
    position: absolute;
    top: calc(0.5 * var(--ld-u));
    right: calc(25 * var(--ld-u));
    width: calc(44.2 * var(--ld-u));
    height: calc(55.4 * var(--ld-u));
    z-index: 1;
    border-radius: calc(2.3998 * var(--ld-u));
    background: linear-gradient(165deg, #55677a 0%, #3a4756 100%);
    overflow: hidden;
}

.ld-promo-slide__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-promo-slide__badge {
    position: absolute;
    right: calc(16 * var(--ld-u));
    top: calc(5.9998 * var(--ld-u));
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(19 * var(--ld-u));
    height: calc(9 * var(--ld-u));
    border-radius: calc(2.9002 * var(--ld-u));
    background: var(--ld-brown);
    transform: rotate(8deg);
}

.ld-promo-slide__badge span {
    font-size: calc(1.3997 * var(--ld-u));
}

.ld-promo-slide__badge b {
    font-size: calc(4.2998 * var(--ld-u));
    font-weight: 400;
    line-height: 1;
}

.ld-promo__nav {
    position: absolute;
    right: calc(5.6 * var(--ld-u));
    bottom: calc(8 * var(--ld-u));
    z-index: 3;
}

.ld-promo__nav .ld-slider-nav__counter {
    color: rgba(255, 255, 255, .85);
}

.ld-promo__nav .ld-slider-nav__btn {
    background: transparent;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.ld-promo__nav .ld-slider-nav__btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ── Направления ───────────────────────────────────────────── */

.ld-directions__head {
    align-items: flex-start;
}

.ld-directions__controls {
    display: flex;
    align-items: center;
    gap: calc(2.8001 * var(--ld-u));
    padding-top: calc(1.3997 * var(--ld-u));
}

.ld-directions__controls .ld-slider-nav__btn {
    border-color: rgba(62, 76, 91, .3);
}

.ld-directions__all {
    display: none;
}

.ld-directions__slider {
    margin-top: calc(4.0003 * var(--ld-u));
    overflow: visible;
    touch-action: pan-y;
    --dir-card-w: calc(32.4 * var(--ld-u));
    --dir-card-w-focus: calc(37.2 * var(--ld-u));
    --dir-gap: calc(1.6 * var(--ld-u));
}

.ld-directions__slider .swiper-wrapper {
    display: flex;
    gap: var(--dir-gap);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
    will-change: transform;
}

.ld-directions__slider .swiper-slide {
    flex: 0 0 var(--dir-card-w);
    width: var(--dir-card-w);
    height: calc(54 * var(--ld-u));
    display: flex;
    align-items: center;
    transition: width .4s cubic-bezier(.34, 1.56, .64, 1), flex-basis .4s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 1;
}

.ld-directions__slider .swiper-slide.is-focus {
    flex-basis: var(--dir-card-w-focus);
    width: var(--dir-card-w-focus);
    z-index: 2;
}

.ld-shell .ld-direction {
    position: relative;
    display: block;
    width: 100%;
    height: calc(44 * var(--ld-u));
    border-radius: var(--ld-radius);
    overflow: hidden;
    background: var(--ld-beige);
    color: #fff;
    transition: height .4s cubic-bezier(.34, 1.56, .64, 1);
}

.ld-directions__slider .swiper-slide.is-focus .ld-direction {
    height: calc(54 * var(--ld-u));
}

.ld-direction__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-direction__shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(33, 53, 76, .35) 0%, rgba(33, 53, 76, 0) 35%, rgba(33, 53, 76, .72) 100%);
}

.ld-direction__fill {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--ld-dark);
    transform: translateY(101%);
    transition: transform .25s ease;
    pointer-events: none;
}

.ld-direction:hover .ld-direction__fill {
    transform: translateY(0);
}

.ld-direction__title {
    position: absolute;
    top: calc(2.2003 * var(--ld-u));
    left: calc(2.0002 * var(--ld-u));
    right: calc(2.0002 * var(--ld-u));
    z-index: 2;
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
    font-weight: 400;
}

.ld-direction__bottom {
    position: absolute;
    left: calc(2.0002 * var(--ld-u));
    right: calc(2.0002 * var(--ld-u));
    bottom: calc(2.0002 * var(--ld-u));
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: calc(1.2 * var(--ld-u));
}

.ld-direction__pills-wrap {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: calc(0.7999 * var(--ld-u));
    min-width: 0;
}

.ld-direction__arrow {
    flex: 0 0 calc(4.3999 * var(--ld-u));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4.3999 * var(--ld-u));
    height: calc(4.3999 * var(--ld-u));
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    transition: background-color .2s, color .2s;
}

.ld-direction:hover .ld-direction__arrow {
    background: #fff;
    color: var(--ld-dark);
}

/* ── Проблемы ──────────────────────────────────────────────── */

.ld-problems__head {
    align-items: flex-end;
}

.ld-problems__controls {
    display: flex;
    align-items: center;
    gap: calc(2.8001 * var(--ld-u));
    padding-bottom: calc(0.4003 * var(--ld-u));
}

.ld-problems__slider {
    margin-top: calc(4.0003 * var(--ld-u));
    overflow: visible;
}

.ld-problems__slider .swiper-slide {
    width: calc(33.6002 * var(--ld-u));
}

.ld-problem {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(26 * var(--ld-u));
    padding: calc(2.2003 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: var(--ld-beige);
    overflow: hidden;
    transition: background-color .2s ease;
}

.ld-problem:hover {
    background: #e0d3ce;
}

.ld-problem:hover .ld-problem__bg {
    opacity: 0;
}

.ld-problem__num {
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    color: var(--ld-brown);
}

.ld-problem__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: calc(0.7999 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
    font-weight: 400;
    color: var(--ld-dark);
}

.ld-problem__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: calc(1.2002 * var(--ld-u));
    max-width: calc(28.8 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.5;
    color: var(--ld-text-2);
}

.ld-problem__link {
    position: relative;
    z-index: 1;
}

.ld-problem__bg {
    position: absolute;
    right: calc(-12 * var(--ld-u));
    bottom: calc(-22 * var(--ld-u));
    width: calc(45 * var(--ld-u));
    max-width: none;
    opacity: .1;
    pointer-events: none;
    transition: opacity .2s ease;
}

.ld-shell .ld-problems__all {
    display: none;
}

/* ── Результаты ────────────────────────────────────────────── */

.ld-results__plate {
    padding: calc(4.0997 * var(--ld-u)) calc(3.2998 * var(--ld-u));
    border: 1px solid var(--ld-beige-dark);
    border-radius: calc(3.1997 * var(--ld-u));
    overflow: hidden;
}

.ld-results__head {
    align-items: flex-start;
}

.ld-results__controls {
    display: flex;
    align-items: center;
    gap: calc(2.0002 * var(--ld-u));
}

.ld-results__slider {
    margin-top: calc(3.6 * var(--ld-u));
    overflow: visible;
}

.ld-results__slider .swiper-slide {
    width: calc(43.0999 * var(--ld-u));
}

.ld-result__compare {
    position: relative;
    height: calc(32.9998 * var(--ld-u));
    border-radius: calc(2.0002 * var(--ld-u));
    overflow: hidden;
    background: var(--ld-beige);
    touch-action: pan-y;
    cursor: ew-resize;
}

.ld-result__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ld-result__before {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--ld-split, 50%)) 0 0);
    overflow: hidden;
}

.ld-result__label {
    position: absolute;
    bottom: calc(1.5998 * var(--ld-u));
    z-index: 4;
    padding: calc(0.5998 * var(--ld-u)) calc(1.3997 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    line-height: 1.2;
}

.ld-result__label--before {
    left: calc(1.5998 * var(--ld-u));
    background: #fff;
    color: var(--ld-dark);
}

.ld-result__label--after {
    right: calc(1.5998 * var(--ld-u));
    background: var(--ld-dark);
    color: #fff;
}

.ld-result__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ld-split, 50%);
    z-index: 5;
    width: 2px;
    margin-left: calc(-0.1001 * var(--ld-u));
    background: #fff;
}

.ld-shell .ld-result__handle {
    position: absolute;
    top: 50%;
    left: var(--ld-split, 50%);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4.8002 * var(--ld-u));
    height: calc(4.8002 * var(--ld-u));
    margin: calc(-2.3998 * var(--ld-u)) 0 0 calc(-2.3998 * var(--ld-u));
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--ld-dark);
    opacity: 1;
    cursor: ew-resize;
    box-shadow: 0 calc(0.5998 * var(--ld-u)) calc(1.8 * var(--ld-u)) rgba(33, 53, 76, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ld-shell .ld-result__handle:hover {
    transform: scale(1.08);
    box-shadow: 0 calc(0.8 * var(--ld-u)) calc(2.2 * var(--ld-u)) rgba(33, 53, 76, .24);
}

.ld-result__text {
    margin-top: calc(1.5998 * var(--ld-u));
}

.ld-result__title {
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
    font-weight: 400;
    color: var(--ld-dark);
}

.ld-result__desc {
    margin-top: calc(0.5998 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.5;
    color: var(--ld-text-2);
}

.ld-result__doctor {
    margin-top: calc(1.5998 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
    color: var(--ld-brown);
}

/* ── Врачи ─────────────────────────────────────────────────── */

.ld-doctors__head {
    align-items: flex-end;
}

.ld-doctors__heading p {
    max-width: calc(90.3002 * var(--ld-u));
    margin-top: calc(1.5998 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-doctors__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(1.5998 * var(--ld-u));
    margin-top: calc(4.0003 * var(--ld-u));
}

.ld-doctor {
    position: relative;
    height: calc(46.0001 * var(--ld-u));
    border-radius: var(--ld-radius);
    overflow: hidden;
    background: var(--ld-beige);
}

.ld-doctor__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.ld-doctor__link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .85);
    outline-offset: -4px;
}

.ld-doctor__photo {
    position: absolute;
    inset: 0;
}

.ld-doctor__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s ease;
}

.ld-doctor:hover .ld-doctor__img {
    transform: scale(1.03);
}

.ld-doctor__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 53, 76, 0) 40%, rgba(33, 53, 76, .78) 100%);
}

.ld-doctor__chip {
    position: absolute;
    top: calc(2.0002 * var(--ld-u));
    left: calc(2.0002 * var(--ld-u));
    z-index: 2;
    padding: calc(0.6998 * var(--ld-u)) calc(1.3997 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    background: #fff;
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 500;
    color: var(--ld-dark);
    pointer-events: none;
}

.ld-doctor__info {
    position: absolute;
    left: calc(2.3998 * var(--ld-u));
    right: calc(2.3998 * var(--ld-u));
    bottom: calc(2.3998 * var(--ld-u));
    z-index: 2;
    color: #fff;
    pointer-events: none;
    transition: transform .3s ease;
}

.ld-doctor:hover .ld-doctor__info,
.ld-doctor:focus-within .ld-doctor__info {
    transform: translateY(calc(-10.2001 * var(--ld-u)));
}

.ld-doctor__name {
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
}

.ld-doctor__role {
    margin-top: calc(0.5998 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    line-height: 1.4;
    color: rgba(255, 255, 255, .9);
}

.ld-doctor__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: calc(2.8999 * var(--ld-u));
    border-radius: calc(2.3998 * var(--ld-u)) calc(2.3998 * var(--ld-u)) 0 0;
    background: #86736f;
    color: #fff;
    pointer-events: none;
    transform: translateY(101%);
    transition: transform .3s ease;
}

.ld-doctor:hover .ld-doctor__panel,
.ld-doctor:focus-within .ld-doctor__panel {
    transform: translateY(0);
}

.ld-doctor__actions {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: calc(1.0001 * var(--ld-u));
    pointer-events: auto;
}

.ld-shell .ld-doctor__btn {
    height: calc(4.3999 * var(--ld-u));
    padding: 0 calc(1.8 * var(--ld-u));
    font-size: calc(1.3003 * var(--ld-u));
}

.ld-shell .ld-doctor__more {
    color: #fff;
    font-size: calc(1.3003 * var(--ld-u));
    white-space: nowrap;
}

.ld-shell .ld-doctors__all--bottom {
    display: none;
}

/* ── Документы ─────────────────────────────────────────────── */

.ld-documents {
    margin-top: calc(7.9999 * var(--ld-u));
    padding: calc(8.7998 * var(--ld-u)) 0;
    background: var(--ld-beige);
}

.ld-documents__inner {
    display: flex;
    justify-content: space-between;
    gap: calc(4.0003 * var(--ld-u));
}

.ld-documents__text {
    max-width: calc(56.0002 * var(--ld-u));
}

.ld-documents__text p {
    margin-top: calc(1.8 * var(--ld-u));
    max-width: calc(46.0001 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-documents__links {
    max-width: calc(73.5998 * var(--ld-u));
    flex: 1;
}

.ld-documents__pills {
    display: flex;
    flex-wrap: wrap;
    gap: calc(1.2002 * var(--ld-u));
    margin-bottom: calc(2.2003 * var(--ld-u));
}

.ld-shell .ld-doc-pill {
    display: inline-flex;
    align-items: center;
    min-height: calc(6.1999 * var(--ld-u));
    padding: 0 calc(2.8001 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    background: #fff;
    font-size: calc(1.6999 * var(--ld-u));
    font-weight: 300;
    color: var(--ld-text);
    transition: background-color .2s, color .2s;
}

.ld-shell .ld-doc-pill:hover {
    background: var(--ld-dark);
    color: #fff;
}

/* ── Отзывы ────────────────────────────────────────────────── */

.ld-reviews__head {
    align-items: flex-start;
}

.ld-reviews__controls {
    display: flex;
    align-items: center;
    gap: calc(2.3998 * var(--ld-u));
}

.ld-reviews__slider {
    margin-top: calc(4.0003 * var(--ld-u));
    overflow: hidden;
}

.ld-reviews__slider .swiper-slide {
    width: 100%;
}

.ld-review {
    position: relative;
    display: flex;
    gap: calc(1.5998 * var(--ld-u));
    min-height: calc(42.9998 * var(--ld-u));
}

.ld-review__author {
    position: relative;
    flex: 0 0 calc(51.9998 * var(--ld-u));
    padding: calc(4.8002 * var(--ld-u)) calc(2.3998 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: var(--ld-beige);
    text-align: center;
    overflow: hidden;
}

.ld-review__name {
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
    color: var(--ld-dark);
}

.ld-review__source {
    margin-top: calc(0.4003 * var(--ld-u));
    font-size: calc(1.4998 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-review__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(20.0002 * var(--ld-u));
    height: calc(20.0002 * var(--ld-u));
    margin: calc(2.3998 * var(--ld-u)) auto;
    border-radius: 50%;
    background: var(--ld-beige-dark);
    font-size: calc(7.2 * var(--ld-u));
    font-weight: 300;
    color: var(--ld-dark);
}

.ld-review__procedure {
    max-width: calc(30.0002 * var(--ld-u));
    margin: 0 auto;
    font-size: calc(1.2002 * var(--ld-u));
    color: var(--ld-brown);
}

.ld-review__content {
    position: relative;
    flex: 1;
    padding: calc(3.0002 * var(--ld-u)) calc(10.8 * var(--ld-u)) calc(3.0002 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: var(--ld-dark);
    color: #fff;
    overflow: hidden;
}

.ld-review__content > *:not(.ld-review__watermark) {
    position: relative;
    z-index: 1;
}

.ld-review__quote {
    color: #fff;
    opacity: .9;
}

.ld-review__p {
    margin-top: calc(1.2002 * var(--ld-u));
    max-width: calc(64.0001 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    line-height: 1.35;
}

.ld-review__divider {
    height: 1px;
    margin: calc(1.8 * var(--ld-u)) 0;
    background: rgba(255, 255, 255, .5);
}

.ld-review__result {
    max-width: calc(64.0001 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.2;
}

.ld-shell .ld-review__link {
    margin-top: calc(1.8 * var(--ld-u));
    color: #fff;
}

.ld-shell .ld-review__watermark {
    position: absolute;
    left: 50%;
    right: auto;
    top: 56%;
    width: calc(110 * var(--ld-u));
    max-width: none;
    transform: translate(-50%, -50%);
    opacity: .3;
    pointer-events: none;
}

/* ── Блог ──────────────────────────────────────────────────── */

.ld-blog__head {
    align-items: center;
}

.ld-blog__controls {
    display: flex;
    align-items: center;
    gap: calc(2.3998 * var(--ld-u));
}

.ld-blog__nav {
    display: none;
}

.ld-shell .ld-blog__all {
    display: none;
}

.ld-blog__slider {
    margin-top: calc(4.8002 * var(--ld-u));
    overflow: visible;
}

.ld-blog__grid {
    display: grid;
    grid-template-columns: calc(92.3998 * var(--ld-u)) 1fr;
    grid-template-rows: calc(27.2002 * var(--ld-u)) calc(27.2002 * var(--ld-u));
    gap: calc(1.5998 * var(--ld-u));
    align-items: stretch;
}

.ld-blog__slide {
    min-width: 0;
}

.ld-blog__slide--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.ld-blog__slide--compact {
    grid-column: 2;
}

.ld-shell .ld-blog-featured {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--ld-radius);
    overflow: hidden;
    color: #fff;
}

.ld-shell .ld-blog-featured__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-blog-featured__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 53, 76, 0) 40%, rgba(33, 53, 76, .82) 100%);
}

.ld-blog-featured__content {
    position: absolute;
    left: calc(4.0003 * var(--ld-u));
    right: calc(4.0003 * var(--ld-u));
    bottom: calc(4.0003 * var(--ld-u));
}

.ld-blog-featured__tag,
.ld-blog-item__tag {
    display: inline-flex;
    align-items: center;
    height: calc(3.1997 * var(--ld-u));
    padding: 0 calc(1.3997 * var(--ld-u));
    border-radius: calc(10.0001 * var(--ld-u));
    background: #fff;
    font-size: calc(1.2002 * var(--ld-u));
    font-weight: 400;
    color: var(--ld-text-2);
}

.ld-blog-featured__title {
    margin-top: calc(1.3997 * var(--ld-u));
    max-width: calc(77.9998 * var(--ld-u));
    font-size: calc(3.1997 * var(--ld-u));
    line-height: 1.15;
    font-weight: 400;
}

.ld-blog-featured__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(2.3998 * var(--ld-u));
    margin-top: calc(1.5998 * var(--ld-u));
}

.ld-blog-featured__author {
    display: flex;
    align-items: center;
    gap: calc(1.0001 * var(--ld-u));
}

.ld-blog-featured__author img {
    width: calc(4.0003 * var(--ld-u));
    height: calc(4.0003 * var(--ld-u));
    border-radius: 50%;
    object-fit: cover;
}

.ld-blog-featured__author b {
    display: block;
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 400;
}

.ld-blog-featured__author i {
    display: block;
    font-size: calc(1.2002 * var(--ld-u));
    font-style: normal;
    color: rgba(255, 255, 255, .8);
}

.ld-shell .ld-blog-featured .ld-link {
    color: #fff;
}

.ld-shell .ld-blog-featured,
.ld-shell .ld-blog-item {
    transition: transform .25s ease, box-shadow .25s ease;
}

.ld-shell .ld-blog-featured:hover,
.ld-shell .ld-blog-item:hover {
    transform: translateY(calc(-0.4 * var(--ld-u)));
    box-shadow: 0 calc(1.8 * var(--ld-u)) calc(4 * var(--ld-u)) rgba(62, 76, 91, .12);
}

.ld-shell .ld-blog-item {
    display: flex;
    gap: calc(2.0002 * var(--ld-u));
    width: 100%;
    height: 100%;
    padding: calc(1.5998 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: #fff;
}

.ld-blog-item__photo {
    flex: 0 0 calc(16.9999 * var(--ld-u));
    height: calc(23.9998 * var(--ld-u));
    border-radius: calc(1.5998 * var(--ld-u));
    overflow: hidden;
    background: var(--ld-beige);
}

.ld-blog-item__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-blog-item__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.ld-blog-featured__tag {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.ld-blog-item__tag {
    border: 1px solid var(--ld-beige-dark);
    background: transparent;
    color: var(--ld-text-2);
}

.ld-blog-item__title {
    margin-top: calc(1.2002 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.15;
    color: var(--ld-dark);
}

.ld-blog-item__author {
    display: flex;
    align-items: center;
    gap: calc(1.0001 * var(--ld-u));
    margin-top: auto;
    padding-bottom: calc(0.5998 * var(--ld-u));
}

.ld-blog-item__author img {
    flex: 0 0 calc(4 * var(--ld-u));
    width: calc(4 * var(--ld-u));
    height: calc(4 * var(--ld-u));
    border-radius: 50%;
    object-fit: cover;
}

.ld-blog-item__author-text {
    min-width: 0;
}

.ld-blog-item__author b {
    display: block;
    font-size: calc(1.3997 * var(--ld-u));
    font-weight: 400;
    color: var(--ld-dark);
}

.ld-blog-item__author i {
    display: block;
    font-size: calc(1.2002 * var(--ld-u));
    font-style: normal;
    color: var(--ld-text-2);
}

/* ── FAQ ───────────────────────────────────────────────────── */

.ld-faq__inner {
    display: flex;
    gap: calc(4.2998 * var(--ld-u));
}

.ld-faq__aside {
    flex: 0 0 calc(42.9998 * var(--ld-u));
}

.ld-faq__aside p {
    margin-top: calc(2.3998 * var(--ld-u));
    max-width: calc(36 * var(--ld-u));
    color: var(--ld-text-2);
}

.ld-faq__aside .ld-btn {
    margin-top: calc(3.0002 * var(--ld-u));
}

.ld-faq__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(1.2002 * var(--ld-u));
}

.ld-faq__item {
    border-radius: calc(2.0002 * var(--ld-u));
    background: var(--ld-beige);
    overflow: hidden;
    transition: background-color .2s;
}

.ld-faq__item.is-open {
    background: var(--ld-brown);
    color: #fff;
}

.ld-faq__item:not(.is-open):hover {
    background: #e0d3ce;
}

.ld-faq__item:not(.is-open):hover .ld-faq__toggle {
    transform: scale(1.06);
}

.ld-faq__question {
    display: flex;
    background: transparent;
    align-items: center;
    justify-content: space-between;
    gap: calc(2.0002 * var(--ld-u));
    width: 100%;
    padding: calc(2.3998 * var(--ld-u)) calc(3.1997 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
    line-height: 1.2;
    font-weight: 400;
    text-align: left;
    color: var(--ld-dark);
}

.ld-faq__item.is-open .ld-faq__question {
    color: #fff;
}

.ld-faq__toggle {
    position: relative;
    flex: 0 0 calc(4.0003 * var(--ld-u));
    width: calc(4.0003 * var(--ld-u));
    height: calc(4.0003 * var(--ld-u));
    border-radius: 50%;
    border: 1px solid rgba(62, 76, 91, .25);
    transition: border-color .2s, transform .2s ease;
}

.ld-faq__item.is-open .ld-faq__toggle {
    border-color: rgba(255, 255, 255, .45);
}

.ld-faq__toggle::before,
.ld-faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(1.5998 * var(--ld-u));
    height: calc(0.1498 * var(--ld-u));
    margin: calc(-0.0749 * var(--ld-u)) 0 0 calc(-0.7999 * var(--ld-u));
    background: currentColor;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ld-faq__toggle::after {
    transform: rotate(90deg);
}

.ld-faq__item.is-open .ld-faq__toggle::after {
    transform: rotate(0deg);
}

.ld-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease-out;
}

.ld-faq__item.is-open .ld-faq__answer {
    grid-template-rows: 1fr;
}

.ld-faq__answer-inner {
    overflow: hidden;
}

.ld-faq__answer p {
    max-width: calc(74.0002 * var(--ld-u));
    padding: 0 calc(3.1997 * var(--ld-u)) calc(2.5999 * var(--ld-u));
    font-size: calc(1.6999 * var(--ld-u));
    line-height: 1.35;
}

/* ── CTA ───────────────────────────────────────────────────── */

.ld-cta {
    margin-top: calc(2.4002 * var(--ld-u));
}

.ld-cta__stage {
    position: relative;
    padding: calc(7 * var(--ld-u)) 0 calc(2.5002 * var(--ld-u));
    margin-top: calc(-7 * var(--ld-u));
}

.ld-cta__card {
    position: relative;
    min-height: calc(52.5002 * var(--ld-u));
    padding: calc(5.9998 * var(--ld-u)) calc(3.1997 * var(--ld-u));
    border-radius: var(--ld-radius);
    background: transparent;
    color: #fff;
    overflow: visible;
}

.ld-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: var(--ld-radius);
    background: var(--ld-dark);
    overflow: hidden;
}

.ld-cta__watermark {
    position: absolute;
    left: calc(47.8001 * var(--ld-u));
    top: calc(-23.4 * var(--ld-u));
    width: calc(93.1997 * var(--ld-u));
    max-width: none;
    opacity: .35;
    pointer-events: none;
}

.ld-shell .ld-cta__watermark--mobile {
    display: none;
}

.ld-cta__content {
    position: relative;
    z-index: 2;
    max-width: calc(71.5997 * var(--ld-u));
}

.ld-cta__title {
    margin-top: calc(4.3999 * var(--ld-u));
    font-size: calc(6.4001 * var(--ld-u));
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.ld-cta__title .ld-serif {
    font-size: calc(6.4001 * var(--ld-u));
}

.ld-cta__subtitle {
    margin-top: calc(1.8 * var(--ld-u));
    font-size: calc(2.2003 * var(--ld-u));
}

.ld-cta__portrait {
    position: absolute;
    right: calc(7.9999 * var(--ld-u));
    top: calc(-7 * var(--ld-u));
    z-index: 1;
    width: calc(44.8999 * var(--ld-u));
    height: calc(62 * var(--ld-u));
    border-radius: calc(2.3998 * var(--ld-u));
    overflow: hidden;
}

.ld-cta__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-cta__chip {
    position: absolute;
    left: calc(76.9003 * var(--ld-u));
    bottom: calc(9.5998 * var(--ld-u));
    z-index: 3;
    padding: calc(1.3997 * var(--ld-u)) calc(2.2003 * var(--ld-u));
    border-radius: calc(2.0002 * var(--ld-u));
    background: var(--ld-brown);
}

.ld-cta__chip b {
    display: block;
    font-size: calc(1.6999 * var(--ld-u));
    font-weight: 400;
}

.ld-cta__chip span {
    display: block;
    margin-top: calc(0.4003 * var(--ld-u));
    font-size: calc(1.2002 * var(--ld-u));
}

.ld-form--cta {
    margin-top: calc(3.1997 * var(--ld-u));
    max-width: calc(66.3998 * var(--ld-u));
}

.ld-form--cta .ld-input {
    flex: 0 0 calc(12.0002 * var(--ld-u));
    background: transparent;
}

.ld-form--cta .ld-input--phone {
    flex: 1 1 calc(30.0002 * var(--ld-u));
}

.ld-form--cta .ld-btn {
    flex: 0 0 calc(13.9997 * var(--ld-u));
    padding: 0 calc(2.3998 * var(--ld-u));
}

.ld-direction__label {
    display: none;
    font-size: calc(1.2002 * var(--ld-u));
    line-height: 1.2;
    color: rgba(255, 255, 255, .8);
}

.ld-direction__pills {
    display: none;
    flex-wrap: wrap;
    gap: calc(0.7999 * var(--ld-u));
}

.ld-shell .ld-direction__pill {
    padding: calc(0.7999 * var(--ld-u)) calc(1.4999 * var(--ld-u));
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: calc(10 * var(--ld-u));
    background: rgba(62, 76, 91, .25);
    font-size: calc(1.3997 * var(--ld-u));
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}

.ld-directions__slider .swiper-slide.is-focus .ld-direction__label,
.ld-directions__slider .swiper-slide.is-focus .ld-direction__pills {
    display: flex;
}

.ld-directions__slider .swiper-slide.is-focus .ld-direction__label {
    display: block;
}

/* ==========================================================================
   Адаптив: единственный брейкпоинт (десктоп → мобилка)
   ========================================================================== */

@media (max-width: 900px) {

    html {
        /* calc(1 * var(--ld-u)) = 10px при ширине мобильного макета 360, рост до 480px */
        font-size: min(calc(0.05 * 100vw / 1.8), 13.3333px);
    }

    .ld-nav {
        display: none;
    }

    .ld-burger {
        display: inline-flex;
    }

    .ld-about__inner,
    .ld-documents__inner,
    .ld-faq__inner {
        flex-direction: column;
    }

    .ld-results__slider .swiper-slide {
        width: 100%;
    }

    :root {
        --ld-gutter: calc(1.6 * var(--ld-u));
        --ld-radius: calc(2 * var(--ld-u));
    }

    .ld-shell {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-h2 {
        font-size: calc(2.8001 * var(--ld-u));
        line-height: 1.1;
    }

    .ld-section {
        padding-top: calc(5.6 * var(--ld-u));
    }

    .ld-container {
        padding: 0 calc(1.6 * var(--ld-u));
    }

    /* Шапка */

    .ld-header {
        padding-top: calc(0.7999 * var(--ld-u));
    }

    .ld-header__top {
        display: none;
    }

    .ld-header__bar {
        padding: 0 calc(1.6 * var(--ld-u));
    }

    .ld-header__pill {
        height: calc(5.6 * var(--ld-u));
        padding: 0 calc(0.7999 * var(--ld-u)) 0 calc(2 * var(--ld-u));
    }

    .ld-header.is-scrolled .ld-header__pill {
        height: calc(5.6 * var(--ld-u));
        padding: 0 calc(1.6 * var(--ld-u));
    }

    .ld-header__logo img {
        width: calc(8.2001 * var(--ld-u));
    }

    .ld-header__actions {
        gap: calc(0.7999 * var(--ld-u));
    }

    .ld-header__actions .ld-social {
        width: calc(4 * var(--ld-u));
        height: calc(4 * var(--ld-u));
        flex: 0 0 calc(4 * var(--ld-u));
    }

    .ld-shell .ld-header__cta {
        display: none;
    }

    .ld-burger {
        display: inline-flex;
        width: calc(4 * var(--ld-u));
        height: calc(4 * var(--ld-u));
    }

    .ld-sticky-social {
        display: none;
    }

    /* Hero */

    .ld-hero {
        padding-top: calc(1.2001 * var(--ld-u));
    }

    .ld-hero__card {
        height: auto;
        min-height: 0;
        border-radius: calc(2 * var(--ld-u));
    }

    .ld-shell .ld-hero__watermark {
        top: 50%;
        left: 50%;
        right: auto;
        width: calc(80 * var(--ld-u));
        max-width: none;
        transform: translate(-50%, -50%);
        opacity: .5;
    }

    img.ld-hero__photo {
		left: 0;
		right: 0;
		bottom: 0;
		max-width: initial;
		width: 160%;
		height: 80%;
		object-position: 20% bottom;
        object-fit: contain;
    }

    .ld-hero__content {
        padding: calc(2 * var(--ld-u));
    }

    .ld-hero__eyebrow {
        font-size: calc(1.0001 * var(--ld-u));
    }

    .ld-hero__title {
        width: 100%;
        margin-top: calc(2.3999 * var(--ld-u));
        font-size: calc(4 * var(--ld-u));
        line-height: 1.02;
    }

    .ld-hero__title .ld-serif {
        font-size: calc(4 * var(--ld-u));
    }

    .ld-hero__cta {
        width: 100%;
        margin-top: calc(21.0001 * var(--ld-u));
    }

    .ld-hero__promos {
        margin-top: calc(1.6 * var(--ld-u));
        width: calc(100% + calc(2 * var(--ld-u)));
        overflow: visible;
    }

    .ld-hero__promos .swiper-wrapper {
        gap: 0;
    }

    .ld-hero__promos .swiper-slide {
        flex: 0 0 calc(28.0001 * var(--ld-u));
        width: calc(28.0001 * var(--ld-u));
    }

    .ld-shell .ld-promo-card {
        flex: 0 0 calc(28.0001 * var(--ld-u));
        min-height: calc(11.2 * var(--ld-u));
        padding: calc(1.8 * var(--ld-u));
        scroll-snap-align: start;
    }

    .ld-shell .ld-promo-card__tag {
        top: calc(1.2001 * var(--ld-u));
        right: calc(1.2001 * var(--ld-u));
        font-size: calc(1.0001 * var(--ld-u));
    }

    .ld-shell .ld-promo-card__name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: calc(19.0001 * var(--ld-u));
        font-size: calc(1.3 * var(--ld-u));
    }

    .ld-shell .ld-promo-card__price {
        font-size: calc(2.3999 * var(--ld-u));
    }

    .ld-shell .ld-promo-card__old {
        font-size: calc(1.2001 * var(--ld-u));
    }

    .ld-hero__all {
        width: 100%;
        margin-top: calc(1.6 * var(--ld-u));
    }

    .ld-promo-card__arrow {
        display: none;
    }

    .ld-partners {
        flex-direction: column;
        align-items: flex-start;
        gap: calc(2 * var(--ld-u));
        margin-top: calc(1.2001 * var(--ld-u));
        padding: calc(2 * var(--ld-u));
    }

    .ld-partners__text {
        flex: 0 0 auto;
        font-size: calc(1.3 * var(--ld-u));
    }

    .ld-partners__list {
        width: 100%;
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-partners__group {
        gap: calc(2.3999 * var(--ld-u));
        padding-right: calc(2.3999 * var(--ld-u));
    }

    /* Клиническая база ФМБА */

    .ld-fmba {
        margin-top: calc(2.3998 * var(--ld-u));
    }

    .ld-fmba__card {
        grid-template-columns: calc(6 * var(--ld-u)) minmax(0, 1fr);
        grid-template-areas:
            "emblem title"
            "text text";
        align-items: center;
        column-gap: calc(1.3997 * var(--ld-u));
        row-gap: calc(1.5998 * var(--ld-u));
        padding: calc(2 * var(--ld-u));
        border-radius: calc(2.3998 * var(--ld-u));
    }

    .ld-fmba__emblem {
        width: calc(6 * var(--ld-u));
        height: calc(6.4001 * var(--ld-u));
        padding: calc(1 * var(--ld-u));
        border-radius: calc(1.3997 * var(--ld-u));
    }

    .ld-fmba__title {
        align-self: center;
        font-size: calc(1.6 * var(--ld-u));
        line-height: 1.375;
    }

    .ld-fmba__text {
        max-width: none;
        font-size: calc(1.2 * var(--ld-u));
        line-height: 1.75;
    }

    /* Преимущества */

    .ld-advantages {
        padding-top: calc(5.6 * var(--ld-u));
    }

    .ld-advantages__grid {
        margin-top: calc(1.6 * var(--ld-u));
        overflow: visible;
    }

    .ld-advantages__grid .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .ld-advantages__grid .swiper-slide {
        flex: 0 0 calc(30.0001 * var(--ld-u));
        width: calc(30.0001 * var(--ld-u));
        height: calc(30.0001 * var(--ld-u));
    }

    .ld-slider-nav.ld-advantages-nav {
        display: flex;
        justify-content: flex-end;
        margin-top: calc(2.3999 * var(--ld-u));
    }

    .ld-advantages__photo-mobile {
        height: calc(30.0001 * var(--ld-u));
        margin-top: calc(2.3999 * var(--ld-u));
    }

    .ld-advantages__photo-mobile:not([hidden]) {
        display: block;
    }

    .ld-advantages__photo-mobile .swiper-slide {
        width: 100%;
        height: 100%;
    }

    .ld-advantages__photo-mobile .ld-advantage-photo {
        height: 100%;
    }

    .ld-advantage,
    .ld-advantage-photo {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .ld-advantage__title {
        font-size: calc(2 * var(--ld-u));
    }

    .ld-about {
        padding-top: calc(5.6 * var(--ld-u));
    }

    .ld-about__text p {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-about__facts {
        flex-direction: column;
        width: 100%;
        padding-top: calc(2.3999 * var(--ld-u));
    }

    .ld-fact {
        display: grid;
        grid-template-columns: 33% 67%;
        align-items: center;
        gap: 0;
        width: 100%;
        padding: calc(1.4 * var(--ld-u)) 0;
    }

    .ld-fact__value {
        font-size: calc(4 * var(--ld-u));
        text-align: left;
    }

    .ld-fact__label {
        width: 100%;
        max-width: none;
        margin-top: 0;
        padding-left: calc(1.2 * var(--ld-u));
        text-align: left;
        font-size: calc(1.3 * var(--ld-u));
    }

    .ld-fact__divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    /* Акции */

    .ld-promo-slide {
        height: auto;
        min-height: 0;
        padding-bottom: calc(7 * var(--ld-u));
        border-radius: calc(2 * var(--ld-u));
        background: var(--ld-dark);
        overflow: hidden;
    }

    .ld-promo-slide__bg {
        display: block;
        top: 0;
        bottom: 0;
        border-radius: calc(2 * var(--ld-u));
    }

    .ld-promo-slide__bg::before {
        right: 50%;
        top: 50%;
        width: calc(80 * var(--ld-u));
        height: calc(95 * var(--ld-u));
        transform: translate(50%, -50%);
        background-image: url("../img/logo-watermark-full.svg");
    }

    .ld-promo-slide__text {
        height: auto;
        padding: calc(2 * var(--ld-u));
    }

    .ld-promo-slide__bottom {
        margin-top: calc(2.3999 * var(--ld-u));
    }

    .ld-promo-slide__tag {
        color: var(--ld-blue);
        border: 1px solid rgba(137, 184, 255, .7);
        border-radius: calc(0.5999 * var(--ld-u));
        height: calc(3.0001 * var(--ld-u));
        padding: 0 calc(1.0001 * var(--ld-u));
    }

    .ld-promo-slide__title {
        margin-top: calc(1.6 * var(--ld-u));
        font-size: calc(3.2 * var(--ld-u));
    }

    .ld-promo-slide__slogan {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-promo-slide__price {
        font-size: calc(4.3999 * var(--ld-u));
    }

    .ld-promo-slide__btn {
        width: 100%;
    }

    .ld-promo-slide__photo {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: calc(100% - calc(4 * var(--ld-u)));
        height: calc(28.0001 * var(--ld-u));
        margin: calc(2 * var(--ld-u));
        border-radius: calc(2 * var(--ld-u));
    }

    .ld-promo-slide__photo::before {
        display: none;
    }

    .ld-promo-slide__badge {
        right: calc(3 * var(--ld-u));
        top: auto;
        bottom: calc(29 * var(--ld-u));
        width: calc(10.8 * var(--ld-u));
        height: calc(6.4 * var(--ld-u));
        border-radius: calc(1.8 * var(--ld-u));
    }

    .ld-promo-slide__badge b {
        font-size: calc(2.5 * var(--ld-u));
    }

    .ld-promo__nav {
        position: absolute;
        right: calc(2 * var(--ld-u));
        bottom: calc(2 * var(--ld-u));
        padding: 0;
        z-index: 4;
    }

    .ld-promo__nav .ld-slider-nav__counter {
        display: none;
    }

    .ld-promo__nav .ld-slider-nav__btn {
        background: transparent;
        border-color: rgba(255, 255, 255, .7);
        color: #fff;
    }

    /* Направления */

    .ld-directions .ld-section-head {
        flex-direction: column;
        gap: calc(2.3999 * var(--ld-u));
    }

    .ld-directions__controls {
        width: 100%;
        justify-content: flex-end;
        padding-top: 0;
    }

    .ld-directions__controls .ld-link {
        display: none;
    }

    .ld-directions__controls .ld-slider-nav__counter {
        display: none;
    }

    .ld-shell .ld-directions__all {
        display: inline-flex;
        margin-top: calc(2.3999 * var(--ld-u));
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-directions__slider {
        --dir-card-w: calc(26 * var(--ld-u));
        --dir-card-w-focus: calc(27.6 * var(--ld-u));
        --dir-gap: calc(1.2 * var(--ld-u));
    }

    .ld-directions__slider .swiper-slide {
        width: calc(26 * var(--ld-u));
        flex-basis: calc(26 * var(--ld-u));
        height: calc(44 * var(--ld-u));
    }

    .ld-directions__slider .swiper-slide.is-focus {
        width: calc(27.6 * var(--ld-u));
        flex-basis: calc(27.6 * var(--ld-u));
    }

    .ld-shell .ld-direction {
        height: calc(36 * var(--ld-u));
    }

    .ld-directions__slider .swiper-slide.is-focus .ld-direction {
        height: calc(44 * var(--ld-u));
    }

    .ld-direction__title {
        font-size: calc(2 * var(--ld-u));
    }

    /* Проблемы */

    .ld-problems .ld-section-head {
        flex-direction: column;
        gap: calc(2.3999 * var(--ld-u));
    }

    .ld-problems__controls {
        display: none;
    }

    .ld-problems__controls .ld-link {
        display: none;
    }

    .ld-problems__slider {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: calc(1.2001 * var(--ld-u));
        margin-top: calc(3.2 * var(--ld-u));
        overflow: visible;
    }

    .ld-problems__slider .swiper-wrapper {
        display: contents;
    }

    .ld-problems__slider .swiper-slide {
        width: auto;
        margin-right: 0 !important;
    }

    .ld-problems__slider .swiper-slide:nth-child(n+5) {
        display: none;
    }

    .ld-problem {
        height: calc(21 * var(--ld-u));
        padding: calc(1.6 * var(--ld-u));
    }

    .ld-problem__title {
        margin-top: calc(0.5999 * var(--ld-u));
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-problem__text {
        margin-top: calc(0.7999 * var(--ld-u));
        font-size: calc(1.2001 * var(--ld-u));
        -webkit-line-clamp: 4;
    }

    .ld-problem__link {
        font-size: calc(1.3 * var(--ld-u));
    }

    .ld-shell .ld-problems__all {
        display: flex;
        margin-top: calc(2.3999 * var(--ld-u));
    }

    /* Результаты */

    .ld-results__plate {
        padding: calc(2 * var(--ld-u));
        border-radius: calc(2.3999 * var(--ld-u));
    }

    .ld-results .ld-section-head {
        flex-direction: column;
        gap: calc(2 * var(--ld-u));
    }

    .ld-results__controls {
        width: 100%;
        justify-content: flex-end;
    }

    .ld-result__compare {
        height: calc(30.0001 * var(--ld-u));
    }

    .ld-result__title {
        font-size: calc(2 * var(--ld-u));
    }

    /* Врачи */

    .ld-doctors .ld-section-head {
        flex-direction: column;
        gap: calc(2.3999 * var(--ld-u));
    }

    .ld-doctors__head .ld-doctors__all {
        display: none;
    }

    .ld-shell .ld-doctors__all--bottom {
        display: flex;
        width: 100%;
        margin-top: calc(2.3999 * var(--ld-u));
    }

    .ld-doctors__heading p {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-doctors__row {
        grid-template-columns: 1fr 1fr;
        gap: calc(1.2001 * var(--ld-u));
        margin-top: calc(3.2 * var(--ld-u));
    }

    .ld-doctor {
        height: auto;
        background: transparent;
        overflow: visible;
    }

    .ld-doctor__photo {
        position: relative;
        inset: auto;
        padding-top: calc(4 * var(--ld-u));
        border-radius: calc(2 * var(--ld-u));
        background: var(--ld-beige);
        overflow: hidden;
    }

    .ld-doctor__img {
        position: relative;
        inset: auto;
        width: 100%;
        height: calc(22 * var(--ld-u));
        border-radius: 0;
        object-fit: cover;
        object-position: top center;
    }

    .ld-doctor__shade {
        display: none;
    }

    .ld-doctor__chip {
        top: calc(1.2001 * var(--ld-u));
        left: calc(1.2001 * var(--ld-u));
        font-size: calc(1.0001 * var(--ld-u));
        padding: calc(0.5999 * var(--ld-u)) calc(1.0001 * var(--ld-u));
    }

    .ld-doctor__info {
        position: static;
        color: var(--ld-dark);
        padding-top: calc(1.2001 * var(--ld-u));
        transform: none;
        transition: none;
    }

    .ld-doctor:hover .ld-doctor__info,
    .ld-doctor:focus-within .ld-doctor__info {
        transform: none;
    }

    .ld-doctor__name {
        font-size: calc(2 * var(--ld-u));
    }

    .ld-doctor__role {
        color: var(--ld-text-2);
        font-size: calc(1.3 * var(--ld-u));
    }

    .ld-doctor__panel {
        position: relative;
        transform: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--ld-text-2);
    }

    .ld-doctor__actions {
        display: block;
    }

    .ld-shell .ld-doctor__btn {
        display: none;
    }

    .ld-shell .ld-doctor__more {
        color: var(--ld-dark);
        font-size: calc(1.4 * var(--ld-u));
        padding-top: calc(0.7999 * var(--ld-u));
    }

    /* Документы */

    .ld-documents {
        margin-top: calc(5.6 * var(--ld-u));
        padding: calc(5.6 * var(--ld-u)) 0;
    }

    .ld-documents__inner {
        gap: calc(2.3999 * var(--ld-u));
    }

    .ld-documents__text p {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-documents__pills {
        flex-direction: column;
        gap: calc(1.0001 * var(--ld-u));
    }

    .ld-shell .ld-doc-pill {
        width: 100%;
        min-height: calc(5.6 * var(--ld-u));
        justify-content: flex-start;
        font-size: calc(1.4999 * var(--ld-u));
    }

    /* Отзывы */

    .ld-reviews .ld-section-head {
        flex-direction: column;
        gap: calc(2.3999 * var(--ld-u));
    }

    .ld-reviews__controls {
        width: 100%;
        justify-content: flex-end;
    }

    .ld-reviews__controls .ld-link {
        display: none;
    }

    .ld-reviews__slider {
        margin-top: calc(3.2 * var(--ld-u));
    }

    .ld-review {
        flex-direction: column;
        min-height: 0;
    }

    .ld-review__author {
        flex: 0 0 auto;
        padding: calc(2.3999 * var(--ld-u));
    }

    .ld-review__name {
        font-size: calc(2 * var(--ld-u));
    }

    .ld-review__avatar {
        width: calc(16 * var(--ld-u));
        height: calc(16 * var(--ld-u));
        margin: calc(1.6 * var(--ld-u)) auto;
        font-size: calc(5.6 * var(--ld-u));
    }

    .ld-review__content {
        padding: calc(2.3999 * var(--ld-u));
    }

    .ld-review__p {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-review__result {
        font-size: calc(2 * var(--ld-u));
    }

    .ld-shell .ld-review__watermark {
        left: 50%;
        right: auto;
        top: 58%;
        width: calc(80 * var(--ld-u));
        max-width: none;
        transform: translate(-50%, -50%);
    }

    /* Блог */

    .ld-blog__head {
        align-items: flex-start;
        flex-direction: column;
        gap: calc(1.4 * var(--ld-u));
    }

    .ld-blog__controls {
        width: 100%;
        justify-content: flex-end;
    }

    .ld-blog__head-link {
        display: none;
    }

    .ld-blog__nav {
        display: inline-flex;
    }

    .ld-blog__slider {
        margin-top: calc(3.2 * var(--ld-u));
    }

    .ld-blog__grid {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }

    .ld-blog__slide {
        flex: 0 0 calc(27.6 * var(--ld-u));
        width: calc(27.6 * var(--ld-u));
        height: calc(43.4 * var(--ld-u));
    }

    .ld-shell .ld-blog-featured {
        flex: none;
        width: 100%;
        height: calc(43.4 * var(--ld-u));
        border-radius: calc(2 * var(--ld-u));
    }

    .ld-blog-featured__content {
        left: calc(2.4 * var(--ld-u));
        right: calc(2.4 * var(--ld-u));
        bottom: calc(2.4 * var(--ld-u));
    }

    .ld-blog-featured__tag {
        height: calc(3.2 * var(--ld-u));
        padding: 0 calc(1.4 * var(--ld-u));
        font-size: calc(1 * var(--ld-u));
    }

    .ld-blog-featured__title {
        margin-top: calc(1.4 * var(--ld-u));
        font-size: calc(1.8 * var(--ld-u));
        line-height: 1.35;
    }

    .ld-blog-featured__meta {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: calc(1.4 * var(--ld-u));
        margin-top: calc(1.4 * var(--ld-u));
    }

    .ld-blog-featured__author b {
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-blog-featured__author i {
        font-size: calc(1 * var(--ld-u));
    }

    .ld-blog-featured__meta .ld-link {
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-shell .ld-blog-item {
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: calc(1.6 * var(--ld-u));
        padding: calc(1.6 * var(--ld-u));
        border-radius: calc(2.4 * var(--ld-u));
    }

    .ld-blog-item__photo {
        flex: 0 0 calc(19 * var(--ld-u));
        width: 100%;
        height: calc(19 * var(--ld-u));
        border-radius: calc(1.6 * var(--ld-u));
    }

    .ld-blog-item__text {
        width: 100%;
    }

    .ld-blog-item__tag {
        height: calc(3.2 * var(--ld-u));
        padding: 0 calc(1.2 * var(--ld-u));
        font-size: calc(1 * var(--ld-u));
    }

    .ld-blog-item__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: calc(4.4 * var(--ld-u));
        margin-top: calc(1.2 * var(--ld-u));
        font-size: calc(1.6 * var(--ld-u));
        line-height: 1.35;
    }

    .ld-blog-item__author {
        margin-top: calc(1.4 * var(--ld-u));
        padding-bottom: 0;
        gap: calc(1 * var(--ld-u));
    }

    .ld-blog-item__author b {
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-blog-item__author i {
        font-size: calc(1 * var(--ld-u));
    }

    .ld-blog-item .ld-link {
        margin-top: calc(1.4 * var(--ld-u));
        font-size: calc(1.6 * var(--ld-u));
    }

    .ld-shell .ld-blog__all {
        display: inline-flex;
        margin-top: calc(2.8 * var(--ld-u));
        font-size: calc(1.6 * var(--ld-u));
    }

    /* FAQ */

    .ld-faq__aside p {
        font-size: calc(1.4999 * var(--ld-u));
    }

    .ld-faq__aside .ld-btn {
        width: 100%;
        margin-top: calc(2 * var(--ld-u));
    }

    .ld-faq__inner {
        gap: calc(2.3999 * var(--ld-u));
    }

    .ld-faq__aside {
        flex: 0 0 auto;
    }

    .ld-faq__question {
        padding: calc(1.8 * var(--ld-u)) calc(2 * var(--ld-u));
        font-size: calc(1.6999 * var(--ld-u));
    }

    .ld-faq__toggle {
        flex: 0 0 calc(3.6 * var(--ld-u));
        width: calc(3.6 * var(--ld-u));
        height: calc(3.6 * var(--ld-u));
    }

    .ld-faq__answer p {
        padding: 0 calc(2 * var(--ld-u)) calc(2 * var(--ld-u));
        font-size: calc(1.4999 * var(--ld-u));
    }

    /* CTA */

    .ld-cta {
        margin-top: 0;
    }

    .ld-cta__stage {
        padding: 0;
        margin-top: 0;
    }

    .ld-cta__card {
        padding: calc(2.3999 * var(--ld-u)) calc(2 * var(--ld-u));
        min-height: 0;
    }

    .ld-cta__title {
        margin-top: 0;
        font-size: calc(3.2 * var(--ld-u));
    }

    .ld-cta__title .ld-serif {
        font-size: calc(3.2 * var(--ld-u));
    }

    .ld-cta__subtitle {
        margin-top: calc(1.2001 * var(--ld-u));
        font-size: calc(1.6999 * var(--ld-u));
    }

    .ld-form--cta {
        flex-direction: column;
        align-items: stretch;
        margin-top: calc(2.3999 * var(--ld-u));
    }

    .ld-form--cta .ld-input,
    .ld-form--cta .ld-input--phone,
    .ld-form--cta .ld-btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .ld-shell .ld-cta__watermark:not(.ld-cta__watermark--mobile) {
        display: none;
    }

    .ld-shell .ld-cta__watermark--mobile {
        display: block;
        left: 50%;
        right: auto;
        top: auto;
        bottom: 0;
        width: calc(80 * var(--ld-u));
        max-width: none;
        transform: translateX(-50%);
        opacity: .5;
    }

    .ld-cta__portrait {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: calc(36 * var(--ld-u));
        margin-top: calc(2.3999 * var(--ld-u));
    }

    .ld-cta__chip {
        left: calc(4 * var(--ld-u));
        right: auto;
        bottom: calc(4.3999 * var(--ld-u));
    }

    .ld-cta__chip b {
        font-size: calc(1.4999 * var(--ld-u));
    }

    /* Подвал */

    .ld-footer {
        padding: calc(5.6 * var(--ld-u)) 0 calc(1.6 * var(--ld-u));
    }

    .ld-footer__panel {
        padding: calc(3.2 * var(--ld-u)) calc(2 * var(--ld-u)) calc(2.3999 * var(--ld-u));
        border-radius: calc(2 * var(--ld-u));
    }

    .ld-shell .ld-footer__watermark:not(.ld-footer__watermark--mobile) {
        display: none;
    }

    .ld-shell .ld-footer__watermark--mobile {
        display: block;
        width: calc(140 * var(--ld-u));
        max-width: none;
        top: 60%;
        bottom: auto;
        transform: translate(-50%, -50%);
    }

    .ld-footer__top {
        grid-template-columns: 1fr;
        gap: calc(2.8001 * var(--ld-u));
        padding-bottom: calc(2.8001 * var(--ld-u));
    }

    .ld-footer__logo img {
        width: calc(16 * var(--ld-u));
    }

    .ld-footer__address-title {
        font-size: calc(2 * var(--ld-u));
    }

    .ld-footer__callback-title {
        font-size: calc(2 * var(--ld-u));
    }

    .ld-form--footer .ld-input,
    .ld-form--footer .ld-input--phone,
    .ld-form--footer .ld-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .ld-footer__columns {
        grid-template-columns: 1fr 1fr;
        padding: calc(2.8001 * var(--ld-u)) 0;
        gap: calc(2.3999 * var(--ld-u)) calc(2 * var(--ld-u));
    }

    .ld-footer__column--contacts {
        grid-column: 1 / -1;
        order: -1;
    }

    .ld-footer__column--directions {
        grid-column: 1 / -1;
    }

    .ld-footer__direction-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: calc(2 * var(--ld-u));
        align-items: start;
        width: 100%;
    }

    .ld-footer__direction-links .ld-footer__link {
        break-inside: avoid;
    }

    .ld-footer__phone {
        font-size: calc(2.8001 * var(--ld-u));
    }

    .ld-footer__documents {
        grid-template-columns: 1fr;
        gap: calc(1.0001 * var(--ld-u));
        padding: calc(2 * var(--ld-u)) 0;
    }

    .ld-footer__doc {
        font-size: calc(1.3 * var(--ld-u));
    }

    .ld-footer__legal {
        grid-template-columns: 1fr;
        gap: calc(0.7999 * var(--ld-u));
        padding-top: calc(2 * var(--ld-u));
        font-size: calc(1.3 * var(--ld-u));
    }

    /* Cookie */

    .ld-cookie {
        left: calc(1.6 * var(--ld-u));
        right: calc(1.6 * var(--ld-u));
        bottom: calc(1.6 * var(--ld-u));
        flex-direction: column;
        align-items: flex-start;
        gap: calc(1.4 * var(--ld-u));
        padding: calc(2 * var(--ld-u));
    }

    .ld-cookie__text {
        font-size: calc(1.3 * var(--ld-u));
        padding-right: calc(2 * var(--ld-u));
    }

    .ld-cookie__btn {
        width: 100%;
        margin-left: 0;
    }

        /* Модалка */

    .ld-modal {
        padding: calc(1.6 * var(--ld-u));
    }

    .ld-modal__dialog {
        padding: calc(3.2 * var(--ld-u)) calc(2 * var(--ld-u)) calc(2.3999 * var(--ld-u));
    }

    .ld-modal__title {
        font-size: calc(2.3999 * var(--ld-u));
    }
}

@media (prefers-reduced-motion: reduce) {
    .ld-hero__line,
    .ld-hero__photo,
    .ld-promo-card,
    .ld-problems__slider .swiper-slide {
        animation: none;
    }

    [data-ld-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Анимация смены слайда акций */
.ld-promo-slide__text {
    opacity: 0;
    transform: translateY(calc(2 * var(--ld-u)));
    transition: opacity .45s ease, transform .5s ease;
}

.ld-promo-slide__photo {
    opacity: 0;
    transition: opacity .6s ease;
}

.swiper-slide-active .ld-promo-slide__text {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .ld-promo-slide__photo {
    opacity: 1;
}

.swiper-slide-active .ld-promo-slide__price {
    animation: ldPriceRoll .5s cubic-bezier(.22, .61, .36, 1) .15s both;
}

@keyframes ldPriceRoll {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка формы: превращение в галочку */
.ld-shell .ld-btn.is-success {
    pointer-events: none;
}

.ld-btn__check {
    position: relative;
    display: inline-block;
    width: calc(1.6 * var(--ld-u));
    height: calc(1.6 * var(--ld-u));
}

.ld-btn__check::before {
    content: "";
    position: absolute;
    left: calc(0.3 * var(--ld-u));
    top: calc(0.45 * var(--ld-u));
    width: calc(0.9 * var(--ld-u));
    height: calc(0.45 * var(--ld-u));
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    animation: ldCheck .4s ease forwards;
}

@keyframes ldCheck {
    to {
        transform: rotate(-45deg) scale(1);
    }
}

/* Просмотр документа: затемнение + масштаб 0.96 → 1 */
.ld-doc-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(2.3998 * var(--ld-u));
}

.ld-doc-modal[hidden] {
    display: none;
}

.ld-doc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(33, 53, 76, 0);
    transition: background .25s ease;
}

.ld-doc-modal.is-open .ld-doc-modal__overlay {
    background: rgba(33, 53, 76, .55);
}

.ld-doc-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(90vw, calc(80 * var(--ld-u)));
    height: min(85vh, calc(90 * var(--ld-u)));
    border-radius: calc(2.3998 * var(--ld-u));
    background: #fff;
    overflow: hidden;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .25s ease, transform .25s ease;
}

.ld-doc-modal.is-open .ld-doc-modal__dialog {
    opacity: 1;
    transform: scale(1);
}

.ld-doc-modal__frame {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(5.6 * var(--ld-u));
    bottom: 0;
    width: 100%;
    height: calc(100% - calc(5.6 * var(--ld-u)));
    border: 0;
    background: #fff;
}

.ld-doc-modal__close {
    position: absolute;
    top: calc(1.2 * var(--ld-u));
    right: calc(1.2 * var(--ld-u));
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(4 * var(--ld-u));
    height: calc(4 * var(--ld-u));
    border-radius: 50%;
    background: var(--ld-beige);
    color: var(--ld-dark);
}

/* ── Базовые анимации появления ─────────────────────────── */

@keyframes ldLineUp {
    from {
        opacity: 0;
        transform: translateY(calc(4 * var(--ld-u)));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ldFadeUp {
    from {
        opacity: 0;
        transform: translateY(calc(1.4 * var(--ld-u)));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ldZoom {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

.ld-hero__line {
    display: block;
    animation: ldLineUp .6s cubic-bezier(.22, .61, .36, 1) both;
    animation-delay: var(--ld-delay, 0ms);
}

.ld-hero__photo {
    animation: ldZoom 1200ms ease-out both;
}

.ld-promo-card {
    animation: ldFadeUp .4s ease backwards;
}

.ld-hero__promos .swiper-slide:nth-child(1) .ld-promo-card { animation-delay: 400ms; }
.ld-hero__promos .swiper-slide:nth-child(2) .ld-promo-card { animation-delay: 500ms; }
.ld-hero__promos .swiper-slide:nth-child(3) .ld-promo-card { animation-delay: 600ms; }

.ld-problems__slider .swiper-slide {
    animation: ldFadeUp .4s ease backwards;
}

.ld-problems__slider .swiper-slide:nth-child(2) { animation-delay: 60ms; }
.ld-problems__slider .swiper-slide:nth-child(3) { animation-delay: 120ms; }
.ld-problems__slider .swiper-slide:nth-child(4) { animation-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
    .ld-mega,
    .ld-header__bar,
    .ld-header__pill,
    .ld-doc-modal__overlay,
    .ld-doc-modal__dialog,
    .ld-faq__answer,
    .ld-direction__fill,
    .ld-directions__slider .swiper-wrapper,
    .ld-directions__slider .swiper-slide,
    .ld-direction,
    .ld-doctor__panel,
    .ld-doctor__img,
    .ld-promo-slide__text,
    .ld-promo-slide__photo {
        transition: none !important;
    }

    .ld-partners__track,
    .ld-promo-slide__price,
    .ld-btn__check::before {
        animation: none !important;
    }

    .ld-btn__check::before {
        transform: rotate(-45deg) scale(1);
    }
}


/* Shell roots must not stretch to viewport height. */
.ld-shell {
    min-height: 0;
}
.ld-shell.ld-modal {
    background: transparent;
}
.ld-shell button {
    font-family: var(--ld-font) !important;
}
