@charset "UTF-8";
/* Unbounded */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/unbounded-v12-cyrillic_latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/unbounded-v12-cyrillic_latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/unbounded-v12-cyrillic_latin-700.woff2") format("woff2");
}
/* Space Grotesk */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/space-grotesk-v22-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk-v22-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-v22-latin-500.woff2") format("woff2");
}
/* Playfair Display */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-display-v40-cyrillic_latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-display-v40-cyrillic_latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-display-v40-cyrillic_latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-v40-cyrillic_latin-700.woff2") format("woff2");
}
:root {
  --sys: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', serif;
  --cream: #F9F5EF;
  --ivory: #F2EBE0;
  --white: #FFFFFF;
  --sage: #6B8F71;
  --sage-lt: #A8C5AD;
  --sage-dk: #3E5E44;
  --warm: #C97D4E;
  --text: #2A2420;
  --muted: #7A6E68;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 100px;
}

/* ══════════════════════════════════════════
   2. ЦВЕТОВЫЕ ТОКЕНЫ
══════════════════════════════════════════ */
:root {
  --sage-rgb: 107, 143, 113;
  --sage-dk-rgb: 62, 94, 68;
  --text-rgb: 42, 36, 32;
  --white-rgb: 255, 255, 255;
  --sage-10: rgba(var(--sage-rgb), .10);
  --sage-15: rgba(var(--sage-rgb), .15);
  --sage-18: rgba(var(--sage-rgb), .18);
  --sage-20: rgba(var(--sage-rgb), .20);
  --sage-22: rgba(var(--sage-rgb), .22);
  --sage-25: rgba(var(--sage-rgb), .25);
  --sage-28: rgba(var(--sage-rgb), .28);
  --sage-30: rgba(var(--sage-rgb), .30);
  --sage-40: rgba(var(--sage-rgb), .40);
  --sage-dk-18: rgba(var(--sage-dk-rgb), .18);
  --sage-dk-40: rgba(var(--sage-dk-rgb), .40);
  --sage-dk-50: rgba(var(--sage-dk-rgb), .50);
  --sage-dk-85: rgba(var(--sage-dk-rgb), .85);
  --text-12: rgba(var(--text-rgb), .12);
  --text-45: rgba(var(--text-rgb), .45);
  --text-55: rgba(var(--text-rgb), .55);
  --white-55: rgba(var(--white-rgb), .55);
  --white-75: rgba(var(--white-rgb), .75);
  --white-90: rgba(var(--white-rgb), .90);
  --border-sage: .5px solid var(--sage-20);
}

/* ══════════════════════════════════════════
   3. ТИПОГРАФИЧЕСКАЯ ШКАЛА
══════════════════════════════════════════ */
:root {
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-body: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.25rem;
  --text-6xl: 3.5rem;
  --text-7xl: 4.25rem;
}

/* ══════════════════════════════════════════
   4. СБРОС И БАЗОВЫЕ СТИЛИ
══════════════════════════════════════════ */
html {
  font-size: 18px;
  /* базовый размер — все rem пересчитаются автоматически */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sys);
  background: var(--cream);
  color: var(--text);
  font-size: var(--text-body);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: clip;
}

/* ══════════════════════════════════════════
   5. БАЗОВАЯ ТИПОГРАФИКА
══════════════════════════════════════════ */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: var(--text-7xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  color: var(--text);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   6. УТИЛИТЫ ТИПОГРАФИКИ
══════════════════════════════════════════ */
.label-caps {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-serif-italic {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
}

.text-muted {
  color: var(--muted);
}

.text-accent {
  color: var(--sage-dk);
}

.text-warm {
  color: var(--warm);
}

.stat-number {
  font-family: var(--serif);
  font-size: var(--text-6xl);
  font-weight: 400;
  color: var(--sage-dk);
  line-height: 1;
}

.stat-number em {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-style: normal;
  color: var(--sage);
}

.stat-number--warm {
  color: var(--warm);
}

.stat-number--warm em {
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   7. ОБЩИЕ КОМПОНЕНТЫ
══════════════════════════════════════════ */
.section-h2 {
  font-family: var(--serif);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dk);
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  padding-bottom: 0.9rem;
  border-bottom: var(--border-sage);
  margin-bottom: 0.4rem;
}

.section-label--sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ivory);
  padding-top: 0.9rem;
  margin-top: -0.9rem;
}

