/*
 * ═══════════════════════════════════════════════════════════════════
 *  ДИЗАЙН-СИСТЕМА: Марина Гордеева — Фотограф
 *  Тёмный премиум + золото · Cormorant Garamond + Manrope
 *  Источник: концепт v7/index.html (утверждён)
 *  Версия: 1.0.0 · 2026-08
 * ═══════════════════════════════════════════════════════════════════
 *
 *  ОГЛАВЛЕНИЕ
 *  01. Токены (:root)
 *  02. Сброс / базовые элементы
 *  03. Контейнер
 *  04. Утилиты (kicker, caption)
 *  05. Кнопки (.btn)
 *  06. Шапка (.header, .logo, .nav, .burger)
 *  07. Мобильное меню (.mobile-menu)
 *  08. Hero-секция
 *  09. Секции / section-head
 *  10. Категории портфолио (.cat)
 *  11. Галерея (.gallery, .plate, .shot)
 *  12. Блок "Обо мне" (.about)
 *  13. Цены (.price-grid, .price-card, .extras)
 *  14. Отзывы / Instagram (.reviews, .rev-grid, .insta-link)
 *  15. Контакты / форма (.contact, .form, .field)
 *  16. Футер (.footer)
 *  17. Мобильная sticky-панель (.mobile-bar)
 *  18. Reveal-анимации
 *  19. Адаптив (media queries)
 *  -- Многостраничник --
 *  20. Активный пункт меню (.nav a.is-active)
 *  21. Хлебные крошки (.crumbs)
 *  22. Статья / текстовый блок (.article)
 *  23. Карточки-направления (.dirs)
 *  24. Политика конфиденциальности (.legal)
 *  25. Чекбокс согласия (.consent)
 * ═══════════════════════════════════════════════════════════════════
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   01. ТОКЕНЫ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  /* Палитра «Тёмная редакция» — правило 60/30/10 */
  --bg:         #101012;          /* 60% — основной тёмный премиум-фон        */
  --bg-2:       #16151a;          /* приподнятые полосы                       */
  --bg-3:       #1d1c22;          /* карточки / подложки                      */
  --surface:    #1a191f;          /* 30% — поверхности форм / панелей         */
  --line:       #2a2830;          /* тонкие линии-разделители                 */
  --line-2:     #3a3742;          /* акцентная линия правил                   */
  --ink:        #ece9e3;          /* основной текст — тёплый светлый          */
  --ink-2:      #b4b0a7;          /* вторичный текст                          */
  --muted:      #908d84;          /* приглушённый                             */
  --accent:     #c9a86a;          /* 10% — золото-латунь: CTA / актив / цифры */
  --accent-hi:  #dcbd80;          /* ховер золота                             */
  --accent-dim: rgba(201,168,106,.14);

  /* Шрифты: ровно 2 семьи, ≤ 4 начертания */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Радиусы (сдержанно) */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;

  /* Шкала отступов 8–96 */
  --s-1:  8px;
  --s-2:  16px;
  --s-3:  24px;
  --s-4:  32px;
  --s-5:  40px;
  --s-6:  48px;
  --s-8:  64px;
  --s-12: 96px;

  /* Тени / свечение */
  --glow:      0 24px 60px -30px rgba(0,0,0,.9);
  --glow-gold: 0 14px 40px -20px rgba(201,168,106,.32);

  --container: 1180px;
  --header-h:  64px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   02. СБРОС / БАЗОВЫЕ ЭЛЕМЕНТЫ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   03. КОНТЕЙНЕР
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-3);
}
@media (min-width: 768px) { .container { padding: 0 var(--s-6); } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   04. УТИЛИТЫ — kicker, caption
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
}
.kicker .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--ink-2);
}

.caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   05. КНОПКИ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 0 var(--s-3);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background   .25s ease,
    border-color .25s ease,
    color        .25s ease,
    transform    .2s  ease,
    box-shadow   .25s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-2);
  box-shadow: var(--glow-gold);
}
.btn--primary:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   06. ШАПКА
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16,16,18,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--s-2);
}

/* Логотип */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.logo b span { color: var(--accent); }
.logo small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .56rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Навигация (десктоп) */
.nav { display: none; }
.nav ul {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}
.nav a {
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.header__cta { display: none; }

/* Бургер */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px)  rotate(45deg);  }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   07. МОБИЛЬНОЕ МЕНЮ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(16,16,18,.98);
}
.mobile-menu.open { display: block; }
.mobile-menu ul   { padding: var(--s-2) 0 var(--s-3); }
.mobile-menu li   { border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--s-3);
  min-height: 48px;
  font-size: 1rem;
  color: var(--ink-2);
}
.mobile-menu a .idx {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .menu-cta { padding: var(--s-2) var(--s-3) 0; }
.mobile-menu .menu-cta .btn { width: 100%; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   08. HERO-СЕКЦИЯ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  top: -18%; right: -12%;
  width: 60vw; height: 60vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(201,168,106,.09), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--s-3) 0 var(--s-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

/* Строка-мастхед */
.hero__masthead {
  border-top: 2px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: var(--s-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__masthead .issue {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-size: .95rem;
  color: var(--accent);
}

/* Заголовок */
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 9.5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: .005em;
  margin: var(--s-2) 0 0;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-family: var(--font-display);
  color: var(--ink-2);
  font-size: clamp(1.1rem, 3.6vw, 1.35rem);
  line-height: 1.5;
  max-width: 50ch;
  margin: var(--s-3) 0 0;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}
.hero__cta .btn { flex: 0 1 auto; }

/* Список направлений под CTA (скрыт на мобиле) */
.hero__topics {
  display: none;
  margin: var(--s-4) 0 0;
  border-top: 1px solid var(--line);
}
.hero__topics li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink);
}
.hero__topics li b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1rem;
}

/* Медиа-блок (фото) */
.hero__media { position: relative; }
.hero__num {
  position: absolute;
  left: -6px; top: -30px;
  z-index: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(5rem, 20vw, 9rem);
  line-height: .7;
  color: var(--accent);
  opacity: .12;
  pointer-events: none;
  letter-spacing: -.02em;
}
.hero__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--glow);
}
.hero__frame img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.hero__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(16,16,18,.5) 100%);
  pointer-events: none;
}
.hero__cap {
  position: absolute;
  left: var(--s-3); bottom: var(--s-3);
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   09. СЕКЦИИ / SECTION-HEAD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section { padding: var(--s-8) 0; }
@media (min-width: 1200px) { .section { padding: var(--s-12) 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-6);
  border-bottom: 2px solid var(--line-2);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.05;
  margin: var(--s-1) 0 0;
  letter-spacing: .005em;
}
.section-head .dek {
  color: var(--ink-2);
  max-width: 56ch;
  font-size: .98rem;
}
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--s-4);
  }
  .section-head .dek { text-align: right; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. КАТЕГОРИИ ПОРТФОЛИО (.cat)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat { margin-top: var(--s-8); }
.cat:first-of-type { margin-top: 0; }

.cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line-2);
  margin-bottom: var(--s-3);
}
.cat__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.cat__title .rub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--accent);
  align-self: center;
}
.cat__count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. ГАЛЕРЕЯ (.gallery, .plate, .shot)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}

.plate { position: relative; margin: 0; }

/* Все кадры одного визуального размера — span-2 отключён */
.plate--tall { grid-row: auto; }
.plate--tall .shot img { aspect-ratio: 4 / 5; }

.plate figcaption {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .82rem;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
}
.plate figcaption .pl {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
}

