/* Prodenta — редизайн. Все классы с префиксом pd- (BEM), чтобы не конфликтовать со стилями Aspro/Битрикса. */
@font-face { font-family: Onest; src: url('../fonts/onest-cyrillic.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F; }
@font-face { font-family: Onest; src: url('../fonts/onest-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+0000-03FF, U+1E00-1EFF, U+2000-206F; }

:root {
  --c-accent: #f05a16;
  --c-accent-strong: #d2460e;   /* кнопки: контраст с белым текстом */
  --c-accent-ink: #b93f0d;      /* ссылки на светлом фоне */
  --c-accent-soft: #fdeee6;
  --c-trust: #0c6259;
  --c-trust-soft: #e9f1ec;
  --c-brand-aqua: #b7d5d1;
  --c-grey: #808d8a;
  --c-ink: #152a2a;
  --c-text: #36403d;
  --c-muted: #626e6e;
  --c-line: #e5e3de;
  --c-bg: #f7f5f1;
  --c-surface: #ffffff;
  --c-sand: #f1f0ec;
  --c-dark: #152a2a;

  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow: 0 2px 6px rgb(21 42 42 / 8%);
  --shadow-lg: 0 30px 60px -20px rgb(21 42 42 / 18%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --z-header: 50;
  --z-tabbar: 60;
  --z-drawer: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--c-text); background: var(--c-bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--c-ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.pd-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.pd-narrow { max-width: calc(880px + var(--gutter) * 2); }
.pd-icon { width: 22px; height: 22px; flex: none; }
.pd-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.pd-skip:focus { top: 12px; }

/* ---------- кнопки / ссылки ---------- */
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.pd-btn:active { transform: translateY(1px) scale(.985); }
.pd-btn--primary { background: var(--c-accent-strong); color: #fff; box-shadow: 0 8px 20px -8px rgb(216 73 15 / 60%); }
.pd-btn--primary:hover { background: var(--c-accent-ink); }
.pd-btn--ghost { background: transparent; border-color: var(--c-line); color: var(--c-ink); }
.pd-btn--ghost:hover { border-color: var(--c-ink); }
.pd-btn--light { background: #fff; color: var(--c-accent-ink); }
.pd-btn--light:hover { background: var(--c-accent-soft); }
.pd-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.pd-btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.pd-btn--block { width: 100%; }
.pd-btn .pd-icon { width: 20px; height: 20px; }

.pd-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-accent-ink); }
.pd-link .pd-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.pd-link:hover .pd-icon { transform: translateX(4px); }

.pd-round {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-line); background: var(--c-surface);
  display: grid; place-items: center; cursor: pointer; color: var(--c-ink); transition: border-color .2s, background-color .2s, opacity .2s;
}
.pd-round:hover { border-color: var(--c-ink); }
.pd-round:disabled { opacity: .35; cursor: default; }
.pd-round .pd-icon { width: 20px; height: 20px; }

.pd-eyebrow { font-size: 14px; font-weight: 600; color: var(--c-accent-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.pd-eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.pd-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--c-trust); background: var(--c-trust-soft); padding: 4px 10px; border-radius: 6px; }
.pd-accent-text { color: var(--c-accent-strong); }

/* ---------- topbar / header ---------- */
.pd-topbar { background: var(--c-surface); color: var(--c-muted); font-size: 13px; border-bottom: 1px solid var(--c-line); }
.pd-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.pd-topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.pd-topbar__item .pd-icon { width: 15px; height: 15px; color: var(--c-accent); }
.pd-topbar__note { margin-left: auto; color: var(--c-muted); font-size: 12px; }

.pd-header { position: sticky; top: 0; z-index: var(--z-header); background: rgb(255 255 255 / 92%); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.pd-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 10px 30px -20px rgb(21 42 42 / 18%); }
.pd-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.pd-header__logo { display: inline-flex; align-items: center; flex: none; }
.pd-header__logo img { width: 172px; }
.pd-header__phone { margin-left: auto; font-weight: 600; color: var(--c-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pd-header__phone:hover { color: var(--c-accent-ink); }
.pd-header__mobile-phone { display: none; }
.pd-header__burger { display: none; width: 44px; height: 44px; border: 0; background: none; place-items: center; cursor: pointer; color: var(--c-ink); margin-right: -8px; }
.pd-header__burger .pd-icon { width: 26px; height: 26px; }

.pd-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pd-nav__item { position: relative; }
.pd-nav__link { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 16px; color: var(--c-ink); transition: background-color .2s, color .2s; }
.pd-nav__link:hover { background: var(--c-sand); }
.pd-nav__link.is-active { color: var(--c-accent-ink); }
.pd-mega { position: absolute; top: 100%; left: -16px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.pd-nav__item--mega:hover .pd-mega, .pd-nav__item--mega:focus-within .pd-mega { opacity: 1; visibility: visible; transform: none; }
.pd-mega__grid { display: grid; grid-template-columns: repeat(2, 320px); gap: 4px; padding: 12px; background: var(--c-surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--c-line); }
.pd-mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-sm); transition: background-color .2s; }
.pd-mega__link:hover { background: var(--c-bg); }
.pd-mega__link .pd-icon { color: var(--c-accent); margin-top: 2px; }
.pd-mega__link b { display: block; color: var(--c-ink); font-weight: 600; }
.pd-mega__link small { display: block; color: var(--c-muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }

/* ---------- drawer (мобильное меню) ---------- */
.pd-drawer { position: fixed; inset: 0; z-index: var(--z-drawer); background: rgb(20 25 23 / 45%); }
.pd-drawer[hidden] { display: none; }
.pd-drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--c-bg); padding: 20px var(--gutter) 28px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; animation: pd-slide .3s var(--ease); }
@keyframes pd-slide { from { transform: translateX(40px); opacity: 0; } }
.pd-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.pd-drawer__close { width: 44px; height: 44px; border: 0; background: var(--c-sand); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.pd-drawer__nav { display: flex; flex-direction: column; }
.pd-drawer__nav a { font-size: 24px; font-weight: 600; color: var(--c-ink); padding: 10px 0; border-bottom: 1px solid var(--c-line); letter-spacing: -.01em; }
.pd-drawer__contacts { display: flex; flex-direction: column; gap: 6px; color: var(--c-muted); font-size: 15px; }
.pd-drawer__phone { font-size: 20px; font-weight: 600; color: var(--c-ink); }
.pd-drawer__contacts .pd-socials { margin-top: 10px; }
.pd-drawer .pd-btn { margin-top: auto; }

.pd-socials { display: flex; gap: 10px; }
.pd-socials__link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); transition: background-color .2s, color .2s, border-color .2s; }
.pd-socials__link:hover { background: var(--c-accent-strong); border-color: var(--c-accent-strong); color: #fff; }

/* ---------- секции ---------- */
.pd-section { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 132px); }
.pd-section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.pd-section--sand { background: var(--c-sand); }
.pd-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.pd-section__title { font-size: clamp(30px, 4vw, 48px); max-width: 20ch; }
.pd-section__head .pd-eyebrow { margin-bottom: 12px; }

/* ---------- hero: фирменный оранжевый, как на баннерах клиники ---------- */
/* ---------- hero: слайдер баннеров по направлениям ---------- */
.pd-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--slide-bg, var(--c-bg)); transition: background-color .8s var(--ease); }
.pd-hero[data-theme="light"], .pd-hero[data-theme="sage"] { --slide-bg: var(--c-bg); }
.pd-hero[data-theme="green"] { --slide-bg: var(--c-trust); }

.pd-slides { display: grid; position: relative; }
.pd-slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(650px, calc(100dvh - var(--header-h) - 24px), 850px);
  padding-bottom: 92px; /* место под вкладки */
  background: var(--bg); color: var(--ink);
}
.pd-slide:not(.is-active) { visibility: hidden; }
.pd-slide--light { --bg: var(--c-bg); --card-bg: var(--c-bg); --ink: var(--c-ink); --line: var(--c-line); }
.pd-slide--sage { --bg: var(--c-trust-soft); --card-bg: var(--c-trust-soft); --ink: var(--c-ink); --line: rgb(12 98 89 / 18%); }
.pd-slide--green { --bg: var(--c-trust); --card-bg: var(--c-trust); --ink: #fff; --line: rgb(255 255 255 / 22%); }

.pd-slide__media { position: absolute; inset: 5% 4% 12% 49%; z-index: 0; overflow: hidden; border-radius: var(--r-lg); }
.pd-slide__picture { display: block; width: 100%; height: 100%; }
.pd-slide__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--slide-pos, 70% 50%); }
.pd-slide--image-left .pd-slide__media { inset: 5% 49% 12% 4%; }
.pd-slide--layout-photo-card .pd-slide__media { inset: 5% 4% 12% 52%; }
.pd-slide--layout-photo-card.pd-slide--image-left .pd-slide__media { inset: 5% 52% 12% 4%; }
.pd-slide--layout-closeup .pd-slide__media { inset: 0 0 10% 44%; border-radius: 0; }
.pd-slide--layout-closeup .pd-slide__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 38%); }
.pd-slide__grid { position: relative; z-index: 1; }
.pd-slide__grid { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(24px, 4vw, 48px); }
.pd-slide__content { width: min(570px, 40vw); max-width: 100%; }
.pd-slide--layout-photo-card .pd-slide__content { max-width: 570px; margin-left: 0; padding: clamp(24px, 3vw, 44px); background: var(--card-bg); border-radius: var(--r-lg); transform: translateX(24px); }
.pd-slide--image-left .pd-slide__content { margin-left: auto; }
.pd-slide__kicker { color: var(--c-accent-ink); font-size: 15px; font-weight: 600; margin-bottom: 20px; opacity: .95; }
.pd-slide--green .pd-slide__kicker { color: #f7c5a8; }
.pd-slide__title { color: inherit; font-size: clamp(38px, 4.25vw, 68px); font-weight: 600; letter-spacing: -.03em; line-height: 1.03; }
.pd-slide__title .pd-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pd-slide__title .pd-w > span { display: inline-block; }
.pd-slide__lead { font-size: clamp(17px, 1.4vw, 20px); margin-top: 24px; max-width: 32em; }
.pd-slide__systems { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; list-style: none; margin: 22px 0 0; padding: 0; }
.pd-slide__systems li { padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.pd-slide--green .pd-slide__systems li { border-color: rgb(255 255 255 / 35%); background: rgb(255 255 255 / 11%); }
.pd-slide__systems + .pd-slide__lead { margin-top: 20px; }
.pd-slide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.pd-slide__phone { display: flex; flex-direction: column; font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }
.pd-slide__phone small { font-size: 13px; font-weight: 500; opacity: .8; }
.pd-slide__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.pd-slide__link .pd-icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.pd-slide__link:hover .pd-icon { transform: translateX(4px); }
/* кнопка слайда: тёмная на светлых фонах, оранжевая на тёмных */
.pd-btn--slide { background: var(--c-ink); color: #fff; }
.pd-btn--slide:hover { background: #000; }
.pd-btn--slide { background: var(--c-accent-strong); box-shadow: 0 8px 20px -8px rgb(216 73 15 / 45%); }
.pd-btn--slide:hover { background: var(--c-accent-ink); }

/* вкладки-индикаторы с прогрессом автопрокрутки */
.pd-hero__nav { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; z-index: 2; display: flex; align-items: center; gap: 20px; padding-bottom: 24px; color: var(--tabs-ink, #231510); transition: color .6s var(--ease); }
.pd-hero[data-theme="light"], .pd-hero[data-theme="sage"] { --tabs-ink: var(--c-ink); }
.pd-hero[data-theme="green"] { --tabs-ink: #fff; }
.pd-tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
.pd-tabs__item { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; border: 0; background: none; color: inherit; text-align: left; font-size: 14px; font-weight: 500; cursor: pointer; opacity: .65; transition: opacity .25s; }
.pd-tabs__item:hover, .pd-tabs__item.is-active { opacity: 1; }
.pd-tabs__label--mobile { display: none; }
.pd-tabs__bar { position: relative; height: 3px; border-radius: 3px; background: currentColor; opacity: 1; overflow: hidden; }
.pd-tabs__bar::before { content: ''; position: absolute; inset: 0; background: currentColor; opacity: .25; }
.pd-tabs__bar { background: none; }
.pd-tabs__fill { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); }
.pd-tabs__item.is-active .pd-tabs__fill { transform: scaleX(var(--p, 1)); }
.pd-hero__pause { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; opacity: .75; transition: opacity .2s; }
.pd-hero__pause:hover { opacity: 1; }
.pd-hero__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pd-hero__pause .pd-i-play { display: none; fill: currentColor; }
.pd-hero.is-paused .pd-i-pause { display: none; }
.pd-hero.is-paused .pd-i-play { display: block; }

/* полоса фактов под баннером */
.pd-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.pd-strip__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.pd-strip__list li, .pd-strip__list a { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--c-muted); }
.pd-strip__list li { padding: 22px 0; }
.pd-strip__list li > span, .pd-strip__list a > span { display: block; }
.pd-strip__list b { display: block; color: var(--c-ink); font-size: 15px; font-weight: 600; }
.pd-strip__list .pd-icon { color: var(--c-accent); flex: none; margin-top: 1px; }
.pd-strip__list li + li { padding-left: 24px; border-left: 1px solid var(--c-line); }
.pd-strip__list a:hover b { color: var(--c-accent-ink); }
.pd-oms-notice { background: var(--c-surface); border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: 14px; }
.pd-oms-notice .pd-container { padding-top: 12px; padding-bottom: 12px; }
.pd-oms-notice a, .pd-oms-note a { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- акция: рассрочка ---------- */
.pd-installment { padding: clamp(26px, 4vw, 48px) 0; background: var(--c-bg); }
.pd-installment__panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .7fr); min-height: 380px; overflow: hidden; border: 1px solid #ecd6c6; border-radius: var(--r-lg); background: #fff4eb; }
.pd-installment__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(28px, 5vw, 64px); }
.pd-installment__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--c-accent-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pd-installment__eyebrow::before { content: ''; width: 19px; height: 2px; border-radius: 2px; background: currentColor; }
.pd-installment h2 { max-width: 16ch; font-size: clamp(32px, 3.7vw, 52px); line-height: 1.07; }
.pd-installment h2 span { color: var(--c-accent-ink); }
.pd-installment__lead { max-width: 39ch; margin-top: 16px; color: var(--c-text); font-size: 17px; }
.pd-installment__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 24px; margin-top: 25px; }
.pd-installment__actions .pd-btn { gap: 9px; }
.pd-installment__actions .pd-icon { width: 18px; height: 18px; }
.pd-installment__actions > a { color: var(--c-ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pd-installment__note { max-width: 54ch; margin-top: 18px; color: var(--c-muted); font-size: 12px; line-height: 1.45; }
.pd-installment__visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 28px; overflow: hidden; background: var(--c-trust); color: #fff; text-align: center; }
.pd-installment__visual::before, .pd-installment__visual::after { content: ''; position: absolute; width: 245px; height: 245px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; pointer-events: none; }
.pd-installment__visual::before { top: -150px; right: -95px; }
.pd-installment__visual::after { bottom: -180px; left: -120px; }
.pd-installment__number { font-size: clamp(118px, 16vw, 210px); font-weight: 600; letter-spacing: -.1em; line-height: .78; transform: translateX(-.07em); }
.pd-installment__period { margin-top: 18px; font-size: clamp(24px, 3vw, 37px); font-weight: 600; line-height: 1; }
.pd-installment__caption { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgb(255 255 255 / 32%); color: #d7e9e4; font-size: 15px; }
@media (max-width: 800px) {
  .pd-installment__panel { grid-template-columns: 1fr; }
  .pd-installment__visual { min-height: 190px; flex-direction: row; gap: 15px; }
  .pd-installment__number { font-size: 126px; }
  .pd-installment__period { margin: 0; font-size: 26px; }
  .pd-installment__caption { margin: 0; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid rgb(255 255 255 / 32%); font-size: 13px; }
}
@media (max-width: 640px) {
  .pd-installment { padding: 18px 0 26px; }
  .pd-installment__panel { border-radius: 20px; }
  .pd-installment__content { padding: 25px 21px 23px; }
  .pd-installment__eyebrow { font-size: 11px; margin-bottom: 13px; }
  .pd-installment h2 { font-size: clamp(29px, 8vw, 38px); }
  .pd-installment__lead { font-size: 15px; }
  .pd-installment__actions { width: 100%; margin-top: 20px; }
  .pd-installment__actions .pd-btn { width: 100%; }
  .pd-installment__visual { min-height: 142px; padding: 15px; gap: 9px; }
  .pd-installment__number { font-size: 92px; }
  .pd-installment__period { font-size: 22px; }
  .pd-installment__caption { padding-left: 10px; font-size: 11px; }
}
.pd-oms-note { margin: 0 0 18px; }

.pd-hero__phone { display: flex; flex-direction: column; font-weight: 600; font-size: 20px; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.pd-hero__phone small { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.pd-hero__phone:hover { color: var(--c-accent-ink); }
.pd-btn--dark { background: var(--c-ink); color: #fff; }
.pd-btn--dark:hover { background: #000; }

/* ---------- преимущества ---------- */
.pd-adv { background: var(--c-surface); }
.pd-adv__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pd-adv__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.pd-adv__intro .pd-link { margin-top: 28px; }
.pd-adv__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pd-adv__item { padding: 28px 0 32px; border-top: 1px solid var(--c-line); }
.pd-adv__num { font-size: 14px; font-weight: 600; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.pd-adv__item h3 { font-size: 22px; margin: 0 0 10px; display: flex; gap: 12px; align-items: center; }
.pd-adv__item h3 .pd-icon { color: var(--c-accent); width: 22px; height: 22px; }
.pd-adv__item p { color: var(--c-muted); }

/* ---------- услуги ---------- */
.pd-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-svc {
  position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  background: var(--c-surface); border-radius: var(--r-md); border: 1px solid var(--c-line);
  transition: translate .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pd-svc-grid > .pd-svc:last-child { grid-column: auto; }
.pd-svc:hover { translate: 0 -4px; border-color: var(--c-accent); }
.pd-svc__photo { display: block; position: relative; height: 188px; overflow: hidden; background: var(--c-sand); }
.pd-svc__picture, .pd-svc__photo img { display: block; width: 100%; height: 100%; }
.pd-svc__photo img { object-fit: cover; object-position: center; transition: transform .5s var(--ease); }
.pd-svc:hover .pd-svc__photo img { transform: scale(1.04); }
.pd-svc__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 22px 22px; }
.pd-svc__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent-strong); display: grid; place-items: center; flex: none; }
.pd-svc__photo .pd-svc__icon { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 14px; background: rgb(255 255 255 / 94%); }
.pd-svc__icon .pd-icon { width: 26px; height: 26px; }
.pd-svc__title { display: block; font-size: 21px; margin: 0 0 8px; color: var(--c-ink); font-weight: 600; }
.pd-svc__list { display: grid; gap: 4px; margin: 0 0 18px; color: var(--c-muted); font-size: 14px; line-height: 1.5; }
.pd-svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c-accent-ink); }
.pd-svc__more .pd-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.pd-svc:hover .pd-svc__more .pd-icon { transform: translateX(4px); }

.pd-implant-promo { position: relative; display: flex; align-items: center; min-height: 340px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--c-trust); color: #fff; }
.pd-implant-promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(12 98 89 / 94%) 0%, rgb(12 98 89 / 82%) 42%, rgb(12 98 89 / 10%) 100%); }
.pd-implant-promo > img { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 75% 45%; z-index: -2; }
.pd-implant-promo__content { max-width: 560px; }
.pd-implant-promo .pd-eyebrow { color: #ffe3d1; }
.pd-implant-promo h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.pd-implant-promo__content > p:not(.pd-eyebrow) { color: rgb(255 255 255 / 88%); font-size: 17px; margin: 16px 0 24px; max-width: 34em; }
.pd-implant-promo .pd-btn .pd-icon { width: 18px; height: 18px; }

/* ---------- фича-блок (дети) ---------- */
.pd-feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); }
.pd-feature { isolation: isolate; }
.pd-feature__picture { display: block; position: relative; overflow: hidden; min-height: 420px; }
.pd-feature__img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 88% 50%; }
.pd-feature__body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.pd-feature__body > p:not(.pd-eyebrow) { color: var(--c-text); max-width: 36em; }
.pd-feature__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 8px; }
.pd-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pd-checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-ink); }
.pd-checklist .pd-icon { color: var(--c-accent); margin-top: 2px; width: 20px; height: 20px; }

