:root{
  --ink:#172A3A;
  --ink-soft:#6D7175;
  --brand:#0057A6;
  --brand-2:#55B8BE;
  --line:#E1EBF0;
  --wash:#F5F9FC;
  --white:#fff;
  --container:1304px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Manrope,sans-serif;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;font-size:17px;font-weight:400}
a{text-decoration:none;color:inherit;transition:color .45s cubic-bezier(.2,.7,.2,1)}
ul{margin:0;padding:0;list-style:none}
img{display:block;max-width:100%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
button{font-family:inherit}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px}
.section{padding:48px 0}
.section--wash{background:var(--wash)}
h2,h3{margin:0}
h2{font-size:28px;line-height:1.25;font-weight:800;letter-spacing:-.01em}
h3{font-size:19px;line-height:1.3;font-weight:700}
.sec-title{margin-bottom:26px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  height:49px;padding:0 30px;border-radius:26px;border:0;cursor:pointer;
  font-size:15px;font-weight:600;will-change:transform;
  transition:background-color .3s cubic-bezier(.2,.7,.2,1),color .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s cubic-bezier(.2,.7,.2,1),transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:var(--brand);color:#fff;height:68px;border-radius:34px;padding:0 34px}
.btn--primary:hover{background:var(--brand-2);color:#0B3A67}
.btn--outline{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line);min-width:325px}
.btn--outline:hover{box-shadow:inset 0 0 0 1.5px var(--brand);color:var(--brand)}
.btn--sm{height:52px;padding:0 28px;background:var(--brand);color:#fff}
.btn--sm:hover{background:var(--brand-2);color:#0B3A67}

/* top bar */
.top{background:var(--white);border-bottom:1px solid var(--line)}
.top__row{display:flex;align-items:center;gap:26px;height:86px}
.top__logo{flex:none;display:block}
.top__logo img{height:58px;width:auto;max-width:none}
.top__addr{display:flex;align-items:flex-start;gap:9px;font-size:15px;font-weight:600;line-height:1.25}
.top__addr svg{width:18px;height:18px;color:var(--brand-2);margin-top:2px}
.top__addr small{display:block;font-size:12px;font-weight:600;color:var(--ink-soft)}
.hsearch{flex:1;max-width:280px;height:46px;display:flex;align-items:center;gap:10px;padding:0 18px;border-radius:60px;background:var(--wash);color:var(--ink-soft);font-size:15px;transition:box-shadow .25s ease}
.hsearch:hover{box-shadow:inset 0 0 0 1px var(--line)}
.hsearch svg{width:18px;height:18px}
.top__phone{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:19px;font-weight:700;white-space:nowrap}
.top__phone svg{width:20px;height:20px;color:var(--brand-2)}
.top__acc{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:600;white-space:nowrap}
.top__acc svg{width:20px;height:20px;color:var(--ink-soft)}
.mainnav{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;transform:translateZ(0);backface-visibility:hidden;will-change:transform}
.mainnav__row{display:flex;align-items:center;gap:30px;height:56px;font-size:15px;font-weight:600;overflow:hidden}
.mainnav a{white-space:nowrap}
.mainnav a:hover,.mainnav a.is-active{color:var(--brand)}

/* hero slider */
.slider{position:relative;background:var(--wash);overflow:hidden}
.slide{min-height:490px}
.hero-pag{position:absolute;left:0;right:0;bottom:20px;z-index:5}
.hero-pag .swiper-pagination{position:static;display:flex;gap:8px;text-align:left}
.swiper-pagination-bullet{position:relative;overflow:hidden;width:34px;height:4px;border-radius:4px;background:rgba(18,50,57,.18);opacity:1;margin:0 !important;transition:width .35s cubic-bezier(.2,.7,.2,1),background-color .35s ease}
.swiper-pagination-bullet::after{content:"";position:absolute;left:0;top:0;bottom:0;width:0;border-radius:4px;background:var(--brand-2)}
.swiper-pagination-bullet-active{width:56px}
.swiper-pagination-bullet-active::after{width:calc(var(--fill,0) * 100%)}
.slide__grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:490px;width:100%}
.slide__text{padding:48px 56px 48px max(24px,calc(50vw - 652px + 24px))}
.slide__text>*{max-width:560px}
.slide__kicker{display:block;font-size:14px;font-weight:700;color:var(--brand-2);margin-bottom:14px;letter-spacing:.03em;text-transform:uppercase}
.slide h1{margin:0 0 16px;font-size:48px;line-height:1.1;font-weight:800;letter-spacing:-.025em;color:var(--brand);text-transform:uppercase}
.slide p{margin:0 0 28px;font-size:21px;line-height:1.55;font-weight:300;color:var(--ink-soft);max-width:520px}
.slide__media{position:relative;height:100%;min-height:490px}
.slide__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide__media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--wash) 0,rgba(245,249,252,0) 30%)}
.slider .dots{position:absolute;left:0;right:0;bottom:20px;z-index:5}
.slider .dots .container{display:flex;gap:8px}
.dot{width:34px;height:4px;border-radius:4px;background:rgba(18,50,57,.16);border:0;cursor:pointer;padding:0;transition:background-color .25s ease,width .25s ease}
.dot.is-on{background:var(--brand-2);width:56px}

/* directions row */
.dirs{background:var(--white);border-bottom:1px solid var(--line)}
.dirs__row{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;padding-block:22px}
.dir{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:16px;box-shadow:0 4px 18px rgba(18,50,57,.06);will-change:transform;transition:box-shadow .35s cubic-bezier(.2,.7,.2,1),transform .35s cubic-bezier(.2,.7,.2,1)}
.dir:hover{box-shadow:0 12px 28px rgba(18,50,57,.12);transform:translateY(-2px)}
.dir svg{width:26px;height:26px;color:var(--brand-2);flex:none}
.dir b{display:block;font-size:15px;font-weight:700;line-height:1.25}
.dir span{display:block;margin-top:3px;font-size:12px;font-weight:600;color:var(--ink-soft)}

