/* =============================================================
   Малярные работы — Наталья Ивановна
   styles.css
   Оглавление:
   1. Токены темы (:root)
   2. Ресет и базовые правила
   3. Типографика
   4. Контейнер и служебные классы
   5. Кнопки
   6. Секции / карточки / сетки (переиспользуемое)
   7. Шапка (header) + навигация + бургер
   8. Первый экран (hero) + форма заявки
   9. Плавающие элементы: Telegram + липкая кнопка звонка
   10. Анимации появления + prefers-reduced-motion
   ============================================================= */

/* 1. ТОКЕНЫ ТЕМЫ ------------------------------------------------ */
:root {
  --bg:          #FAF8F5; /* тёплый фон, как загрунтованная стена */
  --bg-alt:      #F1ECE4; /* фон чередующихся секций */
  --ink:         #1B1D22; /* основной текст и тёмные секции */
  --ink-soft:    #4A4842; /* вторичный текст */
  --accent:      #C2542B; /* терракота — кнопки, акценты */
  --accent-dark: #A6431F; /* ховер кнопок */
  --line:        #E5DED4; /* границы, разделители */
  --white:       #FFFFFF;

  --font-head: 'Manrope', sans-serif;
  --font-body: 'Onest', sans-serif;

  --radius:     16px;    /* скругление карточек/кнопок */
  --radius-sm:  10px;
  --shadow:     0 10px 30px rgba(27, 29, 34, .08);
  --shadow-lg:  0 20px 50px rgba(27, 29, 34, .12);
  --maxw:       1200px;  /* ширина контента */

  --gutter:     20px;    /* боковые отступы контейнера */
  --section-y:  clamp(56px, 8vw, 104px); /* вертикальные отступы секций */
  --header-h:   72px;    /* высота шапки (для отступа под sticky) */
}

/* 2. РЕСЕТ И БАЗОВЫЕ ПРАВИЛА ----------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 3. ТИПОГРАФИКА ----------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-weight: 700; font-size: 1.1rem; }

p { max-width: 68ch; }
strong { font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* 4. КОНТЕЙНЕР И СЛУЖЕБНЫЕ КЛАССЫ ------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--bg); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p { color: var(--ink-soft); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 5. КНОПКИ ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease,
              box-shadow .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(194, 84, 43, .28);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(194, 84, 43, .34);
}

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

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }

/* 6. ПЕРЕИСПОЛЬЗУЕМОЕ: карточки / сетки ------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.stack > * + * { margin-top: 18px; }
.cluster { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* 7. ШАПКА ----------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

/* уменьшение/тень при скролле */
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(27, 29, 34, .06);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  transition: min-height .25s ease;
}
.header.is-scrolled .header__bar { min-height: 60px; }