/* ---------- врачи ---------- */
.pd-slider-nav { display: flex; align-items: center; gap: 10px; }
.pd-slider-nav .pd-link { margin-right: 14px; }
.pd-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.pd-slider::-webkit-scrollbar { display: none; }
.pd-slider > * { scroll-snap-align: start; }
.pd-doc { display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--r-md); overflow: hidden; }
.pd-doc__photo { aspect-ratio: 4 / 4.6; background: linear-gradient(180deg, #ebe6de, #ddd6cb); overflow: hidden; }
.pd-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .6s var(--ease); }
.pd-doc:hover .pd-doc__photo img { transform: scale(1.04); }
.pd-doc__body { padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.pd-doc__role { font-size: 14px; color: var(--c-accent-ink); font-weight: 600; }
.pd-doc__name { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.pd-doc .pd-btn { margin-top: auto; }
.pd-doc .pd-tag { margin-bottom: 8px; }
.pd-doc__body > .pd-btn { margin-top: auto; }
.pd-doc__name + .pd-btn { margin-top: 16px; }
.pd-doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pd-doc-grid .pd-doc { border: 1px solid var(--c-line); }
.pd-doc[hidden] { display: none; }
.pd-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pd-chip { border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pd-chip:hover { border-color: var(--c-ink); }
.pd-chip.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* ---------- FAQ ---------- */
.pd-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pd-faq__intro { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 18px; }
.pd-faq__intro > p:not(.pd-eyebrow) { color: var(--c-muted); }
.pd-faq__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pd-faq__item { border-bottom: 1px solid var(--c-line); }
.pd-faq__item:first-child { border-top: 1px solid var(--c-line); }
.pd-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.pd-faq__item summary::-webkit-details-marker { display: none; }
.pd-faq__item summary:hover { color: var(--c-accent-ink); }
.pd-faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-sand); transition: background-color .2s, transform .3s var(--ease); }
.pd-faq__plus::before, .pd-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--c-ink); translate: -50% -50%; border-radius: 2px; }
.pd-faq__plus::after { rotate: 90deg; transition: rotate .3s var(--ease); }
.pd-faq__item[open] .pd-faq__plus { background: var(--c-accent-soft); }
.pd-faq__item[open] .pd-faq__plus::after { rotate: 0deg; }
.pd-faq__item p { padding: 0 52px 26px 0; color: var(--c-text); max-width: 42em; }

