/* ==========================================================================
   СМК — Симбирская мебельная компания
   Корпоративный сайт. Тёмная тема + белые блоки + фирменный оранжевый.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --overlap: clamp(2rem, 4vw, 3rem);
  /* Surfaces (dark) */
  --bg: #0f1013;
  --bg-2: #15171b;
  --surface: #1b1d22;
  --surface-2: #22252b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Surfaces (light blocks) */
  --paper: #f5f2ec;
  --paper-2: #ebe7df;
  --white: #ffffff;
  --paper-line: rgba(20, 18, 14, 0.1);

  /* Text */
  --text: #ece9e3;
  --text-muted: #a4a09a;
  --text-faint: #6b6862;
  --ink: #15140f;
  --ink-muted: #5e5b55;

  /* Brand */
  --orange: #e85d1a;
  --orange-hover: #f3723f;
  --orange-deep: #c94c12;
  --orange-soft: rgba(232, 93, 26, 0.14);

  /* Type scale */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3vw, 4rem);
  --text-3xl: clamp(2.75rem, 1.2rem + 5vw, 5.75rem);

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --s-20: 5rem; --s-24: 6rem; --s-32: 8rem;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --container: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: var(--s-2) var(--s-4); z-index: 999; }
.skip-link:focus { left: var(--s-4); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(var(--s-16), 8vw, var(--s-32)); }
.section--tight { padding-block: clamp(var(--s-12), 6vw, var(--s-20)); }

/* Typography helpers */
.display { font-family: var(--font-display); font-weight: 500; line-height: 0.98; letter-spacing: -0.01em; }
.display em { font-style: italic; font-weight: 400; color: var(--orange); }
.h-hero { font-size: var(--text-3xl); }
.h-2xl { font-size: var(--text-2xl); }
.h-xl { font-size: var(--text-xl); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: var(--text-lg); line-height: 1.5; color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: clamp(var(--s-10), 5vw, var(--s-16)); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: var(--s-12); } }
.section-head .h-2xl { max-width: 20ch; }
.section-head p { color: var(--text-muted); max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-8); border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 12px 30px -12px rgba(232, 93, 26, 0.7); }
.btn--orange:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--paper); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2823; transform: translateY(-2px); }
.btn--outline-ink { border-color: rgba(20, 18, 14, 0.25); color: var(--ink); }
.btn--outline-ink:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 var(--s-5); font-size: var(--text-xs); }
.btn--block { width: 100%; }
.btn-arrow { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.btn-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text); transition: background .25s, border-color .25s;
}
.icon-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 16, 19, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--text); }
.logo svg { width: 40px; height: 46px; flex: none; }
.logo__text { display: grid; line-height: 1.1; }
.logo__text b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.08em; }
.logo__text span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.nav { display: none; }
.nav a { font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); padding: var(--s-2) var(--s-3); border-radius: 999px; transition: color .25s, background .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.07); }
.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.header__phone { display: none; font-weight: 600; font-size: var(--text-sm); }
.burger { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: var(--s-1); }
  .header__phone { display: inline; }
  .burger { display: none; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: var(--s-6) var(--gutter);
  display: grid; align-content: start; gap: var(--s-6); transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a.nav-link { display: block; font-family: var(--font-display); font-size: var(--text-xl); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.mobile-nav a.nav-link[aria-current="page"] { color: var(--orange); }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(var(--s-10), 6vw, var(--s-20)); padding-bottom: 0; }
.hero__title { text-align: center; margin-inline: auto; max-width: 20ch; }
.hero__sub { text-align: center; margin: var(--s-6) auto 0; max-width: 56ch; color: var(--text-muted); font-size: var(--text-lg); }
.hero__cta { display: flex; justify-content: center; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-8); }
.hero__media {
  position: relative; margin-top: clamp(var(--s-10), 5vw, var(--s-16));
  border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow); background: var(--surface);
}
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .hero__media { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .hero__media { aspect-ratio: 2 / 1; } }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,16,19,0) 40%, rgba(15,16,19,0.75) 100%);
}
.hero__badge {
  position: absolute; z-index: 2; top: var(--s-6); left: var(--s-6);
  background: rgba(255,255,255,0.9); color: var(--ink); backdrop-filter: blur(6px);
  padding: var(--s-2) var(--s-4); border-radius: 999px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,93,26,.6);} 70% { box-shadow: 0 0 0 10px rgba(232,93,26,0);} }
