/* =========================================================
   wpFace Med — внутренние страницы и связка с WordPress.
   Все элементы построены на токенах и компонентах макета автора.
   ========================================================= */

/* ---------- связь с настройками темы ---------- */
body{font-family:var(--font,'Manrope'),system-ui,sans-serif;background:var(--bg)}
.container{max-width:var(--container,1320px)}
.footer{background:var(--footer-bg,#16142a)}
.badge{background:var(--badge,#ff5c7a)}
.logo__img{height:var(--logo-h,44px);width:auto;display:block}
.footer .logo__img{filter:none}
.no-sticky .header{position:relative}
.no-reveal .reveal{opacity:1;transform:none;transition:none}
.skip-link:focus{position:fixed;left:16px;top:16px;z-index:999;width:auto;height:auto;clip:auto;padding:12px 18px;border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-err{font-size:13px;color:#e5484d;font-weight:600}
.form-err:empty{display:none}
.field.is-error textarea,.field.is-error select{border-color:#ff5c7a}
.agree.is-error{color:#e5484d}
.stars__off{color:#e5e3f0}
.btn[disabled]{opacity:.6;pointer-events:none}
img{max-width:100%;height:auto}

/* шапка */
.nav__item.is-current .nav__link{color:var(--accent)}
.dropdown a.is-sub{padding-left:24px;font-size:13px}
.mega__list{columns:var(--cols,3)}
.mega .container.no-promo{grid-template-columns:260px minmax(0,1fr)}
.status.is-closed .status-dot{background:#ff5c7a;box-shadow:0 0 0 4px rgba(255,92,122,.18)}
.search form.container{display:flex}
.drawer details a b{color:var(--text)}
.sources a{font-size:12.5px;font-weight:700;padding:7px 12px;border-radius:10px;background:#fff;transition:.2s}
.sources a:hover{color:var(--accent)}
.sources a b{color:var(--accent)}
.doc__name a:hover{color:var(--accent)}
.plan h3 a:hover{opacity:.8}
.rev__doc a:hover b{color:var(--accent)}
a.doc__photo{display:flex}

/* карточки плитки с фото */
.card__media.has-img{height:62%}
.card__img{position:absolute;left:50%;bottom:0;transform:translateX(-50%);height:100%;width:auto;max-width:none;object-fit:contain;object-position:bottom}
.card__circle img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.card__circle:has(img) svg{display:none}
.phone-mock__screen.has-img{padding:0}
.phone-mock__screen.has-img img{width:100%;height:100%;object-fit:cover}
.chief__ava{overflow:hidden}
.chief__ava img{width:100%;height:100%;object-fit:cover}

/* ссылки-фильтры */
a.filter{display:inline-flex;align-items:center;gap:8px}
.filter__n{font-size:11px;font-weight:800;min-width:22px;height:22px;padding:0 6px;border-radius:8px;background:var(--bg-alt);color:var(--muted);display:inline-grid;place-items:center}
.filter.is-active .filter__n{background:rgba(255,255,255,.22);color:#fff}

/* ---------- ШАПКА ВНУТРЕННЕЙ СТРАНИЦЫ ---------- */
.page-head{position:relative;overflow:hidden;background:var(--bg-alt);padding:26px 0 56px;isolation:isolate}
.page-head::before{content:"";position:absolute;z-index:-1;width:560px;height:560px;border-radius:50%;right:-160px;top:-260px;background:radial-gradient(circle,var(--accent-tint) 0%,transparent 70%)}
.page-head::after{content:"";position:absolute;z-index:-1;width:320px;height:320px;border-radius:50%;left:-120px;bottom:-200px;background:radial-gradient(circle,color-mix(in srgb,var(--mint) 16%,transparent) 0%,transparent 70%)}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px;color:var(--muted);margin-bottom:28px}
.crumbs a{font-weight:600;color:var(--text);transition:.2s}
.crumbs a:hover{color:var(--accent)}
.crumbs svg{transform:rotate(-90deg);color:var(--muted)}
.crumbs span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60ch}
.page-head__grid{display:grid;gap:40px;align-items:end}
.page-head__grid.has-aside{grid-template-columns:minmax(0,1fr) 380px}
.page-head__title{font-size:clamp(32px,4.2vw,54px);line-height:1.06;font-weight:800;letter-spacing:-.035em;max-width:900px}
.page-head__emoji{display:inline-grid;place-items:center;width:1.3em;height:1.3em;border-radius:.36em;background:#fff;font-size:.8em;margin-right:.3em;vertical-align:.08em}
.page-head__lead{margin-top:18px;max-width:640px;font-size:17px;line-height:1.6;color:var(--muted)}
.page-head__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;align-items:center}
.page-head__aside{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end}
.head-stat{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:18px;align-items:center;padding:24px 26px;border-radius:26px;background:#fff;border:1px solid var(--line)}
.head-stat__ico{grid-row:span 2;width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.head-stat b{font-size:44px;line-height:1;font-weight:800;letter-spacing:-.04em;color:var(--accent)}
.head-stat span:last-child{font-size:14px;color:var(--muted);line-height:1.35}

/* поле поиска в шапке страницы */
.hsearch{display:flex;align-items:center;gap:12px;width:min(640px,100%);height:64px;padding:0 8px 0 20px;border-radius:20px;background:#fff;border:1.5px solid var(--line);transition:.2s;cursor:text}
.hsearch:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.hsearch svg{color:var(--muted)}
.hsearch input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;font:inherit;font-size:16px;color:var(--text)}
.hsearch input::-webkit-search-cancel-button{opacity:.5}
.hsearch .btn{height:48px}

/* ---------- ОБЩЕЕ ---------- */
.section--tight{padding:48px 0 88px}
.section--tight + .section--alt,.section--tight + .section--cta{margin-top:0}
.h3{font-size:clamp(22px,2.2vw,28px);font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:52px 0 20px;display:flex;align-items:center;gap:12px}
.layout__main > .h3:first-child,.section--tight > .container > .h3:first-child{margin-top:0}
.h3--muted{color:var(--muted)}
.h3__n{font-size:13px;font-weight:800;height:26px;min-width:26px;padding:0 8px;border-radius:9px;background:var(--accent-soft);color:var(--accent);display:inline-grid;place-items:center}
.found{margin:-8px 0 22px;color:var(--muted);font-size:14.5px}
.found a{color:var(--accent);font-weight:700;margin-left:6px}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start}
.layout__side{position:sticky;top:110px;display:grid;gap:20px}
.no-sticky .layout__side{position:static}
.wide-img{margin:0 0 32px;border-radius:28px;overflow:hidden;background:var(--bg-alt)}
.wide-img img{width:100%;display:block}
.checks--1{grid-template-columns:1fr}

/* пустое состояние */
.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:56px 24px;border-radius:28px;border:1.5px dashed var(--line);background:#fff}
.empty__ico{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);margin-bottom:6px}
.empty b{font-size:20px}
.empty p{color:var(--muted);max-width:440px;line-height:1.55}
.empty .btn{margin-top:12px}

/* пагинация */
.pager{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:40px}
.pager .page-numbers{min-width:48px;height:48px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:#fff;display:inline-grid;place-items:center;font-weight:700;font-size:15px;transition:.2s}
.pager a.page-numbers:hover{border-color:var(--accent);color:var(--accent)}
.pager .current{background:var(--accent);border-color:var(--accent);color:#fff}
.pager .dots{border:0;background:none}

/* ---------- ТЕКСТ (содержимое страниц и статей) ---------- */
.prose{font-size:16.5px;line-height:1.75;color:#3b3852;max-width:760px}
.prose--wide{max-width:900px}
.prose--sm{font-size:14.5px;line-height:1.6}
.prose--after{margin-top:40px}
.prose > *+*{margin-top:1.1em}
.prose h2{font-size:clamp(24px,2.4vw,32px);line-height:1.2;font-weight:800;letter-spacing:-.025em;color:var(--text);margin-top:1.8em}
.prose h3{font-size:22px;line-height:1.3;font-weight:800;letter-spacing:-.015em;color:var(--text);margin-top:1.6em}
.prose h4{font-size:18px;font-weight:800;color:var(--text);margin-top:1.4em}
.prose a{color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.prose strong,.prose b{color:var(--text)}
.prose ul,.prose ol{padding-left:0;list-style:none;display:grid;gap:10px}
.prose ul li{position:relative;padding-left:30px}
.prose ul li::before{content:"";position:absolute;left:4px;top:.62em;width:10px;height:10px;border-radius:4px;background:var(--accent-light)}
.prose ol{counter-reset:li}
.prose ol li{position:relative;padding-left:40px;counter-increment:li}
.prose ol li::before{content:counter(li);position:absolute;left:0;top:.1em;width:28px;height:28px;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-weight:800;font-size:13px;display:grid;place-items:center;line-height:1}
.prose blockquote{position:relative;padding:26px 28px 26px 32px;border-radius:24px;background:var(--bg-alt);font-size:18px;line-height:1.6;color:var(--text);font-weight:500;border-left:4px solid var(--accent)}
.prose blockquote cite{display:block;margin-top:10px;font-size:14px;color:var(--muted);font-style:normal}
.prose img,.prose figure{border-radius:22px}
.prose figure{margin-left:0;margin-right:0}
.prose figcaption{font-size:13px;color:var(--muted);margin-top:8px;text-align:center}
.prose table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.prose th,.prose td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--line)}
.prose th{background:var(--bg-alt);font-weight:800;color:var(--text)}
.prose tr:last-child td{border-bottom:0}
.prose hr{border:0;height:1px;background:var(--line);margin:2em 0}
.prose .wp-block-button__link{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:var(--radius);background:var(--accent);color:#fff;text-decoration:none;font-weight:700}
.prose .alignwide{max-width:none}
.prose iframe{width:100%;border:0;border-radius:22px;aspect-ratio:16/9;height:auto}

/* ---------- БОКОВЫЕ КАРТОЧКИ ---------- */
.side-cta{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:10px;padding:28px;border-radius:28px;background:linear-gradient(150deg,var(--accent),var(--accent-dark));color:#fff;box-shadow:0 30px 60px -30px color-mix(in srgb,var(--accent) 80%,transparent)}
.side-cta::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.1)}
.side-cta__ico{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.18);margin-bottom:6px}
.side-cta b{font-size:21px;line-height:1.25;letter-spacing:-.02em}
.side-cta p{font-size:14px;line-height:1.55;opacity:.85}
.side-cta .btn{margin-top:10px;position:relative;z-index:1}
.side-cta__phone{text-align:center;font-weight:800;font-size:17px;margin-top:4px;position:relative;z-index:1}
.side-card{padding:26px;border-radius:26px;background:#fff;border:1px solid var(--line)}
.section--alt .side-card{border-color:transparent}
.side-card + .side-card{margin-top:16px}
.side-card__ico{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);margin-bottom:14px}
.side-card__title{font-size:17px;font-weight:800;margin-bottom:12px}
.side-card p{font-size:14.5px;line-height:1.6;color:var(--muted)}
.side-card .socials a{width:44px;height:44px;border-radius:14px}
.widget ul{list-style:none;display:grid;gap:8px;font-size:14.5px}
.widget ul a:hover{color:var(--accent)}

/* ---------- ВРАЧ ---------- */
.dprof{display:grid;grid-template-columns:340px minmax(0,1fr) 360px;gap:36px;align-items:start}
.dprof__photo{position:relative;border-radius:30px;overflow:hidden;aspect-ratio:4/5;background:radial-gradient(circle at 50% 110%,var(--accent-light) 0%,var(--accent-tint) 45%,#fff 80%);display:flex;align-items:flex-end;justify-content:center}
.dprof__photo img{width:100%;height:100%;object-fit:cover}
.dprof__photo > svg{width:84%;height:auto;color:#fff}
.dprof__photo .doc__rate{top:18px;right:18px;height:32px;font-size:13px}
.dprof__specs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.dprof__specs .chip{--c-accent:var(--accent);transition:.2s}
.dprof__specs .chip:hover{color:var(--accent)}
.dprof__pos{margin-top:12px;font-size:17px;color:var(--muted);line-height:1.5}
.dprof__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}
.dprof__facts div{padding:18px 20px;border-radius:20px;background:#fff}
.dprof__facts b{display:block;font-size:26px;font-weight:800;letter-spacing:-.03em;color:var(--accent);line-height:1.1}
.dprof__facts span{display:block;margin-top:4px;font-size:13px;color:var(--muted)}
.dprof__badges{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.dprof__badges li{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:14px;font-weight:700}
.dprof .page-head__lead{font-size:15.5px}
.book{position:sticky;top:110px;padding:28px;border-radius:28px;background:#fff;box-shadow:0 30px 60px -34px rgba(29,27,50,.35);display:flex;flex-direction:column;gap:14px}
.no-sticky .book{position:static}
.book__title{font-size:21px;font-weight:800;letter-spacing:-.02em}
.book__day{font-size:13.5px;color:var(--muted)}
.book__day b{color:var(--text)}
.book__slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.book__slots .slot{height:42px;font-size:14px}
.book__note{font-size:14px;color:var(--muted);line-height:1.55}
.book__brs{display:grid;gap:6px;padding-top:14px;border-top:1px dashed var(--line)}
.book__brs small{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.book__brs a{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.book__brs a:hover{color:var(--accent)}
.book__brs i{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.book__phone{font-size:13px;color:var(--muted);text-align:center}
.book__phone a{color:var(--text);font-weight:800;white-space:nowrap}

/* вкладки */
.tabs__nav{display:flex;gap:6px;padding:6px;border-radius:18px;background:var(--bg-alt);margin-bottom:32px;overflow-x:auto;scrollbar-width:none;width:max-content;max-width:100%}
.tabs__nav button{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:13px;font-weight:700;font-size:15px;color:var(--muted);white-space:nowrap;transition:.2s}
.tabs__nav button:hover{color:var(--accent)}
.tabs__nav button.is-active{background:#fff;color:var(--text);box-shadow:0 8px 20px -12px rgba(29,27,50,.3)}
.tabs__nav button span{font-size:12px;min-width:22px;height:22px;padding:0 6px;border-radius:8px;background:var(--accent-soft);color:var(--accent);display:inline-grid;place-items:center}
.tabs__more{margin-top:24px}
.timeline{list-style:none;display:grid;gap:0;max-width:820px}
.timeline li{position:relative;display:grid;grid-template-columns:110px 1fr;gap:24px;padding:0 0 26px}
.timeline li::before{content:"";position:absolute;left:94px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px var(--accent-soft)}
.timeline li::after{content:"";position:absolute;left:99px;top:22px;bottom:0;width:2px;background:var(--line)}
.timeline li:last-child::after{display:none}
.timeline b{font-size:17px;font-weight:800;color:var(--accent)}
.timeline span{font-size:15.5px;line-height:1.55;padding-left:12px}

/* таблица цен */
.ptable{border-radius:24px;border:1px solid var(--line);background:#fff;overflow:hidden}
.ptable__row{display:flex;align-items:center;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line);font-size:15px;transition:background .2s}
.ptable__row:last-child{border-bottom:0}
.ptable__row:hover{background:var(--bg-alt)}
.ptable__row > span,.ptable__row > a:not(.btn){flex:1;min-width:0;line-height:1.4}
.ptable__row > a:not(.btn):hover{color:var(--accent)}
.ptable__row code{font-family:inherit;font-size:12px;font-weight:700;color:var(--muted);background:var(--bg-alt);padding:4px 8px;border-radius:8px;flex-shrink:0}
.ptable__row b{font-weight:800;white-space:nowrap;font-size:16px}
.ptable__row s{font-weight:500;color:var(--muted);font-size:13px;margin-left:4px}
.ptable__row .btn{height:38px;padding:0 14px;font-size:13px;flex-shrink:0}
.ptable--flat{border:0;border-radius:0;border-top:1px solid var(--line)}
.ptable__row[hidden]{display:none}

/* ---------- УСЛУГИ ---------- */
.svc-cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.svc-cat{display:flex;flex-direction:column;gap:16px;padding:26px;border-radius:26px;background:#fff;border:1px solid var(--line);transition:.3s}
.svc-cat:hover{border-color:var(--accent-light);box-shadow:0 24px 50px -30px color-mix(in srgb,var(--accent) 60%,transparent)}
.svc-cat__head{display:flex;align-items:center;gap:14px}
.svc-cat__ico{width:52px;height:52px;border-radius:16px;background:var(--accent-soft);display:grid;place-items:center;font-size:24px;flex-shrink:0;transition:.3s}
.svc-cat:hover .svc-cat__ico{background:var(--accent)}
.svc-cat__head b{display:block;font-size:20px;font-weight:800;letter-spacing:-.02em}
.svc-cat__head small{font-size:13px;color:var(--muted)}
.svc-cat__go{margin-left:auto;width:40px;height:40px;border-radius:50%;background:var(--bg-alt);display:grid;place-items:center;color:var(--accent);transition:.3s;flex-shrink:0}
.svc-cat__head:hover .svc-cat__go{background:var(--accent);color:#fff;transform:rotate(-45deg)}
.svc-cat__list{list-style:none;display:grid}
.svc-cat__list a{display:flex;align-items:baseline;gap:8px;padding:9px 0;font-size:14.5px;border-bottom:1px dashed var(--line)}
.svc-cat__list li:last-child a{border-bottom:0}
.svc-cat__list a span{flex:1;min-width:0;transition:.2s}
.svc-cat__list a:hover span{color:var(--accent)}
.svc-cat__list b{font-size:13.5px;font-weight:800;white-space:nowrap;color:var(--text)}
.svc-cat .link-more{margin-top:auto;font-size:14px}
.svc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.svc-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.layout__main .svc-grid:not(.svc-grid--2){grid-template-columns:repeat(2,minmax(0,1fr))}
.svc{position:relative;display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:24px;background:#fff;border:1px solid var(--line);min-height:220px;transition:.25s}
.svc:hover{border-color:var(--accent);transform:translateY(-3px)}
.svc__ico{width:52px;height:52px;border-radius:16px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;transition:.25s}
.svc:hover .svc__ico{background:var(--accent);color:#fff}
.svc__title{font-size:17px;line-height:1.3;font-weight:800;letter-spacing:-.01em;margin-top:6px}
.svc__text{font-size:13.5px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.svc__foot{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.svc__price{font-weight:800;font-size:16px}
.svc__go{width:40px;height:40px;border-radius:50%;background:var(--bg-alt);color:var(--accent);display:grid;place-items:center;transition:.3s;flex-shrink:0}
.svc:hover .svc__go,.brc:hover .svc__go{background:var(--accent);color:#fff;transform:rotate(-45deg)}
.svc-price{display:flex;flex-direction:column;gap:6px;padding:28px;border-radius:28px;background:#fff;box-shadow:0 30px 60px -34px rgba(29,27,50,.35)}
.svc-price__ico{width:60px;height:60px;border-radius:18px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;margin-bottom:12px}
.svc-price small{font-size:13px;color:var(--muted);font-weight:600}
.svc-price > b{font-size:36px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.svc-price p{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin:6px 0 10px}
.svc-price p svg{color:var(--accent)}
.svc-price .btn{margin-top:8px}
.svc-price__cb{margin-top:6px;align-self:center;font-size:14px;font-weight:700;color:var(--accent);border-bottom:1px dashed currentColor}
.steps{list-style:none;display:grid;gap:12px;counter-reset:none}
.steps li{display:flex;gap:18px;padding:22px 24px;border-radius:22px;background:var(--bg-alt)}
.steps__n{width:44px;height:44px;border-radius:14px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px;flex-shrink:0}
.steps b{display:block;font-size:17px;margin-top:2px}
.steps p{margin-top:6px;font-size:14.5px;line-height:1.55;color:var(--muted)}
.layout__main .faq{margin-top:0}

/* ---------- АКЦИИ ---------- */
.promo--4{--p-bg:#dfeeff;--p-c:#3b82f6}
.promo--5{--p-bg:#fbe4f1;--p-c:#d14b93}
.promos--past .promo{opacity:.55;filter:grayscale(.8)}
.promos--past .promo:hover{opacity:.8}
.page-head--promo{background:#fff;padding-bottom:24px}
.page-head--promo::before,.page-head--promo::after{display:none}
.promo-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;padding:48px;border-radius:36px;background:var(--p-bg);isolation:isolate}
.promo-hero .promo__deco{right:-80px;top:-60px;width:360px;height:360px;z-index:-1}
.promo-hero .promo__top{justify-content:flex-start}
.promo-hero .page-head__title{margin-top:22px}
.promo-hero__foot{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:30px}
.promo-hero__foot .price b{font-size:34px}
.promo-hero__foot .price s{font-size:18px}
.promo-hero__off{font-size:clamp(80px,12vw,180px);line-height:.9;font-weight:800;letter-spacing:-.06em;color:var(--p-c);padding-right:12px}
.promo-hero__img{position:absolute;inset:0 0 0 auto;width:38%;z-index:-1;opacity:.9;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.promo-hero__img img{width:100%;height:100%;object-fit:cover}
.promo-hero.is-past{filter:grayscale(.85)}

/* ---------- ПРОГРАММЫ ---------- */
.plan--aside{position:relative;padding:30px}
.plan--aside .plan__price{margin:16px 0 22px}
.incl{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:40px}
.incl li{display:flex;gap:12px;padding:18px 20px;border-radius:18px;background:var(--bg-alt);font-weight:600;font-size:15px;line-height:1.4}
.incl svg{color:var(--mint);flex-shrink:0}

/* ---------- ОТЗЫВЫ: форма ---------- */
.rate-input{display:flex;align-items:center;gap:4px;padding:6px 0 4px}
.rate-input span{font-size:14px;font-weight:700;margin-right:10px}
.rate-input button{font-size:30px;line-height:1;color:#e5e3f0;transition:.15s}
.rate-input button.is-on{color:#ffb020}
.rate-input button:hover{transform:scale(1.15)}

/* ---------- ФИЛИАЛЫ И КОНТАКТЫ ---------- */
.map__frame{position:absolute;inset:0;width:100%;height:100%;border:0}
.map--single{min-height:420px;margin-bottom:32px}
.branches[data-map="yandex"] .map__card{left:auto;right:24px;top:auto;bottom:24px}
.br-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.brc{display:flex;align-items:center;gap:20px;padding:14px 20px 14px 14px;border-radius:24px;background:#fff;border:1px solid var(--line);transition:.25s}
.brc:hover{border-color:var(--accent)}
.brc__img{width:120px;height:96px;border-radius:18px;overflow:hidden;flex-shrink:0;background:var(--accent-soft)}
.brc__img img{width:100%;height:100%;object-fit:cover}
.brc__ph{width:100%;height:100%;display:grid;place-items:center;color:var(--accent)}
.brc__body{flex:1;min-width:0}
.brc__body b{display:block;font-size:17px}
.brc__body small{display:block;color:var(--muted);font-size:13.5px;margin-top:3px}
.contact-list{list-style:none;display:grid;gap:16px;margin-bottom:20px}
.contact-list li{display:flex;gap:14px;align-items:flex-start}
.contact-list li > svg{color:var(--accent);margin-top:2px}
.contact-list small{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:2px}
.contact-list span{font-weight:700;font-size:15px;line-height:1.4}
.contact-list a:hover{color:var(--accent)}
.metro-dot{width:12px;height:12px;border-radius:50%;margin:5px 4px 0;flex-shrink:0}
.side-card .map__btns .btn{height:46px}
.ccards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:64px}
.ccard{display:flex;flex-direction:column;gap:6px;padding:24px;border-radius:24px;background:#fff;border:1px solid var(--line);transition:.25s}
a.ccard:hover{border-color:var(--accent);transform:translateY(-3px)}
.ccard .comm__ico{margin-bottom:12px}
.ccard small{font-size:13px;color:var(--muted)}
.ccard b{font-size:19px;font-weight:800;letter-spacing:-.01em;word-break:break-word}
.docs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}

/* ---------- БЛОГ ---------- */
.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.post-card{display:flex;flex-direction:column;border-radius:26px;overflow:hidden;background:#fff;border:1px solid var(--line);transition:.3s}
.post-card:hover{box-shadow:0 26px 50px -30px rgba(29,27,50,.35);transform:translateY(-3px)}
.post-card__img{position:relative;display:block;aspect-ratio:16/10;background:linear-gradient(140deg,var(--accent-tint),var(--bg-alt));overflow:hidden}
.post-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.post-card:hover .post-card__img img{transform:scale(1.04)}
.post-card__img .chip{position:absolute;left:16px;top:16px;--c-accent:var(--accent)}
.post-card__ph{position:absolute;inset:0;display:grid;place-items:center;color:var(--accent);opacity:.5}
.post-card__body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.post-card__meta{font-size:12.5px;color:var(--muted);font-weight:600}
.post-card h3{font-size:19px;line-height:1.3;font-weight:800;letter-spacing:-.015em}
.post-card h3 a:hover{color:var(--accent)}
.post-card p{font-size:14px;line-height:1.55;color:var(--muted)}
.post-head{max-width:900px}
.post-head .chip{--c-accent:var(--accent);margin-bottom:18px}
.post-meta{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px;font-size:14px;color:var(--muted);font-weight:600}
.post-meta span{display:inline-flex;align-items:center;gap:8px}
.post-meta svg{color:var(--accent)}
.layout--post .prose{max-width:none}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.post-note{display:flex;gap:14px;align-items:flex-start;margin-top:32px;padding:20px 22px;border-radius:20px;background:var(--bg-alt);font-size:13.5px;line-height:1.55;color:var(--muted)}
.post-note svg{color:var(--accent);flex-shrink:0}
.comments{margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
.comment-list{list-style:none;display:grid;gap:16px;margin-bottom:40px}
.comment-list .children{list-style:none;margin:16px 0 0 32px;display:grid;gap:16px}
.comment-body{padding:22px;border-radius:22px;border:1px solid var(--line);font-size:15px;line-height:1.6}
.comment-author{display:flex;align-items:center;gap:10px;font-weight:700}
.comment-author img{border-radius:12px}
.comment-meta{font-size:12.5px;color:var(--muted);margin:4px 0 10px}
.reply a{font-size:13px;font-weight:700;color:var(--accent)}
.comment-form .form-submit{margin-top:4px}
.comment-form .comment-notes,.comment-form .logged-in-as{font-size:13px;color:var(--muted)}
.comment-form .comment-form-cookies-consent{display:flex;gap:8px;font-size:13px;color:var(--muted)}

/* ---------- ПОИСК, 404 ---------- */
.slist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nf{padding:64px 0 96px;background:var(--bg-alt);position:relative;overflow:hidden}
.nf__box{max-width:720px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.nf__code{display:flex;align-items:center;gap:18px;font-size:clamp(110px,18vw,200px);font-weight:800;line-height:1;letter-spacing:-.06em;color:var(--accent);margin-bottom:24px}
.nf__orb{width:.82em;height:.82em;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 18px color-mix(in srgb,var(--accent) 14%,transparent),0 0 0 40px color-mix(in srgb,var(--accent) 7%,transparent)}
.nf .lead{margin:14px auto 28px}
.nf__links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px}
.nf__links .pill{background:#fff}
.nf__links .pill:hover{background:var(--accent)}

/* ---------- ПОЛОСА ЗАПИСИ ---------- */
.section--cta{padding:0 0 88px}
.section--tight + .section--cta,.section--alt + .section--cta{padding-top:0}
.section--alt + .section--cta{padding-top:88px}
.cta-band{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:center;padding:56px 64px;border-radius:36px;background:linear-gradient(125deg,var(--accent) 0%,var(--accent-dark) 100%);color:#fff}
.cta-band::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-100px;top:-180px;background:rgba(255,255,255,.08)}
.cta-band::after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;left:42%;bottom:-160px;background:rgba(255,255,255,.06)}
.cta-band > *{position:relative;z-index:1}
.cta-band .eyebrow{color:rgba(255,255,255,.8)}
.cta-band p{margin-top:14px;font-size:16px;line-height:1.6;opacity:.85;max-width:520px}
.cta-band__actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.cta-band__phone{font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.cta-band__phone small{display:block;font-size:13px;font-weight:500;opacity:.75;letter-spacing:0;margin-top:4px}

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width:1200px){
  .page-head__grid.has-aside{grid-template-columns:minmax(0,1fr) 320px}
  .dprof{grid-template-columns:280px minmax(0,1fr)}
  .book{grid-column:1/-1;position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .book__title,.book__day,.book__note{grid-column:1/-1}
  .book__slots{grid-column:1}
  .book > .btn{grid-column:2;grid-row:2/4}
  .book__brs,.book__phone{grid-column:1/-1}
  .layout{grid-template-columns:minmax(0,1fr) 300px;gap:32px}
  .svc-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ccards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cta-band{grid-template-columns:1fr;padding:48px}
  .promo-hero{grid-template-columns:1fr;padding:40px}
  .promo-hero__off{position:absolute;right:28px;top:28px;font-size:80px;opacity:.9}
  .promo-hero__img{display:none}
}
@media (max-width:1000px){
  .layout{grid-template-columns:1fr}
  .layout__side{position:static;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
  .page-head__grid.has-aside{grid-template-columns:1fr;gap:28px}
  .page-head__aside{max-width:520px}
  .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .br-cards{grid-template-columns:1fr}
}
@media (max-width:860px){
  body:not(.has-tabbar){padding-bottom:0}
  body:not(.has-tabbar) .theme{bottom:24px}
  body:not(.has-tabbar) .cookie{bottom:24px}
  .page-head{padding:18px 0 40px}
  .crumbs{margin-bottom:20px}
  .section--tight{padding:32px 0 64px}
  .section--cta{padding-bottom:64px}
  .section--alt + .section--cta{padding-top:64px}
  .dprof{grid-template-columns:1fr}
  .dprof__photo{max-width:360px;aspect-ratio:1/1}
  .book{display:flex}
  .h3{margin-top:40px}
  .tabs__nav{width:auto;margin-left:-16px;margin-right:-16px;border-radius:0;padding:6px 16px}
  .timeline li{grid-template-columns:76px 1fr;gap:16px}
  .timeline li::before{left:60px}
  .timeline li::after{left:65px}
  .incl{grid-template-columns:1fr}
}
@media (max-width:640px){
  .page-head__title{font-size:32px}
  .page-head__lead{font-size:15.5px}
  .page-head__actions > .btn{flex:1;justify-content:center}
  .hsearch{height:56px;padding-left:14px;width:100%}
  .hsearch input{width:0}
  .hsearch .btn{height:42px;padding:0 16px}
  .head-stat b{font-size:36px}
  .svc-cats,.svc-grid,.svc-grid--2,.layout__main .svc-grid:not(.svc-grid--2),.posts-grid,.ccards,.docs-grid,.slist{grid-template-columns:1fr}
  .dprof__facts{grid-template-columns:1fr 1fr}
  .dprof__facts div:last-child:nth-child(3){grid-column:span 2}
  .ptable__row{flex-wrap:wrap;gap:8px 12px;padding:14px 16px}
  .ptable__row > span,.ptable__row > a:not(.btn){flex-basis:100%}
  .ptable__row .btn{margin-left:auto}
  .promo-hero{padding:28px 22px;border-radius:28px}
  .promo-hero__off{position:static;font-size:72px;order:-1}
  .promo-hero .page-head__title{margin-top:14px}
  .cta-band{padding:36px 24px;border-radius:28px}
  .brc__img{width:84px;height:84px}
  .prose{font-size:16px}
  .steps li{padding:18px}
  .nf__code{gap:10px}
  .comment-list .children{margin-left:12px}
}