/* ---------- запись / контакты ---------- */
.pd-booking { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pd-booking__form { padding: clamp(24px, 4vw, 48px); background: var(--c-accent-strong); color: #fff; border-radius: var(--r-lg); }
.pd-booking__form .pd-section__title { color: #fff; }
.pd-booking__lead { color: #fff; margin: 14px 0 28px; }
.pd-booking__form > .pd-form { padding: clamp(18px, 3vw, 28px); background: #fff; border-radius: var(--r-md); }
.pd-booking__info { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 48px); background: var(--c-sand); border-radius: var(--r-lg); }
.pd-contacts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pd-contacts li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.pd-contacts .pd-icon { color: var(--c-accent); margin-top: 3px; }
.pd-contacts small { display: block; font-size: 13px; color: var(--c-muted); margin-bottom: 2px; }
.pd-contacts b { font-weight: 500; color: var(--c-ink); line-height: 1.45; display: block; }
.pd-contacts a { display: block; color: var(--c-ink); font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pd-contacts a:hover { color: var(--c-accent-ink); }
.pd-map { width: 100%; flex: 1; min-height: 300px; border: 1px solid rgb(12 98 89 / 13%); border-radius: var(--r-md); background: linear-gradient(135deg, #e9f1ec, #f8f8f4); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 28px; overflow: hidden; }
.pd-map__pin { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 5px; border-radius: 16px; background: #fff; color: var(--c-trust); box-shadow: 0 7px 22px rgb(12 98 89 / 10%); }
.pd-map__pin .pd-icon { width: 25px; height: 25px; }
.pd-map__eyebrow { color: var(--c-trust); font-size: 13px; font-weight: 600; }
.pd-map__address { max-width: 24ch; color: var(--c-ink); font-size: clamp(19px, 2vw, 25px); font-weight: 600; line-height: 1.25; }
.pd-map small { display: block; max-width: 42ch; color: var(--c-muted); font-size: 12px; line-height: 1.4; }
.pd-map iframe { display: block; width: calc(100% + 56px); height: 320px; min-height: 100%; border: 0; margin: -28px; }

.pd-form { display: grid; gap: 16px; }
.pd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pd-field { display: grid; gap: 6px; }
.pd-field__label { font-size: 14px; font-weight: 500; color: var(--c-ink); }
.pd-field__label small { color: var(--c-muted); font-weight: 400; }
.pd-field__input { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-bg); font-size: 16px; transition: border-color .2s, background-color .2s; appearance: none; }
select.pd-field__input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2321' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.pd-field__input:hover { border-color: #d3ccc1; }
.pd-field__input:focus { outline: none; border-color: var(--c-accent); background-color: #fff; }
.pd-field__error { display: none; font-size: 13px; color: #b42318; }
.pd-field.is-invalid .pd-field__input { border-color: #d64545; }
.pd-field.is-invalid .pd-field__error, .pd-check__error.is-visible { display: block; }
.pd-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--c-muted); line-height: 1.45; cursor: pointer; }
.pd-check input { appearance: none; flex: none; width: 22px; height: 22px; border: 1.5px solid #cfc8bd; border-radius: 6px; background: #fff; margin: 0; cursor: pointer; transition: background-color .15s, border-color .15s; }
.pd-check input:checked { background: var(--c-accent-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--c-accent-strong); }
.pd-check a { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.pd-check__error { margin-top: -8px; }
.pd-form__success { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-sm); background: var(--c-trust-soft); color: var(--c-ink); font-size: 15px; }
.pd-form__success[hidden] { display: none; }
.pd-form__success .pd-icon { color: var(--c-trust); }
.pd-form__success a { color: var(--c-accent-ink); font-weight: 600; white-space: nowrap; }
.pd-form.is-sent > :not(.pd-form__success) { display: none; }

/* модальное окно записи */
.pd-modal { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.pd-modal::backdrop { background: rgb(20 25 23 / 50%); backdrop-filter: blur(3px); }
.pd-modal[open] { animation: pd-pop .3s var(--ease); }
@keyframes pd-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pd-modal__box { position: relative; background: var(--c-surface); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.pd-modal__title { font-size: 30px; padding-right: 48px; }
.pd-modal__lead { color: var(--c-muted); margin: 10px 0 24px; font-size: 15px; }
.pd-modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-sand); display: grid; place-items: center; cursor: pointer; }
.pd-modal__close:hover { background: var(--c-line); }

/* ---------- CTA ---------- */
.pd-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); color: #fff; background: linear-gradient(115deg, var(--c-accent-strong), var(--c-accent)); position: relative; overflow: hidden; }
.pd-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.pd-cta p { color: rgb(255 255 255 / 90%); margin-top: 10px; max-width: 34em; }
.pd-cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; flex: none; }
.pd-cta__phone { font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }

/* ---------- внутренние страницы ---------- */
.pd-pagehead { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px); }
.pd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--c-muted); margin-bottom: clamp(24px, 3vw, 40px); }
.pd-crumbs a:hover { color: var(--c-accent-ink); }
.pd-crumbs [aria-current] { color: var(--c-ink); }
.pd-pagehead__grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.pd-pagehead__title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.035em; line-height: 1.04; }
.pd-pagehead__lead { font-size: clamp(17px, 1.4vw, 20px); margin-top: 18px; max-width: 38em; color: var(--c-text); }
.pd-pagehead__aside { display: flex; align-items: center; gap: 28px; flex: none; }

.pd-subsvc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pd-subsvc__item { position: relative; padding: 26px 26px 28px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); transition: translate .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
a.pd-subsvc__item:hover { translate: 0 -3px; border-color: var(--c-accent); }
.pd-subsvc__item h3 { font-size: 20px; padding-right: 36px; }
.pd-subsvc__item p { color: var(--c-muted); margin-top: 10px; font-size: 15px; }
.pd-subsvc__arrow { position: absolute; top: 24px; right: 22px; color: var(--c-accent); }

.pd-price { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); }
.pd-price + .pd-price { margin-top: 16px; }
.pd-price__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.pd-price__head h2 { font-size: 24px; flex: 1; }
.pd-price__head .pd-link { font-size: 15px; }
.pd-price__rows { list-style: none; padding: 0; margin: 0; }
.pd-price__rows li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.pd-price__rows b { font-weight: 600; white-space: nowrap; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.pd-price__ask { color: var(--c-muted); font-weight: 500; }
.pd-note { font-size: 14px; color: var(--c-muted); margin-top: 16px; }
.pd-price-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.pd-price-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
.pd-price-nav a { padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--c-text); transition: background-color .2s; }
.pd-price-nav a:hover { background: var(--c-sand); color: var(--c-ink); }

.pd-prose { color: var(--c-text); font-size: 18px; }
.pd-prose p + p { margin-top: 1em; }
.pd-prose h2 { font-size: 28px; margin-bottom: 20px; }
.pd-prose + .pd-price { margin-top: 40px; }
.pd-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pd-steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 72px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); font-size: 17px; }
.pd-steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 10px; background: var(--c-accent-soft); color: var(--c-accent-ink); font-weight: 600; display: grid; place-items: center; }
.pd-steps b { color: var(--c-ink); }

