/* ═══════════════════════════════════════════════════════════════════════════
   ТЦ Малахит — минималистично-премиальный стиль.
   Палитра: холодный белый + тёмно-зелёный малахит + золотая бронза.
   Типографика: Cormorant Garamond (serif для крупных) + Inter (sans для текста).
   Подход: пустоты, тонкие линии, никаких теней и градиентов.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Палитра */
  --c-bg:        #faf9f6;     /* кремово-белый, чуть тёплый */
  --c-bg-soft:   #f2efe9;     /* пыльный беж — секции */
  --c-bg-dark:   #1d2e23;     /* тёмный малахит — футер */
  --c-line:      #d8d2c5;     /* линии и разделители */
  --c-line-soft: #ece7db;
  --c-text:      #1a1f1c;     /* почти-чёрный с зелёным подтоном */
  --c-text-soft: #5a5f57;     /* приглушённый */
  --c-text-mute: #8a8f87;     /* совсем тихий */
  --c-accent:    #2d5a3f;     /* малахит — акцент, ссылки */
  --c-accent-h:  #3d7754;     /* hover */
  --c-gold:      #a78a4f;     /* приглушённое золото */

  /* Типографика */
  --f-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --f-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Размеры */
  --container: 1200px;
  --gutter: 32px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }
h4 { font-size: 20px; font-weight: 600; }

p { color: var(--c-text-soft); }
p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
  display: inline-block;
}

em.italic { font-style: italic; color: var(--c-accent); }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: clamp(80px, 10vw, 140px) 0;
}
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-dark); color: #fff; }

.divider { height: 1px; background: var(--c-line); margin: 0; border: 0; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo__mark {
  width: 38px;
  height: 38px;
  display: block;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.005em;
}
.logo__tagline {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}
.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav__link {
  font-size: 14px;
  color: var(--c-text);
  position: relative;
  transition: color .2s;
  padding: 8px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--c-accent); }
.nav__link:hover::after { transform: scaleX(1); }

.header__contact {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
}
.header__phone:hover { color: var(--c-accent); }

.header__burger {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.header__burger span {
  display: block;
  height: 1px;
  background: var(--c-text);
  width: 100%;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--c-text);
  color: var(--c-text);
  background: transparent;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--c-text); color: var(--c-bg); }

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn--primary:hover { background: var(--c-accent-h); border-color: var(--c-accent-h); color: #fff; }

.btn--ghost {
  border: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.btn--ghost::after {
  content: '→';
  margin-left: 12px;
  transition: transform .2s;
}
.btn--ghost:hover { background: transparent; color: var(--c-accent); }
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 15px; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(100px, 14vw, 200px) 0 clamp(100px, 12vw, 160px);
  background: var(--c-bg);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero__title {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero__title em {
  font-style: italic;
  color: var(--c-accent);
}
.hero__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--c-text-soft);
  max-width: 600px;
  margin-bottom: 48px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__meta {
  position: absolute;
  bottom: clamp(40px, 5vw, 80px);
  right: var(--gutter);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  text-align: right;
  z-index: 2;
}
.hero__meta-line { margin-top: 6px; }

/* Декоративная вертикальная линия в hero */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--c-line) 30%, var(--c-line) 70%, transparent);
  opacity: 0.4;
  pointer-events: none;
}

/* ─── Departments grid (главная) ─────────────────────────────────────────── */
.dep-intro {
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.dep-intro h2 {
  max-width: 720px;
  margin: 0 auto 24px;
}
.dep-intro p {
  max-width: 560px;
  margin: 0 auto;
}

.dep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.dep-grid > * {
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.dep-card {
  display: flex;
  flex-direction: column;
  padding: 56px 48px;
  background: var(--c-bg);
  position: relative;
  transition: background .25s ease;
  min-height: 340px;
}
.dep-card:hover { background: var(--c-bg-soft); }

.dep-card__num {
  font-family: var(--f-serif);
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.dep-card__title {
  font-family: var(--f-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.dep-card__sub {
  font-size: 13px;
  color: var(--c-gold);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.dep-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-soft);
  margin-bottom: 28px;
  flex-grow: 1;
}
.dep-card__floor {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dep-card__floor::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-text-mute);
}
.dep-card__more {
  margin-top: 24px;
  font-size: 13px;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color .2s;
}
.dep-card__more:hover { border-color: var(--c-accent); }

/* ─── Stats / numbers row ────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.stat {
  padding: 56px 24px;
  text-align: center;
  border-right: 1px solid var(--c-line);
}
.stat:last-child { border-right: none; }
.stat__value {
  font-family: var(--f-serif);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.stat__label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

/* ─── Advantages — two-column editorial ──────────────────────────────────── */
.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
}
.adv-list { display: grid; gap: 32px; }
.adv-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
}
.adv-item:last-child { border-bottom: none; }
.adv-item__title {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--c-text);
}
.adv-item__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-soft);
}