.hero__caption {
  position: absolute; z-index: 2; left: var(--s-6); right: var(--s-6); bottom: calc(var(--s-6) + var(--overlap));
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap;
}
.hero__caption h2 { font-family: var(--font-display); font-size: var(--text-xl); max-width: 24ch; }
.hero__caption p { color: var(--text-muted); font-size: var(--text-sm); max-width: 40ch; }
.hero__sound { background: rgba(255,255,255,0.1); }

/* ---------- Stats (white card) ---------- */
.stats {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(var(--s-8), 4vw, var(--s-12));
  display: grid; gap: var(--s-8);
  margin-top: calc(-1 * var(--overlap)); position: relative; z-index: 3;
}
.stats__about h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--s-3); }
.stats__about p { color: var(--ink-muted); max-width: 46ch; }
.stats__about .btn { margin-top: var(--s-6); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.stat b { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; line-height: 1; color: var(--ink); }
.stat b small { font-size: 0.5em; color: var(--orange); vertical-align: top; }
.stat span { display: block; margin-top: var(--s-2); font-size: var(--text-sm); color: var(--ink-muted); }
@media (min-width: 900px) {
  .stats { grid-template-columns: 1.1fr 1fr; align-items: center; }
}
.brands { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); align-items: center; margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--paper-line); }
.brands span { font-weight: 700; letter-spacing: 0.08em; color: var(--ink-muted); font-size: var(--text-sm); opacity: .75; }

/* ---------- Directions (numbered cards) ---------- */
.dir-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dir-grid { grid-template-columns: repeat(4, 1fr); } }
.dir-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.dir-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.dir-card:hover img { transform: scale(1.06); }
.dir-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.9)); }
.dir-card__num {
  position: absolute; top: var(--s-4); left: var(--s-4);
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink);
  display: grid; place-items: center; font-weight: 700; font-size: var(--text-xs);
}
.dir-card__body { padding: var(--s-5); }
.dir-card h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--s-2); }
.dir-card p { font-size: var(--text-sm); color: rgba(255,255,255,0.75); }
.dir-card__link { margin-top: var(--s-4); }

/* ---------- Bento portfolio ---------- */
.bento { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .bento > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1100px) { .bento { grid-auto-rows: 270px; } }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; background: var(--surface);
  display: block; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.7)); }
.tile__label {
  position: absolute; left: var(--s-4); bottom: var(--s-4); right: var(--s-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.tile__label span { background: rgba(255,255,255,0.92); color: var(--ink); padding: var(--s-2) var(--s-4); border-radius: 999px; font-size: var(--text-xs); font-weight: 700; }
.tile__label i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; }
.tile__label i svg { width: 16px; height: 16px; }

/* ---------- Light section (paper) ---------- */
.paper { background: var(--paper); color: var(--ink); }
.paper .eyebrow { color: var(--orange-deep); }
.paper .lead, .paper .muted, .paper .section-head p { color: var(--ink-muted); }
.paper .btn-arrow { color: var(--ink); }
.paper .icon-btn { border-color: rgba(20,18,14,.2); color: var(--ink); }
.paper .icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- About split ---------- */
.about { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: var(--s-16); } }
.about__collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 200px 200px; gap: var(--s-3); }
@media (min-width: 600px) { .about__collage { grid-template-rows: 260px 260px; } }
.about__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about__collage img:first-child { grid-row: span 2; }
.about__collage .about__card {
  border-radius: var(--radius); background: var(--orange); color: #fff; padding: var(--s-5);
  display: flex; flex-direction: column; justify-content: space-between;
}
.about__card b { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; }
.about__card span { font-size: var(--text-sm); }
.about__text h2 { margin: var(--s-4) 0 var(--s-5); }
.about__text p + p { margin-top: var(--s-4); }
.checks { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.checks li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--text-sm); }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); margin-top: 2px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000' stroke='none'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000' stroke='none'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff'/%3E%3C/svg%3E") center/contain no-repeat; }
.checks li::before { background: var(--orange); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: var(--s-6); min-height: 220px; display: flex; flex-direction: column; gap: var(--s-3); }
.step__num { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--orange); line-height: 1; }
.step h3 { font-size: var(--text-lg); font-weight: 700; }
.step p { font-size: var(--text-sm); color: var(--ink-muted); }
.process { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 960px) { .process { grid-template-columns: 1.1fr 1fr; gap: var(--s-16); } }
.process__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; max-height: 640px; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.timeline { display: grid; gap: 0; margin-top: var(--s-8); }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--font-display); font-size: var(--text-xl); color: var(--orange); line-height: 1; }
.timeline h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--s-1); }
.timeline p { font-size: var(--text-sm); color: var(--text-muted); }