.pd-about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pd-about__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.pd-about__media img { width: 100%; height: 115%; object-fit: cover; }

.pd-404 { text-align: left; }
.pd-404__code { font-size: clamp(96px, 16vw, 200px); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--c-accent); margin-bottom: 20px; }

/* ---------- footer ---------- */
.pd-footer { background: var(--c-dark); color: #b7c0bc; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; }
.pd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.pd-footer__brand img { width: 172px; filter: none; }
.pd-footer__brand p { margin: 20px 0 24px; max-width: 30em; color: #9aa4a0; }
.pd-footer__title { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.pd-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pd-footer__col a:hover, .pd-footer__bottom a:hover { color: #fff; }
.pd-footer__phone { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-footer .pd-socials__link { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 12%); color: #fff; }
.pd-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #8a9490; }
.pd-footer__disclaimer { font-weight: 600; letter-spacing: .02em; color: #c9d0cd; }

/* ---------- нижняя панель (мобайл) ---------- */
.pd-tabbar { display: none; }

/* ---------- движение: анимации в main.js (GSAP), здесь только reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.pd-header { transition: transform .35s var(--ease), border-color .25s, box-shadow .25s; }
.pd-header.is-hidden { transform: translateY(-100%); }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .pd-nav__link { padding: 10px 9px; font-size: 15px; }
  .pd-header__inner { gap: 16px; }
  .pd-header__phone { display: none; }
  .pd-nav { margin-left: auto; }
  .pd-slider { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .pd-doc-grid { grid-template-columns: repeat(3, 1fr); }
  .pd-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .pd-topbar__item { display: none; }
  .pd-topbar__note { margin: 0 auto; text-align: center; }
  .pd-nav, .pd-header__cta { display: none; }
  .pd-header__mobile-phone { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 50%; color: var(--c-accent-strong); background: var(--c-accent-soft); }
  .pd-header__mobile-phone .pd-icon { width: 20px; height: 20px; }
  .pd-header__burger { display: grid; margin-left: auto; }
  .pd-header__logo img { width: 148px; }

  .pd-hero__grid, .pd-adv__grid, .pd-faq, .pd-feature, .pd-booking, .pd-about, .pd-price-layout { grid-template-columns: 1fr; }
  .pd-slide { display: block; min-height: 0; padding: 0; }
  .pd-slide:not(.is-active) { position: absolute; inset: 0; }
  .pd-slide__media, .pd-slide--image-left .pd-slide__media,
  .pd-slide--layout-photo-card .pd-slide__media,
  .pd-slide--layout-photo-card.pd-slide--image-left .pd-slide__media,
  .pd-slide--layout-closeup .pd-slide__media { inset: 0 0 auto; width: 100%; height: var(--slide-mobile-height, 300px); max-height: none; border-radius: 0; }
  .pd-slide__media::after, .pd-slide--layout-closeup .pd-slide__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--bg) 35%, transparent) 86%, var(--bg) 100%); }
  .pd-slide__img { object-position: var(--slide-pos-mobile, var(--slide-pos, 70% 50%)); }
  .pd-slide__grid { padding-top: calc(var(--slide-mobile-height, 300px) - 64px); padding-bottom: 0; }
  .pd-slide__content, .pd-slide--image-left .pd-slide__content, .pd-slide--layout-photo-card .pd-slide__content { width: auto; max-width: none; margin: 0 calc(var(--gutter) * -1); padding: 20px var(--gutter) 8px; background: var(--bg); border-radius: 22px 22px 0 0; transform: none; }
  .pd-slide--green .pd-slide__content { color: #fff; }
  .pd-slide--green .pd-slide__content h1, .pd-slide--green .pd-slide__content h2 { color: #fff; }
  .pd-hero__nav { position: relative; left: auto; right: auto; padding-top: 0; padding-bottom: 4px; gap: 10px; margin-top: -20px; }
  .pd-hero__pause { width: 34px; height: 34px; }
  .pd-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-width: 0; overflow: visible; gap: 8px; padding-bottom: 3px; }
  .pd-tabs::-webkit-scrollbar { display: none; }
  .pd-tabs__item { min-width: 0; max-width: none; white-space: normal; text-align: center; align-items: stretch; font-size: 11px; gap: 7px; }
  .pd-tabs__label--desktop { display: none; }
  .pd-tabs__label--mobile { display: block; }
  .pd-strip__list { grid-template-columns: 1fr 1fr; }
  .pd-strip__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pd-strip__list li:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .pd-adv__intro, .pd-faq__intro { position: static; }
  .pd-adv__item:nth-child(even) { transform: none; }
  .pd-svc-grid { grid-template-columns: 1fr 1fr; }
  .pd-svc--wide { grid-row: auto; grid-column: 1 / -1; min-height: 240px; }
  .pd-feature__picture { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
  .pd-feature__picture { min-height: 0; }
  .pd-feature__img { position: static; width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 10; object-position: center; transform: none; }
  .pd-price-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .pd-price-nav a { white-space: nowrap; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px; }
  .pd-pagehead__grid { flex-direction: column; align-items: flex-start; }
  .pd-cta { flex-direction: column; align-items: flex-start; }

  /* нижняя панель быстрых действий */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .pd-tabbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tabbar); background: rgb(255 255 255 / 96%); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .pd-tabbar__item { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--c-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--c-ink); cursor: pointer; border-radius: 14px; }
  .pd-tabbar__item .pd-icon { width: 20px; height: 20px; color: var(--c-accent-strong); }
  .pd-tabbar__item--accent { background: var(--c-accent-strong); border-color: var(--c-accent-strong); color: #fff; }
  .pd-tabbar__item--accent .pd-icon { color: #fff; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pd-topbar { font-size: 11px; }
  .pd-topbar__inner { min-height: 30px; }
  .pd-topbar__note { font-size: 11px; }
  .pd-section__head { flex-direction: column; align-items: flex-start; }
  .pd-slider-nav .pd-round { display: none; }
  .pd-slide__actions { gap: 16px; margin-top: 20px; }
  .pd-slide__actions .pd-btn { width: 100%; }
  .pd-slide__media, .pd-slide--layout-photo-card .pd-slide__media { height: clamp(400px, 124vw, 500px); }
  .pd-slide__grid { padding-top: calc(clamp(400px, 124vw, 500px) - 64px); }
  .pd-slide__title { font-size: 34px; }
  .pd-slide__lead { margin-top: 14px; font-size: 16px; }
  .pd-slide__systems { gap: 7px; margin-top: 16px; }
  .pd-slide__systems li { padding: 6px 10px; font-size: 12px; }
  .pd-slide__systems + .pd-slide__lead { margin-top: 15px; }
  .pd-slide__kicker { margin-bottom: 12px; }
  .pd-strip__list { grid-template-columns: 1fr; }
  .pd-strip__list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); }
  .pd-strip__list li { padding: 14px 0; }
  .pd-adv__list { grid-template-columns: 1fr; }
  .pd-adv__item { padding: 22px 0; }
  .pd-adv__item h3 { margin-top: 10px; }
  .pd-svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .pd-svc { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0; }
  .pd-svc__photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .pd-svc__photo img { object-position: center; }
  .pd-svc__body { padding: 16px 18px 18px; }
  .pd-svc__photo .pd-svc__icon { width: 44px; height: 44px; right: auto; left: 10px; bottom: 10px; border-radius: 13px; }
  .pd-svc__photo .pd-svc__icon .pd-icon { width: 25px; height: 25px; }
  .pd-svc__body { padding: 16px 14px; }
  .pd-svc__title { font-size: 18px; line-height: 1.22; margin: 0 0 8px; }
  .pd-svc__list { font-size: 14px; line-height: 1.4; margin-bottom: 10px; }
  .pd-svc__more { font-size: 15px; gap: 6px; }
  .pd-svc__more .pd-icon { width: 18px; height: 18px; }
  .pd-implant-promo { min-height: 0; display: block; padding: 0 22px 24px; background: var(--c-trust); }
  .pd-implant-promo > img { width: 100%; height: 260px; inset: 0 0 auto; object-position: 68% 42%; -webkit-mask-image: linear-gradient(180deg, #000 54%, transparent 100%); mask-image: linear-gradient(180deg, #000 54%, transparent 100%); }
  .pd-implant-promo::before { background: linear-gradient(180deg, transparent 28%, rgb(12 98 89 / 14%) 58%, transparent 100%); }
  .pd-implant-promo__content { position: relative; margin-top: 210px; }
  .pd-implant-promo h2 { font-size: 30px; }
  .pd-implant-promo__content > p:not(.pd-eyebrow) { font-size: 15px; }
  .pd-slider { grid-auto-columns: 74%; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
  .pd-doc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pd-doc__body { padding: 14px 14px 16px; }
  .pd-doc__name { font-size: 16px; }
  .pd-doc__role { font-size: 13px; }
  .pd-doc-grid .pd-btn { width: 100%; padding: 0 10px; }
  .pd-contacts, .pd-form__row { grid-template-columns: 1fr; }
  .pd-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pd-footer__brand, .pd-footer__grid > :last-child { grid-column: 1 / -1; }
  .pd-footer__col { font-size: 14px; }
  .pd-faq__item summary { font-size: 17px; padding: 20px 0; }
  .pd-faq__item p { padding-right: 0; }
  .pd-faq__contacts .pd-btn { width: 100%; }
  .pd-price__head { flex-wrap: wrap; }
  .pd-price__head h2 { font-size: 20px; }
  .pd-price__head .pd-link { width: 100%; }
  .pd-price__rows li { font-size: 15px; gap: 12px; }
  .pd-pagehead__aside { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .pd-pagehead__aside .pd-btn { width: 100%; }
  .pd-cta__actions, .pd-cta__actions .pd-btn { width: 100%; }
  .pd-feature__actions .pd-btn { width: 100%; }
  .pd-steps li { padding: 18px 18px 18px 64px; font-size: 16px; }
  .pd-footer__bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .pd-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter); }
  .pd-filter::-webkit-scrollbar { display: none; }
  .pd-chip { white-space: nowrap; }
  .pd-doc .pd-tag { font-size: 12px; }
}

/* юридические тексты */
.pd-legal h2 { font-size: 22px; margin: 36px 0 12px; }
.pd-legal a { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.pd-legal li + li { margin-top: 12px; }

/* Согласие на аналитику */
.pd-footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.pd-footer__legal button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font-size: inherit; }
.pd-footer__legal button:hover { color: #fff; }
.pd-cookie-panel[hidden] { display: none; }
.pd-cookie-panel { position: fixed; z-index: 100; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); max-width: 880px; margin-inline: auto; display: flex; align-items: center; gap: 24px; padding: 22px 24px; border: 1px solid var(--c-line); border-radius: 20px; background: #fff; box-shadow: 0 16px 54px rgb(21 42 42 / 18%); }
.pd-cookie-panel__copy { min-width: 0; flex: 1; }
.pd-cookie-panel h2 { font-size: 19px; line-height: 1.25; }
.pd-cookie-panel p { margin-top: 7px; color: var(--c-text); font-size: 14px; line-height: 1.5; }
.pd-cookie-panel__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 9px; font-size: 13px; }
.pd-cookie-panel__links a { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.pd-cookie-panel__actions { flex: 0 0 205px; display: grid; gap: 9px; }
.pd-cookie-panel__actions .pd-btn { min-height: 43px; padding: 10px 12px; font-size: 13px; white-space: normal; line-height: 1.2; }
@media (max-width: 650px) {
  .pd-cookie-panel { display: block; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 96px); overflow: auto; padding: 17px; border-radius: 18px; }
  .pd-cookie-panel h2 { font-size: 17px; }
  .pd-cookie-panel p { font-size: 13px; }
  .pd-cookie-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
  .pd-cookie-panel__actions .pd-btn { min-height: 46px; }
}
@media (max-width: 370px) { .pd-cookie-panel__actions { grid-template-columns: 1fr; } }

/* ---------- исправления по аудиту вёрстки (12.10.2026) ---------- */
/* 1. Поля форм: тёмный текст независимо от цвета блока-родителя (в оранжевом блоке наследовался белый) */
.pd-field__input { color: var(--c-ink); }

/* 7. Страница 404: отступы между текстом, кнопкой и ссылкой */
.pd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* 4. Баннер: фото выровнено по сетке сайта, а не по ширине экрана */
@media (min-width: 961px) {
  .pd-slide { --edge: max(var(--gutter), calc((100% - var(--container)) / 2)); }
  .pd-slide__media { inset: 5% var(--edge) 12% calc(50% + 12px); }
  .pd-slide--image-left .pd-slide__media { inset: 5% calc(50% + 12px) 12% var(--edge); }
  .pd-slide--layout-photo-card .pd-slide__media { inset: 5% var(--edge) 12% calc(50% + 40px); }
  .pd-slide--layout-photo-card.pd-slide--image-left .pd-slide__media { inset: 5% calc(50% + 40px) 12% var(--edge); }
}

/* 2. Меню «Услуги» на 961–1180px: привязано к правому краю меню и не выходит за экран */
@media (min-width: 961px) and (max-width: 1180px) {
  .pd-nav { position: relative; }
  .pd-nav__item--mega { position: static; }
  .pd-mega { left: auto; right: 0; }
}

@media (max-width: 960px) {
  /* 5. Вкладки слайдера не наезжают на ссылку под кнопкой */
  .pd-slide__content, .pd-slide--image-left .pd-slide__content, .pd-slide--layout-photo-card .pd-slide__content { min-width: 0; padding-bottom: 30px; }
  .pd-slide__title, .pd-slide__lead, .pd-slide__actions { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .pd-slide__phone { min-width: 0; overflow-wrap: anywhere; }
  .pd-tabs { flex: 1 1 0; width: 0; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: initial; grid-auto-columns: auto; }
  .pd-tabs__item { font-size: 12px; }
  /* 9. Прайс не шире экрана на 320px */
  .pd-price-layout { grid-template-columns: minmax(0, 1fr); }
  /* 11. Зоны нажатия не меньше 44px, без сдвига вёрстки */
  .pd-header__logo { min-height: 44px; }
  .pd-link, .pd-slide__link { padding-block: 10px; margin-block: -10px; }
}

@media (max-width: 640px) {
  .pd-hero__nav { width: 100%; max-width: 100%; gap: 8px; }
  .pd-tabs { gap: 6px; }
  .pd-tabs__item { overflow-wrap: anywhere; }
  .pd-hero__pause { flex: 0 0 34px; }
  /* 9. Длинные слова в заголовках страниц переносятся по слогам */
  .pd-pagehead__title { font-size: clamp(28px, 9.6vw, 36px); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}