/* ══════════════════════════════════════════
   10. MAIN
══════════════════════════════════════════ */
.site-main {
  min-height: calc(100vh - 116px - 200px);
}

:root {
  --sh-bg: #f5f2eb;
  --sh-fg: #0d0d0b;
  --sh-accent: #3e5e44;
  --sh-accent-lt: #7ab87e;
  --sh-border: rgba(13, 13, 11, 0.18);
  --sh-muted: rgba(13, 13, 11, 0.65);
  --sh-font-head: 'Unbounded', sans-serif;
  --sh-font-body: 'Space Grotesk', sans-serif;
  --sh-h: 80px;
  --sh-bot-h: 36px;
}

/* ══════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════ */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--sh-bg);
  border-bottom: none;
  padding-right: 0.5rem;
}

/* ══════════════════════════════════════════
   ВЕРХНЯЯ СТРОКА
══════════════════════════════════════════ */
.sh-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1fr;
  height: var(--sh-h);
  border-bottom: 0.5px solid var(--sh-border);
}

.sh-logo-cell {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  border-right: 0.5px solid var(--sh-border);
}

.sh-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 5px;
}

.sh-logo-wordmark {
  font-family: var(--sh-font-head);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--sh-fg);
  letter-spacing: -0.01em;
}

.sh-logo-accent {
  color: var(--sh-accent);
}

.sh-logo-sub {
  font-family: var(--sh-font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sh-muted);
}

.sh-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* ── Навигация ── */
.sh-nav-cell {
  display: flex;
  align-items: stretch;
}

.sh-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.sh-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 4px;
  text-align: center;
  text-decoration: none;
  color: var(--sh-fg);
  border-right: 0.5px solid var(--sh-border);
  border-top: none;
  border-bottom: none;
  border-left: none;
  background: transparent;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.sh-nav-item:last-child {
  border-right: none;
}
.sh-nav-item:hover {
  background: rgba(62, 94, 68, 0.07);
}
.sh-nav-item.is-active {
  background: var(--sh-accent);
  color: var(--sh-bg);
}
.sh-nav-item.mega-open {
  background: var(--sh-accent);
  color: var(--sh-bg);
}
.sh-nav-item.mega-open::before {
  display: none;
}
.sh-nav-item.is-active::before {
  display: none;
}
.sh-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sh-accent-lt);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.sh-nav-item:hover::before {
  transform: scaleX(1);
}
.sh-nav-item--drop {
  flex-direction: row;
  gap: 5px;
  overflow: visible;
}

.sh-nav-ru {
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.sh-drop-arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   НИЖНЯЯ СТРОКА (sticky, вне header)
══════════════════════════════════════════ */
.sh-bottom {
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--sh-bot-h);
  padding: 0 28px;
  gap: 16px;
  background: var(--sh-bg);
  border-bottom: 0.5px solid var(--sh-border);
}

.sh-addr {
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  color: var(--sh-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-actions {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  height: 100%;
}

.sh-action-item {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--sh-font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sh-accent);
  text-decoration: none;
  border-left: 0.5px solid var(--sh-border);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.sh-action-item:first-child {
  background: var(--sh-accent);
  color: var(--sh-bg);
  font-weight: 500;
}
.sh-action-item:first-child:hover {
  background: #2d4a32;
}
.sh-action-item:not(:first-child) {
  color: rgba(13, 13, 11, 0.7);
  font-weight: 600;
}
.sh-action-item:not(:first-child):hover {
  background: rgba(62, 94, 68, 0.07);
}

/* ══════════════════════════════════════════
   БУРГЕР
══════════════════════════════════════════ */
.sh-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: var(--sh-h);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0 14px;
  border-left: 0.5px solid var(--sh-border);
  flex-shrink: 0;
}

.sh-burger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--sh-fg);
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

.sh-burger.is-open .sh-burger-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.sh-burger.is-open .sh-burger-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ══════════════════════════════════════════
   МОБИЛЬНОЕ МЕНЮ
