@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Prata-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/GolosText-VariableFont_wght.woff2') format('woff2-variations');
}

/* =============================================
   ПРОЕКТ Н — nataivanova.ru
   Mobile-first, max-width: 1280px
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

body {
  background: var(--warm-white);
  color: var(--dark);
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

/* ===== КОНТЕЙНЕР ===== */
.n-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ===== ШАПКА ===== */
.n-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.n-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.n-logo {
  font-family: 'Prata', serif;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.n-logo:hover { color: var(--dusty-pink); text-decoration: none; }

.n-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}
.n-nav a {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.n-nav a:hover,
.n-nav a.active { color: var(--dark); text-decoration: none; }
.n-mobile-cta { display: none; }
.n-nav__arrow { display: none; }

/* ===== SKIP-LINK (виден только при фокусе с клавиатуры) ===== */
.n-skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 300;
  background: var(--warm-white);
  color: var(--dark);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  padding: 10px 18px;
  text-decoration: none;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.n-nav__item { position: relative; list-style: none; display: flex; align-items: center; }

.n-nav__dropdown-toggle {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.n-nav__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.n-nav__item.open .n-nav__dropdown-toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}
.n-nav__dropdown-toggle:hover,
.n-nav__dropdown-toggle.active { color: var(--dark); }

.n-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  min-width: 240px;
  background: rgb(247 244 246 / 98%);
  border: 1px solid var(--sand);
  backdrop-filter: blur(8px);
  z-index: 200;
  padding: 8px 0;
}
.n-nav__item.open .n-nav__dropdown { display: block; }

.n-nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s;
}
.n-nav__dropdown a:hover { color: var(--dark); background: var(--cream); }
.n-nav__dropdown a.active { color: var(--dark); }

