
/* ===== Шрифты ===== */
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-500-cyr.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-500-lat.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-500-rub.woff2) format('woff2');unicode-range:U+20BD}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-700-cyr.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-700-lat.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-700-rub.woff2) format('woff2');unicode-range:U+20BD}

/* ===== Токены ===== */
:root{
  --bg:#FAF8F3; --card:#fff; --sage:#DCEAD2; --sageL:#EDF3E7; --green:#2F6B3E; --deep:#1E3D2E;
  --text:#1B1F1C; --text2:#4B534D; --amber:#F3A53A; --amberH:#EA9628; --ink:#1B1F1C; --line:#DDD9CF;
  --onDeep:#fff; --onDeep2:#CFE0C4; --err:#D93F3F;
  --fz:1;
  --gut:clamp(24px, 5.6vw, 80px); --wrap:min(1400px, calc(100% - var(--gut)*2)); --W:min(1400px, calc(100vw - var(--gut)*2));
  --col:248px; --gap:24px; --r:40px; --nr:32px;
  --ease:cubic-bezier(.22,.61,.36,1); --easeO:cubic-bezier(.16,1,.3,1);
  --h2:clamp(30px, calc(var(--W)*.0457), 64px);
}

/* ===== База ===== */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:120px}
body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:500;font-size:calc(18px*var(--fz));line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:inherit}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
input{font:inherit}
.wrap{width:var(--wrap);margin-inline:auto}
.ic{width:20px;height:20px;flex:none}
.nowrap{white-space:nowrap}
.sp{flex:1}
.m-only,.cap-m{display:none}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.skip{position:fixed;left:16px;top:-80px;z-index:500;padding:12px 20px;border-radius:12px;background:var(--deep);color:#fff;font-weight:700;transition:top .2s}
.skip:focus{top:16px}
.ph{background-color:var(--sageL);background-size:cover;background-position:center;background-repeat:no-repeat}

/* ===== Кружки и кнопки ===== */
.circ{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--card);color:var(--text);flex:none;transition:background-color .3s,color .3s,transform .5s var(--easeO)}
.circ .ic{width:22px;height:22px}
.circ.sage{background:var(--sage);color:var(--deep)}
.circ.sageL{background:var(--sageL);color:var(--green)}
.circ.dark{background:var(--deep);color:#fff}
.circ.white{background:var(--card)}
.circ.big{width:64px;height:64px}
.circ.sm{width:44px;height:44px}
.circ.sm .ic{width:20px;height:20px}
.circ.ln{background:var(--card);box-shadow:inset 0 0 0 1px var(--line)}
button.circ:hover,a.circ:hover{background:var(--deep);color:#fff}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:68px;padding:0 36px;border-radius:999px;font-weight:700;font-size:calc(20px*var(--fz));line-height:1;white-space:nowrap;transition:background-color .25s,color .25s,box-shadow .3s,transform .2s,border-color .25s}
.btn .ic{width:22px;height:22px}
.btn-amber{background:var(--amber);color:var(--ink)}
.btn-amber:hover{background:var(--amberH);box-shadow:0 14px 28px -14px rgba(234,150,40,.9)}
.btn-outline{box-shadow:inset 0 0 0 2px var(--text)}
.btn-outline:hover{background:var(--text);color:var(--bg)}
.btn:active{transform:translateY(1px) scale(.985)}
.btn-full{width:100%}

/* ===== Топбар ===== */
.topbar{display:flex;align-items:center;gap:12px;height:100px;margin-top:12px;font-size:calc(17px*var(--fz));color:var(--text2)}
.tb-it{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.tb-it .ic{color:var(--green)}
.tb-phone{display:inline-flex;align-items:center;gap:8px;font-size:calc(20px*var(--fz));font-weight:700;color:var(--text);white-space:nowrap;transition:color .2s}
.tb-phone .ic{color:var(--green)}
.tb-phone:hover{color:var(--green)}
.msgs{display:flex;gap:6px}
.msg{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);transition:transform .4s var(--easeO),box-shadow .3s}
.msg svg{width:22px;height:22px}
.msg:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 1px var(--line),0 10px 20px -10px rgba(30,61,46,.45)}
.a11y-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 18px;border-radius:999px;box-shadow:inset 0 0 0 2px var(--text);font-size:calc(17px*var(--fz));font-weight:700;white-space:nowrap;transition:background-color .25s,color .25s}
.a11y-toggle .ic{width:22px;height:22px}
.a11y-toggle:hover{background:var(--text);color:var(--bg)}