/* about — 624 | 624, фото 350 r16, кнопка outline 325×49 */
.about{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.about__media{position:relative;height:350px;border-radius:16px;overflow:hidden}
.about__media img{width:100%;height:100%;object-fit:cover}
.about:hover .about__media img{transform:scale(1.03)}
.about__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center;color:var(--brand);transition:background-color .25s ease,transform .25s ease}
.about__play:hover{background:#fff;transform:translate(-50%,-50%) scale(1.06)}
.about__play svg{width:26px;height:26px;margin-left:3px}
.about__text p{margin:0 0 16px;font-size:17px;line-height:1.65;font-weight:300;color:var(--ink-soft)}
.about__text p strong{color:var(--ink);font-weight:600}

/* rating strip */
.rating{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;align-items:center;background:var(--wash);border-radius:16px;padding:30px 34px}
.rating__main{display:flex;align-items:center;gap:16px}
.rating__main b{font-size:44px;font-weight:800;line-height:1;color:var(--brand)}
.rating__stars{display:flex;gap:3px}
.rating__stars svg{width:18px;height:18px;color:#F5A623}
.rating__main span{display:block;margin-top:6px;font-size:13px;font-weight:600;color:var(--ink-soft);line-height:1.4}
.rating__item b{display:block;font-size:26px;font-weight:800}
.rating__item span{display:block;margin-top:6px;font-size:14px;font-weight:600;color:var(--ink-soft)}

/* advantages — 3 колонки, картка h96 r16 */
.pluses{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;min-width:0}
.plus__item>span{min-width:0}
.plus__item{display:flex;align-items:center;gap:16px;min-height:96px;padding:20px 22px;border-radius:16px;background:var(--white);box-shadow:0 4px 18px rgba(18,50,57,.07);will-change:transform;transition:box-shadow .35s cubic-bezier(.2,.7,.2,1),transform .35s cubic-bezier(.2,.7,.2,1)}
.plus__item:hover{box-shadow:0 14px 32px rgba(18,50,57,.13);transform:translateY(-3px)}
.plus__ic{width:52px;height:52px;border-radius:14px;background:var(--wash);display:grid;place-items:center;color:var(--brand-2);flex:none}
.plus__ic svg{width:24px;height:24px}
.plus__item b{display:block;font-size:17px;font-weight:700;line-height:1.3}
.plus__item i{display:block;margin-top:5px;font-style:normal;font-size:14px;font-weight:400;color:var(--ink-soft);line-height:1.5}

/* green CTA — 36px текст, кнопка 286×68 r34 */
.msg{display:flex;align-items:center;justify-content:space-between;gap:40px;background:var(--brand);border-radius:16px;padding:48px;color:#fff;flex-wrap:wrap}
.msg__text{max-width:760px}
.msg p{margin:0;font-size:34px;line-height:1.3;font-weight:500}
.msg p strong{font-weight:700;white-space:nowrap}
.msg small{display:block;margin-top:12px;font-size:16px;font-weight:400;line-height:1.55;color:rgba(255,255,255,.78)}
.msg .btn--primary{background:var(--white);color:var(--brand);min-width:286px}
.msg .btn--primary:hover{background:#0B3A67;color:#fff}

/* doctors carousel — картка 296 */
.rail{padding:16px 6px 26px;margin:-16px -6px -20px;cursor:grab}
.rail .swiper-wrapper{align-items:stretch}
.rail.swiper{overflow:hidden;padding:16px 6px 26px;margin:-16px -6px -20px}
.rail .swiper-slide{height:auto}
.rail.swiper-grabbing{cursor:grabbing}
.doc{width:296px}
.doc__photo{position:relative;height:300px;border-radius:16px;overflow:hidden;background:var(--wash);margin-bottom:14px}
.doc__photo img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.doc:hover .doc__photo img{transform:scale(1.05)}
.rail .reveal{opacity:1 !important;transform:none !important}
.doc__tag{position:absolute;left:12px;top:12px;background:rgba(255,255,255,.94);border-radius:60px;padding:6px 13px;font-size:12px;font-weight:700;color:var(--brand)}
.doc b{display:block;font-size:17px;font-weight:700;line-height:1.3}
.doc span{display:block;margin-top:5px;font-size:14px;font-weight:400;color:var(--ink-soft)}
.rail-nav{display:flex;gap:10px}
.rail-btn{width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;background:var(--wash);display:grid;place-items:center;color:var(--brand);will-change:transform;transition:background-color .3s cubic-bezier(.2,.7,.2,1),color .3s cubic-bezier(.2,.7,.2,1),transform .3s cubic-bezier(.2,.7,.2,1)}
.rail-btn:hover{background:var(--brand);color:#fff;transform:translateY(-2px)}
.rail-btn svg{width:18px;height:18px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:-8px 0 30px}
.chip{display:inline-flex;align-items:center;padding:9px 18px;border-radius:60px;background:var(--wash);color:var(--ink-soft);font-size:14px;font-weight:600;text-decoration:none;transition:background-color .25s cubic-bezier(.2,.7,.2,1),color .25s cubic-bezier(.2,.7,.2,1)}
.chip:hover{background:var(--brand-2);color:#fff}
.chip.is-active{background:var(--brand);color:#fff}
.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:26px 20px}
.docs-grid .doc{width:auto}
@media (max-width:560px){.docs-grid{grid-template-columns:repeat(2,1fr);gap:20px 14px}.docs-grid .doc__photo{height:220px}}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:26px;flex-wrap:wrap}


/* reviews - trust slider */
.revs.swiper{overflow:hidden;padding:8px 6px 12px;margin:-8px -6px -12px}
.revs .swiper-slide{height:auto;display:flex}
.rev{width:100%;display:flex;flex-direction:column;gap:16px;background:var(--white);border-radius:16px;padding:26px;box-shadow:0 4px 18px rgba(18,50,57,.07);transition:box-shadow .35s cubic-bezier(.2,.7,.2,1),transform .35s cubic-bezier(.2,.7,.2,1)}
.rev:hover{box-shadow:0 14px 32px rgba(18,50,57,.13);transform:translateY(-3px)}
.rev p{margin:0;font-size:15px;line-height:1.65;font-weight:400;color:var(--ink-soft)}
.rev__top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rev__stars{display:flex;gap:3px}
.rev__stars svg{width:15px;height:15px;color:#F5A623}
.rev__src{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--ink-soft);white-space:nowrap}
.rev__src svg{width:14px;height:14px}
.rev__src--site svg{color:var(--brand)}
.rev__foot{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.rev__ava{flex:none;width:42px;height:42px;border-radius:50%;background:var(--wash);color:var(--brand);display:grid;place-items:center;font-size:16px;font-weight:800;line-height:1}
.rev__id{min-width:0;flex:1}
.rev__id b{display:block;font-size:15px;font-weight:700;line-height:1.25}
.rev__id>span{display:block;margin-top:3px;font-size:12.5px;font-weight:400;color:var(--ink-soft);line-height:1.35}
.rev__foot time{flex:none;font-size:12px;color:var(--ink-soft);white-space:nowrap;align-self:flex-start}
.gscore{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:var(--wash);border-radius:16px;padding:20px 26px;margin-bottom:20px}
.gscore__logo{width:34px;height:34px;display:grid;place-items:center;flex:none}
.gscore__logo svg{width:26px;height:26px}
.gscore>b{font-size:38px;font-weight:800;line-height:1;color:var(--brand)}
.gscore__col{display:flex;flex-direction:column;gap:5px;min-width:0}
.gscore__stars{display:flex;gap:3px}
.gscore__stars svg{width:15px;height:15px;color:#F5A623}
.gscore__col span{font-size:13px;font-weight:400;color:var(--ink-soft);line-height:1.4}
.gscore__link{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:var(--brand)}
.gscore__link svg{width:15px;height:15px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.gscore__link:hover svg{transform:translate(2px,-2px)}
.revs-nav{display:flex;gap:10px}
.revs-btn{width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;background:var(--wash);display:grid;place-items:center;color:var(--brand);transition:background-color .35s ease,color .35s ease,transform .35s ease}
.revs-btn:hover{background:var(--brand);color:#fff;transform:translateY(-2px)}
.revs-btn.swiper-button-disabled{opacity:.4;cursor:default;transform:none}
.revs-btn svg{width:18px;height:18px}
.revs-dots{display:flex;justify-content:center;gap:8px;margin-top:24px}
.revs-dots .swiper-pagination-bullet{width:26px;height:4px;border-radius:4px;background:rgba(18,50,57,.16);opacity:1;margin:0 !important;transition:width .35s ease,background-color .35s ease}
.revs-dots .swiper-pagination-bullet-active{background:var(--brand-2);width:44px}
.revs .reveal{opacity:1 !important;transform:none !important}
@media(max-width:620px){.gscore{padding:18px;gap:14px}.gscore__link{margin-left:0}.rev{padding:20px}}

/* info text block */
.info p{margin:0 0 20px;font-size:17px;line-height:1.65;font-weight:300;color:var(--ink-soft)}
.info p strong{color:var(--ink);font-weight:600}

/* blog carousel — картка 405 */
.art{width:405px;border-radius:16px;overflow:hidden;background:var(--white);box-shadow:0 4px 18px rgba(18,50,57,.07);display:flex;flex-direction:column;transition:box-shadow .25s ease,transform .25s ease}
.art:hover{box-shadow:0 14px 32px rgba(18,50,57,.13);transform:translateY(-3px)}
.art__img{height:180px;overflow:hidden}
.art__img img{width:100%;height:100%;object-fit:cover}
.art:hover .art__img img{transform:scale(1.05)}
.art__body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.art__date{font-size:13px;font-weight:600;color:var(--ink-soft)}
.art h3{font-size:18px;line-height:1.35}
.art__more{margin-top:auto;font-size:14px;font-weight:700;color:var(--brand);display:inline-flex;align-items:center;gap:8px}
.art__more svg{width:16px;height:16px;transition:transform .25s ease}
.art:hover .art__more svg{transform:translateX(4px)}

/* contacts */
.cont{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.cont__item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
.cont__item svg{width:22px;height:22px;color:var(--brand-2);flex:none;margin-top:3px}
.cont__item b{display:block;font-size:17px;font-weight:700}
.cont__item span{display:block;margin-top:4px;font-size:15px;font-weight:400;color:var(--ink-soft)}
.cont__media{border-radius:16px;overflow:hidden;height:350px;position:relative}
.cont__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* footer — 4 віджети */
.foot{background:#0B3A67;color:rgba(255,255,255,.72);padding:48px 0 26px;font-size:15px}
.foot__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.foot__logo img{height:58px;width:auto;max-width:none;margin-bottom:16px}
.foot p{margin:0 0 14px;font-size:14px;line-height:1.6}
.foot h4{margin:0 0 14px;font-size:15px;font-weight:700;color:#fff}
.foot li{margin-bottom:9px;font-size:14px}
.foot a:hover{color:#fff}
.soc{display:flex;gap:10px;margin-top:16px}
.soc a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;transition:background-color .25s ease,transform .25s ease}
.soc a:hover{background:var(--brand-2);transform:translateY(-2px)}
.soc svg{width:16px;height:16px}
.foot__bottom{margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}

@media(max-width:760px){
  html,body{overflow-x:clip;max-width:100vw}
  .pluses,.dirs__row,.rating{grid-template-columns:1fr}
  .plus__item{min-height:0}
  .rating{padding:22px}
  .rating__main b{font-size:36px}
}
@media(max-width:900px){
  .top__row{gap:14px;height:74px}
  .top .btn--sm{display:none}
  .top__phone{font-size:16px}
  .top__phone svg{width:18px;height:18px}
}
@media(max-width:560px){
  .top__phone span,.top__phone{font-size:0}
  .top__phone svg{width:22px;height:22px;font-size:0}
  .top__logo img{height:46px}
  .msg{padding:26px}
  .btn--primary{height:56px;padding:0 24px;font-size:14px}
  .section{padding:36px 0}
}
@media(max-width:1180px){
  .slide__grid,.about,.cont{grid-template-columns:1fr}
  .slide__media{min-height:260px}
  .slide__text{padding:36px 24px}
  .slide h1{font-size:30px}
  .mainnav,.hsearch,.top__addr,.top__acc{display:none}
  .dirs__row,.pluses,.rating{grid-template-columns:repeat(2,1fr)}
  .msg p{font-size:24px}
  .doc,.art{width:280px}
  .foot__grid{grid-template-columns:1fr 1fr}
  h2{font-size:24px}
  .btn--outline{min-width:0}
}

/* ---------- UX layer: reveal, hover, mobile nav ---------- */
.reveal{opacity:0;transform:translateY(8px);transition:opacity .5s ease-out,transform .5s ease-out}
.reveal.is-in{will-change:auto}
.reveal.is-in{opacity:1;transform:none}
a,button{-webkit-tap-highlight-color:transparent}
a{transition:color .45s cubic-bezier(.2,.7,.2,1)}
.btn:active{transform:translateY(0) scale(.98)}
img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.burger{display:none;width:46px;height:46px;border-radius:12px;border:0;cursor:pointer;background:rgba(0,0,0,.05);place-items:center;color:inherit;transition:background-color .45s cubic-bezier(.2,.7,.2,1)}
.burger:hover{background:rgba(0,0,0,.1)}
.burger svg{width:22px;height:22px}
.drawer{position:fixed;inset:0 0 0 auto;width:min(360px,86vw);background:#fff;z-index:1000;padding:28px 26px;display:flex;flex-direction:column;gap:8px;transform:translateX(100%);visibility:hidden;transition:transform .4s cubic-bezier(.2,.7,.2,1),visibility .4s;box-shadow:-18px 0 50px rgba(0,0,0,.16)}
.drawer.is-open{transform:none;visibility:visible}
.drawer a{font-size:17px;font-weight:600;padding:12px 0;border-bottom:1px solid rgba(0,0,0,.07)}
.drawer .btn{margin-top:18px}
.drawer__close{position:absolute;right:18px;top:18px;width:42px;height:42px;border-radius:12px;border:0;background:rgba(0,0,0,.05);display:grid;place-items:center;cursor:pointer;transition:background-color .45s cubic-bezier(.2,.7,.2,1)}
.drawer__close:hover{background:rgba(0,0,0,.12)}
.drawer__close svg{width:20px;height:20px}
.overlay{position:fixed;inset:0;background:rgba(8,26,28,.5);opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s;z-index:900}
.overlay.is-open{opacity:1;visibility:visible}
body.nav-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}img,.btn{transition:none}}
@media(max-width:1180px){.burger{display:grid}}
@media(max-width:620px){
  .top__row{height:68px;gap:10px}
  .top__logo img{height:44px}
  h2,.sec-title{overflow-wrap:anywhere}
}

@media(max-width:760px){
  html,body{overflow-x:clip;max-width:100vw}
  .pluses,.dirs__row,.rating,.foot__grid{grid-template-columns:1fr}
  .plus__item{min-height:0}
  .rating{padding:22px}
  .msg{padding:26px}
  .doc,.art{width:min(300px,78vw)}
  .rail{padding:14px 2px 22px;margin:-14px 0 -18px}
}
.btn--gap{margin-top:26px}
.lang{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--ink-soft)}
.lang a{padding:4px 6px;border-radius:8px}
.lang a.is-active{background:var(--wash);color:var(--brand)}
.mainnav__row a.is-active{color:var(--brand)}
.hsearch input{border:0;background:transparent;outline:none;font:inherit;color:inherit;width:100%}
.crumbs{border-bottom:1px solid var(--line);background:var(--white)}
.crumbs nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px 0;font-size:14px;color:var(--ink-soft)}
.crumbs nav a{color:var(--ink-soft)}
.crumbs nav a:hover{color:var(--brand)}
.crumbs nav a::after{content:"/";margin-left:10px;color:var(--line)}
.crumbs nav span{color:var(--ink)}
.lead__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.lead__text h1{font-size:38px;line-height:1.15;font-weight:800;letter-spacing:-.015em;margin:0 0 18px}
.lead__text p{font-size:18px;line-height:1.6;color:var(--ink-soft);margin:0 0 24px}
.lead__media img{width:100%;border-radius:26px;object-fit:cover;aspect-ratio:16/11}
.entry{font-size:17px;line-height:1.7;max-width:900px}
.entry h2{font-size:26px;margin:34px 0 14px}
.entry h3{font-size:20px;margin:26px 0 12px}
.entry p{margin:0 0 16px}
.entry ul,.entry ol{margin:0 0 18px;padding-left:0;list-style:none}
.entry ul li{position:relative;padding-left:30px;margin-bottom:10px}
.entry ul li::before{content:"";position:absolute;left:0;top:8px;width:14px;height:8px;border-left:2px solid var(--brand-2);border-bottom:2px solid var(--brand-2);transform:rotate(-45deg)}
.entry ol{counter-reset:n}
.entry ol li{counter-increment:n;position:relative;padding-left:34px;margin-bottom:10px}
.entry ol li::before{content:counter(n,decimal-leading-zero);position:absolute;left:0;top:0;font-weight:700;color:var(--brand-2)}
.entry table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:15px}
.entry table td,.entry table th{border:1px solid var(--line);padding:12px 14px;text-align:left}
.entry figure{margin:0 0 22px}
.entry figure img{border-radius:20px}
.entry a{color:var(--brand);text-decoration:underline}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.card{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:20px;background:var(--white);box-shadow:0 1px 0 var(--line),0 12px 30px rgba(11,58,103,.06);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.card:hover{transform:translateY(-3px);box-shadow:0 1px 0 var(--line),0 18px 40px rgba(11,58,103,.12)}
.card__ic{flex:none;width:44px;height:44px;border-radius:14px;background:var(--wash);display:grid;place-items:center;color:var(--brand-2)}
.card__ic svg{width:22px;height:22px}
.card b{font-size:16px;font-weight:700;line-height:1.3}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.tile{background:var(--white);border-radius:24px;overflow:hidden;box-shadow:0 1px 0 var(--line),0 14px 34px rgba(11,58,103,.07);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.tile:hover{transform:translateY(-4px)}
.tile__img img{width:100%;aspect-ratio:16/10;object-fit:cover}
.tile__body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px}
.tile__body b{font-size:18px;font-weight:700}
.tile__body span{font-size:15px;color:var(--ink-soft);line-height:1.5}
.prices{border-radius:24px;background:var(--white);box-shadow:0 1px 0 var(--line),0 14px 34px rgba(11,58,103,.06);overflow:hidden}
.prices__row{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:16px;padding:18px 26px;border-bottom:1px solid var(--line)}
.prices__row:last-child{border-bottom:0}
.prices__num{font-weight:700;color:var(--brand-2)}
.prices__name{font-size:16px}
.prices__val{font-size:17px;font-weight:700;color:var(--brand);white-space:nowrap}
.faq{display:flex;flex-direction:column;gap:12px}
.faq__item{background:var(--white);border-radius:20px;box-shadow:0 1px 0 var(--line),0 10px 26px rgba(11,58,103,.05);overflow:hidden}
.faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;font-size:17px;font-weight:700;cursor:pointer;list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary svg{flex:none;width:20px;height:20px;color:var(--brand-2);transition:transform .3s}
.faq__item[open] summary svg{transform:rotate(45deg)}
.faq__body{padding:0 24px 22px;font-size:16px;line-height:1.65;color:var(--ink-soft)}
.faq__body p{margin:0 0 12px}
.faq__more{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-weight:600}
.faq__more svg{width:18px;height:18px}
.arts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.arts .art{width:auto}
.docpage{display:grid;grid-template-columns:360px 1fr;gap:40px;align-items:start}
.docpage__media{position:relative;border-radius:26px;overflow:hidden}
.docpage__media img{width:100%;aspect-ratio:3/4;object-fit:cover}
.docpage__info h1{font-size:34px;line-height:1.2;font-weight:800;margin:0 0 10px}
.docpage__spec{font-size:18px;color:var(--brand);font-weight:600;margin:0 0 20px}
.docpage__meta{display:flex;flex-direction:column;gap:14px;margin:0 0 24px}
.docpage__meta li{display:flex;align-items:center;gap:12px;font-size:16px}
.docpage__meta svg{width:22px;height:22px;color:var(--brand-2)}
.article{max-width:860px}
.article h1{font-size:36px;line-height:1.2;font-weight:800;margin:8px 0 22px}
.article__img img{width:100%;border-radius:24px;margin-bottom:26px}
.pager{display:flex;gap:10px;justify-content:center;margin-top:34px}
.pager .page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border-radius:14px;background:var(--white);box-shadow:inset 0 0 0 1px var(--line);font-weight:600}
.pager .page-numbers.current{background:var(--brand);color:#fff;box-shadow:none}
.msg__form{margin-top:22px}
@media(max-width:980px){
.lead__grid{grid-template-columns:1fr}
.docpage{grid-template-columns:1fr}
.docpage__media{max-width:340px}
.lead__text h1{font-size:30px}
.prices__row{grid-template-columns:44px 1fr;row-gap:6px;padding:16px 18px}
.prices__val{grid-column:2}
}
@media(max-width:760px){
.entry table{display:block;width:100%;overflow-x:auto;white-space:nowrap}
.entry h2{font-size:22px}
.entry h3{font-size:18px}
.article h1{font-size:26px}
.crumbs nav{font-size:13px;gap:8px}
.docpage__info h1{font-size:26px}
.faq__item summary{font-size:16px;padding:16px 18px}
.faq__body{padding:0 18px 18px}
.cards{grid-template-columns:1fr}
.tiles{grid-template-columns:1fr}
.arts{grid-template-columns:1fr}
}
.lead__grid--plain{grid-template-columns:1fr;max-width:900px}
.lead__grid--plain .lead__text h1{font-size:42px}
@media(max-width:760px){.lead__grid--plain .lead__text h1{font-size:28px}}
.map{border-radius:24px;overflow:hidden;box-shadow:0 1px 0 var(--line),0 14px 34px rgba(11,58,103,.07);line-height:0}
.map iframe{display:block;width:100%}
@media(max-width:760px){.map iframe{height:320px}}

/* gallery */
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gal__item{margin:0}
.gal__item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px}
.gal__item figcaption{margin-top:10px;font-size:14px;color:var(--ink-soft)}
@media (max-width:900px){.gal{grid-template-columns:repeat(2,1fr);gap:14px}}
@media (max-width:560px){.gal{grid-template-columns:1fr}}

.gal__item a{display:block;border-radius:20px;overflow:hidden;position:relative}
.gal__item a::after{content:"";position:absolute;inset:0;background:rgba(0,87,166,0);transition:background .25s ease}
.gal__item a:hover::after{background:rgba(0,87,166,.18)}

/* contact form 7 */
.wpcf7 form.wpcf7-form{margin:0}
.wpcf7-form p{margin:0 0 14px}
.wpcf7-form label{display:block;font-size:15px;color:var(--ink-soft);margin-bottom:6px}
.wpcf7-form input[type=text],.wpcf7-form input[type=tel],.wpcf7-form input[type=email],.wpcf7-form textarea{width:100%;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:14px 18px;font:inherit;font-size:16px;color:var(--ink);transition:border-color .2s ease,box-shadow .2s ease}
.wpcf7-form input::placeholder,.wpcf7-form textarea::placeholder{color:#9AA6AE}
.wpcf7-form input[type=text]:focus,.wpcf7-form input[type=tel]:focus,.wpcf7-form input[type=email]:focus,.wpcf7-form textarea:focus{outline:0;border-color:var(--brand-2);box-shadow:0 0 0 3px rgba(85,184,190,.18)}
.wpcf7-form textarea{min-height:120px;resize:vertical}
.wpcf7-form input[type=submit],.wpcf7-form button[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-width:220px;padding:16px 32px;border:0;border-radius:999px;background:var(--brand);color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s ease}
.wpcf7-form input[type=submit]:hover,.wpcf7-form button[type=submit]:hover{background:#0B3A67}
.wpcf7-spinner{margin:0 0 0 12px}
.wpcf7-not-valid-tip{margin-top:6px;font-size:14px;color:#C0392B}
.wpcf7 form .wpcf7-response-output{margin:14px 0 0;padding:12px 16px;border-radius:12px;border-width:1px;font-size:15px}
.msg__form{margin-top:22px;background:var(--white);border:1px solid var(--line);border-radius:20px;padding:28px;max-width:720px}
.msg__form .wpcf7-form>p:last-of-type{margin-bottom:0}
@media (max-width:560px){.msg__form{padding:20px}.wpcf7-form input[type=submit],.wpcf7-form button[type=submit]{width:100%;min-width:0}}

/* modal */
body.modal-open{overflow:hidden}
.modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px}
.modal[hidden]{display:none}
.modal__backdrop{position:absolute;inset:0;background:rgba(15,32,45,.55);backdrop-filter:blur(2px)}
.modal__box{position:relative;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;background:var(--white);border-radius:24px;padding:36px}
.modal__close{position:absolute;top:14px;right:18px;width:36px;height:36px;border:0;background:transparent;font-size:30px;line-height:1;color:var(--ink-soft);cursor:pointer;border-radius:50%}
.modal__close:hover{background:var(--wash);color:var(--ink)}
.modal__title{margin:0 0 8px;font-size:24px}
.modal__note{margin:0 0 20px;font-size:15px;line-height:1.55;color:var(--ink-soft)}
.modal__form .wpcf7-form input[type=submit],.modal__form .wpcf7-form button[type=submit]{width:100%}
@media (max-width:560px){.modal__box{padding:26px 20px;border-radius:18px}}

/* ================= 1.0.6 — Mulish, більший кегль, повітря, кольорові акценти ================= */
:root{
  --tint:#EAF6F7;
  --tint-2:#F0F7FC;
  --brand-ink:#0B3A67;
  --accent:#F5A623;
}
body{font-family:Mulish,Manrope,sans-serif;font-size:clamp(17px,1.25vw,19px);line-height:1.7}
p,li{text-wrap:pretty}

/* повітря між секціями */
.section{padding:clamp(48px,5.6vw,84px) 0}
.section--tint{background:var(--tint)}
.section--wash{background:var(--wash)}
.sec-title,.sec-head{margin-bottom:clamp(26px,3vw,42px)}

/* заголовки + кольорова риска */
h2{font-size:clamp(26px,3.1vw,38px);line-height:1.22}
h3{font-size:clamp(19px,1.6vw,22px)}
.sec-title,.sec-head h2{position:relative;padding-bottom:20px}
.sec-title::after,.sec-head h2::after{content:"";position:absolute;left:0;bottom:0;width:66px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}

/* кнопки трохи більші */
.btn{font-size:16px;height:54px;padding:0 32px;border-radius:28px}
.btn--primary{height:64px;border-radius:32px;padding:0 36px}
.btn--sm{height:52px}

/* hero */
.slider{background:linear-gradient(120deg,var(--tint-2) 0%,var(--tint) 100%)}
.slide h1{font-size:clamp(30px,4vw,52px)}
.slide p{font-size:clamp(17px,1.5vw,21px);font-weight:400;color:#4A5A67}
.slide__media::after{background:linear-gradient(90deg,rgba(240,247,252,1) 0,rgba(240,247,252,0) 32%)}

/* напрямки */
.dirs{background:linear-gradient(180deg,#fff 0%,var(--tint-2) 100%)}
.dirs__row{padding-block:28px;gap:18px}
.dir{background:#fff;padding:18px 20px}
.dir b{font-size:17px}
.dir span{font-size:14px;font-weight:500}

/* переваги */
.pluses{gap:26px}
.plus__item{position:relative;overflow:hidden;min-height:118px;padding:24px 26px 24px 30px}
.plus__item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--brand),var(--brand-2))}
.plus__ic{width:60px;height:60px;border-radius:16px;background:linear-gradient(135deg,#E3F2F4,#DCEBF8);color:var(--brand)}
.plus__ic svg{width:27px;height:27px}
.plus__item b{font-size:20px}
.plus__item i{font-size:16px;color:#5A6A77}

/* про клініку */
.about{gap:44px}
.about__media{height:420px}
.about__text p{font-size:clamp(16px,1.35vw,19px);font-weight:400;color:#4A5A67;line-height:1.75}

/* CTA — градієнт замість плаского синього */
.msg{background:linear-gradient(120deg,#0057A6 0%,#0B3A67 52%,#12707A 100%);padding:clamp(30px,4vw,56px)}
.msg p{font-size:clamp(22px,2.7vw,34px)}
.msg small{font-size:17px;color:rgba(255,255,255,.85)}

/* рейтинг — біла картка на бірюзовій секції */
.section--tint .rating,.section--wash .rating{background:#fff;box-shadow:0 6px 26px rgba(18,50,57,.07)}
.rating{padding:36px 38px;gap:28px}
.rating__main b{font-size:52px}
.rating__main span{font-size:15px}
.rating__item b{font-size:32px;color:var(--brand-ink)}
.rating__item span{font-size:16px}

/* лікарі */
.doc__photo{height:330px}
.doc b{font-size:19px}
.doc span{font-size:16px;font-weight:500}
.doc__tag{font-size:13px}

/* відгуки */
.rev{padding:30px}
.rev p{font-size:17px;line-height:1.7}
.rev__id b{font-size:16px}
.rev__id>span{font-size:14px}
.section--tint .gscore,.section--wash .gscore{background:#fff}
.gscore{background:var(--tint);padding:24px 30px}
.gscore>b{font-size:44px}
.gscore__col span{font-size:15px}
.gscore__link{font-size:16px}

/* текстовий блок — вирівняний по ширині колонки */
.info{max-width:1000px}
.info p{font-size:clamp(16px,1.35vw,19px);font-weight:400;color:#4A5A67;line-height:1.8;margin-bottom:22px}

/* статті */
.art__img{height:210px}
.art__body{padding:24px 26px 28px;gap:12px}
.art__date{font-size:14px;color:var(--brand-2);font-weight:700}
.art h3{font-size:20px;line-height:1.35}
.art__more{font-size:16px}

/* контакти */
.cont{gap:44px}
.cont__item{padding:22px 0}
.cont__item b{font-size:19px}
.cont__item span{font-size:17px}
.cont__media{height:420px}

/* чіпси рубрик */
.chip{font-size:16px;padding:11px 20px}

/* підвал */
.foot{font-size:16px;padding:64px 0 30px;background:linear-gradient(150deg,#0B3A67 0%,#0C4A72 60%,#106A75 100%)}
.foot h4{font-size:17px}
.foot p,.foot li{font-size:15.5px}

@media(max-width:1180px){
  .about__media,.cont__media{height:300px}
  .doc,.art{width:300px}
  .pluses{gap:18px}
}

/* сітка відгуків на сторінці Відгуки */
.revs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.revs-grid .rev{width:auto}
@media(max-width:1180px){.revs-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.revs-grid{grid-template-columns:1fr}}

/* пакетні послуги */
.packs{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:8px 0 0}
.pack{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:16px;padding:28px;box-shadow:0 4px 18px rgba(18,50,57,.07);transition:box-shadow .35s ease,transform .35s ease}
.pack:hover{box-shadow:0 14px 32px rgba(18,50,57,.13);transform:translateY(-3px)}
.pack__price{display:inline-flex;align-self:flex-start;background:linear-gradient(120deg,var(--brand),var(--brand-2));color:#fff;font-weight:800;font-size:20px;border-radius:60px;padding:8px 20px}
.pack h3{margin:0;font-size:20px;color:var(--brand-ink)}
.pack ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.pack li{position:relative;padding-left:26px;font-size:16px;color:#4A5A67;line-height:1.5}
.pack li::before{content:"";position:absolute;left:0;top:8px;width:14px;height:8px;border-left:2.5px solid var(--brand-2);border-bottom:2.5px solid var(--brand-2);transform:rotate(-45deg)}
.pack .btn{margin-top:auto;align-self:flex-start}
@media(max-width:1180px){.packs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.packs{grid-template-columns:1fr}}
.pack p:empty,.entry p:empty{display:none}

/* ================= 1.1.0 — щільність: менше повітря, без риски під заголовками ================= */
.sec-title::after,.sec-head h2::after{display:none}
.sec-title,.sec-head h2{padding-bottom:0}
.section{padding:clamp(38px,3.8vw,58px) 0}
.sec-title,.sec-head{margin-bottom:clamp(20px,2vw,30px)}

/* лід: картинка не тягне секцію вгору-вниз */
.lead__grid{gap:36px;align-items:center}
.lead__media img{aspect-ratio:16/10;max-height:330px}
.lead__text p{margin-bottom:0}
.lead__text h1{margin-bottom:14px}

/* сторінка лікаря */
.docpage{grid-template-columns:300px 1fr;gap:36px}
.docpage__media img{aspect-ratio:4/5;max-height:380px}

/* блоки з фото */
.about{gap:36px}
.about__media,.cont__media{height:340px}
.about__text p{margin-bottom:14px}
.info p{margin-bottom:16px}

/* каруселі не додають зайвий відступ знизу */
.rail.swiper{padding-bottom:18px;margin-bottom:-6px}
.revs.swiper{padding-bottom:8px;margin-bottom:-8px}
.entry{margin-bottom:0}
.entry .note{background:var(--tint);border-left:4px solid var(--brand-2);border-radius:12px;padding:18px 22px;margin:0;font-size:16px;color:var(--ink)}

.section--tight{padding-bottom:14px}
.docpage{grid-template-columns:264px 1fr;gap:32px}
.docpage__media img{aspect-ratio:4/5;max-height:340px}
.docpage__info h1{font-size:clamp(24px,2.6vw,32px)}

.section--tight{padding-bottom:clamp(38px,3.8vw,58px)}
.docpage{align-items:start}
.docpage__media{position:sticky;top:76px}
.docpage__bio{margin-top:28px;max-width:none;font-size:17px}
.docpage__bio h2{font-size:22px;margin:26px 0 12px}
@media(max-width:900px){.docpage__media{position:static}}

.lead__media img{max-height:300px}
.lead__grid{gap:32px}

/* 1.1.3 — вимкнено fade-in на скрол: блоки не мають виглядати порожніми */
.reveal,.reveal:not(.is-in){opacity:1 !important;transform:none !important;transition:none !important}

/* кнопки всередині .entry не мають красти колір посилання */
.entry a.btn{text-decoration:none}
.entry a.btn--primary,.entry a.btn--sm{color:#fff}
.entry a.btn--primary:hover,.entry a.btn--sm:hover{color:#0B3A67}
.entry a.btn--outline{color:var(--ink)}

/* пагінація: .dots з WP не має конфліктувати зі слайдером */
.pager .page-numbers.dots{position:static;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:44px;background:none;border:0;color:var(--ink-soft)}

/* ================= 1.2.0 — правки клієнта 20.08.2026 ================= */

/* меню розтягнуте на всю ширину, а не скучковане зліва */
.mainnav__row{justify-content:space-between;gap:18px}
@media(max-width:1100px){.mainnav__row{justify-content:flex-start;gap:26px}}

/* мітка локації в шапці вирівняна по тексту */
.top__addr{align-items:center}
.top__addr svg{margin-top:0}

/* плитки напрямів: лише заголовки, іконка по центру */
.dir{align-items:center;gap:12px;padding:18px 16px;min-height:78px}
.dir>span>span{display:none}
.dir b{font-size:16px;line-height:1.25;text-wrap:balance}

/* «Про нас» на головній: фото врівень із кнопкою */
.about{align-items:stretch}
.about__media{height:auto;min-height:340px}
.about__text{display:flex;flex-direction:column}
.about__text .btn{margin-top:auto;align-self:flex-start}

/* картка лікаря: імʼя на фото (як на референсі), однакова висота карток */
.doc>a{display:block}
.doc .doc__name{position:absolute;left:0;right:0;bottom:0;margin:0;padding:38px 16px 14px;color:#fff;font-size:17px;font-weight:700;line-height:1.3;background:linear-gradient(180deg,rgba(11,58,103,0) 0%,rgba(11,58,103,.22) 45%,rgba(11,58,103,.82) 100%)}
.doc__photo{margin-bottom:12px}
.doc>a>span{display:block;margin-top:0;font-size:15px;line-height:1.5;color:var(--ink-soft);text-wrap:balance;min-height:45px}

/* кнопки під каруселями — по центру */
.rail+.btn--gap{display:flex;width:max-content;margin-inline:auto}

/* CTA: рівний перенос і кнопка не більша за текст */
.msg p{text-wrap:balance}
.msg small{text-wrap:pretty}
.msg .btn--primary{height:56px;min-width:0;padding:0 32px;font-size:16px;border-radius:28px}

/* рейтинг: рівні підписи */
.rating{align-items:start}
.rating__main{align-items:flex-start}
.rating__main>div{padding-top:2px}
.rating__main span{text-wrap:balance;max-width:24ch}
.rating__item span{text-wrap:balance}

/* відгуки: імʼя окремим рядком, запит під ним */
.rev__id{min-width:0;flex:1}
.rev__id b{display:block;font-size:16px;font-weight:700;line-height:1.3}
.rev__id>span{display:block;margin-top:4px;font-size:14px;font-weight:400;color:var(--ink-soft);line-height:1.4}
.rev p{text-wrap:pretty}

/* рівніші переноси в текстових блоках */
.about__text p,.info p,.entry p,.lead__text p,.tile__body span,.faq__body p,.pack li{text-wrap:pretty}
.sec-title,.sec-head h2,.lead__text h1,.tile__body b,.card b,.plus__item b,.plus__item i{text-wrap:balance}

/* контакти: іконки окремою колонкою, фото врівень із текстом */
.cont{align-items:stretch}
.cont__media{height:auto;min-height:360px}
.cont__item{display:grid;grid-template-columns:26px 1fr;align-items:start;gap:16px}
.cont__item svg{width:24px;height:24px;margin-top:2px}
.cont>div:first-child{display:flex;flex-direction:column}
.cont>div:first-child .btn--gap{align-self:flex-start}

/* лід внутрішніх сторінок: не «пустувато» — мʼяка плашка */
.lead__grid{align-items:center;gap:clamp(24px,3vw,40px);background:linear-gradient(120deg,var(--tint-2) 0%,var(--tint) 100%);border-radius:28px;padding:clamp(24px,3vw,40px)}
.lead__grid--plain{max-width:none;grid-template-columns:1fr}
.lead__text p{max-width:62ch;margin-bottom:0}
.lead__media img{max-height:320px;width:100%;border-radius:20px}

/* підзаголовок під заголовком блоку */
.sec-title--sub{margin-bottom:10px}
.sec-sub{margin:0 0 clamp(20px,2vw,30px);max-width:78ch;font-size:clamp(16px,1.3vw,18px);line-height:1.6;color:var(--ink-soft);text-wrap:pretty}
@media(max-width:640px){.msg p{text-wrap:pretty}.doc .doc__name{font-size:16px}}

/* 1.2.4 — текстові блоки не притиснуті до лівого краю */
.entry,.article,.info,.docpage__bio{margin-inline:auto}
.entry{max-width:1000px}
.entry figure{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.entry figure img{width:min(100%,700px);height:auto}
.entry figure figcaption{text-align:left;font-size:14px;color:var(--ink-soft)}

/* 1.2.8 — клас .search конфліктував із body.search на сторінці пошуку (body ставав flex) */

/* ================= 1.2.9 — правки клієнта 20.08.2026 (другий скрін-пакет) ================= */

/* шапка: соцмережі замість перемикача мови */
.top__soc{display:flex;align-items:center;gap:8px;flex:none}
.top__soc a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--wash);color:var(--brand);transition:background-color .3s ease,color .3s ease,transform .3s ease}
.top__soc a:hover{background:var(--brand);color:#fff;transform:translateY(-2px)}
.top__soc svg{width:19px;height:19px}
@media(max-width:1180px){.top__soc{display:none}}

/* мова — у нижньому меню (футер) і в мобільній шторці */
.foot__bottom .lang{color:rgba(255,255,255,.75)}
.foot__bottom .lang a{padding:4px 12px;border-radius:12px;background:rgba(255,255,255,.1)}
.foot__bottom .lang a:hover{background:rgba(255,255,255,.2);color:#fff}
.foot__bottom .lang a.is-active{background:var(--brand-2);color:#0B3A67}
.drawer .lang{margin-top:18px}
.drawer .lang a{border-bottom:0;padding:8px 14px;border-radius:12px;background:var(--wash)}

/* слайдер: менше повітря згори, більший текст */
.slide__text{padding-top:clamp(26px,2.6vw,36px);padding-bottom:clamp(26px,2.6vw,36px)}
.slide h1{font-size:clamp(32px,4.2vw,54px);margin-bottom:14px}
.slide p{font-size:clamp(18px,1.7vw,23px);line-height:1.5;max-width:560px;text-wrap:pretty}
.slide__text .btn{height:56px;padding:0 34px;font-size:16px}

/* плитки напрямів — трохи більші */
.dir{min-height:88px;gap:10px;padding:20px 12px}
.dir svg{width:30px;height:30px}
.dir b{font-size:17.5px}

/* CTA: заголовок у два рядки */
.msg p br{display:block}

/* рейтинг: більші цифри, підписи по центру відносно цифри */
.rating{align-items:center}
.rating__main{align-items:center;gap:18px}
.rating__main b{font-size:clamp(46px,4.8vw,64px)}
.rating__main>div{padding-top:0}
.rating__main span{font-size:16px;max-width:26ch}
.rating__item{text-align:center}
.rating__item b{font-size:clamp(34px,3.6vw,46px);line-height:1;color:var(--brand)}
.rating__item span{margin-top:10px;font-size:17px;max-width:22ch;margin-inline:auto}

/* рівніші рядки в текстових блоках головної */
.about__text p,.info p{text-wrap:balance}

/* кнопка зі стрілкою */
.btn--arrow svg{width:18px;height:18px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.btn--arrow:hover svg{transform:translateX(4px)}

/* контакти: іконки в кружечках, по центру рядка */
.cont__item{grid-template-columns:48px 1fr;align-items:center;gap:18px}
.cont__item>svg{width:22px;height:22px;padding:12px;box-sizing:content-box;border-radius:50%;background:rgba(85,184,190,.14);color:var(--brand-2);margin-top:0;align-self:center}

/* кнопки месенджерів біля телефонів */
.msgr{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.msgr__btn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px;border-radius:20px;color:#fff;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease}
.msgr__btn:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(11,58,103,.18)}
.msgr__btn svg{width:17px;height:17px;margin:0;color:#fff;flex:none}
.cont__item .msgr__btn span{display:inline;margin:0;font-size:14px;font-weight:700;color:#fff}
.msgr__btn--viber{background:#7360F2}
.msgr__btn--telegram{background:#2AABEE}
.msgr__btn--whatsapp{background:#25D366}

/* сині блоки — на пробу за проханням клієнта */
.section--blue{background:#0B3A67;color:#fff}
.section--blue .sec-title,.section--blue h2,.section--blue h3{color:#fff}
.section--blue p,.section--blue .about__text p,.section--blue .info p{color:rgba(255,255,255,.86)}
.section--blue .about__text p strong,.section--blue .info p strong{color:#fff}
.section--blue .btn--outline{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55);color:#fff}
.section--blue .btn--outline:hover{background:#fff;color:var(--brand);box-shadow:inset 0 0 0 1.5px #fff}
.section--blue .btn--sm{background:#fff;color:var(--brand)}
.section--blue .btn--sm:hover{background:var(--brand-2);color:#0B3A67}
.section--blue .cont__item{border-bottom-color:rgba(255,255,255,.18)}
.section--blue .cont__item b,.section--blue .cont__item b a{color:#fff}
.section--blue .cont__item>span>span{color:rgba(255,255,255,.82)}
.section--blue .cont__item>svg{background:rgba(255,255,255,.14);color:#fff}

/* пошук у шапці не має обрізатись */
.top__row{gap:18px}
.hsearch{max-width:230px;min-width:130px}
.top__addr{flex:none}
.top__addr>span{white-space:nowrap}
.top__row .btn--sm{flex:none;white-space:nowrap}
.top__phone{flex:none}
@media(max-width:640px){
  .cont__item{grid-template-columns:40px 1fr;gap:14px}
  .cont__item>svg{width:18px;height:18px;padding:10px}
  .cont__item b{font-size:17px;overflow-wrap:anywhere}
  .msgr__btn{height:36px;padding:0 14px}
}

/* 1.2.14 — без градієнтів: рівний фірмовий синій */
.msg{background:#0B3A67}
.foot{background:#0B3A67}
.mainnav__row .lang{margin-left:8px}
.mainnav__row .lang a{padding:5px 12px;border-radius:12px;font-size:14px}
.mainnav__row .lang a.is-active{background:var(--brand);color:#fff}
.foot__bottom .lang{display:none}
.section--blue+.foot{border-top:1px solid rgba(255,255,255,.14)}
.section--blue .btn--outline:hover,.section--blue .btn--sm{color:#0B3A67}

/* 1.2.16 — більше глибокого синього на внутрішніх сторінках */
.lead__grid{background:#0B3A67;color:#fff}
.lead__text h1{color:#fff}
.lead__text p{color:rgba(255,255,255,.86)}
.lead .crumbs a,.lead .crumbs span{color:inherit}
.section--blue .prices{box-shadow:0 18px 40px rgba(0,0,0,.18)}
.section--blue .gal__item,.section--blue .gal img{border-color:rgba(255,255,255,.2)}
.section--blue .sec-sub{color:rgba(255,255,255,.82)}
.section--blue .gal__item figcaption{color:rgba(255,255,255,.82)}
.section--blue .gscore__link{color:#fff}
.section--blue .faq__item{background:#fff}
.section--blue .faq__item,.section--blue .prices,.section--blue .tile,.section--blue .pack,.section--blue .card,.section--blue .doc,.section--blue .art{color:var(--ink)}
.section--blue .faq__q,.section--blue .faq__body,.section--blue .faq__body p{color:var(--ink)}
.section--blue .tile__body span,.section--blue .pack li{color:#4A5A67}

/* 1.2.20 — блоки-картки з іконками (повернуті зі старого сайту) */
.icards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0 30px}
.icard{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 20px;transition:box-shadow .35s ease,transform .35s ease}
.icard:hover{box-shadow:0 14px 30px rgba(18,50,57,.1);transform:translateY(-2px)}
.icard img{width:56px;height:56px;object-fit:contain}
.icard b{font-size:16px;font-weight:700;line-height:1.4;text-wrap:balance;color:var(--ink)}
.entry .icards+h2,.entry .icards+h3{margin-top:6px}
@media(max-width:900px){.icards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.icards{grid-template-columns:1fr}}

/* 1.2.21 — телефони і кнопка запису в ліді внутрішніх сторінок */
.lead__cta{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:24px}
.lead__phones{display:flex;flex-wrap:wrap;gap:10px 28px}
.lead__phones a{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:700;color:#fff}
.lead__phones a:hover{color:var(--brand-2)}
.lead__phones svg{width:20px;height:20px;color:var(--brand-2)}
.lead__cta .btn--sm{background:#fff;color:var(--brand);height:56px;padding:0 30px;border-radius:28px;font-size:16px}
.lead__cta .btn--sm:hover{background:var(--brand-2);color:#0B3A67}
@media(max-width:640px){.lead__phones a{font-size:18px}.lead__cta .btn--sm{width:100%;justify-content:center}}
.certs{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:center;margin:40px 0 0}
.certs img{max-height:80px;width:auto;height:auto;object-fit:contain}
@media(max-width:640px){.certs{gap:20px}.certs img{max-height:56px}}
.cont__item b.cont__phones{display:flex;flex-wrap:wrap;gap:6px 22px}
.tgfab{position:fixed;right:20px;bottom:20px;z-index:60;display:inline-flex;align-items:center;gap:14px;padding:12px 12px 12px 20px;border-radius:999px;background:#0B3A67;color:#fff;text-decoration:none;box-shadow:0 12px 30px rgba(11,58,103,.28);transition:transform .2s ease,box-shadow .2s ease}
.tgfab:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(11,58,103,.34);color:#fff}
.tgfab__text{font-weight:700;font-size:15px;line-height:1.25;max-width:210px}
.tgfab__ico{flex:none;width:40px;height:40px;border-radius:50%;background:#55B8BE;display:inline-flex;align-items:center;justify-content:center}
.tgfab__ico svg{width:22px;height:22px;color:#fff}
@media(max-width:900px){.tgfab{right:14px;bottom:14px;padding:10px}.tgfab__text{display:none}}

/* Клінічні дослідження */
.trials{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}
.trial{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:10px;transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease}
.trial:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(11,58,103,.10)}
.trial__status{align-self:flex-start;display:inline-flex;align-items:center;height:28px;padding:0 14px;border-radius:14px;background:var(--tint);color:#0F6E77;font-size:13px;font-weight:700;letter-spacing:.01em}
.trial__title{margin:0;font-size:21px;line-height:1.3;font-weight:700;color:var(--ink)}
.trial__target,.trial__text{margin:0;font-size:16px;line-height:1.6;color:var(--ink-soft)}
.trial__more{margin-top:auto;padding-top:8px;display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-weight:700;font-size:16px}
.trial__more svg{width:18px;height:18px}
.trial__more:hover{color:var(--brand-2)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.step{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:8px}
.step__num{font-size:15px;font-weight:800;color:var(--brand-2);letter-spacing:.08em}
.step__title{font-size:19px;line-height:1.3;font-weight:700;color:var(--ink)}
.step__text{margin:0;font-size:16px;line-height:1.6;color:var(--ink-soft)}
.msg--col{flex-direction:column;align-items:stretch}
.msg--col .msg__text{max-width:none}
.msg--col .msg__form{width:100%;max-width:none;color:var(--ink)}
.msg__form .wpcf7-list-item{margin:0}
.msg__form .wpcf7-acceptance .wpcf7-list-item-label{font-size:15px;line-height:1.5;color:var(--ink-soft)}
.msg__form input[type=file]{width:100%;padding:12px;border:1px dashed var(--line);border-radius:12px;background:var(--wash);font-size:15px}
@media(max-width:640px){.trial,.step{padding:22px}}
.section--blue .trial,.section--blue .step{color:var(--ink)}
.section--blue .trial h3,.section--blue .trial__title{color:var(--ink)}
.section--blue .trial p,.section--blue .trial__target,.section--blue .trial__text{color:var(--ink-soft)}
.section--blue .trial__more{color:var(--brand)}
.section--blue .step p,.section--blue .step__text{color:var(--ink-soft)}
.msg__form textarea{min-height:120px;height:120px}

/* лід: відступи між абзацами та кнопками */
.lead__text p + p{margin-top:14px}
.lead__text > .btn{margin-top:26px}

/* форма заявки на темному блоці */
.msg--col .msg__form{max-width:860px;margin:26px auto 0;padding:clamp(24px,3vw,36px)}
.msg--col .msg__text{text-align:center;margin:0 auto}
.msg__form .wpcf7-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.msg__form .wpcf7-form > p{margin:0}
.msg__form .wpcf7-form > p:nth-of-type(n+5){grid-column:1 / -1}
.msg__form .file-lbl{display:block;font-size:15px;font-weight:600;color:var(--ink);margin-bottom:8px}
.msg__form input[type=file]{width:100%;padding:14px 16px;border:1px dashed #B9D2E4;border-radius:12px;background:var(--wash);font:inherit;font-size:15px;color:var(--ink-soft);cursor:pointer}
.msg__form input[type=file]:hover{border-color:var(--brand-2);background:var(--tint-2)}
.msg__form input[type=file]::file-selector-button{margin-right:14px;padding:9px 18px;border:0;border-radius:999px;background:var(--brand);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .2s ease}
.msg__form input[type=file]::file-selector-button:hover{background:#0B3A67}
.msg__form .wpcf7-acceptance .wpcf7-list-item label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;margin:0;font-size:15px}
.msg__form input[type=checkbox]{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--brand);cursor:pointer}
.msg__form .wpcf7-form textarea{min-height:132px}
@media (max-width:760px){
	.msg__form .wpcf7-form{grid-template-columns:1fr}
	.msg__form .wpcf7-form > p:nth-of-type(n+1){grid-column:1 / -1}
}
.lead__text > .btn--sm{height:56px;padding:0 30px;border-radius:28px;font-size:16px;background:var(--brand-2);color:#0B3A67}
.lead__text > .btn--sm:hover{background:#fff;color:var(--brand)}
.lead__text > .btn + .lead__cta{margin-top:28px}
.page-template-page-research .lead__cta > .btn--sm{display:none}
.page-template-page-research .lead__text > .btn--sm{background:#fff;color:var(--brand)}
.page-template-page-research .lead__text > .btn--sm:hover{background:var(--brand-2);color:#0B3A67}
.scroll,[id^=zayavka],#appointment{scroll-margin-top:78px}

.rev-cta{margin-top:36px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.rev-cta__note{margin:0;font-size:15px;color:var(--ink-soft)}
.rev-form__msg{margin:0;padding:14px 18px;border-radius:12px;font-size:15px}
.rev-form__msg--ok{background:var(--tint);color:var(--ink)}
.rev-form__msg--err{background:#FDECEC;color:#A32020}
.rev-form{margin-top:20px;display:flex;flex-direction:column;gap:16px}
.rev-form__f{display:block}
.rev-form__f>span{display:block;font-size:15px;color:var(--ink-soft);margin-bottom:6px}
.rev-form input[type=text],.rev-form textarea{width:100%;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:14px 18px;font:inherit;font-size:16px;color:var(--ink);transition:border-color .2s ease,box-shadow .2s ease}
.rev-form input[type=text]:focus,.rev-form textarea:focus{outline:0;border-color:var(--brand-2);box-shadow:0 0 0 3px rgba(85,184,190,.18)}
.rev-form textarea{min-height:120px;resize:vertical}
.rev-form__rate{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.rev-form__rate-l{font-size:15px;color:var(--ink-soft)}
.rev-form__stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px}
.rev-form__stars input{position:absolute;opacity:0;width:0;height:0}
.rev-form__stars label{cursor:pointer;line-height:0;color:#D6DEE3;transition:color .2s ease}
.rev-form__stars label svg{width:26px;height:26px}
.rev-form__stars input:checked~label,.rev-form__stars label:hover,.rev-form__stars label:hover~label{color:#F5A623}
.rev-form__stars input:focus-visible+label{outline:2px solid var(--brand-2);outline-offset:2px;border-radius:4px}
.rev-form__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.rev-form .btn--sm{width:100%}
#rev-modal .modal__note{margin-bottom:14px}
.rev__src--site svg{color:var(--brand)}
@media(max-width:620px){#rev-modal .modal__box{padding:26px 20px}}

/* 1.4.3 — сторінка лікаря на мобілці: пізніші правила .docpage перебивали медіа-запит 980px */
@media(max-width:980px){
.docpage{grid-template-columns:1fr;gap:24px}
.docpage__media{max-width:340px;position:static}
.docpage__media img{aspect-ratio:4/5;max-height:none}
.docpage__bio{margin-top:20px}
}