/* разделитель внутри дропдауна */
.n-nav__dropdown-divider {
  height: 1px;
  background: var(--sand);
  margin: 6px 20px;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.n-breadcrumbs {
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
}
.n-breadcrumbs ol {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.n-breadcrumbs li {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}
.n-breadcrumbs li + li::before {
  content: '→';
  margin-right: 8px;
  color: var(--sand);
}
.n-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.n-breadcrumbs a:hover { color: var(--dusty-pink); }
.n-breadcrumbs li[aria-current="page"] { color: var(--dark); }

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.n-main { min-height: calc(100vh - 64px - 160px); }

/* ===== СЕКЦИЯ-ОБЁРТКА ===== */
.n-section {
  padding: 40px var(--gap);
}

/* ===== РИТМ МЕЖДУ БЛОКАМИ (верхний уровень страницы) =====
   Между видимыми краями соседних блоков всегда 64px (моб. 40px).
   Прозрачные секции не несут вертикальных padding — ритм задаёт margin.
   Цветные секции сохраняют внутренние 40px для коробки фона. */
.n-main > .n-section { margin-top: 64px; padding-top: 0; padding-bottom: 0; }
.n-main > .spec-section { margin-top: 64px; } /* кастомная секция на /obo-mne/ */
.n-main > .n-section--white,
.n-main > .n-section--cream,
.n-main > #n-contact { padding-top: 40px; padding-bottom: 40px; }
/* белые секции: фон почти неотличим от фона страницы, поэтому их ритм
   считается по контенту, а не по краю коробки: 24px до края + 40px
   внутренних = те же 64px воздуха до заголовка */
.n-main > .n-section--white,
.n-main > .n-section--white + .n-section { margin-top: 24px; }
/* намеренно слипшиеся белые блоки (разделены линией): 40 + 24 = 64 вокруг стыка */
.n-main > .n-section--white + .n-section--white { margin-top: 0; padding-top: 24px; }
/* последний прозрачный блок не прилипает к футеру */
.n-main > .n-section:last-child:not(#n-contact) { margin-bottom: 64px; }
/* краевые отступы контента не должны ломать ритм между блоками */
.n-main > .n-section > .n-section__inner > :first-child { margin-top: 0; }
.n-main > .n-section > .n-section__inner > :last-child { margin-bottom: 0; }

.n-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ===== ЗАГОЛОВКИ ===== */
h1, .n-h1 {
  font-family: 'Prata', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.01em;
  text-align: center;
}
h1 em, .n-h1 em { font-style: normal; color: var(--dusty-pink); }

h2, .n-h2 {
  font-family: 'Prata', serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.01em;
  text-align: left;
}
h2 em, .n-h2 em { font-style: normal; color: var(--dusty-pink); }

h3, .n-h3 {
  font-family: 'Prata', serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--dark);
  text-align: left;
}
h3 em, .n-h3 em { font-style: normal; color: var(--dusty-pink); }
/* ===== УНИВЕРСАЛЬНЫЕ ОТСТУПЫ ===== */
h2 { margin-bottom: 24px; }
h3 { margin-bottom: 8px; }

/* Текст после заголовка — h2 уже имеет 24px снизу, дополнительный отступ не нужен */
h2 + .n-body,
h2 + p { margin-top: 0; }

h3 + .n-body,
h3 + p { margin-top: 12px; }

/* Отступ между абзацами — уже есть в style.css */
/* .n-body + .n-body { margin-top: 16px; } */

/* Кнопка после текста */
.n-body + .n-btn-row,
p + .n-btn-row { margin-top: 32px; }

/* ===== ПОДЗАГОЛОВОК ПОД H1 ===== */
.n-h1-sub {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark);
  text-align: center;
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ОСНОВНОЙ ТЕКСТ ===== */
.n-body {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--dark);
}
.n-body + .n-body { margin-top: 16px; }
.n-body strong { font-weight: 500; color: var(--dark); }

/* ===== ССЫЛКИ ===== */
a {
  color: var(--dusty-pink);
  text-decoration: underline;
  text-decoration-color: rgba(188, 122, 137, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: var(--dusty-pink); }

/* ===== .n-note ===== */
.n-note {
  border-top: 1px solid var(--sand);
  padding-top: 20px;
}
.n-note-label {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.n-note p {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mid);
}

/* ===== ЦИТАТА ===== */
blockquote {
  border-left: 3px solid var(--rose);
  padding: 4px 0 4px 28px;
  margin: 0;
}
blockquote p {
  font-family: 'Prata', serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  letter-spacing: -0.01em;
}
blockquote cite {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ===== ТЕГИ ===== */
.n-small {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.n-tag {
  display: inline-block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.75rem;
  padding: 3px 8px !important;
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--muted);
  border-radius: var(--radius-pill) !important;
  margin-right: 6px;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.n-tag:hover { border-color: var(--dusty-pink); color: var(--dusty-pink); text-decoration: none; }

/* ===== КНОПКИ ===== */
.n-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.n-btn {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  padding: 13px 32px;
  border: 1.5px solid transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-decoration: none !important;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.n-btn-dark { background: var(--dusty-pink); color: var(--warm-white) !important; }
.n-btn-dark:hover { background: var(--dusty-pink-dark); }
.n-btn-outline { background: transparent; color: var(--dark) !important; border: 1.5px solid var(--dark); }
.n-btn-outline:hover { border-color: var(--dusty-pink); color: var(--dusty-pink) !important; }

/* ===== ЗАГЛУШКА ИЗОБРАЖЕНИЯ ===== */
.n-img-placeholder {
  width: 100%;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

/* ===== ФУТЕР ===== */
.n-footer {
  background: var(--cream);
  border-top: 1px solid var(--sand);
  padding: 40px 0;
  margin-top: 80px;
}
.n-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.n-footer__contacts {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.n-footer__contacts a { color: var(--mid); text-decoration: none; }
.n-footer__contacts a:hover { color: var(--dusty-pink); }
.n-footer__social { display: flex; gap: 16px; align-items: center; }
.n-footer__social a {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.n-footer__social a:hover { color: var(--dusty-pink); }
.n-footer__bottom {
  border-top: 1px solid var(--sand);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.n-footer__copy {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}
.n-footer__legal { display: flex; gap: 20px; }
.n-footer__legal a {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
}
.n-footer__legal a:hover { color: var(--dusty-pink); }

/* ===== МОБАЙЛ ===== */
@media (max-width: 768px) {
  :root { --gap: 20px; }
  #n-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--warm-white);
    z-index: 1000;
    padding: 80px var(--gap) 32px;
    overflow-y: auto;
    flex-direction: column;
  }
  #n-nav.is-open { display: flex; }
  #n-nav.is-open .n-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  #n-nav.is-open .n-nav__item { display: block; border-bottom: 1px solid var(--sand); }
  #n-nav.is-open .n-nav a,
  #n-nav.is-open .n-nav__dropdown-toggle {
    font-size: 1rem;
    padding: 14px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .n-section { padding: 40px var(--gap); }
  .n-main > .n-section { margin-top: 40px; }
  .n-main > .n-section--white,
  .n-main > .n-section--white + .n-section { margin-top: 0; }
  .n-main > .n-section--white + .n-section--white { padding-top: 16px; }
  .n-main > .n-section:last-child:not(#n-contact) { margin-bottom: 40px; }
  .n-footer { padding: 32px 0; }
  .n-footer__top { flex-direction: column; }
  .n-footer__bottom { flex-direction: column; align-items: flex-start; }
  .n-btn-row { flex-direction: column; align-items: stretch; }
  .n-btn { text-align: center; }
}

@media (max-width: 480px) {
  :root { --gap: 16px; }
}

/* =============================================
   БЛОКИ ГЛАВНОЙ СТРАНИЦЫ
   ============================================= */

/* ===== ПОМОГАЮ КЛИНИКАМ ===== */
.n-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .n-help__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
}

/* ===== ЦИТАТА В ТЕКСТЕ ===== */
.n-quote-inline {
  border-left: 3px solid var(--rose);
  padding: 4px 0 4px 24px;
  margin: 0;
}
.n-quote-inline p {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--dark);
}
.n-quote-inline strong {
  font-weight: 500;
  color: var(--dark);
}
.n-quote-inline cite {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ===== ДЛЯ КОГО ===== */
.n-forwhom__types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 56px;
}
.n-forwhom__type {
  padding: 28px 24px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.n-forwhom__type-title {
  font-family: 'Prata', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dusty-pink);
  margin-bottom: 12px;
}
.n-forwhom__conditions {
  padding-top: 0;
}
.n-forwhom__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.n-forwhom__list li {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.n-forwhom__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dusty-pink);
}
@media (min-width: 768px) {
  .n-forwhom__types {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ===== ОБО МНЕ ===== */
.n-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .n-about__grid {
    grid-template-columns: 2fr 3fr;
    gap: 72px;
    align-items: start;
  }
}

/* ===== TYPEWRITER ===== */
#n-typewriter {
  padding-top: 56px;
  padding-bottom: 56px;
}
.n-typewriter__box {
  text-align: center;
}
.n-typewriter__static {
  font-family: 'Prata', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 10px;
}
.n-typewriter__dynamic {
  font-family: 'Prata', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--rose);
  min-height: 1.5em;
  display: block;
}
.n-typewriter__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--rose);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== МОЙ ПОДХОД ===== */
.n-approach__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.n-approach__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.n-approach__point {
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.n-approach__num {
  font-family: 'Prata', serif;
  font-size: 1.05rem;
  color: var(--sage);
  min-width: 32px;
  flex-shrink: 0;
}
.n-approach__title {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .n-approach__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
}

/* ===== УСЛУГИ ===== */
.n-services__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.n-services__list {
  display: flex;
  flex-direction: column;
}
.n-services__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid var(--sand);
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color 0.2s;
}
.n-services__item-num {
  font-family: 'Prata', serif;
  font-size: 1.05rem;
  color: var(--sage);
  min-width: 28px;
  transition: color 0.2s;
}
.n-services__item-title {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--mid);
  flex: 1;
  transition: color 0.2s;
}
.n-services__item-arrow {
  font-size: 1rem;
  color: transparent;
  transition: color 0.2s, transform 0.2s;
}
.n-services__item:hover .n-services__item-title,
.n-services__item.active .n-services__item-title {
  color: var(--dark);
}
.n-services__item:hover .n-services__item-num,
.n-services__item.active .n-services__item-num {
  color: var(--dusty-pink);
}
.n-services__item:hover .n-services__item-arrow,
.n-services__item.active .n-services__item-arrow {
  color: var(--dusty-pink);
  transform: rotate(90deg);
}
.n-services__panel {
  display: none;
}
.n-services__card {
  display: none;
  padding: 36px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.n-services__card.active {
  display: block;
}
.n-services__card-num {
  font-family: 'Prata', serif;
  font-size: 2rem;
  color: var(--sand);
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .n-services__layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .n-services__panel {
    display: block;
    position: sticky;
    top: 84px;
  }
  .n-services__card {
    animation: fadeInUp 0.25s ease;
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .n-services__item-arrow {
    display: inline;
  }
}
@media (max-width: 767px) {
  .n-services__item-arrow {
    display: none;
  }
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.n-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.n-steps__card {
  padding: 32px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.n-steps__card--rose { background: var(--rose); }
.n-steps__card--dark { background: var(--dark); }
.n-steps__num {
  font-family: 'Prata', serif;
  font-size: 1.5rem;
  color: var(--sand);
  margin-bottom: 12px;
}
.n-steps__card--rose .n-steps__num { color: var(--white); }
.n-steps__card--dark .n-steps__num { color: rgba(255,255,255,0.5); }
.n-steps__title {
  font-family: 'Prata', serif;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 12px;
}
.n-steps__card--rose .n-steps__title,
.n-steps__card--dark .n-steps__title { color: var(--white); }
.n-steps__desc {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--dark);
}
.n-steps__card--rose .n-steps__desc { color: rgba(255,255,255,0.85); }
.n-steps__card--dark .n-steps__desc { color: rgba(255,255,255,0.6); }
@media (min-width: 600px) {
  .n-steps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .n-steps__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== ЭКСПРЕСС-АУДИТ ===== */
.n-leadmagnet__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.n-leadmagnet__params {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.n-leadmagnet__param {
  display: flex;
  align-items: center;
  gap: 14px;
}
.n-leadmagnet__icon {
  color: var(--sage);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.n-leadmagnet__param-text {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
}
@media (min-width: 768px) {
  .n-leadmagnet__layout {
    grid-template-columns: 3fr 2fr;
    gap: 80px;
  }
}

/* ===== ГАЙД НА ГЛАВНОЙ ===== */
#n-home-guide [data-guide-card] {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  overflow: visible;
  background: linear-gradient(135deg, var(--rose), var(--dusty-pink));
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: var(--warm-white);
  box-shadow: 0 18px 48px rgba(26,22,18,0.12);
}
#n-home-guide [data-guide-copy] {
  position: relative;
  z-index: 2;
}
#n-home-guide [data-guide-label] {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.86);
  border-radius: var(--radius-sm);
  font-family: 'Golos Text', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dusty-pink);
}
#n-home-guide h2 {
  max-width: 640px;
  margin-bottom: 16px;
  color: var(--warm-white);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.22;
}
#n-home-guide .n-body {
  max-width: 650px;
  color: rgba(255,255,255,0.88);
  font-size: 0.94rem;
  line-height: 1.68;
}
#n-home-guide [data-guide-features] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
#n-home-guide [data-guide-feature] {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
#n-home-guide [data-guide-feature] span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.78);
  font-family: 'Prata', serif;
  font-size: 0.9rem;
  color: var(--dusty-pink);
}
#n-home-guide [data-guide-feature] p {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}
#n-home-guide [data-guide-button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 30px;
  padding: 15px 30px;
  border: 1.5px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-sm);
  font-family: 'Golos Text', sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--warm-white);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