/* Логотип-локап: иконка-валик + вордмарк */
.logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__icon { width: 40px; height: 40px; flex: none; color: var(--accent); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo__sub { font-size: .74rem; color: var(--ink-soft); letter-spacing: .02em; }

/* Навигация (десктоп) */
.nav { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width .25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.header__phone {
  font-family: var(--font-head);
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}
.header__phone:hover { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 16px; }

/* Бургер */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  position: relative;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color .2s ease;
}
.burger span::before,
.burger span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  background: var(--bg);
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a.m-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu__contacts { margin-top: auto; padding-top: 24px; color: var(--ink-soft); }
.mobile-menu__contacts a { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-top: 6px; }

body.menu-open { overflow: hidden; }

/* 8. ПЕРВЫЙ ЭКРАН (HERO) --------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px);
}

.hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero__eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block;
}

.hero h1 { margin: 16px 0 18px; }
.hero__sub { margin-bottom: 26px; }

/* Чипы материалов / доверия под подзаголовком */
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 14px;
  box-shadow: var(--shadow);
}
.chip svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Контакты под формой */
.hero__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 18px; }
.hero__phone {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  display: inline-flex; align-items: center; gap: 9px;
}
.hero__phone svg { width: 20px; height: 20px; color: var(--accent); }
.hero__tg {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink-soft);
}
.hero__tg svg { width: 20px; height: 20px; color: #229ED9; }
.hero__tg:hover { color: var(--ink); }

/* Медиа-колонка hero */
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
}
/* бейдж «с 2000 года» */
.hero__badge {
  position: absolute;
  left: -14px; bottom: 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: baseline; gap: 10px;
}
.hero__badge b {
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--white);
  line-height: 1;
}
.hero__badge span { font-size: .82rem; color: #C9C4BC; max-width: 12ch; line-height: 1.25; }

/* ФОРМА ЗАЯВКИ ------------------------------------------------- */
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 30px);
}
.lead-form__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.lead-form__hint { font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: #A79F92; }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(194, 84, 43, .12);
}
.field input:user-invalid { border-color: #C0392B; }
.field__error { display: none; font-size: .8rem; color: #C0392B; margin-top: 5px; }
.field.has-error input { border-color: #C0392B; }
.field.has-error .field__error { display: block; }

.lead-form__consent { font-size: .78rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* Состояние «спасибо» */
.form-success {
  display: none;
  text-align: center;
  padding: 14px 0;
}
.lead-form.is-sent .form-success { display: block; }
.lead-form.is-sent .lead-form__form,
.lead-form.is-sent .lead-form__title,
.lead-form.is-sent .lead-form__hint { display: none; }
.form-success__icon {
  width: 60px; height: 60px; margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(46, 160, 90, .12);
  color: #2E9F5A;
  display: flex; align-items: center; justify-content: center;
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--ink-soft); margin-inline: auto; }

/* 8b. ПОЛОСА ДОВЕРИЯ ------------------------------------------- */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 40px);
}
.trust__grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
}
.trust__item { display: flex; align-items: flex-start; gap: 14px; }
.trust__ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow);
}
.trust__ico svg { width: 24px; height: 24px; }
.trust__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
}
.trust__title { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.trust__sub { font-size: .88rem; color: var(--ink-soft); line-height: 1.35; margin-top: 3px; }

/* 8c. УСЛУГИ --------------------------------------------------- */
.services__grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #E0D6C7;
}
.service__ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(194, 84, 43, .09);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service__ico svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 8px; }
.service__desc { font-size: .94rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 18px; }
.service__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service__price { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1; white-space: nowrap; }
.service__price small { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.service__price .from { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.service__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
  transition: gap .2s ease, color .2s ease;
}
.service__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.service__link:hover { color: var(--accent-dark); }
.service__link:hover svg { transform: translateX(3px); }

.services__note {
  margin-top: clamp(24px, 4vw, 36px);
  font-size: .95rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
}
.services__note svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* 8d. ГАЛЕРЕЯ РАБОТ -------------------------------------------- */
.gallery__grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .gallery__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }

.work {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.work:hover img { transform: scale(1.06); }

.work__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(27,29,34,.82) 0%, rgba(27,29,34,.5) 45%, transparent 100%);
  color: #fff;
  transform: translateY(6px);
  opacity: .96;
  transition: transform .3s ease;
}
.work:hover .work__cap { transform: translateY(0); }
.work__tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #F0C9B5;
}
.work__title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25; margin-top: 2px; }

