:root{--ease:cubic-bezier(.22,1,.36,1)}
[hidden]{display:none!important}body:has(dialog[open]){overflow:hidden}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #329cef;outline-offset:5px}button{transition:filter .18s,box-shadow .2s,background-color .18s}button:active{filter:brightness(.88)}.cta{isolation:isolate}.cta:focus-visible{box-shadow:0 0 12px #0b7cc5,0 0 28px #0b7cc560}.cta:active{box-shadow:0 0 12px #0b7cc5,0 0 28px #0b7cc560}.arrow-control{z-index:2}.arrow-control+div[data-name="Стрелка"]{z-index:3;pointer-events:none}.skip-link{position:fixed;z-index:1000;top:8px;left:8px;padding:12px;background:white;transform:translateY(-160%)}.skip-link:focus{transform:none}
@media(hover:hover) and (pointer:fine){button:hover{filter:brightness(.95)}.cta:hover{box-shadow:0 0 12px #0b7cc5,0 0 28px #0b7cc560}.nav-link:hover{color:#125fac}.play-action:hover{box-shadow:0 0 0 9px #0965a220;scale:1.06}}
.play-action{z-index:2;overflow:visible;isolation:isolate;transition:scale .18s,box-shadow .18s;background:#125fac;border-radius:50%;display:grid;place-items:center;color:white}.play-action::before{content:'';position:absolute;inset:-7px;border-radius:inherit;background:#0965a232;z-index:-1;animation:breathe 2400ms ease-in-out infinite;animation-play-state:paused}.play-action.in-view::before{animation-play-state:running}.play-action:focus-visible{box-shadow:0 0 0 9px #0965a220}.play-action img{pointer-events:none}.play-action span{font-size:20px;margin-left:3px}@keyframes breathe{50%{transform:scale(1.16);opacity:.2}}
dialog{border:0;padding:32px;border-radius:24px;color:#102e4c;background:white;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:auto}dialog::backdrop{background:#082957d9;backdrop-filter:blur(7px)}.contact-dialog{width:450px}.contact-dialog h2{font-size:28px;line-height:1.15;margin:12px 32px 20px 0}.contact-dialog p{font-size:17px;line-height:1.5;margin:12px 0}.dialog-call{display:block;background:#125fac;color:white;padding:16px;border-radius:28px;text-align:center;font-size:22px;margin:24px 0 12px}.close-dialog{position:absolute;right:14px;top:10px;width:40px;height:40px;border-radius:50%;font-size:32px;line-height:1;z-index:5}.contact-address{color:#46647d}.menu-dialog{margin:0 0 0 auto;border-radius:0;width:min(400px,100%);height:100dvh;max-height:none;padding:70px 24px 30px}.menu-dialog nav{display:grid;gap:24px;font-size:25px;margin:20px 0 40px}.video-dialog{width:min(1100px,calc(100vw - 32px));padding:0;background:transparent;overflow:visible;max-height:none}.video-dialog .close-dialog{top:-46px;right:0;color:white;background:#ffffff20}.video-dialog video{width:100%;height:auto;display:block;border-radius:12px}.video-unavailable{padding:32px;background:white;border-radius:20px;font-size:18px;line-height:1.5}.video-mount{min-width:0}.video-unavailable h2{font-size:26px;margin-bottom:16px}.video-unavailable a{display:inline-block;color:#125fac;text-decoration:underline;margin-top:16px}.section [data-name='Навигация по историям']{overflow-x:auto;scroll-snap-type:x mandatory}.story-choice{scroll-snap-align:start;cursor:pointer}.story-choice:focus-visible{outline-offset:-3px}.story-choice>[data-name="Обложка"]{border:0;pointer-events:none}.story-choice[aria-current=true]>[data-name="Обложка"]{border:calc(var(--u) * 2) solid #006ac5}.story-choice .play-action{pointer-events:none}.section [data-name='Отзывы · горизонтальная прокрутка']{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}.section [data-name='Отзывы · горизонтальная прокрутка']>*{scroll-snap-align:start}.section[data-carousel]{touch-action:pan-y}.section [data-counter]{font-variant-numeric:tabular-nums}.section-bg{width:100%;overflow:clip}.section-bg>.section{margin-inline:auto}.mobile{width:100%;--u:min(calc(100vw / 360),1.5px)}.mobile .section{max-width:540px}.desktop .section{max-width:1920px}.desktop{max-width:none!important}.cookie-notice{position:fixed;left:20px;bottom:20px;z-index:10;display:flex;align-items:center;gap:18px;width:min(560px,calc(100vw - 40px));padding:18px 46px 18px 20px;border:1px solid #c5d9eb;border-radius:18px;background:white;box-shadow:0 8px 35px #08295722;font-size:14px;line-height:1.4}.cookie-notice a{color:#125fac;text-decoration:underline}.cookie-notice .accept{padding:12px 20px;border-radius:24px;background:#125fac;color:white}.cookie-notice .close-cookie{position:absolute;right:7px;top:5px;width:28px;height:28px;font-size:24px}.cookie-notice p{flex:1}.motion-paused .play-action::before{animation-play-state:paused}
@media(max-width:599px){dialog{padding:24px}.contact-dialog h2{font-size:25px}.cookie-notice{left:12px;bottom:12px;width:calc(100vw - 24px);padding:14px 34px 14px 16px;gap:10px;font-size:12px}.cookie-notice .accept{padding:10px 12px}.video-dialog{padding:0}.video-unavailable{padding:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.play-action:hover{scale:1}}

.section [data-name="Отзывы · горизонтальная прокрутка"]{touch-action:pan-y}

.play-action+div[data-name="Play"]{z-index:3;pointer-events:none}

/* Restored testimonial photos are already cropped frames, not full vertical video stills. */
.section-reviews [data-name="Исходный кадр пациента"]:has(>img[src*="review-"]),
.section-reviews [data-name="Фото пациента · исходник"]:has(>img[src*="review-"]){inset:0;width:100%;height:100%;transform:none;}
.section-reviews [data-name="Исходный кадр пациента"]>img[src*="review-"],
.section-reviews [data-name="Фото пациента · исходник"]>img[src*="review-"]{object-fit:cover;object-position:center;}
.section [data-name="Навигация по историям"]{overflow-y:hidden}

/* Match CTA glow on testimonial thumbnails; keep the active photo border. */
.story-choice>[data-name="Обложка"]{transition:box-shadow .2s;z-index:1;}
@media(hover:hover) and (pointer:fine){.story-choice:hover>[data-name="Обложка"]{box-shadow:0 0 12px #0b7cc5,0 0 28px #0b7cc560,inset 0 0 8px #0b7cc560;}}
.story-choice:focus-visible>[data-name="Обложка"],.story-choice:active>[data-name="Обложка"]{box-shadow:0 0 12px #0b7cc5,0 0 28px #0b7cc560,inset 0 0 8px #0b7cc560;}
@media(min-width:1200px){.desktop .section [data-name="Навигация по историям"]{overflow:visible;}}

/* Yandex reviews: move the actual cards, keeping the Figma slot geometry. */
.yandex-viewport{position:absolute;left:0;top:calc(var(--u) * 56);width:calc(var(--u) * 1232);height:calc(var(--u) * 179);overflow:hidden;touch-action:pan-y;user-select:none}
.yandex-row{display:flex;gap:calc(var(--u) * 25);height:100%}
.yandex-row>*{position:relative;left:auto;top:auto;flex:0 0 calc(var(--u) * 394)}
.yandex-row :focus-visible{outline-offset:-3px}


/* Full Yandex reviews: Figma 137:2, 137:17, 137:31. */
.read-review{padding:0 calc(var(--u) * 25) 0 0;background:transparent;border:0;text-align:left;cursor:pointer;min-height:calc(var(--u) * 28);z-index:1;border-radius:4px}
.read-review-arrow{pointer-events:none;z-index:2}
.read-review:focus-visible{outline-offset:3px}
.full-review-dialog{box-sizing:border-box;width:520px;padding:25px;border-radius:22px;color:#092d59;max-height:calc(100dvh - 32px);overscroll-behavior:contain;font-family:Gilroy,sans-serif}
.full-review-header{display:flex;align-items:center;gap:12px;margin:0 0 12px;position:relative;min-height:44px}
.full-review-initial{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#dbf2ff;font-size:17px;font-weight:700}
.full-review-brand{display:flex;align-items:center;gap:4px}
.full-review-brand img:first-child{width:10px;height:auto}
.full-review-brand img:last-child{width:106px;height:auto}
.full-review-dialog .close-dialog{position:static;margin-left:auto;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#eaf5fc;font-size:26px;color:#092d59;display:grid;place-items:center}
.full-review-text{white-space:pre-wrap;font-size:16px;line-height:1.35;font-weight:400;overflow-wrap:break-word}
.full-review-text strong{font-weight:600}
@media(hover:hover) and (pointer:fine){.read-review:hover{color:#006ac5}.full-review-dialog .close-dialog:hover{background:#d4ebfb;box-shadow:0 0 12px #0b7cc540}}
@media(max-width:540px){.full-review-dialog{padding:20px}.full-review-header{gap:10px}}


/* Requested arrow motion: northeast to east, clockwise 45 degrees. */
button [data-name="↗"],a [data-name="↗"],.read-review-arrow,.turn-arrow{transform-origin:center;rotate:0deg;transition:rotate .2s var(--ease);pointer-events:none}
button:focus-visible [data-name="↗"],a:focus-visible [data-name="↗"],button:focus-visible .turn-arrow,a:focus-visible .turn-arrow,.read-review:focus-visible~.read-review-arrow{rotate:45deg}
@media(hover:hover) and (pointer:fine){button:hover [data-name="↗"],a:hover [data-name="↗"],button:hover .turn-arrow,a:hover .turn-arrow,.read-review:hover~.read-review-arrow{rotate:45deg}}


/* Enhanced case portraits are already cropped to the visible frame. */
.result-patient img[src*="-enhanced.webp"],.result-patient img[src$="review-natalya.webp"]{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}


/* Shared neon feedback for every enabled button and button-shaped link. */
:root{--button-glow:0 0 12px #0b7cc5,0 0 28px #0b7cc560}
.contact-action,.dialog-call,[role="button"]:not(.story-choice){transition:box-shadow .2s var(--ease),filter .18s;cursor:pointer}
.contact-action>*{pointer-events:none}
body :is(.cta:not(:disabled),.video-text,.arrow-control,.play-action,[data-action="requisites"],.contact-action,.dialog-call,.accept,.full-review-dialog .close-dialog,.video-dialog .close-dialog):is(:focus-visible,:active){box-shadow:var(--button-glow)}
@media(hover:hover) and (pointer:fine){body :is(.cta:not(:disabled),.video-text,.arrow-control,.play-action,[data-action="requisites"],.contact-action,.dialog-call,.accept,.full-review-dialog .close-dialog,.video-dialog .close-dialog):hover{box-shadow:var(--button-glow)}}
.contact-action:active,.dialog-call:active{filter:brightness(.88)}


/* Keep the arrow centered independently of glyph metrics and rotation. */
[data-action="requisites"] .turn-arrow{top:50%;translate:0 -50%;width:calc(var(--u) * 24);height:calc(var(--u) * 24);line-height:0;display:block}
[data-action="requisites"] .turn-arrow svg{display:block;width:100%;height:100%}
/* Sticky navigation retains its original height in normal document flow. */
.section-bg:has(>.section-header){position:sticky;top:0;z-index:20;overflow:visible;background:#fff}
.mobile .section{scroll-margin-top:calc(var(--u) * 80 + 16px)}
.desktop .section{scroll-margin-top:calc(var(--u) * 84 + 16px)}


/* Mobile anesthesia card: keep the description close to its heading. */
.mobile [data-node-id="70:37"]{top:calc(var(--u) * 48)}


/* Mobile carousels remain scrollable without a visible scrollbar. */
.mobile .section [data-name="Отзывы · горизонтальная прокрутка"],.mobile .section [data-name="Навигация по историям"]{scrollbar-width:none;-ms-overflow-style:none}
.mobile .section [data-name="Отзывы · горизонтальная прокрутка"]::-webkit-scrollbar,.mobile .section [data-name="Навигация по историям"]::-webkit-scrollbar{display:none;width:0;height:0}


/* Mobile technology block: intentional heading break and compact badge. */
.mobile [data-node-id="70:199"] .f240::before{content:"\A";white-space:pre}
.mobile [data-node-id="70:200"]{width:calc(var(--u) * 252)}


/* Mobile doctors: one visible card; all five records stay in the carousel. */
.mobile .section-doctors{height:calc(var(--u) * 600)}
.mobile .section-doctors>:is([data-node-id="70:156"],[data-node-id="70:157"],[data-node-id="70:160"],[data-node-id="70:163"],[data-node-id="70:164"],[data-node-id="70:165"]){display:none}


.mobile .section-technology [data-node-id="70:210"],.mobile .section-technology [data-node-id="70:214"]{border-radius:calc(var(--u) * 10)}


/* Long doctor specialty needs a second line without overlapping the name. */
.mobile .section-doctors.doctor-long-role{height:calc(var(--u) * 624)}
.mobile .doctor-long-role [data-node-id="70:152"]{top:calc(var(--u) * 526.58)}
.mobile .doctor-long-role [data-node-id="70:153"]{top:calc(var(--u) * 559.58)}
/* Center the complete heading/description group inside the comfort card. */
.mobile .comfort-text-card{display:flex;flex-direction:column;justify-content:center;gap:calc(var(--u) * 8);padding:0 calc(var(--u) * 16);box-sizing:border-box}
.mobile .comfort-text-card>[data-node-id]{position:static;width:100%;margin:0;flex:none}


/* Warranty row: center the text and checkmark between its two rules. */
.mobile [data-node-id="70:283"],.mobile [data-node-id="70:279"]{top:calc(var(--u) * 719.48);translate:0 -50%}


.mobile [data-node-id="70:307"]{top:calc(var(--u) * 180.4015);translate:0 -50%}

/* Mobile QA: measure against the available width, including desktop scrollbars. */
.mobile{container-type:inline-size}
.mobile .section{--u:min(calc(100cqw / 360),1.5px)}
.mobile [data-node-id="70:200"]{top:calc(var(--u) * 174)}
.mobile [data-node-id="70:201"]{top:calc(var(--u) * 186)}
/* Three-line consultation heading stays in flow with its CTA. */
.mobile [data-node-id="70:357"]{height:auto;display:flex;flex-direction:column;gap:calc(var(--u) * 16);padding:calc(var(--u) * 16)}
.mobile [data-node-id="70:357"]>[data-node-id]{position:relative;top:auto;left:auto;width:100%;flex:none}
.mobile [data-node-id="70:362"]{top:calc(var(--u) * 230.75)}
.mobile .section-consultation-price{height:calc(var(--u) * 417.44)}
/* Small-screen text keeps its font size and gains the required room. */
.mobile [data-node-id="70:255"]{height:auto;min-height:calc(var(--u) * 69);padding:calc(var(--u) * 10)}
.mobile [data-node-id="70:256"]{position:relative;inset:auto;width:100%}
@media(max-width:350px){
.mobile .section-footer{height:calc(var(--u) * 594 + 16px)}
.mobile .section-footer>:is([data-node-id="70:424"],[data-node-id="70:425"],[data-node-id="70:426"],[data-node-id="70:427"],[data-node-id="70:430"],[data-node-id="70:431"]){translate:0 14px}
}
/* Hero offer: reserve separate columns for the service list and free-treatment label. */
.mobile .f49{top:calc(var(--u) * 8);height:calc(var(--u) * 85)}
.mobile .f50{top:calc(var(--u) * 17);height:calc(var(--u) * 68)}
.mobile .f51{top:50%;translate:-50% -50%}
.mobile :is(.f54,.f57,.f58){width:calc(var(--u) * 175);white-space:normal}
.mobile .f54{top:calc(var(--u) * 14)}
.mobile .f57{top:calc(var(--u) * 46)}
.mobile .f58{top:calc(var(--u) * 67)}
.mobile .section-doctors>:is([data-node-id="70:144"],[data-node-id="70:147"]){left:auto;right:calc(var(--u) * 16);min-width:132px}
.mobile .f251{height:auto;min-height:calc(var(--u) * 70);padding:calc(var(--u) * 10);display:flex;align-items:center}
.mobile .f252{position:static;width:100%;margin:0}
.mobile .hero-service-list{position:absolute;left:calc(var(--u) * 26);top:50%;translate:0 -50%;width:calc(var(--u) * 175);display:flex;flex-direction:column;gap:4px}
.mobile .hero-service-list ul{position:static;width:100%;padding-left:calc(var(--u) * 10)}
.mobile .hero-service-list li{list-style-position:outside;margin:0}
/* Mobile review navigation: four photo selectors, always visible in one row. */
.mobile .section-reviews{height:calc(var(--u) * 600)}
.mobile .section [data-name="Навигация по историям"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(var(--u) * 8);height:auto;overflow:visible;scroll-snap-type:none}
.mobile .story-choice{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:4/3;border-radius:calc(var(--u) * 9);scroll-snap-align:none}
.mobile .story-choice>:is([data-name="Кадрирование обложки"],[data-name="Обложка"]){inset:0;width:100%;height:100%}
.mobile .story-choice [data-name="Фото пациента · исходник"]{inset:0;width:100%;height:100%;transform:none}
.mobile .story-choice [data-name="Фото пациента · исходник"]>img{width:100%;height:100%;object-fit:cover;object-position:center}
.mobile .story-choice>:is(p,.play-action,[data-name="Play"]){display:none}
.mobile .story-choice:first-child [data-name="Фото пациента · исходник"]>img{object-position:center 28%}

/* Text-only actions stay transparent; the arrow shares the text row. */
.read-review{display:inline-flex;align-items:center;gap:calc(var(--u) * 10);padding:0;width:max-content;max-width:100%;white-space:nowrap}
body .read-review:is(:hover,:focus-visible,:active){background:transparent;box-shadow:none}
.read-review .read-review-arrow{position:static;display:block;flex:0 0 auto;width:1em;height:1em;line-height:0;color:inherit}
.read-review-arrow svg{display:block;width:100%;height:100%}
.read-review:focus-visible .read-review-arrow{rotate:45deg}
@media(hover:hover) and (pointer:fine){.read-review:hover .read-review-arrow{rotate:45deg}}

/* Consultation banner grows with wrapped heading and centers the content. */
.desktop .f821{height:auto;min-height:calc(var(--u) * 127);top:50%;translate:0 -50%;display:flex;align-items:center;gap:calc(var(--u) * 44);padding:calc(var(--u) * 24) calc(var(--u) * 27)}
.desktop .f822{position:static;flex:0 0 calc(var(--u) * 413);margin:0}
.desktop .f823{position:relative;top:auto;left:auto;flex:none}

/* Results heading aligned with the patient photo (desktop). */
.desktop [data-node-id="70:664"]{text-align:left}

/* Shared content grid: 84/1440 desktop and 16/360 mobile.
   Scoped edge corrections: backgrounds and decorative artwork stay full bleed. */
.desktop{--content-gutter:calc(var(--u) * 84);--content-width:calc(var(--u) * 1272)}
.mobile{--content-gutter:calc(var(--u) * 16);--content-width:calc(var(--u) * 328)}
.desktop [data-node-id="70:466"],.desktop [data-node-id="70:480"],.desktop [data-node-id="70:481"],.desktop [data-node-id="70:488"],.desktop [data-node-id="70:489"],.desktop [data-node-id="70:490"],.desktop [data-node-id="70:537"],.desktop [data-node-id="70:538"],.desktop [data-node-id="70:539"],.desktop [data-node-id="70:556"],.desktop [data-node-id="70:625"],.desktop [data-node-id="70:632"],.desktop [data-node-id="70:633"],.desktop [data-node-id="70:641"],.desktop [data-node-id="70:642"],.desktop [data-node-id="70:643"],.desktop [data-node-id="70:664"],.desktop [data-node-id="70:665"],.desktop [data-node-id="70:681"],.desktop [data-node-id="70:682"],.desktop [data-node-id="70:699"],.desktop [data-node-id="70:700"],.desktop [data-node-id="70:702"],.desktop [data-node-id="70:710"],.desktop [data-node-id="70:753"],.desktop [data-node-id="70:754"]{left:calc(var(--u) * 84)}
.desktop [data-node-id="70:470"]{left:calc(var(--u) * 1150)}
.desktop [data-node-id="70:494"]{left:calc(var(--u) * 1045)}
.desktop [data-node-id="70:517"],.desktop [data-node-id="70:523"]{left:calc(var(--u) * 949)}
.desktop [data-node-id="70:513"]{left:calc(var(--u) * 882)}
.desktop [data-node-id="70:539"],.desktop [data-node-id="70:556"]{width:calc(var(--u) * 1272)}
.desktop [data-node-id="70:587"]{left:var(--content-gutter);right:var(--content-gutter)}
.desktop .f572{left:auto;right:0}
.desktop .story-choice{flex:1;min-width:0}
.desktop .yandex-viewport{width:var(--content-width)}
.desktop .yandex-row>*{flex-basis:calc((var(--content-width) - var(--u) * 50) / 3)}
.desktop .f587{left:calc(var(--u) * 984)}
.desktop .f588{left:calc(var(--u) * 1032)}
.desktop .f589{left:calc(var(--u) * 1176)}
.desktop .f590{left:calc(var(--u) * 1194)}
.desktop .f591{left:calc(var(--u) * 1228)}
.desktop .f592{left:calc(var(--u) * 1246)}
.desktop [data-node-id="70:626"],.desktop [data-node-id="70:627"],.desktop [data-node-id="70:628"]{left:calc(var(--u) * 851)}
.desktop [data-node-id="70:634"],.desktop [data-node-id="70:637"]{left:calc(var(--u) * 439)}
.desktop [data-node-id="70:640"]{left:calc(var(--u) * 99)}
.desktop [data-node-id="70:646"],.desktop [data-node-id="70:649"],.desktop [data-node-id="70:656"],.desktop [data-node-id="70:657"]{left:calc(var(--u) * 825)}
.desktop [data-node-id="70:650"],.desktop [data-node-id="70:653"]{left:calc(var(--u) * 1180)}
.desktop [data-node-id="70:658"]{left:calc(var(--u) * 1102)}
.desktop [data-node-id="70:659"]{left:calc(var(--u) * 1120)}
.desktop [data-node-id="70:660"]{left:calc(var(--u) * 1188)}
.desktop [data-node-id="70:661"]{left:calc(var(--u) * 1312)}
.desktop [data-node-id="70:662"]{left:calc(var(--u) * 1330)}
.desktop [data-node-id="70:641"],.desktop [data-node-id="70:642"]{width:calc(var(--u) * 542)}
.desktop [data-node-id="70:656"],.desktop [data-node-id="70:657"]{width:calc(var(--u) * 531)}
.desktop [data-node-id="70:666"],.desktop [data-node-id="70:667"],.desktop [data-node-id="70:668"]{left:calc(var(--u) * 996)}
.desktop [data-node-id="70:668"]{width:calc(var(--u) * 360)}
.desktop [data-node-id="70:667"]{width:calc(var(--u) * 360)}
.desktop [data-node-id="70:686"]{left:calc(var(--u) * 536)}
.desktop [data-node-id="70:690"]{left:calc(var(--u) * 988)}
.desktop [data-node-id="70:701"]{left:calc(var(--u) * 101)}
.desktop [data-node-id="70:712"]{left:calc(var(--u) * 81)}
.desktop [data-node-id="70:731"],.desktop [data-node-id="70:733"]{left:calc(var(--u) * 1062)}
.desktop [data-node-id="70:789"]{width:calc(var(--u) * 810)}
.desktop [data-node-id="70:767"]{left:calc(var(--u) * 975)}
.desktop [data-node-id="70:768"],.desktop [data-node-id="70:769"],.desktop [data-node-id="70:770"]{width:calc(var(--u) * 411)}
.desktop [data-node-id="70:769"],.desktop [data-node-id="70:770"]{width:calc(var(--u) * 562)}
.desktop [data-node-id="70:866"]{left:calc(var(--u) * 948)}
.desktop [data-node-id="70:867"]{left:calc(var(--u) * 972)}
.desktop [data-node-id="70:868"]{left:calc(var(--u) * 973)}
.desktop [data-node-id="70:870"]{width:calc(var(--u) * 870)}
.desktop [data-node-id="70:888"],.desktop [data-node-id="70:894"]{left:calc(var(--u) * 1020)}
.desktop [data-node-id="70:900"]{padding-left:var(--content-gutter);padding-right:var(--content-gutter)}
.desktop [data-node-id="70:913"]{width:calc(var(--u) * 718)}
.desktop [data-node-id="70:917"]{left:auto;right:var(--content-gutter)}
.desktop [data-node-id="70:927"]{left:calc(var(--u) * 1069)}

/* Three-line previews; full content remains in the accessible review dialog. */
.section-yandex .review-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:auto;max-height:3.6em;line-height:1.2;text-overflow:ellipsis}

/* Mobile spacing corrections, 20 November 2026. Desktop remains unchanged. */
@media(max-width:1199px){
 .mobile .f48 .f49{inset:calc(var(--u)*10);width:auto;height:auto}
 .mobile .f48 .f50{top:calc(var(--u)*18);bottom:calc(var(--u)*18);height:auto}
 .mobile #mobile-clinic{height:auto;padding:calc(var(--u)*26) calc(var(--u)*16) 0;display:flex;flex-direction:column;gap:calc(var(--u)*16)}
 .mobile #mobile-clinic> :is(.f69,.f73,.f76,.f90,.f95,.f98,.f99,.f102){position:relative;top:auto;left:auto;width:100%;flex-shrink:0}
 .mobile #mobile-clinic>.f69,.mobile #mobile-clinic>.f73{height:auto}
 .mobile #mobile-clinic>.f76{margin-top:calc(var(--u)*10)}
 .mobile #mobile-clinic .f85{left:calc(var(--u)*132);top:calc(var(--u)*211);width:calc(var(--u)*100);font-size:calc(var(--u)*10.5);line-height:1.15;white-space:nowrap}
 .mobile #mobile-clinic .f86{left:calc(var(--u)*132);top:calc(var(--u)*226);width:calc(var(--u)*100);font-size:calc(var(--u)*10);line-height:1.15}
 .mobile #mobile-clinic>.f102{width:calc(100% + var(--u)*32);margin-left:calc(var(--u)*-16)}
 .mobile .doctor-mobile-badges{position:absolute;right:calc(var(--u)*28);top:calc(var(--u)*438.62);transform:translateY(-100%);display:flex;flex-direction:column;gap:calc(var(--u)*5);width:calc(var(--u)*133)}
 .mobile .doctor-mobile-badges>.f187,.mobile .doctor-mobile-badges>.f190{position:relative;left:auto;top:auto;width:100%;flex-shrink:0}
 .mobile #mobile-complex{height:auto;padding:calc(var(--u)*26) calc(var(--u)*16);display:flex;flex-direction:column;gap:calc(var(--u)*14)}
 .mobile #mobile-complex>.f227{position:relative;left:auto;top:auto;width:100%;height:auto;margin-bottom:calc(var(--u)*2)}
 .mobile #mobile-complex>:is(.f229,.f233,.f235){position:relative;left:auto;top:auto;width:100%;height:auto;padding:calc(var(--u)*16) calc(var(--u)*20) calc(var(--u)*20);display:flex;flex-direction:column;gap:calc(var(--u)*16)}
 .mobile #mobile-complex :is(.f230,.f231,.f234,.f236){position:static;width:100%;height:auto}
 .mobile #mobile-complex .f232{position:relative;left:auto;top:auto;order:-1;align-self:center;max-width:100%;flex-shrink:0}
 .mobile #mobile-prices{height:auto;padding:calc(var(--u)*26) calc(var(--u)*16);display:flex;flex-direction:column;gap:calc(var(--u)*14)}
 .mobile #mobile-prices>:is(.f341,.f342,.f344,.f368,.f381){position:relative;left:auto;top:auto;width:100%;flex-shrink:0}
 .mobile #mobile-prices>.f341{height:auto;margin-bottom:calc(var(--u)*10)}
 .mobile #mobile-prices>.f342{height:auto;padding:calc(var(--u)*14)}
 .mobile #mobile-prices .f343{position:static;translate:none;width:100%;height:auto}
 .mobile #mobile-prices :is(.f352,.f375){left:calc(var(--u)*19.11);top:calc(var(--u)*173.55);width:calc(var(--u)*214.155);height:calc(var(--u)*27.068);line-height:normal;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:max(12px,calc(var(--u)*13.5))}
 .mobile #mobile-prices .f381 .f375{width:calc(var(--u)*221)}
 .mobile #mobile-prices :is(.f357,.f377){display:flex;align-items:center;padding:calc(var(--u)*10)}
 .mobile #mobile-prices :is(.f358,.f378,.f384){position:static;width:100%;height:auto}
 .mobile #mobile-appointment{height:calc(var(--u)*1031.96)}
 .mobile #mobile-appointment>.f432{top:calc(var(--u)*949.16)}
 .mobile #mobile-appointment>.f435{top:calc(var(--u)*1007.96)}
}

@media(max-width:1199px){.mobile #mobile-prices :is(.f352,.f375)>:first-child{margin-right:.25em}}

/* Tomograph-to-comfort wave matches the following section background. */
.desktop [data-node-id="70:751"]{background:#f5f9fc;mask:url('assets/1693a.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/1693a.svg') center/100% 100% no-repeat}
.mobile [data-node-id="70:257"]{background:#f5f9fc;mask:url('assets/6d23a.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/6d23a.svg') center/100% 100% no-repeat}
[data-node-id="70:751"]>img,[data-node-id="70:257"]>img{visibility:hidden}

/* Desktop doctor cards: align photo and CTA with the card edge. */
.desktop .section-doctors :is(.f614,.f629,.f625,.f628){width:calc(var(--u)*531)}
.desktop .section-doctors :is(.f617,.f620){left:calc(var(--u)*418)}
.desktop .section-doctors :is(.f630,.f631){left:calc(var(--u)*1159)}
.desktop .section-doctors :is(.f625,.f628) [data-name="↗"]{left:auto;right:calc(var(--u)*27)}
/* Fill the mobile poster frame while keeping the patient's crown in view. */
.mobile .section-reviews [data-name="Исходный кадр пациента"]{inset:0;width:100%;height:100%;transform:none}
.mobile .section-reviews [data-review-poster="0"]{object-fit:cover;object-position:50% 29%}
.desktop .section-doctors :is(.f614,.f629) img{height:auto;width:100%}

/* Every substituted portrait stays inside the fixed photo frame. */
.desktop .section-doctors :is(.f614,.f629){overflow:hidden}

.section-reviews [data-name="Исходный кадр пациента"]>img[src$="review-natalya.webp"]{object-position:center 20%}

/* Restored Elena portrait: preserve headroom in wide preview crops. */
.section-reviews [data-name="Исходный кадр пациента"]>img[src$="review-elena-enhanced.webp"]{object-fit:cover;object-position:center 30%}
.result-patient:has(img[src$="review-elena-enhanced.webp"])>div{inset:0;width:100%;height:100%}
.result-patient img[src$="review-elena-enhanced.webp"]{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%}

/* Restored portrait geometry must also hold before slider initialization. */
.section-results div:has(>img[src$="review-elena-enhanced.webp"]){inset:0;width:100%;height:100%}
.section-results img[src$="review-elena-enhanced.webp"]{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%}

/* Clinic wave continues into the pale reviews background. */
.mobile [data-node-id="70:38"]{background:#f1f6fd;mask:url('assets/a92bf.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/a92bf.svg') center/100% 100% no-repeat}
.desktop [data-node-id="70:510"]{background:#f1f6fd;mask:url('assets/96b93.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/96b93.svg') center/100% 100% no-repeat}
[data-node-id="70:38"]>img,[data-node-id="70:510"]>img{visibility:hidden}
/* All five mobile reviews occupy separate scroll slots, including cloned cards. */
.mobile .section-yandex .f152{display:flex;gap:calc(var(--u)*12)}
.mobile .section-yandex .f152>div{position:relative;left:auto;top:auto;flex:0 0 calc(var(--u)*302)}

/* Full-bleed tablet transitions live on the full-width section wrapper.
   The 540px content column and the section clipping stay unchanged. */
@media (min-width:541px) and (max-width:1199px){
 .mobile .section-bg:has(>.section:is(.section-hero,.section-clinic,.section-yandex,.section-consultation,.section-technology,.section-tomography,.section-appointment)){position:relative;isolation:isolate}
 .mobile .section-bg:has(>.section:is(.section-hero,.section-clinic,.section-yandex,.section-consultation,.section-technology,.section-tomography,.section-appointment))::before{content:"";position:absolute;left:0;right:0;bottom:0;height:36px;pointer-events:none;z-index:0;background:var(--wave-image) center/100% 100% no-repeat}
 .mobile .section:is(.section-hero,.section-clinic,.section-yandex,.section-consultation,.section-technology,.section-tomography,.section-appointment){position:relative;z-index:1;background:none!important}
 .mobile :is(.f44,.f65,.f102,.f143,.f177,.f263,.f301,.f435){visibility:hidden}
 .mobile .section-bg:has(>.section.section-hero){--wave-image:url('assets/6c1af.svg')}
 .mobile .section-bg:has(>.section.section-hero)::before{height:253.71px;bottom:-36.64px;background-size:233% 100%;background-position:95% bottom}
 .mobile .section-bg:has(>.section.section-clinic)::before{background:#f1f6fd;mask:url('assets/a92bf.svg') center/100% 100% no-repeat}
 .mobile .section-bg:has(>.section.section-yandex){--wave-image:url('assets/1c68b.svg')}
 .mobile .section-bg:has(>.section.section-yandex)::before{height:165px;bottom:-43.55px}
 .mobile .section-bg:has(>.section.section-consultation){--wave-image:url('assets/ddd20.svg')}
 .mobile .section-bg:has(>.section.section-technology){--wave-image:url('assets/d43d4.svg')}
 .mobile .section-bg:has(>.section.section-tomography)::before{background:#f5f9fc;mask:url('assets/6d23a.svg') center/100% 100% no-repeat}
 .mobile .section-bg:has(>.section.section-appointment){--wave-image:url('assets/89607.svg')}
}

/* Semantic heading tags retain the existing design-class typography. */
:where(.semantic-heading){margin:0;font-size:inherit;font-weight:inherit}

/* Removed installment promotions; close the space left by the badges. */
.mobile #mobile-hero{height:calc(var(--u)*860)}
.mobile #mobile-hero>.f63{top:calc(var(--u)*772)}
.desktop .section-prices{height:calc(var(--u)*623)}
.desktop .section-prices :is(.f778,.f799,.f811){height:calc(var(--u)*436)}
.desktop .section-prices :is(.f791,.f807){top:calc(var(--u)*228)}
.desktop .section-prices .f815{height:calc(var(--u)*100)}
.mobile #mobile-prices>:is(.f344,.f368,.f381){height:calc(var(--u)*346.544)}
.mobile #mobile-prices :is(.f357,.f377){top:calc(var(--u)*180.95)}
/* Show a narrow preview of the next doctor, kept in sync by the existing carousel. */
.mobile .section-doctors{overflow:hidden;touch-action:pan-y;height:calc(var(--u)*624)}
.mobile .section-doctors :is(.f184,.f193,.f194,.f195,.f198,.f202,.f203,.f204){width:calc(var(--u)*300)}
.mobile .section-doctors>:is(.f198,.f202,.f203,.f204){display:block;left:calc(var(--u)*328)}
.mobile .section-doctors>.f198{top:calc(var(--u)*192.62)}
.mobile .section-doctors>.f202{top:calc(var(--u)*464.58)}
.mobile .section-doctors :is(.f194,.f203){top:calc(var(--u)*526.58)}
.mobile .section-doctors :is(.f195,.f204){top:calc(var(--u)*559.58)}
.mobile .section-doctors :is(.f195,.f204) [data-name="↗"]{left:auto;right:calc(var(--u)*18)}
.mobile .section-doctors .doctor-mobile-badges{right:calc(var(--u)*56)}
.mobile .section-doctors :is(.f184,.f198) img{width:100%;height:auto}
.mobile .section-doctors :is(.f184,.f198){overflow:hidden}

.mobile .section-doctors :is(.f193,.f202){white-space:pre-line}