#n-home-guide [data-guide-button]:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--warm-white);
}
#n-home-guide [data-guide-button] svg {
  flex: 0 0 auto;
}
#n-home-guide [data-guide-visual] {
  position: relative;
  min-height: 420px;
}
#n-home-guide [data-guide-visual]::before,
#n-home-guide [data-guide-visual]::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: min(360px, 72vw);
  aspect-ratio: 1323 / 1871;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 36px rgba(26,22,18,0.12);
}
#n-home-guide [data-guide-visual]::before {
  transform: translateX(-50%) translate(18px, 22px) rotate(6deg);
}
#n-home-guide [data-guide-visual]::after {
  z-index: 0;
  background: rgba(255,255,255,0.42);
  transform: translateX(-50%) translate(32px, 42px) rotate(8deg);
}
#n-home-guide [data-guide-visual] img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(360px, 72vw);
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 54px rgba(26,22,18,0.24);
  transform: rotate(4deg);
  transform-origin: 60% 80%;
}
#n-home-guide [data-guide-ring] {
  position: absolute;
  right: 0;
  bottom: 58px;
  z-index: 1;
  width: 280px;
  height: 280px;
  border: 32px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
#n-home-guide [data-guide-badge] {
  position: absolute;
  right: 8px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  padding: 18px;
  border-radius: 50%;
  background: var(--warm-white);
  box-shadow: 0 18px 36px rgba(26,22,18,0.14);
  font-family: 'Golos Text', sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  color: var(--dark);
}
@media (min-width: 760px) {
  #n-home-guide [data-guide-card] {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    min-height: 450px;
    padding: 42px 48px 42px 44px;
  }
  #n-home-guide [data-guide-features] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 700px;
    gap: 22px;
  }
  #n-home-guide [data-guide-feature] {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  #n-home-guide [data-guide-feature] span {
    width: 48px;
    height: 48px;
  }
  #n-home-guide [data-guide-visual] {
    min-height: 430px;
  }
  #n-home-guide [data-guide-visual]::before,
  #n-home-guide [data-guide-visual]::after {
    left: auto;
    right: 28px;
    top: -42px;
    width: min(390px, 30vw);
  }
  #n-home-guide [data-guide-visual]::before {
    transform: translate(18px, 22px) rotate(6deg);
  }
  #n-home-guide [data-guide-visual]::after {
    transform: translate(32px, 42px) rotate(8deg);
  }
  #n-home-guide [data-guide-visual] img {
    width: min(390px, 30vw);
    margin-top: -42px;
    margin-right: 28px;
  }
  #n-home-guide [data-guide-ring] {
    right: 22px;
    bottom: 72px;
    width: 310px;
    height: 310px;
  }
  #n-home-guide [data-guide-badge] {
    right: -10px;
    bottom: 54px;
  }
}
@media (max-width: 759px) {
  #n-forwhom {
    padding-bottom: 20px;
  }
  #n-home-guide {
    padding-top: 36px;
    padding-bottom: 16px;
    overflow-x: clip;
  }
  #n-home-guide [data-guide-visual] {
    min-height: 450px;
  }
  #n-home-guide [data-guide-visual]::before {
    transform: translateX(-50%) translate(10px, 18px) rotate(6deg);
  }
  #n-home-guide [data-guide-visual]::after {
    transform: translateX(-50%) translate(18px, 34px) rotate(8deg);
  }
  #n-home-guide [data-guide-button] {
    width: 100%;
  }
  #n-home-guide [data-guide-badge] {
    right: 0;
    bottom: 18px;
    width: 126px;
    height: 126px;
    font-size: 0.86rem;
  }
}