.work__zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .25s ease;
}
.work:hover .work__zoom { opacity: 1; transform: scale(1); }
.work__zoom svg { width: 18px; height: 18px; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(15, 16, 19, .92);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  object-fit: contain;
  background: #22242a;
}
.lightbox__cap {
  color: #EDE8E1;
  text-align: center;
  font-size: .98rem;
  max-width: 60ch;
}
.lightbox__cap b { font-family: var(--font-head); color: #fff; }
.lightbox__count { display: block; font-size: .82rem; color: #9A948B; margin-top: 4px; }

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev { left: -8px; }
.lb-next { right: -8px; }
@media (max-width: 640px) {
  .lb-prev { left: 2px; }
  .lb-next { right: 2px; }
  .lb-btn { width: 44px; height: 44px; }
}
.lb-close {
  position: fixed;
  top: 18px; right: 18px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.lb-close:hover { background: rgba(255,255,255,.24); }
.lb-close svg { width: 22px; height: 22px; }

/* 8e. КАК Я РАБОТАЮ (ЭТАПЫ) ------------------------------------ */
.steps__grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 620px) { .steps__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps__grid { grid-template-columns: repeat(5, 1fr); } }

.step { position: relative; padding-top: 8px; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

/* пунктирный коннектор между шагами (десктоп) */
@media (min-width: 1000px) {
  .step:not(:last-child) .step__num::after {
    content: "";
    position: absolute;
    top: 34px; left: 60px;
    width: calc(100% - 60px);
    height: 2px;
    background-image: linear-gradient(to right, var(--line) 55%, transparent 0);
    background-size: 12px 2px;
    background-repeat: repeat-x;
  }
  .step { padding-top: 8px; }
  .step .step__num { position: relative; }
}

/* 8f. ЦЕНЫ ----------------------------------------------------- */
.prices__grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .prices__grid { grid-template-columns: 1fr 1fr; } }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 12px;
}
.price-card__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.price-card__ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  background: rgba(194, 84, 43, .09);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.price-card__ico svg { width: 22px; height: 22px; }
.price-card__head h3 { font-size: 1.2rem; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { flex: 1; }
.price-row__dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 12px;
}
.price-row__val {
  font-family: var(--font-head);
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}
.price-row__val small { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }

.prices__note {
  margin-top: clamp(22px, 3vw, 30px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.prices__note p { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1 1 320px; }
.prices__note p svg { width: 18px; height: 18px; color: var(--accent); vertical-align: -3px; margin-right: 6px; }

/* 8g. МОИ ПРИНЦИПЫ --------------------------------------------- */
.principles__grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .principles__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .principles__grid { grid-template-columns: repeat(3, 1fr); } }

.principle {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.principle__ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: rgba(194, 84, 43, .09);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.principle__ico svg { width: 24px; height: 24px; }
.principle h3 { font-size: 1.08rem; margin-bottom: 5px; }
.principle p { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

/* 8h. FAQ ------------------------------------------------------ */
.faq__wrap {
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 22px; height: 22px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2542B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.faq-item__body p { max-width: none; }

/* 8i. ФИНАЛЬНЫЙ CTA -------------------------------------------- */
.cta {
  background: var(--ink);
  color: var(--bg);
}
.cta__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1.1fr .9fr; } }

.cta h2 { color: var(--white); }
.cta__text p { color: #C9C4BC; }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; align-items: center; }
.cta__phone {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff;
  display: inline-flex; align-items: center; gap: 10px;
}
.cta__phone svg { width: 22px; height: 22px; color: var(--accent); }
.cta__tg { display: inline-flex; align-items: center; gap: 8px; color: #C9C4BC; font-weight: 600; }
.cta__tg svg { width: 22px; height: 22px; color: #4BB3E6; }
.cta__tg:hover { color: #fff; }

/* Форма на тёмном фоне */
.cta .lead-form { background: var(--white); color: var(--ink); }

/* 8j. ФУТЕР ---------------------------------------------------- */
.footer {
  background: #16171B;
  color: #B7B2AA;
  padding-block: clamp(44px, 6vw, 68px) 28px;
}
.footer__grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #8B867E; }
.footer__about { margin-top: 16px; max-width: 42ch; font-size: .94rem; line-height: 1.6; }

.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__links a, .footer__contacts a { color: #B7B2AA; transition: color .2s ease; }
.footer__links a:hover, .footer__contacts a:hover { color: #fff; }
.footer__links li, .footer__contacts li { padding: 6px 0; }
.footer__contacts .lbl { display: block; font-size: .78rem; color: #7C776F; }
.footer__contacts .val { font-family: var(--font-head); font-weight: 700; color: #fff; }
.footer__tg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid #2E2F34;
  border-radius: var(--radius-sm);
  color: #fff;
}
.footer__tg-btn svg { width: 18px; height: 18px; color: #4BB3E6; }
.footer__tg-btn:hover { border-color: #4BB3E6; }

.footer__bottom {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid #26272C;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: .84rem;
  color: #7C776F;
}

/* 8k. СТРАНИЦА РАБОТ: БЫЛО / СТАЛО ----------------------------- */
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(8px, 2vw, 20px); }
.page-hero .back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--ink-soft); margin-bottom: 18px;
  transition: color .2s ease, gap .2s ease;
}
.page-hero .back-link svg { width: 16px; height: 16px; }
.page-hero .back-link:hover { color: var(--accent); gap: 11px; }

.ba-block { margin-top: clamp(28px, 4vw, 44px); }
.ba-block__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ba-block__head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.ba-block__head span { color: var(--ink-soft); font-size: .95rem; }

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.4vw, 16px);
  margin-bottom: clamp(12px, 1.6vw, 18px);
  align-items: stretch;
}
.ba-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--bg-alt);
  aspect-ratio: 3 / 4; /* вертикальные фото показываем без обрезки */
}
.ba-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ba-card:hover img { transform: scale(1.05); }
.ba-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; color: #fff;
}
.ba-badge--before { background: rgba(27,29,34,.78); }
.ba-badge--after  { background: var(--accent); }

/* «Было» и «стало» всегда стоят рядом (в т.ч. на телефоне) — чтобы был виден переход */
.ba-pair { position: relative; }

/* Небольшой разделитель-стрелка между фото на десктопе */
@media (min-width: 700px) {
  .ba-pair::after {
    content: "";
    position: absolute; top: 50%; left: 50%;
    width: 32px; height: 32px; transform: translate(-50%, -50%);
    background: var(--white) no-repeat center / 15px 15px
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2542B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    border-radius: 50%; box-shadow: var(--shadow); z-index: 2;
    pointer-events: none;
  }
}

/* На узких экранах уменьшаем зазор и размер бейджей */
@media (max-width: 560px) {
  .ba-pair { gap: 6px; }
  .ba-badge { font-size: .64rem; padding: 4px 8px; top: 8px; left: 8px; }
}

/* 9. ПЛАВАЮЩИЕ ЭЛЕМЕНТЫ ---------------------------------------- */
/* Telegram — плавающая кнопка в углу */
.fab-tg {
  position: fixed;
  right: 20px; bottom: 24px;
  z-index: 40;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #229ED9;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(34, 158, 217, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab-tg svg { width: 28px; height: 28px; }
.fab-tg:hover { transform: translateY(-3px) scale(1.04); }

/* Липкая кнопка звонка — только на мобильном */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 41;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.call-bar .btn { width: 100%; }

/* 10. АНИМАЦИИ ПОЯВЛЕНИЯ --------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* Премиум-появление фото в альбомах: мягкий подъём + лёгкий зум, плавная кривая */
.reveal--img {
  opacity: 0;
  transform: translateY(28px) scale(1.03);
  transition: opacity .85s cubic-bezier(.16,.84,.44,1),
              transform .85s cubic-bezier(.16,.84,.44,1);
}
.reveal--img.is-visible { opacity: 1; transform: none; }

/* лёгкий зум фонового фото hero при загрузке */
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero__media img { animation: heroZoom 1.2s ease-out both; }

/* ---- Адаптив ---- */
@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .call-bar { display: block; }
  .fab-tg { bottom: 78px; } /* чтобы не перекрывать липкую кнопку звонка */
  .hero__badge { left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

/* =============================================================
   11. ОТЗЫВЫ (секция, карточки, форма отзыва)
   ============================================================= */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

/* Заглушка, когда отзывов ещё нет */
.reviews__empty {
  grid-column: 1 / -1;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 22px;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.reviews__empty-ico {
  width: 60px; height: 60px; margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(194, 84, 43, .1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.reviews__empty-ico svg { width: 30px; height: 30px; }
.reviews__empty p { color: var(--ink-soft); margin-inline: auto; }

/* Карточка отзыва */
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Фото работы в карточке отзыва (крупная картинка сверху) */
.review__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
/* Заглушка, когда фото работы ещё нет */
.review__photo--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
}
.review__photo--empty svg { width: 36px; height: 36px; opacity: .55; }
.review__photo--empty span { font-size: .85rem; }
.review__head { display: flex; align-items: center; gap: 13px; }
.review__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex: none;
}
.review__avatar--letter {
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
}
.review__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.review__city { font-size: .85rem; color: var(--ink-soft); }
.review__stars { display: inline-flex; gap: 3px; }
.rv-star { width: 18px; height: 18px; fill: #DAD3C8; }
.rv-star.is-on { fill: #E8A61C; }
.review__text { color: var(--ink-soft); line-height: 1.6; }

/* Пометка источника отзыва (напр. «Отзыв с площадки Юду») */
.review__source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: 2px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.review__source svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
a.review__source { transition: border-color .2s ease, color .2s ease; }
a.review__source:hover { border-color: var(--accent); color: var(--accent); }

/* Кнопка «Оставить отзыв» */
.reviews__cta {
  display: flex; justify-content: center;
  margin-top: clamp(26px, 4vw, 40px);
}

/* Форма отзыва (переиспользует .lead-form) */
.review-form {
  max-width: 620px;
  margin: clamp(20px, 3vw, 28px) auto 0;
}
/* При успехе прячем поля формы отзыва (класс отличается от .lead-form__form) */
.review-form.is-sent .review-form__form { display: none; }
.review-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field__note { font-weight: 400; color: #A79F92; font-size: .78rem; }

.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  resize: vertical;
  min-height: 96px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea::placeholder { color: #A79F92; }
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(194, 84, 43, .12);
}

/* Поле загрузки файла */
.field--file input[type="file"] {
  width: 100%;
  font-size: .9rem;
  color: var(--ink-soft);
}
.field--file input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 600;
  margin-right: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.field--file input[type="file"]::file-selector-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Звёзды-оценка в форме */
.stars { display: inline-flex; gap: 4px; }
.stars .star {
  background: none; border: 0; padding: 2px; cursor: pointer;
  line-height: 0; color: inherit;
  border-radius: 6px;
}
.stars .star svg { width: 34px; height: 34px; fill: #DAD3C8; transition: fill .12s ease, transform .12s ease; }
.stars .star:hover svg { transform: scale(1.08); }
.stars .star.is-on svg { fill: #E8A61C; }
.stars .star:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Галочка согласия */
.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; color: var(--ink-soft);
  margin-top: 6px; cursor: pointer;
}
.checkbox input[type="checkbox"] {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox a { color: var(--accent); text-decoration: underline; }
.checkbox__error { margin-top: 4px; }
.field.has-error .field__error,
[data-field].has-error .field__error { display: block; }
[data-field].has-error input,
[data-field].has-error textarea { border-color: #C0392B; }
[data-field].has-error .stars .star svg { fill: #E7B4AC; }

/* На узких экранах — поля отзыва в один столбец */
@media (max-width: 560px) {
  .review-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* =============================================================
   12. СТРАНИЦА «ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ»
   ============================================================= */
.legal { padding-top: calc(var(--header-h) + clamp(24px, 4vw, 40px)); }
.legal__wrap { max-width: 820px; }
.legal__back {
  display: flex; width: max-content; max-width: 100%;
  align-items: center; gap: 7px;
  font-weight: 600; color: var(--ink-soft);
  margin-bottom: 20px;
  transition: color .2s ease, gap .2s ease;
}
.legal__back:hover { color: var(--accent); gap: 11px; }
.legal h1 { margin: 8px 0 10px; }
.legal__meta { color: var(--ink-soft); font-size: .95rem; margin-bottom: 8px; }
.legal h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: clamp(28px, 4vw, 40px) 0 12px;
}
.legal p { max-width: none; margin-bottom: 12px; color: var(--ink-soft); }
.legal p b, .legal li b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal__list { margin: 0 0 14px; padding-left: 4px; }
.legal__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.legal__list li::before {
  content: "";
  position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.legal__cta { margin-top: clamp(28px, 4vw, 40px); }

/* Упрощённый подвал (на странице политики) */
.footer__bottom--simple { justify-content: space-between; }
.footer__legal-links {
  display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
}
.footer__legal-links a { color: #B7B2AA; transition: color .2s ease; }
.footer__legal-links a:hover { color: #fff; }

/* =============================================================
   13. АЛЬБОМЫ РАБОТ (отдельная страница albums.html)
   ============================================================= */
.albums-hero { padding-block: calc(var(--header-h) + clamp(20px,3vw,34px)) 0; }
.albums-hero .back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--ink-soft); margin-bottom: 16px;
  transition: color .2s ease, gap .2s ease;
}
.albums-hero .back-link svg { width: 16px; height: 16px; }
.albums-hero .back-link:hover { color: var(--accent); gap: 11px; }

/* Один объект-альбом */
.album { padding-block: clamp(40px, 6vw, 72px); }
.album + .album { border-top: 1px solid var(--line); }
.album__head { max-width: 760px; margin-bottom: clamp(20px, 3vw, 30px); }
.album__head .album__tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.album__count { color: var(--ink-soft); font-weight: 600; letter-spacing: 0; text-transform: none; }
.album__head h2 { margin-bottom: 10px; }
.album__head p { color: var(--ink-soft); }

/* Обложка альбома — крупное «главное» фото объекта (тоже .work: ховер+лупа+клик) */
.album__cover {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: clamp(12px, 1.6vw, 20px);
}
@media (max-width: 560px) { .album__cover { aspect-ratio: 4 / 3; } }

/* Масонри-сетка фото альбома: колонки разной высоты, фото без обрезки */
.album__grid {
  column-count: 3;
  column-gap: clamp(12px, 1.4vw, 18px);
}
@media (max-width: 900px) { .album__grid { column-count: 2; } }
@media (max-width: 560px) { .album__grid { column-count: 1; } }
/* Переопределяем .work из галереи: натуральная высота вместо 4:3 */
.album__grid .work {
  aspect-ratio: auto;
  break-inside: avoid;
  margin-bottom: clamp(12px, 1.4vw, 18px);
}
.album__grid .work img { height: auto; }
/* Мягкое затемнение фото при наведении — премиум-ощущение */
.album__grid .work::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(27, 29, 34, 0);
  transition: background .35s ease;
  pointer-events: none;
}
.album__grid .work:hover::after { background: rgba(27, 29, 34, .07); }

/* Кнопки действий внутри объекта */
.album__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(22px, 3vw, 30px);
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.album__cta-text {
  flex: 1 1 240px; align-self: center;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.album__cta .btn { flex: 0 0 auto; }

/* =============================================================
   14. АЛЬБОМЫ 2.0 — витрина (стиль B) + крупные блоки (стиль C)
   ============================================================= */
.albums-stats {
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
  margin-top: 18px; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
}
.albums-stats b { color: var(--accent); font-family: var(--font-head); }
.albums-stats span { display: inline-flex; align-items: center; gap: 6px; }

/* Витрина объектов: сетка обложек с названием НА фото */
.albums-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.showcase-card {
  position: relative; display: block; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  background: var(--bg-alt);
}
.showcase-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.showcase-card:hover img { transform: scale(1.06); }
.showcase-card__cap {
  position: absolute; inset: auto 0 0 0; padding: 36px 16px 15px;
  background: linear-gradient(to top, rgba(27,29,34,.88) 0%, rgba(27,29,34,.45) 55%, transparent 100%);
  color: #fff; display: flex; flex-direction: column; gap: 3px;
}
.showcase-card__tag { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #F0C9B5; }
.showcase-card__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.showcase-card__count { font-size: .82rem; color: #D9D4CC; }

.albums-showcase__head { margin-bottom: clamp(18px, 2.5vw, 26px); }

/* Крупный блок объекта (стиль C): фото + текстовая панель, чередуется */
.album__feature {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(20px, 3vw, 44px); align-items: center;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.album__feature .album__cover { aspect-ratio: 4 / 3; margin-bottom: 0; }
.album__panel h2 { margin: 8px 0 12px; }
.album__panel p { color: var(--ink-soft); }
.album__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (min-width: 821px) {
  .album__feature--rev .album__cover { order: 2; }
}
@media (max-width: 820px) {
  .album__feature { grid-template-columns: 1fr; gap: clamp(16px, 4vw, 22px); }
}

/* =============================================================
   15. АЛЬБОМЫ — полировка «чистый премиум» (Format-стиль)
   Единый фон, много воздуха, крупные чистые фото, тихий текст
   ============================================================= */
/* Убираем чередование фона — спокойный единый фон + разделители-воздух */
.album.section--alt { background: var(--bg); }
.album { padding-block: clamp(52px, 8vw, 104px); }
.album + .album { border-top: 1px solid var(--line); }

.albums-showcase-sec { padding-block: clamp(22px, 3vw, 40px) clamp(38px, 6vw, 68px); }

/* Витрина: крупнее, чище (без рамок, мягкая глубокая тень), больше воздуха */
.albums-showcase { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.showcase-card { border: 0; box-shadow: 0 16px 44px rgba(27, 29, 34, .12); }
.showcase-card:hover { box-shadow: 0 22px 56px rgba(27, 29, 34, .18); }
.showcase-card__name { font-size: 1.3rem; }
.showcase-card__cap { padding: 46px 18px 18px; }

/* Крупные блоки: больше воздуха, фото крупнее, текст тише и уже */
.album__feature { grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4.5vw, 68px); }
.album__feature .album__cover { border: 0; box-shadow: 0 18px 50px rgba(27, 29, 34, .13); }
.album__panel .album__tag { color: var(--ink-soft); }
.album__panel .album__tag svg { color: var(--accent); }
.album__panel p { font-size: .98rem; line-height: 1.62; max-width: 44ch; }

/* Масонри: чистые фото без рамок, больше воздуха */
.album__grid { column-gap: clamp(16px, 2vw, 26px); }
.album__grid .work {
  border: 0;
  box-shadow: 0 12px 34px rgba(27, 29, 34, .10);
  margin-bottom: clamp(16px, 2vw, 26px);
}
