/* ProSmile Center — стили сайта.
   Значения перенесены 1:1 из прототипа Claude Design.
   Пропс device (desktop/mobile) заменён реальным медиа-запросом на 860px. */

:root {
  --navy: #16233f;
  --navy-deep: #101a30;
  --gold: #c6a25a;
  --gold-dark: #b8923f;
  --gold-darker: #a07e34;
  --ink: #1c2540;
  --muted: #5b6478;
  --muted-2: #8089a0;
  --muted-3: #8fa0bd;
  --line: #efe9dd;
  --line-2: #e3ddcf;
  --line-3: #e7e0d2;
  --cream: #faf8f3;

  /* «desktop» из прототипа */
  --h1: 54px;
  --h2: 38px;
  --lead: 19px;
  --sect: 94px;
  --cpad: 40px;
  --hero-pt: 74px;
  --hero-pb: 66px;
  --hero-img: 500px;
}

@media (max-width: 860px) {
  :root {
    /* «mobile» из прототипа */
    --h1: 33px;
    --h2: 25px;
    --lead: 15.5px;
    --sect: 52px;
    --cpad: 20px;
    --hero-pt: 40px;
    --hero-pb: 36px;
    --hero-img: 300px;
  }
}

html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: Rubik, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

input, select, button, textarea { font-family: inherit; }

@keyframes psFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes psFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.ps-container { max-width: 1180px; margin: 0 auto; padding: 0 var(--cpad); }
.ps-mark { display: block; flex: none; }
.ps-eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.ps-section { padding: var(--sect) 0; scroll-margin-top: 84px; }
.ps-h2 { font-size: var(--h2); font-weight: 700; letter-spacing: -0.6px; margin: 0; color: var(--navy); }

/* ---------- header ---------- */

.ps-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.ps-header__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px;
}
.ps-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.ps-logo__text { display: flex; flex-direction: column; line-height: 1.04; }
.ps-logo__name { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -0.2px; }
.ps-logo__sub { font-size: 11px; font-weight: 500; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }

.ps-nav { display: flex; align-items: center; gap: 30px; }
.ps-nav a { text-decoration: none; color: #3a4258; font-size: 15px; font-weight: 500; letter-spacing: 0.1px; }
.ps-nav a:hover { color: var(--navy); }

.ps-header__right { display: flex; align-items: center; gap: 16px; flex: none; }
.ps-langs { display: flex; align-items: center; gap: 2px; padding: 3px; background: #f4f1ea; border-radius: 9px; }
.ps-lang {
  border: none; cursor: pointer; border-radius: 7px; font-size: 12.5px; font-weight: 600;
  padding: 6px 11px; transition: all .15s; background: transparent; color: var(--muted);
}
.ps-lang.is-active { background: var(--navy); color: #fff; }

.ps-btn-book {
  text-decoration: none; background: var(--navy); color: #fff; font-size: 14px;
  font-weight: 600; padding: 11px 20px; border-radius: 10px; white-space: nowrap;
}

.ps-burger {
  flex: none; width: 44px; height: 44px; border: 1px solid var(--line-3); background: #fff;
  border-radius: 11px; display: none; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; cursor: pointer;
}
.ps-burger span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Меню сворачивается в бургер раньше, чем меняется типографика: шесть пунктов
   навигации, переключатель языков и кнопка записи не помещаются в 72px-шапку. */
@media (max-width: 1100px) {
  .ps-burger { display: flex; }
  .ps-nav, .ps-header__right { display: none; }
}

/* ---------- мобильное меню ---------- */

.ps-menu {
  position: fixed; inset: 0; z-index: 80; background: #fff; padding: 22px;
  overflow-y: auto; animation: psFade .25s ease;
}
.ps-menu[hidden] { display: none; }
.ps-menu__top { display: flex; align-items: center; justify-content: space-between; height: 50px; margin-bottom: 18px; }
.ps-menu__title { font-size: 18px; font-weight: 700; color: var(--navy); }
.ps-menu__close {
  width: 42px; height: 42px; border: 1px solid var(--line-3); background: #fff;
  border-radius: 11px; font-size: 20px; color: var(--navy); cursor: pointer;
}
.ps-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.ps-menu__nav a {
  text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 600;
  padding: 15px 6px; border-bottom: 1px solid #f1ece1;
}
.ps-menu__langs { display: flex; gap: 8px; margin: 22px 0; }
.ps-lang--big {
  border: 1px solid var(--line-2); cursor: pointer; border-radius: 10px; font-size: 15px;
  font-weight: 600; padding: 11px 20px; background: #fff; color: var(--navy);
}
.ps-lang--big.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ps-menu__book {
  display: block; text-align: center; text-decoration: none; background: var(--navy);
  color: #fff; font-size: 16px; font-weight: 600; padding: 16px; border-radius: 12px;
}

/* ---------- герой: общее ---------- */

.ps-hero { padding: var(--hero-pt) 0 var(--hero-pb); }
.ps-hero h1 {
  font-size: var(--h1); line-height: 1.06; font-weight: 700; letter-spacing: -1px;
  margin: 0 0 20px; color: var(--navy); text-wrap: balance;
}
.ps-hero h1 .hi { color: var(--gold); }
.ps-hero__lead { font-size: var(--lead); color: var(--muted); margin: 0 0 30px; max-width: 480px; }
.ps-stats { display: flex; flex-wrap: wrap; gap: 34px; }
.ps-stat__value { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.ps-stat__label { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

/* Фото заполняют рамку целиком; кадрирование смещено вверх, чтобы не срезать лица. */
.ps-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-img--hero { object-position: 50% 16%; }
.ps-img--portrait { object-position: 50% 14%; }

.ps-cta-primary {
  text-decoration: none; background: var(--navy); color: #fff; font-size: 15.5px; font-weight: 600;
  padding: 15px 28px; border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(22, 35, 63, .5);
}
.ps-cta-secondary {
  text-decoration: none; background: #fff; color: var(--navy); font-size: 15.5px; font-weight: 600;
  padding: 15px 26px; border-radius: 12px; border: 1px solid var(--line-2);
}

/* ---------- герой V1 «Сплит» ---------- */

.ps-hero--v1 { background: linear-gradient(180deg, #fbfaf6 0%, #ffffff 100%); overflow: hidden; }
.ps-hero--v1 .ps-container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ps-hero__col { flex: 1 1 380px; min-width: 300px; }
.ps-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: #fff;
  border: 1px solid #ecdfbf; border-radius: 100px; margin-bottom: 22px;
}
.ps-hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ps-hero__badge span:last-child {
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-darker);
}
.ps-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 38px; }
.ps-hero__media { flex: 1 1 340px; min-width: 290px; position: relative; }
.ps-hero__frame {
  position: relative; border-radius: 24px; overflow: hidden; height: var(--hero-img);
  background: linear-gradient(145deg, #1d2d4f, #16233f); border: 1px solid var(--line-3);
}
.ps-hero__frame-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, transparent, rgba(22, 35, 63, .55));
}
.ps-rating {
  position: absolute; bottom: 22px; inset-inline-start: -14px; background: #fff; border-radius: 16px;
  padding: 14px 18px; box-shadow: 0 18px 40px -18px rgba(22, 35, 63, .45);
  display: flex; align-items: center; gap: 12px; animation: psFloat 5s ease-in-out infinite;
}
.ps-rating__star {
  width: 42px; height: 42px; border-radius: 12px; background: #fbf3df;
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 20px;
}
.ps-rating__value { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1; }
.ps-rating__label { font-size: 12px; color: var(--muted-2); }

/* ---------- герой V2 «Центр» ---------- */

.ps-hero--v2 { background: var(--navy); position: relative; overflow: hidden; }
.ps-hero--v2 .ps-container { position: relative; }
.ps-hero--v2 .ps-eyebrow { margin-bottom: 18px; letter-spacing: 2.5px; }
.ps-hero--v2 h1 { color: #fff; line-height: 1.05; }
.ps-hero--v2 .ps-hero__lead { color: #aebbd4; margin: 0 auto 32px; max-width: 520px; }
.ps-hero__glow {
  position: absolute; top: -120px; inset-inline-end: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 162, 90, .22), transparent 70%);
}
.ps-hero__center { text-align: center; max-width: 760px; margin: 0 auto; }
.ps-quickbar {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(198, 162, 90, .28); border-radius: 18px;
  padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  max-width: 760px; margin: 0 auto; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ps-quickbar__field { flex: 1 1 180px; }
.ps-quickbar__field--sm { flex: 1 1 130px; }
.ps-quickbar__label { font-size: 11px; color: var(--muted-3); margin-bottom: 6px; letter-spacing: .5px; }
.ps-quickbar__value {
  background: #fff; border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--navy); font-weight: 500;
}
.ps-quickbar__cta {
  flex: 0 0 auto; text-decoration: none; background: var(--gold); color: var(--navy);
  font-size: 15px; font-weight: 700; padding: 13px 26px; border-radius: 10px;
}
.ps-hero--v2 .ps-stats { justify-content: center; gap: 40px; margin-top: 40px; }
.ps-hero--v2 .ps-stat { text-align: center; }
.ps-hero--v2 .ps-stat__value { color: #fff; }
.ps-hero--v2 .ps-stat__label { color: var(--muted-3); }

/* ---------- герой V3 «Редакторский» ---------- */

.ps-hero--v3 { background: #fff; }
.ps-hero--v3 .ps-container {
  display: flex; flex-wrap: wrap; gap: 0; align-items: stretch;
  border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(22, 35, 63, .4);
}
.ps-hero__panel {
  flex: 1 1 320px; min-width: 300px; background: var(--navy); padding: 48px 42px;
  display: flex; flex-direction: column; justify-content: center;
}
.ps-hero__rule { width: 46px; height: 3px; background: var(--gold); margin-bottom: 24px; }
.ps-hero--v3 .ps-eyebrow { margin-bottom: 16px; }
.ps-hero--v3 h1 { color: #fff; margin-bottom: 18px; }
.ps-hero--v3 .ps-hero__lead { color: #aebbd4; max-width: none; }
.ps-hero__panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ps-cta-gold {
  text-decoration: none; background: var(--gold); color: var(--navy); font-size: 15px;
  font-weight: 700; padding: 14px 26px; border-radius: 11px;
}
.ps-cta-ghost {
  text-decoration: none; background: transparent; color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 22px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .25);
}
.ps-hero__editorial-media {
  flex: 1 1 320px; min-width: 290px; position: relative;
  background: linear-gradient(145deg, #e9e3d4, #f7f3ea); min-height: var(--hero-img);
}

/* ---------- услуги ---------- */

.ps-services { background: #fff; }
.ps-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.ps-head h2 { margin-bottom: 14px; }
.ps-head p { font-size: 16px; color: var(--muted); margin: 0; }
.ps-grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.ps-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ps-card:hover {
  transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(22, 35, 63, .35); border-color: #e6d9b8;
}
.ps-card__icon {
  width: 56px; height: 56px; border-radius: 15px; background: #fbf3df; display: flex;
  align-items: center; justify-content: center; color: var(--gold-dark); margin-bottom: 20px;
}
.ps-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 9px; color: var(--navy); }
.ps-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; line-height: 1.55; }
.ps-card__link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  color: var(--gold-dark); font-size: 14px; font-weight: 600;
}
[dir="rtl"] .ps-card__link span { transform: scaleX(-1); }

/* ---------- о клинике ---------- */

.ps-about { background: var(--cream); }
.ps-about .ps-container { display: flex; flex-wrap: wrap; gap: 54px; align-items: center; }
.ps-about__col { flex: 1 1 380px; min-width: 300px; }
.ps-about__col h2 { margin-bottom: 18px; }
.ps-about__body { font-size: 16px; color: var(--muted); margin: 0 0 26px; line-height: 1.6; }
.ps-bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ps-bullet { display: flex; align-items: center; gap: 11px; }
.ps-bullet__check {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.ps-bullet span:last-child { font-size: 14.5px; color: #2b3450; font-weight: 500; }
.ps-about__media { flex: 1 1 320px; min-width: 280px; }
.ps-about__photo {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 320px;
  background: linear-gradient(145deg, #dfe6f0, #f1f4f9); color: #7d92b8; border: 1px solid var(--line-3);
}
/* flex: 0 0 100% — полоса с интерьером всегда переносится на свою строку */
.ps-about__band {
  flex: 0 0 100%; position: relative; height: 420px; border-radius: 22px;
  overflow: hidden; border: 1px solid var(--line-3);
}
.ps-img--room { object-position: 50% 62%; }
.ps-about__band-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, transparent, rgba(22, 35, 63, .28));
}
@media (max-width: 860px) { .ps-about__band { height: 220px; border-radius: 18px; } }

.ps-about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.ps-about__stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ps-about__stat .ps-stat__value { font-size: 24px; }
.ps-about__stat .ps-stat__label { font-size: 12.5px; }

/* ---------- врачи ---------- */

.ps-doctors { background: #fff; }
.ps-doctors .ps-head { max-width: 600px; margin-bottom: 46px; }
/* Колонки заданы явно, а не через auto-fit: восемь карточек в четыре колонки
   дают два ровных ряда, а auto-fit оставлял бы хвост из одной-двух. */
.ps-grid-doctors { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 560px)  { .ps-grid-doctors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px)  { .ps-grid-doctors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .ps-grid-doctors { grid-template-columns: repeat(4, 1fr); } }
.ps-doctor { text-align: center; }
.ps-doctor__photo {
  position: relative; border-radius: 18px; overflow: hidden; height: 280px;
  background: linear-gradient(160deg, #e9e3d4, #f5f1e8); color: #b79c63;
  margin-bottom: 16px; border: 1px solid var(--line); gap: 10px;
}
/* карточка врача, чьё фото ещё не прислали */
.ps-doctor__soon {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}
.ps-doctor__monogram {
  width: 78px; height: 78px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 600; line-height: 1;
}
.ps-doctor__soon-label {
  font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #a99464; font-weight: 500;
}

.ps-doctor h3 { font-size: 18px; font-weight: 600; margin: 0 0 5px; color: var(--navy); }
/* в ряду из нескольких карточек длинное имя занимает две строки —
   резервируем их всем, иначе специализации не выстраиваются в линию */
@media (min-width: 560px) { .ps-doctor h3 { min-height: 54px; } }
.ps-doctor p { font-size: 14px; color: var(--gold-dark); margin: 0; font-weight: 500; }

/* ---------- отзывы ---------- */

.ps-reviews { background: var(--navy); }
.ps-reviews .ps-head { max-width: 600px; margin-bottom: 46px; }
.ps-reviews .ps-h2 { color: #fff; }
.ps-grid-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ps-review {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; padding: 28px 26px;
}
.ps-review__stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.ps-review p { font-size: 15.5px; color: #dfe6f2; margin: 0 0 20px; line-height: 1.6; }
.ps-review__author { display: flex; align-items: center; gap: 12px; }
.ps-review__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
}
.ps-review__name { font-size: 15px; font-weight: 600; color: #fff; }
.ps-review__role { font-size: 13px; color: var(--muted-3); }

/* ---------- статьи ---------- */

.ps-articles { background: #fff; }
.ps-grid-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ps-article-card {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ps-article-card:hover {
  transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(22, 35, 63, .35); border-color: #e6d9b8;
}
.ps-article-card__photo {
  position: relative; height: 190px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #e9e3d4, #f5f1e8); margin-bottom: 18px;
}
.ps-article-card__meta { font-size: 12.5px; color: var(--muted-2); margin-bottom: 8px; }
.ps-article-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 9px; color: var(--navy); line-height: 1.3; }
.ps-article-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.ps-article-card__author { font-size: 13.5px; color: var(--gold-dark); font-weight: 500; margin-bottom: 14px; }
.ps-articles__all { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- запись и контакты ---------- */

.ps-booking { background: var(--cream); }
.ps-booking .ps-container { display: flex; flex-wrap: wrap; gap: 46px; align-items: flex-start; }
.ps-booking__col { flex: 1 1 420px; min-width: 300px; }
.ps-booking__col h2 { margin-bottom: 12px; }
.ps-booking__sub { font-size: 16px; color: var(--muted); margin: 0 0 28px; }
.ps-form {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  box-shadow: 0 26px 56px -40px rgba(22, 35, 63, .35);
}
.ps-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.ps-form__row--sm { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 22px; }
.ps-field { display: block; margin-bottom: 16px; }
.ps-form__row .ps-field { margin-bottom: 0; }
.ps-field > span { display: block; font-size: 13px; font-weight: 600; color: #3a4258; margin-bottom: 7px; }
.ps-field input, .ps-field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 11px;
  font-size: 15px; color: var(--navy); outline: none; background: #fff;
}
.ps-field select { appearance: none; -webkit-appearance: none; }
.ps-field input:focus, .ps-field select:focus { border-color: var(--gold); }
.ps-submit {
  width: 100%; background: var(--navy); color: #fff; border: none; font-size: 16px; font-weight: 600;
  padding: 16px; border-radius: 12px; cursor: pointer; box-shadow: 0 14px 32px -16px rgba(22, 35, 63, .6);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ps-submit svg { color: #25d366; }

.ps-success {
  background: #fff; border: 1px solid #d8e7da; border-radius: 18px; padding: 36px 30px;
  text-align: center; animation: psFade .35s ease;
}
.ps-success__check {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f5ea; color: #2f9e57;
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 18px;
}
.ps-success h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; color: var(--navy); }
.ps-success p { font-size: 15.5px; color: var(--muted); margin: 0 0 14px; }
.ps-success__hint { font-size: 14px; color: var(--muted-2); margin-bottom: 22px !important; }
.ps-success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ps-success button {
  background: #fff; color: var(--navy); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: 11px; cursor: pointer;
}
.ps-success__wa {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  background: #25d366; color: #0b3d21; font-size: 14.5px; font-weight: 700;
  padding: 13px 24px; border-radius: 11px;
}
.ps-success__wa:hover { background: #1fbb59; }

.ps-contact { flex: 1 1 300px; min-width: 280px; scroll-margin-top: 84px; }
.ps-contact__card { background: var(--navy); border-radius: 20px; padding: 32px 28px; color: #fff; }
.ps-contact__card h3 { font-size: 19px; font-weight: 600; margin: 0 0 22px; color: #fff; }
.ps-contact__row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ps-contact__icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(198, 162, 90, .16);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.ps-contact__label { font-size: 12px; color: var(--muted-3); margin-bottom: 3px; }
.ps-contact__value { font-size: 15px; color: #fff; font-weight: 500; }
.ps-contact__value a { color: inherit; text-decoration: none; }
.ps-contact__value a:hover { color: var(--gold); }
/* телефон печатается слева направо, но выравнивается по стороне текста */
[dir="rtl"] .ps-contact__value[dir="ltr"] { text-align: right; }
.ps-map {
  margin-top: 20px; border-radius: 14px; overflow: hidden; height: 150px;
  background: linear-gradient(135deg, #22335a, #1a2949); position: relative; border: 1px solid rgba(255, 255, 255, .1);
}
.ps-map__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143, 160, 189, .12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(143, 160, 189, .12) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ps-map__pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gold);
}
.ps-map__pin span:first-child { font-size: 24px; }
.ps-map__pin span:last-child { font-size: 12px; color: #9fb0cf; letter-spacing: .5px; }

/* ---------- футер ---------- */

.ps-footer { background: var(--navy-deep); color: #aebbd4; padding: 54px 0 30px; }
.ps-footer__top {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ps-footer__brand { flex: 1 1 280px; max-width: 320px; }
.ps-footer__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.ps-footer__name { font-size: 18px; font-weight: 700; color: #fff; }
.ps-footer__name span { color: var(--gold); font-weight: 500; }
.ps-footer__tagline { font-size: 14px; line-height: 1.6; margin: 0; color: var(--muted-3); }
.ps-footer__col { flex: 0 1 auto; }
.ps-footer__col--contact { max-width: 260px; }
.ps-footer__title {
  font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px;
}
.ps-footer__list { display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: #aebbd4; }
.ps-footer__list a { text-decoration: none; color: #aebbd4; font-size: 14px; }
.ps-footer__list a:hover { color: #fff; }
.ps-footer__rights { padding-top: 22px; font-size: 13px; color: #6f7e9b; }

/* ---------- страницы статей ---------- */

.ps-page .ps-header__inner { justify-content: space-between; }
.ps-page__nav { display: flex; align-items: center; gap: 14px; }
.ps-page__langs { display: flex; gap: 6px; }
.ps-page__langs .ps-lang--big { padding: 8px 13px; font-size: 13px; text-decoration: none; }
/* на узком экране логотип, три языка и кнопка записи не помещаются в одну строку;
   кнопку убираем — призыв записаться всё равно есть в конце статьи */
@media (max-width: 560px) {
  .ps-page__nav .ps-btn-book { display: none; }
  .ps-page__langs .ps-lang--big { padding: 8px 11px; }
}

.ps-article-page { padding: 54px 0 var(--sect); }
@media (max-width: 860px) { .ps-article-page { padding-top: 30px; } }
.ps-article { max-width: 760px; margin: 0 auto; padding: 0 var(--cpad); }

.ps-crumbs { font-size: 13.5px; color: var(--muted-2); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.ps-crumbs a { color: var(--gold-dark); text-decoration: none; }
.ps-crumbs a:hover { text-decoration: underline; }

.ps-article h1 {
  font-size: var(--h2); font-weight: 700; letter-spacing: -0.6px;
  line-height: 1.15; margin: 0 0 16px; color: var(--navy); text-wrap: balance;
}
.ps-article__meta {
  display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px;
  color: var(--muted-2); margin-bottom: 22px;
}
.ps-article__lead { font-size: 18px; line-height: 1.6; color: #3a4258; margin: 0 0 28px; font-weight: 500; }
.ps-article__photo {
  position: relative; height: 380px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-3); margin-bottom: 34px;
}
@media (max-width: 860px) { .ps-article__photo { height: 220px; } }
.ps-article article h2 {
  font-size: 24px; font-weight: 600; color: var(--navy);
  margin: 38px 0 14px; letter-spacing: -0.3px;
}
.ps-article article p { font-size: 17px; line-height: 1.72; color: #35405c; margin: 0 0 18px; }
.ps-article article ul { margin: 0 0 20px; padding-inline-start: 22px; }
.ps-article article li { font-size: 17px; line-height: 1.7; color: #35405c; margin-bottom: 8px; }

.ps-article__author {
  display: flex; align-items: center; gap: 18px; margin: 42px 0 0;
  padding: 20px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
}
.ps-article__author-photo {
  position: relative; flex: none; width: 76px; height: 76px;
  border-radius: 50%; overflow: hidden; background: #e9e3d4;
}
.ps-article__author-photo .ps-doctor__monogram { width: 100%; height: 100%; font-size: 28px; }
.ps-article__author-label {
  font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-darker); font-weight: 600; margin-bottom: 5px;
}
.ps-article__author-name { font-size: 17px; font-weight: 600; color: var(--navy); }
.ps-article__author-role { font-size: 14px; color: var(--muted); }

.ps-article__cta {
  margin-top: 26px; padding: 30px; background: var(--navy); border-radius: 20px; text-align: center;
}
.ps-article__cta p { font-size: 17px; color: #dfe6f2; margin: 0 0 20px; }
.ps-article__cta .ps-cta-primary { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; }

/* ---------- режим «только герой» (для витрины) ---------- */

body.ps-hero-only .ps-rest { display: none; }