.shot {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--glow);
  height: 100%;
}
.shot img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.96);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(16,16,18,.5) 100%);
  opacity: .7;
  transition: opacity .4s ease;
  pointer-events: none;
}
.shot:hover img { transform: scale(1.05); filter: saturate(1.05); }
.shot:hover::after { opacity: .4; }

@media (prefers-reduced-motion: reduce) {
  .shot img { transition: none; }
  .shot:hover img { transform: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. ОБО МНЕ (.about)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: start;
}
.about__figure { position: relative; }
.about__figure img {
  width: 100%; height: auto;
  aspect-ratio: 891 / 1012;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--glow);
}
.about__figure figcaption { margin-top: var(--s-1); }

.about__body .kicker   { margin-bottom: var(--s-3); }
.about__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 var(--s-3);
}
.about__body p {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 60ch;
  margin: 0 0 var(--s-3);
}
.about__body p.lead:first-letter {
  initial-letter: 2.4;
  -webkit-initial-letter: 2.4;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  margin-right: 12px;
}
.about__body .sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: var(--s-4);
  padding-top: var(--s-2);
  border-top: 1px solid var(--line-2);
  max-width: 60ch;
}
@media (min-width: 768px) {
  .about__grid { grid-template-columns: .82fr 1.18fr; gap: var(--s-8); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. ЦЕНЫ (.price-grid, .price-card, .extras)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-2);
}
.price-card .pnum {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-2);
  font-size: .92rem;
  margin-bottom: 6px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0 0 var(--s-1);
}
.price-card .amount {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  margin: var(--s-1) 0 var(--s-2);
}
.price-card .amount small {
  display: block;
  font-weight: 500;
  font-size: .8rem;
  color: var(--ink-2);
  letter-spacing: .02em;
  margin-top: 2px;
}
.price-card ul {
  margin: var(--s-2) 0 var(--s-3);
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-card li {
  font-size: .94rem;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.price-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.price-card.featured {
  background: linear-gradient(180deg, var(--accent-dim), transparent 55%);
}
.price-card .tag {
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: var(--s-2);
}
.price-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.price-note {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--ink-2);
}

/* Блок «Дополнительно» */
.extras {
  margin-top: var(--s-5);
  border-top: 2px solid var(--line-2);
  padding-top: var(--s-3);
}
.extras__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.extras__list { display: grid; gap: 12px; }
.extra {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-2);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}
.extra span { color: var(--ink-2); font-size: .94rem; line-height: 1.4; }
.extra b    { font-family: var(--font-body); font-weight: 700; color: var(--ink); white-space: nowrap; }

.price-cta { margin-top: var(--s-4); }