/* ─── Promotions / News ──────────────────────────────────────────────────── */
.promo-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.promo-grid > *, .news-grid > * {
  padding: 48px 40px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.promo h3, .news-card h3 {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.promo p, .news-card p {
  font-size: 15px;
  color: var(--c-text-soft);
  line-height: 1.65;
}
.news-card__date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 20px;
}

/* ─── Reviews ────────────────────────────────────────────────────────────── */
.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.review {
  padding: 44px 40px 44px 0;
  border-right: 1px solid var(--c-line);
}
.review:last-child { border-right: none; padding-right: 0; }
.review__text {
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: var(--c-text);
  margin-bottom: 28px;
}
.review__text::before { content: '«'; color: var(--c-gold); margin-right: 4px; }
.review__text::after  { content: '»'; color: var(--c-gold); margin-left: 4px; }
.review__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
}
.review__city {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

/* ─── Section header (editorial heading) ─────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.section-head__title {
  max-width: 480px;
}
.section-head__intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text-soft);
  max-width: 460px;
}
.section-head--center {
  display: block;
  text-align: center;
}
.section-head--center .section-head__title { margin: 0 auto; }
.section-head--center .section-head__intro { margin: 24px auto 0; }

/* ─── Schedule + contact (kontakty page) ─────────────────────────────────── */
.contact-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact-block { padding: 36px 0; border-bottom: 1px solid var(--c-line); }
.contact-block:first-child { padding-top: 0; }
.contact-block:last-child { border-bottom: none; }
.contact-block__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 12px;
}
.contact-block__value {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-text);
}
.contact-block__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--c-text-soft);
}
.schedule {
  display: grid;
  gap: 0;
}
.schedule__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 15px;
}
.schedule__row:last-child { border-bottom: none; }
.schedule__day { color: var(--c-text); }
.schedule__hours { color: var(--c-text-soft); font-variant-numeric: tabular-nums; }
.schedule__row--today { color: var(--c-accent); font-weight: 500; }
.schedule__row--today .schedule__hours { color: var(--c-accent); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--c-line);
  padding: 32px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--c-line); }
.faq-item__q {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--c-text);
}
.faq-item__a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-soft);
  max-width: 700px;
}

/* ─── Page hero (внутренние страницы) ────────────────────────────────────── */
.page-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--c-line);
}
.page-hero__title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 24px;
}
.page-hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--c-text-soft);
  max-width: 640px;
}

/* ─── Department detail page ─────────────────────────────────────────────── */
.dep-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  padding: clamp(60px, 8vw, 100px) 0;
}
.dep-detail__main h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
  margin-top: 48px;
}
.dep-detail__main h3:first-child { margin-top: 0; }
.dep-detail__main p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-soft);
  max-width: 640px;
}
.dep-detail__main p + p { margin-top: 1.2em; }
.dep-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dep-detail__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 15px;
  color: var(--c-text);
}
.dep-detail__aside {
  background: var(--c-bg-soft);
  padding: 40px 36px;
  align-self: start;
  position: sticky;
  top: 100px;
}
.dep-detail__aside-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.dep-detail__aside-row:last-child { border-bottom: none; }
.dep-detail__aside-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 6px;
}
.dep-detail__aside-value {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-text);
}

/* ─── Other-departments strip ────────────────────────────────────────────── */
.other-deps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--c-line);
}
.other-deps__item {
  padding: 32px 24px;
  border-right: 1px solid var(--c-line);
  text-align: center;
  transition: background .2s;
}
.other-deps__item:last-child { border-right: none; }
.other-deps__item:hover { background: var(--c-bg-soft); }
.other-deps__title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 6px;
}
.other-deps__floor {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.85);
  padding: clamp(80px, 8vw, 120px) 0 40px;
  font-size: 14px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__tagline { color: rgba(255,255,255,0.5); }
.footer__about {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 360px;
}
.footer__col-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer__list { display: grid; gap: 12px; }
.footer__list a { color: rgba(255,255,255,0.75); transition: color .2s; }
.footer__list a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── 404 ────────────────────────────────────────────────────────────────── */
.error-page {
  text-align: center;
  padding: clamp(120px, 14vw, 200px) 0;
}
.error-page__num {
  font-family: var(--f-serif);
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 500;
  line-height: 1;
  color: var(--c-accent);
  margin-bottom: 32px;
}

/* ─── Policy / long-text pages ───────────────────────────────────────────── */
.text-page {
  padding: clamp(60px, 8vw, 120px) 0;
}
.text-page__inner {
  max-width: 760px;
  margin: 0 auto;
}
.text-page__inner h2 {
  margin-top: 56px;
  margin-bottom: 20px;
  font-size: 30px;
}
.text-page__inner h2:first-child { margin-top: 0; }
.text-page__inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-soft);
  margin-bottom: 1em;
}
.text-page__inner ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}
.text-page__inner li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 15px;
  color: var(--c-text-soft);
  line-height: 1.65;
}
.text-page__inner li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-text-mute);
}

/* ─── CTA strip ──────────────────────────────────────────────────────────── */
.cta-strip {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--c-bg-soft);
}
.cta-strip__title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
}
.cta-strip__sub {
  font-size: 17px;
  color: var(--c-text-soft);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip__phone {
  display: inline-block;
  font-family: var(--f-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--c-accent);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.cta-strip__phone:hover { color: var(--c-accent-h); }

/* ─── Mobile nav (drawer) ────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 40px var(--gutter);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.mobile-nav__close {
  font-size: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav__list a {
  display: block;
  padding: 20px 0;
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav { display: none; }
  .header__contact .btn--sm { display: none; }
  .header__burger { display: flex; }

  .dep-grid { grid-template-columns: 1fr; }
  .promo-grid, .news-grid { grid-template-columns: 1fr; }
  .reviews-row { grid-template-columns: 1fr; }
  .review { border-right: none; border-bottom: 1px solid var(--c-line); padding-right: 0; }
  .review:last-child { border-bottom: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--c-line); }

  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .advantages { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .dep-detail { grid-template-columns: 1fr; }
  .dep-detail__aside { position: static; }
  .other-deps { grid-template-columns: repeat(2, 1fr); }
  .other-deps__item:nth-child(2) { border-right: none; }
  .other-deps__item { border-bottom: 1px solid var(--c-line); }

  .footer__top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .dep-card { padding: 40px 32px; min-height: auto; }
  .dep-card__title { font-size: 32px; }

  .hero__meta { display: none; }
}
@media (max-width: 540px) {
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--c-line); }
  .stat:last-child { border-bottom: none; }
}