/* ===== Шапка ===== */
.hdr{position:sticky;top:12px;z-index:60}
.hdr-in{display:flex;align-items:center;gap:12px;height:120px;padding:0 10px 0 20px;background:var(--card);border-radius:999px;transition:height .4s var(--ease),box-shadow .4s}
.hdr.is-stuck .hdr-in{height:88px;box-shadow:0 18px 40px -22px rgba(30,61,46,.45)}
.logo{display:flex;align-items:center;gap:12px;margin-right:auto;flex:none}
.logo-img{display:block;width:60px;height:55px;flex:none;background:url(../img/logo.webp) center/contain no-repeat}
.logo-cap{font-size:calc(16px*var(--fz));line-height:20px;color:var(--text2)}
.nav>ul{display:flex;gap:8px}
.nav li{position:relative}
.nav-a{position:relative;display:inline-flex;align-items:center;gap:4px;height:48px;padding:0 6px;font-size:calc(17px*var(--fz));white-space:nowrap;transition:color .2s}
.nav-a .ic{width:16px;height:16px;transition:transform .35s var(--easeO)}
.nav-a::after{content:"";position:absolute;left:6px;right:6px;bottom:8px;height:2px;border-radius:2px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.nav-a:hover,.has-drop.open>.nav-a{color:var(--green)}
.nav-a:hover::after,.has-drop.open>.nav-a::after{transform:scaleX(1)}
.has-drop.open>.nav-a .ic{transform:rotate(180deg)}
.drop{position:absolute;top:calc(100% + 26px);left:-20px;z-index:5;padding:16px;background:var(--card);border-radius:28px;box-shadow:0 30px 60px -24px rgba(30,61,46,.35),0 0 0 1px rgba(30,61,46,.04);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s,transform .35s var(--easeO),visibility 0s .35s}
.drop::before{content:"";position:absolute;left:0;right:0;top:-28px;height:28px}
.has-drop.open>.drop{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.nav li:nth-last-child(-n+3)>.drop{left:auto;right:-20px}
.drop-cols{display:flex;gap:16px;align-items:stretch}
.drop-list{min-width:280px}
.drop-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 14px;border-radius:14px;font-size:calc(17px*var(--fz));white-space:nowrap;transition:background-color .2s,color .2s}
.drop-list a:hover{background:var(--sageL);color:var(--green)}
.drop-list a .ic{width:18px;height:18px}
.drop-all a{color:var(--green);font-weight:700}
.drop-h{padding:10px 14px 4px;font-size:calc(16px*var(--fz));font-weight:700;color:var(--text2)}
.drop-help{display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;grid-template-areas:"t t" "c p";align-items:center;column-gap:12px;row-gap:20px;width:300px;padding:24px;border-radius:22px;background:var(--sageL);font-size:calc(17px*var(--fz));line-height:1.4;color:var(--text2);transition:background-color .25s}
.drop-help>span:first-child{grid-area:t;align-self:start}
.drop-help b{grid-area:p;color:var(--text);font-size:calc(19px*var(--fz));white-space:nowrap}
.drop-help .circ{grid-area:c;background:var(--card);color:var(--green)}
.drop-help:hover{background:var(--sage)}
.hdr-phone{display:none;align-items:center;gap:8px;font-size:calc(20px*var(--fz));font-weight:700;white-space:nowrap}
.hdr-phone .ic{color:var(--green)}
.hdr-cta{height:56px;padding:0 22px;font-size:calc(18px*var(--fz))}
.hdr-icbtn{display:none;place-items:center;width:48px;height:48px;border-radius:50%;flex:none;transition:transform .3s var(--easeO),background-color .25s}
.hdr-icbtn .ic{width:22px;height:22px}
.hdr-icbtn--phone{background:var(--sage);color:var(--deep)}
.hdr-icbtn--menu{background:var(--deep);color:#fff}
.hdr-icbtn:active{transform:scale(.92)}

/* ===== Hero ===== */
.hero{padding-top:40px}
.hero-head{display:grid;grid-template-columns:21.43% 1fr;align-items:end}
.place{display:flex;flex-direction:column;gap:14px;font-size:calc(17px*var(--fz));line-height:24px;color:var(--text2)}
.place-av{width:64px;height:64px;border-radius:50%}
.h1{margin:0;font-weight:500;font-size:clamp(38px, calc(var(--W)*.0629), 88px);line-height:1.08;letter-spacing:-.03em}
.h1 .ln{display:block;overflow:hidden;padding-bottom:.09em;margin-bottom:-.09em}
.h1 .ln>span{display:inline-block}
.hl{display:inline-block;padding:0 .29em .06em .27em;border-radius:999px;background:linear-gradient(var(--sage),var(--sage)) left/100% 100% no-repeat;transition:background-size 1s var(--easeO) .25s}
.js .hl{background-size:0 100%}
.js .in .hl,.js .hero-in .hl{background-size:100% 100%}
.hero-main{display:grid;grid-template-columns:21.43% 1fr;gap:24px;height:clamp(380px, calc(var(--W)*.3143), 440px);margin-top:28px}
.team-card{display:flex;flex-direction:column;justify-content:space-between;padding:28px;border-radius:var(--r);background:var(--sage);transition:transform .5s var(--easeO),box-shadow .4s}
.team-card:hover{transform:translateY(-4px);box-shadow:0 24px 40px -26px rgba(30,61,46,.5)}
.avs{display:flex}
.avs>.ph{width:64px;height:64px;border-radius:50%;box-shadow:0 0 0 3px var(--sage);margin-left:-16px;background-position:50% 20%}
.avs>.ph:first-child{margin-left:0}
.team-txt>b{display:block;font-size:72px/*ns*/;line-height:1;font-weight:500;letter-spacing:-.03em}
.team-txt>span{display:block;margin-top:10px;font-size:calc(20px*var(--fz));line-height:28px}
.link-u{display:inline-flex;align-items:center;gap:12px;font-size:calc(20px*var(--fz));font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.link-u .ic{transition:transform .4s var(--easeO)}
.team-card:hover .link-u .ic{transform:translate(3px,-3px)}
.team-card--m{display:none}

.hero-visual{position:relative;--nr:32px}
.hero-photo{position:absolute;inset:0;border-radius:var(--r) 0 var(--r) 0;overflow:hidden}
.hero-photo>.ph{position:absolute;inset:0;background-position:50% 62%}
.chips{position:absolute;left:28px;top:28px;z-index:2;display:flex;gap:8px}
.chip{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 16px 0 18px;border-radius:999px;background:var(--card);font-size:calc(16px*var(--fz));font-weight:700;white-space:nowrap;transition:background-color .25s,color .25s}
.chip .ic{width:16px;height:16px;transition:transform .4s var(--easeO)}
.chip:hover{background:var(--deep);color:#fff}
.chip:hover .ic{transform:rotate(45deg)}

/* Вырезы-«карманы» (инвертированные скругления) */
.notch,.plate{position:absolute;z-index:2;background:var(--bg)}
.notch{top:-2px;right:-2px;border-bottom-left-radius:var(--nr)}
.plate{left:-2px;bottom:-2px;border-top-right-radius:var(--nr)}
.notch::before,.notch::after,.plate::before,.plate::after{content:"";position:absolute;width:var(--nr);height:var(--nr);pointer-events:none}
.notch::before,.notch::after{background:radial-gradient(circle at 0 100%,transparent calc(var(--nr) - .6px),var(--bg) var(--nr))}
.notch::before{top:0;right:100%}
.notch::after{top:100%;right:0}
.plate::before,.plate::after{background:radial-gradient(circle at 100% 0,transparent calc(var(--nr) - .6px),var(--bg) var(--nr))}
.plate::before{bottom:100%;left:0}
.plate::after{bottom:0;left:100%}

.notch-tr{padding:14px 44px 22px 30px}
.video-link{display:flex;align-items:center;gap:14px}
.video-link b{display:block;font-size:calc(18px*var(--fz));line-height:24px}
.video-link small{display:block;font-size:calc(16px*var(--fz));line-height:21px;color:var(--text2)}
.video-link .circ{position:relative}
.video-link .circ::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 0 rgba(30,61,46,.35);transition:box-shadow .5s var(--easeO)}
.video-link:hover .circ{background:var(--green);transform:scale(1.06)}
.video-link:hover .circ::after{box-shadow:0 0 0 10px rgba(30,61,46,0)}
.notch-bl{width:min(500px,48%);padding:34px 32px 30px 28px}
.notch-bl p{font-size:calc(22px*var(--fz));line-height:32px}
.hero-sub-m{display:none}
.hero-actions{display:grid;grid-template-columns:21.43% auto 1fr auto auto;align-items:center;column-gap:24px;min-height:100px;margin-top:28px}
.price b{display:block;font-size:calc(40px*var(--fz));line-height:44px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.price span{display:block;margin-top:2px;font-size:calc(17px*var(--fz));line-height:23px;color:var(--text2)}
.license{display:flex;align-items:center;gap:12px}
.license .circ{width:52px;height:52px;color:var(--green)}
.license b{display:block;font-size:calc(20px*var(--fz));line-height:26px;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;text-decoration-color:rgba(27,31,28,.35);transition:text-decoration-color .2s}
.license small{display:block;font-size:calc(17px*var(--fz));line-height:23px;color:var(--text2)}
.license:hover b{text-decoration-color:currentColor}

/* Входная анимация первого экрана */
@keyframes rvUp{from{opacity:0;transform:translateY(24px)}}
@keyframes lnUp{from{transform:translateY(105%)}}
@keyframes clipIn{from{clip-path:inset(6% 4% 6% 4% round 40px)}to{clip-path:inset(0 round 40px)}}
@keyframes zoomOut{from{transform:scale(1.14)}}
@keyframes fadeIn{from{opacity:0}}
.js .hero:not(.hero-in) .ln>span{transform:translateY(105%)}
.js .hero:not(.hero-in) .a-up,.js .hero:not(.hero-in) .hero-photo{opacity:0}
.hero-in .ln>span{animation:lnUp 1.1s var(--easeO) var(--d,0s) backwards}
.hero-in .a-up{animation:rvUp .9s var(--easeO) var(--d,0s) backwards}
.hero-in .hero-photo{animation:clipIn 1.5s var(--easeO) .15s backwards,fadeIn .6s ease .15s backwards}
.hero-in .hero-photo>.ph{animation:zoomOut 2s var(--easeO) .15s backwards}

/* ===== Бегущая строка ===== */
.marquee{position:relative;display:flex;align-items:center;height:136px;margin-top:64px;background:var(--deep);overflow:hidden}
.marquee::before,.marquee::after{content:"";position:absolute;top:0;bottom:0;z-index:2;width:200px;pointer-events:none}
.marquee::before{left:0;background:linear-gradient(90deg,var(--deep),rgba(30,61,46,0))}
.marquee::after{right:0;background:linear-gradient(-90deg,var(--deep),rgba(30,61,46,0))}
.mq-track{display:flex;width:max-content;animation:mq 80s linear infinite}
.marquee:hover .mq-track{animation-play-state:paused}
.mq-set{display:flex;align-items:center;flex:none}
.mq-it{display:inline-flex;align-items:center;gap:18px;font-size:calc(40px*var(--fz));line-height:44px;letter-spacing:-.01em;color:var(--bg);white-space:nowrap}
.mq-ph{width:96px;height:60px;border-radius:30px;box-shadow:0 0 0 2px var(--sage);flex:none}
.mq-sep{width:28px;height:28px;margin:0 52px;color:var(--sage);flex:none}
@keyframes mq{to{transform:translateX(-50%)}}

/* ===== Секции ===== */
.sec{padding-top:clamp(72px, 11.4vw, 160px)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:clamp(24px, 4.57vw, 64px)}
.h2{margin:0;font-weight:500;font-size:var(--h2);line-height:1.17;letter-spacing:-.025em}
.lead{flex:none;width:440px;font-size:calc(20px*var(--fz));line-height:32px;color:var(--text2)}

/* Ревил при прокрутке */
.js .rv:not(.in){opacity:0}
.js .rv.in{animation:rvUp .9s var(--easeO) var(--d,0s) backwards}

/* ===== Навигация-бенто ===== */
.bento{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--gap)}
.tile{position:relative;display:block;border-radius:var(--r);overflow:hidden;--nr:32px;transition:transform .6s var(--easeO),box-shadow .5s}
.t-rehab,.t-pans{grid-column:span 3;aspect-ratio:688/600}
.t-proc,.t-cond{grid-column:span 2;aspect-ratio:451/460}
.t-price{grid-column:span 2}
.t-docs,.t-steps{grid-column:span 3;min-height:320px}
/* Фото-карточка: фото сверху, под ним название со стрелкой, описание и цена (без выреза и кнопки-круга) */
.tile-ph{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto auto auto;grid-template-areas:"ph ph" "t a" "s s" "p p";padding:12px 12px 26px;background:var(--card)}
.tile-ph>.ph{grid-area:ph;position:relative;min-height:120px;border-radius:calc(var(--r) - 12px)}
.tile-ph:hover{transform:translateY(-6px);box-shadow:0 30px 50px -32px rgba(30,61,46,.45)}
.tile-ph>.notch-arrow{grid-area:a;position:static;align-self:start;margin:26px 12px 0 16px;padding:0;background:none;border-radius:0}
.tile-ph>.notch-arrow::before,.tile-ph>.notch-arrow::after{display:none}
.tile-ph .notch-arrow .circ{width:auto;height:auto;background:none;color:var(--green)}
.tile-ph .notch-arrow .circ .ic{width:28px;height:28px}
.tile-ph:hover .notch-arrow .circ{background:none;color:var(--deep);transform:rotate(45deg)}
.tile-ph>.plate{display:contents}
.tile-ph>.plate::before,.tile-ph>.plate::after{display:none}
.bento .tile-ph{aspect-ratio:auto;grid-template-rows:auto auto auto 1fr}
.bento .tile-ph>.ph{aspect-ratio:16/10;min-height:0}
.bento .tile-ph .plate strong{align-self:end}
.notch-arrow{position:absolute;top:-2px;right:-2px;z-index:2;padding:12px 12px 16px 16px;background:var(--bg);border-bottom-left-radius:var(--nr)}
.notch-arrow::before,.notch-arrow::after{content:"";position:absolute;width:var(--nr);height:var(--nr);background:radial-gradient(circle at 0 100%,transparent calc(var(--nr) - .6px),var(--bg) var(--nr))}
.notch-arrow::before{top:0;right:100%}
.notch-arrow::after{top:100%;right:0}
.notch-arrow .circ{width:clamp(76px, calc(var(--W)*.0743), 104px);height:clamp(76px, calc(var(--W)*.0743), 104px)}
.notch-arrow .circ .ic{width:28px;height:28px}
.tile:hover .circ{background:var(--deep);color:#fff;transform:rotate(45deg)}
.tile .plate b{grid-area:t;display:block;margin:20px 0 0 14px;font-size:calc(clamp(26px, calc(var(--W)*.0229), 34px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.tile .plate span{grid-area:s;display:block;margin:8px 14px 0;font-size:calc(18px*var(--fz));line-height:1.45;color:var(--text2)}
.tile .plate strong{grid-area:p;display:block;margin:12px 14px 0;font-size:calc(20px*var(--fz));line-height:1.4;font-weight:700}
.t-price,.t-docs,.t-steps{display:flex;flex-direction:column;justify-content:space-between;padding:40px}
.t-price{background:var(--sage)}
.t-docs{background:var(--card)}
.t-steps{background:var(--deep);color:#fff}
.t-price:hover,.t-docs:hover,.t-steps:hover{transform:translateY(-6px);box-shadow:0 30px 50px -32px rgba(30,61,46,.55)}
.t-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.t-top .circ{width:88px;height:88px}
.t-top .circ .ic{width:26px;height:26px}
.t-title{display:block;font-size:clamp(32px, calc(var(--W)*.0343), 48px);line-height:1.19;font-weight:500;letter-spacing:-.02em}
.t-sub{display:block;margin-top:10px;max-width:300px;font-size:calc(20px*var(--fz));line-height:28px;color:var(--text2)}
.t-big b{display:block;font-size:var(--h2);line-height:1.1;font-weight:700;letter-spacing:-.03em;white-space:nowrap}
.t-big>span{display:block;margin-top:6px;font-size:calc(20px*var(--fz));line-height:28px}
.t-docs .t-title,.t-steps .t-title{font-size:clamp(30px, calc(var(--W)*.0314), 44px)}
.t-bot .t-sub{max-width:none;margin-top:6px}
.avs.lg>.ph{width:76px;height:76px;margin-left:-18px;box-shadow:0 0 0 3px var(--card)}
.avs.lg>.ph:first-child{margin-left:0}
.t-num{display:block;font-size:var(--h2);line-height:1;font-weight:500;letter-spacing:-.03em;color:var(--sage)}
.t-steps .t-sub{color:var(--onDeep2)}
.t-steps:hover .circ{background:var(--card);color:var(--deep)}

/* ===== Колонка квадратных плашек «смотреть все» ===== */
.with-col{display:grid;grid-template-columns:1fr var(--col);gap:var(--gap);align-items:stretch}
.col{display:flex;flex-direction:column;gap:var(--gap)}
.sq{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;width:100%;aspect-ratio:1;padding:28px;border-radius:var(--r);background:var(--sage);color:var(--text);text-align:left;transition:transform .5s var(--easeO),box-shadow .5s,background-color .3s}
.sq>.circ{align-self:flex-end;width:64px;height:64px;background:var(--card);color:var(--text)}
.sq>b{font-size:calc(26px*var(--fz));line-height:31px;font-weight:500;letter-spacing:-.01em}
.sq>b small{display:block;margin-top:8px;font-size:calc(16px*var(--fz));line-height:22px;color:var(--onDeep2)}
.sq-dark{background:var(--deep);color:#fff}
.sq-dark>.circ{background:var(--sage);color:var(--deep)}
.sq:hover{transform:translateY(-6px);box-shadow:0 26px 44px -28px rgba(30,61,46,.6)}
.sq:hover>.circ{background:var(--deep);color:#fff;transform:rotate(45deg)}
.sq-dark:hover>.circ{background:var(--card);color:var(--deep);transform:scale(1.1)}
.sq-phone{justify-content:space-between;padding:28px 24px}
.sq-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;font-size:calc(22px*var(--fz));line-height:28px}
.sq-top .circ{width:64px;height:64px}
.sq-phone>b{font-size:calc(20px*var(--fz));line-height:25px;font-weight:700;letter-spacing:0}
.sq-phone:hover .circ{transform:rotate(-12deg) scale(1.08)}
.gal-more{display:none}

/* ===== Утверждение и цифры ===== */
.stmt-h{max-width:1080px;margin-bottom:72px}
.nums{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;padding:54px 48px;border-radius:var(--r);background:var(--card)}
.num+.num{padding-left:33px;border-left:1px solid var(--line)}
.num b{display:block;font-size:clamp(48px, calc(var(--W)*.0514), 72px);line-height:1;font-weight:500;letter-spacing:-.03em;white-space:nowrap}
.num>span{display:block;max-width:298px;margin-top:10px;font-size:calc(20px*var(--fz));line-height:29px;color:var(--text2)}

/* ===== Цены ===== */
.ptable{position:relative}
.prow{position:relative;display:grid;grid-template-columns:440fr 400fr 220fr 220fr 56px;column-gap:16px;align-items:center;min-height:105px;border-bottom:1px solid var(--line);transition:padding .45s var(--easeO),border-color .3s}
.prow::before{content:"";position:absolute;inset:-1px 0 0;border-radius:28px;background:var(--sage);opacity:0;transform:scaleY(.85);transition:opacity .3s,transform .45s var(--easeO)}
.prow>*{position:relative}
.prow-h{min-height:40px;align-items:start;font-size:calc(16px*var(--fz));line-height:23px;color:var(--text2)}
.prow-h::before{display:none}
.p-name{font-size:calc(26px*var(--fz));line-height:35px;font-weight:500;letter-spacing:-.01em}
.p-inc{font-size:calc(18px*var(--fz));line-height:27px;color:var(--text2)}
.p-price{font-size:calc(24px*var(--fz));line-height:32px;font-weight:700;white-space:nowrap}
.prow .circ .ic{width:22px;height:22px}
@media (hover:hover) and (pointer:fine){
  .prow:not(.prow-h):hover{padding-inline:24px;border-color:transparent}
  .prow:not(.prow-h):hover::before{opacity:1;transform:none}
  .prow:not(.prow-h):hover .circ{background:var(--deep);color:#fff;box-shadow:none}
}
.p-float{position:absolute;left:0;top:0;z-index:3;width:clamp(150px, calc(var(--W)*.135), 196px);height:clamp(105px, calc(var(--W)*.0945), 137px);pointer-events:none;opacity:0;transform:scale(.5) rotate(-10deg);transition:opacity .25s,transform .55s var(--easeO),top .5s var(--easeO),left .5s var(--easeO)}
.p-float.on{opacity:1;transform:none}
.p-float.no-tr{transition:opacity .25s,transform .55s var(--easeO)}
.p-float-back{position:absolute;inset:0;border-radius:22px;background:var(--deep);transform:rotate(-6deg) translate(-6px,2px)}
.p-float-img{position:absolute;inset:0;border-radius:22px;transform:rotate(4deg);box-shadow:0 22px 36px -16px rgba(0,0,0,.45);transition:background-image .2s}
#prices .with-col{margin-top:64px}
.promo{display:flex;align-items:center;gap:40px;padding:40px 48px;border-radius:var(--r);background:var(--card)}
.promo-n{flex:none;font-size:clamp(72px, calc(var(--W)*.0857), 120px);line-height:1;font-weight:500;letter-spacing:-.05em;white-space:nowrap}
.promo-t{font-size:calc(clamp(22px, calc(var(--W)*.0214), 30px)*var(--fz));line-height:1.3}
.promo-s{margin-top:8px;font-size:calc(20px*var(--fz));line-height:29px;color:var(--text2)}

/* ===== Галерея ===== */
.gal{display:flex;flex-direction:column;gap:var(--gap)}
.gal-row{display:grid;gap:var(--gap)}
.r1{grid-template-columns:920fr 456fr;aspect-ratio:1400/580}
.r2{grid-template-columns:456fr 648fr var(--col);height:calc(var(--col)*2 + var(--gap))}
.gi{position:relative;display:block;width:100%;height:100%;border-radius:var(--r) var(--r) var(--r) 0;overflow:hidden;--nr:32px;cursor:zoom-in}
.gi>.ph{position:absolute;inset:0;transition:transform 1.4s var(--easeO)}
.gi:hover>.ph{transform:scale(1.05)}
.gi .plate{padding:26px 36px 4px 28px;text-align:left}
.gi .plate b{display:block;font-size:calc(32px*var(--fz));line-height:39px;font-weight:500;letter-spacing:-.01em}
.gi .plate span{display:block;margin-top:4px;font-size:calc(20px*var(--fz));line-height:28px;color:var(--text2)}
.gi::after{content:"";position:absolute;right:24px;top:24px;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1F1C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/22px no-repeat;opacity:0;transform:scale(.7);transition:opacity .3s,transform .45s var(--easeO)}
.gi:hover::after{opacity:1;transform:none}
.col-pair .sq{flex:1}

/* ===== Отзывы ===== */
.ext{display:flex;gap:12px;flex:none}
.pill-link{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 22px 0 26px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--text);font-size:calc(18px*var(--fz));font-weight:700;white-space:nowrap;transition:background-color .25s,color .25s}
.pill-link .ic{width:18px;height:18px;transition:transform .4s var(--easeO)}
.pill-link:hover{background:var(--text);color:var(--bg)}
.pill-link:hover .ic{transform:rotate(45deg)}
.rv-card{position:relative;display:flex;flex-direction:column;min-height:520px;padding:64px 72px 56px;border-radius:var(--r);background:var(--sage)}
.rv-q{display:none;width:32px;height:32px;color:var(--green)}
.rv-slides{display:grid;flex:1}
.rv-slide{grid-area:1/1;display:flex;flex-direction:column;margin:0;opacity:0;visibility:hidden;transform:translateX(24px);transition:opacity .45s,transform .7s var(--easeO),visibility 0s .7s}
.rv-slide.is-on{opacity:1;visibility:visible;transform:none;transition-delay:.05s,.05s,0s}
.rv-slide.out{transform:translateX(-24px)}
.rv-slide blockquote{margin:0;max-width:984px;font-size:calc(clamp(26px, calc(var(--W)*.0257), 36px)*var(--fz));line-height:1.44;font-weight:500;letter-spacing:-.01em}
.rv-slide figcaption{margin-top:auto;padding:40px 220px 0 0}
.rv-slide figcaption b{display:block;font-size:calc(24px*var(--fz));line-height:31px;font-weight:700}
.rv-slide figcaption span{display:block;margin-top:4px;font-size:calc(20px*var(--fz));line-height:28px;color:var(--text2)}
.rv-nav{position:absolute;right:72px;bottom:56px;display:flex;gap:16px}
.rv-nav .circ .ic{width:24px;height:24px}

/* ===== FAQ ===== */
.faq-wrap{align-items:start}
.faq{display:flex;flex-direction:column;gap:16px}
.fq{border-radius:32px;background:var(--card);transition:box-shadow .3s}
.fq:hover{box-shadow:0 18px 36px -28px rgba(30,61,46,.5)}
.fq-q{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:29px 28px 29px 40px;font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));line-height:36px;font-weight:500;text-align:left}
.fq-q .circ{width:60px;height:60px}
.fq-q .circ .ic{transition:transform .45s var(--easeO)}
.fq-q:hover .circ{background:var(--sage)}
.fq.open .fq-q .circ{background:var(--deep);color:#fff}
.fq.open .fq-q .circ .ic{transform:rotate(135deg)}
.fq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s var(--easeO)}
.fq-a>div{overflow:hidden;visibility:hidden;transition:visibility 0s .5s}
.fq.open .fq-a{grid-template-rows:1fr}
.fq.open .fq-a>div{visibility:visible;transition-delay:0s}
.fq-a p{padding:0 128px 34px 40px;font-size:calc(20px*var(--fz));line-height:1.6;color:var(--text2)}
.fq-a a{color:var(--green);text-decoration:underline;text-underline-offset:3px}

/* ===== Заявка ===== */
.req{display:grid;grid-template-columns:1fr clamp(380px, calc(var(--W)*.343), 480px);gap:clamp(48px, calc(var(--W)*.0514), 72px);padding:clamp(56px, calc(var(--W)*.0514), 72px);border-radius:48px;background:var(--deep);color:#fff}
.h2.on-dark{color:#fff}
.on-dark .hl{color:var(--text)}
.req-t{max-width:704px;margin-top:28px;font-size:calc(22px*var(--fz));line-height:33px;color:rgba(255,255,255,.9)}
.req-or{margin-top:28px;font-size:calc(17px*var(--fz));line-height:25px;color:var(--onDeep2)}
.req-or a{display:inline-block;margin-top:4px;font-size:calc(44px*var(--fz));line-height:53px;font-weight:700;letter-spacing:-.01em;color:#fff;transition:color .2s}
.req-or a:hover{color:var(--amber)}
.form{position:relative;display:flex;flex-direction:column;gap:16px}
.fld>span{display:block;margin-bottom:8px;font-size:calc(17px*var(--fz));line-height:25px;font-weight:700}
.fld input{width:100%;height:72px;padding:0 24px;border:2px solid transparent;border-radius:20px;background:var(--card);color:var(--text);font-size:calc(20px*var(--fz));transition:border-color .2s,box-shadow .25s}
.fld input::placeholder{color:#7B827D}
.fld input:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 5px rgba(243,165,58,.28)}
.fld.err input{border-color:var(--err);animation:shake .4s}
.err-t{display:block;margin-top:6px;font-size:calc(16px*var(--fz));line-height:22px;font-weight:700;color:#FFB0A8}
.form-light .err-t{color:var(--err)}
@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.chk{position:relative;display:flex;align-items:center;gap:14px;font-size:calc(17px*var(--fz));line-height:1.4;cursor:pointer}
.chk input{position:absolute;opacity:0;width:30px;height:30px;margin:0}
.chk-box{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:8px;background:var(--amber);color:var(--ink);transition:background-color .2s,box-shadow .2s}
.chk-box .ic{width:18px;height:18px;transition:transform .3s var(--easeO)}
.chk input:not(:checked)+.chk-box{background:transparent;box-shadow:inset 0 0 0 2px currentColor}
.chk input:not(:checked)+.chk-box .ic{transform:scale(0)}
.chk input:focus-visible+.chk-box{outline:3px solid var(--amber);outline-offset:3px}
.chk.err{color:#FFB0A8}
.chk a{text-decoration:underline;text-underline-offset:3px}
.form .btn{height:72px;margin-top:0}
.form-ok{position:absolute;inset:-6px;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;border-radius:0;background:var(--deep);text-align:center;animation:okIn .6s var(--easeO)}
.form-ok[hidden]{display:none}
.form-ok b{font-size:calc(30px*var(--fz));line-height:1.2}
.form-ok>span:last-child{font-size:calc(18px*var(--fz));color:var(--onDeep2)}
.form-ok .circ{width:84px;height:84px;margin-bottom:8px}
.form-ok .circ .ic{width:36px;height:36px;stroke-dasharray:30;stroke-dashoffset:30;animation:draw .6s ease .3s forwards}
@keyframes okIn{from{opacity:0;transform:scale(.96)}}
@keyframes draw{to{stroke-dashoffset:0}}

/* ===== Контакты ===== */
.cts{display:grid;grid-template-columns:560fr 816fr;gap:var(--gap);min-height:560px}
.cts-card{display:flex;flex-direction:column;gap:32px;padding:48px;border-radius:var(--r);background:var(--card)}
.ct{display:flex;align-items:flex-start;gap:18px}
.ct .circ{width:52px;height:52px}
.ct b,.ct-ph{display:block;font-size:calc(24px*var(--fz));line-height:32px;font-weight:500}
.ct-ph{font-weight:700}
.ct-mail{font-weight:500}
.ct div>a,.ct div>span{display:block;margin-top:4px;font-size:calc(18px*var(--fz));line-height:27px;color:var(--text2)}
.ct div>a:first-child{margin-top:0}
.ct div>a.ct-ph{color:var(--text);font-size:calc(24px*var(--fz));line-height:32px}
.ct a:hover{color:var(--green)}
.ct-msg{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}
.ct-msg a{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 20px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line);font-size:calc(18px*var(--fz));font-weight:700;transition:transform .4s var(--easeO),box-shadow .3s,background-color .2s}
.ct-msg svg{width:22px;height:22px}
.ct-msg a:hover{transform:translateY(-3px);background:var(--card);box-shadow:inset 0 0 0 1px var(--line),0 12px 24px -14px rgba(30,61,46,.5)}
.map{position:relative;border-radius:var(--r);overflow:hidden;background:var(--sageL)}.map-frame{position:absolute;inset:0;width:100%;height:100%;border:0}.map .map-route{z-index:2}
.map-bg{position:absolute;inset:0;width:100%;height:100%}
.map-pin{position:absolute;left:44%;top:45%;z-index:2;display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 20px 0 16px;border-radius:999px;background:var(--deep);color:#fff;font-size:calc(20px*var(--fz));font-weight:700;white-space:nowrap;box-shadow:0 18px 30px -16px rgba(30,61,46,.7)}
.map-pin .ic{width:22px;height:22px}
.map-pin::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(30,61,46,.45)}
.map.in .map-pin{animation:pinDrop 1s var(--easeO) .35s backwards}
.map.in .map-pin::after{animation:ring 1.6s ease-out 1.1s 2}
@keyframes pinDrop{from{opacity:0;transform:translateY(-48px)}60%{opacity:1}}
@keyframes ring{to{box-shadow:0 0 0 22px rgba(30,61,46,0)}}
.map-route{position:absolute;left:28px;top:28px;z-index:2;display:inline-flex;align-items:center;gap:12px;height:60px;padding:0 24px;border-radius:999px;background:var(--card);font-size:calc(20px*var(--fz));font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;transition:background-color .25s,color .25s}
.map-route .ic{transition:transform .4s var(--easeO)}
.map-route:hover{background:var(--deep);color:#fff}
.map-route:hover .ic{transform:rotate(45deg)}

/* ===== Футер ===== */
.ft{position:relative;isolation:isolate;margin-top:140px;padding:72px 0 56px;color:#fff}
.ft::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(var(--gut)/2);right:calc(var(--gut)/2);border-radius:clamp(32px, 4.2vw, 80px) clamp(32px, 4.2vw, 80px) 0 0;background:var(--deep)}
.ft-top{display:flex;align-items:center;gap:24px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.14)}
.ft-logo{display:grid;place-items:center;width:90px;height:76px;flex:none;border-radius:16px;background:#fff}
.ft-logo .logo-img{width:66px;height:60px}
.ft-cap{font-size:calc(18px*var(--fz));line-height:25px}
.ft-ph{display:flex;flex-direction:column;align-items:flex-end}
.ft-ph a:first-child{font-size:calc(32px*var(--fz));line-height:42px;font-weight:700;letter-spacing:-.01em}
.ft-ph a+a{font-size:calc(18px*var(--fz));line-height:25px;color:rgba(255,255,255,.8)}
.ft-ph a:hover{color:var(--amber)}
.ft-top .btn{height:64px;padding:0 40px}
.ft-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;padding:48px 0}
.fhead,.fhead-s{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:calc(20px*var(--fz));line-height:28px;font-weight:700;color:#fff;pointer-events:none}
.fhead .ic{display:none}
.fcol ul{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.fcol a{font-size:calc(18px*var(--fz));line-height:25px;color:rgba(255,255,255,.82);transition:color .2s}
.fcol a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.fcol-ct p{margin-top:14px;font-size:calc(18px*var(--fz));line-height:26px;color:rgba(255,255,255,.82)}
.ft-soc{display:flex;gap:10px;margin-top:20px}
.ft-soc a{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;transition:transform .4s var(--easeO)}
.ft-soc a:hover{transform:translateY(-3px);text-decoration:none}
.ft-soc svg{width:24px;height:24px}
.ft-warn{display:flex;align-items:center;gap:18px;min-height:70px;padding:16px 28px;border-radius:16px;background:rgba(255,255,255,.08);font-size:calc(22px*var(--fz));line-height:1.35;font-weight:700}
.ft-warn .ic{width:26px;height:26px;color:var(--amber)}
.ft-legal{display:flex;justify-content:space-between;gap:40px;margin-top:48px;font-size:calc(17px*var(--fz));line-height:25px}
.ft-legal p+p{margin-top:8px}
.ft-lic{display:flex;align-items:center;gap:10px;font-weight:700}
.ft-legal a{text-decoration:underline;text-underline-offset:3px;color:rgba(255,255,255,.85)}
.ft-legal a:hover{color:#fff}
.ft-links{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right}
.ft-a11y{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.muted{color:rgba(255,255,255,.62)}

/* ===== Мобильная нижняя панель ===== */
.mbar{display:none}

/* ===== Мобильное меню ===== */
.mmenu{position:fixed;inset:0;z-index:150;overflow-y:auto;overscroll-behavior:contain;background:var(--bg);opacity:0;transform:translateY(-12px);transition:opacity .3s,transform .45s var(--easeO)}
.mmenu.open{opacity:1;transform:none}
.mm-in{width:min(560px, calc(100% - 32px));margin:0 auto;padding:12px 0 40px}
.mm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;height:68px;padding:0 10px 0 14px;border-radius:999px;background:var(--card)}
.mm-head .logo-img{width:48px;height:44px}
.mm-head .logo-cap{display:block;font-size:calc(16px*var(--fz));line-height:19px}
.mm-head .hdr-icbtn{display:grid}
.a11y-toggle--wide{width:100%;height:56px;margin:24px 0 8px;font-size:calc(18px*var(--fz))}
.mm-list>li{border-bottom:1px solid var(--line)}
.mm-q{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:76px;font-size:calc(22px*var(--fz));line-height:28px;font-weight:500}
.mm-q .circ{width:40px;height:40px}
.mm-q .circ .ic{width:20px;height:20px;transition:transform .4s var(--easeO)}
.mm-it.open>.mm-q{font-weight:700}
.mm-it.open>.mm-q .circ{background:var(--sage)}
.mm-it.open>.mm-q .circ .ic{transform:rotate(180deg)}
.mm-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--easeO)}
.mm-sub>div{overflow:hidden;visibility:hidden;transition:visibility 0s .45s}
.mm-it.open>.mm-sub{grid-template-rows:1fr}
.mm-it.open>.mm-sub>div{visibility:visible;transition-delay:0s}
.mm-sub a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:calc(18px*var(--fz));line-height:24px}
.mm-sub a:not(.drop-help):not(.mm-all)::after{content:"";width:18px;height:18px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1F1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.mm-sub a.mm-all{justify-content:flex-start;color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.mm-sub .drop-help{display:grid;grid-template-columns:1fr auto;grid-template-areas:"t c" "p c";align-items:center;column-gap:12px;row-gap:4px;width:auto;margin:8px 0 20px;padding:16px 16px 16px 18px;font-size:calc(16px*var(--fz));line-height:22px;background:var(--sage)}
.mm-sub .drop-help span:first-child{grid-area:t}
.mm-sub .drop-help b{grid-area:p;font-size:calc(20px*var(--fz))}
.mm-sub .drop-help .circ{grid-area:c;position:static}
.mm-bot{padding-top:28px}
.mm-ph{display:block;font-size:30px/*ns*/;line-height:38px;font-weight:700}
.mm-ph2{display:block;margin-top:4px;font-size:calc(18px*var(--fz));color:var(--text2)}
.mm-bot .ct-msg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}
.mm-bot .ct-msg a{flex-direction:column;justify-content:center;gap:4px;height:68px;padding:0;border-radius:18px;font-size:calc(16px*var(--fz))}
.mm-addr{display:flex;gap:10px;font-size:calc(17px*var(--fz));line-height:24px;color:var(--text2)}
.mm-addr .ic{color:var(--green);margin-top:2px}
.mm-bot .btn{height:60px;margin-top:20px;font-size:calc(18px*var(--fz))}

/* ===== Модалки ===== */
.modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:20px;overflow-y:auto;background:rgba(18,30,23,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .3s}
.modal[hidden]{display:none}
.modal.open{opacity:1}
.m-box{position:relative;width:min(560px,100%);padding:48px;border-radius:40px;background:var(--bg);transform:translateY(18px) scale(.97);transition:transform .5s var(--easeO)}
.modal.open .m-box,.modal.open .lb-box{transform:none}
.m-x{position:absolute;top:20px;right:20px;z-index:3;width:48px;height:48px}
.m-title{margin:0 56px 12px 0;font-size:calc(36px*var(--fz));line-height:1.15;font-weight:500;letter-spacing:-.02em}
.m-sub{margin-bottom:28px;font-size:calc(18px*var(--fz));line-height:1.5;color:var(--text2)}
.form-light .fld input{background:var(--card);border-color:var(--line)}
.form-light .fld input:focus{border-color:var(--amber)}
.form-light .form-ok{background:var(--bg)}
.form-light .form-ok>span:last-child{color:var(--text2)}
.form-light .chk.err{color:var(--err)}
.m-box-video{width:min(1100px,100%);padding:0;overflow:hidden;background:#000;border-radius:28px}
.vwrap{aspect-ratio:16/9;background:#000}
.vwrap video{width:100%;height:100%;display:block}
.m-vcap{padding:14px 20px;font-size:calc(16px*var(--fz));color:#fff;background:#111}
.m-vcap a{color:var(--amber);text-decoration:underline}
.lb-box{position:relative;width:min(1200px,100%);transform:scale(.97);transition:transform .5s var(--easeO)}
.lb-img{height:min(76vh,800px);border-radius:28px;background-size:contain;background-color:transparent;transition:opacity .25s}
.lb-img.swap{opacity:0}
.lb-bar{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:16px;color:#fff;font-size:calc(20px*var(--fz));font-weight:700;text-align:center}
.lb-bar span{min-width:240px}

/* ===== Панель версии для слабовидящих ===== */
.a11y-panel{position:relative;z-index:70;padding:16px 0;background:#fff;color:#000;border-bottom:3px solid #000}
.a11y-in{display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px 28px}
.a11y-lbl{display:block;margin-bottom:8px;font-size:calc(16px*var(--fz));font-weight:700}
.a11y-row{display:flex;flex-wrap:wrap;gap:8px}
.a11y-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:52px;height:52px;padding:0 14px;border-radius:12px;border:2px solid #000;background:#fff;color:#000;font-size:calc(18px*var(--fz));font-weight:700;line-height:1}
.a11y-btn.is-on{outline:4px solid #F3A53A;outline-offset:2px}
.a11y-btn.dark{background:#000;color:#fff}
.a11y-btn .ic{width:20px;height:20px}
.sc-bw{background:#fff;color:#000}.sc-wb{background:#000!important;color:#fff!important}.sc-bl{background:#9DD1FF!important;color:#063462!important}.sc-be{background:#F7F3D6!important;color:#4D4B43!important}
.a11y-end{margin-left:auto}

/* ===== Режим для слабовидящих ===== */
html.fs-2{--fz:1.25}
html.fs-3{--fz:1.5}
html.a11y *,html.a11y *::before,html.a11y *::after{animation:none!important;transition:none!important}
html.a11y .js .rv,html.a11y .rv,html.a11y .a-up,html.a11y .hero-photo{opacity:1!important}
html.a11y .ln>span{transform:none!important}
html.a11y .hl{background-size:100% 100%!important}
html.a11y .mq-track{width:auto;flex-wrap:wrap;justify-content:center}
html.a11y .mq-set{flex-wrap:wrap;justify-content:center;row-gap:20px;padding:28px 20px}
html.a11y .mq-set[aria-hidden]{display:none}
html.a11y .marquee{height:auto}
html.a11y .marquee::before,html.a11y .marquee::after{display:none}
html.a11y .topbar{flex-wrap:wrap;height:auto;padding:16px 0;row-gap:12px}
html.fs-2 .nav,html.fs-3 .nav{display:none}
html.fs-2 .hdr-icbtn--menu,html.fs-3 .hdr-icbtn--menu{display:grid}
html.fs-2 .hdr-in,html.fs-3 .hdr-in{height:auto;min-height:88px;padding-block:10px}
html.fs-2 .hero-actions,html.fs-3 .hero-actions{display:flex;flex-wrap:wrap;gap:20px 24px}
html.fs-2 .hero-main,html.fs-3 .hero-main{height:auto;min-height:440px}
html.fs-2 .hero-visual,html.fs-3 .hero-visual{min-height:440px}
html.fs-3 .t-docs,html.fs-3 .t-steps,html.fs-3 .t-price{grid-column:span 6}
html.fs-3 .prow{grid-template-columns:1fr 1fr 0 auto 56px}
html.ls-2 body *{letter-spacing:.06em!important;word-spacing:.14em!important}
html.ls-2 body{line-height:1.75}
html.im-off .ph,html.im-off .logo-img{background-image:none!important;background-color:var(--sageL)}
html.im-off .ph[aria-label]::after{content:attr(aria-label);display:block;padding:12px;font-size:calc(16px*var(--fz));color:var(--text)}
html.im-gray .ph,html.im-gray .logo-img,html.im-gray .msg svg,html.im-gray .ct-msg svg,html.im-gray .ft-soc svg{filter:grayscale(1)}

/* крупный шрифт: раскладка перестраивается, ничего не вылезает */
html.a11y body{overflow-wrap:break-word;hyphens:auto}
html.a11y .sec-head,html.a11y .ft-top,html.a11y .ext,html.a11y .chips,html.a11y .price{flex-wrap:wrap}
html.a11y .lead{width:auto;max-width:640px}
html.a11y .btn{white-space:normal;height:auto;min-height:60px;padding-block:12px;text-align:center;line-height:1.2}
html.a11y .hero-actions>*{min-width:0;max-width:100%}
html.a11y .price b{white-space:normal}
html.a11y .logo-cap,html.a11y .hdr-phone{display:none}
html.a11y .with-col{grid-template-columns:minmax(0,1fr) var(--col)}
html.a11y .ft-top .sp{display:none}
html.a11y .ft-ph{align-items:flex-start}
html.fs-3 .hdr-in{flex-wrap:wrap}
html.fs-3 .hero-head{display:block}
html.fs-3 .place{flex-direction:row;align-items:center;margin-bottom:16px}
html.fs-3 .hero-main{display:block;height:auto;min-height:0}
html.fs-3 .hero-main>.team-card{display:none}
html.fs-3 .hero-visual{height:460px}
html.fs-3 .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-3 .t-rehab,html.fs-3 .t-pans,html.fs-3 .t-proc,html.fs-3 .t-cond{grid-column:span 1;aspect-ratio:1/1}
html.fs-3 .t-price,html.fs-3 .t-docs,html.fs-3 .t-steps{grid-column:span 2}
html.fs-3 .with-col{display:flex;flex-direction:column}
html.fs-3 .col{flex-direction:row;flex-wrap:wrap}
html.fs-3 .col .sq{flex:1 1 260px;width:auto;aspect-ratio:auto;min-height:220px}
html.fs-3 .nums{grid-template-columns:1fr}
html.fs-3 .num+.num{padding:24px 0 0;margin-top:24px;border-left:0;border-top:1px solid var(--line)}
html.fs-3 .prow{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 0 auto 56px;padding-block:16px}
html.fs-3 .promo{flex-wrap:wrap}
html.fs-3 .gal .r2{grid-template-columns:1fr 1fr;height:auto}
html.fs-3 .gal .r2 .gi{aspect-ratio:1/1}
html.fs-3 .gal .r2 .col-pair{grid-column:span 2;flex-direction:row}
html.fs-3 .gal .r2 .col-pair .sq{aspect-ratio:auto;min-height:220px}
html.fs-3 .rv-slide figcaption{padding-right:0;padding-bottom:96px}
html.fs-3 .req{grid-template-columns:1fr}
html.fs-3 .cts{grid-template-columns:1fr}
html.fs-3 .map{min-height:420px}
html.fs-3 .ft-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-3 .ft-legal{flex-direction:column}
html.fs-3 .ft-links{align-items:flex-start;text-align:left}
/* цветовые схемы */
html.sc-bw{--bg:#fff;--card:#fff;--sage:#fff;--sageL:#fff;--green:#000;--deep:#000;--text:#000;--text2:#000;--amber:#000;--amberH:#000;--ink:#fff;--line:#000;--onDeep2:#fff}
html.sc-wb{--bg:#000;--card:#000;--sage:#000;--sageL:#000;--green:#fff;--deep:#000;--text:#fff;--text2:#fff;--amber:#fff;--amberH:#fff;--ink:#000;--line:#fff;--onDeep2:#fff}
html.sc-bl{--bg:#9DD1FF;--card:#9DD1FF;--sage:#9DD1FF;--sageL:#9DD1FF;--green:#063462;--deep:#063462;--text:#063462;--text2:#063462;--amber:#063462;--amberH:#063462;--ink:#9DD1FF;--line:#063462;--onDeep2:#fff}
html.sc-be{--bg:#F7F3D6;--card:#F7F3D6;--sage:#F7F3D6;--sageL:#F7F3D6;--green:#4D4B43;--deep:#4D4B43;--text:#4D4B43;--text2:#4D4B43;--amber:#4D4B43;--amberH:#4D4B43;--ink:#F7F3D6;--line:#4D4B43;--onDeep2:#fff}
html[class*="sc-"] .hl{background:none!important;padding:0;text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.12em}
html[class*="sc-"] .on-dark .hl{color:#fff}
html[class*="sc-"] :is(.hdr-in,.team-card,.tile,.sq,.nums,.promo,.fq,.rv-card,.cts-card,.map,.chip,.msg,.mm-head,.circ,.notch,.plate,.notch-arrow,.prow,.mb,.ct-msg a,.drop,.drop-help){box-shadow:inset 0 0 0 2px var(--text)!important}
html[class*="sc-"] .notch::before,html[class*="sc-"] .notch::after,html[class*="sc-"] .plate::before,html[class*="sc-"] .plate::after,html[class*="sc-"] .notch-arrow::before,html[class*="sc-"] .notch-arrow::after{display:none}
html[class*="sc-"] .marquee::before,html[class*="sc-"] .marquee::after{display:none}
html[class*="sc-"] .ft-logo,html[class*="sc-"] .ft-soc a{background:#fff}
html[class*="sc-"] .p-float{display:none}
html[class*="sc-"] .circ,html[class*="sc-"] .hdr-icbtn{background:var(--bg)!important;color:var(--text)!important}
html[class*="sc-"] .tile:hover .circ,html[class*="sc-"] .sq:hover>.circ{background:var(--text)!important;color:var(--bg)!important}
html[class*="sc-"] .fld input{border-color:var(--text)}
html[class*="sc-"] ::placeholder{color:var(--text)!important;opacity:.85}

/* ===== Адаптив ===== */
@media (max-width:1559px){
  .cts .ct-msg a{gap:8px;padding:0 14px;font-size:calc(17px*var(--fz))}
  .cap-d{display:none}
  .logo-cap{display:none}
  .tb-it:nth-child(2){display:none}
}
@media (max-width:1279px){
  :root{--col:210px}
  .nav{display:none}
  .logo-cap{display:block}
  .cap-d{display:inline}
  .hdr-phone{display:inline-flex;margin-right:12px}
  .hdr-icbtn--menu{display:grid}
  .team-txt>span{font-size:calc(18px*var(--fz));line-height:25px}
  .team-txt>b{font-size:60px/*ns*/}
  .hero-actions{display:flex;flex-wrap:wrap;row-gap:20px}
  .hero-actions .sp{display:none}
  .hero-actions .btn-outline{margin-left:auto}
  .notch-bl p{font-size:calc(20px*var(--fz));line-height:29px}
  .req{grid-template-columns:1fr 400px;gap:48px;padding:56px}
  .sq-phone{padding:24px 20px}
  .sq-phone>b{font-size:calc(17px*var(--fz))}
  .sq-top{font-size:calc(20px*var(--fz));line-height:26px}
  .sq>b{font-size:calc(23px*var(--fz));line-height:28px}
  .rv-card{padding:56px 56px 48px}
  .rv-nav{right:56px;bottom:48px}
  .cts-card{padding:40px}
  .ft-ph a:first-child{font-size:calc(26px*var(--fz))}
  .hero-main{grid-template-columns:1fr}
  .hero-main>.team-card{display:none}
  .team-card--m{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:16px;margin-top:24px;padding:18px 24px;border-radius:28px;max-width:520px}
  .team-card--m .avs>.ph{width:48px;height:48px}
  .team-card--m .team-txt{flex:1}
  .team-card--m .team-txt>b{font-size:calc(20px*var(--fz));line-height:26px;font-weight:700;letter-spacing:0}
  .team-card--m .link-u{font-size:calc(18px*var(--fz));font-weight:500;text-decoration-thickness:1px}
  .t-proc .plate span,.t-cond .plate span{display:none}
  .t-top .circ{width:64px;height:64px}
  .avs.lg>.ph{width:60px;height:60px;margin-left:-14px}
  .avs.lg>.ph:nth-child(n+5){display:none}
  .t-price,.t-docs,.t-steps{padding:32px}
}
@media (max-width:1199px){
  .tb-it{display:none}
  .lead{width:360px}
  .prow{grid-template-columns:360fr 360fr 120fr 220fr 56px}
}

/* ===== Компактная (мобильная) раскладка ===== */
@media (max-width:1023px){
  :root{--gut:16px;--wrap:min(720px, calc(100% - 32px));--bleed:calc((100vw - min(720px, calc(100vw - 32px)))/2);--r:28px;--gap:12px;--h2:32px}
  html{scroll-padding-top:96px}
  body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .d-only{display:none!important}
  .m-only{display:inline}
  .topbar{display:none}
  .hdr{top:12px;margin-top:12px}
  .hdr-in,.hdr.is-stuck .hdr-in{height:68px;padding:0 10px 0 14px;gap:8px}
  .hdr.is-stuck .hdr-in{box-shadow:0 14px 30px -18px rgba(30,61,46,.45)}
  .logo{gap:10px}
  .logo-img{width:48px;height:44px}
  .logo-cap{display:block;font-size:calc(16px*var(--fz));line-height:19px}
  .cap-d{display:none}
  .cap-m{display:inline}
  .hdr-phone,.hdr-cta{display:none}
  .hdr-icbtn{display:grid}

  .hero{padding-top:20px}
  .hero-head{display:block}
  .place{flex-direction:row;align-items:center;gap:10px;font-size:calc(17px*var(--fz));line-height:22px}
  .place br{display:none}
  .place-av{width:40px;height:40px}
  .h1{margin-top:20px;font-size:38px/*ns*/;line-height:44px;letter-spacing:-.02em}
  .h1 .ln{display:inline;overflow:visible;padding:0;margin:0}
  .h1 .ln>span{display:inline}
  .hl{padding:0 12px 1px}
  .js .hero:not(.hero-in) .ln>span{transform:none}
  .js .hero:not(.hero-in) .h1{opacity:0}
  .hero-in .ln>span{animation:none}
  .hero-in .h1{animation:rvUp .9s var(--easeO) .05s backwards}
  .hero-main{display:block;height:auto;margin-top:20px}
  .hero-main>.team-card{display:none}
  .hero-visual{--nr:22px}
  .hero-photo{position:relative;inset:auto;height:300px;border-radius:var(--r) 0 var(--r) var(--r)}
  @keyframes clipIn{from{clip-path:inset(4% 3% 4% 3% round 28px)}to{clip-path:inset(0 round 28px)}}
  .notch-tr{padding:6px 24px 10px 16px}
  .video-link{gap:10px}
  .video-link .circ{width:48px;height:48px}
  .video-link b{max-width:76px;font-size:calc(16px*var(--fz));line-height:19px}
  .video-link small{display:none}
  .notch-bl{display:none}
  .chips{position:static;flex-wrap:wrap;margin:16px 0 0;padding:0}
  .chips::-webkit-scrollbar{display:none}
  .chip{height:46px;padding:0 14px 0 16px;font-size:calc(16px*var(--fz))}
  .hero-sub-m{display:block;margin-top:20px;font-size:calc(18px*var(--fz));line-height:27px}
  .hero-actions,html.fs-2 .hero-actions,html.fs-3 .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-height:0;margin-top:20px}
  .hero-actions .sp{display:none}
  .price{display:flex;align-items:center;gap:14px;order:1}
  .price b{font-size:calc(36px*var(--fz));line-height:40px}
  .price span{max-width:140px;margin:0;font-size:calc(16px*var(--fz));line-height:21px}
  .license{order:2}
  .license .circ{width:48px;height:48px}
  .license b{font-size:calc(18px*var(--fz));line-height:23px}
  .license small{font-size:calc(16px*var(--fz));line-height:22px}
  .hero-actions .btn{height:60px;font-size:calc(18px*var(--fz));margin:0}
  .hero-actions .btn-amber{order:3}
  .hero-actions .btn-outline{order:4}
  .team-card--m{display:flex;flex-direction:row;align-items:center;gap:14px;margin-top:20px;padding:18px;border-radius:24px}
  .team-card--m .avs>.ph{width:40px;height:40px;margin-left:-16px}
  .team-card--m .avs>.ph:first-child{margin-left:0}
  .team-card--m .team-txt{flex:1}
  .team-card--m .team-txt>b{font-size:calc(18px*var(--fz));line-height:25px;font-weight:700;letter-spacing:0}
  .team-card--m .link-u{font-size:calc(18px*var(--fz));line-height:24px;font-weight:500;text-decoration-thickness:1px}
  .team-card--m .circ{width:44px;height:44px}

  .marquee{display:none}
  .marquee::before,.marquee::after{width:48px}
  .mq-it{gap:12px;font-size:calc(24px*var(--fz));line-height:26px}
  .mq-ph{width:64px;height:40px;border-radius:20px}
  .mq-sep{width:20px;height:20px;margin:0 28px}
  .mq-track{animation-duration:60s}

  .sec{padding-top:72px}
  .sec-head{display:block;margin-bottom:24px}
  .h2{font-size:32px/*ns*/;line-height:39px;letter-spacing:-.02em}
  .lead{width:auto;margin-top:12px;font-size:calc(18px*var(--fz));line-height:25px}

  .bento{grid-template-columns:1fr 1fr;gap:12px}
  .t-rehab,.t-pans{grid-column:span 2;aspect-ratio:358/350}
  .t-proc,.t-cond{grid-column:span 1;aspect-ratio:173/220}
  .t-price,.t-docs,.t-steps{grid-column:span 2;min-height:0;padding:24px;gap:16px}
  .tile{--nr:22px}
  .tile-ph{padding:8px 8px 18px;border-radius:24px}
  .tile-ph>.ph{min-height:0;border-radius:18px}
  .tile-ph>.notch-arrow{margin:16px 8px 0 10px}
  .tile-ph .notch-arrow .circ .ic{width:22px;height:22px}
  .tile .plate b{margin:14px 0 0 8px;font-size:calc(22px*var(--fz));line-height:1.2}
  .tile .plate span{margin:4px 8px 0;font-size:calc(16px*var(--fz));line-height:1.4}
  .tile .plate strong{margin:6px 8px 0;font-size:calc(17px*var(--fz));line-height:1.35}
  .t-proc>.notch-arrow,.t-cond>.notch-arrow{margin-top:14px}
  .t-proc .notch-arrow .circ .ic,.t-cond .notch-arrow .circ .ic{width:20px;height:20px}
  .t-proc .plate b,.t-cond .plate b{font-size:calc(18px*var(--fz))}
  .bento .tile-ph>.ph{aspect-ratio:16/11}
  .bento .t-proc>.ph,.bento .t-cond>.ph{aspect-ratio:5/4}
  .t-proc .plate span,.t-cond .plate span{display:none}
  .t-top{align-items:center}
  .t-top .circ{width:56px;height:56px}
  .t-top .circ .ic{width:24px;height:24px}
  .t-title,.t-docs .t-title,.t-steps .t-title{font-size:calc(26px*var(--fz));line-height:31px}
  .t-price .t-sub{display:none}
  .t-big b{font-size:40px/*ns*/;line-height:46px}
  .t-big>span{margin-top:2px;font-size:calc(16px*var(--fz));line-height:22px}
  .t-sub,.t-bot .t-sub{margin-top:2px;font-size:calc(16px*var(--fz));line-height:22px}
  .avs.lg>.ph{width:52px;height:52px;margin-left:-14px}
  .avs.lg>.ph:nth-child(6){display:none}
  .t-num{font-size:34px/*ns*/;line-height:40px}

  .with-col{display:flex;flex-direction:column;gap:24px}
  .col-one .sq,.col-wide .sq{flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:16px;aspect-ratio:auto;min-height:92px;padding:20px 20px 20px 24px;border-radius:24px}
  .col-one .sq>b,.col-wide .sq>b{font-size:calc(20px*var(--fz));line-height:25px}
  .col .sq>.circ{width:52px;height:52px;align-self:center}
  .col-wide{gap:24px}
  .col-wide .sq-phone{display:grid;grid-template-columns:1fr auto;grid-template-areas:"t c" "p c";row-gap:2px;min-height:98px}
  .sq-top{display:contents}
  .sq-q{grid-area:t;font-size:calc(16px*var(--fz));line-height:22px;color:var(--onDeep2)}
  .sq-phone .circ{grid-area:c;width:52px;height:52px}
  .col-wide .sq-phone>b{grid-area:p;font-size:28px/*ns*/;line-height:34px}
  .sq-phone>b small{display:none}
  .col-pair,.gal-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.col-pair .sq,.gal-more .sq{min-width:0}
  .col-pair .sq,.gal-more .sq{aspect-ratio:1;padding:20px;border-radius:24px}
  .col-pair .sq>.circ,.gal-more .sq>.circ{width:48px;height:48px}
  .col-pair .sq>b,.gal-more .sq>b{font-size:calc(20px*var(--fz));line-height:23px}
  .col-pair .sq>b small{display:none}

  .stmt-h{font-size:30px/*ns*/;line-height:36px;margin-bottom:24px}
  .stmt-h .hl{padding:0 10px 1px}
  .nums{grid-template-columns:1fr;padding:8px 24px}
  .num,.num+.num{display:grid;grid-template-columns:140px 1fr;gap:16px;align-items:center;padding:18px 0;border-left:0}
  .num+.num{border-top:1px solid var(--line)}
  .num b{font-size:34px/*ns*/;line-height:34px}
  .num>span{margin:0;font-size:calc(16px*var(--fz));line-height:22px}

  .ptable{display:flex;flex-direction:column;gap:10px}
  .prow-h{display:none}
  .prow{grid-template-columns:1fr 44px;grid-template-areas:"n n" "i i" "p a";row-gap:8px;min-height:0;padding:18px 20px;border:0;border-radius:24px;background:var(--card)}
  .prow::before,.p-zone,.p-float{display:none}
  .p-name{grid-area:n;font-size:calc(20px*var(--fz));line-height:25px}
  .p-inc{grid-area:i;font-size:calc(16px*var(--fz));line-height:22px}
  .p-price{grid-area:p;font-size:calc(24px*var(--fz));line-height:31px}
  .prow .circ{grid-area:a;width:44px;height:44px}
  #prices .with-col{margin-top:24px}
  .promo{gap:16px;padding:20px 24px;border-radius:24px}
  .promo-n{font-size:44px/*ns*/;line-height:52px;letter-spacing:-.03em}
  .promo-t{font-size:calc(16px*var(--fz));line-height:24px}
  .promo-s{display:none}

  .gal{flex-direction:row;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;margin:-24px calc(var(--bleed)*-1) -24px;padding:24px var(--bleed) 40px;scroll-padding-inline:var(--bleed);scrollbar-width:none}
  .gal::-webkit-scrollbar{display:none}
  .gal-row{display:contents}
  .gal .col-pair{display:none}
  .gi{flex:none;width:300px;height:380px;scroll-snap-align:start;--nr:22px}
  .gal .rv{opacity:1!important;animation:none!important}
  .gi .plate{padding:16px 24px 2px 16px}
  .gi .plate b{font-size:calc(22px*var(--fz));line-height:28px}
  .gi .plate span{margin-top:2px;font-size:calc(16px*var(--fz));line-height:22px}
  .gi::after{display:none}
  .gal-more{margin-top:16px}

  #reviews .sec-head{margin-bottom:24px}
  .ext{margin-top:24px;gap:8px}
  .pill-link{height:48px;padding:0 18px 0 20px;font-size:calc(17px*var(--fz))}
  .rv-card{min-height:0;padding:28px 24px 24px;border-radius:28px}
  .rv-q{display:block}
  .rv-slides{margin-top:24px}
  .rv-slide blockquote{font-size:calc(20px*var(--fz));line-height:29px}
  .rv-slide figcaption{padding:24px 130px 0 0}
  .rv-slide figcaption b{font-size:calc(18px*var(--fz));line-height:25px}
  .rv-slide figcaption span{font-size:calc(16px*var(--fz));line-height:22px}
  .rv-nav{right:24px;bottom:24px;gap:10px}
  .rv-nav .circ{width:52px;height:52px}
  #reviews .with-col{gap:24px}

  .fq{border-radius:24px}
  .fq-q{gap:14px;padding:18px 14px 18px 20px;font-size:calc(18px*var(--fz));line-height:24px}
  .fq-q .circ{width:44px;height:44px}
  .fq-a p{padding:0 20px 20px;font-size:calc(16px*var(--fz));line-height:1.55}

  .req{display:flex;flex-direction:column;gap:0;padding:32px 20px 24px;border-radius:32px}
  .req-l{display:contents}
  .req .h2{order:1;font-size:30px/*ns*/;line-height:36px}
  .req-t{order:2;margin-top:16px;font-size:calc(18px*var(--fz));line-height:25px}
  .req .form{order:3;margin-top:16px}
  .req-or{order:4;margin-top:16px;font-size:calc(16px*var(--fz))}
  .req-or a{font-size:32px/*ns*/;line-height:39px}
  .fld>span{margin-bottom:6px;font-size:calc(16px*var(--fz));line-height:22px}
  .fld input{height:60px;padding:0 18px;border-radius:16px;font-size:calc(18px*var(--fz))}
  .chk{font-size:calc(16px*var(--fz));line-height:22px;gap:12px}
  .chk input,.chk-box{width:28px;height:28px}
  .form .btn{height:60px;font-size:calc(18px*var(--fz))}

  .cts{display:flex;flex-direction:column;gap:24px;min-height:0}
  .cts-card{gap:20px;padding:24px;border-radius:28px}
  .ct{gap:14px}
  .ct .circ{width:44px;height:44px}
  .ct .circ .ic{width:20px;height:20px}
  .ct b,.ct-ph,.ct div>a.ct-ph{font-size:calc(20px*var(--fz));line-height:26px}
  .ct div>a,.ct div>span{margin-top:2px;font-size:calc(16px*var(--fz));line-height:22px}
  .cts .ct-msg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:4px}
  .ct-msg a{flex-direction:column;justify-content:center;gap:4px;height:68px;padding:0;border-radius:18px;font-size:calc(16px*var(--fz))}
  .ct-msg svg{width:20px;height:20px}
  .map{height:240px;border-radius:28px}
  .map-pin{left:42%;top:46%;height:42px;padding:0 16px 0 12px;font-size:calc(16px*var(--fz))}
  .map-pin .ic{width:20px;height:20px}
  .map-route{left:16px;top:16px;height:48px;padding:0 18px;font-size:calc(16px*var(--fz))}
  .map-route .ic{width:18px;height:18px}

  .ft{margin-top:72px;padding:40px 0 32px}
  .ft::before{left:0;right:0;border-radius:32px 32px 0 0}
  .ft-top{flex-wrap:wrap;gap:24px 12px;padding-bottom:24px;border-bottom:0}
  .ft-logo{width:64px;height:56px;border-radius:14px}
  .ft-logo .logo-img{width:48px;height:44px}
  .ft-cap{flex:1;font-size:calc(16px*var(--fz));line-height:22px}
  .ft-top>.sp{display:none}
  .ft-ph{width:100%;align-items:flex-start}
  .ft-ph a:first-child{font-size:32px/*ns*/;line-height:39px}
  .ft-top .btn{width:100%;height:60px;font-size:calc(18px*var(--fz))}
  .ft-cols{display:block;padding:0}
  .fcol{border-bottom:1px solid rgba(255,255,255,.14)}
  .fhead{min-height:64px;pointer-events:auto}
  .fhead .ic{display:block;width:22px;height:22px;transition:transform .4s var(--easeO)}
  .fcol.open .fhead .ic{transform:rotate(180deg)}
  .fcol ul{display:none;margin:0;padding-bottom:20px}
  .fcol.open ul{display:flex}
  .fcol-ct{border:0;padding-top:24px}
  .fhead-s{display:none}
  .fcol-ct p{margin:0 0 8px;font-size:calc(16px*var(--fz));line-height:22px}
  .ft-soc{margin-top:16px}
  .ft-warn{margin-top:24px;padding:16px 18px;gap:12px;font-size:calc(18px*var(--fz));line-height:23px}
  .ft-legal{flex-direction:column;gap:8px;margin-top:24px;font-size:calc(16px*var(--fz));line-height:22px}
  .ft-links{align-items:flex-start;text-align:left}

  .mbar{position:fixed;left:0;right:0;bottom:0;z-index:90;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--card);box-shadow:0 -10px 30px -12px rgba(30,61,46,.3);transform:translateY(110%);transition:transform .45s var(--easeO)}
  .mbar.show{transform:none}
  .mb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:64px;border-radius:18px;box-shadow:inset 0 0 0 1px var(--line);font-size:calc(16px*var(--fz));font-weight:700;transition:transform .2s}
  .mb:active{transform:scale(.96)}
  .mb .ic{width:22px;height:22px}
  .mb-amber{background:var(--amber);color:var(--ink);box-shadow:none}
  .mb-dark{background:var(--deep);color:#fff;box-shadow:none}

  .m-box{padding:32px 20px 24px;border-radius:28px}
  .m-title{font-size:calc(28px*var(--fz))}
  .m-x{top:14px;right:14px}
  .lb-img{height:70vh;border-radius:20px}
  .lb-bar{gap:12px;font-size:calc(16px*var(--fz))}
  .lb-bar span{min-width:0;flex:1}
}
@media (max-width:1023px){
  html.fs-3{--fz:1.3}
  html.a11y .logo-cap{display:none}
  html.a11y .hdr-in{flex-wrap:nowrap}
  html.fs-3 .hero-main{display:block}
  html.fs-3 .hero-visual{height:auto}
  html.fs-3 .bento{grid-template-columns:1fr}
  html.fs-3 .t-rehab,html.fs-3 .t-pans,html.fs-3 .t-proc,html.fs-3 .t-cond,html.fs-3 .t-price,html.fs-3 .t-docs,html.fs-3 .t-steps{grid-column:span 1;aspect-ratio:auto;min-height:300px}
  html.fs-3 .t-proc .plate span,html.fs-3 .t-cond .plate span{display:block}
  html.fs-3 .prow{grid-template-columns:1fr 44px;padding-block:18px}
  html.fs-3 .nums{grid-template-columns:1fr}
  html.fs-3 .num,html.fs-3 .num+.num{grid-template-columns:1fr;gap:6px;margin:0;padding:18px 0;border-left:0}
  html.fs-3 .col-pair,html.fs-3 .gal-more{grid-template-columns:1fr}
  html.fs-3 .col-pair .sq,html.fs-3 .gal-more .sq{aspect-ratio:auto;min-height:150px}
  html.fs-3 .cts .ct-msg,html.fs-3 .mm-bot .ct-msg{grid-template-columns:1fr}
  html.fs-3 .mbar .mb{font-size:calc(15px*var(--fz))}
  html.fs-3 .rv-slide figcaption{padding:24px 0 80px}
  html.fs-3 .ft-cols{display:block}
  html.a11y .col-wide .sq-phone{grid-template-columns:1fr;grid-template-areas:"t" "p"}
  html.a11y .col-wide .sq-phone .circ{display:none}
  html.a11y .col-wide .sq-phone>b{font-size:24px/*ns*/}
}
@media (min-width:600px) and (max-width:1023px){
  .t-rehab,.t-pans{grid-column:span 1;aspect-ratio:1/1}
  .t-rehab .plate b,.t-pans .plate b{font-size:calc(24px*var(--fz))}
}
@media (max-width:359px){
  .h1{font-size:34px/*ns*/;line-height:40px}
  .logo-cap{display:none}
}

/* Сенсорные экраны: без «прилипающих» ховеров */
@media (hover:none),(pointer:coarse){
  .tile:hover,.sq:hover,.team-card:hover,.t-price:hover,.t-docs:hover,.t-steps:hover{transform:none;box-shadow:none}
  .tile-ph:hover>.ph,.gi:hover>.ph{transform:none}
  .tile:hover .circ,.sq:hover>.circ{transform:none}
  .msg:hover,.ct-msg a:hover,.ft-soc a:hover{transform:none}
}

/* Система просит «уменьшить движение» (Windows: эффекты анимации выкл., macOS: Reduce motion).
   Мягкий режим: без сдвигов, обрезки и масштаба — только плавное появление; бегущая строка медленнее.
   Полностью статично — в версии для слабовидящих (html.a11y). */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .mq-track{animation-duration:120s}
  .js .rv.in,.hero-in .a-up,.hero-in .ln>span,.hero-in .hero-photo{animation:fadeIn .8s ease var(--d,0s) backwards}
  .hero-in .hero-photo{animation-delay:.15s}
  .hero-in .hero-photo>.ph{animation:none}
}
@media (prefers-reduced-motion:reduce) and (max-width:1023px){
  .mq-track{animation-duration:90s}
}

/* Печать */
@media print{.topbar,.hdr,.marquee,.mbar,.mmenu,.modal,.a11y-panel{display:none!important}.js .rv{opacity:1!important}}

/* ===== Главная: центр на видео ===== */
.vids{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}
.vcard{display:flex;flex-direction:column;width:100%;padding:12px;border-radius:var(--r);background:var(--card);color:var(--text);text-align:left;cursor:pointer;transition:transform .5s var(--easeO),box-shadow .5s var(--easeO)}
.vcard>.ph{position:relative;display:block;aspect-ratio:16/9;border-radius:calc(var(--r) - 12px);overflow:hidden}
.vcard>.ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.35));pointer-events:none}
.vc-play{position:absolute;z-index:1;left:50%;top:50%;width:88px;height:88px;margin:-44px 0 0 -44px;background:var(--amber);color:var(--ink);box-shadow:0 18px 40px -16px rgba(0,0,0,.55)}
.vc-play .ic{width:30px;height:30px;margin-left:4px}
.vc-dur{position:absolute;z-index:1;left:16px;bottom:16px;padding:6px 12px;border-radius:999px;background:rgba(27,31,28,.72);color:#fff;font-size:calc(16px*var(--fz));font-weight:700;line-height:1.2}
.vc-b{display:flex;flex-direction:column;gap:8px;padding:22px 16px 14px}
.vc-b b{font-size:calc(clamp(22px, calc(var(--W)*.0186), 28px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.vc-b span{font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}
.vcard:hover{transform:translateY(-6px);box-shadow:0 30px 50px -32px rgba(30,61,46,.45)}
.vcard:hover .vc-play{transform:scale(1.08);background:var(--amberH)}
.m-box-video.is-v{width:min(440px, calc((100svh - 150px)*.5625), 100%)}
.m-box-video.is-v .vwrap{aspect-ratio:9/16}
@media (max-width:1023px){
  .vids{display:flex;flex-direction:column;gap:12px}
  .vcard{padding:10px;border-radius:24px}
  .vcard>.ph{border-radius:18px}
  .vc-play{width:68px;height:68px;margin:-34px 0 0 -34px}
  .vc-play .ic{width:24px;height:24px}
  .vc-dur{left:12px;bottom:12px}
  .vc-b{gap:6px;padding:16px 8px 8px}
  .vc-b b{font-size:20px/*ns*/}
  .vc-b span{font-size:calc(16px*var(--fz))}
}

/* Плитка «Не нашли ответ?» на 1024–1279: номер не должен обрезаться и переноситься */
@media (min-width:1024px) and (max-width:1279px){
  .sq-phone{padding-inline:20px}
  .sq-phone>b{font-size:calc(17px*var(--fz));line-height:22px;white-space:nowrap}
  html.a11y .sq-phone>b{font-size:17px/*ns*/}
}

/* ===== Типографика: без висячих слов (вместе с типографом tools/typograf.py при сборке) ===== */
h1,h2,h3,h4,.h1p,.h2,.h3,.lead,.pg-lead,.sec-head p,.plate b,.plate span,figcaption,.btn,label,.fq-q{text-wrap:balance}
p,li,dd,dt,td,th,blockquote,.txt2{text-wrap:pretty}
/* страховка: неразрывный кусок не вылезает из узкой карточки — переносится по слогам/внутри слова */
body{overflow-wrap:break-word}
.icard b,.icard p,.ck li,.num span,.tile b,.tile span,.doc b,.doc span,.sq b,.room-b .txt2{hyphens:auto}

/* ===== Внутренние страницы: общие компоненты ===== */
.page[hidden]{display:none!important}

/* Первый экран страницы */
.pg-hero{padding-top:36px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:40px;font-size:calc(18px*var(--fz));color:var(--text2)}
.crumbs a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.crumbs a:hover{color:var(--deep)}
.crumbs i{font-style:normal}
.pg-hero-row{display:grid;grid-template-columns:minmax(0,1fr) 48%;gap:24px;min-height:clamp(480px, calc(var(--W)*.4286), 600px)}
.pg-hero-row.no-photo{grid-template-columns:minmax(0,1fr) 500px;min-height:0}
.pg-hero-text{display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.h1p{margin:0;font-weight:500;font-size:clamp(40px, calc(var(--W)*.0543), 76px);line-height:1.12;letter-spacing:-.03em}
.h1p .hl{padding:0 .29em .06em .25em}
.pg-lead{max-width:680px;margin-top:28px;font-size:calc(22px*var(--fz));line-height:1.55;color:var(--text2)}
.pg-note{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:calc(19px*var(--fz));color:var(--text2)}
.pg-note .ic{color:var(--green)}
.pg-price{display:flex;align-items:flex-end;gap:16px;margin-bottom:28px}
.pg-price b{font-size:calc(48px*var(--fz));line-height:1;font-weight:700;letter-spacing:-.04em;white-space:nowrap}
.pg-price span{max-width:300px;font-size:calc(19px*var(--fz));line-height:1.35;color:var(--text2)}
.btn-row{display:flex;flex-wrap:wrap;gap:16px}

/* Фото с «карманами» */
.pvis{position:relative;--nr:32px;min-height:inherit}
.pvis-ph{position:absolute;inset:0;border-radius:var(--r) 0 var(--r) 0;overflow:hidden}
.pvis-ph>.ph{position:absolute;inset:0}
.pvis.rv.in .pvis-ph{animation:clipIn 1.4s var(--easeO) backwards}
.pvis.rv.in .pvis-ph>.ph{animation:zoomOut 1.8s var(--easeO) backwards}
.pvis.only-bl .pvis-ph{border-radius:var(--r) var(--r) var(--r) 0}
.pv-tr{padding:14px 40px 22px 30px}
.pv-bl{width:auto;max-width:60%;padding:28px 40px 6px 28px}
.pv-bl b{display:block;font-size:calc(44px*var(--fz));line-height:1;font-weight:700;letter-spacing:-.04em}
.pv-bl span{display:block;max-width:260px;margin-top:6px;font-size:calc(19px*var(--fz));line-height:1.4;color:var(--text2)}
.pv-bl.t b{font-size:calc(clamp(26px, calc(var(--W)*.0243), 34px)*var(--fz));font-weight:500;letter-spacing:-.02em;line-height:1.15}
.lic{display:flex;align-items:center;gap:14px}
.lic .circ{background:var(--sage);color:var(--deep)}
.lic b{display:block;font-size:calc(18px*var(--fz));line-height:1.3}
.lic small{display:block;font-size:calc(16px*var(--fz));color:var(--text2)}
.lic:hover b{text-decoration:underline}

/* Сетки */
.g2,.g3,.g4,.g5{display:grid;gap:var(--gap)}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g5{grid-template-columns:repeat(5,minmax(0,1fr))}
.stack{display:flex;flex-direction:column;gap:var(--gap)}
.split{display:grid;grid-template-columns:minmax(0,1fr) 34%;gap:var(--gap)}
.split.l{grid-template-columns:40% minmax(0,1fr)}
.split.wide{grid-template-columns:65.7% minmax(0,1fr)}
.pic{position:relative;min-height:300px;border-radius:var(--r);overflow:hidden}
.pic>.ph{position:absolute;inset:0;transition:transform 1.4s var(--easeO)}

/* Плитки-фото со стрелкой (как на главной) */
.tgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:var(--gap)}
.tgrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Плитки разделов — стандартные карточки (как на главной): фото, название со стрелкой, описание, цена внизу */
.tgrid .tile.tile-ph{grid-template-rows:auto auto auto 1fr}
.tgrid .tile-ph>.ph{aspect-ratio:16/11}
.tgrid.two .tile-ph>.ph{aspect-ratio:2/1}
.tgrid.low .tile-ph>.ph{aspect-ratio:3/2}
.tgrid .tile-ph>.notch-arrow{margin-top:23px}
.tgrid .tile-ph .notch-arrow .circ .ic{width:24px;height:24px}
.tgrid .tile .plate b{font-size:calc(clamp(22px, calc(var(--W)*.019), 26px)*var(--fz))}
.tgrid.two .tile .plate b{font-size:calc(clamp(24px, calc(var(--W)*.022), 30px)*var(--fz))}
.tgrid .tile .plate span{font-size:calc(16px*var(--fz))}
.tgrid .tile .plate strong{align-self:end;font-size:calc(18px*var(--fz))}

/* Карточки */
.card{position:relative;padding:40px;border-radius:var(--r);background:var(--card)}
.card.sage{background:var(--sage)}
.card.sageL{background:var(--sageL)}
.card.deep{background:var(--deep);color:#fff}
.card.flex{display:flex;flex-direction:column;gap:20px}
.card.between{justify-content:space-between}
.h3{margin:0;font-size:calc(clamp(24px, calc(var(--W)*.0214), 30px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.h3.lg{font-size:calc(clamp(28px, calc(var(--W)*.0286), 40px)*var(--fz));letter-spacing:-.03em}
.txt2{font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.deep .txt2{color:var(--onDeep2)}
a.card,button.card{display:block;text-align:left;transition:transform .5s var(--easeO),box-shadow .5s}
a.card:hover{transform:translateY(-6px);box-shadow:0 26px 44px -28px rgba(30,61,46,.5)}
.more-link{display:inline-flex;align-items:center;gap:10px;font-size:calc(20px*var(--fz));font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:4px}
.more-link .ic{transition:transform .4s var(--easeO)}
.more-link:hover .ic{transform:rotate(45deg)}
.deep .more-link{color:#fff}

/* Список с галочками */
.ck{display:flex;flex-direction:column;gap:14px}
.ck li{position:relative;padding-left:46px;font-size:calc(20px*var(--fz));line-height:1.45}
.ck li::before{content:"";position:absolute;left:0;top:-1px;width:32px;height:32px;border-radius:50%;background:var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B3E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat}
.ck.w li::before{background-color:#fff}
.ck.sm li{font-size:calc(19px*var(--fz))}
.ck.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px}
.deep .ck li::before{background-color:var(--sage)}

/* Шаги */
.steps{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:var(--gap)}
.step{display:flex;flex-direction:column;gap:18px;padding:36px;border-radius:var(--r);background:var(--card)}
.step-top{display:flex;align-items:center;justify-content:space-between}
.step-n{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--sage);color:var(--deep);font-size:calc(26px*var(--fz));font-weight:700}
.step-top .ic{width:32px;height:32px;color:var(--green)}
.step b{font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.01em}
.step p{font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.band{padding:64px;border-radius:56px;background:var(--deep);color:#fff}
.band .h2{color:#fff}
.band .hl{color:var(--text)}
.band-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:48px}
.band-head p{max-width:460px;font-size:calc(21px*var(--fz));line-height:1.5;color:var(--onDeep2)}
.band .step{background:rgba(255,255,255,.07);padding:28px;border-radius:32px;gap:16px}
.band .step .step-n{width:56px;height:56px;font-size:calc(24px*var(--fz))}
.band .step b{color:#fff;font-size:calc(24px*var(--fz))}
.band .step p{color:var(--onDeep2);font-size:calc(18px*var(--fz))}
.band .btn-row{margin-top:48px}
.btn-ghost{box-shadow:inset 0 0 0 2px #fff;color:#fff}
.btn-ghost:hover{background:#fff;color:var(--deep)}

/* Программы */
.prog{display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:40px;border-radius:var(--r);background:var(--card)}
.prog-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.prog-h b{font-size:calc(40px*var(--fz));line-height:1.1;font-weight:500;letter-spacing:-.04em}
.prog-h span{font-size:calc(19px*var(--fz));color:var(--text2)}
.prog-rows>div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:calc(20px*var(--fz))}
.prog-rows>div b{white-space:nowrap}
.prog-price b{display:block;font-size:calc(52px*var(--fz));line-height:1;font-weight:700;letter-spacing:-.05em}
.prog-price small{display:block;margin:6px 0 20px;font-size:calc(18px*var(--fz));color:var(--text2)}
.prog .btn{width:100%}
.prog.deep{background:var(--deep);color:#fff}
.prog.deep .prog-h span,.prog.deep .prog-price small{color:var(--onDeep2)}
.prog.deep .prog-rows>div{border-color:rgba(255,255,255,.18)}
.wide-card{display:flex;align-items:center;gap:48px;padding:36px 48px;border-radius:var(--r);background:var(--card)}
.wide-card.sageL{background:var(--sageL)}
.wide-card>.h3{flex:0 0 auto}
.wide-card .ck{flex:1}
.promo-big{font-size:clamp(64px, calc(var(--W)*.0686), 96px);line-height:1;letter-spacing:-.05em;font-weight:500;white-space:nowrap}

/* Врачи */
.docs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) var(--col);gap:var(--gap)}
.docs.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.doc{display:flex;flex-direction:column;padding:12px;border-radius:var(--r);background:var(--card);transition:transform .5s var(--easeO),box-shadow .5s}
.doc>.ph{height:clamp(260px, calc(var(--W)*.2286), 340px);border-radius:32px;background-position:50% 18%}
.doc-b{padding:20px 16px 16px}
.doc-b b{display:block;font-size:calc(22px*var(--fz));line-height:1.3;font-weight:700}
.doc-b span{display:block;margin-top:6px;font-size:calc(18px*var(--fz));line-height:1.4;color:var(--text2)}
a.doc:hover{transform:translateY(-6px);box-shadow:0 26px 44px -28px rgba(30,61,46,.5)}
.docs .sq{aspect-ratio:auto;height:100%}

/* Отзывы-карточки */
.rcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) var(--col);gap:var(--gap)}
.rcard{display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:40px;border-radius:var(--r);background:var(--sage)}
.rcard svg{width:32px;height:32px;color:var(--green)}
.rcard p{margin-top:20px;font-size:calc(21px*var(--fz));line-height:1.5}
.rcard b{display:block;font-size:calc(20px*var(--fz))}
.rcard span{display:block;margin-top:4px;font-size:calc(17px*var(--fz));color:var(--text2)}
.rcards .sq{aspect-ratio:auto;height:100%}

/* Сравнение */
.cmp{border-radius:var(--r);background:var(--card);overflow:hidden}
.cmp-r{display:grid;grid-template-columns:30% minmax(0,1fr) minmax(0,1fr)}
.cmp-r+.cmp-r{border-top:1px solid var(--line)}
.cmp-r>div{display:flex;align-items:flex-start;gap:12px;padding:26px 32px;font-size:calc(20px*var(--fz));line-height:1.45}
.cmp-r>div:nth-child(1){font-weight:700;font-size:calc(21px*var(--fz))}
.cmp-r>div:nth-child(2){color:var(--text2)}
.cmp-r>div:nth-child(3){background:var(--sage)}
.cmp-h>div{padding-block:28px;font-size:calc(22px*var(--fz))!important;font-weight:700}
.cmp-h>div:nth-child(1){font-size:calc(18px*var(--fz))!important;font-weight:500!important;color:var(--text2)}
.cmp-r .mk{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:var(--sageL);color:var(--text2)}
.cmp-r>div:nth-child(3) .mk{background:#fff;color:var(--green)}
.cmp-r .mk .ic{width:16px;height:16px}

/* Инфо-карточки */
.icard{display:flex;flex-direction:column;gap:18px;padding:36px;border-radius:var(--r);background:var(--card)}
.icard .circ{width:64px;height:64px;background:var(--sageL);color:var(--green)}
.icard .circ .ic{width:28px;height:28px}
.icard b{font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.01em}
.icard p{font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.icard strong{margin-top:auto;font-size:calc(22px*var(--fz));font-weight:700}
a.icard{transition:transform .5s var(--easeO),box-shadow .5s}
a.icard:hover{transform:translateY(-6px);box-shadow:0 26px 44px -28px rgba(30,61,46,.5)}
.icard-top{display:flex;align-items:center;justify-content:space-between}
.icard-top .circ.ln{width:52px;height:52px;background:#fff;color:var(--text)}
a.icard:hover .icard-top .circ.ln{background:var(--deep);color:#fff;transform:rotate(45deg)}

/* Прайс-лист (зебра) */
.pl-g>.h3{margin-bottom:16px}
.pl{display:flex;flex-direction:column;gap:6px}
.pl-r{display:flex;align-items:center;gap:16px;padding:16px 16px 16px 24px;border-radius:20px;font-size:calc(20px*var(--fz));line-height:1.4}
.pl-r:nth-child(odd){background:var(--card)}
.pl-n{flex:1}
.pl-d{font-size:calc(17px*var(--fz));color:var(--text2);white-space:nowrap}
.pl-p{font-weight:700;font-size:calc(21px*var(--fz));white-space:nowrap}
/* строка: название, под ним цена (+ длительность); справа — стрелка на страницу услуги или «Записаться» */
.pl-m{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.pl-s{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px}
.pl-go{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--sage);color:var(--green);transition:background .25s,color .25s,transform .3s var(--easeO)}
.pl-go .ic{width:20px;height:20px}
.pl-go:hover{background:var(--green);color:#fff;transform:rotate(45deg)}
.pl-bk{flex:none;height:44px;padding:0 18px;border:1.5px solid var(--deep);border-radius:22px;background:none;font:inherit;font-size:calc(16px*var(--fz));font-weight:700;color:var(--deep);cursor:pointer;transition:background .25s,color .25s}
.pl-bk:hover{background:var(--deep);color:#fff}
.pl-go:focus-visible,.pl-bk:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
.pl-r[hidden]{display:none}
.pl-empty{padding:18px 24px;font-size:calc(19px*var(--fz));color:var(--text2)}

/* Строки (распорядок, меню, реквизиты, состав) */
.rows>div{display:flex;align-items:flex-start;gap:32px;padding:20px 0;border-bottom:1px solid var(--line);font-size:calc(20px*var(--fz));line-height:1.45}
.rows>div:last-child{border-bottom:0}
.rows-k{flex:0 0 90px;font-size:calc(24px*var(--fz));line-height:1.3;font-weight:700;color:var(--green)}
.rows.menu .rows-k{flex-basis:190px;font-size:calc(21px*var(--fz))}
.rows.req .rows-k{flex-basis:380px;font-size:calc(19px*var(--fz));font-weight:500;color:var(--text2)}
.rows.req b{font-weight:700}
.note{display:flex;align-items:center;gap:12px;padding:18px 24px;border-radius:20px;background:var(--sageL);font-size:calc(19px*var(--fz));font-weight:700}
.note .ic{color:var(--green)}

/* Табы, поиск, фильтры */
.tabs{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tab{display:inline-flex;align-items:center;height:56px;padding:0 22px;border-radius:999px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);font-size:calc(18px*var(--fz));font-weight:700;white-space:nowrap;transition:background-color .25s,color .25s,box-shadow .25s}
.tab:hover{box-shadow:inset 0 0 0 2px var(--deep)}
.tab.is-on{background:var(--deep);color:#fff;box-shadow:none}
.tabs .sp{flex:1}
.search{position:relative;width:300px}
.search .ic{position:absolute;left:20px;top:50%;width:22px;height:22px;margin-top:-11px;color:var(--text2);pointer-events:none}
.search input{width:100%;height:56px;padding:0 20px 0 52px;border:0;border-radius:999px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);font-size:calc(18px*var(--fz));color:var(--text)}
.search input:focus{outline:none;box-shadow:inset 0 0 0 2px var(--amber)}
.is-hidden{display:none!important}

/* Номера */
.room{display:flex;flex-direction:column;padding:16px;border-radius:var(--r);background:var(--card)}
.room>.ph{height:clamp(300px, calc(var(--W)*.3), 420px);border-radius:28px}
.room-b{display:flex;flex-direction:column;gap:20px;padding:28px 24px 12px}
.room-b .h3{font-size:calc(clamp(28px, calc(var(--W)*.0286), 40px)*var(--fz))}
.room-specs{display:flex;gap:40px}
.room-specs small{display:block;font-size:calc(17px*var(--fz));color:var(--text2)}
.room-specs b{font-size:calc(24px*var(--fz))}
.room-f{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.room-f b{display:block;font-size:calc(44px*var(--fz));line-height:1.05;letter-spacing:-.04em}
.room-f small{font-size:calc(17px*var(--fz));color:var(--text2)}

/* Формы внутри страниц */
.fld select{width:100%;height:72px;padding:0 52px 0 24px;border:2px solid transparent;border-radius:20px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B534D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 20px center/22px no-repeat;color:var(--text);font:inherit;font-size:calc(20px*var(--fz));-webkit-appearance:none;appearance:none}
.fld textarea{width:100%;min-height:150px;padding:20px 24px;border:2px solid transparent;border-radius:20px;background:#fff;color:var(--text);font:inherit;font-size:calc(20px*var(--fz));line-height:1.5;resize:vertical}
.fld select:focus,.fld textarea:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 5px rgba(243,165,58,.28)}
.fld input[type=date]{color:var(--text)}
.booking{padding:40px 48px;border-radius:48px;background:var(--deep);color:#fff}
.booking .form{display:grid;grid-template-columns:auto minmax(0,1fr) 240px 280px auto;align-items:end;gap:16px 24px}
.booking .form .h3{color:#fff;align-self:center}
.booking .fld input,.booking .fld select{height:64px}
.booking .chk{grid-column:1/-1}
.booking .form .btn{height:64px}
.formband{display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:72px;padding:72px;border-radius:56px;background:var(--deep);color:#fff}
.formband .h2{color:#fff}
.formband .hl{color:var(--text)}
.formband p.big{margin-top:24px;font-size:calc(22px*var(--fz));line-height:1.5}

/* Плейсхолдеры документов и сканов */
.scan{display:flex;flex-direction:column;gap:14px;min-height:440px;padding:36px 32px;border-radius:24px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);transition:transform .5s var(--easeO),box-shadow .5s;text-align:left}
.scan i{display:block;height:3px;border-radius:2px;background:var(--line)}
.scan i:nth-child(4n){width:60%}
.scan span{display:flex;align-items:center;gap:8px;margin-top:auto;font-size:calc(16px*var(--fz));color:var(--text2)}
.scan:hover{transform:translateY(-6px);box-shadow:inset 0 0 0 1px var(--line),0 26px 44px -28px rgba(30,61,46,.5)}
.doc-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:240px;height:330px;border-radius:20px;background:rgba(255,255,255,.08);border:1.5px dashed rgba(255,255,255,.35);color:var(--onDeep2);font-size:calc(17px*var(--fz));text-align:center;padding:20px}
.doc-ph .ic{width:40px;height:40px}

/* Карточки отзывов (страница отзывов) */
.rgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);align-items:start}
.rgrid-col{display:flex;flex-direction:column;gap:var(--gap)}
.rv2{display:flex;flex-direction:column;gap:20px;padding:36px;border-radius:36px;background:var(--card)}
.rv2.sage{background:var(--sage)}
.rv2-h{display:flex;align-items:center;gap:12px}
.rv2-av{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;background:var(--sageL);color:var(--green);font-size:calc(20px*var(--fz));font-weight:700}
.rv2.sage .rv2-av{background:#fff}
.rv2-h b{display:block;font-size:calc(20px*var(--fz));line-height:1.3}
.rv2-h small{display:block;font-size:calc(16px*var(--fz));color:var(--text2)}
.rv2-tag{display:flex;align-items:center;gap:8px;font-size:calc(17px*var(--fz));font-weight:700;color:var(--green)}
.rv2-tag .ic{width:18px;height:18px}
.rv2 p{font-size:calc(20px*var(--fz));line-height:1.55}
.rating{display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:40px;border-radius:48px;background:var(--sage)}
.rating-top{display:flex;align-items:center;gap:16px}
.rating-top>b{font-size:calc(88px*var(--fz));line-height:1;letter-spacing:-.05em}
.stars{display:flex;gap:4px;color:var(--amber)}
.stars svg{width:24px;height:24px}
.rating a{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 24px;border-radius:999px;background:#fff;font-size:calc(19px*var(--fz));font-weight:700;transition:background-color .25s,color .25s}
.rating a:hover{background:var(--deep);color:#fff}

/* Часы работы */
.hours{display:flex;align-items:center;gap:24px;padding:48px;border-radius:var(--r);background:var(--sage)}
.hours.deep{background:var(--deep);color:#fff}
.hours .circ{width:88px;height:88px;background:#fff;color:var(--deep)}
.hours.deep .circ{background:var(--sage)}
.hours .circ .ic{width:36px;height:36px}
.hours b{display:block;font-size:calc(52px*var(--fz));line-height:1.05;font-weight:700;letter-spacing:-.04em}
.hours strong{display:block;margin-top:6px;font-size:calc(22px*var(--fz));font-weight:500}
.hours>div>span{display:block;margin-top:4px;font-size:calc(18px*var(--fz));color:var(--text2)}
.hours.deep>div>span{color:var(--onDeep2)}

/* Числа в карточке */
.numrow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:48px;border-radius:var(--r);background:var(--card)}
.numrow>div{padding:0 32px}
.numrow>div:first-child{padding-left:0}
.numrow>div+div{border-left:1px solid var(--line)}
.numrow b{display:block;font-size:clamp(44px, calc(var(--W)*.0457), 64px);line-height:1;font-weight:500;letter-spacing:-.04em}
.numrow span{display:block;margin-top:10px;font-size:calc(19px*var(--fz));line-height:1.45;color:var(--text2)}

/* Ряд фото + плитка */
.photorow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) var(--col);gap:var(--gap)}
.photorow .pic{min-height:0;aspect-ratio:1/1;cursor:zoom-in}
.photorow .pic:hover>.ph{transform:scale(1.05)}
.photorow .sq{aspect-ratio:1}
.eq{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.eq>div{aspect-ratio:332/420}

/* ===== Адаптив ===== */
@media (max-width:1279px){
  .docs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .docs .sq{grid-column:1/-1;height:auto;aspect-ratio:auto;min-height:120px}
  .rcards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rcards .sq{display:none}
  .booking .form{grid-template-columns:repeat(3,minmax(0,1fr))}
  .booking .form .h3{grid-column:1/-1}
  .booking .form .btn{grid-column:1/-1}
  .g5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(min(var(--n,4),3),minmax(0,1fr))}
  .formband{grid-template-columns:1fr 440px;gap:48px;padding:56px}
  .photorow{grid-template-columns:repeat(4,minmax(0,1fr))}
  .photorow .sq{display:none}
}
@media (max-width:1023px){
  .crumbs{margin-bottom:20px;font-size:calc(16px*var(--fz))}
  .pg-hero-row,.pg-hero-row.no-photo{display:flex;flex-direction:column;gap:24px;min-height:0}
  .pg-hero-text{gap:24px}
  .h1p{font-size:38px/*ns*/;line-height:44px}
  .h1p .hl{padding:0 12px 1px}
  .pg-lead{margin-top:16px;font-size:calc(18px*var(--fz));line-height:1.5}
  .pg-price{flex-wrap:wrap;gap:8px 14px;margin-bottom:20px}
  .pg-price b{font-size:36px/*ns*/}
  .pg-price span{font-size:calc(16px*var(--fz));max-width:200px}
  .btn-row{flex-direction:column}
  .btn-row .btn{width:100%;height:60px;font-size:calc(18px*var(--fz))}
  .pvis{--nr:22px;min-height:300px;order:-1}
  .pg-hero-row .pvis{order:0}
  .pv-tr{padding:6px 16px 10px 14px}
  .lic .circ{width:44px;height:44px}
  .lic b{font-size:calc(16px*var(--fz))}
  .lic small{display:none}
  .pv-bl{max-width:68%;padding:12px 18px 0 14px}
  .pv-bl b{font-size:26px/*ns*/}
  .pv-bl span{max-width:230px;margin-top:4px;font-size:calc(15px*var(--fz));line-height:1.35}
  .pv-bl.t b{font-size:22px/*ns*/}
  .g2,.g3,.g4,.g5,.steps,.split,.split.l,.split.wide{display:flex;flex-direction:column;gap:12px}
  .tgrid,.tgrid.two{grid-template-columns:1fr;grid-auto-rows:auto;gap:12px}
  .tgrid .tile-ph>.ph,.tgrid.two .tile-ph>.ph,.tgrid.low .tile-ph>.ph{aspect-ratio:16/9}
  .tgrid .tile-ph>.notch-arrow{margin-top:15px}
  .tgrid .tile .plate b,.tgrid.two .tile .plate b{font-size:20px/*ns*/;line-height:1.2}
  .tgrid .tile .plate span{display:none}
  html.a11y .tgrid .tile .plate span{display:block;font-size:calc(16px*var(--fz))}
  .tgrid .tile .plate strong{font-size:calc(17px*var(--fz))}
  .card,.prog,.icard,.step{padding:24px;border-radius:24px}
  .band,.formband,.booking{padding:32px 20px 24px;border-radius:32px}
  .band-head{display:block;margin-bottom:24px}
  .band-head p{margin-top:12px;font-size:calc(18px*var(--fz))}
  .band .btn-row{margin-top:24px}
  .formband{display:flex;flex-direction:column;gap:24px}
  .formband p.big{margin-top:16px;font-size:calc(18px*var(--fz))}
  .h3{font-size:24px/*ns*/}
  .h3.lg{font-size:28px/*ns*/}
  .txt2{font-size:calc(16px*var(--fz))}
  .ck li{font-size:calc(17px*var(--fz));padding-left:42px}
  .ck li::before{width:28px;height:28px;background-size:14px}
  .ck.cols{display:flex}
  .step{gap:12px}
  .step-n{width:52px;height:52px;font-size:calc(22px*var(--fz))}
  .step p{font-size:calc(16px*var(--fz))}
  .prog-h b{font-size:30px/*ns*/}
  .prog-rows>div{font-size:calc(17px*var(--fz))}
  .prog-price b{font-size:40px/*ns*/}
  .wide-card{flex-direction:column;align-items:flex-start;gap:20px;padding:24px;border-radius:24px}
  .promo-big{font-size:56px/*ns*/}
  .docs,.docs.four,.rcards{display:flex;gap:12px;overflow-x:auto;margin:-24px calc(var(--bleed)*-1) -40px;padding:24px var(--bleed) 40px;scroll-snap-type:x mandatory;scroll-padding-inline:var(--bleed);scrollbar-width:none}
  .docs::-webkit-scrollbar,.rcards::-webkit-scrollbar{display:none}
  .doc,.rcard{flex:0 0 270px;scroll-snap-align:start}
  .docs .sq,.rcards .sq{display:none}
  .doc>.ph{height:280px;border-radius:20px}
  .doc-b b{font-size:calc(19px*var(--fz))}
  .doc-b span{font-size:calc(16px*var(--fz))}
  .rcard{padding:28px 24px;border-radius:24px}
  .rcard p{font-size:calc(18px*var(--fz))}
  .cmp-h{display:none}
  .cmp-r{display:flex;flex-direction:column}
  .cmp-r>div{padding:14px 20px;font-size:calc(16px*var(--fz))}
  .cmp-r>div:nth-child(1){padding-top:20px;font-size:calc(19px*var(--fz))}
  .cmp-r>div:nth-child(2)::before{content:"Обычно: ";font-weight:700}
  .cmp-r>div:nth-child(3){padding-bottom:18px}
  .icard b{font-size:22px/*ns*/}
  .icard p{font-size:calc(16px*var(--fz))}
  .pl-r{gap:12px;padding:14px 12px 14px 16px;font-size:calc(17px*var(--fz))}
  .pl-p{font-size:calc(18px*var(--fz))}
  .pl-d{font-size:calc(16px*var(--fz))}
  .pl-s{column-gap:10px}
  .pl-go{width:44px;height:44px}
  .pl-bk{height:40px;padding:0 14px;font-size:calc(16px*var(--fz))}
  .rows>div{gap:16px;padding:16px 0;font-size:calc(17px*var(--fz))}
  .rows-k{flex-basis:64px;font-size:calc(19px*var(--fz))}
  .rows.menu>div,.rows.req>div{flex-direction:column;gap:4px}
  .rows.menu .rows-k,.rows.req .rows-k{flex-basis:auto;font-size:calc(17px*var(--fz))}
  .note{font-size:calc(16px*var(--fz));padding:14px 16px}
  .tabs{flex-wrap:wrap;gap:8px}
  .tabs::-webkit-scrollbar{display:none}
  .tab{height:44px;padding:0 16px;font-size:calc(16px*var(--fz))}
  .tabs .sp{display:none}
  .search{width:100%}
  .room-f b{font-size:34px/*ns*/}
  .room-b{padding:20px 8px 8px}
  .booking .form{display:flex;flex-direction:column;align-items:stretch}
  .booking .fld input,.booking .fld select{height:60px}
  .fld select{height:60px;font-size:calc(18px*var(--fz))}
  .fld textarea{font-size:calc(18px*var(--fz))}
  .scan{min-height:240px}
  .doc-ph{width:100%;height:160px}
  .rgrid{display:flex;flex-direction:column;gap:12px}
  .rgrid-col{display:contents}
  .rv2{padding:24px;border-radius:24px}
  .rv2 p{font-size:calc(17px*var(--fz))}
  .rating{padding:24px;border-radius:28px}
  .rating-top>b{font-size:64px/*ns*/}
  .hours{padding:24px;gap:16px;border-radius:24px}
  .hours .circ{width:56px;height:56px}
  .hours b{font-size:34px/*ns*/}
  .hours strong{font-size:calc(18px*var(--fz))}
  .hours span{font-size:calc(16px*var(--fz))}
  .numrow{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px;border-radius:24px}
  .numrow>div,.numrow>div+div{padding:0;border:0}
  .numrow b{font-size:36px/*ns*/}
  .numrow span{font-size:calc(16px*var(--fz))}
  .photorow{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .eq{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .pic{min-height:240px;border-radius:24px}
  .room{padding:12px;border-radius:24px}
  .room>.ph{height:240px;border-radius:18px}
}

.nav li.is-cur>.nav-a{color:var(--green)}
.nav li.is-cur>.nav-a::after{transform:scaleX(1)}
.is-more{display:none!important}

.sq:not(.sq-dark)>b small{color:var(--text2)}

/* общие исправления */
.rows.req{display:block;gap:0;padding:0;border-radius:0;background:none;color:inherit}
.btn[hidden],[data-more][hidden]{display:none!important}
html.a11y .map-pin{left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);white-space:normal;height:auto;min-height:42px;padding-block:8px}

.eq>.pic{aspect-ratio:332/420;min-height:0}
@media (max-width:1023px){
  .cmp-r.cmp-h{display:none}
  .booking .form .h3{align-self:flex-start}
}

/* ===== Страницы: Пансионат, Процедуры, Цены, Условия (a) ===== */

/* Общее */
.a-mt{margin-top:var(--gap)}
@media (min-width:1024px){.h1p.a-h1s{font-size:clamp(40px, calc(var(--W)*.05), 72px)}.h1p.a-h1xs{font-size:clamp(40px, calc(var(--W)*.045), 66px)}}
/* две колонки сеткой (не CSS columns: там иконка-кружок рвётся между колонками и строки съезжают) */
.ck.a-ck2{display:grid;grid-auto-flow:column;grid-template-rows:repeat(var(--rows,2),auto);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px}
.ck.a-ck2 li{align-self:center}
.a-g5 .icard{padding:32px 26px}
.a-g5 .icard p{font-size:calc(18px*var(--fz));hyphens:auto}
/* исправление: в общей разметке кавычка лежит в div, а правило .rcard>svg её не ловит */
[data-page=pansionat] .rcard>div>svg{width:32px;height:32px;color:var(--green)}
.card.a-pad{padding-block:16px}
.a-col2{display:flex;flex-direction:column;gap:var(--gap)}
.a-col2>.pic{flex:1 1 0;min-height:240px}
.a-col2>.a-grow0{flex:none}

/* Фото с плашкой-подписью (оборудование, территория) */
.a-pl{border-radius:var(--r) var(--r) var(--r) 0;--nr:28px}
.a-pl>.plate{padding:18px 28px 2px 20px}
.a-pl>.plate b{display:block;font-size:calc(20px*var(--fz));line-height:1.3;font-weight:500}
.a-pl>.plate.pv-bl{padding:28px 40px 6px 28px}
.a-pl>.plate.pv-bl b{font-size:calc(44px*var(--fz));line-height:1;font-weight:700}
button.pic.a-pl,.a-gal>button.pic{display:block;width:100%;padding:0;text-align:left}
.eq>.pic{aspect-ratio:332/420;min-height:0;cursor:zoom-in}
.eq>.pic:hover>.ph{transform:scale(1.05)}
.a-terr{min-height:560px}

/* Пансионат: номера + плитка */
.a-rooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) var(--col);gap:var(--gap)}
.a-rooms .sq{aspect-ratio:auto;height:100%}

/* Процедуры */
.a-proc strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.a-proc strong span{font-size:calc(17px*var(--fz));font-weight:500;color:var(--text2)}
.a-also{margin-top:var(--gap)}
.a-diag>.ph{height:clamp(220px, calc(var(--W)*.2143), 300px)}
.a-diag>.ph-doc_kamalov{background-position:50% 22%}
.a-diag .prog-rows>div{font-size:calc(19px*var(--fz))}
.a-book{margin-top:var(--gap)}
.booking.a-book .form{grid-template-columns:auto minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.1fr) auto}

/* Цены */
.a-calc{padding:40px}
.a-bar{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:48px}
.a-bar .tabs{flex:1 1 auto}
.a-bar .search{flex:0 0 auto;margin-left:auto}
@media (max-width:1599px){
  .a-bar .tab{padding:0 18px;font-size:calc(17px*var(--fz))}
  .a-bar .search{width:240px}
}
.a-empty{margin-top:40px;border-radius:20px;background:var(--sageL)}
.a-empty a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px}
#ceny-list .sec:has(.pl-g):not(:has(.pl-g:not(.is-hidden))){display:none}
.a-liv{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:var(--gap)}
.a-liv .card{display:flex;flex-direction:column;gap:24px}
.a-room-sm{align-items:stretch;flex-wrap:nowrap;gap:0;padding:12px;font-size:calc(18px*var(--fz))}
.a-room-sm>.ph{height:clamp(180px, calc(var(--W)*.157), 220px);border-radius:24px}
.a-room-sm .room-b{gap:10px;padding:20px 12px 8px}
.a-room-sm .room-b .h3{font-size:calc(22px*var(--fz))}
.a-room-sm .room-f b{font-size:calc(clamp(30px, calc(var(--W)*.0257), 36px)*var(--fz))}
.a-promo{gap:32px;padding:28px 40px}
.a-promo .txt2{max-width:340px;color:var(--text)}
.a-split6{display:grid;grid-template-columns:minmax(0,1fr) 40%;gap:var(--gap);align-items:start}
.a-packs .pl{gap:12px}
.a-packs .pl-r,.a-packs .pl-r:nth-child(odd){padding:22px 28px;border-radius:28px;background:var(--card)}
.a-packs .pl-r:last-child{background:var(--deep);color:#fff}
.a-packs .pl-n b{display:block;font-size:calc(24px*var(--fz));line-height:1.25;font-weight:500}
.a-packs .pl-n small{display:block;margin-top:4px;font-size:calc(16px*var(--fz));line-height:1.4;color:var(--text2)}
.a-packs .pl-r:last-child small{color:var(--onDeep2)}
.a-packs .pl-p{min-width:0;font-size:calc(26px*var(--fz))}
.a-packs .pl-m{gap:10px}
.a-packs .pl-r:last-child .pl-go{background:var(--amber);color:var(--text)}
.a-packs .pl-r:last-child .pl-go:hover{background:#fff}
.a-packs .more-link{margin-top:20px}
.a-cols{align-items:start}
.a-cols>*{min-width:0;width:100%}
#ceny-list .pl-n{min-width:0}
.a-plst{gap:40px}

/* Условия: галерея */
.a-gal .sq{aspect-ratio:auto;height:100%}

@media (max-width:1279px){
  .a-rooms{grid-template-columns:repeat(2,minmax(0,1fr))}
  .a-rooms .sq{grid-column:1/-1;height:auto;min-height:120px}
  .a-gal .sq{display:flex;grid-column:1/-1;height:auto;min-height:120px}
  .a-bar{flex-direction:column;flex-wrap:nowrap;align-items:stretch}
  .a-bar .tabs{flex:none}
  .a-bar .search{width:100%;margin-left:0}
  .booking.a-book .form{grid-template-columns:repeat(3,minmax(0,1fr))}
  .a-cols{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:1023px){
  [data-page=pansionat] .cmp-r.cmp-h{display:none}
  .a-rooms,.a-liv,.a-split6{display:flex;flex-direction:column;gap:12px}
  .a-split6{gap:32px}
  .a-col2{gap:12px}
  .a-terr{min-height:300px}
  .a-pl{--nr:22px;border-radius:24px 24px 24px 0}
  .a-pl>.plate{padding:12px 20px 0 14px}
  .a-pl>.plate b{font-size:calc(17px*var(--fz))}
  .a-pl>.plate.pv-bl{padding:12px 18px 0 14px}
  .a-pl>.plate.pv-bl b{font-size:26px/*ns*/}
  .a-proc strong span{font-size:calc(16px*var(--fz))}
  .a-diag>.ph{height:220px}
  .a-diag .prog-rows>div{flex-direction:column;align-items:flex-start;gap:2px;font-size:calc(16px*var(--fz))}
  .a-bar{margin-top:24px;gap:12px}
  .a-calc{padding:24px}
  .a-calc .btn{height:auto;min-height:60px;padding:14px 20px;white-space:normal;text-align:center;line-height:1.3;font-size:calc(18px*var(--fz))}
  .booking.a-book .form .h3{align-self:flex-start}
  .a-empty{margin-top:24px}
  .a-room-sm{padding:10px}
  .a-room-sm>.ph{height:200px;border-radius:18px}
  .a-room-sm .room-b{padding:16px 8px 6px}
  .a-room-sm .room-b .h3{font-size:20px/*ns*/}
  .a-room-sm .room-f b{font-size:30px/*ns*/}
  .a-promo{flex-direction:row;align-items:center;gap:16px;padding:20px 24px}
  .a-promo .promo-big{font-size:48px/*ns*/}
  .a-promo .txt2{font-size:calc(16px*var(--fz))}
  .a-packs .pl-r,.a-packs .pl-r:nth-child(odd){padding:18px 20px;border-radius:22px}
  .a-packs .pl-n b{font-size:calc(20px*var(--fz))}
  .a-packs .pl-n small{font-size:calc(16px*var(--fz))}
  .a-packs .pl-p{font-size:calc(22px*var(--fz))}
  .a-plst{gap:28px}
  .a-gal .sq{min-height:100px}
  .ck.a-ck2{grid-auto-flow:row;grid-template-rows:none;grid-template-columns:minmax(0,1fr)}
  .a-g5 .icard{padding:24px}
  .a-g5 .icard p{font-size:calc(16px*var(--fz))}
}

/* Приём и диагностика: ЭЭГ — широкая карточка, врачи — четыре равные карточки */
.a-eeg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px, calc(var(--W)*.03), 48px);padding:16px;border-radius:var(--r);background:var(--card)}
.a-eeg>.ph{min-height:clamp(280px, calc(var(--W)*.25), 360px);border-radius:calc(var(--r) - 12px);background-position:50% 50%}
.a-eeg-b{display:flex;flex-direction:column;gap:24px;padding:clamp(16px, calc(var(--W)*.02), 28px) clamp(16px, calc(var(--W)*.02), 28px) clamp(16px, calc(var(--W)*.02), 28px) 0}
.a-eeg .prog-rows>div{font-size:calc(19px*var(--fz))}
.a-eeg .btn{align-self:flex-start;margin-top:auto}
.a-dr-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:clamp(40px, calc(var(--W)*.04), 56px) 0 20px}
.a-drs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.a-dr{display:flex;flex-direction:column;gap:16px;padding:28px;border-radius:var(--r);background:var(--card)}
.a-dr-top{display:flex;align-items:center;gap:16px}
.a-dr-top .circ{width:56px;height:56px;background:var(--sageL);color:var(--green)}
.a-dr-top .circ .ic{width:26px;height:26px}
.a-dr-t{margin:0;font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.a-dr-x{margin:0;font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}
.a-dr-p{display:flex;flex-wrap:wrap;gap:8px 28px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
.a-dr-p b{display:block;font-size:calc(22px*var(--fz));line-height:1.25;font-weight:700;white-space:nowrap}
.a-dr-p small{display:block;margin-top:2px;font-size:calc(16px*var(--fz));color:var(--text2)}
.a-dr .btn{width:100%}
@media (max-width:1279px){
  .a-drs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .a-eeg{display:flex;flex-direction:column;gap:20px;padding:12px;border-radius:24px}
  .a-eeg>.ph{min-height:220px;border-radius:18px}
  .a-eeg-b{gap:18px;padding:0 8px 8px}
  .a-eeg .prog-rows>div{flex-direction:column;align-items:flex-start;gap:2px;font-size:calc(16px*var(--fz))}
  .a-eeg .btn{width:100%}
  .a-dr-head{flex-direction:column;gap:8px;margin:32px 0 14px}
  .a-dr-head .more-link{font-size:calc(17px*var(--fz))}
  .a-drs{display:flex;flex-direction:column;gap:12px}
  .a-dr{gap:12px;padding:20px;border-radius:24px}
  .a-dr-top .circ{width:48px;height:48px}
  .a-dr-top .circ .ic{width:22px;height:22px}
  .a-dr-x{font-size:calc(16px*var(--fz))}
  .a-dr-p{padding-top:12px}
  .a-dr-p b{font-size:calc(20px*var(--fz))}
}

/* ===== VIP-номера ===== */
.vip{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px, calc(var(--W)*.03), 48px);padding:16px;border-radius:var(--r);background:var(--card)}
.vip-gal{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;min-height:clamp(420px, calc(var(--W)*.36), 540px)}
.vip-gal>.pic{display:block;width:100%;min-height:0;padding:0;border-radius:calc(var(--r) - 12px);cursor:zoom-in}
.vip-gal>.pic:hover>.ph{transform:scale(1.05)}
.vip-a{grid-column:1;grid-row:1}
.vip-b2{grid-column:1;grid-row:2}
.vip-c{grid-column:2;grid-row:1/3}
.vip-v{grid-column:3;grid-row:1/3;cursor:pointer!important}
.vip-v>.ph::after{content:"";position:absolute;inset:0;background:rgba(27,31,28,.18)}
.vip-v .vc-play{width:72px;height:72px;margin:-36px 0 0 -36px}
.vip-v:hover .vc-play{transform:scale(1.08);background:var(--amberH)}
.vip-txt{display:flex;flex-direction:column;justify-content:center;gap:28px;padding:clamp(16px, calc(var(--W)*.02), 28px) clamp(16px, calc(var(--W)*.02), 28px) clamp(16px, calc(var(--W)*.02), 28px) 0}
.vip-txt .room-f b{font-size:calc(clamp(32px, calc(var(--W)*.0286), 40px)*var(--fz))}
.vip-btns{display:flex;flex-wrap:wrap;gap:12px}
.vip-btns .btn .ic{width:20px;height:20px}

/* Пансионат: три номера + плитка */
.room-vip>.ph{background-position:50% 50%}
.a-vbtn{height:52px;padding:0 20px;font-size:calc(17px*var(--fz))}
.a-vbtn .ic{width:18px;height:18px}
/* Цены: широкая карточка VIP */
.a-room-wide{grid-column:1/-1;flex-direction:row;align-items:stretch}
.a-room-wide>.ph{flex:0 0 46%;height:auto;min-height:200px}
.a-room-wide .room-b{flex:1;justify-content:center;gap:16px;padding:16px 12px 12px 24px}
.a-room-wide .room-f .btn{height:52px;padding:0 20px;font-size:calc(17px*var(--fz))}
.a-room-wide .room-f .btn .ic{width:18px;height:18px}

@media (max-width:1279px){
  .vip{grid-template-columns:minmax(0,1fr)}
  .vip-txt{padding:8px 16px 16px}
  .a-rooms .room-vip{grid-column:1/-1}
}
@media (max-width:1023px){
  .vip{gap:20px;padding:12px;border-radius:24px}
  .vip-gal{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;min-height:0;gap:8px}
  .vip-gal>.pic{border-radius:18px}
  .vip-a{grid-column:1/-1;grid-row:1;aspect-ratio:4/3}
  .vip-b2{grid-column:1;grid-row:2;aspect-ratio:1}
  .vip-c{grid-column:2;grid-row:2;aspect-ratio:1}
  .vip-v{display:none!important}
  .vip-txt{gap:20px;padding:0 8px 8px}
  .vip-txt .room-f b{font-size:30px/*ns*/}
  .vip-btns{flex-direction:column}
  .vip-btns .btn{width:100%}
  .a-room-wide{flex-direction:column}
  .a-room-wide>.ph{flex:none;height:200px;min-height:0}
  .a-room-wide .room-b{padding:16px 8px 6px}
  .a-room-wide .room-f .btn{height:48px}
}

/* ===== Страницы «О центре», «Отзывы», «Контакты» (b) ===== */

/* --- О центре --- */
.oc-nums{padding-top:clamp(48px, 8.6vw, 120px)}
.oc-call{justify-content:space-between;min-height:100%}
.oc-call-t{font-size:calc(24px*var(--fz));line-height:1.25;font-weight:500;letter-spacing:-.01em}
.oc-call-ph b{display:block;font-size:calc(24px*var(--fz));line-height:1.2;font-weight:700}
.oc-call-ph small{display:block;margin-top:6px;font-size:calc(17px*var(--fz));color:var(--onDeep2)}
.oc-call:hover .oc-call-ph b{color:var(--amber)}

.oc-pic{min-height:clamp(420px, calc(var(--W)*.4), 560px)}
.oc-feats{justify-content:center;gap:48px;padding:56px}
.oc-feats .ct b{font-size:calc(24px*var(--fz));line-height:1.25}
.oc-feats .ct div>span{font-size:calc(19px*var(--fz));line-height:1.5}

.oc-team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.oc-team .docs{display:contents}
.oc-also{grid-column:span 2;padding:40px 48px}
button.doc{width:100%;text-align:left;cursor:zoom-in}
button.doc:hover{transform:translateY(-6px);box-shadow:0 26px 44px -28px rgba(30,61,46,.5)}

.oc-lic{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:48px}
.oc-lic-t{max-width:640px;margin-top:28px;font-size:calc(20px*var(--fz));line-height:1.55;color:var(--onDeep2)}
.oc-lic .btn-row{margin-top:40px}
.oc-lic .btn .ic{transition:transform .4s var(--easeO)}
.oc-lic .btn:hover .ic{transform:rotate(45deg)}
.oc-lic-docs{display:flex;gap:var(--gap)}

.oc-steps-card{padding:20px 48px}
.oc-steps{margin:0;padding:0;list-style:none}
.oc-steps li{display:flex;align-items:flex-start;gap:24px;padding:26px 0;border-bottom:1px solid var(--line)}
.oc-steps li:last-child{border-bottom:0}
.oc-steps .step-n{width:52px;height:52px;font-size:calc(21px*var(--fz));flex:none}
.oc-steps b{display:block;font-size:calc(23px*var(--fz));line-height:1.3;font-weight:500;letter-spacing:-.01em}
.oc-steps p{margin-top:6px;font-size:calc(18px*var(--fz));line-height:1.5;color:var(--text2)}
.oc-docs{gap:28px;padding:48px}
.oc-dl{height:60px;padding:0 28px;font-size:calc(18px*var(--fz))}

.oc-vac{gap:40px}
.oc-pay{flex:none}
.oc-pay b{display:block;font-size:clamp(36px, calc(var(--W)*.0314), 44px);line-height:1.05;font-weight:700;letter-spacing:-.04em;white-space:nowrap}
.oc-pay small{display:block;margin-top:6px;font-size:calc(17px*var(--fz));color:var(--text2)}
.oc-vac .btn{flex:none}

/* иконка-кавычка в карточках отзывов */
.page[data-page="o-centre"] .rcard svg{width:32px;height:32px;color:var(--green)}

/* заголовки инфо-карточек — в px, чтобы масштабировались в версии для слабовидящих */
.page[data-page="o-centre"] .icard b,.page[data-page="kontakty"] .icard b{font-size:calc(24px*var(--fz))}

/* --- Отзывы --- */
.ot-cnt{display:block;margin-top:8px;font-size:calc(18px*var(--fz));line-height:1.35;color:var(--text2)}
.ot-links{display:flex;flex-direction:column;gap:12px}
.rating .ot-links .ic{width:18px;height:18px;transition:transform .4s var(--easeO)}
.rating .ot-links a:hover .ic{transform:rotate(45deg)}
.ot-list{padding-top:clamp(40px, 4.3vw, 60px)}
.ot-list .rgrid{margin-top:0}
.ot-more{display:flex;justify-content:center;margin-top:48px}
.ot-more .btn[hidden],.ot-more:has(.btn[hidden]){display:none}
.ot-more .btn .ic{width:20px;height:20px}
.ot-vids{margin-top:clamp(24px, 3.4vw, 48px)}
.ot-vids .tile{width:100%;text-align:left}
.ot-vids .tile .plate b{font-size:calc(clamp(24px, calc(var(--W)*.0229), 32px)*var(--fz))}
.ot-vids .tile:hover .circ{transform:scale(1.12)}
.formband .fld>span{color:#fff}

/* --- Контакты --- */
.kt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:clamp(28px, 2.9vw, 40px)}
.kt-way .pvis{min-height:clamp(400px, calc(var(--W)*.3714), 520px);cursor:zoom-in}
.kt-way .pvis-ph>.ph{transition:transform 1.4s var(--easeO)}
.kt-way .pvis:hover .pvis-ph>.ph{transform:scale(1.04)}
.kt-way .pv-bl{max-width:70%}
.kt-small{flex:1;min-height:240px;cursor:zoom-in}
.kt-small:hover>.ph{transform:scale(1.05)}
.kt-meet{gap:16px;padding:32px}
.kt-meet p{font-size:calc(19px*var(--fz));line-height:1.5}
.kt-ph{display:inline-flex;align-items:center;gap:12px;font-size:calc(22px*var(--fz));font-weight:700}
.kt-ph .ic{color:var(--green)}
.kt-ph:hover{color:var(--green)}
/* .rows.req пересекается с .req (тёмный блок заявки из style.css) — сброс */
.rows.req{display:block;gap:0;padding:0;border-radius:0;background:none;color:inherit}
.kt-req{padding:8px 48px}
.kt-req .rows a{text-decoration:underline;text-decoration-color:rgba(27,31,28,.35);text-underline-offset:3px}
.kt-req .rows a:hover{color:var(--green);text-decoration-color:currentColor}
.kt-req-btns{margin-top:32px}
.kt-req-btns .btn{height:60px;padding:0 28px;font-size:calc(18px*var(--fz))}
.kt-req-btns .btn .ic{transition:transform .4s var(--easeO)}
.kt-req-btns a[target]:hover .ic{transform:rotate(45deg)}

/* ===== Адаптив ===== */
@media (min-width:1024px) and (max-width:1559px){
  .page[data-page="kontakty"] .ct-msg{gap:8px}
  .page[data-page="kontakty"] .ct-msg a{padding:0 14px;gap:8px;font-size:calc(17px*var(--fz))}
}
@media (max-width:1279px){
  .oc-team{grid-template-columns:repeat(3,minmax(0,1fr))}
  .oc-also{grid-column:span 3}
  .oc-lic{grid-template-columns:1fr}
  .oc-feats{padding:40px}
}
@media (max-width:1023px){
  .oc-nums{padding-top:40px}
  .g4.oc-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .oc-links .icard{gap:10px;padding:18px}
  .oc-links .icard .circ{width:44px;height:44px}
  .oc-links .icard .circ .ic{width:22px;height:22px}
  .oc-links .icard-top .circ.ln{width:36px;height:36px}
  .oc-links .icard-top .circ.ln .ic{width:16px;height:16px}
  .page[data-page="o-centre"] .oc-links .icard b{font-size:calc(18px*var(--fz));line-height:1.25}
  .oc-links .icard p{font-size:calc(16px*var(--fz));line-height:1.4}
  .oc-call{padding:18px;border-radius:24px}
  .oc-call-t{font-size:calc(18px*var(--fz))}
  .oc-call-ph b{font-size:calc(18px*var(--fz))}
  .oc-call-ph small{font-size:calc(15px*var(--fz))}
  .oc-pic{min-height:280px}
  .oc-feats{gap:24px;padding:24px}
  .oc-feats .ct b{font-size:calc(19px*var(--fz))}
  .oc-feats .ct div>span{font-size:calc(16px*var(--fz))}
  .oc-team{display:flex;flex-direction:column;gap:12px}
  .oc-team .docs{display:flex}
  .oc-also{padding:24px}
  .oc-lic{display:flex;flex-direction:column;align-items:stretch;gap:24px}
  .oc-lic-t{margin-top:16px;font-size:calc(17px*var(--fz))}
  .oc-lic .btn-row{margin-top:24px}
  .oc-lic-docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .oc-lic-docs .doc-ph{font-size:calc(16px*var(--fz))}
  .oc-steps-card{padding:8px 20px}
  .oc-steps li{gap:14px;padding:18px 0}
  .oc-steps .step-n{width:40px;height:40px;font-size:calc(17px*var(--fz))}
  .oc-steps b{font-size:calc(19px*var(--fz))}
  .oc-steps p{font-size:calc(16px*var(--fz))}
  .oc-docs{gap:20px;padding:24px}
  .oc-dl{width:100%;height:56px;padding:0 16px;font-size:calc(16px*var(--fz));white-space:normal;text-align:center}
  .oc-vac{gap:16px}
  .oc-pay b{font-size:34px/*ns*/}
  .oc-pay small{font-size:calc(16px*var(--fz))}
  .oc-vac .btn{width:100%;height:60px;font-size:calc(18px*var(--fz))}

  .page[data-page="kontakty"] .icard b{font-size:calc(22px*var(--fz))}
  .ot-cnt{font-size:calc(16px*var(--fz))}
  .ot-list{padding-top:28px}
  .ot-list .rgrid{margin-top:0}
  .ot-more{margin-top:24px}
  .ot-more .btn{width:100%;height:60px;font-size:calc(18px*var(--fz))}
  .rating a{height:56px;padding:0 20px;font-size:calc(17px*var(--fz))}
  .g4.ot-scans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ot-scans .scan{min-height:200px;padding:22px 18px;gap:10px;border-radius:20px}
  .ot-scans .scan span{font-size:calc(16px*var(--fz))}
  .ot-vids{margin-top:12px}
  .ot-vids .tile .plate b{font-size:22px/*ns*/}

  .kt-head{display:block;margin-bottom:24px}
  .kt-head .lead{width:auto;margin-top:14px;font-size:calc(18px*var(--fz));line-height:1.5}
  .kt-way .pvis{min-height:260px}
  .kt-way .pv-bl{max-width:85%}
  .kt-small{min-height:220px;flex:none}
  .kt-meet{padding:24px}
  .kt-meet p{font-size:calc(17px*var(--fz))}
  .kt-ph{font-size:calc(20px*var(--fz))}
  .kt-req{padding:4px 20px;border-radius:24px}
  .kt-req .rows>div{padding:14px 0}
  .kt-req-btns{margin-top:16px}
}
@media (max-width:359px){
  .oc-links{grid-template-columns:1fr}
}

/* Плашки «Оставить отзыв» на Яндекс Картах и в 2ГИС (левая колонка тёмного блока с формой).
   Широкая колонка — две карточки рядом; узкая (ноутбук, телефон) — две строки: значок, текст, стрелка. */
.formband>.ot-fb-l{display:flex;flex-direction:column}
.ot-ext{margin-top:auto;padding-top:40px;container-type:inline-size}
.ot-ext-t{font-size:calc(18px*var(--fz));line-height:1.45;color:var(--onDeep2)}
.ot-ext-g{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:18px}
.ot-map{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"i t a" "i r a";align-items:center;column-gap:16px;row-gap:4px;padding:16px 16px 16px 16px;border-radius:24px;background:#fff;color:var(--text);transition:transform .5s var(--easeO),box-shadow .4s}
.ot-map:hover{transform:translateY(-3px);box-shadow:0 26px 44px -22px rgba(0,0,0,.55)}
.ot-map-top{display:contents}
.ot-map-ic{grid-area:i;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;color:#fff}
.ot-map-ic .ic{width:26px;height:26px}
.ot-ya .ot-map-ic{background:#FC3F1D}
.ot-2g .ot-map-ic{background:#1DA845}
.ot-map .circ{grid-area:a;background:var(--sageL);color:var(--green)}
.ot-map:hover .circ{background:var(--deep);color:#fff;transform:rotate(45deg)}
.ot-map b{grid-area:t;font-size:calc(19px*var(--fz));line-height:1.3;font-weight:500;letter-spacing:-.01em}
.ot-map-r{grid-area:r;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;font-size:calc(16px*var(--fz));color:var(--text2)}
.ot-map-r .stars{gap:2px}
.ot-map-r .stars svg{width:14px;height:14px}
@container (min-width:460px){
  .ot-ext-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .ot-map{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:22px 22px 24px 24px;border-radius:28px}
  .ot-map-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .ot-map b{font-size:calc(22px*var(--fz));line-height:1.25}
  .ot-map-r{margin-top:auto;font-size:calc(16px*var(--fz))}
  .ot-map-r .stars svg{width:16px;height:16px}
}
html[class*="sc-"] .ot-map{box-shadow:inset 0 0 0 2px var(--text)!important}
@media (max-width:1023px){
  .ot-ext{padding-top:8px}
  .ot-ext-t{font-size:calc(16px*var(--fz))}
  .ot-ext-g{gap:10px;margin-top:14px}
  .ot-map{column-gap:12px;padding:12px 12px 12px 12px;border-radius:20px}
  .ot-map-ic{width:44px;height:44px;border-radius:14px}
  .ot-map-ic .ic{width:22px;height:22px}
  .ot-map .circ{width:40px;height:40px}
  .ot-map .circ .ic{width:18px;height:18px}
  .ot-map b{font-size:calc(17px*var(--fz))}
  .ot-map-r{font-size:calc(15px*var(--fz))}
  .ot-map-r .stars svg{width:13px;height:13px}
}

/* Видео-карточки: кнопка «играть» по центру фото */
.ot-vids .tile-ph>.notch-arrow{grid-area:ph;align-self:center;justify-self:center;margin:0;z-index:1}
.ot-vids .tile-ph .notch-arrow .circ,.ot-vids .tile-ph:hover .notch-arrow .circ{width:76px;height:76px;background:rgba(255,255,255,.92);color:var(--deep);box-shadow:0 12px 30px -10px rgba(0,0,0,.35);transform:none}
.ot-vids .tile-ph .notch-arrow .circ .ic{width:26px;height:26px;margin-left:3px}
.ot-vids .tile-ph:hover .notch-arrow .circ{transform:scale(1.08)}
.ot-vids .tile-ph .plate b{grid-column:1/-1}
@media (max-width:1023px){
  .ot-vids .tile-ph .notch-arrow .circ,.ot-vids .tile-ph:hover .notch-arrow .circ{width:60px;height:60px}
  .ot-vids .tile-ph .notch-arrow .circ .ic{width:22px;height:22px}
}

/* ===== Внутренние страницы раздела «Цены»: программы на 14 дней и проживание (ceny) ===== */

/* ссылка внутри текста шага/абзаца */
.ceny-a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.ceny-a:hover{color:var(--deep)}

/* Состав программы: таблица «специалист — что входит — количество» */
.ceny-tbl{padding:4px 40px 8px;border-radius:var(--r);background:var(--card)}
.ceny-tbl-r{display:grid;grid-template-columns:31.5% minmax(0,1fr) auto;align-items:center;column-gap:24px;padding:26px 0;border-top:1px solid var(--line);font-size:calc(19px*var(--fz));line-height:1.45}
.ceny-tbl-r:first-child{border-top:0}
.ceny-tbl-h{padding:20px 0 16px;font-size:calc(17px*var(--fz));color:var(--text2)}
.ceny-tbl-h>span:last-child{text-align:right}
.ceny-tbl-r>b{font-size:calc(24px*var(--fz));line-height:1.3;font-weight:500;letter-spacing:-.01em}
.ceny-tbl-r>span{color:var(--text2)}
.ceny-tbl-r>strong{font-size:calc(22px*var(--fz));font-weight:700;text-align:right;white-space:nowrap}

/* Сравнение трёх программ: колонка текущей программы подсвечена (.on2 / .on3 / .on4) */
.ceny-cmp{padding:8px 32px;border-radius:var(--r);background:var(--card)}
.ceny-cmp-r{display:grid;grid-template-columns:28.6% repeat(3,minmax(0,1fr))}
.ceny-cmp-r+.ceny-cmp-r{border-top:1px solid var(--line)}
.ceny-cmp-r>*{display:flex;align-items:center;gap:12px;min-width:0;padding:22px 24px;font-size:calc(19px*var(--fz));line-height:1.4}
.ceny-cmp-r>:first-child{color:var(--text2)}
.ceny-cmp-h>*{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:30px 24px 26px;font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.01em}
.ceny-cmp-h>:first-child{font-size:calc(17px*var(--fz));letter-spacing:0}
.ceny-cmp-h small{font-size:calc(16px*var(--fz));letter-spacing:0;color:var(--text2)}
.ceny-cmp-h a{transition:color .2s}
.ceny-cmp-h a:hover{color:var(--green)}
.ceny-cmp-h b{font-weight:500}
.ceny-cmp-h a b{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;text-decoration-color:var(--line)}
.ceny-cmp-h a:hover b{text-decoration-color:currentColor}
.ceny-cmp-p>*{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}
.ceny-cmp-p b{font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));line-height:1.2;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.ceny-cmp-p small{font-size:calc(16px*var(--fz));color:var(--text2)}
.ceny-cmp .ceny-no{color:var(--text2)}
.ceny-cmp-l>*{padding-block:18px 22px}
.ceny-mk{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--sage);color:var(--green)}
.ceny-mk .ic{width:14px;height:14px}
.ceny-cmp.on2 .ceny-cmp-r>:nth-child(2),.ceny-cmp.on3 .ceny-cmp-r>:nth-child(3),.ceny-cmp.on4 .ceny-cmp-r>:nth-child(4){background:var(--sageL)}
.ceny-cmp.on2 .ceny-cmp-h>:nth-child(2),.ceny-cmp.on3 .ceny-cmp-h>:nth-child(3),.ceny-cmp.on4 .ceny-cmp-h>:nth-child(4){color:var(--green)}
.ceny-cmp .more-link{font-size:calc(18px*var(--fz))}

/* список в две независимые колонки (порядок чтения — по столбцам, как в макете) */
.ceny-ck2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 40px;width:100%}
.ceny-ck2 .ck{gap:18px}

/* Блок «Во все программы входит»: список в карточке + фото на высоту ряда */
.ceny-inc{display:flex;align-items:center;padding:48px}
.ceny-inc .ck li{font-size:calc(19px*var(--fz))}

/* Таблица со ссылками (цены номеров, «что оплачивается отдельно»): вся строка — ссылка, справа стрелка */
.ceny-tbl.go .ceny-tbl-r{grid-template-columns:30% minmax(0,1fr) auto 56px;padding-block:22px}
.ceny-tbl.go .ceny-tbl-h{padding-block:20px 16px}
.ceny-tbl.go .ceny-tbl-h>span:nth-child(3){text-align:right}
a.ceny-tbl-r,button.ceny-tbl-r{width:100%;color:inherit;text-align:left;cursor:pointer}
a.ceny-tbl-r>b,button.ceny-tbl-r>b{transition:color .2s}
.ceny-tbl-r>.ceny-go{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);color:var(--text);transition:background-color .25s,color .25s,box-shadow .25s,transform .4s var(--easeO)}
.ceny-go .ic{width:20px;height:20px}
a.ceny-tbl-r:hover>b,button.ceny-tbl-r:hover>b{color:var(--green)}
a.ceny-tbl-r:hover>.ceny-go,button.ceny-tbl-r:hover>.ceny-go{background:var(--deep);box-shadow:none;color:#fff;transform:rotate(45deg)}
a.ceny-tbl-r:focus-visible,button.ceny-tbl-r:focus-visible{outline-offset:-3px;border-radius:12px}

/* Хаб: карточки программ — цена крупно, подпись под ней */
.ceny-tp .tile .plate strong{margin-top:24px;font-size:calc(clamp(24px, calc(var(--W)*.02), 28px)*var(--fz));line-height:1.2;letter-spacing:-.02em}
.ceny-tp .tile .plate strong small{display:block;margin-top:6px;font-size:calc(16px*var(--fz));line-height:1.4;font-weight:500;letter-spacing:0;color:var(--text2)}

/* Хаб: «Во все программы входит» — три карточки с иконкой в заголовке */
.ceny-incc{gap:28px}
.ceny-ih{display:flex;align-items:center;gap:16px}
.ceny-ih .circ{width:56px;height:56px;background:var(--sageL);color:var(--green)}
.ceny-ih .circ .ic{width:24px;height:24px}

/* Проживание: карточка VIP-номера — ссылка на всю карточку + кнопка видеообзора поверх фото */
.ceny-vip{cursor:pointer}
.ceny-stretch::after{content:"";position:absolute;inset:0;z-index:2}
.ceny-stretch:focus-visible{outline:none}
.ceny-vip:has(.ceny-stretch:focus-visible){outline:3px solid var(--amber);outline-offset:3px}
.ceny-vbtn{grid-area:ph;align-self:end;justify-self:start;position:relative;z-index:3;display:inline-flex;align-items:center;gap:10px;height:52px;margin:0 0 16px 16px;padding:0 18px 0 6px;border-radius:999px;background:var(--card);color:var(--text);font-size:calc(16px*var(--fz));font-weight:700;white-space:nowrap;box-shadow:0 8px 16px -10px rgba(0,0,0,.5);transition:transform .3s var(--easeO)}
.ceny-vbtn .circ{width:40px;height:40px;background:var(--amber);color:var(--ink)}
.ceny-vbtn .circ .ic{width:16px;height:16px;margin-left:2px}
.ceny-vbtn small{font-size:calc(15px*var(--fz));font-weight:500;color:var(--text2)}
.ceny-vbtn:hover{transform:scale(1.04)}
.ceny-vip:hover .ceny-vbtn .circ,.ceny-vbtn:hover .circ{transform:none;background:var(--amberH);color:var(--ink)}

/* Скидка −6% */
.wide-card.ceny-disc{margin-top:var(--gap);gap:40px;padding:36px 48px;background:var(--deep);color:#fff}
.ceny-disc .promo-big{color:var(--amber)}
.ceny-disc-t{flex:1;display:flex;flex-direction:column;gap:8px}
.ceny-disc-t .h3{font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz))}
.ceny-disc .txt2{font-size:calc(17px*var(--fz));color:var(--onDeep2)}
.ceny-disc .btn{flex:none}

/* Распорядок дня */
.ceny-day{padding:12px 48px}
.ceny-day .rows>div{gap:40px;padding:22px 0}
.ceny-day .rows-k{flex-basis:76px;font-size:calc(22px*var(--fz))}

@media (max-width:1279px){
  .ceny-cmp{padding:8px 16px}
  .ceny-cmp-r>*{padding:18px 14px;font-size:calc(18px*var(--fz))}
  .ceny-cmp-h>*{padding:24px 14px 20px}
}
@media (max-width:1023px){
  .ceny-tbl{padding:4px 20px 8px;border-radius:24px}
  .ceny-tbl-r{grid-template-columns:minmax(0,1fr) auto;row-gap:4px;padding:16px 0;font-size:calc(16px*var(--fz))}
  .ceny-tbl-r>span:not(.ceny-go){grid-column:1/-1;grid-row:2}
  .ceny-tbl-h{padding:14px 0 12px;font-size:calc(16px*var(--fz))}
  .ceny-tbl-h>span:nth-child(2){display:none}
  .ceny-tbl-r>b{font-size:calc(19px*var(--fz))}
  .ceny-tbl-r>strong{font-size:calc(18px*var(--fz))}

  /* таблица сравнения на телефоне: подпись строки сверху, под ней три значения; подсветка колонки сплошной полосой */
  .ceny-cmp{padding:4px 10px;border-radius:24px}
  .ceny-cmp-r{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ceny-cmp-r>*{gap:6px;padding:4px 8px 14px;font-size:calc(16px*var(--fz));line-height:1.35}
  .ceny-cmp-r>:first-child{grid-column:1/-1;padding:14px 8px 4px;font-size:calc(16px*var(--fz));font-weight:700;color:var(--text);background-repeat:no-repeat;background-size:33.334% 100%}
  .ceny-cmp.on2 .ceny-cmp-r>:first-child{background-image:linear-gradient(var(--sageL),var(--sageL));background-position:0 0}
  .ceny-cmp.on3 .ceny-cmp-r>:first-child{background-image:linear-gradient(var(--sageL),var(--sageL));background-position:50% 0}
  .ceny-cmp.on4 .ceny-cmp-r>:first-child{background-image:linear-gradient(var(--sageL),var(--sageL));background-position:100% 0}
  .ceny-cmp-h>:first-child,.ceny-cmp-l>:first-child{display:none}
  .ceny-cmp-h>*{padding:16px 8px 14px;font-size:calc(17px*var(--fz));line-height:1.2}
  .ceny-cmp-h small{font-size:calc(15px*var(--fz))}
  .ceny-cmp-p b{font-size:calc(16px*var(--fz));letter-spacing:-.01em}
  .ceny-cmp-p small{font-size:calc(15px*var(--fz));line-height:1.3}
  .ceny-mk{width:20px;height:20px}
  .ceny-mk .ic{width:11px;height:11px}
  .ceny-cmp-l>*{padding:14px 8px}
  .ceny-cmp .more-link{gap:6px;font-size:calc(15px*var(--fz));line-height:1.3}
  .ceny-cmp .more-link .ic{width:16px;height:16px}
  .ceny-inc{padding:24px}
  .ceny-ck2{display:flex;flex-direction:column;gap:12px}
  .ceny-ck2 .ck{gap:12px}
  .ceny-inc .ck li{font-size:calc(17px*var(--fz))}
  .ceny-tbl.go .ceny-tbl-h{display:none}
  .ceny-tbl.go .ceny-tbl-h+.ceny-tbl-r{border-top:0}
  .ceny-tbl.go .ceny-tbl-r{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding-block:16px}
  .ceny-tbl.go .ceny-tbl-r>b{grid-column:1;grid-row:1}
  .ceny-tbl.go .ceny-tbl-r>span:not(.ceny-go){grid-column:1;grid-row:2}
  .ceny-tbl.go .ceny-tbl-r>strong{grid-column:1;grid-row:3;margin-top:4px;text-align:left}
  .ceny-tbl-r>.ceny-go{grid-column:2;grid-row:1/4;align-self:center;width:44px;height:44px}
  .ceny-tp .tile .plate strong{margin-top:12px;font-size:22px/*ns*/}
  .ceny-tp .tile .plate strong small{font-size:calc(16px*var(--fz))}
  .ceny-incc{gap:20px}
  .ceny-ih .circ{width:48px;height:48px}
  .ceny-vbtn{height:44px;margin:0 0 10px 10px;padding-right:14px;font-size:calc(16px*var(--fz))}
  .ceny-vbtn .circ{width:34px;height:34px}
  .wide-card.ceny-disc{gap:16px;padding:24px}
  .ceny-disc .promo-big{font-size:56px/*ns*/}
  .ceny-disc-t .h3{font-size:20px/*ns*/}
  .ceny-disc .txt2{font-size:calc(16px*var(--fz))}
  .ceny-disc .btn{width:100%;height:60px;font-size:calc(18px*var(--fz))}
  .ceny-day{padding:4px 20px}
  .ceny-day .rows>div{gap:16px;padding:14px 0}
  .ceny-day .rows-k{flex-basis:56px;font-size:calc(18px*var(--fz))}
}

/* FAQ: первый вопрос раскрыт, как в макете; повёрнутый «плюс» не обрезаем рамкой svg */
[data-page^="ceny/"] .fq-q .circ .ic{overflow:visible}

/* Версия для слабовидящих: в узких колонках сравнения на телефоне убираем галочки и разрешаем перенос */
@media (max-width:1023px){
  html.a11y .ceny-cmp .ceny-mk{display:none}
  html.a11y .ceny-cmp .nowrap{white-space:normal}
  html.a11y .ceny-cmp-r>*{padding-inline:6px;overflow-wrap:anywhere}
}

/* ===== Внутренние страницы: Диагностика и приём врачей (diag) ===== */

/* Первый экран: длинное слово в заголовке (гастроэнтеролога) */
@media (min-width:1024px){.h1p.diag-h1s{font-size:clamp(40px, calc(var(--W)*.048), 68px)}}
.diag-hero .pg-price b.diag-q{font-size:clamp(36px, calc(var(--W)*.0286), 44px)}

/* Плашка «страница публикуется после подтверждения» под первым экраном */
.diag-pend{padding-top:clamp(32px, calc(var(--W)*.0343), 48px)}
.diag-pend .note-bar{margin-top:0}

/* Сетка карточек хаба: 4 в ряд */
.tgrid.diag-g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.diag-g4 .tile .plate b{font-size:calc(clamp(21px, calc(var(--W)*.0171), 24px)*var(--fz))}
.diag-g4 .tile-ph>.notch-arrow{margin-top:21px}
/* карточка без ссылки (услуга по подтверждению) */
.tile.diag-off{cursor:default}
.tile.diag-off:hover{transform:none;box-shadow:none}
.tile.diag-off .plate b{grid-column:1/-1;margin-right:14px}
.diag-g4 .tile .plate strong small{display:block;margin-top:2px;font-size:calc(16px*var(--fz));font-weight:500;color:var(--text2)}
.diag-g4 button.tile,.diag-tg button.tile{width:100%;text-align:left}
.diag-g4 .tile-ph>.ph[class*="ph-doc_"],.diag-tg .tile-ph>.ph[class*="ph-doc_"]{background-position:50% 18%}
.diag-tg .tile .plate strong,.diag-g4 .tile .plate strong{margin-top:18px}

/* Карточки «показания / когда откладывают» */
.diag-ind .card{gap:28px}
.diag-ch{display:flex;align-items:center;gap:16px}
.diag-ch .circ{width:56px;height:56px;background:var(--sageL);color:var(--green)}
.diag-ch .circ .ic{width:24px;height:24px}
.card.sageL .diag-ch .circ{background:#fff}
.diag-ind .ck{gap:16px}
.diag-ind .card>.txt2{margin-top:auto;font-size:calc(17px*var(--fz))}
.diag-x{display:flex;flex-direction:column;gap:16px}
.diag-x li{display:flex;align-items:flex-start;gap:14px;font-size:calc(19px*var(--fz));line-height:1.45}
.diag-x li>.ic{width:32px;height:32px;margin-top:-2px;padding:9px;border-radius:50%;background:#fff;color:var(--text)}
.diag-x.amb li>.ic{padding:7px;color:var(--text)}

/* Таблица цен */
.diag-pt{padding:8px 40px;border-radius:var(--r);background:var(--card)}
.diag-pt-r{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:baseline;gap:6px 32px;padding:24px 0;border-bottom:1px solid var(--line)}
.diag-pt-r:last-child{border-bottom:0}
.diag-pt-n{font-size:calc(21px*var(--fz));line-height:1.4}
.diag-pt-d{font-size:calc(18px*var(--fz));line-height:1.45;color:var(--text2)}
.diag-pt-p{font-size:calc(22px*var(--fz));line-height:1.3;font-weight:700;white-space:nowrap;text-align:right}

/* Форма записи с подзаголовком */
.diag-book{margin-top:var(--gap)}
.sec>.diag-book:first-child{margin-top:0}
.booking.diag-book{padding:40px}
.booking.diag-book .form{grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,.8fr) minmax(0,1fr) auto;gap:16px}
.booking.diag-book .fld select{padding:0 40px 0 18px;background-position:right 14px center;font-size:calc(18px*var(--fz))}
.booking.diag-book .fld input{padding:0 18px;font-size:calc(18px*var(--fz))}
.diag-bk-h{grid-row:1/3;align-self:center;padding-right:8px}
.diag-bk-h p{margin-top:12px;font-size:calc(17px*var(--fz));line-height:1.5;color:var(--onDeep2)}
.booking.diag-book .chk{grid-column:2/-1}
.booking.diag-book .fld>span{color:#fff}

/* Подготовка: карточка со списком в две колонки и примечанием */
.diag-prep{display:flex;flex-direction:column;gap:28px}
.diag-prep .note-bar{margin-top:0;background:var(--sage)}
.ck.diag-ck2{display:grid;grid-auto-flow:column;grid-template-rows:repeat(var(--rows,3),auto);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 40px}
.diag-prep-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px}
.diag-prep-g h3{margin:0 0 16px;font-size:calc(22px*var(--fz));line-height:1.3;font-weight:700}
.diag-prep-g .ck{gap:16px}

/* Врач приёма: фото + карточка */
.diag-dr{display:grid;grid-template-columns:clamp(300px, calc(var(--W)*.3286), 460px) minmax(0,1fr);gap:var(--gap)}
.diag-dr>.ph{min-height:clamp(480px, calc(var(--W)*.43), 600px);border-radius:var(--r);background-position:50% 18%}
.diag-dr-b{display:flex;flex-direction:column;justify-content:center;gap:24px;padding:clamp(32px, calc(var(--W)*.04), 56px)}
.diag-dr-role{font-size:calc(20px*var(--fz));line-height:1.4;font-weight:700;color:var(--green)}
.diag-dr-name{margin:10px 0 0;font-size:clamp(34px, calc(var(--W)*.0371), 52px);line-height:1.2;font-weight:500;letter-spacing:-.03em}
.diag-dr-name .hl{padding:0 .3em .04em}
.diag-dr-x{font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.diag-dr-sp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.diag-dr-sp>*{display:flex;flex-direction:column;gap:6px;padding:20px 24px;border-radius:24px;background:var(--sageL)}
.diag-dr-sp small{font-size:calc(16px*var(--fz));color:var(--text2)}
.diag-dr-sp b{font-size:calc(19px*var(--fz));line-height:1.35;font-weight:700}
a.diag-dr-lk{position:relative;padding-right:72px;transition:background-color .3s}
a.diag-dr-lk .circ{position:absolute;right:16px;top:50%;width:44px;height:44px;margin-top:-22px;background:#fff;color:var(--deep)}
a.diag-dr-lk .circ .ic{width:18px;height:18px}
a.diag-dr-lk:hover{background:var(--sage)}
a.diag-dr-lk:hover .circ{background:var(--deep);color:#fff;transform:rotate(45deg)}
.diag-dr-pr{border-top:1px solid var(--line)}
.diag-dr-pr>div{display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line);font-size:calc(20px*var(--fz));line-height:1.4}
.diag-dr-pr b{font-size:calc(21px*var(--fz));font-weight:700;white-space:nowrap}
.diag-dr .btn-row{margin-top:4px}

/* Примечание под шагами и под сеткой карточек */
.diag-note a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ===== Адаптив ===== */
@media (max-width:1439px){
  .booking.diag-book .form{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
  .diag-bk-h{grid-row:auto;grid-column:1/-1}
  .booking.diag-book .form .btn{grid-column:1/-1}
  .booking.diag-book .chk{grid-column:1/-1}
}
@media (max-width:1279px){
  .diag-dr{grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
  .diag-dr-sp{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:1199px){
  .tgrid.diag-g4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .diag-pend{padding-top:24px}
  .tgrid.diag-g4{grid-template-columns:1fr}
  .diag-g4 .tile .plate b{font-size:20px/*ns*/}
  .diag-g4 .tile .plate strong small{font-size:calc(15px*var(--fz))}
  .diag-ind .card{gap:20px}
  .diag-ch{gap:12px}
  .diag-ch .circ{width:48px;height:48px}
  .diag-ch .circ .ic{width:22px;height:22px}
  .diag-x li{gap:12px;font-size:calc(17px*var(--fz))}
  .diag-x li>.ic{width:28px;height:28px;padding:8px}
  .diag-x.amb li>.ic{padding:6px}
  .diag-ind .card>.txt2{font-size:calc(16px*var(--fz))}
  .diag-pt{padding:4px 20px;border-radius:24px}
  .diag-pt-r{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding:16px 0}
  .diag-pt-n{flex:0 0 100%;font-size:calc(18px*var(--fz))}
  .diag-pt-p{order:2;font-size:calc(18px*var(--fz));text-align:left}
  .diag-pt-d{order:3;font-size:calc(16px*var(--fz))}
  .diag-pt-d:empty{display:none}
  .booking.diag-book{padding:32px 20px 24px}
  .diag-bk-h p{font-size:calc(16px*var(--fz))}
  .diag-prep{gap:20px}
  .ck.diag-ck2,.diag-prep-g{display:flex;flex-direction:column;gap:14px}
  .diag-prep-g{gap:24px}
  .diag-prep-g h3{margin-bottom:12px;font-size:calc(19px*var(--fz))}
  .diag-dr{display:flex;flex-direction:column;gap:12px}
  .diag-dr>.ph{min-height:0;aspect-ratio:1/1;border-radius:24px}
  .diag-dr-b{gap:18px;padding:24px 20px}
  .diag-dr-role{font-size:calc(16px*var(--fz))}
  .diag-dr-name{font-size:30px/*ns*/;line-height:1.25}
  .diag-dr-x{font-size:calc(16px*var(--fz))}
  .diag-dr-sp{gap:8px}
  .diag-dr-sp>*{padding:14px 16px;border-radius:18px}
  .diag-dr-sp small{font-size:calc(15px*var(--fz))}
  .diag-dr-sp b{font-size:calc(17px*var(--fz))}
  .diag-dr-pr>div{padding:14px 0;font-size:calc(17px*var(--fz))}
  .diag-dr-pr b{font-size:calc(18px*var(--fz))}
}

/* Версия для слабовидящих: крупный шрифт — меньше колонок */
@media (min-width:1024px){
  html.fs-2 .booking.diag-book .form,html.fs-3 .booking.diag-book .form{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.fs-2 .diag-bk-h,html.fs-3 .diag-bk-h{grid-row:auto;grid-column:1/-1}
  html.fs-2 .booking.diag-book .form .btn,html.fs-3 .booking.diag-book .form .btn,html.fs-2 .booking.diag-book .chk,html.fs-3 .booking.diag-book .chk{grid-column:1/-1}
  html.fs-2 .tgrid.diag-g4,html.fs-3 .tgrid.diag-g4,html.fs-3 .tgrid.diag-tg{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.fs-3 .g2.diag-ind{grid-template-columns:minmax(0,1fr)}
  html.fs-3 .diag-pt-r{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n p" "d d"}
  html.fs-3 .diag-pt-n{grid-area:n}
  html.fs-3 .diag-pt-d{grid-area:d}
  html.fs-3 .diag-pt-p{grid-area:p}
  html.fs-3 .ck.diag-ck2,html.fs-3 .diag-prep-g{display:flex;flex-direction:column;gap:16px}
  html.fs-3 .diag-prep-g{gap:28px}
  html.fs-2 .diag-dr,html.fs-3 .diag-dr{display:flex;flex-direction:column}
  html.fs-2 .diag-dr>.ph,html.fs-3 .diag-dr>.ph{align-self:flex-start;width:min(440px,100%);min-height:0;height:460px}
  html.fs-3 .diag-dr-sp{grid-template-columns:minmax(0,1fr)}
}

/* ===== О центре: как поступить, лицензии, документы, FAQ; служебные: политика, согласие, 404 (ocen) ===== */

/* --- Общее --- */
.ocen-split{grid-template-columns:minmax(0,1fr) 40%}
.ocen-split>.pic{min-height:440px}
.ocen-split .card .btn{align-self:flex-start}
.ocen-txt p{font-size:calc(19px*var(--fz));line-height:1.55;color:var(--text2)}
.ocen-txt p+p{margin-top:14px}
.ocen-mt{margin-top:var(--gap)}

/* подзаголовок внутри секции: ближе к своему блоку, чем к предыдущему */
.ocen-sub{margin-top:72px;margin-bottom:40px}
.ocen-sub .h2{font-size:clamp(30px, calc(var(--W)*.0314), 44px)}

/* нумерованный список документов */
.ocen-num{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;counter-reset:ocn}
.ocen-num li{position:relative;padding-left:48px;font-size:calc(19px*var(--fz));line-height:1.45;counter-increment:ocn}
.ocen-num li::before{content:counter(ocn);position:absolute;left:0;top:-2px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--sage);color:var(--deep);font-size:calc(16px*var(--fz));font-weight:700}
.ocen-num.ln{gap:0}
.ocen-num.ln li{padding:18px 0 18px 60px;border-bottom:1px solid var(--line)}
.ocen-num.ln li:last-child{border-bottom:0;padding-bottom:4px}
.ocen-num.ln li:first-child{padding-top:4px}
.ocen-num.ln li::before{top:14px;width:40px;height:40px;font-size:calc(17px*var(--fz))}
.ocen-num.ln li:first-child::before{top:0}
.ocen-num.ln b{display:block;font-size:calc(21px*var(--fz));line-height:1.35;font-weight:500}
.ocen-num.ln small{display:block;margin-top:4px;font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}

/* документы + боковая карточка */
.ocen-docs{grid-template-columns:minmax(0,1fr) 34%}
.ocen-docs>.card{gap:24px}
.ocen-docs .btn{align-self:flex-start}
.ocen-calm{justify-content:center;gap:20px}
.ocen-calm .circ{width:64px;height:64px;background:var(--sage);color:var(--deep)}
.ocen-calm .circ .ic{width:28px;height:28px}
.ocen-calm .txt2{color:var(--onDeep2)}

/* карточки справа на странице документов */
.ocen-side-c{display:flex;flex-direction:column;gap:var(--gap)}
.ocen-pdf{gap:16px}
.ocen-pdf .circ{width:56px;height:56px;background:#fff;color:var(--green)}
.ocen-pdf .btn{margin-top:8px}
a.ocen-go{display:flex;flex:1;flex-direction:column;gap:16px}
.ocen-go-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.ocen-go-top .circ{width:52px;height:52px;background:var(--sageL);color:var(--green)}
a.ocen-go:hover .ocen-go-top .circ{background:var(--deep);color:#fff;transform:rotate(45deg)}
.ocen-go .more-link{margin-top:auto;padding-top:8px;font-size:calc(18px*var(--fz))}
a.ocen-go:hover .more-link .ic{transform:rotate(45deg)}

/* таблица анализов */
.ocen-tbl{display:flex;flex-direction:column;gap:4px}
.ocen-tr{display:grid;grid-template-columns:34% minmax(0,1fr) 200px;align-items:center;gap:24px;padding:16px 24px;border-radius:20px;font-size:calc(19px*var(--fz));line-height:1.4}
.ocen-tbl:not(.ln) .ocen-tr:not(.ocen-th):nth-child(even){background:var(--card)}
.ocen-tr>span:nth-child(2){font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}
.ocen-tr>b{text-align:right;font-weight:700;white-space:nowrap}
.ocen-th{padding-block:8px 10px}
.ocen-th>span,.ocen-th>span:nth-child(2){font-size:calc(16px*var(--fz));color:var(--text2)}
.ocen-th>span:last-child{text-align:right}
.ocen-tbl.ln{gap:0;padding:12px 40px;border-radius:var(--r);background:var(--card)}
.ocen-tbl.ln .ocen-tr{padding:18px 0;border-radius:0;border-bottom:1px solid var(--line)}
.ocen-tbl.ln .ocen-tr:last-child{border-bottom:0}

/* тёмная плашка «не успели сдать анализы» */
.ocen-band{display:flex;align-items:center;gap:28px;margin-top:var(--gap);padding:32px 40px;border-radius:var(--r);background:var(--deep);color:#fff}
.ocen-band>.circ{width:64px;height:64px;background:var(--amber);color:var(--ink)}
.ocen-band>.circ .ic{width:28px;height:28px}
.ocen-band-t{flex:1;min-width:0}
.ocen-band-t b{display:block;font-size:calc(26px*var(--fz));line-height:1.25;font-weight:500;letter-spacing:-.01em}
.ocen-band-t p{max-width:620px;margin-top:8px;font-size:calc(18px*var(--fz));line-height:1.5;color:var(--onDeep2)}
.ocen-band .btn{flex:none}

/* «что взять с собой» — 3 колонки галочек */
.ocen-bring{padding:40px 48px}
.ck.ocen-ck3{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 40px}

/* --- Лицензии --- */
.ocen-lic{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.62fr) minmax(0,.62fr);gap:var(--gap)}
.ocen-lic>.card{gap:24px}
.ocen-lic-h{display:flex;align-items:center;gap:18px}
.ocen-lic-h .circ{width:60px;height:60px;background:var(--sage);color:var(--deep)}
.ocen-lic-h .circ .ic{width:26px;height:26px}
.ocen-lic .btn{align-self:flex-start;margin-top:auto}
.ocen-lic .btn .ic,.ocen-files a .ic,.ocen-dh-ask a .ic{transition:transform .4s var(--easeO)}
.ocen-lic .btn:hover .ic{transform:rotate(45deg)}
.ocen-lic-n{display:flex;align-items:flex-start;gap:10px;font-size:calc(18px*var(--fz));line-height:1.45;font-weight:700}
.ocen-lic-n .ic{margin-top:2px;color:var(--green)}
.ocen-lic .scan{min-height:440px;cursor:default}
.ocen-lic .scan:hover{transform:none;box-shadow:inset 0 0 0 1px var(--line)}
.ocen-lic .scan span{font-size:calc(17px*var(--fz));font-weight:700;color:var(--text)}
.ocen-lic .scan span .ic{color:var(--green)}
.ocen-in{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.ocen-in:hover{color:var(--deep)}

/* строки «ключ — значение» */
.ocen-kv{margin:0}
.ocen-kv>div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;padding:16px 0;border-bottom:1px solid var(--line);font-size:calc(19px*var(--fz));line-height:1.45}
.ocen-kv>div:first-child{padding-top:4px}
.ocen-kv>div:last-child{border-bottom:0;padding-bottom:4px}
.ocen-kv dt{font-size:calc(16px*var(--fz));line-height:1.6;color:var(--text2)}
.ocen-kv dd{margin:0}
.ocen-kv a{text-decoration:underline;text-decoration-color:rgba(27,31,28,.35);text-underline-offset:3px}
.ocen-kv a:hover{color:var(--green);text-decoration-color:currentColor}

/* реквизиты */
.ocen-req{grid-template-columns:minmax(0,1fr) 34%}
.ocen-req>.card:first-child{display:flex;flex-direction:column;justify-content:center;padding:28px 40px}
.ocen-copy{gap:20px}
.ocen-copy .circ{width:56px;height:56px;background:var(--sage);color:var(--deep)}
.ocen-copy-b{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.ocen-mail{display:inline-flex;align-items:center;gap:10px;font-size:calc(20px*var(--fz));font-weight:700;text-decoration:underline;text-underline-offset:4px}
.ocen-mail:hover{color:var(--amber)}
.ocen-copy .btn{width:100%}

/* документы для скачивания и чтения */
.ocen-files{padding:12px 40px}
.ocen-file{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.ocen-file:last-child{border-bottom:0}
.ocen-file>.circ{width:52px;height:52px;background:var(--sageL);color:var(--green)}
.ocen-file-t{flex:1;min-width:0}
.ocen-file-t b{display:block;font-size:calc(21px*var(--fz));line-height:1.35;font-weight:500}
.ocen-file-t small{display:block;margin-top:2px;font-size:calc(16px*var(--fz));line-height:1.4;color:var(--text2)}
.ocen-file-a{flex:none;display:inline-flex;align-items:center;gap:14px;font-size:calc(18px*var(--fz));font-weight:700;color:var(--green)}
.ocen-file-a .circ{width:48px;height:48px;background:var(--sage);color:var(--green)}
.ocen-file-a .circ .ic{width:20px;height:20px}
.ocen-file-a:hover .circ{background:var(--green);color:#fff}
button.ocen-file-a{cursor:pointer}

/* --- FAQ: группы --- */
.ocen-ftabs{margin-bottom:48px}
.ocen-fg{display:grid;grid-template-columns:340px minmax(0,1fr);gap:var(--gap);padding:48px 0}
.ocen-fg:first-of-type{padding-top:0}
.ocen-fg:not(.is-hidden)~.ocen-fg:not(.is-hidden){border-top:1px solid var(--line)}
.ocen-fg-h{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:6px}
.ocen-fg-h .circ{width:56px;height:56px;background:var(--sageL);color:var(--green)}
.ocen-fg-h h2{margin:6px 0 0;font-size:calc(40px*var(--fz));line-height:1.15;font-weight:500;letter-spacing:-.025em}
.ocen-fg-n{font-size:calc(17px*var(--fz));color:var(--text2)}

/* --- Юридические страницы --- */
.ocen-dh{padding-top:36px}
.ocen-dh-row{display:grid;grid-template-columns:minmax(0,1fr) 400px;align-items:start;gap:48px}
.h1p.ocen-h1d{font-size:clamp(36px, calc(var(--W)*.0457), 64px)}
.ocen-date{display:flex;align-items:center;gap:10px;font-size:calc(18px*var(--fz));font-weight:700}
.ocen-date .ic{color:var(--green)}
.ocen-dh-row .lead{width:auto;margin-top:12px}
.ocen-doc{display:grid;grid-template-columns:330px minmax(0,1fr);gap:clamp(40px, calc(var(--W)*.069), 96px);padding-top:clamp(48px, calc(var(--W)*.046), 64px)}
.ocen-aside{display:flex;flex-direction:column;gap:16px;align-self:start;position:sticky;top:124px}
.ocen-toc{padding:28px}
.ocen-toc b{display:block;margin-bottom:12px;font-size:calc(20px*var(--fz));font-weight:700}
.ocen-toc ol{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;counter-reset:toc}
.ocen-toc li{counter-increment:toc}
.ocen-toc a{display:flex;gap:14px;padding:6px 0;font-size:calc(17px*var(--fz));line-height:1.4;transition:color .2s}
.ocen-toc a::before{content:counter(toc);flex:0 0 22px;color:var(--text2)}
.ocen-toc a:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.ocen-ask{padding:28px;gap:8px}
.ocen-ask b{font-size:calc(21px*var(--fz));line-height:1.3;font-weight:700}
.ocen-ask p{font-size:calc(16px*var(--fz));line-height:1.45;color:var(--onDeep2)}
.ocen-ask .ocen-mail{margin-top:10px;font-size:calc(18px*var(--fz))}
.ocen-ask .ocen-mail .ic{color:var(--amber)}
.ocen-prose{max-width:none}
.ocen-prose section+section h2{margin-top:56px}
.ocen-prose h2{margin-top:0;font-size:calc(clamp(26px, calc(var(--W)*.0214), 30px)*var(--fz))}
.ocen-prose p,.ocen-prose li{font-size:calc(19px*var(--fz))}
.ocen-prose ul{padding-left:0}
.ocen-prose ul li{position:relative;padding-left:26px}
.ocen-prose ul li::before{content:"";position:absolute;left:4px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--green)}
.ocen-prose .ocen-kv{margin:18px 0;padding:20px 32px;border-radius:24px;background:var(--card)}
.ocen-prose .ocen-kv>div{font-size:calc(18px*var(--fz))}
.ocen-prose .note-bar{margin-top:24px}
.ocen-prose .more-link{margin-top:20px;font-size:calc(19px*var(--fz));text-decoration:underline}
.ocen-prose .more-link .ic{color:var(--green)}
.ocen-prose .ocen-cts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.ocen-cts>div{display:flex;flex-direction:column;gap:8px;padding:24px;border-radius:24px;background:var(--card)}
.ocen-cts .circ{width:48px;height:48px;background:var(--sageL);color:var(--green)}
.ocen-cts .circ .ic{width:20px;height:20px}
.ocen-cts b,.ocen-cts a{font-size:calc(19px*var(--fz));line-height:1.35;font-weight:700}
.ocen-cts small{font-size:calc(16px*var(--fz));line-height:1.4;color:var(--text2)}
.ocen-prose .ocen-cts a{color:var(--text);text-decoration:none}
.ocen-prose .ocen-cts a:hover{color:var(--green)}

/* --- 404 --- */
.ocen-nf{padding-top:56px}
.ocen-nf-code{margin:0;font-size:200px/*ns*/;line-height:.9;font-weight:500;letter-spacing:-.04em;color:var(--sage)}
.ocen-nf .h1p{margin-top:32px;font-size:clamp(36px, calc(var(--W)*.0457), 64px)}
.ocen-nf .pg-lead{max-width:820px;margin-top:24px}
.ocen-nf .btn-row{margin-top:40px}
.ocen-nf .btn-outline .ic{transition:transform .4s var(--easeO)}
.ocen-nf .btn-outline:hover .ic{transform:rotate(45deg)}
.tgrid.ocen-t4{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:56px}
.tgrid.ocen-t4 .tile-ph>.ph{aspect-ratio:4/3}

/* ===== Адаптив ===== */
@media (max-width:1279px){
  .ocen-lic{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ocen-lic>.card{grid-column:1/-1}
  .ocen-lic .scan{min-height:380px}
  .ocen-fg{grid-template-columns:260px minmax(0,1fr)}
  .ocen-fg-h h2{font-size:calc(34px*var(--fz))}
  .ocen-doc{grid-template-columns:280px minmax(0,1fr)}
  .ocen-prose .ocen-cts{grid-template-columns:minmax(0,1fr)}
  .tgrid.ocen-t4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ocen-band{flex-wrap:wrap}
  .ocen-band .btn{margin-left:92px}
  .ck.ocen-ck3{grid-auto-flow:row;grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .ocen-split>.pic{min-height:260px}
  .ocen-split .card .btn,.ocen-docs .btn,.ocen-lic .btn,.ocen-band .btn{width:100%;height:auto;min-height:60px;padding:14px 20px;font-size:calc(18px*var(--fz));white-space:normal;text-align:center;line-height:1.3}
  .ocen-txt p{font-size:calc(16px*var(--fz))}
  .ocen-sub{margin-top:48px;margin-bottom:20px}
  .ocen-sub .h2{font-size:28px/*ns*/;line-height:1.2}
  .ocen-num li{padding-left:42px;font-size:calc(17px*var(--fz))}
  .ocen-num li::before{width:28px;height:28px;font-size:calc(15px*var(--fz))}
  .ocen-num.ln li{padding:14px 0 14px 50px}
  .ocen-num.ln li::before{top:12px;width:34px;height:34px;font-size:calc(16px*var(--fz))}
  .ocen-num.ln b{font-size:calc(18px*var(--fz))}
  .ocen-num.ln small{font-size:calc(16px*var(--fz))}
  .ocen-tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n t" "s t";gap:2px 16px;padding:14px 16px;border-radius:16px;font-size:calc(17px*var(--fz))}
  .ocen-tr>span:first-child{grid-area:n}
  .ocen-tr>span:nth-child(2){grid-area:s;font-size:calc(16px*var(--fz))}
  .ocen-tr>span:nth-child(2):empty{display:none}
  .ocen-tr>b{grid-area:t;align-self:center}
  .ocen-th{display:none}
  .ocen-tbl:not(.ln) .ocen-tr:not(.ocen-th):nth-child(even){background:none}
  .ocen-tbl:not(.ln) .ocen-tr:not(.ocen-th):nth-child(odd){background:var(--card)}
  .ocen-tbl.ln{padding:4px 20px;border-radius:24px}
  .ocen-tbl.ln .ocen-tr{padding:14px 0}
  .ocen-band{flex-direction:column;align-items:flex-start;gap:16px;padding:24px;border-radius:24px}
  .ocen-band>.circ{width:52px;height:52px}
  .ocen-band-t b{font-size:calc(21px*var(--fz))}
  .ocen-band-t p{font-size:calc(16px*var(--fz))}
  .ocen-band .btn{margin-left:0}
  .ocen-bring{padding:24px}
  .ck.ocen-ck3{display:flex}
  .ocen-lic{gap:12px}
  .ocen-lic-h .circ{width:48px;height:48px}
  .ocen-lic-h .circ .ic{width:22px;height:22px}
  .ocen-lic .scan{min-height:220px;padding:22px 18px;gap:10px;border-radius:20px}
  .ocen-lic .scan span{align-items:flex-start;font-size:calc(16px*var(--fz));line-height:1.3}
  .ocen-lic-n{font-size:calc(16px*var(--fz))}
  .ocen-kv>div{grid-template-columns:minmax(0,1fr);gap:2px;padding:12px 0;font-size:calc(17px*var(--fz))}
  .ocen-kv dt{font-size:calc(16px*var(--fz))}
  .ocen-req>.card:first-child{padding:12px 20px}
  .ocen-mail{font-size:calc(18px*var(--fz))}
  .ocen-files{padding:4px 16px}
  .ocen-file{gap:12px;padding:16px 0}
  .ocen-file>.circ{display:none}
  .ocen-file-t b{font-size:calc(18px*var(--fz))}
  .ocen-file-t small{font-size:calc(16px*var(--fz))}
  .ocen-file-l{display:none}
  .ocen-file-a .circ{width:44px;height:44px}
  .ocen-ftabs{margin-bottom:28px}
  .ocen-fg{display:flex;flex-direction:column;gap:16px;padding:32px 0}
  .ocen-fg-h{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px;padding-top:0}
  .ocen-fg-h .circ{width:44px;height:44px}
  .ocen-fg-h h2{margin:0;font-size:26px/*ns*/}
  .ocen-fg-n{flex-basis:100%;font-size:calc(16px*var(--fz))}
  .ocen-dh-row{display:block}
  .h1p.ocen-h1d{font-size:30px/*ns*/;line-height:38px}
  .ocen-dh-meta{margin-top:20px}
  .ocen-date{font-size:calc(16px*var(--fz))}
  .ocen-doc{display:flex;flex-direction:column;gap:28px;padding-top:28px}
  .ocen-aside{position:static;align-self:stretch}
  .ocen-toc{padding:20px}
  .ocen-toc a{padding:5px 0;font-size:calc(16px*var(--fz))}
  .ocen-ask{padding:20px}
  .ocen-prose section+section h2{margin-top:40px}
  .ocen-prose h2{font-size:24px/*ns*/}
  .ocen-prose p,.ocen-prose li{font-size:calc(17px*var(--fz))}
  .ocen-prose .ocen-kv{padding:8px 18px}
  .ocen-prose .ocen-kv>div{font-size:calc(16px*var(--fz))}
  .ocen-cts>div{padding:18px}
  .ocen-cts b,.ocen-cts a{font-size:calc(17px*var(--fz))}
  .ocen-nf{padding-top:28px}
  .ocen-nf-code{font-size:120px/*ns*/}
  .ocen-nf .h1p{margin-top:16px;font-size:38px/*ns*/}
  .ocen-nf .pg-lead{margin-top:16px}
  .ocen-nf .btn-row{margin-top:24px}
  .tgrid.ocen-t4{grid-template-columns:1fr;margin-top:32px}
  .tgrid.ocen-t4 .tile-ph>.ph{aspect-ratio:16/9}
}

/* ===== Внутренние страницы раздела «Пансионат» (pans) ===== */

/* Первый экран: длинные заголовки в три строки */
@media (min-width:1024px){
  .h1p.pans-h1{font-size:clamp(40px, calc(var(--W)*.048), 66px)}
}
.pg-price.pans-req b{letter-spacing:-.03em}

/* Кому подходит / ограничения */
.pans-who>.card{gap:24px}
.pans-ch{display:flex;align-items:center;gap:16px}
.pans-ch .circ{width:56px;height:56px}
.pans-ch .circ .ic{width:24px;height:24px;color:var(--green)}
.pans-ch .h3{font-size:calc(clamp(24px, calc(var(--W)*.0214), 30px)*var(--fz))}
.pans-x{display:flex;flex-direction:column;gap:14px}
.pans-x li{position:relative;padding-left:46px;font-size:calc(19px*var(--fz));line-height:1.45}
.pans-x li::before{content:"";position:absolute;left:0;top:-1px;width:32px;height:32px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B534D' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center/15px no-repeat}
.pans-x.pans-i li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B3E' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5v.5'/%3E%3C/svg%3E");background-size:18px}
.pans-who-n{margin-top:auto;padding-top:4px;font-size:calc(17px*var(--fz));line-height:1.55;color:var(--text2)}

/* Что входит: два независимых столбца по 6 пунктов */
.pans-ck2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px;align-items:start}
.pans-inc>.card{gap:28px}
.pans-inc .note-bar{margin-top:0}
.pans-inc>.pic{min-height:420px}

/* Распорядок */
.card.pans-pad{padding-block:16px}
.rows.menu.pans-sched .rows-k{flex-basis:150px;font-size:calc(20px*var(--fz))}
.split.l.pans-sch>.pic{min-height:560px}

/* Уход: четыре инфо-карточки */
.pans-g4 .icard{padding:32px 28px}
.pans-g4 .icard p{font-size:calc(18px*var(--fz))}

/* Врачи: четыре карточки + плитка */
.docs.pans-docs{grid-template-columns:repeat(4,minmax(0,1fr)) var(--col)}
.pans-docs .doc-b b{font-size:calc(20px*var(--fz))}
.pans-docs .doc-b span{font-size:calc(17px*var(--fz))}
.pans-docs .ph-ini{font-size:clamp(56px, calc(var(--W)*.046), 72px)}

/* Стоимость */
.pans-price{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);gap:var(--gap);align-items:stretch}
.pans-price>.card{gap:12px}
.pans-price>.card>.note-bar{margin-top:12px}
.pans-price-r{display:flex;flex-direction:column;gap:var(--gap)}
.pans-price-r>.card{flex:1;gap:24px}
.pans-vars{display:flex;flex-direction:column}
.pans-var{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 136px 48px;grid-template-areas:"n d p a";align-items:center;column-gap:24px;row-gap:6px;padding:20px 0;border-bottom:1px solid var(--line)}
.pans-var:last-child{border-bottom:0}
.pans-var-n{grid-area:n;font-size:calc(20px*var(--fz));line-height:1.35;font-weight:500}
.pans-var-d{grid-area:d;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}
.pans-var-p{grid-area:p;font-size:calc(22px*var(--fz));line-height:1.2;font-weight:700;letter-spacing:-.01em;white-space:nowrap;text-align:right}
.pans-var>.pl-go{grid-area:a}
.pans-vbtn{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 8px;border-radius:999px;background:var(--sageL);font-size:calc(16px*var(--fz));font-weight:700;color:var(--green);transition:background-color .25s,color .25s}
.pans-vbtn .ic{width:16px;height:16px}
.pans-vbtn:hover{background:var(--green);color:#fff}
.pans-disc{display:flex;align-items:center;gap:28px;padding:28px 36px;border-radius:var(--r);background:var(--deep);color:#fff}
.pans-disc b{flex:none;font-size:clamp(48px, calc(var(--W)*.04), 56px);line-height:1;font-weight:700;letter-spacing:-.04em;color:var(--amber)}
.pans-disc span{font-size:calc(18px*var(--fz));line-height:1.45;color:#fff}

/* Отзывы: две карточки + плитка */
.rcards.pans-rc{grid-template-columns:repeat(2,minmax(0,1fr)) var(--col)}

/* Также помогаем: четыре стандартные карточки */
.tgrid.pans-rel{grid-template-columns:repeat(4,minmax(0,1fr))}
.pans-rel .tile .plate b{font-size:calc(clamp(20px, calc(var(--W)*.0157), 22px)*var(--fz))}
.pans-rel .tile .plate strong{font-size:calc(17px*var(--fz))}

/* FAQ: первый вопрос открыт, повёрнутый «плюс» не обрезается */
.pans-faq .fq-q .ic{overflow:visible}

/* Плашка «страница после подтверждения лицензией» */
.pans-status .note-bar{margin-top:clamp(32px, 3.4vw, 48px)}

/* ===== Адаптив ===== */
@media (min-width:1024px) and (max-width:1279px){
  /* номер телефона в узкой плитке FAQ не вылезает за край */
  .pans-col .sq-phone{padding-inline:18px}
  .pans-col .sq-phone>b{font-size:calc(16px*var(--fz))}
}
@media (max-width:1279px){
  .g4.pans-g4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .docs.pans-docs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .rcards.pans-rc{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tgrid.pans-rel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pans-price{grid-template-columns:minmax(0,1fr)}
  .pans-price-r{flex-direction:row}
  .pans-price-r>.card{flex:1 1 0}
  .pans-price-r>.pans-disc{flex:0 1 380px;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
}
@media (max-width:1023px){
  .h1p.pans-h1 br.pans-dbr{display:none}
  .pans-who>.card{gap:18px}
  .pans-ch{gap:12px}
  .pans-ch .circ{width:44px;height:44px}
  .pans-ch .circ .ic{width:20px;height:20px}
  .pans-ch .h3{font-size:22px/*ns*/}
  .pans-x li{font-size:calc(17px*var(--fz));padding-left:42px}
  .pans-x li::before{width:28px;height:28px;background-size:13px}
  .pans-x.pans-i li::before{background-size:16px}
  .pans-who-n{font-size:calc(16px*var(--fz))}
  .pans-ck2{display:flex;flex-direction:column;gap:14px}
  .pans-inc>.card{gap:20px}
  .pans-inc>.pic{min-height:260px;order:-1}
  .split.l.pans-sch>.pic{min-height:240px}
  .card.pans-pad{padding-block:4px}
  .rows.menu.pans-sched>div{flex-direction:row;gap:14px}
  .rows.menu.pans-sched .rows-k{flex:0 0 112px;font-size:calc(16px*var(--fz));line-height:1.55}
  .pans-g4 .icard{padding:24px}
  .pans-g4 .icard p{font-size:calc(16px*var(--fz))}
  .pans-docs .doc-b b{font-size:calc(19px*var(--fz))}
  .pans-docs .doc-b span{font-size:calc(16px*var(--fz))}
  .pans-price-r{flex-direction:column;gap:12px}
  .pans-price-r>.pans-disc{flex:none;flex-direction:row;align-items:center;gap:16px;padding:20px 24px;border-radius:24px}
  .pans-disc b{font-size:44px/*ns*/}
  .pans-disc span{font-size:calc(16px*var(--fz))}
  .pans-var{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"n a" "d a" "p a";column-gap:12px;row-gap:4px;padding:16px 0}
  .pans-var-n{font-size:calc(18px*var(--fz))}
  .pans-var-d{font-size:calc(16px*var(--fz));gap:8px}
  .pans-var-p{font-size:calc(20px*var(--fz));text-align:left}
  .pans-vbtn{font-size:calc(16px*var(--fz))}
  .tgrid.pans-rel{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .tgrid.pans-rel .tile-ph>.ph{aspect-ratio:4/3}
  .pans-rel .tile .plate b{margin:12px 0 0 6px;font-size:17px/*ns*/;line-height:1.25}
  .pans-rel .tile .plate strong{margin:6px 6px 0;font-size:calc(16px*var(--fz))}
  .pans-rel .tile-ph>.notch-arrow{margin:12px 6px 0 6px}
  .pans-rel .tile-ph .notch-arrow .circ .ic{width:18px;height:18px}
  .pans-status .note-bar{margin-top:24px}
}
@media (max-width:359px){
  .tgrid.pans-rel{grid-template-columns:minmax(0,1fr)}
}

/* Версия для слабовидящих: крупный шрифт — меньше колонок */
html.fs-2 .docs.pans-docs,html.fs-3 .docs.pans-docs{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-2 .docs.pans-docs .sq,html.fs-3 .docs.pans-docs .sq{grid-column:1/-1;height:auto;aspect-ratio:auto;min-height:120px}
html.fs-2 .rcards.pans-rc,html.fs-3 .rcards.pans-rc{grid-template-columns:minmax(0,1fr)}
html.fs-2 .rcards.pans-rc .sq,html.fs-3 .rcards.pans-rc .sq{display:none}
html.fs-2 .g4.pans-g4,html.fs-3 .g4.pans-g4{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-3 .tgrid.pans-rel{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-2 .pans-price,html.fs-3 .pans-price{grid-template-columns:minmax(0,1fr)}
html.fs-3 .pans-ck2{display:flex;flex-direction:column;gap:14px}
html.a11y .pans-var{grid-template-columns:minmax(0,1fr) 48px;grid-template-areas:"n a" "d a" "p a"}
html.a11y .pans-var-p{text-align:left}
html.a11y .pans-var-p{white-space:normal}
html[class*="sc-"] .pans-disc,html[class*="sc-"] .pans-vbtn{box-shadow:inset 0 0 0 2px var(--text)}
html[class*="sc-"] .pans-disc b{color:#fff}

/* ===== Внутренние страницы процедур (proc): ЛФК, механотерапия, массаж, гимнастика, БОС, барокамера, ВЛОК/НЛОК, электрофорез, магнитотерапия ===== */

/* «Что это и как проходит»: карточка с текстом + фото или тёмная карточка с фактами */
.proc-about{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:var(--gap);align-items:stretch}
.proc-about>.card{display:flex;flex-direction:column;gap:20px;padding:48px}
.proc-about .ck{margin-top:8px}
.proc-about>.pic{min-height:420px}
.proc-facts{display:flex;flex-direction:column;justify-content:center;padding:48px}
.proc-facts>div{padding:28px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.proc-facts>div:first-child{padding-top:0}
.proc-facts>div:last-child{padding-bottom:0;border-bottom:0}
.proc-facts b{display:block;font-size:clamp(34px, calc(var(--W)*.0343), 48px);line-height:1.1;font-weight:500;letter-spacing:-.03em}
.proc-facts>div:first-child b{color:var(--amber)}
.proc-facts span{display:block;margin-top:8px;font-size:calc(19px*var(--fz));line-height:1.45;color:var(--onDeep2)}

/* Шапка карточки: кружок с иконкой + заголовок */
.proc-ch{display:flex;align-items:center;gap:16px}
.proc-ch .circ{width:56px;height:56px}
.proc-ch .circ .ic{width:24px;height:24px}

/* Показания / когда откладывают */
.proc-ind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}
.proc-ind>.card{display:flex;flex-direction:column;gap:28px;padding:44px}
.ck.proc-x li::before{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B534D' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E");background-size:22px}
.proc-sm{margin-top:auto;font-size:calc(17px*var(--fz));line-height:1.5;color:var(--text2)}

/* Оборудование: фото + карточка со списком */
.proc-eq>.pic{min-height:400px}
.proc-eq>.card{display:flex;flex-direction:column;gap:28px;padding:44px}
.proc-use{flex-direction:column;align-items:stretch;gap:28px;padding:44px}
.proc-use .ck.cols{grid-template-columns:repeat(var(--c,2),minmax(0,1fr));gap:14px 40px}
.proc-icards .icard strong{font-size:calc(22px*var(--fz))}

/* Направления: 4 стандартные карточки в ряд */
.tgrid.proc-t4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tgrid.proc-t4 .tile .plate b{font-size:calc(clamp(20px, calc(var(--W)*.0171), 24px)*var(--fz))}

/* Цены: прайс в белой карточке + боковые карточки */
.proc-price{display:grid;grid-template-columns:minmax(0,1fr) 37%;gap:var(--gap);align-items:start}
.proc-plc{padding:40px 40px 28px}
.proc-pl{gap:0;margin-top:12px}
.proc-pl .pl-r,.proc-pl .pl-r:nth-child(odd){padding:20px 0;border-radius:0;background:none;border-bottom:1px solid var(--line)}
.proc-pl .pl-r:last-child{border-bottom:0}
.proc-pl .pl-d{white-space:normal}
.proc-side{display:flex;flex-direction:column;gap:var(--gap)}
.proc-side>.card{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.proc-side .circ{width:56px;height:56px}
.proc-side .circ .ic{width:24px;height:24px}
.proc-side .more-link{margin-top:4px;font-size:calc(19px*var(--fz))}
.proc-side .card.deep .txt2{color:var(--onDeep2)}

/* Вопросы: открытый ответ */
.proc-faq .fq-q .ic{overflow:visible}

@media (max-width:1279px){
  .steps.proc-st{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tgrid.proc-t4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proc-price{grid-template-columns:minmax(0,1fr)}
  .proc-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .proc-side>.card:only-child{grid-column:1/-1}
  .proc-use .ck.cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .proc-about,.proc-ind,.proc-side{display:flex;flex-direction:column;gap:12px}
  .proc-about>.card,.proc-facts,.proc-ind>.card,.proc-eq>.card{padding:24px;gap:18px}
  .proc-about>.pic{min-height:260px}
  .proc-facts>div{padding:18px 0}
  .proc-facts b{font-size:30px/*ns*/}
  .proc-facts span{font-size:calc(16px*var(--fz))}
  .proc-ch{gap:12px}
  .proc-ch .circ{width:48px;height:48px}
  .proc-ch .circ .ic{width:22px;height:22px}
  .ck.proc-x li::before{background-size:20px}
  .proc-sm{font-size:calc(16px*var(--fz))}
  .proc-eq>.pic{min-height:240px}
  .proc-use{gap:18px;padding:24px}
  .tgrid.proc-t4{grid-template-columns:1fr}
  .proc-plc{padding:24px 20px 12px}
  .proc-pl{margin-top:4px}
  .proc-pl .pl-r,.proc-pl .pl-r:nth-child(odd){padding:16px 0}
  .proc-side .circ{width:48px;height:48px}
  .proc-side .more-link{font-size:calc(17px*var(--fz))}
  .proc-icards .icard strong{font-size:calc(20px*var(--fz))}
}

/* ===== Внутренние страницы реабилитации (reab): посадочные направлений ===== */

/* Первый экран: длинный заголовок чуть мельче; плашка «после подтверждения лицензией» */
@media (min-width:1024px){.h1p.reab-h1s{font-size:clamp(40px, calc(var(--W)*.046), 66px)}}
@media (max-width:1023px){.h1p.reab-h1s{font-size:min(32px, 8.3vw);line-height:1.2}}
.reab-lic .note-bar{margin-top:clamp(32px, calc(var(--W)*.0286), 48px);font-weight:700}

/* Шапка карточки: кружок с иконкой + заголовок */
.reab-ch{display:flex;align-items:center;gap:16px}
.reab-ch .circ{width:56px;height:56px;background:var(--sage);color:var(--green)}
.reab-ch .circ.white{background:#fff}
.reab-ch .circ .ic{width:24px;height:24px}

/* Кому подходит / когда откладывают */
.reab-who{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}
.reab-who>.card{display:flex;flex-direction:column;gap:28px;padding:44px}
.ck.reab-x li::before{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B534D' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E");background-size:13px}
.reab-sm{margin-top:auto;font-size:calc(17px*var(--fz));line-height:1.5;color:var(--text2)}

/* Что входит: таблица «что — зачем — как назначают» */
.reab-tbl{padding:8px 40px 12px;border-radius:var(--r);background:var(--card)}
.reab-tr{display:grid;grid-template-columns:28% minmax(0,1fr) 250px;gap:32px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line)}
.reab-tr:last-child{border-bottom:0}
.reab-tr.reab-th{padding:28px 0 20px;font-size:calc(16px*var(--fz));color:var(--text2)}
.reab-tr>b{font-size:calc(21px*var(--fz));line-height:1.35;font-weight:500}
.reab-tr>span{font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.reab-st{display:flex;align-items:center;gap:12px;font-size:calc(18px*var(--fz));line-height:1.3;color:var(--text2)}
.reab-st .circ{width:32px;height:32px;background:var(--sageL);color:var(--green)}
.reab-st .circ .ic{width:16px;height:16px}
.reab-st.in{font-weight:700;color:var(--text)}
.reab-st.in .circ{background:var(--sage)}

/* Специалисты: 4 карточки + плитка «Все специалисты» */
.docs.reab-docs{grid-template-columns:repeat(4,minmax(0,1fr)) var(--col)}
.docs.reab-docs .doc-b b{font-size:calc(clamp(19px, calc(var(--W)*.0157), 22px)*var(--fz))}

/* Процедуры и «Также помогаем»: 4 стандартные карточки в ряд */
.tgrid.reab-t4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tgrid.reab-t4 .tile .plate b{font-size:calc(clamp(20px, calc(var(--W)*.0171), 24px)*var(--fz))}
.tgrid.reab-t4 .tile-ph>.ph{aspect-ratio:308/220}
.tgrid.reab-rel .tile-ph>.ph{aspect-ratio:308/200}

/* Стоимость: варианты в белой карточке + «Входит в цену» и скидка */
.reab-price{display:grid;grid-template-columns:minmax(0,1fr) 37%;gap:var(--gap);align-items:start}
.reab-pv{padding:40px 40px 20px;border-radius:var(--r);background:var(--card)}
.reab-pv>.h3{margin-bottom:8px}
.reab-pr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 130px;gap:24px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}
.reab-pr:last-child{border-bottom:0}
.reab-pr>b{font-size:calc(21px*var(--fz));line-height:1.35;font-weight:500}
.reab-pr>b a{text-decoration:underline;text-decoration-color:rgba(47,107,62,.45);text-decoration-thickness:1.5px;text-underline-offset:4px;transition:color .25s,text-decoration-color .25s}
.reab-pr>b a:hover{color:var(--green);text-decoration-color:currentColor}
.reab-pr>span{font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}
.reab-pr>strong{font-size:calc(22px*var(--fz));line-height:1.3;font-weight:700;white-space:nowrap;text-align:right}
.reab-side{display:flex;flex-direction:column;gap:var(--gap)}
.reab-side>.card{display:flex;flex-direction:column;gap:20px}
.reab-disc{display:flex;align-items:center;gap:28px;padding:30px 36px;border-radius:var(--r);background:var(--deep);color:#fff}
.reab-disc b{flex:none;font-size:clamp(44px, calc(var(--W)*.04), 56px);line-height:1;font-weight:500;letter-spacing:-.04em;color:var(--amber)}
.reab-disc p{font-size:calc(18px*var(--fz));line-height:1.45}

/* Отзывы: 1–2 карточки + плитка «Все отзывы» */
.rcards.reab-rc2{grid-template-columns:repeat(2,minmax(0,1fr)) var(--col)}
.rcards.reab-rc1{grid-template-columns:minmax(0,1fr) var(--col)}
.reab-rc1 .rcard p,.reab-rc2 .rcard p{margin-top:20px}

/* Статьи по теме: подзаголовок + карточки */
.reab-subh{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:clamp(64px, calc(var(--W)*.0686), 136px) 0 clamp(24px, calc(var(--W)*.0457), 64px)}
.reab-subh .h2{font-size:clamp(28px, calc(var(--W)*.0314), 44px)}
.reab-subh .more-link{flex:none}
.tgrid.reab-arts{grid-template-columns:repeat(3,minmax(0,1fr))}
.tgrid.reab-arts .tile.tile-ph{grid-template-areas:"ph ph" "s s" "t a" "p p";grid-template-rows:auto auto auto 1fr}
.tgrid.reab-arts .tile-ph>.ph{aspect-ratio:427/220}
.tgrid.reab-arts .tile .plate span{margin-top:20px;font-size:calc(16px*var(--fz));font-weight:700;color:var(--green)}
.tgrid.reab-arts .tile .plate b{margin:6px 14px 0;font-size:calc(clamp(20px, calc(var(--W)*.0171), 24px)*var(--fz))}
.tgrid.reab-arts .tile .plate strong{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:calc(16px*var(--fz));font-weight:500;color:var(--text2)}
.tgrid.reab-arts .tile .plate strong .ic{width:18px;height:18px;color:var(--green)}

@media (max-width:1279px){
  .docs.reab-docs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tgrid.reab-t4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tgrid.reab-arts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .reab-tr{grid-template-columns:26% minmax(0,1fr) 220px;gap:24px}
  .reab-price{grid-template-columns:minmax(0,1fr)}
  .reab-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .rcards.reab-rc2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rcards.reab-rc1{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:1023px){
  .reab-who,.reab-side{display:flex;flex-direction:column;gap:12px}
  .reab-who>.card{padding:24px;gap:18px}
  .reab-ch{gap:12px}
  .reab-ch .circ{width:48px;height:48px}
  .reab-ch .circ .ic{width:22px;height:22px}
  .ck.reab-x li::before{background-size:12px}
  .reab-sm{font-size:calc(16px*var(--fz))}
  .reab-tbl{padding:4px 20px;border-radius:24px}
  .reab-tr{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0}
  .reab-tr.reab-th{display:none}
  .reab-tr>b{font-size:18px/*ns*/}
  .reab-tr>span{font-size:calc(16px*var(--fz))}
  .reab-st{margin-top:6px;font-size:calc(16px*var(--fz))}
  .reab-st .circ{width:28px;height:28px}
  .reab-st .circ .ic{width:14px;height:14px}
  .tgrid.reab-t4,.tgrid.reab-arts{grid-template-columns:1fr}
  .tgrid.reab-t4 .tile-ph>.ph,.tgrid.reab-arts .tile-ph>.ph{aspect-ratio:16/9}
  .tgrid.reab-arts .tile .plate span{display:block;margin-top:12px;font-size:calc(15px*var(--fz))}
  .tgrid.reab-arts .tile .plate b{margin:4px 8px 0}
  .tgrid.reab-arts .tile .plate strong{margin-top:10px;font-size:calc(16px*var(--fz))}
  .reab-pv{padding:24px 20px 8px;border-radius:24px}
  .reab-pr{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px 0}
  .reab-pr>b{font-size:18px/*ns*/}
  .reab-pr>span{font-size:calc(16px*var(--fz))}
  .reab-pr>strong{margin-top:4px;font-size:20px/*ns*/;text-align:left}
  .reab-disc{gap:18px;padding:22px 20px;border-radius:24px}
  .reab-disc b{font-size:40px/*ns*/}
  .reab-disc p{font-size:calc(16px*var(--fz))}
  .rcards.reab-rc1 .rcard{flex:1 1 100%}
  .reab-subh{margin:56px 0 20px;flex-wrap:wrap}
  .reab-subh .h2{font-size:26px/*ns*/}
  .reab-subh .more-link{font-size:calc(17px*var(--fz))}
}

/* крупный шрифт (версия для слабовидящих) */
html.a11y .reab-tr.reab-th{display:none}
html.fs-2 .steps.reab-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
html.fs-3 .steps.reab-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
html[class*="sc-"] .reab-disc b{color:#fff}
html[class*="sc-"] .reab-lic .note-bar{background:var(--bg);box-shadow:inset 0 0 0 2px var(--text)}
html[class*="sc-"] .reab-lic .note-bar .ic{color:var(--text)}
html.a11y .reab-tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html.a11y .reab-tr>.reab-st{grid-column:1/-1}
html.a11y .reab-pr{grid-template-columns:minmax(0,1fr);gap:6px}
html.a11y .reab-pr>strong{text-align:left;white-space:normal}
html.a11y .docs.reab-docs{grid-template-columns:repeat(2,minmax(0,1fr))}
html.a11y .docs.reab-docs .sq{grid-column:1/-1;aspect-ratio:auto;min-height:140px}
html.fs-3 .tgrid.reab-t4,html.fs-3 .tgrid.reab-arts{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-3 .reab-who{grid-template-columns:minmax(0,1fr)}

/* ===== Общие компоненты внутренних страниц (используют все группы) ===== */

/* Первый экран: 4 пункта под лидом (<ul class="ck cols sm pg-pts">) */
.pg-pts{margin-top:28px;gap:12px 32px}
.pg-pts li{font-size:calc(19px*var(--fz))}
.pg-price small{display:block;margin-top:4px;font-size:calc(17px*var(--fz));color:var(--text2)}

/* Врач без фото: <span class="ph ph-ini" aria-hidden="true">ТН</span> вместо фото, подпись «фото будет добавлено» не нужна */
.ph-ini{display:grid;place-items:center;background:var(--sage);color:var(--green);font-size:clamp(56px, calc(var(--W)*.05), 80px);font-weight:500;letter-spacing:-.04em}

/* Плашка-примечание во всю ширину: <p class="note-bar"><svg class="ic"><use href="#i-info"/></svg><span>…</span></p> */
.note-bar{display:flex;align-items:flex-start;gap:14px;margin-top:var(--gap);padding:20px 28px;border-radius:24px;background:var(--sageL);font-size:calc(19px*var(--fz));line-height:1.45}
.note-bar .ic{flex:none;width:26px;height:26px;margin-top:1px;color:var(--green)}
.note-bar.amber{background:#FCEBD0}
.note-bar.amber .ic{color:#B86E00}

/* SEO-текст: <div class="seo card rv"><h2 class="h3">…</h2><div class="seo-txt"><p>…</p></div></div> */
.seo{padding:clamp(28px, calc(var(--W)*.033), 48px)}
.seo .h3{max-width:900px}
.seo-txt{max-width:900px;margin-top:20px}
.seo-txt p{font-size:calc(19px*var(--fz));line-height:1.6;color:var(--text2)}
.seo-txt p+p{margin-top:14px}

/* Статья/текстовая страница: колонка текста + боковая колонка */
.prose{max-width:840px}
.prose h2{margin:44px 0 16px;font-size:calc(clamp(26px, calc(var(--W)*.0229), 34px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.prose h3{margin:28px 0 10px;font-size:calc(23px*var(--fz));line-height:1.3;font-weight:700}
.prose p,.prose li{font-size:calc(20px*var(--fz));line-height:1.65}
.prose p+p{margin-top:14px}
.prose ul,.prose ol{margin:14px 0;padding-left:26px}
.prose li+li{margin-top:8px}
.prose a{color:var(--green);text-decoration:underline;text-underline-offset:3px}

@media (max-width:1023px){
  .pg-pts{grid-template-columns:minmax(0,1fr);margin-top:20px}
  .pg-pts li{font-size:calc(17px*var(--fz))}
  .note-bar{padding:16px 18px;font-size:calc(17px*var(--fz))}
  .seo{padding:22px}
  .seo-txt p{font-size:calc(17px*var(--fz))}
  .prose p,.prose li{font-size:calc(18px*var(--fz))}
  .prose h2{margin-top:32px}
}

/* Раскрытый по умолчанию вопрос FAQ: повёрнутая иконка не должна обрезаться */
.fq-q .circ .ic{overflow:visible}
/* Контрастные схемы версии для слабовидящих: у янтарной плашки свой цвет — переводим на цвета схемы */
html.sc-bw .note-bar.amber,html.sc-wb .note-bar.amber,html.sc-bl .note-bar.amber,html.sc-be .note-bar.amber{background:var(--sageL);box-shadow:inset 0 0 0 2px var(--line)}
html.sc-bw .note-bar.amber .ic,html.sc-wb .note-bar.amber .ic,html.sc-bl .note-bar.amber .ic,html.sc-be .note-bar.amber .ic{color:var(--green)}
html.sc-bw .pl-go,html.sc-wb .pl-go,html.sc-bl .pl-go,html.sc-be .pl-go{box-shadow:inset 0 0 0 2px var(--line)}
/* текстовая ссылка внутри списков и абзацев */
a.lnk{color:inherit;text-decoration:underline;text-decoration-color:currentColor;text-decoration-thickness:1px;text-underline-offset:3px;transition:color .2s}
a.lnk:hover{color:var(--green)}

/* узкие места на 1024–1279: телефон в плитке «Остались вопросы?» на «О центре» */
@media (min-width:1024px) and (max-width:1279px){
  .oc-call .oc-call-ph b{font-size:calc(16px*var(--fz));white-space:nowrap}
  html.a11y .oc-call .oc-call-ph b{font-size:15px/*ns*/}
}

/* ===== Статьи и гео-страницы (группа stat) ===== */

/* --- Общее: метка рубрики, время чтения, шапка-хаб --- */
.stat-cat{display:block;font-style:normal;font-size:calc(17px*var(--fz));line-height:1.3;font-weight:700;color:var(--green)}
.stat-rt{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.stat-rt .ic{width:18px;height:18px;color:var(--green)}
.stat-hh{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.stat-hh .lead{margin-bottom:6px}
.stat-hh+.tabs{margin-top:clamp(28px, calc(var(--W)*.029), 40px)}

/* --- Статья: первый экран --- */
.stat-head .crumbs{margin-bottom:32px}
.stat-top{max-width:1120px}
.stat-h1{margin-top:16px;font-size:clamp(34px, calc(var(--W)*.0429), 60px);line-height:1.15}
.stat-by{display:flex;align-items:center;gap:16px;margin-top:28px}
.stat-by>.ph{flex:none;width:64px;height:64px;border-radius:50%;background-position:50% 18%}
.stat-by>.ph-ini{font-size:calc(22px*var(--fz));letter-spacing:0}
.stat-by b{display:block;font-size:calc(19px*var(--fz));line-height:1.35;font-weight:700}
.stat-by small{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:4px;font-size:calc(17px*var(--fz));color:var(--text2)}
.stat-cover{min-height:0;aspect-ratio:1400/560;margin-top:40px}
.stat-cover.rv.in>.ph{animation:zoomOut 1.8s var(--easeO) backwards}

/* --- Статья: текст + боковая колонка --- */
.stat-body{display:grid;grid-template-columns:minmax(0,1fr) clamp(340px, calc(var(--W)*.33), 460px);gap:clamp(40px, calc(var(--W)*.06), 96px);align-items:start;padding-top:clamp(48px, calc(var(--W)*.046), 64px)}
.stat-prose>p:first-child{font-size:calc(22px*var(--fz));line-height:1.6}
.stat-prose h2:first-of-type{margin-top:36px}
.stat-prose ul.ck{padding-left:0;margin:20px 0}
.stat-prose ul.ck li+li{margin-top:0}
.stat-prose .note-bar{margin:28px 0}
.stat-prose .note-bar span{font-size:calc(19px*var(--fz));line-height:1.5}
.stat-quote{margin:36px 0;padding:6px 0 6px 28px;border-left:4px solid var(--amber);font-size:calc(clamp(22px, calc(var(--W)*.0171), 25px)*var(--fz));line-height:1.45;font-weight:500;letter-spacing:-.01em}
.stat-prose .stat-fin{margin-top:28px;padding-top:24px;border-top:1px solid var(--line);color:var(--text2)}

/* «Помощь в нашем центре» */
.stat-help{display:grid;grid-template-columns:clamp(180px, calc(var(--W)*.171), 240px) minmax(0,1fr);gap:clamp(24px, calc(var(--W)*.023), 32px);margin-top:48px;padding:16px clamp(24px, calc(var(--W)*.029), 40px) 16px 16px;border-radius:var(--r);background:var(--sage)}
.stat-help>.ph{min-height:220px;border-radius:28px}
.stat-help-b{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:16px 0}
.stat-help-b .h3{font-size:calc(clamp(24px, calc(var(--W)*.02), 28px)*var(--fz))}
.stat-help-b p{font-size:calc(18px*var(--fz));line-height:1.5;color:var(--text2)}
.stat-help-b .btn{height:56px;margin-top:8px;padding:0 26px;font-size:calc(18px*var(--fz))}
.stat-help-b .btn .ic{transition:transform .4s var(--easeO)}
.stat-help-b .btn:hover .ic{transform:rotate(45deg)}

/* Боковая колонка: содержание + «Остались вопросы?» */
.stat-aside{display:flex;flex-direction:column;gap:var(--gap)}
.stat-toc{padding:36px;border-radius:var(--r);background:var(--card)}
.stat-toc .h3{font-size:calc(26px*var(--fz))}
.stat-toc ol{display:flex;flex-direction:column;gap:4px;margin:18px 0 0;padding:0;list-style:none}
.stat-toc a{display:flex;align-items:flex-start;gap:12px;padding:6px 0;font-size:calc(17px*var(--fz));line-height:1.45;transition:color .2s}
.stat-toc a i{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--sageL);color:var(--green);font-style:normal;font-size:calc(16px*var(--fz));font-weight:700;transition:background-color .2s,color .2s}
.stat-toc a:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.stat-toc a:hover i{background:var(--green);color:#fff}
.stat-ask{display:flex;flex-direction:column;gap:14px;padding:36px;border-radius:var(--r);background:var(--deep);color:#fff}
.stat-ask .h3{color:#fff;font-size:calc(28px*var(--fz))}
.stat-ask p{font-size:calc(18px*var(--fz));line-height:1.5;color:var(--onDeep2)}
.stat-ask .btn{height:60px;margin-top:8px;padding:0 20px;font-size:calc(19px*var(--fz))}
@media (min-width:1024px) and (min-height:760px){
  .stat-aside{position:sticky;top:124px}
}
html.a11y .stat-aside{position:static}

/* --- Карточки статей (стандартная карточка tile-ph + рубрика сверху) --- */
.tgrid .tile-ph.stat-card{grid-template-areas:"ph ph" "c c" "t a" "p p";grid-template-rows:auto auto auto 1fr}
.tgrid .tile-ph.stat-card>.ph{aspect-ratio:427/240}
.stat-card .plate .stat-cat{grid-area:c;margin:20px 14px 0;font-size:calc(16px*var(--fz))}
.tgrid .stat-card .plate b{margin-top:8px;font-size:calc(clamp(21px, calc(var(--W)*.0171), 24px)*var(--fz));line-height:1.3}
.stat-card>.notch-arrow{margin-top:14px}
.tgrid .stat-card .plate strong{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:calc(16px*var(--fz));font-weight:500;color:var(--text2)}
.tgrid.stat-g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tgrid.stat-g4 .tile-ph.stat-card>.ph{aspect-ratio:308/200}
.tgrid.stat-g4 .stat-card .plate b{font-size:calc(clamp(19px, calc(var(--W)*.0143), 21px)*var(--fz))}
/* карточка статьи без своей страницы — без ссылки, стрелки и подъёма */
div.stat-card.tile-ph:hover{transform:none;box-shadow:none}

/* --- Хаб статей --- */
.stat-feat{display:grid;grid-template-columns:minmax(0,1.46fr) minmax(0,1fr);gap:var(--gap);margin-top:clamp(40px, calc(var(--W)*.046), 64px)}
.stat-feat>.ph{min-height:clamp(400px, calc(var(--W)*.36), 520px);border-radius:var(--r);transition:transform .8s var(--easeO)}
.stat-feat-b{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:28px;padding:clamp(28px, calc(var(--W)*.029), 40px);border-radius:var(--r);background:var(--card);transition:box-shadow .5s}
.stat-feat-t{display:block;margin-top:14px;font-size:calc(clamp(28px, calc(var(--W)*.0257), 38px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.stat-feat-x{display:block;margin-top:14px;font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.stat-feat .stat-by{margin-top:0}
.stat-feat .stat-by>.ph{width:56px;height:56px}
.stat-feat .stat-by b{font-size:calc(17px*var(--fz))}
.stat-feat .stat-by small{font-size:calc(16px*var(--fz))}
.stat-feat .btn .ic{transition:transform .4s var(--easeO)}
.stat-feat:hover .stat-feat-b{box-shadow:0 26px 44px -28px rgba(30,61,46,.5)}
.stat-feat:hover .btn{background:var(--amberH)}
.stat-feat:hover .btn .ic{transform:rotate(45deg)}
#stat-list>.tgrid{margin-top:var(--gap)}
.stat-docs{grid-template-columns:repeat(4,minmax(0,1fr)) var(--col)}
.stat-docs .ph-ini{font-size:clamp(56px, calc(var(--W)*.046), 72px)}

/* --- Гео: карта с маршрутом (как карта на «Контактах») --- */
.stat-route{display:grid;grid-template-columns:minmax(0,1fr) clamp(340px, calc(var(--W)*.3), 440px);gap:var(--gap)}
.stat-map{min-height:clamp(480px, calc(var(--W)*.4), 600px)}
.stat-map .map-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.stat-mk{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:10px;padding:8px 18px 8px 8px;border-radius:999px;background:var(--card);box-shadow:0 14px 26px -16px rgba(30,61,46,.55);white-space:nowrap}
.stat-mk .circ{width:36px;height:36px;background:var(--sage);color:var(--deep)}
.stat-mk .circ .ic{width:18px;height:18px}
.stat-mk b{display:block;font-size:calc(17px*var(--fz));line-height:1.25;font-weight:700}
.stat-mk small{display:block;font-size:calc(15px*var(--fz));line-height:1.3;color:var(--text2)}
.stat-mk.dark{background:var(--deep);color:#fff}
.stat-mk.dark small{color:var(--onDeep2)}
.stat-mk.dark .circ{background:var(--amber);color:var(--ink)}
a.stat-mk{transition:transform .4s var(--easeO),background-color .25s}
a.stat-mk:hover{transform:translateY(-3px)}
.stat-badge{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 20px;border-radius:999px;background:var(--deep);color:#fff;font-size:calc(17px*var(--fz));font-weight:700;white-space:nowrap}
.stat-badge .ic{width:20px;height:20px;color:var(--sage)}
.stat-map.in .stat-mk,.stat-map.in .stat-badge{animation:pinDrop 1s var(--easeO) .35s backwards}
.stat-route .map-route{left:auto;right:24px;top:24px}

/* способы добраться */
.stat-ways{display:flex;flex-direction:column;gap:var(--gap)}
.stat-way{display:flex;flex-direction:column;gap:12px;flex:1;padding:28px 32px;border-radius:32px;background:var(--card)}
.stat-way-h{display:flex;align-items:center;gap:14px}
.stat-way-h .circ{width:48px;height:48px;background:var(--sageL);color:var(--green)}
.stat-way-h b{font-size:calc(22px*var(--fz));line-height:1.25;font-weight:500;letter-spacing:-.01em}
.stat-way p{font-size:calc(18px*var(--fz));line-height:1.5;color:var(--text2)}
.stat-tt{margin-top:4px}
.stat-tt>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);font-size:calc(18px*var(--fz))}
.stat-tt>div:last-child{border-bottom:0}
.stat-tt>div:first-child{padding-top:4px;font-size:calc(16px*var(--fz));color:var(--text2)}
.stat-tt b{white-space:nowrap}

/* отзыв во всю ширину + плитка «Все отзывы» */
.stat-rvw .rcard p{max-width:960px;font-size:calc(clamp(21px, calc(var(--W)*.0171), 24px)*var(--fz))}
.stat-rvw .sq{aspect-ratio:auto;min-height:100%}

/* форма записи: заголовок с подписью */
.booking .form .stat-bk-h{align-self:center;color:#fff}
.booking.stat-bk .form{grid-template-columns:minmax(0,1fr) 230px 270px auto}
.booking.stat-bk .form .stat-bk-h{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 24px}
.stat-bk-h br{display:none}
@media (min-width:1560px){
  .booking.stat-bk .form{grid-template-columns:minmax(0,210px) minmax(0,1fr) 230px 270px auto}
  .booking.stat-bk .form .stat-bk-h{grid-column:auto;display:block}
  .stat-bk-h br{display:inline}
}
.stat-map .map-line .m{display:none}
.stat-bk-h p{font-size:calc(17px*var(--fz));line-height:1.45;color:var(--onDeep2)}
@media (min-width:1560px){.stat-bk-h p{max-width:210px;margin-top:8px;font-size:calc(16px*var(--fz))}}

/* --- Гео-хаб: города --- */
.stat-cities{margin-top:clamp(36px, calc(var(--W)*.034), 48px)}
.stat-city{display:flex;flex-direction:column;gap:18px;padding:28px;border-radius:var(--r);background:var(--card);transition:transform .5s var(--easeO),box-shadow .5s}
.stat-city:hover{transform:translateY(-6px);box-shadow:0 26px 44px -28px rgba(30,61,46,.5)}
.stat-city-top{display:flex;align-items:center;justify-content:space-between}
.stat-city-top .circ{width:48px;height:48px;background:var(--sageL);color:var(--green)}
.stat-city-top .ic{width:22px;height:22px}
.stat-city-top>.ic{color:var(--green);transition:transform .4s var(--easeO)}
.stat-city:hover .stat-city-top>.ic{transform:rotate(45deg)}
.stat-city-n b{display:block;font-size:calc(clamp(24px, calc(var(--W)*.0186), 28px)*var(--fz));line-height:1.2;font-weight:500;letter-spacing:-.02em}
.stat-city-n small{display:block;margin-top:6px;font-size:calc(16px*var(--fz));line-height:1.4;color:var(--text2)}
.stat-city-t{margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
.stat-city-t b{display:block;font-size:clamp(34px, calc(var(--W)*.0286), 44px);line-height:1;font-weight:700;letter-spacing:-.04em;white-space:nowrap}
.stat-city-t small{display:block;margin-top:6px;font-size:calc(16px*var(--fz));color:var(--text2)}
.stat-city-tr{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:18px;background:var(--sageL);font-size:calc(16px*var(--fz));line-height:1.4}
.stat-city-tr .ic{flex:none;width:18px;height:18px;margin-top:1px;color:var(--green)}

/* схема проезда (линия электричек): точки и подписи ставятся по --x/--y (проценты по линии) */
.stat-scheme{min-height:clamp(520px, calc(var(--W)*.46), 660px)}
.stat-rail{position:absolute;inset:0;width:100%;height:100%}
.stat-st{position:absolute;z-index:2;left:var(--x);top:var(--y);width:16px;height:16px;margin:-8px 0 0 -8px;border:3px solid var(--deep);border-radius:50%;background:#fff}
.stat-st.main{width:28px;height:28px;margin:-14px 0 0 -14px;border:5px solid #fff;background:var(--amber);box-shadow:0 0 0 2px var(--deep)}
.stat-scheme .stat-mk{left:calc(var(--x) + 20px);top:var(--y);transform:translateY(-50%)}
.stat-scheme .stat-mk.l{left:calc(var(--x) - 20px);transform:translate(-100%,-50%)}
.stat-scheme a.stat-mk:hover{transform:translateY(calc(-50% - 3px))}
.stat-scheme a.stat-mk.l:hover{transform:translate(-100%,calc(-50% - 3px))}
.stat-scheme.in .stat-mk{animation:none}
.stat-sname{position:absolute;z-index:2;left:calc(var(--x) + 16px);top:var(--y);transform:translateY(-50%);font-size:calc(16px*var(--fz));color:var(--text2)}
.stat-legend{position:absolute;left:24px;bottom:24px;z-index:2;display:inline-flex;align-items:center;gap:12px;height:44px;padding:0 18px;border-radius:999px;background:var(--card);font-size:calc(16px*var(--fz));font-weight:700}
.stat-legend i{width:28px;height:6px;border-radius:3px;background:var(--deep)}
.stat-way .more-link{margin-top:auto;padding-top:4px}
.stat-way .more-link+.more-link{margin-top:0}

/* гео: заголовок первого экрана, точки маршрута */
.stat-h1g{font-size:clamp(38px, calc(var(--W)*.0457), 64px)}
.stat-pa{left:calc(14% - 26px);top:calc(78% - 26px)}
.stat-pb{left:calc(40% - 26px);top:calc(26% - 28px)}
.stat-map .stat-badge{right:24px;bottom:24px}

/* ===== Адаптив ===== */
@media (max-width:1279px){
  .stat-body{grid-template-columns:minmax(0,1fr) 320px;gap:40px}
  .stat-toc,.stat-ask{padding:28px}
  .tgrid.stat-g4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-docs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .stat-docs .sq{grid-column:1/-1}
  .booking.stat-bk .form{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat-route{grid-template-columns:minmax(0,1fr) 360px}
  .g4.stat-cities{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-scheme .stat-mk-main{left:calc(var(--x) - 20px);transform:translate(-100%,-50%)}
  .stat-scheme a.stat-mk-main:hover{transform:translate(-100%,calc(-50% - 3px))}
}
@media (max-width:1023px){
  .stat-hh{display:block}
  .stat-hh .lead{margin:14px 0 0}
  .stat-hh+.tabs{margin-top:20px}
  .stat-cat{font-size:calc(16px*var(--fz))}
  .stat-head .crumbs{margin-bottom:20px}
  .stat-h1{margin-top:10px;font-size:30px/*ns*/;line-height:36px}
  .stat-by{gap:12px;margin-top:18px}
  .stat-by>.ph{width:52px;height:52px}
  .stat-by>.ph-ini{font-size:calc(18px*var(--fz))}
  .stat-by b{font-size:calc(16px*var(--fz))}
  .stat-by small{font-size:calc(16px*var(--fz))}
  .stat-cover{aspect-ratio:4/3;margin-top:24px;border-radius:24px}
  .stat-body{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding-top:24px}
  .stat-aside{display:contents}
  .stat-toc{order:-1;padding:22px 20px;border-radius:24px}
  .stat-toc .h3{font-size:22px/*ns*/}
  .stat-toc ol{margin-top:10px;gap:0}
  .stat-toc a{font-size:calc(16px*var(--fz));gap:12px}
  .stat-toc a i{width:26px;height:26px;font-size:calc(15px*var(--fz))}
  .stat-ask{padding:24px 20px;border-radius:24px}
  .stat-ask .h3{font-size:24px/*ns*/}
  .stat-ask p{font-size:calc(16px*var(--fz))}
  .stat-ask .btn{height:56px;font-size:calc(18px*var(--fz))}
  .stat-prose>p:first-child{font-size:calc(19px*var(--fz))}
  .stat-prose h2:first-of-type{margin-top:28px}
  .stat-prose .note-bar{margin:20px 0}
  .stat-prose .note-bar span{font-size:calc(16px*var(--fz))}
  .stat-quote{margin:24px 0;padding-left:18px;font-size:20px/*ns*/}
  .stat-help{grid-template-columns:1fr;gap:4px;margin-top:32px;padding:12px 12px 20px;border-radius:24px}
  .stat-help>.ph{min-height:0;aspect-ratio:16/9;border-radius:16px}
  .stat-help-b{padding:12px 8px 0}
  .stat-help-b .h3{font-size:22px/*ns*/}
  .stat-help-b p{font-size:calc(16px*var(--fz))}
  .stat-help-b .btn{width:100%;height:56px;font-size:calc(17px*var(--fz))}
  /* карточки статей: фото слева, текст справа */
  .tgrid .tile-ph.stat-card,.tgrid.stat-g4 .tile-ph.stat-card{grid-template-columns:104px minmax(0,1fr);grid-template-areas:"ph c" "ph t" "ph p";grid-template-rows:auto auto 1fr;column-gap:14px;padding:10px 16px 10px 10px;border-radius:24px}
  .tgrid .tile-ph.stat-card>.ph,.tgrid.stat-g4 .tile-ph.stat-card>.ph{aspect-ratio:auto;min-height:104px;height:100%;border-radius:16px}
  .stat-card>.notch-arrow{display:none}
  .stat-card .plate .stat-cat{margin:6px 0 0;font-size:calc(15px*var(--fz))}
  .tgrid .stat-card .plate b,.tgrid.stat-g4 .stat-card .plate b{margin:4px 0 0;font-size:17px/*ns*/;line-height:1.3}
  .tgrid .stat-card .plate strong{margin:8px 0 4px;font-size:calc(15px*var(--fz))}
  .tgrid.stat-g4{grid-template-columns:1fr}
  .stat-feat{display:flex;flex-direction:column;gap:0;margin-top:24px;border-radius:24px;overflow:hidden;background:var(--card)}
  .stat-feat>.ph{min-height:0;aspect-ratio:16/10;border-radius:24px 24px 0 0}
  .stat-feat-b{gap:18px;padding:20px 20px 24px;border-radius:0}
  .stat-feat-t{margin-top:8px;font-size:24px/*ns*/}
  .stat-feat-x{margin-top:8px;font-size:calc(16px*var(--fz))}
  .stat-feat .btn{width:100%;height:56px;font-size:calc(18px*var(--fz))}
  .stat-docs .ph-ini{font-size:56px/*ns*/}
  /* гео */
  .stat-route{display:flex;flex-direction:column;gap:12px}
  .stat-map{height:auto;min-height:0}
  .stat-mk{gap:8px;padding:5px 12px 5px 5px}
  .stat-mk .circ{width:28px;height:28px}
  .stat-mk .circ .ic{width:15px;height:15px}
  .stat-mk b{font-size:calc(15px*var(--fz))}
  .stat-mk small{font-size:calc(15px*var(--fz))}
  .stat-badge{height:38px;padding:0 14px;font-size:calc(15px*var(--fz))}
  .stat-badge .ic{width:16px;height:16px}
  .stat-route .map-route{right:12px;top:12px}
  .stat-map{aspect-ratio:10/9}
  .stat-map .map-line .d{display:none}
  .stat-map .map-line .m{display:inline}
  .stat-pa{left:calc(14% - 19px);top:calc(76% - 19px)}
  .stat-pb{left:calc(22% - 19px);top:calc(26% - 21px)}
  .stat-map .stat-badge{right:12px;bottom:12px}
  .stat-ways{gap:12px}
  .stat-way{padding:20px;border-radius:24px}
  .stat-way-h b{font-size:20px/*ns*/}
  .stat-way-h .circ{width:44px;height:44px}
  .stat-way p,.stat-tt>div{font-size:calc(16px*var(--fz))}
  .stat-rvw .rcard p{font-size:calc(18px*var(--fz))}
  .booking.stat-bk .form .stat-bk-h{display:block}
  .stat-bk-h br{display:inline}
  .stat-bk-h p{margin-top:8px;font-size:calc(16px*var(--fz))}
  .stat-city{gap:14px;padding:20px;border-radius:24px}
  .stat-city-t{padding-top:14px}
  .stat-city-t b{font-size:32px/*ns*/}
  .stat-cities{margin-top:24px}
  .stat-scheme{height:auto;min-height:0;aspect-ratio:3/4}
  .stat-cover>.ph{background-position:50% 50%!important}
  .stat-scheme .stat-mk{left:calc(var(--x) + 14px)}
  .stat-scheme .stat-mk.l,.stat-scheme .stat-mk-main{left:calc(var(--x) - 16px);transform:translate(-100%,-50%)}
  .stat-scheme a.stat-mk:hover,.stat-scheme a.stat-mk.l:hover{transform:translate(-100%,-50%)}
  .stat-scheme a.stat-mk:not(.l):not(.stat-mk-main):hover{transform:translateY(-50%)}
  .stat-sname{left:calc(var(--x) + 12px);font-size:calc(15px*var(--fz))}
  .stat-legend,.stat-scheme .map-route{display:none}
  .stat-scheme .stat-mk-main small{display:none}
  .stat-way .more-link{font-size:calc(18px*var(--fz))}
  .stat-st{width:12px;height:12px;margin:-6px 0 0 -6px;border-width:2px}
  .stat-st.main{width:22px;height:22px;margin:-11px 0 0 -11px;border-width:4px}
}

/* ссылки на страницу врача в подписи статьи */
.stat-by b a{color:var(--green);text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.stat-by b a:hover{color:var(--deep)}

/* обложки статей из вертикальных фото: показываем лица, а не потолок */
.stat-cover>.ph-trainer{background-position:50% 40%}
.stat-cover>.ph-walker{background-position:50% 32%}
@media (min-width:600px) and (max-width:1023px){
  .stat-map{aspect-ratio:16/10}
  .stat-scheme{aspect-ratio:4/3}
}

/* версия для слабовидящих: контур у карточек группы */
html[class*="sc-"] :is(.stat-city,.stat-way,.stat-toc,.stat-feat-b,.stat-help,.stat-mk,.stat-legend,.stat-city-tr){box-shadow:inset 0 0 0 2px var(--text)!important}
/* мобильный: подпись адреса на карте переносится, а не вылезает за край */
@media (max-width:1023px){
  .stat-map .stat-mk small{white-space:normal;max-width:190px}
}

/* ===== Внутренние страницы раздела «Условия» (usl) ===== */

/* --- Шапка секции: лид + ссылка под ним --- */
.usl-hr{flex:none;width:440px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.usl-hr .lead{width:auto}
.usl-hr .more-link{font-size:calc(19px*var(--fz))}
.usl-h2s{font-size:clamp(28px, calc(var(--W)*.0314), 44px)}
.usl-sub{margin-top:clamp(48px, calc(var(--W)*.0457), 64px)}

/* --- Карточка с заголовком-иконкой --- */
.usl-ch{display:flex;align-items:center;gap:16px}
.usl-ch .circ{width:56px;height:56px;background:var(--sageL);color:var(--green)}
.usl-ch .circ .ic{width:26px;height:26px}
.card.sage .usl-ch .circ,.card.sageL .usl-ch .circ{background:#fff}
.usl-card{display:flex;flex-direction:column;gap:24px;padding:40px 44px}
.usl-card .h3{font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz))}
.usl-card p.txt2+p.txt2{margin-top:-8px}
.usl-q{font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}

/* две колонки списков в одной карточке */
.usl-2l{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 48px}
.usl-2l>div{display:flex;flex-direction:column;gap:20px}
.usl-2l .h3{font-size:calc(22px*var(--fz));font-weight:700;letter-spacing:0}
.usl-2l .usl-ch .h3{font-size:calc(clamp(22px, calc(var(--W)*.0186), 26px)*var(--fz));font-weight:500;letter-spacing:-.02em}
/* три колонки галочек (сверху вниз) */
.ck.usl-ck3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(var(--rows,4),auto);grid-auto-flow:column;gap:18px 40px}
.ck.usl-ck3r{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 40px}

/* фото рядом с карточкой — на всю высоту ряда */
.usl-split{display:grid;grid-template-columns:minmax(0,1fr) 34%;gap:var(--gap);align-items:stretch}
.usl-split>.pic{min-height:420px}

/* цифры в столбик (sage-карточка) */
.usl-stats{display:flex;flex-direction:column;justify-content:center;gap:28px;padding:40px 44px}
.usl-stats b{display:block;font-size:calc(40px*var(--fz));line-height:1.05;font-weight:700;letter-spacing:-.04em}
.usl-stats span{display:block;margin-top:6px;font-size:calc(18px*var(--fz));line-height:1.4;color:var(--text2)}

/* ===== Шаблон «Номер»: галерея + карточка ===== */
.usl-room{display:grid;grid-template-columns:minmax(0,1fr) clamp(400px, calc(var(--W)*.354), 496px);gap:var(--gap);align-items:stretch}
.usl-gal{position:relative;display:flex;flex-direction:column;gap:16px;min-width:0}
.usl-gr{position:absolute;left:0;top:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.usl-gm{position:relative;flex:1 0 auto;aspect-ratio:880/668;border-radius:var(--r);overflow:hidden;background:var(--sageL)}
.usl-gm>.pic{position:absolute;inset:0;display:block;width:100%;min-height:0;padding:0;border-radius:0;cursor:zoom-in;opacity:0;visibility:hidden;transition:opacity .6s var(--easeO),visibility 0s .6s}
.usl-gm>.pic>.ph{transition:transform 1.4s var(--easeO)}
.usl-gm>.pic:hover>.ph{transform:scale(1.03)}
.usl-gm>.pic::after,.usl-gi-p::after{content:"";position:absolute;right:24px;top:24px;z-index:1;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1F1C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/22px no-repeat;opacity:0;transform:scale(.7);transition:opacity .3s,transform .45s var(--easeO)}
.usl-gm>.pic:hover::after,.usl-gm>.pic:focus-visible::after{opacity:1;transform:none}
.usl-gm>.pic:focus-visible{outline-offset:-6px}
.usl-gnav{position:absolute;right:24px;bottom:24px;z-index:2}
.usl-gnav>div{display:none;align-items:center;gap:8px;height:68px;padding:0 10px 0 22px;border-radius:999px;background:#fff;box-shadow:0 4px 12px -6px rgba(27,31,28,.45)}
.usl-gnav b{min-width:48px;font-size:calc(19px*var(--fz));font-weight:700;white-space:nowrap}
.usl-gnav label{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--sageL);color:var(--deep);cursor:pointer;transition:background-color .25s,color .25s,transform .3s var(--easeO)}
.usl-gnav label .ic{width:20px;height:20px}
.usl-gnav label:hover{background:var(--deep);color:#fff}
.usl-gnav label:active{transform:scale(.92)}
.usl-gt{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:12px}
.usl-gt>label{position:relative;display:block;aspect-ratio:162/120;border-radius:20px;overflow:hidden;cursor:pointer;box-shadow:0 0 0 0 var(--green);transition:box-shadow .3s,opacity .3s;opacity:.78}
.usl-gt>label>.ph{position:absolute;inset:0;transition:transform .8s var(--easeO)}
.usl-gt>label:hover{opacity:1}
.usl-gt>label:hover>.ph{transform:scale(1.06)}
/* выбранное фото (до 6 фото в галерее) */
.usl-gr:nth-of-type(1):checked~.usl-gm>.pic:nth-of-type(1),.usl-gr:nth-of-type(2):checked~.usl-gm>.pic:nth-of-type(2),.usl-gr:nth-of-type(3):checked~.usl-gm>.pic:nth-of-type(3),.usl-gr:nth-of-type(4):checked~.usl-gm>.pic:nth-of-type(4),.usl-gr:nth-of-type(5):checked~.usl-gm>.pic:nth-of-type(5),.usl-gr:nth-of-type(6):checked~.usl-gm>.pic:nth-of-type(6){opacity:1;visibility:visible;transition-delay:0s}
.usl-gr:nth-of-type(1):checked~.usl-gm .usl-gnav>div:nth-of-type(1),.usl-gr:nth-of-type(2):checked~.usl-gm .usl-gnav>div:nth-of-type(2),.usl-gr:nth-of-type(3):checked~.usl-gm .usl-gnav>div:nth-of-type(3),.usl-gr:nth-of-type(4):checked~.usl-gm .usl-gnav>div:nth-of-type(4),.usl-gr:nth-of-type(5):checked~.usl-gm .usl-gnav>div:nth-of-type(5),.usl-gr:nth-of-type(6):checked~.usl-gm .usl-gnav>div:nth-of-type(6){display:flex}
.usl-gr:nth-of-type(1):checked~.usl-gt>label:nth-of-type(1),.usl-gr:nth-of-type(2):checked~.usl-gt>label:nth-of-type(2),.usl-gr:nth-of-type(3):checked~.usl-gt>label:nth-of-type(3),.usl-gr:nth-of-type(4):checked~.usl-gt>label:nth-of-type(4),.usl-gr:nth-of-type(5):checked~.usl-gt>label:nth-of-type(5),.usl-gr:nth-of-type(6):checked~.usl-gt>label:nth-of-type(6){box-shadow:inset 0 0 0 3px var(--green);opacity:1}
.usl-gr:nth-of-type(1):focus-visible~.usl-gt>label:nth-of-type(1),.usl-gr:nth-of-type(2):focus-visible~.usl-gt>label:nth-of-type(2),.usl-gr:nth-of-type(3):focus-visible~.usl-gt>label:nth-of-type(3),.usl-gr:nth-of-type(4):focus-visible~.usl-gt>label:nth-of-type(4),.usl-gr:nth-of-type(5):focus-visible~.usl-gt>label:nth-of-type(5),.usl-gr:nth-of-type(6):focus-visible~.usl-gt>label:nth-of-type(6){outline:3px solid var(--amber);outline-offset:3px}
.usl-gt>label::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inherit;pointer-events:none}

/* карточка номера */
.usl-rc{display:flex;flex-direction:column;gap:28px;padding:44px 44px 40px;border-radius:var(--r);background:var(--card)}
.h1p.usl-h1{font-size:clamp(36px, calc(var(--W)*.04), 56px);line-height:1.12}
.usl-specs{margin:0}
.usl-specs>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:calc(18px*var(--fz));line-height:1.45}
.usl-specs>div:first-child{padding-top:0}
.usl-specs dt{color:var(--text2)}
.usl-specs dd{margin:0;font-weight:700}
.usl-rp{margin-top:auto}
.usl-rp .pg-price{flex-wrap:wrap;gap:6px 14px;margin-bottom:10px}
.usl-rp .pg-price b{font-size:clamp(38px, calc(var(--W)*.0343), 48px)}
.usl-rp .pg-price span{max-width:none;font-size:calc(18px*var(--fz))}
.usl-pn{font-size:calc(17px*var(--fz));line-height:1.45;color:var(--text2)}
.usl-rb{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.usl-rb .btn{width:100%;height:64px;font-size:calc(19px*var(--fz))}

/* ===== Сравнение номеров ===== */
.usl-cmp{border-radius:var(--r);background:var(--card);overflow:hidden}
.usl-cr{display:grid;grid-template-columns:22% repeat(3,minmax(0,1fr))}
.usl-cr+.usl-cr{border-top:1px solid var(--line)}
.usl-cr>div{padding:22px 28px;font-size:calc(19px*var(--fz));line-height:1.45}
.usl-cr>div:first-child{color:var(--text2);font-size:calc(18px*var(--fz))}
.usl-cr>.all{grid-column:span 2}
.usl-cr>.wide{grid-column:span 3}
.usl-cr .mut{color:var(--text2);font-weight:500}
.usl-cr>div:last-child:not(.wide){background:var(--sageL)}
.usl-ch-h>div{display:flex;align-items:center;gap:12px;padding-block:26px;font-size:calc(21px*var(--fz));font-weight:700;line-height:1.25}
.usl-ch-h>div:first-child{font-size:calc(17px*var(--fz));font-weight:500}
.usl-ch-h .circ{width:44px;height:44px;background:var(--sageL);color:var(--green)}
.usl-ch-h>div:last-child .circ{background:#fff}
.usl-ch-h a{text-decoration:underline;text-decoration-color:rgba(27,31,28,.3);text-underline-offset:4px;transition:color .2s,text-decoration-color .2s}
.usl-ch-h a:hover{color:var(--green);text-decoration-color:currentColor}
.usl-cr b{font-weight:700}

/* ===== Фото с подписями ===== */
.usl-ph4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.usl-gi{display:flex;flex-direction:column;gap:12px;width:100%;padding:0;text-align:left;cursor:zoom-in}
.usl-gi-p{position:relative;display:block;width:100%;height:calc(var(--W)*var(--h,.214));border-radius:28px;overflow:hidden;background:var(--sageL)}
.usl-gi-p>.ph{position:absolute;inset:0;transition:transform 1.4s var(--easeO)}
.usl-gi:hover .usl-gi-p>.ph{transform:scale(1.05)}
.usl-gi:hover .usl-gi-p::after,.usl-gi:focus-visible .usl-gi-p::after{opacity:1;transform:none}
.usl-gi-c{display:block;padding:0 6px;font-size:calc(17px*var(--fz));line-height:1.4;color:var(--text2)}
.usl-gi:focus-visible{outline-offset:4px;border-radius:28px}
.usl-gi.vid{cursor:pointer}
.usl-gi.vid .usl-gi-p::after{display:none}
.usl-gi.vid .usl-gi-p>.ph::after{content:"";position:absolute;inset:0;background:rgba(27,31,28,.16)}
.usl-gi .vc-play{width:72px;height:72px;margin:-36px 0 0 -36px}
.usl-gi:hover .vc-play{transform:scale(1.08);background:var(--amberH)}
.usl-gi .vc-dur{z-index:1}

/* ===== Фотогалерея ===== */
.usl-fh{margin-bottom:0}
.usl-chips{margin-top:clamp(28px, calc(var(--W)*.0286), 40px)}
.usl-chips .tab{height:52px;padding:0 22px;cursor:pointer}
.usl-chips .tab span{margin-left:6px;font-weight:500;opacity:.7}
.usl-gg{padding-top:clamp(48px, calc(var(--W)*.0457), 64px)}
.usl-gg-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.usl-gg-h .h3{font-size:calc(clamp(26px, calc(var(--W)*.0229), 32px)*var(--fz))}
.usl-gg-h span{font-size:calc(17px*var(--fz));color:var(--text2);white-space:nowrap}
.usl-gg-b{display:flex;flex-direction:column;gap:32px}
.usl-row{display:grid;gap:var(--gap)}
.usl-r4{grid-template-columns:repeat(4,minmax(0,1fr))}
.usl-r3{grid-template-columns:repeat(3,minmax(0,1fr))}
.usl-r2{grid-template-columns:repeat(2,minmax(0,1fr))}
.usl-rw{grid-template-columns:680fr 336fr 336fr}
.usl-rw.rev{grid-template-columns:336fr 336fr 680fr}
.usl-r85{grid-template-columns:880fr 496fr}
.usl-team .ph{background-position:50% 22%}

/* ===== Питание: меню-таблица ===== */
.usl-tbl{padding:12px 40px;border-radius:var(--r);background:var(--card)}
.usl-tr{display:grid;grid-template-columns:220px minmax(0,1fr) 100px;gap:24px;align-items:baseline;padding:22px 0;border-bottom:1px solid var(--line);font-size:calc(19px*var(--fz));line-height:1.45}
.usl-tr:last-child{border-bottom:0}
.usl-tr>:first-child{font-size:calc(21px*var(--fz));font-weight:700}
.usl-tr>:nth-child(2){color:var(--text2)}
.usl-tr>:last-child{text-align:right;font-size:calc(21px*var(--fz));font-weight:700;white-space:nowrap}
.usl-th{padding:16px 0;font-size:calc(16px*var(--fz))!important;font-weight:500!important;color:var(--text2)}
.usl-th>*{font-size:calc(16px*var(--fz))!important;font-weight:500!important;color:var(--text2)!important}

/* ===== Досуг: распорядок ===== */
.usl-day{padding:12px 40px}
.usl-day .rows>div{gap:24px;padding:18px 0;font-size:calc(19px*var(--fz))}
.usl-day .rows-k{flex-basis:160px;font-size:calc(19px*var(--fz));white-space:nowrap}
.usl-docs{grid-template-columns:repeat(4,minmax(0,1fr)) var(--col)}
.usl-docs .doc-b b{font-size:calc(21px*var(--fz))}
.usl-docs .ph-ini{font-size:clamp(48px, calc(var(--W)*.04), 64px)}

/* ===== VIP: видео + состав ===== */
.usl-vv{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:var(--gap);align-items:stretch}
.usl-vbtn{position:relative;display:block;width:100%;min-height:520px;padding:0;border-radius:var(--r);overflow:hidden;cursor:pointer;text-align:left}
.usl-vbtn>.ph{position:absolute;inset:0;transition:transform 1.4s var(--easeO)}
.usl-vbtn>.ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,.45))}
.usl-vbtn:hover>.ph{transform:scale(1.04)}
.usl-vbtn:hover .vc-play{transform:scale(1.08);background:var(--amberH)}
.usl-vbtn .vc-dur{left:auto;right:24px;bottom:24px}
.usl-vbtn .usl-vcap{position:absolute;left:28px;bottom:24px;z-index:1;max-width:60%;color:#fff;font-size:calc(22px*var(--fz));line-height:1.25;font-weight:500}
.usl-vv .card{justify-content:center;gap:28px;padding:48px}
.usl-vv .btn-row .btn .ic{width:20px;height:20px}
.usl-int{display:flex;flex-direction:column;padding:12px;border-radius:var(--r);background:var(--card)}
.usl-int-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.usl-int-g>.pic{display:block;width:100%;min-height:0;aspect-ratio:4/3;padding:0;border-radius:28px;cursor:zoom-in}
.usl-int-g>.pic:first-child{grid-column:1/-1;aspect-ratio:16/9}
.usl-int-g>.pic:hover>.ph{transform:scale(1.05)}
.usl-int-b{display:flex;flex-direction:column;gap:8px;padding:24px 16px 16px}
.usl-int-b .h3{font-size:calc(clamp(24px, calc(var(--W)*.0214), 30px)*var(--fz))}

/* «Другие варианты» — четыре карточки в ряд */
.tgrid.usl-t4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tgrid.usl-t4 .tile .plate b{font-size:calc(clamp(21px, calc(var(--W)*.0171), 24px)*var(--fz))}

/* ===== Адаптив ===== */
@media (max-width:1279px){
  .usl-room{grid-template-columns:minmax(0,1fr) 400px}
  .usl-rc{padding:32px 32px 28px;gap:22px}
  .usl-specs>div{grid-template-columns:110px minmax(0,1fr);font-size:calc(17px*var(--fz))}
  .usl-gnav{right:16px;bottom:16px}
  .usl-gnav>div{height:58px;padding:0 8px 0 18px}
  .usl-gnav label{width:42px;height:42px}
  .tgrid.usl-t4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .usl-docs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .usl-cr{grid-template-columns:20% repeat(3,minmax(0,1fr))}
  .usl-cr>div{padding:18px 18px;font-size:calc(17px*var(--fz))}
  .usl-ph4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .usl-ph4 .usl-gi-p{height:calc(var(--W)*.32)}
  .usl-vv{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
  .usl-vv .card{padding:36px}
  .usl-2l{gap:24px 32px}
  .ck.usl-ck3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row}
  .ck.usl-ck3r{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .usl-hr{width:auto;margin-top:12px;gap:10px}
  .usl-hr .lead{margin-top:0}
  .usl-hr .more-link{font-size:calc(17px*var(--fz))}
  .usl-h2s{font-size:28px/*ns*/}
  .usl-sub{margin-top:40px}
  .usl-card{gap:18px;padding:24px}
  .usl-ch{gap:12px}
  .usl-ch .circ{width:48px;height:48px}
  .usl-ch .circ .ic{width:22px;height:22px}
  .usl-q{font-size:calc(16px*var(--fz))}
  .usl-2l{display:flex;flex-direction:column;gap:28px}
  .usl-2l>div{gap:16px}
  .usl-2l .h3{font-size:19px/*ns*/}
  .ck.usl-ck3,.ck.usl-ck3r{display:flex;flex-direction:column;gap:12px}
  .usl-split{display:flex;flex-direction:column;gap:12px}
  .usl-split>.pic{min-height:260px}
  .usl-stats{flex-direction:row;flex-wrap:wrap;gap:20px 28px;padding:24px}
  .usl-stats>div{flex:1 1 140px}
  .usl-stats b{font-size:30px/*ns*/}
  .usl-stats span{font-size:calc(16px*var(--fz))}

  .usl-room{display:flex;flex-direction:column;gap:12px}
  .usl-gal{gap:8px}
  .usl-gm{aspect-ratio:4/3;border-radius:24px}
  .usl-gm>.pic::after{display:none}
  .usl-gnav{right:12px;bottom:12px}
  .usl-gnav>div{gap:6px;height:48px;padding:0 5px 0 14px}
  .usl-gnav b{min-width:36px;font-size:calc(16px*var(--fz))}
  .usl-gnav label{width:38px;height:38px}
  .usl-gnav label .ic{width:18px;height:18px}
  .usl-gt{gap:6px}
  .usl-gt>label{border-radius:12px;aspect-ratio:1}
  .usl-rc{padding:24px 20px 20px;gap:20px;border-radius:24px}
  .h1p.usl-h1{font-size:34px/*ns*/;line-height:42px}
  .usl-specs>div{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:12px 0;font-size:calc(16px*var(--fz))}
  .usl-rp .pg-price b{font-size:34px/*ns*/}
  .usl-rp .pg-price span{font-size:calc(16px*var(--fz))}
  .usl-pn{font-size:calc(16px*var(--fz))}
  .usl-rb{margin-top:16px;gap:10px}
  .usl-rb .btn{height:60px;font-size:calc(18px*var(--fz))}

  .usl-cmp{border-radius:24px}
  .usl-cr{display:flex;flex-direction:column;padding:16px 20px}
  .usl-cr>div{padding:4px 0;font-size:calc(16px*var(--fz))}
  .usl-cr>div:first-child{padding-bottom:8px;font-size:calc(18px*var(--fz));font-weight:700;color:var(--text)}
  .usl-cr>div:last-child:not(.wide){background:none}
  .usl-cr>div[data-l]::before{content:attr(data-l) ": ";font-weight:700;color:var(--text)}
  .usl-ch-h{display:none}

  .usl-ph4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .usl-ph4 .usl-gi-p,.usl-gi-p{height:auto;aspect-ratio:1;border-radius:18px}
  .usl-gi{gap:8px}
  .usl-gi-c{padding:0 2px;font-size:calc(15px*var(--fz))}
  .usl-gi-p::after{display:none}
  .usl-gi .vc-play{width:56px;height:56px;margin:-28px 0 0 -28px}

  .usl-chips{margin-top:20px}
  .usl-chips .tab{height:44px;padding:0 14px}
  .usl-gg{padding-top:40px}
  .usl-gg-h{margin-bottom:16px}
  .usl-gg-h .h3{font-size:24px/*ns*/}
  .usl-gg-h span{font-size:calc(16px*var(--fz))}
  .usl-gg-b{gap:16px}
  .usl-row,.usl-rw,.usl-rw.rev,.usl-r85,.usl-r4,.usl-r3,.usl-r2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .usl-row>.w,.usl-r3>:last-child:nth-child(odd),.usl-r4>:last-child:nth-child(odd){grid-column:1/-1}
  .usl-row>.w .usl-gi-p,.usl-r3>:last-child:nth-child(odd) .usl-gi-p,.usl-r4>:last-child:nth-child(odd) .usl-gi-p{aspect-ratio:16/10}

  .usl-tbl{padding:4px 20px;border-radius:24px}
  .usl-tr{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:16px 0;font-size:calc(16px*var(--fz))}
  .usl-tr>:first-child{grid-column:1;grid-row:1;font-size:calc(18px*var(--fz))}
  .usl-tr>:last-child{grid-column:2;grid-row:1;font-size:calc(18px*var(--fz))}
  .usl-tr>:nth-child(2){grid-column:1/-1;grid-row:2}
  .usl-th{display:none}

  .usl-day{padding:4px 20px}
  .usl-day .rows>div{flex-direction:column;gap:2px;padding:14px 0;font-size:calc(16px*var(--fz))}
  .usl-day .rows-k{flex-basis:auto;font-size:calc(17px*var(--fz))}
  .usl-docs{display:flex}

  .usl-vv{display:flex;flex-direction:column;gap:12px}
  .usl-vbtn{min-height:0;aspect-ratio:4/5;border-radius:24px}
  .usl-vbtn .vc-dur{right:16px;bottom:16px}
  .usl-vbtn .usl-vcap{left:18px;bottom:16px;font-size:calc(18px*var(--fz))}
  .usl-vv .card{gap:20px;padding:24px}
  .usl-int{padding:10px;border-radius:24px}
  .usl-int-g{gap:8px}
  .usl-int-g>.pic{border-radius:18px}
  .usl-int-b{padding:16px 8px 8px}
  .usl-int-b .h3{font-size:22px/*ns*/}

  .tgrid.usl-t4{grid-template-columns:1fr}
}

/* ===== Врачи и специалисты: список (o-centre/vrachi) и страницы врачей (o-centre/vrachi/<фамилия>) ===== */

/* --- Первый экран страницы врача: фото + карточка --- */
.vrach-hero{display:grid;grid-template-columns:40% minmax(0,1fr);gap:var(--gap);min-height:clamp(480px, calc(var(--W)*.43), 600px)}
.vrach-ph{position:relative;min-height:420px;border-radius:var(--r);overflow:hidden;background:var(--sageL)}
.vrach-ph>.ph{position:absolute;inset:0;background-position:50% 22%}
.vrach-ph>.ph-ini{font-size:clamp(96px, calc(var(--W)*.1), 150px)}
.vrach-ph.rv.in>.ph:not(.ph-ini){animation:zoomOut 1.8s var(--easeO) backwards}
.vrach-card{display:flex;flex-direction:column;justify-content:center;gap:32px;padding:clamp(32px, calc(var(--W)*.04), 56px);border-radius:var(--r);background:var(--card)}
.vrach-top{display:flex;flex-direction:column;gap:20px}
.vrach-role{font-size:calc(20px*var(--fz));line-height:1.4;font-weight:700;color:var(--green)}
.vrach-h1{font-size:clamp(38px, calc(var(--W)*.0429), 60px);line-height:1.16}
.vrach-fact{display:flex;align-items:center;gap:16px;padding:14px 24px 14px 14px;border-radius:24px;background:var(--sageL)}
.vrach-fact .circ{background:var(--card);color:var(--green)}
.vrach-fact small{display:block;font-size:calc(16px*var(--fz));line-height:1.3;color:var(--text2)}
.vrach-fact b{display:block;margin-top:2px;font-size:calc(20px*var(--fz));line-height:1.35}
/* строки цен: название слева, цена строго напротив; если не помещается (и на мобильном) — цена под названием */
.vrach-pr>div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 24px;padding:18px 0;border-bottom:1px solid var(--line);font-size:calc(20px*var(--fz));line-height:1.4}
.vrach-pr>div:first-child{border-top:1px solid var(--line)}
.vrach-pr b{font-weight:700}

/* --- Направления работы: 4 карточки в ряд (3 — стандартная .tgrid) --- */
.tgrid.vrach-t4{grid-template-columns:repeat(4,minmax(0,1fr))}
.vrach-t4 .tile-ph>.ph{aspect-ratio:3/2}
.vrach-t3 .tile-ph>.ph{aspect-ratio:16/9}

/* --- Чем занимается / сертификаты --- */
.vrach-about1{padding:40px 48px}
.vrach-about1 .ck.cols{gap:18px 48px}
.vrach-about .card.sageL{padding:40px 48px}
.vrach-ct{display:flex;align-items:center;gap:16px}
.vrach-ct .circ{background:var(--sageL);color:var(--green)}
.vrach-certs li{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);font-size:calc(20px*var(--fz));line-height:1.4}
.vrach-certs li:last-child{border-bottom:0;padding-bottom:0}
.vrach-certs .ic{width:24px;height:24px;color:var(--green)}

/* --- Отзыв о враче --- */
.vrach-rev .rcard p{max-width:900px}

/* --- Запись к врачу --- */
/* заголовок — отдельной строкой над полями, чтобы поля не обрезали длинные названия услуг */
.booking.vrach-book .form{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) auto}
.vrach-book .fld select{font-size:calc(18px*var(--fz))}
.vrach-bk-h{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 24px;margin-bottom:4px}
.vrach-bk-h p{font-size:calc(18px*var(--fz));line-height:1.4;color:var(--onDeep2)}
.vrach-book .fld input[type=date]{padding:0 16px 0 20px}

/* --- Список врачей: фильтр и сетка --- */
.vrach-list{padding-top:clamp(64px, calc(var(--W)*.069), 96px)}
.vrach-tabs{margin-bottom:clamp(24px, calc(var(--W)*.023), 32px)}
.vrach-tabs .tab{height:50px;padding:0 20px;font-size:calc(17px*var(--fz))}
.vrach-team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.vrach-team .doc>.ph{height:clamp(240px, calc(var(--W)*.243), 340px)}
.vrach-cta{grid-column:span 3;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:48px}
.vrach-cta .txt2{max-width:720px}
.vrach-team:has(.doc.is-hidden) .vrach-cta{grid-column:1/-1}

/* --- Версия для слабовидящих: крупный шрифт --- */
html.fs-2 .tgrid.vrach-t4,html.fs-3 .tgrid.vrach-t4{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fs-3 .vrach-hero{grid-template-columns:minmax(0,1fr)}
html.fs-3 .vrach-team{grid-template-columns:repeat(3,minmax(0,1fr))}
html.fs-3 .vrach-cta{grid-column:span 2}
html.fs-3 .booking.vrach-book .form{grid-template-columns:repeat(2,minmax(0,1fr))}
html.a11y .vrach-pr b{white-space:normal}

@media (max-width:1279px){
  .tgrid.vrach-t4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vrach-team{grid-template-columns:repeat(3,minmax(0,1fr))}
  .vrach-cta{grid-column:span 2;padding:40px}
  .booking.vrach-book .form{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1023px){
  .vrach-hero{display:flex;flex-direction:column;gap:12px;min-height:0}
  .vrach-ph{min-height:0;height:360px;border-radius:24px}
  .vrach-ph>.ph-ini{font-size:96px/*ns*/}
  .vrach-card{gap:24px;padding:24px;border-radius:24px}
  .vrach-top{gap:14px}
  .vrach-role{font-size:calc(16px*var(--fz))}
  .vrach-h1{font-size:34px/*ns*/;line-height:42px}
  .vrach-fact{gap:12px;padding:12px 16px 12px 12px;border-radius:18px}
  .vrach-fact .circ{width:44px;height:44px}
  .vrach-fact small{font-size:calc(15px*var(--fz))}
  .vrach-fact b{font-size:calc(17px*var(--fz))}
  .vrach-pr>div{flex-direction:column;align-items:flex-start;gap:4px;padding:14px 0;font-size:calc(17px*var(--fz))}
  .tgrid.vrach-t4{grid-template-columns:minmax(0,1fr)}
  .vrach-t4 .tile-ph>.ph,.vrach-t3 .tile-ph>.ph{aspect-ratio:16/9}
  .vrach-about1,.vrach-about .card.sageL{padding:24px}
  .vrach-certs li{padding:12px 0;font-size:calc(17px*var(--fz))}
  .vrach-list{padding-top:48px}
  .vrach-tabs .tab{height:44px;padding:0 16px;font-size:calc(16px*var(--fz))}
  .vrach-team{gap:12px}
  .vrach-team .doc>.ph{height:240px;border-radius:20px}
  .vrach-cta{gap:24px;padding:24px}
  .vrach-bk-h{display:block;margin-bottom:0}
  .vrach-bk-h p{margin-top:6px;font-size:calc(16px*var(--fz))}
  .vrach-book .fld select{padding:0 40px 0 16px;background-position:right 14px center;font-size:calc(16px*var(--fz))}
}
@media (max-width:599px){
  .vrach-team{display:flex;flex-direction:column}
  .vrach-team .doc{flex:none;flex-direction:row;align-items:center;padding:10px;border-radius:24px}
  .vrach-team .doc>.ph{flex:none;width:104px;height:124px;border-radius:16px}
  .vrach-team .doc>.ph-ini{font-size:34px/*ns*/}
  .vrach-team .doc-b{padding:6px 8px 6px 16px}
  .vrach-team .doc-b b{font-size:calc(18px*var(--fz))}
  .vrach-team .doc-b span{font-size:calc(16px*var(--fz))}
}

/* контрастные схемы версии для слабовидящих: у белых карточек на белом фоне — рамка */
html[class*="sc-"] :is(.vrach-card,.vrach-ph,.vrach-fact,.vrach-team .doc){box-shadow:inset 0 0 0 2px var(--text)}

/* ===== Фото ===== */
.ph-barokamera{background-image:url(../img/barokamera.webp)}
.ph-bld_garden{background-image:url(../img/bld_garden.webp)}
.ph-bld_staff{background-image:url(../img/bld_staff.webp)}
.ph-bld_sunny{background-image:url(../img/bld_sunny.webp)}
.ph-corridor{background-image:url(../img/corridor.webp)}
.ph-doc_filatova{background-image:url(../img/doc_filatova.webp)}
.ph-doc_gudkov{background-image:url(../img/doc_gudkov.webp)}
.ph-doc_kamalov{background-image:url(../img/doc_kamalov.webp)}
.ph-doc_kazyutina{background-image:url(../img/doc_kazyutina.webp)}
.ph-doc_kozyaykin{background-image:url(../img/doc_kozyaykin.webp)}
.ph-doc_kuzmina{background-image:url(../img/doc_kuzmina.webp)}
.ph-eeg{background-image:url(../img/eeg.webp)}
.ph-exercise{background-image:url(../img/exercise.webp)}
.ph-food{background-image:url(../img/food.webp)}
.ph-group_out{background-image:url(../img/group_out.webp)}
.ph-hair{background-image:url(../img/hair.webp)}
.ph-hero_nurse{background-image:url(../img/hero_nurse.webp)}
.ph-kitchen{background-image:url(../img/kitchen.webp)}
.ph-lfk_bars{background-image:url(../img/lfk_bars.webp)}
.ph-lfk_hall{background-image:url(../img/lfk_hall.webp)}
.ph-lounge{background-image:url(../img/lounge.webp)}
.ph-massage{background-image:url(../img/massage.webp)}
.ph-massage_foot{background-image:url(../img/massage_foot.webp)}
.ph-massage_sh{background-image:url(../img/massage_sh.webp)}
.ph-motor{background-image:url(../img/motor.webp)}
.ph-room2{background-image:url(../img/room2.webp)}
.ph-room2b{background-image:url(../img/room2b.webp)}
.ph-room2c{background-image:url(../img/room2c.webp)}
.ph-room3{background-image:url(../img/room3.webp)}
.ph-room3b{background-image:url(../img/room3b.webp)}
.ph-trainer{background-image:url(../img/trainer.webp)}
.ph-vid_360{background-image:url(../img/vid_360.webp)}
.ph-vid_dir{background-image:url(../img/vid_dir.webp)}
.ph-vid_vip{background-image:url(../img/vid_vip.webp)}
.ph-vip_b1{background-image:url(../img/vip_b1.webp)}
.ph-vip_b2{background-image:url(../img/vip_b2.webp)}
.ph-vip_b3{background-image:url(../img/vip_b3.webp)}
.ph-vip_bath{background-image:url(../img/vip_bath.webp)}
.ph-vip_w1{background-image:url(../img/vip_w1.webp)}
.ph-vip_w2{background-image:url(../img/vip_w2.webp)}
.ph-walk_path{background-image:url(../img/walk_path.webp)}
.ph-walker{background-image:url(../img/walker.webp)}


/* Правка: узкие телефоны 320–420 px — ничего не выходит за край */
@media (max-width:1023px){.with-col>*,.col-one,.col-wide,.col-pair{min-width:0;max-width:100%}}
@media (max-width:420px){
  .h1{font-size:clamp(28px,8.4vw,38px);line-height:1.16}
  .col-wide .sq-phone>b{font-size:clamp(20px,6.4vw,28px);line-height:1.2}
  .req-or .nowrap{font-size:clamp(20px,7vw,32px)}
  .nums .num{min-width:0}
  .num,.num+.num{grid-template-columns:96px minmax(0,1fr)}
  .team-card--m{gap:10px;padding:14px}
  .team-card--m .team-txt{min-width:0}
  .team-card--m .avs>.ph{width:34px;height:34px;margin-left:-12px}
  .team-card--m .circ{width:40px;height:40px;flex:none}
  .cts .ct-msg,.mm-bot .ct-msg{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ===== Улучшения: телефон в шапке, акцент заголовков, без проявления блоков, мессенджеры у формы ===== */
.hdr-cta-ic{display:none;width:22px;height:22px}
@media (min-width:1024px){.hdr-cta{align-items:center;justify-content:center;gap:8px}}
@media (min-width:1280px){
  .hdr.is-stuck .hdr-phone{display:inline-flex;margin-right:6px;font-size:calc(19px*var(--fz))}
  .hdr.is-stuck .hdr-cta{width:56px;padding:0}
  .hdr.is-stuck .hdr-cta-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hdr.is-stuck .hdr-cta-ic{display:block}
  html.a11y .hdr.is-stuck .hdr-phone{display:none}
  .hdr.is-stuck .hdr-cta{display:inline-flex}
}
@media (min-width:1280px) and (max-width:1399px){
  .hdr.is-stuck .nav-a{padding:0 3px}
  .hdr.is-stuck .hdr-phone{font-size:calc(17px*var(--fz))}
  .hdr.is-stuck .hdr-phone .ic{display:none}
}
.sec-head .h2::before{content:"";display:block;width:44px;height:5px;margin-bottom:22px;border-radius:3px;background:var(--green)}
.on-dark.h2::before,.req .h2::before{content:"";display:block;width:44px;height:5px;margin-bottom:22px;border-radius:3px;background:var(--amber)}
@media (max-width:1023px){.sec-head .h2::before,.req .h2::before{width:36px;height:4px;margin-bottom:14px}}
.rv,.rv:not(.in),.rv.in{opacity:1!important;animation:none!important}
.req-msg{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:24px}
.req-msg>span{width:100%;font-size:calc(17px*var(--fz));color:var(--onDeep2,rgba(255,255,255,.75))}
.req-msg a{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);color:#fff;font-size:calc(17px*var(--fz));font-weight:700;transition:background .2s}
.req-msg a:hover{background:rgba(255,255,255,.12)}
.req-msg svg{width:20px;height:20px}
.fld-sel i{font-style:normal;font-weight:400;opacity:.75}
.fld select{width:100%;height:72px;padding:0 52px 0 24px;border:2px solid transparent;border-radius:20px;background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E3D2E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 22px center;color:var(--text);font:inherit;font-size:calc(20px*var(--fz));-webkit-appearance:none;appearance:none;cursor:pointer}
.fld select:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 5px rgba(243,165,58,.28)}
.form-light .fld select{border-color:var(--line)}
@media (max-width:1023px){
  .req-msg{order:5;margin-top:16px}
  .req-msg a{height:44px;padding:0 14px;font-size:calc(16px*var(--fz))}
  .fld select{height:60px;font-size:calc(18px*var(--fz))}
}
@media (max-width:360px){.req-msg a{padding:0 12px;gap:6px}.diag-dr-pr>div{gap:12px}.diag-dr-pr b{white-space:normal;text-align:right}.ceny-cmp-r>*{padding-inline:6px;font-size:calc(15px*var(--fz))}.ceny-cmp-r .nowrap{white-space:normal}}
html[class*="sc-"] .req-msg a{box-shadow:inset 0 0 0 2px currentColor}
/* Первый экран: временное фото (заменить на реальное) */
.ph-hero_care{background-image:url(../img/hero_care.webp)}
.hero .ph-hero_care{background-size:cover;background-position:50% 30%}
@media (max-width:1023px){.hero .ph-hero_care{background-size:cover;background-position:58% 50%}}

/* ===== Первый экран, вариант А ===== */
.va{margin-top:20px}
.va .ic{width:22px;height:22px;flex:none}
.va-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:stretch}
.vx-eyebrow{margin:0;font-size:calc(18px*var(--fz));font-weight:700;color:var(--green)}
.vx-h1{margin:10px 0 0;font-weight:500;font-size:clamp(38px,3.7vw,54px);letter-spacing:-.03em;line-height:1.06}
.vx-sub{margin:14px 0 0;max-width:560px;font-size:calc(19px*var(--fz));line-height:1.5;color:var(--text2)}
.vx-ticks{display:grid;gap:8px;margin:20px 0 0;padding:0;list-style:none}
.vx-ticks li{display:flex;align-items:center;gap:12px;font-size:calc(19px*var(--fz));font-weight:600}
.vx-ticks a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.vx-ticks .ck{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--sageL);color:var(--green)}
.vx-ticks .ck .ic{width:16px;height:16px}
.vx-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:22px}
.vx-price b{font-size:40px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.vx-price span{font-size:calc(17px*var(--fz));color:var(--text2)}
.vx-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.vx-btns .btn{height:64px;padding:0 30px}
.va-r{position:relative;min-height:520px;border-radius:40px;overflow:hidden;background:var(--sageL)}
.va-r>.ph{position:absolute;inset:0;background-size:cover;background-position:62% 40%}
.va-rate,.va-team{position:absolute;left:20px;display:flex;align-items:center;background:#fff;color:var(--text);box-shadow:0 10px 30px -14px rgba(0,0,0,.35);transition:transform .2s}
.va-rate:hover,.va-team:hover{transform:translateY(-2px)}
.va-rate{top:20px;gap:8px;padding:10px 18px;border-radius:999px;font-size:calc(17px*var(--fz));font-weight:700}
.va-rate .star{color:#F2A33A}
.va-rate small{font-size:calc(16px*var(--fz));font-weight:500;color:var(--text2)}
.va-team{bottom:20px;gap:14px;padding:12px 20px 12px 12px;border-radius:24px}
.vx-avs{display:flex}
.vx-avs .ph{width:44px;height:44px;margin-left:-12px;border:3px solid #fff;border-radius:50%}
.vx-avs .ph:first-child{margin-left:0}
.va-team b{display:block;font-size:calc(18px*var(--fz))}
.va-team small{font-size:calc(16px*var(--fz));font-weight:700;color:var(--green)}
@media (min-width:1024px) and (max-height:880px){
  .vx-h1{font-size:clamp(34px,3.3vw,46px)}
  .vx-sub{margin-top:10px;font-size:calc(17px*var(--fz))}
  .vx-ticks{margin-top:14px;gap:6px}
  .vx-ticks li{font-size:calc(18px*var(--fz))}
  .vx-price{margin-top:14px}
  .vx-price b{font-size:34px}
  .vx-btns{margin-top:14px}
  .vx-btns .btn{height:56px}
  .va-r{min-height:440px}
}
@media (min-width:1024px) and (max-height:700px){.vx-sub{display:none}}
@media (min-width:1024px) and (max-width:1279px){.va-g{gap:32px}.vx-btns .btn{padding:0 22px;font-size:calc(18px*var(--fz))}}
@media (max-width:1023px){
  .va-g{display:flex;flex-direction:column;gap:0}
  .va-l{display:contents}
  .vx-eyebrow{order:1;font-size:calc(16px*var(--fz))}
  .vx-h1{order:2;font-size:34px}
  .vx-sub{order:3;margin-top:12px;font-size:calc(18px*var(--fz))}
  .va-r{order:4;min-height:0;height:260px;margin-top:20px;border-radius:28px}
  .vx-ticks{order:5}.vx-price{order:6}.vx-btns{order:7}
  .va-team{display:none}
  .va-rate{left:12px;top:12px;padding:8px 14px;font-size:calc(15px*var(--fz))}
  .va-rate small{font-size:calc(14px*var(--fz))}
  .vx-ticks li{font-size:calc(17px*var(--fz))}
  .vx-price b{font-size:32px}
  .vx-price span{font-size:calc(16px*var(--fz))}
  .vx-btns{flex-direction:column}
  .vx-btns .btn{width:100%;height:58px;font-size:calc(18px*var(--fz))}
}
@media (max-width:360px){.vx-h1{font-size:30px}.va-r{height:220px}}
html.fs-2 .va-g,html.fs-3 .va-g{grid-template-columns:1fr}
html[class*="sc-"] .va-rate,html[class*="sc-"] .va-team{box-shadow:inset 0 0 0 2px var(--text)}

/* Главная: 4 плитки направлений вместо 7 */
@media (min-width:1024px){#nav-tiles .t-proc,#nav-tiles .t-cond{grid-column:span 3;aspect-ratio:688/600}#nav-tiles .t-proc .plate span,#nav-tiles .t-cond .plate span{display:block}}
#home-steps .sec-head .ext,#reviews .sec-head .ext{flex-wrap:wrap;max-width:100%}
#home-steps .pill-link{white-space:normal;max-width:100%;height:auto;min-height:44px;padding-block:8px;text-align:left}

/* ===== Главная: «Как поступить» — линия шагов ===== */
.hs{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;margin:0;padding:48px 44px 44px;list-style:none;border-radius:var(--r);background:var(--card)}
.hs-i{position:relative}
.hs-i:not(:last-child)::after{content:"";position:absolute;top:35px;left:88px;right:-14px;height:2px;background:repeating-linear-gradient(90deg,var(--green) 0 8px,transparent 8px 16px);opacity:.45}
.hs-dot{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--sageL);color:var(--green);box-shadow:0 0 0 8px var(--card)}
.hs-dot .ic{width:30px;height:30px}
.hs-dot--last{background:var(--amber);color:var(--deep)}
.hs-n{display:block;margin-top:24px;font-size:calc(15px*var(--fz));font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green)}
.hs-t b{display:block;margin-top:6px;font-size:calc(22px*var(--fz));line-height:1.25;font-weight:600}
.hs-t p{margin:10px 0 0;font-size:calc(17px*var(--fz));line-height:1.5;color:var(--text2)}
.hs-note{display:flex;align-items:center;gap:24px;margin-top:16px;padding:24px 28px;border-radius:28px;background:var(--deep);color:#fff}
.hs-note-ic{display:grid;place-items:center;flex:none;width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.1);color:var(--amber)}
.hs-note-ic .ic{width:28px;height:28px}
.hs-note p{flex:1;margin:0;font-size:calc(18px*var(--fz));line-height:1.5;color:rgba(255,255,255,.85)}
.hs-note b{color:#fff}
.hs-note .btn{flex:none}
.hs-note .btn .ic{width:22px;height:22px}
@media (min-width:1024px) and (max-width:1279px){.hs{gap:20px;padding:40px 28px}.hs-t b{font-size:calc(19px*var(--fz))}.hs-t p{font-size:calc(16px*var(--fz))}.hs-i:not(:last-child)::after{right:-10px}}
@media (max-width:1023px){
  .hs{grid-template-columns:1fr;gap:0;padding:24px 20px;border-radius:28px}
  .hs-i{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:16px;padding-bottom:24px}
  .hs-i:last-child{padding-bottom:0}
  .hs-i:not(:last-child)::after{top:60px;bottom:6px;left:25px;right:auto;width:2px;height:auto;background:repeating-linear-gradient(180deg,var(--green) 0 6px,transparent 6px 12px)}
  .hs-dot{width:52px;height:52px;box-shadow:none}
  .hs-dot .ic{width:24px;height:24px}
  .hs-n{margin-top:2px;font-size:calc(14px*var(--fz))}
  .hs-t b{margin-top:2px;font-size:calc(19px*var(--fz))}
  .hs-t p{margin-top:6px;font-size:calc(16px*var(--fz))}
  .hs-note{flex-direction:column;align-items:flex-start;gap:16px;padding:22px 20px;border-radius:24px}
  .hs-note-ic{width:48px;height:48px}
  .hs-note p{font-size:calc(16px*var(--fz))}
  .hs-note .btn{width:100%;height:56px}
}
html.fs-3 .hs{grid-template-columns:1fr}
html[class*="sc-"] .hs,html[class*="sc-"] .hs-note{box-shadow:inset 0 0 0 2px var(--text)}

/* ===== Главная: «Не просто пансионат» ===== */
.st{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;align-items:center;padding:56px 64px;border-radius:var(--r);background:var(--deep);color:#fff}
.st .h2::before{display:none}
.st-h{font-size:clamp(34px,3vw,46px);line-height:1.12}
.st-p{margin:20px 0 0;max-width:520px;font-size:calc(20px*var(--fz));line-height:1.5;color:rgba(255,255,255,.82)}
.st-link{display:inline-flex;align-items:center;gap:10px;margin-top:28px;height:56px;padding:0 24px;border-radius:999px;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45);color:#fff;font-weight:700;font-size:calc(18px*var(--fz));transition:background .2s}
.st-link:hover{background:rgba(255,255,255,.1)}
.st-link .ic{width:20px;height:20px}
.st-r{display:grid;gap:0;margin:0;padding:0;list-style:none}
.st-r li{display:grid;grid-template-columns:56px 150px minmax(0,1fr);align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.st-r li:first-child{padding-top:0}.st-r li:last-child{padding-bottom:0;border-bottom:0}
.st-ic{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.1);color:var(--amber)}
.st-ic .ic{width:26px;height:26px}
.st-r b{font-size:clamp(40px,3.6vw,52px);line-height:1;font-weight:500;letter-spacing:-.03em;color:var(--amber);white-space:nowrap}
.st-r li>span:last-child{font-size:calc(18px*var(--fz));line-height:1.4;color:rgba(255,255,255,.85)}
@media (min-width:1024px) and (max-width:1279px){.st{gap:36px;padding:44px 40px}.st-r li{grid-template-columns:48px 120px minmax(0,1fr);gap:14px}.st-ic{width:48px;height:48px}}
@media (max-width:1023px){
  .st{grid-template-columns:1fr;gap:28px;padding:28px 20px;border-radius:28px}
  .st-h{font-size:30px}
  .st-p{margin-top:12px;font-size:calc(17px*var(--fz))}
  .st-link{width:100%;justify-content:space-between;margin-top:20px;height:52px;padding:0 20px;font-size:calc(16px*var(--fz))}
  .st-r li{grid-template-columns:44px 96px minmax(0,1fr);gap:12px;padding:16px 0}
  .st-ic{width:44px;height:44px}.st-ic .ic{width:22px;height:22px}
  .st-r b{font-size:34px}
  .st-r li>span:last-child{font-size:calc(16px*var(--fz))}
}
@media (max-width:360px){.st-r li{grid-template-columns:40px 84px minmax(0,1fr);gap:10px}.st-r b{font-size:30px}}
html.fs-3 .st{grid-template-columns:1fr}
html[class*="sc-"] .st{box-shadow:inset 0 0 0 2px var(--text)}
html[class*="sc-"] .st-r b{color:#fff}
/* ===== Облегчённый масштаб страницы ===== */
@media (min-width:1024px){
  :root{--h2:clamp(32px,3.05vw,44px);--r:32px}
  .sec{padding-top:clamp(56px,7vw,100px)}
  .sec-head{margin-bottom:clamp(20px,2.8vw,40px)}
  .lead{font-size:calc(18px*var(--fz));line-height:28px}
  .btn{height:56px;padding:0 28px;font-size:calc(18px*var(--fz))}
  .vx-btns .btn{height:56px}
  /* С чем вам помочь — 4 плитки в ряд */
  #nav-tiles .bento{grid-template-columns:repeat(4,minmax(0,1fr))}
  #nav-tiles .bento>.tile{grid-column:span 1!important;aspect-ratio:auto!important}
  #nav-tiles .tile-ph>.ph{aspect-ratio:4/3}
  #nav-tiles .plate b{font-size:calc(21px*var(--fz))!important}
  #nav-tiles .t-proc .plate span,#nav-tiles .t-cond .plate span{display:block}
  /* Фото центра — один ряд */
  #gallery .gal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) var(--col);gap:var(--gap)}
  #gallery .gal-row{display:contents}
  #gallery .gi{height:340px;aspect-ratio:auto}
  #gallery .gi .plate span{display:none}
  #gallery .gi .plate b{font-size:calc(20px*var(--fz))}
  #gallery .col-pair{display:flex;flex-direction:column;gap:var(--gap);height:340px}
  #gallery .col-pair .sq{flex:1;aspect-ratio:auto;min-height:0}
  #gallery .col-pair .sq small{display:none}
  #reviews .col-pair .sq{aspect-ratio:auto;min-height:0}
  /* Цены — строки ниже */
  .prow{min-height:80px}
  .prow-h{min-height:44px}
  /* Отзывы — карточка ниже, цитата мельче */
  .rv-card{min-height:300px;padding:40px 52px 36px}
  .rv-slide blockquote{font-size:calc(clamp(21px,1.8vw,26px)*var(--fz))}
  /* Форма */
  .req{padding:48px 56px}
  .req-or a{font-size:calc(34px*var(--fz));line-height:42px}
  /* Не просто пансионат — светлая версия */
  .st{padding:40px 52px;background:var(--sageL);color:var(--text)}
  .st .h2.on-dark{color:var(--text)}
  .st-h{font-size:clamp(28px,2.4vw,36px)}
  .st-p{font-size:calc(18px*var(--fz));color:var(--text2)}
  .st-link{height:50px;color:var(--text);box-shadow:inset 0 0 0 1.5px var(--text)}
  .st-link:hover{background:#fff}
  .st-r li{grid-template-columns:44px 110px minmax(0,1fr);padding:16px 0;border-bottom-color:rgba(30,61,46,.12)}
  .st-ic{width:44px;height:44px;background:#fff;color:var(--green)}
  .st-ic .ic{width:22px;height:22px}
  .st-r b{font-size:clamp(30px,2.6vw,38px);color:var(--green)}
  .st-r li>span:last-child{font-size:calc(17px*var(--fz));color:var(--text2)}
  /* Шаги */
  .hs{padding:40px 40px 36px}
  .hs-dot{width:60px;height:60px}.hs-dot .ic{width:26px;height:26px}
  .hs-i:not(:last-child)::after{top:29px;left:76px}
  .hs-t b{font-size:calc(20px*var(--fz))}
}
@media (max-width:1023px){
  .sec{padding-top:56px}
  .h2{font-size:28px;line-height:34px}
  .st{background:var(--sageL);color:var(--text)}
  .st .h2.on-dark{color:var(--text)}
  .st-p{color:var(--text2)}
  .st-link{color:var(--text);box-shadow:inset 0 0 0 1.5px var(--text)}
  .st-ic{background:#fff;color:var(--green)}
  .st-r li{border-bottom-color:rgba(30,61,46,.12)}
  .st-r b{font-size:28px;color:var(--green)}
  .st-r li>span:last-child{color:var(--text2)}
}
/* ===== Цвета: зелёный ближе к логотипу, оранжевый только для действий ===== */
:root{--green:#237A45;--bg:#F3F0E8;--line:#DAD5C9}
body{background:var(--bg)}
/* карточки отделены от фона тонкой обводкой */
.tile,.doc,.vcard,.fq,.cts-card,.hs,.prow-card,.icard,.card:not(.sage):not(.sageL),.sq:not(.sq-dark),.va-team,.va-rate,.room,.pl-r,.step{box-shadow:0 0 0 1px rgba(30,61,46,.07)}
/* оранжевый — только кнопки, воспроизведение и звёзды; декоративные акценты — зелёные */
.hs-dot--last{background:var(--green);color:#fff}
.req .h2::before,.on-dark.h2::before{background:var(--sage)}
.pans-disc b,.reab-disc b,.ocen-band>.circ{color:var(--sage)}
.proc-facts>div:first-child b,.ceny-disc .promo-big,.stat-quote{color:var(--green)}
.ceny-vbtn .circ{background:var(--green);color:#fff}
/* подсказки в полях темнее */
.fld input::placeholder,.fld textarea::placeholder{color:#6B726D}
/* Revision 2026-11-24: shared scale, shorter first screens and clear pricing. */
:root{--ui-h1:clamp(36px,3.3vw,48px);--ui-h2:clamp(28px,2.65vw,38px);--ui-gap:24px}
.page h1.h1p,.page h1.vx-h1{font-size:calc(var(--ui-h1)*var(--fz));line-height:1.12;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:break-word}
.page .h2{font-size:calc(var(--ui-h2)*var(--fz));line-height:1.18;text-wrap:balance}
.page .h3{font-size:calc(24px*var(--fz));line-height:1.25;text-wrap:balance}
.page .sec{padding-top:64px}
.page .sec-head{margin-bottom:24px;gap:28px}
.page .sec-head .h2::before{height:3px;width:32px;margin-bottom:14px}
.page .lead{font-size:calc(18px*var(--fz));line-height:1.5;max-width:44ch}
.page .pg-hero{padding-top:24px}
.page .crumbs{margin-bottom:24px;font-size:calc(16px*var(--fz));gap:6px 10px}
.page .pg-hero-row{min-height:0;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:32px}
.page .pg-hero-text{justify-content:flex-start;gap:20px;min-width:0}
.page .pg-lead{margin-top:16px;font-size:calc(18px*var(--fz));line-height:1.5;max-width:58ch;text-wrap:pretty}
.page .pg-note{margin-top:12px;font-size:calc(16px*var(--fz));line-height:1.5}
.page .pg-price{margin-bottom:16px;gap:10px 16px;flex-wrap:wrap;align-items:baseline}
.page .pg-price b{font-size:calc(34px*var(--fz));letter-spacing:-.025em;line-height:1.15}
.page .pg-price span{font-size:calc(16px*var(--fz));line-height:1.4;max-width:300px}
.page .pg-pts{margin-top:0;gap:10px 24px}
.page .pg-pts li{font-size:calc(17px*var(--fz));line-height:1.45}
.page .pg-hero-row>.pvis{min-height:360px}
.page .pv-bl{padding:18px 24px 4px 24px}
.page .pv-bl b{font-size:calc(32px*var(--fz));line-height:1.12}
.page .pv-bl span{font-size:calc(16px*var(--fz));line-height:1.4}
.page .btn-row{gap:10px}
.page .btn-row .btn,.page .vx-btns .btn{height:auto;min-height:54px;padding:14px 22px;font-size:calc(17px*var(--fz));line-height:1.3}
.page .va-g{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:32px}
.page .va-r{min-height:420px;border-radius:32px}
.page .vx-eyebrow{font-size:calc(16px*var(--fz))}
.page .vx-sub{display:block;margin-top:14px;font-size:calc(18px*var(--fz));line-height:1.5}
.page .vx-price{margin-top:18px;gap:4px 14px}
.page .vx-price b{font-size:calc(34px*var(--fz));line-height:1.2}
.page .vx-price span{font-size:calc(16px*var(--fz));line-height:1.4}
.page .vx-btns{margin-top:16px;gap:10px}
.page .vx-ticks{margin-top:20px;gap:8px}
.page .vx-ticks li{font-size:calc(17px*var(--fz));line-height:1.4}
.page .quick-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;padding-block:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.quick-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:999px;background:var(--card);font-size:calc(16px*var(--fz));font-weight:600;line-height:1.35;box-shadow:inset 0 0 0 1px var(--line)}
.quick-nav a:hover{color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.page [id]{scroll-margin-top:104px}
.page .card,.page .prog,.page .icard{padding:28px}
.page .reab-tbl{padding:8px 28px}
.page .reab-tr{padding:18px 0;gap:24px;grid-template-columns:26% minmax(0,1fr) 210px}
.page .reab-tr>b{font-size:calc(19px*var(--fz))}
.page .reab-tr>span{font-size:calc(17px*var(--fz))}
.page .reab-pv{padding:24px 28px}
.page .reab-pr{padding:18px 0;gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 130px}
.page .reab-pr>b{font-size:calc(18px*var(--fz))}
.page .reab-subh{margin:40px 0 24px}
.page .req{padding:36px 40px;gap:40px}
.page .req .h2{font-size:calc(32px*var(--fz))}
.page .req-t{font-size:calc(18px*var(--fz));line-height:1.5}
.page .form .btn{height:auto;min-height:56px;padding:14px 20px}
.price-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.price-choice{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:24px;background:var(--card);border-radius:24px;border:1px solid var(--line);transition:border-color .2s,transform .2s}
a.price-choice:hover{border-color:var(--green);transform:translateY(-2px)}
.price-choice .pc-label{font-size:calc(16px*var(--fz));font-weight:600;color:var(--green);line-height:1.4}
.price-choice .pc-price{font-size:calc(30px*var(--fz));font-weight:700;line-height:1.12;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.price-choice .pc-unit{display:block;margin-top:4px;font-size:calc(16px*var(--fz));font-weight:400;letter-spacing:0;color:var(--text2);line-height:1.4}
.price-choice p{font-size:calc(17px*var(--fz));line-height:1.5;color:var(--text2)}
.page .pg-pts li,.price-choice p,.page #nav-tiles .plate{hyphens:none;-webkit-hyphens:none}
.price-choice .pc-link{margin-top:auto;padding-top:8px;font-size:calc(16px*var(--fz));font-weight:600;color:var(--green)}
.price-explain{margin-top:16px;padding:20px 24px;border-left:3px solid var(--green);background:var(--sageL);border-radius:0 16px 16px 0;font-size:calc(17px*var(--fz));line-height:1.5;color:var(--text)}
.price-explain p+p{margin-top:8px}
.price-explain a{text-decoration:underline;text-underline-offset:3px}
.price-subhead{margin:24px 0 8px;font-size:calc(18px*var(--fz));font-weight:600;color:var(--green);line-height:1.4}
.page[data-page="ceny"] .pg-hero-row.no-photo{grid-template-columns:1fr}
.page[data-page="ceny"] .pg-hero-text{gap:0}
.page[data-page="ceny"] .pg-lead{max-width:75ch}
.page[data-page="ceny"] .price-overview{margin-top:24px}
.page[data-page="ceny"] .price-choice{padding:20px}
.page[data-page="ceny"] .price-choice .pc-price{font-size:calc(28px*var(--fz))}
.page[data-page="ceny"] .a-bar{margin-top:24px;gap:16px}
.page[data-page="ceny"] .a-living{padding-top:40px}
.price-help{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:24px 28px;background:var(--deep);color:#fff;border-radius:24px}
.price-help p{margin-top:6px;max-width:64ch;color:var(--onDeep2);font-size:calc(17px*var(--fz));line-height:1.45}
.price-help .btn{flex:none}
.page .price-proof{margin-top:10px;font-size:calc(16px*var(--fz));line-height:1.5;color:var(--text2)}
.page .price-proof a{text-decoration:underline;text-underline-offset:3px}
.page .form-ok{gap:12px;line-height:1.5;text-align:center}
.page .form-ok a,.modal .form-ok a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
@media(min-width:1024px){
 .topbar{height:48px;margin-top:0;font-size:calc(16px*var(--fz));gap:10px}
 .topbar .soc{width:36px;height:36px}
 .hdr{top:8px}
 .hdr-in,.hdr.is-stuck .hdr-in{height:76px;padding:0 10px 0 18px;gap:10px}
 .hdr .logo-img{width:50px;height:48px}
 .hdr .btn{min-height:48px;height:auto;padding:11px 20px;font-size:calc(16px*var(--fz));line-height:1.25}
 .nav>ul{gap:4px}.nav-a{font-size:calc(16px*var(--fz));padding:0 6px}
 .drop{top:calc(100% + 14px)}.drop::before{top:-16px;height:16px}
 .va{margin-top:24px}
 .page .hs{padding:28px;gap:20px}
 .page .hs-dot{width:48px;height:48px}.page .hs-dot .ic{width:22px;height:22px}
 .page .hs-i:not(:last-child)::after{top:23px;left:64px}
 .page .hs-n{margin-top:16px}.page .hs-t b{font-size:calc(18px*var(--fz))}
 .page .st{padding:32px 36px}.page .st-h{font-size:calc(30px*var(--fz))}
 .page .reab-docs .doc>.ph{height:260px}
}
@media(max-width:1023px){
 :root{--ui-h1:32px;--ui-h2:28px}
 .page .sec{padding-top:40px}
 .page .sec-head{gap:12px;margin-bottom:20px}
 .page .lead{width:100%;font-size:calc(17px*var(--fz));line-height:1.5}
 .page .pg-hero{padding-top:20px}
 .page .crumbs{font-size:calc(14px*var(--fz));margin-bottom:18px;gap:4px 8px}
 .page .pg-hero-row{display:flex;gap:20px}
 .page .pg-hero-text{gap:18px}
 .page .pg-lead{font-size:calc(17px*var(--fz));margin-top:12px}
 .page .pg-price{margin-bottom:12px;gap:4px 12px}
 .page .pg-price b{font-size:calc(30px*var(--fz))}
 .page .pg-price span{max-width:100%}
 .page .pg-pts{gap:10px;display:grid;grid-template-columns:1fr}
 .page .pg-pts li{font-size:calc(16px*var(--fz));line-height:1.45}
 .page .pg-hero-row>.pvis{min-height:260px}
 .page .pv-bl b{font-size:calc(26px*var(--fz))}
 .page .pv-bl{padding:12px 18px 2px}
 .page .pv-bl span{font-size:calc(15px*var(--fz))}
 .page .va-g{gap:0}
 .page .vx-price{order:4;margin-top:16px}
 .page .vx-btns{order:5;margin-top:14px}
 .page .vx-ticks{order:6;margin-top:18px;gap:6px}
 .page .va-r{order:7;height:220px;min-height:220px;margin-top:20px;border-radius:24px}
 .page .vx-sub{font-size:calc(17px*var(--fz));line-height:1.5}
 .page .vx-price b{font-size:calc(30px*var(--fz))}
 .page .vx-btns .btn,.page .btn-row .btn{min-height:52px;height:auto;font-size:calc(17px*var(--fz));padding:13px 18px}
 .page .vx-ticks li{font-size:calc(16px*var(--fz))}
 .page .quick-nav{margin-top:20px;gap:8px;padding-block:10px}
 .quick-nav a{padding:8px 12px;font-size:calc(15px*var(--fz));min-height:44px}
 .page .card,.page .prog,.page .icard{padding:20px}
 .page .reab-tbl{padding:4px 20px}
 .page .reab-tr{display:flex;gap:10px;padding:16px 0}
 .page .reab-tr.reab-th{display:none}
 .page .reab-pr{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 0}
 .page .reab-pr>strong{text-align:left}
 .page .reab-pv{padding:20px}
 .page .reab-subh{margin:28px 0 18px}
 .page .req{padding:28px 20px;gap:24px}
 .page .req .h2{font-size:calc(28px*var(--fz))}
 .page .req-t{font-size:calc(17px*var(--fz))}
 .page .hs{padding:24px 20px}
 .page .hs-t b{font-size:calc(18px*var(--fz))}
 .page .hs-t p{font-size:calc(16px*var(--fz))}
 .page #nav-tiles .bento{display:grid;grid-template-columns:1fr;gap:12px}
 .page #nav-tiles .tile-ph{display:grid;grid-column:1/-1;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto;grid-template-areas:none;gap:16px;padding:12px;aspect-ratio:auto;border-radius:20px}
 .page #nav-tiles .tile-ph>.ph{grid-column:1;grid-row:1;height:112px;width:104px;aspect-ratio:auto;border-radius:14px;align-self:center}
 .page #nav-tiles .tile-ph>.notch-arrow{display:none}
 .page #nav-tiles .tile-ph>.plate{grid-column:2;grid-row:1;align-self:center;position:static;padding:2px 0;display:flex;flex-direction:column;gap:5px;background:transparent;min-width:0}
 .page #nav-tiles .plate b{margin:0;font-size:calc(19px*var(--fz));line-height:1.25}
 .page #nav-tiles .plate span{margin:0;display:block;font-size:calc(15px*var(--fz));line-height:1.4}
 .page #nav-tiles .plate strong{margin:0;font-size:calc(16px*var(--fz));line-height:1.35;align-self:flex-start}
 .page #nav-tiles .plate:before,.page #nav-tiles .plate:after,.page #nav-tiles .tile-ph:before,.page #nav-tiles .tile-ph:after{display:none}
 .price-overview{grid-template-columns:1fr;gap:12px}
 .price-choice{padding:20px;gap:10px}
 .price-choice .pc-price{font-size:calc(28px*var(--fz))}
 .price-choice p{font-size:calc(16px*var(--fz))}
 .price-explain{padding:16px 18px;font-size:calc(16px*var(--fz))}
 .page[data-page="ceny"] .price-overview{margin-top:20px}
 .price-help{flex-direction:column;align-items:stretch;gap:18px;padding:24px 20px}
 .page[data-page="ceny"] .pg-note{font-size:calc(15px*var(--fz))}
}
@media(max-width:359px){:root{--ui-h1:30px}.page #nav-tiles .tile-ph{grid-template-columns:84px minmax(0,1fr);gap:12px}.page #nav-tiles .tile-ph>.ph{width:84px;height:108px}}
html.fs-2 .price-overview,html.fs-3 .price-overview{grid-template-columns:1fr}
html.fs-2 .page .pg-hero-row,html.fs-3 .page .pg-hero-row{display:flex;flex-direction:column}
html.fs-2 .page .pg-pts,html.fs-3 .page .pg-pts{grid-template-columns:1fr}
html.a11y .price-choice,html.a11y .quick-nav a{border:2px solid var(--text)}
html.a11y .price-help{border:2px solid currentColor}
html.a11y .page .va-r{min-height:260px}
@media(prefers-reduced-motion:reduce){.price-choice{transition:none}}

/* ===== Правки 25.11 ===== */
/* Верхняя полоса: спейсер работает, кнопка «Для слабовидящих» спокойнее */
.tb-sp{flex:1}
.a11y-toggle{height:44px;padding:0 16px;box-shadow:inset 0 0 0 1px var(--line);background:var(--card);font-weight:600;color:var(--text)}
.a11y-toggle:hover{background:var(--sageL);color:var(--text)}
/* Ссылки-стрелки: одна иконка ↗ везде */
.pc-link .ic,.va-team small .ic{display:inline-block;width:.95em;height:.95em;margin-left:6px;vertical-align:-.12em;transition:transform .4s var(--easeO)}
a:hover .pc-link .ic,a:hover .va-team small .ic,.va-team:hover small .ic{transform:rotate(45deg)}
/* Блок под ценами: воздух и единый стиль ссылки */
#prices .price-explain+.more-link{margin-top:28px;font-size:calc(18px*var(--fz));text-decoration:none}
#prices .price-explain+.more-link:hover{text-decoration:underline}
/* Отзыв: автор сразу под цитатой, счётчик слайдов слева от стрелок */
.rv-card{min-height:0}
.rv-slide figcaption{margin-top:32px}
.rv-nav{align-items:center}
.rv-count{margin-right:12px;font-size:calc(18px*var(--fz));font-weight:700;color:var(--text2);font-variant-numeric:tabular-nums;white-space:nowrap}
.rv-slide figcaption{padding-right:320px}
/* Без машинных переносов в коротких подписях карточек */
.tile b,.tile span,.doc b,.doc span,.num span,.ck li,.icard b,.sq b{hyphens:manual;overflow-wrap:break-word}

@media (max-width:1023px){
  /* Первый экран: фото с рейтингом сразу после кнопок */
  .va .vx-price,.page .va .vx-price{order:4}.va .vx-btns,.page .va .vx-btns{order:5}.va .va-r,.page .va .va-r{order:6;height:220px;min-height:220px}.va .vx-ticks,.page .va .vx-ticks{order:7;margin-top:20px}
  /* Цифры: число над подписью */
  #home-stmt .st-r li{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"i n" "i t";column-gap:16px;row-gap:2px}
  #home-stmt .st-r li>.st-ic{grid-area:i;align-self:center}
  #home-stmt .st-r li>b{grid-area:n}
  #home-stmt .st-r li>span:last-child{grid-area:t}
  /* FAQ: боковые карточки на всю ширину */
  .faq-wrap{align-items:stretch}
  /* Отзывы: кнопки площадок одинаковой ширины */
  #reviews .sec-head .ext{display:grid;grid-template-columns:1fr;width:100%}
  #reviews .sec-head .pill-link{justify-content:space-between}
  /* Отзыв на мобильном */
  .rv-slides{padding-bottom:72px}
  .rv-count{margin-right:6px;font-size:calc(16px*var(--fz))}
  .rv-slide figcaption{padding-right:0;margin-top:24px}
}

/* ===== Первые экраны страниц: фото без перекрытий ===== */
.pg-hero-row:has(.pvis-split){min-height:0;align-items:stretch}
.pvis-split{display:grid;gap:16px;min-height:0;height:100%}
.pvis-split .pvis-ph{position:relative;inset:auto;border-radius:var(--r);overflow:hidden}
.pvis-split .pvis-ph>.ph{position:absolute;inset:0;background-size:cover;background-position:50% 35%}
.pvis-split.port{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.pvis-split.port .pvis-ph{min-height:420px}
.pvis-split.port .pv-side{grid-template-rows:repeat(auto-fit,minmax(0,1fr))}
.pvis-split.land{grid-template-rows:minmax(0,1fr) auto}
.pvis-split.land .pvis-ph{min-height:320px}
.pvis-split.land .pv-side{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
.pvis-split.land .pv-card{gap:10px;padding:22px 24px}
.pvis-split.land .pv-lic{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px}
.pv-side{display:grid;gap:16px;min-width:0}
.pv-card{display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:28px;border-radius:32px;min-width:0}
.pv-lic{background:var(--sageL);color:var(--text);transition:background-color .25s}
.pv-lic:hover{background:var(--sage)}
.pv-lic .circ{flex:none;width:56px;height:56px;background:#fff;color:var(--green)}
.pv-lic .circ .ic{width:26px;height:26px}
.pv-lic b{display:block;font-size:calc(20px*var(--fz));line-height:1.25}
.pv-lic small{display:block;margin-top:6px;font-size:calc(16px*var(--fz));font-weight:700;color:var(--green)}
.pv-lic small .ic{display:inline-block;width:15px;height:15px;margin-left:6px;vertical-align:-2px;transition:transform .4s var(--easeO)}
.pv-lic:hover small .ic{transform:rotate(45deg)}
.pv-num{background:var(--card);box-shadow:0 0 0 1px rgba(30,61,46,.07)}
.pv-num b{display:block;font-size:calc(clamp(34px,3.2vw,46px)*var(--fz));line-height:1.05;font-weight:700;letter-spacing:-.03em;color:var(--text)}
.pv-num.t b{font-size:calc(clamp(22px,1.9vw,28px)*var(--fz));font-weight:500;letter-spacing:-.01em;line-height:1.2}
.pv-num span{display:block;font-size:calc(17px*var(--fz));line-height:1.4;color:var(--text2)}
.pvis-split.land .pv-num span{margin-top:4px}
html[class*="sc-"] .pv-card,html[class*="sc-"] .pvis-split .pvis-ph{box-shadow:inset 0 0 0 2px var(--text)}
@media (min-width:1024px) and (max-width:1279px){.pv-card{padding:22px}.pv-lic b{font-size:calc(18px*var(--fz))}.pv-num b{font-size:34px}}
@media (max-width:1023px){
  .pvis-split{gap:10px;height:auto}
  .pvis-split .pvis-ph{border-radius:24px}
  .pvis-split.port{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
  .pvis-split.port .pvis-ph{min-height:300px}
  .pvis-split.land .pvis-ph{min-height:0;aspect-ratio:4/3}
  .pv-side{gap:10px}
  .pv-card,.pvis-split.land .pv-card{gap:10px;padding:16px;border-radius:22px}
  .pvis-split.land .pv-lic{flex-direction:column;align-items:flex-start;justify-content:space-between}
  .pv-lic .circ{width:44px;height:44px}
  .pv-lic .circ .ic{width:22px;height:22px}
  .pv-lic b{font-size:calc(16px*var(--fz))}
  .pv-lic small{margin-top:4px;font-size:calc(14px*var(--fz))}
  .pv-num b{font-size:28px}
  .pv-num.t b{font-size:calc(19px*var(--fz))}
  .pv-num span{font-size:calc(15px*var(--fz))}
}
/* размер текста в карточках — от ширины карточки, без разрыва слов */
.pv-card{container-type:inline-size}
.pv-card b{overflow-wrap:normal;hyphens:manual}
.pv-num b,.pvis-split .pv-num b{font-size:min(46px,23cqi)}
.pv-num.t b,.pvis-split .pv-num.t b{font-size:min(28px,15cqi)}
.pv-num span{hyphens:auto}
.pv-lic b{font-size:min(calc(20px*var(--fz)),12.5cqi)}
/* Фото без карточек */
.pvis-split.c0{display:block;height:100%}
.pvis-split.c0 .pvis-ph{height:100%}
.pg-hero-row:has(.pvis-split.c0){align-items:stretch}
.pg-hero-row:has(.pvis-split.port.c0){grid-template-columns:minmax(0,1fr) 40%;gap:48px}
.pvis-split.c0{align-self:stretch}
.pvis-split.c0 .pvis-ph{min-height:400px;height:100%}
.pvis-split.port.c0 .pvis-ph>.ph{background-position:50% 38%}
@media (min-width:1024px) and (max-width:1279px){.pg-hero-row:has(.pvis-split.port.c0){grid-template-columns:minmax(0,1fr) 42%;gap:32px}}
@media (max-width:1023px){
  .pvis-split.c0,.pvis-split.port.c0{width:100%;height:auto}
  .pvis-split.c0 .pvis-ph,.pvis-split.port.c0 .pvis-ph,.pvis-split.land.c0 .pvis-ph{min-height:0;height:auto;aspect-ratio:4/3}
  .pvis-split.port.c0 .pvis-ph{aspect-ratio:1/1}
  .pvis-split.port.c0 .pvis-ph>.ph{background-position:50% 55%}
  /* фото сразу после кнопок, список — под фото */
  .pg-hero-row:has(.pvis-split.c0)>.pg-hero-text{display:contents}
  .pg-hero-row:has(.pvis-split.c0)>.pg-hero-text>div:first-child{order:1}
  .pg-hero-row:has(.pvis-split.c0)>.pg-hero-text>div:nth-child(2){order:2}
  .pg-hero-row:has(.pvis-split.c0)>.pvis-split{order:3}
  .pg-hero-row:has(.pvis-split.c0)>.pg-hero-text>ul{order:4;margin-top:0}
}
html.fs-3 .pg-hero-row:has(.pvis-split.c0){grid-template-columns:1fr}
html.fs-3 .pvis-split{grid-template-columns:1fr;grid-template-rows:auto}
html.fs-3 .pvis-split .pv-side{grid-template-columns:1fr;grid-template-rows:auto}
html.fs-3 .pvis-split .pvis-ph{min-height:0;aspect-ratio:4/3}

/* v4: article cover — whole photo, blurred fill around it */
.stat-cover{aspect-ratio:2/1}
.stat-cover>.ph::before{content:"";position:absolute;inset:0;-webkit-backdrop-filter:blur(30px) saturate(1.1);backdrop-filter:blur(30px) saturate(1.1);background:rgba(242,239,232,.18)}
.stat-cover>.ph::after{content:"";position:absolute;inset:0;background-image:inherit;background-size:contain;background-position:center;background-repeat:no-repeat}
@media (max-width:1023px){.stat-cover{aspect-ratio:4/3}}
@media (max-width:640px){.stat-cover{aspect-ratio:1/1}}

/* v6: 5 городов в хабе «Для жителей» */
@media (min-width:1280px){.stat-cities:has(> :nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* v8: кнопка маршрута справа — слева сверху карточка места Google */
.map:not(.stat-scheme) > .map-route{left:auto;right:28px}
@media (max-width:1023px){.map:not(.stat-scheme) > .map-route{right:16px}}
@media (max-width:640px){.map:not(.stat-scheme) > .map-route{right:auto;left:50%;top:auto;bottom:14px;transform:translateX(-50%);white-space:nowrap}}

/* v9: нижняя панель на телефонах выключается в настройках */
body.no-mbar{padding-bottom:0}