/* ===== КЕЙСЫ ===== */
.n-case-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--dusty-pink);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.n-case-featured__content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.n-case-featured__client {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.n-case-featured__title {
  font-family: 'Prata', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
}
.n-case-featured__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.n-case-featured__desc {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
}
.n-case-featured__link {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
  align-self: flex-start;
}
.n-case-featured__link:hover {
  text-decoration-color: rgba(255,255,255,0.9);
  color: var(--white);
}
.n-tag--light {
  border-color: rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,0.9) !important;
}
.n-case-featured__image {
  min-height: 200px;
}
.n-cases__other {
  margin-top: 48px;
}
.n-cases__outer {
  position: relative;
}

/* Mobile: горизонтальный скролл, 1 карточка за раз */
.n-cases__grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 16px;
}
.n-cases__grid::-webkit-scrollbar { display: none; }
.n-cases__grid .n-case-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
}

/* Tablet: обычная сетка 2 колонки */
@media (min-width: 600px) {
  .n-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .n-cases__grid .n-case-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}
/* Desktop: 4 колонки */
@media (min-width: 900px) {
  .n-cases__grid { grid-template-columns: repeat(4, 1fr); }
  /* Carousel mode для 5+ карточек (класс добавляет JS) */
  .n-cases__grid--carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
  }
  .n-cases__grid--carousel::-webkit-scrollbar { display: none; }
  .n-cases__grid--carousel .n-case-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    scroll-snap-align: start;
  }
}