══════════════════════════════════════════ */
.sh-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--sh-bg);
  border-top: 0.5px solid var(--sh-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sh-mobile-nav.is-open {
  max-height: 100dvh;
}
@supports not (max-height: 1dvh) {
  .sh-mobile-nav.is-open {
    max-height: 90vh;
  }
}

.sh-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-family: var(--sh-font-body);
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--sh-fg);
  text-decoration: none;
  border-bottom: 0.5px solid var(--sh-border);
  transition: background 0.15s;
}
.sh-mob-link::after {
  content: "→";
  font-size: var(--text-sm);
  color: var(--sh-muted);
}
.sh-mob-link:hover {
  background: rgba(62, 94, 68, 0.06);
}
.sh-mob-link.is-active {
  color: var(--sh-accent);
  font-weight: 500;
}
.sh-mob-link.is-active::after {
  color: var(--sh-accent);
}
.sh-mob-link--drop::after {
  display: none;
}

.sh-mob-footer {
  display: flex;
  align-items: center;
  border-top: 0.5px solid var(--sh-border);
}

.sh-mob-phone {
  flex: 1;
  padding: 16px 24px;
  font-family: "Courier New", monospace;
  font-size: var(--text-sm);
  color: var(--sh-muted);
  text-decoration: none;
  border-right: 0.5px solid var(--sh-border);
}

.sh-mob-cta {
  padding: 16px 28px;
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sh-bg);
  background: var(--sh-accent);
  text-decoration: none;
  transition: background 0.15s;
}
.sh-mob-cta:hover {
  background: #2d4a32;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ══════════════════════════════════════════
   МЕГА-МЕНЮ (Публикации)
══════════════════════════════════════════ */
.mega-menu {
  position: absolute;
  top: var(--sh-h);
  left: 0;
  width: 100%;
  background: var(--sh-bg);
  border-bottom: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  z-index: 200;
}
.mega-menu.is-open {
  max-height: 500px;
  border-bottom: 0.5px solid var(--sh-border);
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px;
  gap: 0;
}
.mega-menu__col {
  padding: 0 24px 0 0;
  margin-right: 24px;
  border-right: 0.5px solid var(--sh-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mega-menu__col:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.mega-menu__cat {
  font-family: var(--sh-font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sh-accent);
  text-decoration: none;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--sh-border);
  margin-bottom: 4px;
  transition: color 0.15s;
}
.mega-menu__cat:hover {
  color: #2d4a32;
}
.mega-menu__articles {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mega-menu__article {
  display: block;
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  color: var(--sh-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(13, 13, 11, 0.06);
  transition: color 0.15s, padding-left 0.15s;
  line-height: 1.4;
}
.mega-menu__article:hover {
  color: var(--sh-fg);
  padding-left: 4px;
}
.mega-menu__all {
  display: inline-block;
  font-family: var(--sh-font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sh-accent);
  text-decoration: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid var(--sh-border);
  transition: color 0.15s;
}
.mega-menu__all:hover {
  color: #2d4a32;
}

/* ══════════════════════════════════════════
   FULLSCREEN OVERLAY — Услуги
══════════════════════════════════════════ */
.svc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sh-accent);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--sh-bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.svc-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.svc-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: var(--sh-accent);
  z-index: 1;
}
.svc-overlay__title {
  font-family: var(--sh-font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}
.svc-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--sh-bg);
  cursor: pointer;
  transition: background 0.15s, transform 0.2s;
  flex-shrink: 0;
}
.svc-overlay__close svg {
  pointer-events: none;
}
.svc-overlay__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}
.svc-overlay__body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px;
}
.svc-overlay__body::-webkit-scrollbar {
  width: 4px;
}
.svc-overlay__body::-webkit-scrollbar-track {
  background: transparent;
}
.svc-overlay__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}
.svc-overlay__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.svc-col {
  padding: 24px 28px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.15);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
}
.svc-col:nth-child(3n) {
  border-right: none;
}
.svc-col__cat {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sh-bg);
  margin-bottom: 14px;
  transition: opacity 0.15s;
}
.svc-col__cat:hover {
  opacity: 0.75;
}
.svc-col__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.svc-col__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--sh-bg);
}
.svc-col__cat-name {
  font-family: var(--sh-font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.svc-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}
.svc-col__link {
  display: block;
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s, padding-left 0.15s;
  line-height: 1.4;
}
.svc-col__link:hover {
  color: var(--sh-bg);
  padding-left: 5px;
}
.svc-col__more {
  display: inline-block;
  font-family: var(--sh-font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.15s;
}
.svc-col__more:hover {
  color: var(--sh-bg);
}

/* ══════════════════════════════════════════
   МОБИЛЬНЫЙ АККОРДЕОН
══════════════════════════════════════════ */
.sh-mob-drop-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--sh-muted);
}

