/* ============================================================
   ПЕРСОНАЛИКА — клиника эстетической медицины
   Дизайн-система: токены, типографика, компоненты
   ============================================================ */

:root {
  /* ---- Палитра ---- */
  --cream:      #f4efe7;   /* фон страницы */
  --cream-2:    #ece5d8;   /* секции-вставки */
  --paper:      #fbfaf6;   /* карточки */
  --ink:        #23211c;   /* основной текст */
  --ink-soft:   #6a655a;   /* вторичный текст */
  --ink-faint:  #9a948a;   /* подписи */

  --olive:      #6e7a47;   /* основной бренд */
  --olive-deep: #4d5530;   /* тёмная олива */
  --olive-soft: #e3e6d2;   /* плашки */
  --olive-tint: #f0f1e6;

  --orange:     #e3701a;   /* акцент */
  --orange-2:   #f3923f;
  --orange-soft:#f8e2cd;

  --line:       rgba(35,33,28,0.12);
  --line-soft:  rgba(35,33,28,0.07);

  /* ---- Шрифты ---- */
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* ---- Радиусы / тени ---- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(35,33,28,0.05);
  --shadow-md: 0 18px 50px -22px rgba(35,33,28,0.28);
  --shadow-lg: 0 40px 90px -40px rgba(35,33,28,0.35);

  /* ---- Слой / ширина ---- */
  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Типографика ---- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 500; }

h1,h2,h3 { margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(19px, 2vw, 22px); color: var(--ink-soft); line-height: 1.55; }

/* ---- Контейнер ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 10vw, 140px); }

/* ---- Кнопки ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-size: 16px; font-weight: 600;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s, box-shadow .35s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(77,85,48,.6); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(227,112,26,.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-cabinet { background: var(--olive); color: #fff; }
.btn-cabinet:hover { background: #5c663b; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(110,122,71,.55); }
.btn .arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-lg { padding: 19px 38px; font-size: 17px; }

/* ---- Пилюли / теги ---- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---- Карточки ---- */
.card { background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line-soft); }