/* Кнопки навигации карусели */
.n-cases__nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}
.n-cases__btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sand);
  background: var(--warm-white);
  color: var(--dark);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.n-cases__btn:hover {
  background: var(--dark);
  color: var(--warm-white);
}

.n-case-card {
  padding: 28px;
  background: var(--white);
  border-top: 3px solid var(--dusty-pink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
a.n-case-card {
  text-decoration: none;
  color: inherit;
}
.n-case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,22,18,0.08);
}
.n-case-card__readlink {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--dusty-pink);
  text-decoration: none;
  margin-top: 4px;
}
.n-case-card__readlink:hover { text-decoration: underline; }
.n-case-card__client {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.n-case-card__title {
  font-family: 'Prata', serif;
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.35;
}
.n-case-card__desc {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--dark);
  flex: 1;
}
.n-case-card__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .n-case-featured { grid-template-columns: 3fr 2fr; }
  .n-case-featured__image { min-height: 320px; }
}

/* ===== КОМПАКТНЫЙ КЕЙС НА ГЛАВНОЙ ===== */
#n-home-case-compact [data-home-case],
#seo-case [data-home-case] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(226,214,218,0.78);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(26,22,18,0.06);
}
#seo-case [data-home-case] {
  margin-top: 32px;
}
#n-home-case-compact [data-home-case-kicker],
#seo-case [data-home-case-kicker] {
  margin-bottom: 12px;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--dusty-pink);
}
#n-home-case-compact [data-home-case-title],
#seo-case [data-home-case-title] {
  margin-bottom: 22px;
  font-family: 'Prata', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.32;
  color: var(--dark);
}
#n-home-case-compact [data-home-case-image] img,
#seo-case [data-home-case-image] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: var(--radius-md);
}
#n-home-case-compact [data-home-case-copy] h3,
#seo-case [data-home-case-copy] h3 {
  margin-bottom: 14px;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.35;
}
#n-home-case-compact [data-home-case-source],
#seo-case [data-home-case-source] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sage);
}
#n-home-case-compact [data-home-case-source] svg,
#seo-case [data-home-case-source] svg {
  flex: 0 0 auto;
}
#n-home-case-compact [data-home-case-copy] .n-body,
#seo-case [data-home-case-copy] .n-body {
  font-size: 0.96rem;
  line-height: 1.7;
}
#n-home-case-compact [data-home-case-stats],
#seo-case [data-home-case-stats] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
#n-home-case-compact [data-home-case-stats] strong,
#seo-case [data-home-case-stats] strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Prata', serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1;
  color: var(--dusty-pink);
}
#n-home-case-compact [data-home-case-stats] span,
#seo-case [data-home-case-stats] span {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--mid);
}
@media (min-width: 820px) {
  #n-home-case-compact [data-home-case],
  #seo-case [data-home-case] {
    grid-template-columns: 1fr minmax(240px, 0.8fr) 1.25fr;
    gap: 34px;
    align-items: stretch;
    padding: 34px 36px;
  }
  #n-home-case-compact [data-home-case-main],
  #seo-case [data-home-case-main] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #n-home-case-compact [data-home-case-main] .n-btn-sm,
  #seo-case [data-home-case-main] .n-btn-sm {
    margin-top: auto;
  }
  #n-home-case-compact [data-home-case-image] img,
  #seo-case [data-home-case-image] img {
    height: 100%;
  }
  #n-home-case-compact [data-home-case-stats],
  #seo-case [data-home-case-stats] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

