/* Правки по сверке с макетами (Дизайн/Vitafram Concept *.png). Подключается последним. */

/* ---------- Общий фон и шапка внутренних страниц ---------- */
body.inner-page{background:linear-gradient(180deg,#e6e6e6 0,#fff 90px) top/100% 102px no-repeat,#f4f4f4}
.inner-page main{background:linear-gradient(180deg,#fff 0,#fff 28px,#f4f4f4 158px) top/100% 160px no-repeat,#f4f4f4}
.inner-page .site-header{padding:21px 24px 12px;background:transparent}
.inner-page .site-header.is-scrolled{background:rgba(244,244,244,.94)}
.site-header__bar{padding-left:40px}
.site-nav a.active{color:inherit}
.site-nav a:hover{color:var(--blue)}
.site-header__logo img{height:69px}

/* ---------- Хлебные крошки и заголовок ---------- */
.page-hero,.editorial-hero{padding:70px 0 56px;background:transparent}
.breadcrumbs{padding-top:2px;margin-bottom:26px;color:#7cacfb;font-size:22px;font-weight:400;line-height:26px}
.breadcrumbs a{opacity:1;color:#7cacfb;transition:color .2s}
.breadcrumbs a:hover{color:var(--blue)}
.breadcrumbs .current{color:var(--blue)}
.page-title{font-size:72px;line-height:79px;font-weight:600;color:#333}
.page-hero+.page-section{padding-top:0}
.page-section--gray,.page-section--white{background:transparent}

/* ---------- Поиск ---------- */
.search-row{gap:8px;margin:0 0 24px}
.search-row input{height:72px;padding:0 32px;border:1px solid #cdcdcd;background:transparent;color:#333;font:600 20px 'Inter Tight',Arial}
.search-row input::placeholder{color:#949494}
.search-row button,.page-section--deep .search-row button,.locations-page .search-row--list button{display:flex;align-items:center;gap:16px;flex:none;width:175px;height:72px;justify-content:center;padding:0 24px;background:#002a3a;color:#fff;font-size:24px;font-weight:600}
.search-row button:hover{background:var(--blue)}
.search-icon{flex:none;width:20px;height:20px}

/* ---------- Подвал ---------- */
.inner-page .footer{padding-top:64px}
.instruction__title{font-size:40px;font-weight:500;letter-spacing:0}
.instruction__btn{font-weight:600;letter-spacing:0}
.instruction{background-clip:padding-box;border-bottom:1px solid rgba(255,255,255,.1)}
.social{font-size:24px;font-weight:500;letter-spacing:0}
.social__icon--mark{width:58px;height:52px;margin:0 -2px 0 0}
.social__icon--mark img{width:100%;height:100%;object-fit:contain}
.footer__links a.is-active{background:#fff;color:#333}

/* ---------- Где купить / Пройти вакцинацию ---------- */
.locations-page .segmented{width:668px;margin-top:39px;padding:8px}
.locations-page .segmented button{height:64px;padding:0 24px;font-size:22px}
.locations-page .page-hero{padding-bottom:64px}
.locations-page .page-section--deep{padding:0 0 64px;background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 285px,#002a3a 735px)}
.locations-page .map-panel{margin-bottom:0;border-radius:16px}
.locations-list-section{padding:64px 0 64px;background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 267px,#002a3a 737px)}
.locations-list-section .location-list{margin:0;border-radius:24px;background:#fff}
.location{gap:24px;min-height:166px;padding:32px;border-bottom:1px solid #ebebeb}
.location__address{color:#5c5c5c;font-size:24px;font-weight:500;line-height:1.1}
.location__name{margin-top:4px;color:#333;font-size:40px;font-weight:500;line-height:1.2}
.location__actions{gap:24px;font-size:16px}
.location__actions a{color:#333;font-weight:500;text-transform:uppercase;text-decoration:underline dotted;text-underline-offset:4px}
.location__actions a:hover{color:var(--blue);text-decoration:underline dotted}
.location__actions button{height:44px;padding:0 20px;border-radius:6px;background:#0062ff;color:#fff;font-size:16px;font-weight:500;text-transform:uppercase}
.location__actions button:hover{background:#0050d0}
.locations-list-section .search-feedback{color:#426171}

/* ---------- Специалистам ---------- */
.specialists-page main{background:linear-gradient(180deg,#fff 0,#fff 28px,#f4f4f4 158px,#f4f4f4 538px,#002a3a 948px)}
.specialists-grid .page-card{height:240px;min-height:240px;padding:44px 32px 40px;gap:16px}
.specialists-grid .page-card__title{font-size:24px;font-weight:500;line-height:1.1}
.specialists-grid .page-card .link{margin-top:auto;color:#333;font-weight:400}
.specialists-page .page-section{padding-bottom:64px}

/* ---------- Статьи ---------- */
.articles-page .card-grid{margin-top:0}
.articles-page .card-grid .page-card{min-height:440px;padding:32px 32px 42px}
.articles-page .page-card__title{margin-top:auto;font-size:24px;font-weight:500;line-height:1.1}
.articles-page .page-card .link{margin-top:14px;color:#3381ff;font-size:20px;font-weight:400}
.articles-page .page-section--gray{padding-bottom:64px}
.news-section{padding:64px 0 64px;background:linear-gradient(180deg,#fff 0,#fff 60px,#f4f4f4 160px,#f4f4f4 610px,#002a3a 1310px)!important}
.news-section .page-hero{padding:0 0 72px}
.news-list{display:block;overflow:hidden;margin-top:0;border-radius:24px;background:#fff}
.news-row{display:block;padding:44px 32px 36px;border-radius:0;border-bottom:1px solid #ebebeb;background:#fff;color:#333}
.news-row:last-child{border-bottom:0}
.news-row:hover{background:#fafafa}
.news-row__date{display:block;color:#5c5c5c;font-size:16px;font-weight:600;text-transform:uppercase}
.news-row__text{display:block;margin-top:16px;color:#333;font-size:22.5px;font-weight:500;line-height:1.1}
.news-row__excerpt{display:-webkit-box;margin-top:16px;overflow:hidden;color:#333;font-size:20px;font-weight:500;line-height:24px;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-width:1230px}
.news-row .link{margin-top:36px;color:#3381ff;font-size:20px;font-weight:400}

/* ---------- Контакты ---------- */
.contacts-page .info-grid{gap:8px}
.contacts-page .info-box{display:flex;flex-direction:column;min-height:345px;padding:40px 32px 36px;border:1px solid #ebebeb;border-radius:24px}
.contacts-page .info-box--blue{border-color:#0062ff}
.contacts-page .info-box h2{margin-bottom:16px;font-size:22px;font-weight:500}
.contacts-page .info-box--blue a{display:block;margin:0;padding:16px 0 18px;border-bottom:1px solid rgba(255,255,255,.12);font-size:40px;font-weight:500;line-height:1.1}
.contacts-page .info-box--blue a:last-child{border-bottom:0;padding-bottom:0}
.contacts-page .info-box--mail a{margin-top:16px;color:#002a3a;font-size:40px;font-weight:500}
.contacts-page .info-box--mail p{margin-top:auto;color:#5c5c5c;font-size:20px;font-weight:500}
.contacts-page .contacts-map{padding:64px 0 64px;background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 250px,#002a3a 750px)}
.contacts-page .map-panel{border-radius:16px}

/* ---------- Сотрудничество ---------- */
.coop-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.coop-chip{display:flex;align-items:center;gap:24px;height:96px;padding:0 32px;border-radius:16px;background:#0062ff;color:#fff;font-size:24px;font-weight:500}
.coop-chip svg{flex:none}
.cooperation-page .page-hero+.page-section{padding-bottom:0}
.coop-section{padding:66px 0 64px;background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 510px,#002a3a 1590px)}
.coop-experts{overflow:hidden;border:1px solid #ebebeb;border-radius:24px;background:#fff}
.coop-experts .doctor{grid-template-columns:320px 1fr;gap:24px;align-items:center;padding:48px 32px;border-bottom:1px solid #ebebeb}
.coop-experts .doctor:last-child{border-bottom:0}
.coop-experts .doctor__portrait{overflow:visible;width:320px;height:320px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.coop-experts .doctor__portrait img{width:360px;max-width:none;height:360px;margin:-2px -20px -38px;border-radius:0;object-fit:contain}
.coop-experts .doctor__city{color:#5c5c5c;font-size:16px;font-weight:500;text-transform:uppercase}
.coop-experts .doctor h3{margin:12px 0 16px;color:#333;font-size:40px;font-weight:600;line-height:1.1}
.coop-experts .doctor__tags{gap:8px}
.coop-experts .doctor__tags span{padding:6px 16px;border-radius:100px;background:#f5f5f5;color:#333;font-size:20px;font-weight:500;line-height:22px}
.coop-experts .doctor__tags .tag--lime{background:#ecfccf}
.coop-experts .doctor p{max-width:890px;margin-top:24px;color:#333;font-size:20px;font-weight:500;line-height:24px}
.coop-experts .doctor .doctor__note{margin-top:16px;color:#666;font-style:italic}
.coop-contact{position:relative;overflow:hidden;min-height:267px;margin-top:24px;padding:48px 32px 40px;border-radius:24px;background:#c0f55e url('../img/coop-hands.jpg') right center/auto 100% no-repeat;color:#333}
.coop-contact h2{font-size:22px;font-weight:500}
.coop-contact a{display:block;width:1280px;max-width:100%;padding:20px 0 16px;border-bottom:1px solid rgba(51,51,51,.12);font-size:40px;font-weight:500;line-height:1.1}
.coop-contact a:last-child{border-bottom:0;padding-bottom:0}
.coop-contact a:hover{color:var(--blue)}

/* ---------- Текстовые страницы: материал, новость, статья ---------- */
.editorial-hero{position:relative;overflow:hidden}
.editorial-hero>.container{position:relative;z-index:1}
.editorial-hero .breadcrumbs{margin-bottom:30px}
.editorial-hero__title{font-size:64px;font-weight:500;line-height:1.1;color:#333}
.editorial-hero__lead{max-width:1300px;margin-top:32px;color:#333;font-size:22px;font-weight:500;line-height:26px}
.editorial-hero__date{margin-top:48px;color:#5c5c5c;font-size:16px;font-weight:600;text-transform:uppercase}
.editorial-hero--virus{background:transparent}
.editorial-hero--virus:before{content:'';position:absolute;left:50%;top:-250px;width:700px;height:700px;margin-left:-260px;background:url('../img/virus-bg.png') center/contain no-repeat;opacity:.38;-webkit-mask-image:linear-gradient(180deg,#000 40%,transparent 88%);mask-image:linear-gradient(180deg,#000 40%,transparent 88%)}
.inner-page .editorial-hero--virus{margin-top:-102px;padding-top:172px}
.editorial-section{padding:0 0 64px}
.material-page .editorial-section{background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 680px,#002a3a 2010px)}
.news-page .editorial-section{background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 850px,#002a3a 2380px)}
.article-page .editorial-section{background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 680px,#002a3a 2010px)}
.editorial-panel{min-height:0;padding:40px 32px 52px;border:1px solid #ebebeb;border-radius:24px;background:#fff}
.editorial-block{margin-bottom:72px}
.editorial-block:last-child{margin-bottom:0}
.editorial-block h2,.news-editorial__row h2{margin-bottom:8px;color:#333;font-size:40px;font-weight:600;line-height:1.2}
.editorial-block p,.news-editorial__row p,.article-panel .editorial-block p{margin:0 0 8px;color:#333;font-size:20px;font-weight:500;line-height:24px}
.editorial-block p:last-child,.news-editorial__row p:last-child{margin-bottom:0}
.news-editorial{padding:0 32px}
.news-editorial.editorial-panel{padding-top:0;padding-bottom:0}
.news-editorial__row{grid-template-columns:616px 616px;gap:48px;align-items:start;margin:0;padding:48px 0;border-bottom:1px solid #ebebeb}
.news-editorial__row:first-child{padding-top:32px}
.news-editorial>.editorial-block{margin:0;padding:48px 0;border-bottom:1px solid #ebebeb}
.news-editorial__placeholder{min-height:0;height:616px;border:1px solid #ebebeb;border-radius:16px;background-color:#e9e9e9;background-image:linear-gradient(45deg,#f9f9f9 25%,transparent 25%),linear-gradient(-45deg,#f9f9f9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f9f9f9 75%),linear-gradient(-45deg,transparent 75%,#f9f9f9 75%);background-size:160px 160px;background-position:0 0,0 80px,80px -80px,-80px 0}
.news-editorial__placeholder--wide{height:340px;margin-top:32px}
.news-editorial__video{min-height:735px;margin:32px 0;border:1px solid #ebebeb;border-radius:16px;background:#e9e9e9}
.news-editorial__video button{display:grid;place-items:center;width:116px;height:116px;border-radius:50%;background:#888;color:#fff;font-size:44px;transition:background-color .2s,transform .2s}
.news-editorial__video button:hover{background:var(--blue);transform:scale(1.05)}

/* ---------- Вопросы и ответы ---------- */
.faq-page main{background:linear-gradient(180deg,#fff 0,#fff 500px,#f4f4f4 850px)}
.faq-page .page-hero,.faq-page .page-section--gray,.faq-page .site-header{background:transparent}
.faq-page .page-hero{padding-bottom:40px}
.faq-page .page-heading{min-height:122px}
.faq-page .info-grid{gap:8px}
.faq-page .faq-info{min-height:246px;padding:48px 32px 40px;border-radius:24px}
.faq-page .faq-info--intro{border-color:#ebebeb}
.faq-page .info-box--blue,.faq-page .info-box--dark,.faq-page .info-box--lime{border-color:transparent}
.faq-page .faq-info h2{font-size:16px;font-weight:600}
.faq-page .faq-info strong{font-size:72px;font-weight:500}
.faq-page .faq-info p{font-size:24px;font-weight:600;line-height:26px}
.faq-page .faq-info--intro p{font-size:20px;font-weight:500;line-height:24px}
.faq-page .faq-medical-text{margin-top:8px;padding:48px 32px 32px;border:1px solid #ebebeb;border-radius:24px}
.faq-page .faq-medical-text h2{margin-bottom:16px;font-size:24px;font-weight:600}
.faq-page .faq-medical-text p{max-width:none;margin:0;padding:10px 0;border-bottom:1px solid #ebebeb;font-size:20px;font-weight:500;line-height:24px}
.faq-page .faq-medical-text p:first-of-type{padding-top:0}
.faq-page .faq-medical-text p:last-of-type{border-bottom:0;padding-bottom:0}
.faq-page .faq-side{padding-bottom:40px;border:1px solid #ffc9c9;box-shadow:0 12px 32px rgba(255,90,90,.14)}
.faq-page .page-section--deep{padding:64px 0 32px;background:linear-gradient(180deg,#f4f4f4 0,#f4f4f4 370px,#002a3a 1920px)}
.faq-page .faq-list{border:1px solid #ebebeb}
.faq-item{padding:0 32px}
.faq-item summary{padding:48px 40px 16px 0;color:#333;font-size:24px;font-weight:600;line-height:1.1}
.faq-item summary:after{top:42px}
.faq-item[open]{padding-bottom:40px}
.faq-answer p,.faq-answer li{color:#333;font-size:20px;font-weight:500;line-height:24px}
.faq-answer p{padding:0;margin:0 0 8px}
.faq-answer p:last-child{margin-bottom:0}
.faq-answer ul{margin:0 0 8px;padding-left:28px}
.faq-answer .link{margin-top:32px;color:#3381ff;font-size:20px;font-weight:400}
.show-more{height:64px;margin-top:24px;padding:0;font-size:22px;font-weight:600}
.show-more:hover{background:#0050d0}
.faq-counter{margin-top:24px;color:#fff;text-align:center;font-size:20px;font-weight:600}
.faq-counter[hidden]{display:none}

@media(max-width:1439px){
  .news-editorial__row{grid-template-columns:1fr 1fr}
  .news-editorial__placeholder{height:auto;aspect-ratio:1}
  .coop-contact a{width:auto}
}
@media(max-width:1100px){
  .coop-experts .doctor{grid-template-columns:220px 1fr}
  .coop-experts .doctor__portrait{width:220px;height:220px}
  .coop-experts .doctor__portrait img{width:248px;height:248px;margin:-1px -14px -26px}
  .search-row button{width:auto}
}
@media(max-width:700px){
  .page-title{font-size:40px;line-height:1.1}
  .breadcrumbs{margin-bottom:24px;font-size:15px}
  .page-hero,.editorial-hero{padding:40px 0 32px}
  .inner-page .site-header{padding:8px 16px}
  .inner-page .editorial-hero--virus{margin-top:0;padding-top:40px}
  .editorial-hero--virus:before{top:-150px;width:420px;height:420px;margin-left:-210px}
  .editorial-hero__title{font-size:40px}
  .editorial-hero__lead{margin-top:20px;font-size:17px;line-height:1.35}
  .search-row input,.search-row button{height:54px;font-size:15px}
  .search-row button,.page-section--deep .search-row button,.locations-page .search-row--list button{width:auto;height:54px;padding:0 18px;gap:8px;font-size:16px}
  .locations-page .segmented{width:100%}
  .locations-page .segmented button{height:52px;font-size:16px}
  .location{min-height:0;padding:22px}
  .location__address{font-size:16px}
  .location__name{font-size:28px}
  .location__actions{gap:14px}
  .contacts-page .info-box{min-height:0}
  .contacts-page .info-box--blue a,.contacts-page .info-box--mail a{font-size:28px}
  .contacts-page .contacts-map{padding-top:48px}
  .coop-chips{grid-template-columns:1fr}
  .coop-chip{height:72px;font-size:18px}
  .coop-experts .doctor{grid-template-columns:1fr;gap:20px;padding:32px 20px}
  .coop-experts .doctor__portrait{width:180px;height:180px}
  .coop-experts .doctor__portrait img{width:202px;height:202px;margin:-1px -11px -21px}
  .coop-experts .doctor h3{font-size:28px}
  .coop-experts .doctor__tags span,.coop-experts .doctor p{font-size:16px;line-height:1.35}
  .coop-contact{min-height:0;padding:28px 20px;background-size:auto 100%;background-position:60% center}
  .coop-contact a{font-size:26px}
  .news-row{padding:24px 20px}
  .news-row__text{font-size:20px}
  .news-row__excerpt,.news-row .link{font-size:16px}
  .news-editorial{padding:0 20px}
  .news-editorial__row{grid-template-columns:1fr;gap:24px;padding:32px 0}
  .news-editorial__video{min-height:260px}
  .editorial-panel{padding:24px 20px}
  .editorial-block h2,.news-editorial__row h2{font-size:29px}
  .editorial-block p,.news-editorial__row p{font-size:16px;line-height:1.4}
  .faq-page .faq-info{min-height:170px;padding:24px}
  .faq-page .faq-info p{font-size:18px;line-height:1.2}
  .faq-page .faq-info--intro p{font-size:16px;line-height:1.35}
  .faq-page .faq-medical-text{padding:28px 20px}
  .faq-page .faq-medical-text h2{font-size:18px}
  .faq-page .faq-medical-text p{font-size:16px;line-height:1.4}
  .show-more{height:54px;font-size:16px}
  .faq-page .faq-info strong{font-size:40px}
  .faq-item{padding:0 20px}
  .faq-item summary{padding:28px 32px 12px 0;font-size:18px}
  .faq-item summary:after{top:22px}
  .faq-item[open]{padding-bottom:24px}
  .faq-answer p,.faq-answer li{font-size:16px;line-height:1.4}
  .instruction__title{font-size:27px}
  .social{font-size:14px}
}
