/* МПК Мебель — дизайн по макету design_handoff_mpk_mebel (mobile-first 375px, breakpoint 768px) */
:root {
  --bg: #FAF9F7;
  --ink: #151412;
  /* Красный затемнён с #E0342B до #D02A22: контраст с белым 5.2:1 (было 4.47 — ниже WCAG AA) */
  --red: #D02A22;
  --white: #fff;
  /* Вторичные тексты подняты до 4.7–5.1:1 (было 4.02 и 2.96) */
  --mut: rgba(21, 20, 18, .62);
  --mut2: rgba(21, 20, 18, .6);
  --line: rgba(21, 20, 18, .08);
  --line2: rgba(21, 20, 18, .1);
  --wmut: rgba(255, 255, 255, .66);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .wrap { padding-left: 40px; padding-right: 40px; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(250, 249, 247, .72); border-bottom: 1px solid rgba(21, 20, 18, .06);
}
.header__in { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.header__left { display: flex; align-items: center; gap: 16px; }
.header__back { font-size: 22px; line-height: 1; color: var(--ink); padding: 4px 8px 4px 0; }
.logo-mpk img { height: 30px; width: auto; }
.header nav { display: flex; align-items: center; gap: 20px; }
.header nav .navlink { display: none; font-size: 14px; font-weight: 500; }
.header .phone { font-size: 14px; font-weight: 600; white-space: nowrap; padding: 10px 0; }

/* Бургер: только мобильный и только когда работает JS */
.burger {
  display: none; width: 44px; height: 44px; padding: 12px 10px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.js .burger { display: flex; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Без JS бургер не появится, поэтому ссылки должны остаться доступными */
html:not(.js) .header nav .navlink { display: inline; }

.mnav {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(250, 249, 247, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow-y: auto; padding: 84px 20px calc(32px + env(safe-area-inset-bottom));
  animation: mnavIn .22s cubic-bezier(.2, .6, .2, 1);
}
.mnav[hidden] { display: none; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav__in { display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; }
.mnav__link {
  padding: 16px 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
}
.mnav__sub {
  padding: 13px 0 13px 16px; font-size: 17px; color: var(--mut);
  border-bottom: 1px solid var(--line);
}
.mnav__sub:hover, .mnav__link:hover { color: var(--red); }
.mnav__foot { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.mnav__foot .btn { width: 100%; }
.mnav__msg { display: flex; gap: 20px; font-size: 16px; font-weight: 600; }
body.mnav-open { overflow: hidden; }

@media (min-width: 768px) {
  .header nav .navlink { display: inline; }
  .js .burger { display: none; }
  .mnav { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px; padding: 15px 26px;
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: opacity .2s, background .2s;
}
.btn:hover { opacity: .92; color: inherit; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { color: #fff; }
.btn--glass {
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 14px 26px;
}
.btn--glass:hover { color: #fff; background: rgba(255, 255, 255, .22); }
.btn--wline { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: 14px 20px; }
.btn--wline:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); padding: 14px 26px; }
.btn--outline:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn--ink-line { background: transparent; color: var(--ink); border: 1px solid rgba(21, 20, 18, .25); padding: 14px 26px; }
.btn--ink-line:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Hero (главная) ---------- */
.hero {
  position: relative; height: 85vh; min-height: 560px;
  background: var(--ink); overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 11, 10, .82) 0%, rgba(12, 11, 10, .25) 45%, rgba(12, 11, 10, 0) 70%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: 52px; animation: heroIn 1s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero h1 { font-size: 38px; letter-spacing: -.035em; line-height: 1.06; color: #fff; max-width: 640px; margin-bottom: 14px; text-wrap: pretty; }
.hero p { font-size: 16px; color: rgba(255, 255, 255, .78); max-width: 420px; margin-bottom: 26px; text-wrap: pretty; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }

/* ---------- Секции ---------- */
.sec { padding-top: 96px; }
.sec--lg { padding-top: 110px; }
.sec--last { padding-bottom: 0; }
.sec h2 { font-size: 34px; margin-bottom: 8px; }
.sec .sub { font-size: 15px; color: var(--mut); margin-bottom: 36px; }
.sec--narrow .wrap { max-width: 640px; }
@media (min-width: 768px) { .sec h2 { font-size: 52px; } }

/* ---------- Карточки проектов ---------- */
.plist { display: flex; flex-direction: column; gap: 32px; }
.pcard { display: block; color: var(--ink); }
.pcard:hover { color: var(--ink); }
.pcard__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #2b2724; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 11, 10, .62), rgba(12, 11, 10, 0) 45%); }
.pcard__label { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; }
.pcard__label b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.pcard__label span { display: block; margin-top: 5px; font-size: 13px; color: rgba(255, 255, 255, .65); }
@media (min-width: 768px) {
  .plist { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .plist--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Категории (лента) ---------- */
.cats {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 0 20px 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats .ccard { scroll-snap-align: start; flex: 0 0 210px; display: block; color: var(--ink); }
.ccard__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #2b2724; }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.ccard:hover .ccard__media img { transform: scale(1.03); }
.ccard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 11, 10, .55), rgba(12, 11, 10, 0) 50%); }
.ccard__media b { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
@media (min-width: 768px) {
  .cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; overflow: visible; padding: 0 40px; max-width: 1120px; margin: 0 auto; }
  .cats .ccard { flex: none; }
}

/* ---------- Процесс ---------- */
.steps-wrap { max-width: 640px; }
.steps { position: relative; display: flex; flex-direction: column; gap: 40px; }
.steps::before { content: ""; position: absolute; left: 17px; top: 12px; bottom: 12px; width: 2px; background: var(--line2); }
.step { position: relative; display: flex; gap: 22px; }
.step__n {
  flex: 0 0 36px; height: 36px; border-radius: 50%; position: relative; z-index: 1;
  background: var(--bg); border: 2px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.step__body { padding-top: 4px; }
.step__body b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.step__body p { margin-top: 4px; font-size: 14px; color: var(--mut); text-wrap: pretty; }

/* ---------- Производство (чёрная секция) ---------- */
.prod { margin-top: 110px; background: var(--ink); color: #fff; padding: 90px 0; }
.prod__in { display: flex; flex-direction: column; gap: 48px; }
.prod h2 { color: #fff; font-size: 34px; margin-bottom: 16px; }
.prod p { font-size: 15px; line-height: 1.55; color: var(--wmut); max-width: 420px; margin-bottom: 36px; text-wrap: pretty; }
.prod__photo { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #1a1816; margin-bottom: 40px; }
.prod__photo img { width: 100%; height: 100%; object-fit: cover; }
.prod__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.prod__stats b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.prod__stats span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .66); }
.prod .btn { margin-top: 44px; }
@media (min-width: 768px) {
  .prod__in { flex-direction: row; align-items: flex-start; }
  .prod__in > div { flex: 1; }
  .prod h2 { font-size: 52px; }
}

/* ---------- Отзывы ---------- */
.review-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); padding: 24px; color: var(--ink);
}
.review-card:hover { color: var(--ink); border-color: rgba(21, 20, 18, .2); }
.review-card b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.review-card small { display: block; margin-top: 5px; font-size: 14px; color: var(--mut); }
.review-card .arr { flex: 0 0 auto; font-size: 22px; color: var(--red); }

/* ---------- Карта ---------- */
.map { border: 1px solid var(--line); background: #fff; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
@media (min-width: 768px) { .map iframe { height: 420px; } }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #fff; padding: 44px 28px; text-align: center; }
.cta h2 { font-size: 28px; color: #fff; margin-bottom: 10px; text-wrap: pretty; }
.cta p { font-size: 14px; color: var(--wmut); margin-bottom: 30px; }
.cta__btns { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 0 auto; }
.cta__btns .btn { display: flex; width: 100%; }

/* ---------- Футер ---------- */
.footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 56px 0 130px; }
.footer__cols { display: flex; flex-direction: column; gap: 40px; }
.footer .logo-mpk { display: inline-block; margin-bottom: 18px; }
.footer__contacts { font-size: 14px; line-height: 1.7; color: rgba(21, 20, 18, .6); }
.footer__contacts a { color: var(--ink); }
.footer__contacts a:hover { color: var(--red); }
.footer__contacts .tel { font-weight: 600; }
.footer__title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(21, 20, 18, .6); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(21, 20, 18, .75); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mut2); }
.footer__bottom {
  margin-top: 14px; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(21, 20, 18, .6);
}
.footer__bottom .links { display: flex; gap: 16px; }
.footer__bottom .links a { color: rgba(21, 20, 18, .62); }
.amiga { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(21, 20, 18, .62); }
.amiga img { height: 13px; width: auto; }
@media (min-width: 768px) {
  .footer__cols { flex-direction: row; align-items: flex-start; }
  .footer__cols > div { flex: 1; }
  .footer { padding-bottom: 56px; }
}

/* ---------- Нижняя панель (mobile) ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(250, 249, 247, .82); border-top: 1px solid var(--line);
  display: flex; gap: 10px;
  transform: translateY(110%); transition: transform .45s cubic-bezier(.2, .6, .2, 1);
}
.bar.show { transform: translateY(0); }
.bar a { flex: 1; text-align: center; border-radius: 999px; padding: 14px 10px; font-size: 15px; font-weight: 600; color: #fff; }
.bar a:hover { color: #fff; }
.bar__call { background: var(--ink); }
.bar__wa { background: var(--red); }
@media (min-width: 768px) { .bar { display: none; } }
/* Пока плашка о cookie не закрыта, нижняя панель звонка не выезжает: обе живут внизу */
body.cookie-open .bar { transform: translateY(110%); }

/* ---------- Уведомление о cookie ---------- */
.cookie {
  position: fixed; z-index: 70;
  left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
  padding: 16px 18px;
  border-radius: 18px; border: 1px solid var(--line2);
  background: rgba(250, 249, 247, .92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(21, 20, 18, .16);
  display: flex; flex-direction: column; gap: 12px;
  transform: translateY(calc(100% + 28px)); opacity: 0;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1), opacity .4s ease;
}
/* display:flex выше перебивает атрибут hidden — возвращаем ему силу явно,
   иначе без JS плашка остаётся в потоке и ловит клики вслепую */
.cookie[hidden] { display: none; }
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie__text { font-size: 13px; line-height: 1.5; color: var(--mut); text-wrap: pretty; }
.cookie__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie__text a:hover { color: var(--red); }
.cookie__ok {
  align-self: stretch; border: 0; cursor: pointer;
  border-radius: 999px; padding: 13px 28px;
  background: var(--ink); color: var(--white);
  font-family: inherit; font-size: 15px; font-weight: 600;
  transition: background .2s ease;
}
.cookie__ok:hover { background: var(--red); }
.cookie__ok:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (min-width: 768px) {
  .cookie {
    left: auto; right: 24px; bottom: 24px; width: 460px;
    flex-direction: row; align-items: center; gap: 18px; padding: 18px 20px;
  }
  .cookie__ok { align-self: auto; flex: none; padding: 12px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: opacity .2s ease; transform: none; }
}

/* ---------- Страница проекта ---------- */
.phero { position: relative; height: 78vh; min-height: 520px; background: var(--ink); overflow: hidden; }
.phero img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 11, 10, .55), rgba(12, 11, 10, 0) 45%); }
/* Вертикальная обложка: показываем кадр целиком, а пустоту по бокам
   заполняем размытым увеличением того же снимка — вместо чёрных полей */
.phero--contain { display: flex; align-items: center; justify-content: center; }
.phero--contain img { position: relative; z-index: 1; width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.phero--contain .phero__blur {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; max-width: none; height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(1.1) brightness(.72); transform: scale(1.12);
}
.pbody { padding-top: 44px; }
.pbody .wrap { max-width: 640px; }
.pbody h1 { font-size: 32px; line-height: 1.12; margin-bottom: 22px; text-wrap: pretty; }
.facts { display: flex; border-top: 1px solid var(--line2); }
.facts > div { flex: 1; padding: 16px 0; border-bottom: 1px solid var(--line2); }
.facts small { display: block; font-size: 12px; color: var(--mut2); margin-bottom: 4px; }
.facts b { font-size: 15px; font-weight: 600; }
.pdesc { margin-top: 26px; font-size: 16px; line-height: 1.6; color: rgba(21, 20, 18, .75); text-wrap: pretty; }
@media (min-width: 768px) { .pbody h1 { font-size: 52px; } }

/* Галерея проекта: чередование полноширинных и парных */
.gal { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 64px; }
.gal a { position: relative; display: block; overflow: hidden; background: #2b2724; }
.gal a img { width: 100%; height: 100%; object-fit: cover; }
.gal .g-full { flex: 0 0 100%; aspect-ratio: 16/10; }
.gal .g-half { flex: 0 0 calc(50% - 2px); aspect-ratio: 4/5; }
.gal .g-solo { margin: 0 auto; }
.pcta { padding: 90px 20px 0; text-align: center; }
.pcta h2 { font-size: 28px; margin-bottom: 24px; text-wrap: pretty; }

/* ---------- Страница категории / портфолио ---------- */
.cathead { padding-top: 96px; }
.cathead h1 { font-size: 34px; margin-bottom: 18px; }
.cathead .tabs { margin-top: 22px; }
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  scroll-snap-align: start; flex: 0 0 auto; white-space: nowrap;
  border: 1px solid rgba(21, 20, 18, .2); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600;
}
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab--active:hover { color: #fff; }
.catgrid { padding-top: 34px; }
.empty { padding: 60px 0; text-align: center; }
.empty p { font-size: 15px; color: var(--mut); margin-bottom: 20px; text-wrap: pretty; }
@media (min-width: 768px) {
  .cathead h1 { font-size: 52px; }
  .tabs { margin: 0; padding: 0 0 6px; }
}

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 640px; font-size: 15px; color: rgba(21, 20, 18, .78); line-height: 1.6; }
.prose p { margin: 12px 0; }
.prose h2 { font-size: 19px; margin: 30px 0 10px; letter-spacing: -.01em; }
.prose ul { margin: 10px 0 10px 20px; display: grid; gap: 5px; }
.prose li { padding-left: 2px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.policy__op { font-size: 13.5px; color: var(--mut2); margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.prose .note { background: #fff; border: 1px solid var(--line); padding: 16px 20px; font-size: 14px; color: var(--mut); }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; font-size: 16px; }
.contact-list small { display: block; font-size: 12px; color: var(--mut2); margin-bottom: 3px; }
.contact-list b { font-weight: 600; }

/* ---------- Reveal ---------- */
/* Скрываем только когда JS точно работает: без него весь контент виден сразу */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .6, .2, 1), transform .8s cubic-bezier(.2, .6, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Лайтбокс (доступный диалог) ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 8, .95); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb[hidden] { display: none; }
.lb img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
.lb__close { position: absolute; top: 14px; right: 20px; font-size: 34px; color: #fff; background: none; border: none; cursor: pointer; line-height: 1; padding: 6px 12px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 40px; color: rgba(255, 255, 255, .78); background: none; border: none; cursor: pointer; padding: 20px 12px; }
.lb__nav:hover { color: #fff; }
.lb__prev { left: 0; } .lb__next { right: 0; }
.lb__counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .78); font-size: 13px; letter-spacing: .04em; }
.lb :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
body.lb-open { overflow: hidden; } /* фон не прокручивается под диалогом */

/* ---------- Skip-link и фокус ---------- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 0; color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- SEO-текст категорий ---------- */
.lead { font-size: 17px; line-height: 1.55; color: rgba(21, 20, 18, .78); max-width: 640px; margin: 14px 0 4px; text-wrap: pretty; }
.article { max-width: 640px; }
.article h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -.02em; }
.article h2:first-child { margin-top: 0; }
.article p { font-size: 16px; line-height: 1.65; color: rgba(21, 20, 18, .78); text-wrap: pretty; }
.article a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 768px) { .article h2 { font-size: 26px; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line2); }
.faq__item { border-bottom: 1px solid var(--line2); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--red); line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--mut); max-width: 60ch; text-wrap: pretty; }

/* ---------- Хлебные крошки ---------- */
.crumbs { margin-bottom: 14px; font-size: 13px; color: var(--mut2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(21, 20, 18, .35); }
.crumbs a { color: var(--mut2); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__content { animation: none; }
  html { scroll-behavior: auto; }
}