#n-blog .n-btn-outline {
  border-radius: var(--radius-pill);
}

/* ===== ФОРМА КОНТАКТОВ ===== */
/* вертикальные отступы формы задаёт ритм-система (.n-main > #n-contact) */
.n-contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.n-contact__title { color: var(--white) !important; }
.n-contact__title em { color: var(--white) !important; font-style: normal; }
.n-contact__sub { color: rgba(255,255,255,0.8) !important; }
.n-contact__contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.n-contact__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.n-contact__link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.6);
  text-underline-offset: 4px;
}
.n-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.n-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.n-form__label {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}
.n-form__required { color: rgba(255,255,255,0.6); }
.n-form__input {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: var(--warm-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: box-shadow 0.2s;
  width: 100%;
}
.n-form__input:focus { box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }
.n-form__input::placeholder { color: var(--muted); }
.n-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.n-form__check-input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--dark);
  cursor: pointer;
}
.n-form__check-label {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  cursor: pointer;
}
.n-form__check-link {
  color: rgba(255,255,255,0.95);
  text-decoration-color: rgba(255,255,255,0.4);
}
.n-form__check-link:hover { text-decoration-color: rgba(255,255,255,0.95); }
.n-btn-contact {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 13px 32px;
  background: var(--dark);
  color: var(--warm-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.22s;
}
.n-btn-contact:hover { background: var(--dusty-pink); }
.n-form__success {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  padding: 12px 0;
}
.n-form__error {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding: 12px 0;
}
@media (min-width: 768px) {
  .n-contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }
}

.hero-text blockquote,
blockquote { margin-top: 24px; }

/* ===== БУРГЕР ===== */
.n-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.n-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  margin: 0 auto;
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 768px) {
  .n-burger { display: flex; }
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.n-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 100%);
  height: 100%;
  background: var(--warm-white);
  border-left: 1px solid var(--sand);
  z-index: 300;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.n-mobile-menu.open { right: 0; }
.n-mobile-menu__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.4);
  z-index: 250;
}
.n-mobile-menu__overlay.open { display: block; }
.n-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  border-bottom: 1px solid var(--sand);
  flex-shrink: 0;
}
.n-mobile-menu__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mid);
}
.n-mobile-menu__close:hover { color: var(--dusty-pink); }
.n-mobile-menu__nav { padding: 8px 0; flex: 1; }
.n-mobile-menu__nav ul { list-style: none; }
.n-mobile-menu__nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  min-height: 44px;
}
.n-mobile-menu__nav > ul > li > a:hover,
.n-mobile-menu__nav > ul > li > a.active { color: var(--dusty-pink); }
.n-mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  min-height: 44px;
}
.n-mobile-menu__toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.n-mobile-sub-item.open .n-mobile-menu__toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}
.n-mobile-menu__toggle:hover,
.n-mobile-menu__toggle.active { color: var(--dusty-pink); }
.n-mobile-sub { display: none; background: var(--cream); }
.n-mobile-sub-item.open .n-mobile-sub { display: block; }
.n-mobile-sub a {
  display: flex;
  align-items: center;
  padding: 12px 24px 12px 40px;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  color: var(--mid);
  text-decoration: none;
  min-height: 44px;
}
.n-mobile-sub a:hover { color: var(--dusty-pink); }
.n-mobile-sub a.active { color: var(--dark); }

/* ===== КНОПКА НАВЕРХ ===== */
.n-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--warm-white);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}
.n-back-to-top.visible { opacity: 1; visibility: visible; }
.n-back-to-top:hover { background: var(--dusty-pink); }