@media (min-width: 768px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card {
    padding: var(--s-4);
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .price-card:nth-child(2n)        { border-right: none; }
  .price-card:nth-last-child(-n+2) { border-bottom: none; }
  .extras__list { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
}
@media (min-width: 1100px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .price-card {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .price-card:nth-child(2n) { border-right: 1px solid var(--line); }
  .price-card:last-child     { border-right: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. ОТЗЫВЫ / INSTAGRAM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reviews { background: var(--bg-3); }

.insta-block {
  border-top: 2px solid var(--line-2);
  padding-top: var(--s-4);
}
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 16px 28px;
  min-height: 56px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.insta-link .ic { color: var(--accent); flex: 0 0 auto; }
.insta-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.insta-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.rev-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.rev-card {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.rev-card .qmark {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: .5;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s-2);
}
.rev-card blockquote {
  margin: 0 0 var(--s-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 52ch;
}
.rev-card cite {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.rev-card cite span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 2px;
  letter-spacing: .04em;
}
@media (min-width: 768px) {
  .rev-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
  }
  .rev-card { border-bottom: none; padding: var(--s-4) 0 0; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. КОНТАКТЫ / ФОРМА
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact { background: var(--bg-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}
.contact-info .kicker { margin-bottom: var(--s-3); }
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.08;
  margin: var(--s-1) 0 var(--s-3);
}
.contact-info p { color: var(--ink-2); max-width: 48ch; margin: 0 0 var(--s-4); }

.contact-meta { display: grid; gap: var(--s-1); }
.contact-meta li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.contact-meta li .lbl {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 98px;
  flex: 0 0 auto;
}
.contact-meta li .val { color: var(--ink); }
.contact-meta li .val a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .2s ease;
  display: inline-block;
  min-height: 24px;
}
.contact-meta li .val a:hover { color: var(--accent); }
.contact-meta li .val a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.contact-meta li .val .pin {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--ink-2);
}

/* Форма */
.form {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--glow);
}
.form__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 var(--s-1);
}
.form__lead {
  font-size: .86rem;
  color: var(--ink-2);
  margin: 0 0 var(--s-4);
}
.field { margin-bottom: var(--s-3); }
.field label {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}
.field select { appearance: none; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form .btn    { width: 100%; margin-top: var(--s-1); }
.form__hint {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-2);
  font-size: .88rem;
  margin-top: var(--s-2);
  text-align: center;
}
.form__ok {
  display: none;
  margin-top: var(--s-2);
  padding: 14px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: .95rem;
  text-align: center;
}
.form__ok.show { display: block; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .form { padding: var(--s-6); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. ФУТЕР
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  border-top: 2px solid var(--line-2);
  padding: var(--s-6) 0 calc(var(--s-6) + 72px);
  text-align: center;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: var(--s-1);
}
.footer p { color: var(--muted); font-size: .9rem; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1) var(--s-3);
  margin-bottom: var(--s-3);
}
.footer__nav a {
  font-size: .82rem;
  color: var(--ink-2);
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--accent); }

@media (min-width: 768px) { .footer { padding-bottom: var(--s-8); } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   17. МОБИЛЬНАЯ STICKY-ПАНЕЛЬ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}
.mobile-bar a.primary {
  background: var(--accent);
  color: var(--bg-2);
}

.ic { flex: none; stroke: currentColor; fill: none; }

@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   18. REVEAL-АНИМАЦИИ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   19. АДАПТИВ (media queries)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Узкий мобиле — 360×640: h1+подзаг+CTA выше сгиба */
@media (max-width: 479px) {
  .hero__inner       { padding-top: var(--s-2); gap: var(--s-3); }
  .hero__masthead    { font-size: .6rem; padding: 8px 0; margin-bottom: var(--s-2); }
  .hero h1           { font-size: clamp(2.1rem, 9vw, 2.7rem); margin-top: var(--s-1); }
  .hero__sub         { font-size: 1.05rem; margin-top: var(--s-2); max-width: 38ch; }
  .hero__cta         { margin-top: var(--s-3); }
  .hero__cta .btn--primary { flex: 1 1 100%; }
  .hero__cta .btn--ghost   { flex: 1 1 100%; }
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1.05fr .95fr;
    gap: var(--s-8);
    align-items: center;
    padding-top: var(--s-6);
  }
  .hero__cta .btn { flex: 0 1 auto; }
  .hero__topics   { display: block; }
  .gallery        { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
}

@media (min-width: 1000px) {
  .nav          { display: block; }
  .header__cta  { display: inline-flex; }
  .burger       { display: none; }
  .mobile-menu  { display: none !important; }
}

@media (min-width: 1200px) {
  .hero__inner { grid-template-columns: 1.08fr .92fr; gap: var(--s-12); }
  .gallery     { grid-template-columns: repeat(4, 1fr); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   20. МНОГОСТРАНИЧНИК — АКТИВНЫЙ ПУНКТ МЕНЮ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Добавить класс is-active к <a> текущей страницы */
.nav a.is-active {
  color: var(--accent);
  border-color: var(--accent);
}
/* В мобильном меню */
.mobile-menu a.is-active {
  color: var(--accent);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   21. ХЛЕБНЫЕ КРОШКИ (.crumbs)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*
  HTML-пример:
  <nav class="crumbs" aria-label="Хлебные крошки">
    <ol>
      <li><a href="/">Главная</a></li>
      <li><a href="/portfolio/">Портфолио</a></li>
      <li aria-current="page">Женский портрет</li>
    </ol>
  </nav>
*/
.crumbs {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-4);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.crumbs li {
  display: flex;
  align-items: center;
  font-size: .8rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 4px;
  color: var(--line-2);
}
.crumbs li a {
  color: var(--ink-2);
  transition: color .2s ease;
}
.crumbs li a:hover { color: var(--accent); }
.crumbs li[aria-current="page"] { color: var(--ink); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   22. СТАТЬЯ / ТЕКСТОВЫЙ БЛОК (.article)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*
  Используется на страницах блога, FAQ, описания услуг.
  Оборачивает редакционный текст внутри .section > .container.
*/
.article {
  max-width: 68ch;
}
.article p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 var(--s-3);
}
.article p:first-of-type.lead:first-letter {
  initial-letter: 2.4;
  -webkit-initial-letter: 2.4;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  margin-right: 10px;
}
.article h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.1;
  margin: var(--s-6) 0 var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-2);
  letter-spacing: .005em;
}
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.15;
  margin: var(--s-4) 0 var(--s-2);
  color: var(--ink);
}
.article ul {
  list-style: none;
  margin: 0 0 var(--s-3);
  padding: 0;
  display: grid;
  gap: 10px;
}
.article ul li {
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.article ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.article ol {
  counter-reset: article-ol;
  margin: 0 0 var(--s-3);
  padding: 0;
  display: grid;
  gap: 10px;
}
.article ol li {
  counter-increment: article-ol;
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.article ol li::before {
  content: counter(article-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: .95rem;
}
.article blockquote {
  margin: var(--s-4) 0;
  padding: var(--s-3) var(--s-4);
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article blockquote p {
  font-style: italic;
  color: var(--ink);
  margin: 0;
}
.article a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .2s ease;
}
.article a:hover { color: var(--accent); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   23. КАРТОЧКИ-НАПРАВЛЕНИЯ (.dirs)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*
  Сетка ссылок-карточек на отдельные страницы направлений.
  HTML:
  <div class="dirs">
    <a href="/portrait/" class="dir-card">...</a>
    ...
  </div>
*/
.dirs {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
@media (min-width: 600px) {
  .dirs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .dirs { grid-template-columns: repeat(4, 1fr); }
}

.dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--glow);
  transition: transform .4s ease, box-shadow .4s ease;
}
.dir-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.dir-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(16,16,18,.82) 100%);
  pointer-events: none;
}
.dir-card__body {
  position: relative;
  z-index: 1;
  padding: var(--s-3);
}
.dir-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.dir-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.15;
}
.dir-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow), var(--glow-gold);
}
.dir-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .dir-card:hover { transform: none; }
  .dir-card img, .dir-card:hover img { transform: none; transition: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   24. ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ (.legal)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*
  Страница legal.html / privacy.html.
  <main class="legal section"><div class="container">...</div></main>
*/
.legal {
  background: var(--bg);
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 var(--s-4);
  letter-spacing: .005em;
}
.legal .updated {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
/* Контент политики наследует .article */
.legal .article { max-width: 72ch; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   25. ЧЕКБОКС СОГЛАСИЯ (.consent)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*
  HTML:
  <label class="consent">
    <input type="checkbox" name="consent" required>
    <span>Я согласен(а) с <a href="/privacy/">политикой обработки данных</a></span>
  </label>
*/
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: var(--s-2);
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  position: relative;
}
.consent input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0;
  transition: opacity .2s ease;
}
.consent input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.consent input[type="checkbox"]:checked::after {
  opacity: 1;
}
.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.consent span {
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.consent span a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .2s ease;
}
.consent span a:hover { color: var(--accent); }