.sh-mob-link--drop.is-open .sh-mob-drop-arrow {
  transform: rotate(180deg);
}

.sh-mob-submenu {
  display: none;
  flex-direction: column;
  background: rgba(62, 94, 68, 0.04);
}
.sh-mob-submenu.is-open {
  display: flex;
}

.sh-mob-sublink {
  display: block;
  padding: 13px 24px 13px 36px;
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  color: var(--sh-muted);
  text-decoration: none;
  border-bottom: 0.5px solid var(--sh-border);
  transition: color 0.15s, background 0.15s;
}
.sh-mob-sublink:hover {
  color: var(--sh-accent);
  background: rgba(62, 94, 68, 0.07);
}
.sh-mob-sublink.is-active {
  color: var(--sh-accent);
  font-weight: 500;
}
.sh-mob-sublink--deep {
  padding-left: 52px;
  font-size: var(--text-xs);
}
.sh-mob-sublink--more {
  padding-left: 52px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--sh-accent);
  letter-spacing: 0.04em;
}

.sh-mob-cat-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: visible !important;
  padding: 13px 24px 13px 36px !important;
  border-bottom: 0.5px solid var(--sh-border) !important;
  cursor: pointer !important;
  background: rgba(62, 94, 68, 0.04) !important;
}
.sh-mob-cat-trigger .sh-mob-drop-arrow {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex-shrink: 0 !important;
  color: var(--sh-muted) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sh-mob-cat-link {
  flex: 1;
  font-family: var(--sh-font-body);
  font-size: var(--text-sm);
  color: var(--sh-muted);
  text-decoration: none;
}
.sh-mob-cat-link.is-active {
  color: var(--sh-accent);
}

.sh-mob-cat-sub {
  background: rgba(62, 94, 68, 0.06);
}

/* ══════════════════════════════════════════
   АДАПТИВ
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .sh-nav-ru {
    font-size: var(--text-xs);
  }
  .sh-top {
    grid-template-columns: minmax(240px, 1fr) 1fr;
  }
  .sh-addr {
    display: none;
  }
}
@media (max-width: 640px) {
  .sh-top {
    grid-template-columns: 1fr auto;
    height: 60px;
  }
  .sh-logo-cell {
    border-right: none;
    padding: 0 20px;
  }
  .sh-logo-wordmark {
    font-size: var(--text-base);
  }
  .sh-nav {
    display: none;
  }
  .sh-burger {
    display: flex;
    height: 60px;
  }
  .sh-mobile-nav {
    display: flex;
  }
  .sh-bottom {
    padding: 0;
    height: auto;
  }
  .sh-addr {
    display: none;
  }
  .sh-actions {
    width: 100%;
    height: 40px;
  }
  .sh-action-item {
    flex: 1;
    justify-content: center;
    font-size: var(--text-xs);
    border-left: none;
    border-top: 0.5px solid var(--sh-border);
  }
  .sh-action-item:not(:first-child) {
    border-left: 0.5px solid var(--sh-border);
  }
  .mega-menu {
    display: none;
  }
  .svc-overlay__head {
    padding: 16px 20px;
  }
  .svc-overlay__body {
    padding: 20px;
  }
  .svc-overlay__grid {
    grid-template-columns: 1fr;
  }
  .svc-col {
    border-right: none !important;
    padding: 16px 0;
  }
  .svc-col:nth-child(3n) {
    border-right: none;
  }
}
@media (max-width: 768px) {
  .svc-overlay__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-col:nth-child(3n) {
    border-right: 0.5px solid rgba(255, 255, 255, 0.15);
  }
  .svc-col:nth-child(2n) {
    border-right: none;
  }
  .svc-overlay__head,
  .svc-overlay__body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/*
  FOOTER.CSS
  Зависит от: base.css
*/
.site-footer {
  background: #1a2e1c;
  margin-top: 4rem;
  font-family: "Space Grotesk", sans-serif;
}

/* ══════════════════════════════════════════
   СЕТКА — бренд фиксированный, расписание центр
══════════════════════════════════════════ */
.sf-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  gap: 2rem;
}