/* ===== КУКИ-БАННЕР ===== */
.n-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 340px;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(26, 22, 18, 0.08);
  z-index: 100;
  display: none;
}
.n-cookie-banner.visible { display: block; }
.n-cookie-banner__text {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.n-cookie-banner__link {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  text-decoration: none;
  margin-bottom: 14px;
}
.n-cookie-banner__link:hover { color: var(--dusty-pink); }
.n-cookie-banner__btn {
  display: block;
  width: 100%;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  padding: 12px;
  background: var(--dark);
  color: var(--warm-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.n-cookie-banner__btn:hover { background: var(--dusty-pink); }

/* ============================================
   БЛОГ — СТАТЬЯ
   ============================================ */

/* --- Двухколоночный лэйаут статьи --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.article-layout > * { min-width: 0; }

/* --- Заголовки внутри статьи --- */
article h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
article h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
article h2:first-child,
article h3:first-child { margin-top: 0; }

/* --- TLDR — «Коротко о главном» --- */
.tldr-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  margin-bottom: 36px;
}
.tldr-title {
  font-family: 'Prata', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}
.tldr-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tldr-block ul li {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.tldr-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dusty-pink);
}

/* --- TOC — содержание статьи (сайдбар) --- */
.toc-block {
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
}
.toc-title {
  font-family: 'Prata', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 14px;
}
.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toc-chevron {
  display: none;
  color: var(--muted);
  font-size: 0.88rem;
  transition: transform 0.2s;
}
.toc-block.open .toc-chevron { transform: rotate(180deg); }
.toc-list {
  list-style: none;
}
.toc-list li { border-bottom: 1px solid var(--sand); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  text-decoration: none;
  padding: 8px 0;
  line-height: 1.4;
  transition: color 0.2s;
}
.toc-list a:hover { color: var(--dusty-pink); }

/* --- Сайдбар статьи (sticky) --- */
.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Прогресс-бар чтения --- */
.article-progress-wrap {
  height: 2px;
  background: var(--sand);
  margin-top: 20px;
}
.article-progress-fill {
  height: 100%;
  width: 0;
  background: var(--dusty-pink);
  transition: width 0.1s linear;
}

/* --- Карточка блога (.n-blog-card) --- */
.n-blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.n-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,22,18,0.08);
  border-color: var(--dusty-pink);
}
.n-blog-card__date {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.n-blog-card__title {
  display: block;
  font-family: 'Prata', serif;
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 8px;
  text-decoration: none;
}
.n-blog-card__anons {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 10px;
}
.n-blog-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* --- Сетка блога (.n-blog-grid) --- */
.n-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- «Читайте также» внизу статьи (.ra-grid) --- */
.ra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

/* --- Сайдбар: «Читайте также» (.sra-block) --- */
.sra-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sra-label {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* --- Сайдбар: автор (.sb-author-block) --- */
.sb-author-block {
  background: var(--cream);
  padding: 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sb-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dusty-pink);
  color: var(--white);
  font-family: 'Prata', serif;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.sb-author-name {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
}
.sb-author-link {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--dusty-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Сайдбар: CTA (.cta-sb) --- */
.cta-sb {
  background: var(--rose);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--radius-lg);
}
.cta-sb-label {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cta-sb-title {
  font-family: 'Prata', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
}
.cta-tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-tg:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* --- Prev / Next навигация (.prev-next) --- */
.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--sand);
  padding-top: 28px;
  margin-top: 40px;
}
.pn-item { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.pn-item.next { align-items: flex-end; text-align: right; }
.pn-dir {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}
.pn-title {
  font-family: 'Prata', serif;
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s;
}
.pn-title:hover { color: var(--dusty-pink); }

/* --- Кнопка «Скопировать ссылку» (.copy-link-btn) --- */
.copy-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.75rem;
  color: var(--dark);
  background: transparent;
  border: 1.5px solid var(--dark);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.copy-link-btn:hover { border-color: var(--dusty-pink); color: var(--dusty-pink); }

/* --- Таблица в статье (.art-table) --- */
.art-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.art-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.9rem;
}
.art-table th {
  text-align: left;
  font-weight: 500;
  color: var(--dark);
  padding: 12px 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  border-right: 1px solid var(--sand);
}
.art-table th:last-child { border-right: none; }
.art-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sand);
  border-right: 1px solid var(--sand);
  color: var(--dark);
  line-height: 1.6;
  vertical-align: top;
}
.art-table td:last-child { border-right: none; }
.art-table td:first-child { color: var(--dusty-pink); font-weight: 500; }
.art-table tbody tr:last-child td { border-bottom: none; }