/* ---- image-slot базовый вид ---- */
image-slot {
  --slot-bg: var(--olive-tint);
  background: var(--olive-tint);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* ---- Появление при скролле ----
   Базовое состояние — видимое. Анимируются только элементы,
   которые на загрузке оказались ниже первого экрана (класс .pre). */
.reveal { opacity: 1; transform: none; }
.reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal.pre.in {
  opacity: 1; transform: none;
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.pre.d1.in { transition-delay: .08s; }
.reveal.pre.d2.in { transition-delay: .16s; }
.reveal.pre.d3.in { transition-delay: .24s; }
.reveal.pre.d4.in { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal.pre { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Навигация ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding-block: 22px;
}
.nav.scrolled { background: rgba(244,239,231,.82); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line-soft); padding-block: 14px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding-block: 4px; transition: color .25s; white-space: nowrap; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0; background: var(--orange); transition: width .3s; }
.nav-links a:hover { color: var(--olive); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* ---- Кнопка «Назад» ---- */
.back-link { display: inline-flex; align-items: center; gap: 7px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px 9px 13px; cursor: pointer; transition: color .25s, border-color .25s, transform .25s; }
.back-link svg { transition: transform .25s; }
.back-link:hover { color: var(--olive); border-color: var(--olive-soft); transform: translateX(-2px); }
.back-link:hover svg { transform: translateX(-3px); }

/* ---- Логотип ---- */
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--olive); }
.logo .dot { color: var(--orange); }
.logo-mark { font-family: var(--font-sans); }

.menu-toggle { display: none; }

/* ---- Футер ---- */
.footer { background: var(--olive-deep); color: #e9ead9; padding-block: 80px 36px; }
.footer a { color: #cfd2b8; transition: color .25s; }
.footer a:hover { color: #fff; }

/* ---- Разное ---- */
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- Мобильное меню-шторка (общее для всех страниц) ---- */
.mob-menu { position: fixed; inset: 0; z-index: 200; background: var(--cream); transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding: 28px var(--gut); overflow-y: auto; }
.mob-menu.open { transform: none; }
.mob-menu a { font-family: var(--font-display); font-size: 34px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mob-menu a.btn { font-family: var(--font-sans); font-size: 17px; border-bottom: none; }
.mob-close { display: grid; place-items: center; background: transparent; border: none; cursor: pointer; color: var(--ink); }

/* ---- Адаптив ---- */
.menu-toggle { display: none; align-items: center; justify-content: center; }
/* Нав-бар выровнен по ширине контента (.wrap → max-width 1280px). Семь пунктов + телефон
   + две кнопки в эту ширину не помещаются (полный набор ~1465px), поэтому на десктопе
   кнопку-телефон в баре не показываем — телефон есть в hero, разделе «Контакты» и футере, —
   а отступы и шрифт ссылок слегка поджимаем, чтобы пункты не вылезали за край. */
.nav-actions .btn-ghost { display: none; }
.nav-links { gap: 16px; }
.nav-links a { font-size: 14px; }
.nav-inner { gap: 18px; }
/* Ниже ~1280px семь пунктов в строку уже не помещаются — переходим на меню-шторку (гамбургер). */
@media (max-width: 1280px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-inner { gap: 10px; }
  .nav .logo { font-size: 21px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-accent { padding: 9px 14px; font-size: 13.5px; }
  .nav-actions .btn-cabinet { display: none; } /* на телефонах — ссылка в меню-шторке */
  .menu-toggle { width: 40px; height: 40px; }
}
@media (max-width: 360px) {
  .nav-actions .btn-accent { display: none; } /* совсем узкие экраны — CTA в меню-шторке */
}
/* Базовая защита от горизонтального скролла и «вылезающих» элементов на узких экранах */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

/* ============================================================
   МОДНЫЕ ДЕТАЛИ И АНИМАЦИИ
   ============================================================ */

/* ---- Зернистая текстура ---- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply; background-size: 220px 220px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Бегущая строка ---- */
.marquee { background: var(--olive); color: #f4efe3; overflow: hidden; padding-block: 22px; display: flex; }
.marquee-track { display: flex; flex: 0 0 auto; width: max-content; animation: marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span { display: inline-flex; align-items: center; gap: 42px; padding-right: 42px; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.01em; }
.marquee .ast { font-style: normal; color: var(--orange-2); font-size: .8em; transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Вращающаяся печать-стикер ---- */
.seal { width: 132px; height: 132px; animation: spin 22s linear infinite; }
.seal svg { width: 100%; height: 100%; display: block; }
.seal text { font-family: var(--font-sans); font-size: 9.1px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; fill: var(--olive-deep); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal { animation: none; } }

/* ---- Зум изображения при наведении ---- */
.media-zoom { overflow: hidden; }
.media-zoom image-slot { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.doc:hover .media-zoom image-slot,
.hero-media:hover .media-zoom image-slot,
.about-media:hover .media-zoom image-slot { transform: scale(1.05); }

/* ---- Магнитные элементы ---- */
.magnetic { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, box-shadow .35s; }

/* ---- Рукописный росчерк вокруг слова ---- */
.hl { position: relative; display: inline-block; isolation: isolate; }
.hl .em { position: relative; z-index: 1; }
.scribble { position: absolute; left: -19%; top: -30%; width: 138%; height: 168%; overflow: visible; pointer-events: none; z-index: 0; }
.scribble path { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; stroke-dasharray: 1000; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hl .scribble path { animation: drawScribble 1.15s cubic-bezier(.45,0,.25,1) .5s none; }
}
@keyframes drawScribble { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

/* ---- Подчёркивание-маркер для ссылок-eyebrow с номером ---- */
.snum { font-family: var(--font-display); font-style: italic; color: var(--orange); margin-right: 4px; }

/* ---- Лёгкое «дыхание» бейджа ---- */
@media (prefers-reduced-motion: no-preference) {
  .about-media .badge { animation: bob 5s ease-in-out infinite; }
}
@keyframes bob { 0%,100% { transform: rotate(-8deg) translateY(0);} 50% { transform: rotate(-8deg) translateY(-9px);} }

/* ---- Кастомный курсор (только мышь, прогрессивное улучшение) ---- */
body.cursor-on, body.cursor-on a, body.cursor-on button,
body.cursor-on .opt, body.cursor-on .svc, body.cursor-on .ba,
body.cursor-on .date-cell, body.cursor-on .slot, body.cursor-on .faq-q { cursor: none; }
.cursor-dot { position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: opacity .3s; }
.cursor-ring { position: fixed; top: 0; left: 0; width: 36px; height: 36px; border: 1.5px solid var(--olive); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, opacity .3s; }
.cursor-ring.hover { width: 62px; height: 62px; background: rgba(110,122,71,.10); border-color: var(--orange); }
.cursor-ring.down { width: 28px; height: 28px; }

/* ============================================================
   РЕДИЗАЙН ПО ТЗ — редакционный формат
   (тёмные секции, фото-карточки с оверлеем, e-mail-захват,
    крупный логотип-вордмарк). Тёплая палитра сохранена.
   ============================================================ */
:root {
  --ink-deep:   #1b1e15;   /* глубокая тёмная олива — тёмные секции */
  --ink-deep-2: #242818;
  --on-dark:    #ece8dd;   /* текст на тёмном */
  --on-dark-soft: #b4ae9d;
}

/* ---- Тёмная секция ---- */
.section--dark { background: var(--ink-deep); color: var(--on-dark); }
.section--dark .eyebrow { color: var(--orange-2); }
.section--dark .eyebrow::before { background: var(--orange-2); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #f4f0e6; }
.section--dark .muted { color: var(--on-dark-soft); }
.section--dark .lead { color: #c8c3b4; }

/* ---- Фото-карточка с оверлей-подкарточкой (паттерн «Always-on Care») ---- */
.care-grid { display: grid; gap: clamp(34px, 6vw, 80px); }
.care-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.care-row.reverse .care-media { order: 2; }
.care-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; background: var(--ink-deep-2); }
.care-media img { width: 100%; height: 100%; object-fit: cover; }
.care-overlay {
  position: absolute; left: 22px; bottom: 22px; max-width: 280px;
  background: rgba(18,20,14,.46); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md);
  padding: 18px 22px; color: #fff;
}
.care-overlay .ovh { font-weight: 600; font-size: 16px; }
.care-overlay .ovp { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 5px; line-height: 1.4; }
.care-copy h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.02em; }
.care-copy p { margin-top: 18px; color: var(--on-dark-soft); max-width: 42ch; }
.care-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; color: var(--orange-2); }
.care-link .arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.care-link:hover .arrow { transform: translateX(4px); }
.care-note { font-family: var(--font-display); font-style: italic; color: #9fb06a; margin-top: 16px; font-size: 16px; }

/* ---- Lead-magnet (захват e-mail) ---- */
.lead-magnet { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(125deg, #c98a4f 0%, #a4652f 100%); color: #fff; }
.lm-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 54px); align-items: center; padding: clamp(32px, 5vw, 64px); }
.lead-magnet h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.02em; }
.lead-magnet p { color: rgba(255,255,255,.86); margin-top: 14px; max-width: 42ch; }
.lm-form { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.lm-form input { flex: 1; min-width: 200px; padding: 16px 20px; border-radius: 100px; border: 0; font-family: inherit; font-size: 16px; color: var(--ink); }
.lm-form input:focus { outline: 2px solid rgba(255,255,255,.8); }
.lm-note { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 12px; }
.lm-media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 240px; }
.lm-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .lm-inner { grid-template-columns: 1fr; } .lm-media { order: -1; min-height: 200px; } }

/* ---- Крупный логотип-вордмарк в футере ---- */
.foot-wordmark {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(30px, 10vw, 144px); line-height: 1.12; color: #fff;
  margin-top: 48px; text-align: center; user-select: none;
  white-space: nowrap; padding-bottom: 0.12em;
}
.foot-wordmark .dot { color: var(--orange-2); }

/* ---- Адаптив редизайна ---- */
@media (max-width: 760px) {
  .care-row, .care-row.reverse { grid-template-columns: 1fr; }
  .care-row.reverse .care-media { order: 0; }
}

/* ============================================================
   ДОПОЛНИТЕЛЬНЫЕ АНИМАЦИИ (ненавязчивые, premium)
   ============================================================ */

/* Полоса прогресса прокрутки сверху */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--olive), var(--orange));
  box-shadow: 0 0 12px -2px var(--orange);
  transition: width .12s linear;
}

/* Блик, пробегающий по кнопкам при наведении */
.btn-primary, .btn-accent, .btn-white { position: relative; overflow: hidden; }
.btn-primary::after, .btn-accent::after, .btn-white::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); pointer-events: none;
  transition: left .65s cubic-bezier(.2,.8,.2,1);
}
.btn-primary:hover::after, .btn-accent:hover::after, .btn-white:hover::after { left: 140%; }

@media (prefers-reduced-motion: no-preference) {
  /* Более «премиальное» появление при скролле: добавляем лёгкое размытие */
  .reveal.pre { filter: blur(8px); }
  .reveal.pre.in {
    filter: blur(0);
    transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s cubic-bezier(.2,.8,.2,1);
  }

  /* Появление контента hero при загрузке (каскадом) */
  .hero-copy > * { animation: heroRise .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .hero-copy > *:nth-child(2) { animation-delay: .14s; }
  .hero-copy > *:nth-child(3) { animation-delay: .23s; }
  .hero-copy > *:nth-child(4) { animation-delay: .32s; }
  .hero-copy > *:nth-child(5) { animation-delay: .41s; }
  @keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Плавающие карточки в hero */
  .float-card.fc-top { animation: floaty 6s ease-in-out infinite; }
  .float-card.fc-bot { animation: floaty 7s ease-in-out infinite reverse; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

  /* Мягкая пульсация тёплого свечения в CTA-блоках */
  .cta-glow { animation: glowPulse 7s ease-in-out infinite; }
  @keyframes glowPulse { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

  /* Лёгкое «дыхание» оливковой печати в hero */
  .seal:hover { animation-duration: 6s; }
}

/* ============================================================
   ОБОРУДОВАНИЕ — лаконичный редакционный список
   ============================================================ */
.equip-list { margin-top: 8px; border-top: 1px solid var(--line); }
.equip {
  display: grid; grid-template-columns: 54px 0.85fr 1.15fr;
  gap: clamp(16px, 3vw, 48px); align-items: baseline;
  padding: 30px 6px; border-bottom: 1px solid var(--line);
  transition: background .4s cubic-bezier(.2,.8,.2,1), padding .4s cubic-bezier(.2,.8,.2,1);
}
.equip:hover { background: var(--cream-2); padding-inline: 20px; }
.equip-num { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--orange); }
.equip-name h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.1; transition: color .3s; }
.equip:hover .equip-name h3 { color: var(--olive); }
.equip-brand { display: inline-block; margin-top: 8px; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); }
.equip-desc { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0; }
@media (max-width: 760px) {
  .equip { grid-template-columns: 1fr; gap: 8px; padding: 24px 6px; }
  .equip:hover { padding-inline: 6px; }
  .equip-num { font-size: 15px; }
}

/* ===== Фото-заполнители: фикс «поехавших» изображений =====
   Класс filled-photo используется на всех страницах (hero, врачи, о клинике),
   но не имел правил — фото рендерились с натуральной шириной и вылезали
   из карточек. Теперь всегда заполняют контейнер с кадрированием по центру. */
img.filled-photo {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.media-zoom { position: relative; }