.sf-col--brand {
  padding: 40px 32px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.sf-col--schedule {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px;
}

/* ══════════════════════════════════════════
   БРЕНД
══════════════════════════════════════════ */
.sf-logo-img {
  width: auto;
  max-width: 116px;
  display: block;
  margin-bottom: 2px;
}

.sf-logo {
  font-family: "Unbounded", sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #f5f2eb;
  text-decoration: none;
  line-height: 1;
}

.sf-logo span {
  color: #a8d4ac;
}

.sf-sub {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.sf-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.sf-since {
  font-family: "Unbounded", sans-serif;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.61);
  margin-top: 4px;
  display: block;
}

/* ══════════════════════════════════════════
   СТАТУС (в блоке бренда)
══════════════════════════════════════════ */
.sf-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 0.5px solid transparent;
}

.sf-status--open {
  background: rgba(168, 212, 172, 0.07);
  border-color: rgba(168, 212, 172, 0.2);
}

.sf-status--closed {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
}

.sf-status__icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
}

.sf-status--open .sf-status__icon {
  background: #a8d4ac;
  animation: sf-pulse 1.6s ease-in-out infinite;
}

@keyframes sf-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}
.sf-status__label {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.sf-status--open .sf-status__label {
  color: #a8d4ac;
}

.sf-status__sub {
  font-size: var(--text-base);
  color: #e8a87c;
  margin-top: 2px;
}

.sf-status--open .sf-status__sub {
  color: rgba(168, 212, 172, 0.55);
}

#sf-timer {
  font-family: "Unbounded", sans-serif;
  font-size: var(--text-sm);
  color: #a8d4ac;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   ЗАГОЛОВОК РАСПИСАНИЯ
══════════════════════════════════════════ */
.sf-col-title {
  font-family: "Unbounded", sans-serif;
  font-size: var(--text-xl);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  width: 380px;
  max-width: 100%;
  text-align: center;
}

/* ══════════════════════════════════════════
   СПИСОК РАСПИСАНИЯ
══════════════════════════════════════════ */
.sf-schedule {
  list-style: none;
  width: 380px;
  max-width: 100%;
}

.sf-schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}

.sf-schedule li:last-child {
  border-bottom: none;
}

.sf-day {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-time {
  font-family: "Unbounded", sans-serif;
  font-size: var(--text-sm);
  color: #a8d4ac;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sf-time--off {
  font-family: "Space Grotesk", sans-serif;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0;
}

.sf-time--exc {
  color: #e8a87c;
}

/* ── Сегодня ── */
.sf-schedule__today {
  background: rgba(168, 212, 172, 0.07);
  border-radius: 6px;
  padding: 10px 12px !important;
  border-bottom: none !important;
  margin: 3px 0;
}

.sf-schedule__today .sf-day {
  color: #a8d4ac;
  font-weight: 500;
}

.sf-schedule__today .sf-time {
  color: #c8e6c9;
}

.sf-today-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  color: #a8d4ac;
  background: rgba(168, 212, 172, 0.12);
  border: 0.5px solid rgba(168, 212, 172, 0.25);
  border-radius: 100px;
  padding: 2px 9px;
}

.sf-today-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a8d4ac;
  animation: sf-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Исключение ── */
.sf-schedule__exc {
  background: rgba(201, 125, 78, 0.07);
  border-radius: 6px;
  padding: 10px 12px !important;
  border-bottom: none !important;
  margin: 3px 0;
}

.sf-schedule__exc .sf-day {
  color: rgba(255, 255, 255, 0.7);
}

.sf-exc-badge {
  font-size: var(--text-xs);
  color: #e8a87c;
  background: rgba(201, 125, 78, 0.15);
  border: 0.5px solid rgba(201, 125, 78, 0.25);
  border-radius: 100px;
  padding: 2px 9px;
}