/* --- Врезка (.art-callout) --- */
.art-callout {
  border-left: 3px solid var(--sage);
  background: var(--warm-white);
  padding: 12px 20px;
}
.art-callout p {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.75;
}
.art-callout p.art-callout-lead {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* --- «Как не надо / как лучше» (.art-compare) --- */
.art-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}
.art-compare__bad,
.art-compare__good { padding: 16px 18px; border-radius: var(--radius-sm); }
.art-compare__bad { background: var(--c-negative-bg); border-left: 3px solid var(--c-negative-border); }
.art-compare__good { background: var(--c-positive-bg); border-left: 3px solid var(--sage); }
.art-compare__label {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.art-compare__bad .art-compare__label { color: var(--c-negative-text); }
.art-compare__good .art-compare__label { color: var(--sage); }
.art-compare__text {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.65;
}

/* --- Маркированный список в статье (.art-bullets) --- */
.art-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.art-bullets li {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.art-bullets li::before { content: '—'; position: absolute; left: 0; color: var(--dusty-pink); }

/* --- Отступ для обычных списков в статье --- */
article ul:not([class]), article ol:not([class]) { padding-left: 1.25rem; }

/* --- Маркированный список в стиле deliverables (.art-list-marks) --- */
.art-list-marks {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
}
.art-list-marks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.65;
}
.art-list-marks li::before {
  content: '✦';
  font-family: 'Prata', serif;
  font-size: 0.72rem;
  color: var(--sage);
  flex-shrink: 0;
  line-height: 1;
}

/* --- Нумерованный список без линии (.art-steps) --- */
.art-steps { margin-top: 1rem; display: flex; flex-direction: column; }
.art-steps__item { display: grid; grid-template-columns: 36px 1fr; gap: 20px; padding-bottom: 24px; }
.art-steps__item:last-child { padding-bottom: 0; }
.art-steps__num {
  font-family: 'Prata', serif;
  font-size: 0.78rem;
  color: var(--sage);
  width: 36px;
  height: 36px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.art-steps__body { padding-top: 6px; }
.art-steps__title {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.art-steps__text {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.75;
  margin: 0;
}

/* --- Слайдер скриншотов во всю ширину (.screenshot-gallery--fw) --- */
.screenshot-gallery--fw .sgfw-outer { overflow: hidden; }
.screenshot-gallery--fw .screenshot-gallery__track {
  overflow: visible;
  flex-wrap: nowrap;
  gap: 0;
  scroll-snap-type: none;
  transition: transform 0.35s ease;
  padding-bottom: 0;
}
.screenshot-gallery--fw .screenshot-gallery__card {
  flex: 0 0 100%;
  cursor: default;
  border-radius: 0;
}
.screenshot-gallery--fw .screenshot-gallery__card:hover { box-shadow: none; }
.screenshot-gallery--fw .screenshot-gallery__img-wrap {
  height: auto;
}
.screenshot-gallery--fw .screenshot-gallery__img-wrap img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
}
.sgfw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
.sgfw-count {
  font-family: 'Golos Text', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  min-width: 36px;
  text-align: center;
}

/* --- Мобайл: статья --- */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: -1;
  }
  .toc-chevron { display: inline-block; }
  .sra-block { display: none; }
  .art-compare { grid-template-columns: 1fr; }
  .ra-grid { grid-template-columns: 1fr; }
  .n-blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .prev-next { flex-direction: column; }
  .pn-item { max-width: 100%; }
  .pn-item.next { align-items: flex-start; text-align: left; }
}

/* ===== МОДАЛ ===== */
.n-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(26, 22, 18, 0.55);
  padding: 24px var(--gap);
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}
.n-modal.open { display: flex; }
.n-modal__dialog {
  position: relative;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 480px;
  margin: auto;
}
.n-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1;
  padding: 4px 6px;
  transition: color 0.2s;
}
.n-modal__close:hover { color: var(--dark); }
.n-modal__title {
  font-family: 'Prata', serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 24px;
}
/* Переопределения формы на светлом фоне */
.n-modal .n-form { display: flex; flex-direction: column; gap: 16px; }
.n-modal .n-form__label { color: var(--mid); }
.n-modal .n-form__required { color: var(--dusty-pink); }
.n-modal .n-form__input { border: 1px solid var(--sand); background: var(--white); }
.n-modal .n-form__input:focus { box-shadow: 0 0 0 2px rgba(188,122,137,0.25); }
.n-modal .n-form__check-label { color: var(--mid); }
.n-modal .n-form__check-link { color: var(--dusty-pink); text-decoration-color: rgba(188,122,137,0.4); }
.n-modal .n-form__check-link:hover { text-decoration-color: var(--dusty-pink); }
.n-modal .n-form__success { color: var(--dark); }
.n-modal .n-form__error { color: var(--mid); }
.n-modal .n-form__error a { color: var(--dusty-pink); }
@media (max-width: 540px) {
  .n-modal__dialog { padding: 32px 20px 28px; }
}