/* ---------- Dealer band ---------- */
.band {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; isolation: isolate;
  background: var(--surface); padding: clamp(var(--s-8), 5vw, var(--s-16));
  display: grid; gap: var(--s-8); align-items: center;
}
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; } }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgba(232,93,26,0.28), transparent 60%); }
.band h2 { font-family: var(--font-display); font-size: var(--text-2xl); }
.band h2 span { display: block; color: var(--orange); font-style: italic; font-weight: 400; }
.band__list { display: grid; gap: var(--s-3); }
.band__list li { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4) var(--s-5); border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--line); font-size: var(--text-sm); }
.band__list b { color: var(--orange); font-family: var(--font-display); font-size: var(--text-lg); min-width: 56px; }

/* ---------- Locations + testimonial ---------- */
.two-col { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }
.loc-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: var(--s-6); }
.loc-card h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--s-4); }
.loc-list { display: grid; gap: var(--s-2); }
.loc-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--paper-line); font-size: var(--text-sm); }
.loc-list b { display: block; font-weight: 700; }
.loc-list span { color: var(--ink-muted); }
.loc-list a { color: var(--orange-deep); font-weight: 600; white-space: nowrap; }
.quote-card { background: var(--orange); color: #fff; border-radius: var(--radius-lg); padding: var(--s-8); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-8); min-height: 360px; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.15; }
.quote-card figcaption { font-size: var(--text-sm); opacity: .9; }
.quote-card .quote-big { font-family: var(--font-display); font-size: var(--text-3xl); line-height: .9; }

/* ---------- CTA form section ---------- */
.cta-wrap { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(var(--s-8), 5vw, var(--s-16)); display: grid; gap: var(--s-8); }
@media (min-width: 960px) { .cta-wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-16); } }
.cta-wrap h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin-bottom: var(--s-4); }
.cta-wrap p { color: var(--ink-muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-3); }
.form--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form--2 { grid-template-columns: 1fr 1fr; } .form--2 .span-2 { grid-column: span 2; } }
.field { display: grid; gap: var(--s-1); }
.field label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  border: 1px solid rgba(20,18,14,0.18); background: var(--paper); color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; }
.form__consent { font-size: var(--text-xs); color: var(--ink-muted); display: flex; gap: var(--s-2); align-items: flex-start; }
.form__consent input { margin-top: 3px; accent-color: var(--orange); }
.form__ok { display: none; padding: var(--s-6); border-radius: var(--radius); background: var(--paper); text-align: center; }
.form__ok b { display: block; font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--s-2); }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; grid-column: 1 / -1; }
/* dark variant */
.form--dark .field label { color: var(--text-muted); }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { background: rgba(255,255,255,0.04); border-color: var(--line-strong); color: var(--text); }
.form--dark .form__consent { color: var(--text-muted); }
.form--dark .form__ok { background: var(--surface-2); }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid rgba(20,18,14,0.2); font-size: var(--text-sm); cursor: pointer; transition: all .2s; }
.form--dark .chip span { border-color: var(--line-strong); }
.chip input:checked + span { background: var(--orange); color: #fff; border-color: var(--orange); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(var(--s-12), 6vw, var(--s-20)) 0 var(--s-8); background: var(--bg-2); }
.footer__grid { display: grid; gap: var(--s-10); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--s-4); font-weight: 700; }
.footer ul { display: grid; gap: var(--s-2); }
.footer a { color: var(--text-muted); font-size: var(--text-sm); }
.footer a:hover { color: var(--text); }
.footer__brand p { color: var(--text-muted); font-size: var(--text-sm); max-width: 36ch; margin-top: var(--s-4); }
.footer__phone { font-family: var(--font-display); font-size: var(--text-xl); color: var(--text) !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--text-faint); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(var(--s-10), 6vw, var(--s-20)); padding-bottom: clamp(var(--s-8), 4vw, var(--s-12)); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--text-xs); color: var(--text-faint); margin-bottom: var(--s-6); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: '/'; margin-right: var(--s-2); opacity: .5; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero__media { margin-top: clamp(var(--s-8), 4vw, var(--s-12)); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
@media (min-width: 760px) { .page-hero__media { aspect-ratio: 21 / 9; } }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Catalog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.filter {
  min-height: 44px; padding: 0 var(--s-5); border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: var(--text-sm); font-weight: 600; color: var(--text-muted); transition: all .25s; display: inline-flex; align-items: center; gap: var(--s-2);
}
.filter small { font-size: var(--text-xs); opacity: .6; }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--white); color: var(--ink); border-color: var(--white); }
.catalog-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-8); }
.catalog-count { font-size: var(--text-sm); color: var(--text-muted); }
.catalog-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
.p-card { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; animation: fadeUp .6s var(--ease) both; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.8); }
.p-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__tag { position: absolute; top: var(--s-3); left: var(--s-3); background: rgba(255,255,255,.92); padding: var(--s-1) var(--s-3); border-radius: 999px; font-size: var(--text-xs); font-weight: 700; }
.p-card__video { position: absolute; top: var(--s-3); right: var(--s-3); width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.p-card__video svg { width: 14px; height: 14px; }
.p-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.p-card__cat { font-size: var(--text-xs); color: var(--ink-muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.p-card h3 { font-family: var(--font-display); font-size: var(--text-xl); }
.p-card p { font-size: var(--text-sm); color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card__actions { display: flex; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); flex-wrap: wrap; }
.p-card__actions .btn { flex: 1; }
.empty { padding: var(--s-16); text-align: center; color: var(--text-muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Product page ---------- */
.product { display: grid; gap: var(--s-10); grid-template-columns: minmax(0, 1fr); }
.product__main, .product__aside { min-width: 0; }
@media (min-width: 1024px) { .product { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr); gap: var(--s-12); align-items: start; } .product__aside { position: sticky; top: 96px; } }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.gallery__main img, .gallery__main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__main img { transition: opacity .4s; }
.gallery__main.is-video img { opacity: 0; }
.gallery__main video { display: none; }
.gallery__main.is-video video { display: block; }
.gallery__nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: var(--s-4); pointer-events: none; }
.gallery__nav .icon-btn { pointer-events: auto; background: rgba(15,16,19,.55); border-color: transparent; backdrop-filter: blur(6px); }
.gallery__nav .icon-btn:hover { background: var(--white); }
.gallery__counter { position: absolute; left: var(--s-4); bottom: var(--s-4); background: rgba(255,255,255,.92); color: var(--ink); padding: var(--s-1) var(--s-3); border-radius: 999px; font-size: var(--text-xs); font-weight: 700; }
.gallery__zoom { position: absolute; right: var(--s-4); bottom: var(--s-4); background: rgba(15,16,19,.55); border-color: transparent; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: var(--s-2); margin-top: var(--s-3); }
.thumb { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; transition: border-color .25s; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--orange); }
.thumb--video { display: grid; place-items: center; color: #fff; background: var(--surface-2); }
.thumb--video svg { width: 24px; height: 24px; }
.thumb--video::after { content: 'Видео'; position: absolute; bottom: 4px; left: 0; right: 0; font-size: 10px; text-align: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product__title { margin-top: var(--s-8); }
.product__title .h-2xl { margin-top: var(--s-3); font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.product__title .lead { margin-top: var(--s-4); }
.feature-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.feature-row span { padding: var(--s-2) var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--text-xs); font-weight: 600; }

.tabs { margin-top: var(--s-10); }
.tabs__list { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__list button { padding: var(--s-3) var(--s-4); font-weight: 600; font-size: var(--text-sm); color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--text); border-color: var(--orange); }
.tabs__panel { display: none; padding-top: var(--s-6); }
.tabs__panel.is-active { display: block; }
.tabs__panel p { color: var(--text-muted); max-width: 70ch; }
.tabs__panel p + p { margin-top: var(--s-4); }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: var(--s-4) var(--s-5); text-align: left; font-size: var(--text-sm); border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--ink-muted); font-weight: 600; background: var(--paper); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.materials { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.materials li { padding: var(--s-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.materials b { display: block; font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--s-1); }
.materials span { font-size: var(--text-sm); color: var(--text-muted); }

.buy-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: var(--s-6); display: grid; gap: var(--s-4); }
.buy-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
.buy-card__top h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.buy-card__badge { font-size: var(--text-xs); font-weight: 700; padding: var(--s-1) var(--s-3); border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); white-space: nowrap; }
.buy-card__note { font-size: var(--text-sm); color: var(--ink-muted); }
.buy-card__kv { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.buy-card__kv div { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--text-sm); }
.buy-card__kv span { color: var(--ink-muted); }
.buy-card__kv b { text-align: right; }
.buy-card__actions { display: grid; gap: var(--s-2); }
.buy-card__tools { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.buy-card__tools button { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--text-xs); font-weight: 600; color: var(--ink-muted); padding: var(--s-2) var(--s-3); border-radius: 999px; border: 1px solid var(--paper-line); }
.buy-card__tools button:hover { color: var(--ink); border-color: var(--ink); }
.buy-card__tools svg { width: 14px; height: 14px; }
.manager { display: flex; gap: var(--s-3); align-items: center; font-size: var(--text-sm); color: var(--ink-muted); }
.manager i { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--orange-deep); flex: none; }
.manager i svg { width: 20px; height: 20px; }
.manager a { color: var(--ink); font-weight: 700; display: block; }

.related { margin-top: clamp(var(--s-16), 8vw, var(--s-24)); }
.prevnext { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.prevnext a { display: grid; gap: 2px; font-size: var(--text-sm); color: var(--text-muted); }
.prevnext a b { color: var(--text); font-family: var(--font-display); font-size: var(--text-lg); }
.prevnext a:last-child { text-align: right; }

/* ---------- Modal / Lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: var(--s-4); background: rgba(5,6,8,.72); backdrop-filter: blur(8px); }
.modal.is-open { display: grid; }
.modal__box { width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(var(--s-6), 4vw, var(--s-10)); position: relative; animation: fadeUp .4s var(--ease); }
.modal__close { position: absolute; top: var(--s-4); right: var(--s-4); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); }
.modal__close svg { width: 16px; height: 16px; }
.modal h2 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--s-2); padding-right: var(--s-10); }
.modal p.muted { color: var(--ink-muted); font-size: var(--text-sm); margin-bottom: var(--s-5); }
.modal__project { display: inline-flex; align-items: center; gap: var(--s-2); background: var(--paper); padding: var(--s-2) var(--s-3); border-radius: 999px; font-size: var(--text-xs); font-weight: 700; margin-bottom: var(--s-4); }
.modal__project i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.lightbox { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; background: rgba(5,6,8,.94); padding: var(--s-4); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); object-fit: contain; }
.lightbox .icon-btn { position: absolute; }
.lightbox .lb-close { top: var(--s-4); right: var(--s-4); }
.lightbox .lb-prev { left: var(--s-4); top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: var(--s-4); top: 50%; transform: translateY(-50%); }
.toast { position: fixed; left: 50%; bottom: var(--s-6); transform: translate(-50%, 20px); background: var(--white); color: var(--ink); padding: var(--s-3) var(--s-5); border-radius: 999px; font-size: var(--text-sm); font-weight: 600; opacity: 0; pointer-events: none; transition: all .4s var(--ease); z-index: 120; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mebelpro rooms ---------- */
.room { display: grid; gap: var(--s-6); align-items: center; padding-block: clamp(var(--s-10), 5vw, var(--s-16)); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .room { grid-template-columns: 1fr 1fr; gap: var(--s-12); } .room:nth-child(even) .room__media { order: 2; } }
.room__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.room__media img { width: 100%; height: 100%; object-fit: cover; }
.room__media .mini { position: absolute; right: var(--s-4); bottom: var(--s-4); width: 34%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 4px solid var(--bg); }
.room__num { font-family: var(--font-display); font-size: var(--text-xl); color: var(--orange); }
.room h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin: var(--s-2) 0 var(--s-4); }
.room h3 { font-size: var(--text-base); font-weight: 700; margin-top: var(--s-5); margin-bottom: var(--s-1); }
.room p { color: var(--text-muted); font-size: var(--text-sm); max-width: 56ch; }
.room .btn { margin-top: var(--s-6); }

/* ---------- Dealers ---------- */
.offer-grid { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer { border-radius: var(--radius); padding: var(--s-6); background: var(--white); color: var(--ink); min-height: 200px; display: flex; flex-direction: column; gap: var(--s-3); }
.offer--accent { background: var(--orange); color: #fff; }
.offer b { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; }
.offer h3 { font-size: var(--text-lg); font-weight: 700; }
.offer p { font-size: var(--text-sm); opacity: .85; }
.cond-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .cond-grid { grid-template-columns: repeat(2, 1fr); } }
.cond { padding: var(--s-6); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.cond h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--s-3); }
.cond h3 span { color: var(--orange); }
.cond ul { display: grid; gap: var(--s-2); }
.cond li { display: flex; gap: var(--s-3); font-size: var(--text-sm); color: var(--text-muted); }
.cond li::before { content: '—'; color: var(--orange); flex: none; }
.brief { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(var(--s-6), 4vw, var(--s-12)); }
.brief__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-8); }
.brief__head h2 { font-family: var(--font-display); font-size: var(--text-2xl); }
.brief__head p { color: var(--ink-muted); max-width: 60ch; }
.brief fieldset { border: 0; padding: 0; margin: 0 0 var(--s-6); display: grid; gap: var(--s-3); }
.brief legend { font-weight: 700; font-size: var(--text-base); margin-bottom: var(--s-3); padding: 0; display: flex; gap: var(--s-3); align-items: center; }
.brief legend i { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-style: normal; font-size: var(--text-xs); font-weight: 700; }
.brief .steps-ind { display: flex; gap: var(--s-2); margin-bottom: var(--s-6); }
.brief .steps-ind span { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-2); }
.brief .steps-ind span.is-done { background: var(--orange); }