/* ══════════════════════════════════════════
   НИЖНЯЯ СТРОКА
══════════════════════════════════════════ */
.sf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 16px;
}

.sf-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.06em;
}

.sf-bottom-right a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}

.sf-bottom-right a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ══════════════════════════════════════════
   АДАПТИВ
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .sf-grid {
    grid-template-columns: 220px 1fr;
  }
  .sf-col--brand {
    padding: 32px 24px;
  }
  .sf-col--schedule {
    padding: 32px 24px;
  }
}
@media (max-width: 640px) {
  .sf-grid {
    grid-template-columns: 1fr;
  }
  .sf-col--brand {
    border-right: none;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 28px;
    justify-content: flex-start;
  }
  .sf-col--schedule {
    padding-top: 28px;
  }
  .sf-col-title {
    width: 100%;
  }
  .sf-schedule {
    width: 100%;
  }
  .sf-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    gap: 4px;
  }
}
/* ══════════════════════════════════════════
   CRM-ПАНЕЛЬ — глобальные стили
══════════════════════════════════════════ */
.crm-overlay {
  position: fixed;
  inset: 0;
  background: var(--text-45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 10050;
}

.crm-overlay.open {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.crm-panel {
  position: fixed;
  top: 0;
  right: 0;
  isolation: isolate;
  width: 70vw;
  height: 100vh;
  background: var(--cream);
  border-left: 0.5px solid var(--sage-25);
  z-index: 10100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px var(--text-12);
}

.crm-panel.open {
  transform: translateX(0);
}

.crm-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 1.8rem;
  border-bottom: var(--border-sage);
  background: var(--ivory);
  flex-shrink: 0;
}

.crm-panel__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.crm-panel__doctor {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.crm-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0.5px solid var(--sage-30);
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.crm-panel__close:hover {
  background: var(--sage-dk);
  color: var(--white);
  border-color: var(--sage-dk);
}

.crm-panel__body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.crm-panel__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: var(--text-md);
  color: var(--muted);
  background: var(--cream);
  z-index: 2;
  transition: opacity 0.3s;
}

.crm-panel__loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.crm-spinner {
  animation: crm-spin 1s linear infinite;
}

@keyframes crm-spin {
  to {
    transform: rotate(360deg);
  }
}
.crm-panel__body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 560px) {
  .crm-panel {
    width: 100vw;
  }
}
/*
  BOOKING_MODAL.CSS
  Подключить в base.html:
  <link rel="stylesheet" href="{% static 'css/booking_modal.css' %}">
*/
/* ══════════════════════════════════════════
   OVERLAY
══════════════════════════════════════════ */
.bm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(42, 36, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.bm-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(42, 36, 32, 0.18), 0 4px 16px rgba(42, 36, 32, 0.08);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 0.68, 0, 1.2);
}

.bm-overlay.is-open .bm-modal {
  transform: translateY(0) scale(1);
}

.bm-modal::-webkit-scrollbar {
  width: 4px;
}

.bm-modal::-webkit-scrollbar-track {
  background: transparent;
}

.bm-modal::-webkit-scrollbar-thumb {
  background: var(--sage-25);
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.bm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: var(--border-sage);
  gap: 1rem;
}

.bm-header-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bm-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.bm-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: var(--border-sage);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.bm-close:hover {
  background: var(--sage-10);
  color: var(--sage-dk);
  border-color: var(--sage-30);
}

/* ══════════════════════════════════════════
   GRID
══════════════════════════════════════════ */
.bm-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 1px;
  background: var(--sage-15);
  margin: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Карточка "Не знаю" занимает 2 строки + 1 для заголовка */
.bm-card--help {
  grid-row: span 3;
}

/* ══════════════════════════════════════════
   ЗАГОЛОВОК НАД ВРАЧАМИ
══════════════════════════════════════════ */
.bm-doctors-label {
  grid-column: 2/-1;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  padding: 1rem 1.25rem 0.5rem;
  margin: 0;
  background: var(--white);
  text-align: center;
  border-bottom: var(--border-sage);
}

