/* ============================================================
   Добродент — стоматология (п. Дорохово)
   Компоновка 1в1 с agami.ru (порядок и сетки секций),
   токены точные, код чистый. Контент — Добродент.
   ============================================================ */

/* ---------- Токены (точные с agami) ---------- */
:root {
  --f-main: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --c-brand:        #003569;
  --c-brand-hover:  #003F80;
  --c-brand-link:   #0052A6;
  --c-brand-04:     #0035690A;
  --c-brand-08:     #00356914;
  --c-accent:       #0FA3A3;
  --c-accent-hover: #0C8A8A;
  --c-critical:     #ED1D25;

  --c-bg-page:      #ECF2F9;
  --c-bg-white:     #ffffff;
  --c-bg-subdued:   #F5F7F9;

  --c-text:         #1D252D;
  --c-text-60:      #1D252D99;
  --c-text-40:      #1D252D66;
  --c-border:       #1D252D14;

  --section-radius:    32px;
  --block-radius:      28px;
  --block-sm-radius:   24px;
  --block-big-radius:  40px;
  --container:         1640px;
  --gap:               20px;
}
@media (max-width: 1024px) {
  :root { --section-radius: 16px; --block-radius: 12px; --block-sm-radius: 12px; --block-big-radius: 12px; }
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-main); color: var(--c-text); background: var(--c-bg-page);
  font-size: 17px; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }

/* ---------- Раскладка / примитивы agami ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 12px; }
.section { margin-bottom: var(--gap); }
.section:last-child { margin-bottom: 0; }
.section-in { background: var(--c-bg-white); border-radius: var(--section-radius); padding: clamp(20px, 3vw, 48px); }

.section-blocks { display: grid; gap: var(--gap); }
.section-blocks_cols-2 { grid-template-columns: 1fr 1fr; }
.section-blocks_cols-4 { grid-template-columns: repeat(4, 1fr); }
.section-blocks_mb-16 { margin-bottom: 16px; }
.section-blocks_mb-48 { margin-bottom: clamp(28px, 3vw, 48px); }
.section-blocks_mb-96 { margin-bottom: clamp(40px, 5vw, 96px); }

.section-block { border-radius: var(--block-radius); padding: clamp(24px, 2.5vw, 40px); }
.section-block_p-0 { padding: 0; overflow: hidden; }
.section-block_bg-subdued { background: var(--c-bg-subdued); }
.section-block_bg-brand { background: var(--c-brand); color: #fff; }
.section-block_bg-brand-04 { background: var(--c-brand-04); }
.section-block_bg-white { background: #fff; }

.section-head .section-title h2 { font-size: clamp(28px, 3.4vw, 52px); color: var(--c-brand); }
.section-head .section-desc { font-size: clamp(20px, 2vw, 30px); font-weight: 600; color: var(--c-brand); line-height: 1.25; max-width: 520px; }
.section-title_c-accent { color: var(--c-accent); }
.section-txt_c-accent { color: var(--c-accent); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px; font-weight: 600; font-size: 16px; line-height: 1;
  background: var(--c-brand); color: #fff; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background .25s ease, color .25s ease,
    transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s cubic-bezier(.22,1,.36,1);
}
/* премиальная анимация — вид в покое не меняется, всё на :hover/:active */
.btn:hover { background: var(--c-brand-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,53,105,.5); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 12px -6px rgba(0,53,105,.45); transition-duration: .08s; }
.btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
/* блик-проблеск по кнопке при наведении */
.btn::before {
  content: ""; position: absolute; top: 0; left: -85%; width: 55%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: skewX(-18deg); pointer-events: none; opacity: 0;
}
.btn:hover::before { animation: btn-sheen .85s ease; }
@keyframes btn-sheen { 0% { left: -85%; opacity: 0; } 12% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
/* оттенок тени под варианты */
.btn_style-2:hover, .s-hero-in__info-btn:hover { box-shadow: 0 10px 24px -8px rgba(15,163,163,.55); }
.btn_style-3:hover { box-shadow: 0 10px 24px -10px rgba(0,53,105,.3); }
.btn_style-4:hover { box-shadow: 0 8px 20px -10px rgba(0,53,105,.25); }
/* стрелка слегка уезжает вперёд */
.btn .ar { transition: transform .28s cubic-bezier(.22,1,.36,1); }
.btn:hover .ar { transform: translateX(4px); }
/* табы команды — лёгкий подъём */
.s-team__tab { transition: background .2s, color .2s, transform .2s; }
.s-team__tab:hover { transform: translateY(-1px); }
/* уважение к «меньше движения» и режиму слабовидящих */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .ar, .s-team__tab { transition: background .2s, color .2s; }
  .btn:hover, .s-team__tab:hover { transform: none; }
  .btn::before, .btn:hover::before { display: none; animation: none; }
  .btn:hover .ar { transform: none; }
}
html.bvi .btn::before { display: none !important; }
html.bvi .btn:hover { transform: none !important; box-shadow: none !important; }
.btn .ar { width: 18px; height: 18px; flex: none; }
.btn_style-2 { background: var(--c-accent); }       /* золото */
.btn_style-2:hover { background: var(--c-accent-hover); }
.btn_style-3 { background: #fff; color: var(--c-brand); }   /* белая на синем */
.btn_style-3:hover { background: #eaf0f7; }
.btn_style-4 { background: var(--c-brand-08); color: var(--c-brand); }  /* призрачная */
.btn_style-4:hover { background: #00356929; }
.btn_lg { padding: 19px 36px; font-size: 17px; }

/* стрелка-иконка */
.ar { display: inline-block; }
.ar::after { content: "→"; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
.header-in {
  max-width: var(--container); margin: 0 auto; background: #fff; border-radius: var(--section-radius);
  display: flex; align-items: center; gap: 28px; padding: 14px 28px; box-shadow: 0 6px 28px #00356914;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.logo__mark { width: 44px; height: 44px; border-radius: 12px; background: var(--c-brand); color: var(--c-accent); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.logo__name { font-size: 20px; color: var(--c-brand); line-height: 1; }
.logo__name span { display: block; font-size: 11px; font-weight: 500; color: var(--c-text-60); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { font-weight: 500; font-size: 16px; transition: color .2s; }
.nav a:hover { color: var(--c-brand-link); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header__phone { font-weight: 700; font-size: 19px; color: var(--c-brand); white-space: nowrap; }
.header__phone small { display: block; font-size: 12px; font-weight: 500; color: var(--c-text-40); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--c-bg-page); }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--c-brand); margin: 0 auto; position: relative; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* ============================================================
   HERO — видео-фон + один инфо-блок (как s-hero agami)
   ============================================================ */
.s-hero .section-in { position: relative; overflow: hidden; padding: 0; min-height: 560px; display: flex; }
.s-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.s-hero__video--ph { background-color: var(--c-brand); background-size: cover; background-position: center; }
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo__mark-img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff1f; border: 1px solid #ffffff33; color: #fff; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(6px); }
.s-hero .section-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, #002a55cc 0%, #00356999 45%, #00356933 100%); z-index: 1; }
.s-hero-in__info { position: relative; z-index: 2; display: flex; align-items: flex-end; width: 100%; padding: clamp(28px, 4vw, 64px); }
.s-hero-in__info-block { max-width: 640px; color: #fff; }
.s-hero-in__info-title h1 { font-size: clamp(34px, 5vw, 66px); color: #fff; line-height: 1.04; }
.s-hero-in__info-title h1 em { color: var(--c-accent); font-style: normal; }
.s-hero-in__info-desc { margin-top: 20px; font-size: clamp(17px, 1.5vw, 22px); color: #fff; max-width: 480px; }
.s-hero-in__info-btn-wrap { margin-top: 32px; }
.s-hero-in__info-btn { background: var(--c-accent); }
.s-hero-in__info-btn:hover { background: var(--c-accent-hover); }

/* ============================================================
   О КЛИНИКЕ — s-about
   ============================================================ */
.s-about__subinfo-block { display: flex; flex-direction: column; justify-content: center; min-height: 150px; }
.s-about__subinfo-title { font-size: clamp(34px, 4vw, 58px); font-weight: 800; margin-bottom: 12px; line-height: 1; }
.s-about__subinfo-desc { font-size: 17px; line-height: 1.2; }
.s-about-info { margin-top: var(--gap); align-items: stretch; }
.s-about-info__main-title { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; color: var(--c-brand); line-height: 1.35; padding-left: 28px; border-left: 4px solid var(--c-accent); }
.s-about-info__leader-c { margin-top: 28px; }
.s-about-info__leader-title { font-size: 20px; font-weight: 700; color: var(--c-text); }
.s-about-info__leader-subtitle { margin-top: 6px; color: var(--c-text-60); font-size: 15px; }
.s-about-info__secondary { margin-top: 28px; grid-template-columns: 1.4fr .9fr; align-items: center; }
.s-about-info__secondary-desc { color: var(--c-text-60); font-size: 16px; }
.s-about-info__secondary-btn-wrap { margin-top: 20px; }
.s-about-info__secondary-img-c { aspect-ratio: 1/1; background: var(--c-bg-subdued) center/cover; }
.s-about-info__img-c { height: 100%; min-height: 320px; background: linear-gradient(160deg, #e7eef6, #d7e3f0) center/cover; display: grid; place-items: center; color: var(--c-text-40); font-size: 14px; }
.ph-img { display: grid; place-items: center; color: var(--c-text-40); font-size: 13px; width: 100%; height: 100%; min-height: 120px; }

/* ============================================================
   КОМАНДА — s-team (синий блок + миниатюры + слайдер)
   ============================================================ */
.s-team__top { align-items: stretch; }
.s-team__top .section-head { display: flex; align-items: flex-end; }
.s-team__info { grid-template-columns: 1.2fr 1fr; gap: 28px; }
.s-team__info-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.s-team__info-imgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.s-team__info-img-c { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #ffffff1f; }
.s-team__info-img-c picture { width: 100%; height: 100%; display: block; }
.s-team__info-img-c img { width: 100%; height: 100%; object-fit: cover; }
.s-team__info-img-c_txt { display: grid; place-items: center; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 15px; }
.s-team__info-desc { color: #ffffffcc; font-size: 16px; }
.s-team__info-btn-wrap { margin-top: 24px; }
.s-team__cards { margin-top: var(--gap); display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
/* 5 карточек врачей: широкий — ряд из 5; средний — 2 больших + 3 меньше (2 ряда без пустот); мобайл — 1 колонка */
@media (max-width: 1100px) and (min-width: 641px) {
  .s-team__cards { grid-template-columns: repeat(6, 1fr); }
  .s-team__cards > .doctor:nth-child(1),
  .s-team__cards > .doctor:nth-child(2) { grid-column: span 3; }
  .s-team__cards > .doctor:nth-child(3),
  .s-team__cards > .doctor:nth-child(4),
  .s-team__cards > .doctor:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 640px) { .s-team__cards { grid-template-columns: 1fr; } }
.s-team__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.s-team__tab { padding: 10px 20px; border-radius: 100px; background: var(--c-bg-subdued); color: var(--c-text-60); font-weight: 600; font-size: 14px; }
.s-team__tab.active { background: var(--c-brand); color: #fff; }
.doctor { background: var(--c-bg-subdued); border-radius: var(--block-radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.doctor:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #00356914; }
.doctor__photo { aspect-ratio: 3/4; background: #dde6f0; }
.doctor__photo picture { width: 100%; height: 100%; display: block; }
.doctor__photo .ph-img { color: var(--c-text-40); }
.doctor__body { padding: 22px; }
.doctor__name { font-size: 19px; font-weight: 700; color: var(--c-brand); }
.doctor__role { color: var(--c-accent); font-size: 14px; margin-top: 6px; font-weight: 600; }
.doctor__exp { color: var(--c-text-60); font-size: 14px; margin-top: 10px; }

/* ============================================================
   ПРЕИМУЩЕСТВА — s-advantages (горизонтальный слайдер карточек)
   ============================================================ */
.s-advantages-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: var(--gap); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.s-advantages-slider::-webkit-scrollbar { height: 6px; }
.s-advantages-slider::-webkit-scrollbar-thumb { background: var(--c-brand-08); border-radius: 10px; }
.s-advantages-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.adv-nav { width: 54px; height: 54px; border-radius: 16px; background: var(--c-brand); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s, opacity .2s; }
.adv-nav svg { width: 22px; height: 22px; }
.adv-nav:hover { background: var(--c-accent); transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(15,163,163,.5); }
.adv-nav:active { transform: translateY(0); }
.adv-nav:disabled { opacity: .35; pointer-events: none; box-shadow: none; transform: none; background: var(--c-brand); }
@media (max-width: 560px) { .adv-nav { width: 48px; height: 48px; } }
.s-advantages-card { background: var(--c-bg-subdued); border-radius: var(--block-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; scroll-snap-align: start; }
.s-advantages-card_style-2 { background: var(--c-brand); color: #fff; justify-content: space-between; }
.s-advantages-card__img-c { position: relative; aspect-ratio: 16/10; background: #d7e3f0 center/cover; }
.s-advantages-card_style-2 .s-advantages-card__img-c { aspect-ratio: auto; background: none; padding: 28px 28px 0; }
.s-advantages-card__badge { display: inline-block; background: #fff; color: var(--c-brand); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 100px; margin: 16px 0 0 16px; box-shadow: 0 4px 14px #00356914; }
.s-advantages-card_style-2 .s-advantages-card__badge { background: var(--c-accent); color: #fff; margin: 0; }
.s-advantages-card__content { padding: 24px 28px 28px; flex: 1; }
.s-advantages-card__title { font-size: 21px; font-weight: 700; color: var(--c-brand); }
.s-advantages-card_style-2 .s-advantages-card__title { color: #fff; }
.s-advantages-card__title_big { font-size: clamp(22px, 2vw, 28px); }
.s-advantages-card__desc { margin-top: 12px; color: var(--c-text-60); font-size: 15px; }
.s-advantages-card_style-2 .s-advantages-card__desc { color: #ffffffcc; }

/* ============================================================
   РЕЙТИНГ — s-rating
   ============================================================ */
.s-rating__top { align-items: stretch; }
.s-rating__top .section-head { display: flex; align-items: center; }
.s-rating__info-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; margin-bottom: 22px; }
.s-rating__info-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.s-rating__info-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; background: #ffffff14; border: 1px solid #ffffff1f; border-radius: 16px; }
.s-rating__info-item .src { font-size: 15px; color: #fff; }
.s-rating__info-item .score { font-weight: 800; font-size: 22px; color: var(--c-accent); }
.s-rating__info-item .stars { color: var(--c-accent); font-size: 14px; letter-spacing: 1px; }

/* ============================================================
   УСЛУГИ — s-services (инфо + большая карточка + грид cols-4)
   ============================================================ */
.s-services__info { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.s-services__info-desc { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; color: var(--c-brand); line-height: 1.2; }
.s-services__card { display: block; overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; }
.s-services__card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px #00356914; }
.s-services__card-img-c { aspect-ratio: 16/10; background: #dde6f0 center/cover; border-radius: var(--block-sm-radius); margin-bottom: 18px; display: grid; place-items: center; color: var(--c-text-40); font-size: 13px; overflow: hidden; }
.s-services__card-img-c picture { width: 100%; height: 100%; display: block; }
.s-services__card_big { grid-row: span 1; }
.s-services__card_big .s-services__card-img-c { aspect-ratio: 16/11; }
.s-services__card-title { color: var(--c-accent); font-weight: 600; font-size: 14px; }
.s-services__card-desc { font-size: 21px; font-weight: 700; color: var(--c-brand); margin-top: 6px; }
.s-services__card_big .s-services__card-desc { font-size: clamp(24px, 2vw, 30px); }
.s-services__card-info { margin-top: 10px; color: var(--c-text-60); font-size: 15px; }
.s-services__cards { margin-top: var(--gap); }
@media (min-width: 901px) { .s-services__top { grid-template-columns: 1fr 1.1fr; } }

/* ============================================================
   ИНФО-БАННЕР — s-infoban (картинка + белый блок с акцией)
   ============================================================ */
.s-infoban__items { align-items: stretch; }
.s-infoban__item-img-c { min-height: 320px; border-radius: var(--block-radius); background: linear-gradient(160deg, var(--c-accent), #1EC4C0) center/cover; display: grid; place-items: center; color: #fff; }
.s-infoban__item_white { background: var(--c-bg-subdued); display: flex; flex-direction: column; justify-content: center; }
.s-infoban__item-subtitle { color: var(--c-accent); font-weight: 600; font-size: 15px; }
.s-infoban__item-title { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; color: var(--c-brand); margin-top: 12px; line-height: 1.15; }
.s-infoban__item-title span { color: var(--c-accent); }
.s-infoban__item-foot { margin-top: 26px; }
.s-infoban__item-foot-txt { color: var(--c-text-40); font-size: 13px; margin-bottom: 18px; }

/* ============================================================
   КОНТАКТЫ — s-contacts (карта + синий инфо-блок)
   ============================================================ */
.s-contacts__main { grid-template-columns: 1.3fr 1fr; }
.s-contacts-map { min-height: 420px; height: 100%; border-radius: var(--block-radius); background: var(--c-bg-subdued); display: grid; place-items: center; color: var(--c-text-40); overflow: hidden; }
.s-contacts-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
/* премиальный инфо-блок контактов */
.ci-rows { display: grid; }
.ci-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #ffffff1f; }
.ci-row:first-child { padding-top: 0; }
.ci-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-ic { width: 46px; height: 46px; border-radius: 13px; background: #ffffff14; display: grid; place-items: center; flex: none; color: var(--c-accent); }
.ci-ic svg { width: 22px; height: 22px; }
.ci-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ci-lbl { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #ffffff66; }
.ci-val { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.3; }
.ci-link { transition: color .2s; }
.ci-link:hover { color: var(--c-accent); }
.ci-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ci-desc { color: #ffffffcc; font-size: 15px; line-height: 1.5; max-width: 330px; }
/* контакты: две независимые колонки (карта+отзывы | инфо+рейтинг) */
.s-contacts__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); align-items: stretch; }
.s-contacts__col { display: flex; flex-direction: column; gap: var(--gap); }
.s-contacts__reviews-head { margin: 6px 0 0; }
.s-contacts__reviews-head .section-title h2 { font-size: clamp(22px, 2vw, 30px); }
.reviews-summary { display: flex; flex-direction: column; justify-content: center; }
.reviews-summary__score { font-size: clamp(48px, 6vw, 78px); font-weight: 800; color: #fff; line-height: 1; }
.reviews-summary__stars { color: var(--c-accent); font-size: 24px; letter-spacing: 3px; margin: 12px 0 8px; }
.reviews-summary__count { color: #ffffffcc; font-size: 15px; }
.reviews-summary__txt { color: #ffffffcc; font-size: 15px; margin: 18px 0 26px; line-height: 1.55; max-width: 380px; }
.reviews-summary .btn { align-self: flex-start; }
.s-contacts__reviews-wrap { overflow: hidden; }
.ya-reviews { width: 100%; height: 100%; min-height: 760px; border: 0; display: block; background: #fff; }
@media (max-width: 900px) { .s-contacts__cols { grid-template-columns: 1fr; } .ya-reviews { min-height: 640px; } }
/* страница «Статьи» */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.article-card { background: var(--c-bg-subdued); border-radius: var(--block-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #00356914; }
.article-card__img { aspect-ratio: 16/10; background: linear-gradient(160deg,#e7eef6,#d7e3f0) center/cover; display: grid; place-items: center; color: var(--c-text-40); font-size: 13px; }
.article-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card__cat { color: var(--c-accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.article-card__title { font-size: 19px; font-weight: 700; color: var(--c-brand); margin-top: 10px; line-height: 1.25; }
.article-card__txt { color: var(--c-text-60); font-size: 15px; margin-top: 10px; flex: 1; }
.article-card__more { margin-top: 16px; color: var(--c-brand-link); font-weight: 600; font-size: 15px; }
@media (max-width: 1100px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } }
.s-contacts__main-info { display: grid; gap: 16px; }
.s-contacts__main-info-top { background: var(--c-brand); color: #fff; border-radius: var(--block-sm-radius); padding: clamp(22px, 2vw, 32px); display: grid; gap: 20px; }
.s-contacts__main-info-title { display: flex; gap: 12px; font-weight: 600; }
.s-contacts__main-info-title .ic { color: var(--c-accent); font-size: 20px; }
.s-contacts__main-info-title-in { font-size: 17px; line-height: 1.3; }
.s-contacts__main-info-title-in p { color: #ffffffcc; font-weight: 400; font-size: 14px; }
.s-contacts__main-info-desc { color: #ffffffcc; font-size: 15px; }
.s-contacts__main-info-foot { flex: 1; min-height: 260px; border-radius: var(--block-sm-radius); background: linear-gradient(160deg, #e7eef6, #d7e3f0) center/cover; display: grid; place-items: center; color: var(--c-text-40); font-size: 13px; }
@media (max-width: 900px) { .s-contacts__main-info-foot { flex: 0 0 auto; min-height: 220px; } }
.s-contacts__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }

/* ---------- Форма записи ---------- */
.lead.section-in { background: var(--c-brand); color: #fff; }
.lead .section-head .section-title h2 { color: #fff; }
.lead .section-head .section-desc { color: #ffffffcc; font-weight: 400; font-size: 18px; }
.form { display: grid; gap: 14px; max-width: 460px; }
.form input[type=text], .form input[type=tel] { width: 100%; padding: 16px 20px; border-radius: 14px; border: 1px solid #ffffff29; background: #ffffff14; color: #fff; font: inherit; }
.form input::placeholder { color: #ffffff80; }
.form input:focus { outline: 2px solid var(--c-accent); }
.form__agree { font-size: 13px; color: #ffffffb0; display: flex; gap: 10px; align-items: flex-start; }
.form__agree a { color: var(--c-accent); text-decoration: underline; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

/* ---------- Подвал ---------- */
.footer { margin-top: var(--gap); }
.footer-in { background: var(--c-brand); color: #fff; border-radius: var(--section-radius); padding: clamp(32px, 4vw, 56px); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__col h4 { font-size: 15px; color: var(--c-accent); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; }
.footer__col a, .footer__col p { color: #ffffffcc; display: block; margin-bottom: 12px; font-size: 15px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #ffffff29; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #ffffff99; font-size: 13px; }
.footer__disclaimer { margin-top: 16px; color: #ffffff80; font-size: 12px; line-height: 1.5; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .section-blocks_cols-4, .s-services__cards.section-blocks_cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 900px) {
  .section-blocks_cols-2, .s-team__info, .s-about-info, .s-about-info__secondary,
  .s-contacts__main, .s-services__top, .lead__grid, .s-rating__info-items { grid-template-columns: 1fr; }
  .burger { display: grid; place-items: center; }
  .header__phone small { display: none; }
}
@media (max-width: 560px) {
  .section-blocks_cols-4, .footer__top { grid-template-columns: 1fr; }
  .header__phone { font-size: 16px; } body { font-size: 16px; }
}