/* ---------- About page ---------- */
.values { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: var(--s-6); border-radius: var(--radius); background: var(--white); color: var(--ink); display: grid; gap: var(--s-3); align-content: start; min-height: 220px; }
.value i { width: 48px; height: 48px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; }
.value i svg { width: 22px; height: 22px; }
.value h3 { font-size: var(--text-lg); font-weight: 700; }
.value p { font-size: var(--text-sm); color: var(--ink-muted); }
.history { display: grid; gap: var(--s-3); }
.history li { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.history b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--orange); line-height: 1.2; }
.history p { color: var(--text-muted); font-size: var(--text-sm); }
.gallery-strip { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }
.gallery-strip img:nth-child(even) { margin-top: var(--s-8); }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: var(--s-8); display: grid; gap: var(--s-5); align-content: start; }
.contact-card h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.contact-card dl { display: grid; gap: var(--s-4); margin: 0; }
.contact-card dt { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.contact-card dd { margin: var(--s-1) 0 0; font-size: var(--text-base); }
.contact-card dd a { font-weight: 700; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: var(--surface); position: relative; }
/*.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }*/
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.salon-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .salon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .salon-grid { grid-template-columns: repeat(3, 1fr); } }
.salon { padding: var(--s-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: var(--s-2); }
.salon .city { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.salon b { font-size: var(--text-base); }
.salon span { font-size: var(--text-sm); color: var(--text-muted); }
.salon a { font-weight: 600; font-size: var(--text-sm); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* video mode: освобождаем нижнюю панель под нативные контролы */
.gallery__main.is-video .gallery__counter, .gallery__main.is-video .gallery__zoom { display: none; }
.gallery__main.is-video .gallery__nav { align-items: flex-start; padding-top: var(--s-4); }