/* ══════════════════════════════════════════
   КАРТОЧКА — BASE
══════════════════════════════════════════ */
.bm-card {
  background: var(--white);
  padding: 1.5rem;
  transition: background 0.2s;
}

/* ══════════════════════════════════════════
   КАРТОЧКА — ПОМОЩЬ
══════════════════════════════════════════ */
.bm-card--help {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bm-card-help-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bm-card-help-icon {
  flex-shrink: 0;
  color: var(--sage);
}

.bm-card-help-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--sage);
}

.bm-card-help-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.bm-card-help-sub {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   ФОРМА
══════════════════════════════════════════ */
.bm-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.bm-field {
  position: relative;
}

.bm-input {
  width: 100%;
  padding: 0.85rem 1rem 0.45rem;
  border: 1px solid var(--sage-25);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.bm-input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-10);
}

.bm-field-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
  background: var(--white);
  padding: 0 0.25rem;
}

.bm-textarea + .bm-field-label {
  top: 0.85rem;
  transform: none;
}

.bm-input:focus + .bm-field-label,
.bm-input:not(:placeholder-shown) + .bm-field-label {
  top: 0;
  font-size: 0.68rem;
  color: var(--sage-dk);
  transform: translateY(-50%);
}

.bm-textarea:focus + .bm-field-label,
.bm-textarea:not(:placeholder-shown) + .bm-field-label {
  top: 0;
  font-size: 0.68rem;
  color: var(--sage-dk);
  transform: translateY(-50%);
}

.bm-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  background: var(--sage-dk);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.25rem;
}

.bm-submit:hover {
  background: var(--sage);
  transform: translateY(-1px);
}

.bm-submit:active {
  transform: translateY(0);
}

.bm-consent {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin: 0;
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   КАРТОЧКА — ВРАЧ
══════════════════════════════════════════ */
.bm-card--doctor {
  --doctor-photo-size: 90px;
  --doctor-photo-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1.25rem;
}

.bm-card--doctor:hover {
  background: var(--ivory);
}

.bm-doctor-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bm-doctor-photo {
  flex-shrink: 0;
  width: var(--doctor-photo-size);
  height: var(--doctor-photo-size);
}

.bm-doctor-img {
  width: var(--doctor-photo-size);
  height: var(--doctor-photo-size);
  border-radius: var(--doctor-photo-radius);
  object-fit: cover;
}

.bm-doctor-avatar {
  width: var(--doctor-photo-size);
  height: var(--doctor-photo-size);
  border-radius: var(--doctor-photo-radius);
  background: var(--sage-20);
  color: var(--sage-dk);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.bm-doctor-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.2rem;
}

.bm-doctor-spec {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
}

.bm-doctor-exp {
  font-size: 0.75rem;
  color: var(--muted);
}

.bm-doctor-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.bm-doctor-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  width: 100%;
  border: 1px solid var(--sage-25);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--sage-dk);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bm-doctor-btn:hover {
  background: var(--sage-dk);
  border-color: var(--sage-dk);
  color: var(--white);
}

/* ══════════════════════════════════════════
   МОБИЛЬНЫЙ
══════════════════════════════════════════ */
@media (max-width: 700px) {
  .bm-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .bm-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
    overflow-y: hidden; /* скролл убираем с модалки */
    display: flex; /* делаем flex-колонку */
    flex-direction: column;
  }
  .bm-overlay.is-open .bm-modal {
    transform: translateY(0);
  }
  .bm-header {
    padding: 0.7rem 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--cream);
    flex-shrink: 0; /* шапка не сжимается */
  }
  .bm-close {
    width: 36px;
    height: 36px;
  }
  .bm-grid {
    grid-template-columns: 1fr;
    margin: 1rem;
    overflow-y: auto; /* скролл только здесь */
    flex: 1; /* занимает оставшееся место */
  }
  .bm-card--help {
    grid-row: span 1;
  }
  .bm-card {
    padding: 1.25rem;
  }
  .bm-doctors-label {
    grid-column: 1/-1;
    border-top: var(--border-sage);
    border-bottom: none;
  }
  .bm-card--doctor {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .bm-doctor-info {
    flex: 1;
  }
  .bm-doctor-btn {
    flex-shrink: 0;
  }
}

/*# sourceMappingURL=main.css.map */
