/* Оформление в фирменном стиле «Мебель Братьев Баженовых» (по образцу mbb.ru) */

@font-face { font-family: "Tilda Sans"; src: url(../fonts/TildaSans-Light.woff2) format("woff2"); font-weight: 100 300; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url(../fonts/TildaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url(../fonts/TildaSans-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url(../fonts/TildaSans-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Tilda Sans"; src: url(../fonts/TildaSans-Bold.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #21201e;
  --bg-2: #11100e;
  --gold: #d1a768;
  --gold-hover: #ddb87f;
  --orange: #ff5000;
  --text: #fff;
  --text-2: rgba(255, 255, 255, .7);
  --muted: rgba(255, 255, 255, .45);
  --line: rgba(255, 255, 255, .14);
  --red: #ff5752;
  --header-h: 150px;
  --ease: cubic-bezier(.25, .7, .25, 1);
  --font: "Tilda Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1; font-weight: 400;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  position: relative; min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1256px; margin: 0 auto; padding: 0 20px; }
.content { position: relative; z-index: 2; }

/* Золотые блики на фоне */
.lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.light { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(209, 167, 104, .46); filter: blur(160px); opacity: .55; }
.light--1 { top: 520px; right: -100px; }
.light--2 { top: 1500px; left: -160px; }
.light--3 { top: 2700px; right: 10%; }
.light--4 { top: 4100px; left: 20%; }

/* Заголовки */
.title { font-size: 72px; line-height: 1; font-weight: 300; letter-spacing: -.03em; }
.section { padding: 100px 0 0; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section__title { margin-bottom: 50px; }
.prose { font-size: 20px; line-height: 1.5; font-weight: 400; }
.prose p + p { margin-top: 1em; }
.prose--narrow { max-width: 860px; margin-top: 50px; }

/* Кнопки и ссылки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 31px;
  background: var(--gold); color: var(--bg-2); font-size: 18px; font-weight: 500; white-space: nowrap;
  transition: background .3s;
}
.btn:hover { background: var(--gold-hover); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 18px; font-weight: 500; white-space: nowrap; }
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translate(3px, -3px); }

/* ---------------- Шапка ---------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 101; height: var(--header-h); pointer-events: none; transition: height .4s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,32,30,.95) 0%, rgba(33,32,30,.75) 60%, rgba(33,32,30,0) 100%); opacity: 0; transition: opacity .4s; }
.header.is-scrolled::before { opacity: 1; }
.header__body { position: relative; height: 100%; display: flex; align-items: flex-start; justify-content: space-between; padding-top: 64px; pointer-events: auto; transition: padding .4s var(--ease); }
.header__left, .header__right { display: flex; align-items: center; gap: 50px; }
.header__right { gap: 40px; }
.header__menu { display: flex; gap: 50px; }
.header__right .header__menu { gap: 40px; }
.header__menu a { font-size: 18px; font-weight: 500; line-height: 1.15; transition: color .3s; white-space: nowrap; }
.header__menu a:hover { color: var(--gold); }
.header__icon { color: var(--gold); display: block; transition: opacity .3s; }
.header__icon:hover { opacity: .75; }
.header__icon--phone { display: none; }
.burger { width: 24px; height: 18px; position: relative; flex-shrink: 0; margin-top: 2px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 8px; } .burger span:nth-child(3) { top: 16px; }
.menu-open .burger span { background: var(--gold); }
.menu-open .burger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.logo {
  position: absolute; left: 50%; top: 67px; transform: translateX(-50%); transform-origin: 50% 0;
  display: block; padding: 12px 15px; border: 4px solid var(--orange); background: var(--bg);
  box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3.5px #fff; transition: transform .4s var(--ease), top .4s var(--ease); z-index: 3;
}
.logo__svg { width: 103px; height: 58px; display: block; }
.logo__svg path { fill: #fff; stroke: none; }
.header.is-scrolled { height: 120px; }
.header.is-scrolled .header__body { padding-top: 44px; }
.header.is-scrolled .logo { top: 36px; transform: translateX(-50%) scale(.8); }

/* Выезжающее меню */
.menu {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 100; width: 580px; max-width: 100%;
  background: radial-gradient(circle at 30% 85%, rgba(209,167,104,.22), transparent 55%), #262522;
  transform: translateX(-100%); transition: transform .55s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.menu-open .menu { transform: none; }
.menu__body { padding: 128px 40px 60px 110px; display: grid; gap: 46px; }
.menu__group { display: grid; gap: 15px; justify-items: start; }
.menu__group a { font-size: 18px; font-weight: 500; transition: color .3s; }
.menu__group a:hover { color: var(--gold); }
.menu__title { color: var(--gold); font-size: 22px !important; margin-bottom: 4px; }
.menu__group .gold { margin-left: 10px; }
.menu__contacts { color: var(--text-2); font-size: 16px; line-height: 1.4; gap: 8px; }
.menu__phone { font-size: 22px !important; color: #fff; }
.menu__contacts .link-arrow { margin-top: 10px; }
.menu-shade { position: fixed; inset: 0; z-index: 99; background: rgba(17,16,14,.5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.menu-open .menu-shade { opacity: 1; pointer-events: auto; }
.menu-open { overflow: hidden; }
.menu-open .header::before { opacity: 0; }

/* ---------------- Первый экран ---------------- */
.hero { position: relative; height: 90vh; min-height: 560px; max-height: 900px; background: #191816; overflow: hidden; z-index: 2; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 65%, rgba(0,0,0,.45) 100%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: absolute; left: 0; right: 0; bottom: 70px; z-index: 2; }
.hero__title { font-size: 72px; font-weight: 300; letter-spacing: -.03em; line-height: 1; max-width: 900px; text-shadow: 3px 3px 3px rgba(0,0,0,.79); }
.hero__text { font-size: 20px; line-height: 1.45; font-weight: 400; margin-top: 20px; max-width: 620px; text-shadow: 3px 3px 3px rgba(0,0,0,.79); }

/* ---------------- Внутренние страницы ---------------- */
.page { padding-top: var(--header-h); position: relative; }
.page--flush { padding-bottom: 60px; }
.crumbs { font-size: 16px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; color: #fff; }
.crumbs a { color: var(--text-2); transition: color .3s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--text-2); }

.cat-links { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 60px 0 0; flex-wrap: wrap; }
.cat-links__list { display: flex; gap: 14px 50px; flex-wrap: wrap; }
.cat-links__list a { font-size: 24px; color: var(--gold); opacity: .75; transition: opacity .3s; }
.cat-links__list a:hover, .cat-links__list a.is-active { opacity: 1; }
.cat-links__list a.is-active { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.search { display: flex; align-items: center; border-bottom: 1px solid rgba(209,167,104,.6); width: 280px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 16px; padding: 12px 4px; }
.search input::placeholder { color: var(--muted); }
.search button { color: var(--gold); padding: 6px; }
.empty { padding: 100px 0 40px; }
.empty h3 { font-size: 40px; font-weight: 300; margin-bottom: 20px; }
.empty p { font-size: 18px; line-height: 1.5; }
.page-404 { padding-bottom: 60px; }
.page-404 .prose { margin: 30px 0 40px; }

/* ---------------- Каталог «лесенкой» ---------------- */
.coll { display: grid; grid-template-columns: 40.7% 45.64%; column-gap: 13.66%; row-gap: 100px; margin-top: 66px; }
.coll__item { position: relative; }
.coll__media { display: block; position: relative; overflow: hidden; background: #2a2926; }
.coll__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.coll__item:hover .coll__media img { transform: scale(1.05); }
.coll__info { z-index: 3; }
.coll__title {
  display: block; font-size: 64px; line-height: 1.1; font-weight: 300; letter-spacing: -.03em; color: var(--gold);
  margin-bottom: 14px; text-shadow: 3px 3px 3px rgba(0,0,0,.79);
}
.coll__title.coll__title--long { font-size: 40px; line-height: 1.15; }
.coll__info p { font-size: 20px; line-height: 1.5; font-weight: 400; max-width: 26ch; text-shadow: 3px 3px 3px rgba(0,0,0,.79); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.coll__price { display: inline-block; margin-top: 12px; font-size: 18px; font-weight: 500; color: var(--gold); }

/* левая колонка — высокое фото, название поверх справа */
.coll__item:nth-child(odd) .coll__media { aspect-ratio: 495 / 583; }
.coll__item:nth-child(4n+3) .coll__media { width: 79%; margin-left: 21%; }
.coll__item:nth-child(odd) .coll__info { position: absolute; top: 40px; left: 57%; width: 310px; }
.coll__item:nth-child(4n+3) .coll__info { top: 60px; left: 47%; }
/* правая колонка — смещена вверх, название снизу */
.coll__item:nth-child(even) { margin-top: -95px; }
.coll__item:nth-child(even) .coll__media { aspect-ratio: 495 / 449; width: 89.2%; margin-left: 10.8%; }
.coll__item:nth-child(4n) .coll__media { margin-left: 0; width: 100%; aspect-ratio: 555 / 420; }
.coll__item:nth-child(even) .coll__info { position: relative; margin: -44px 0 0 10.8%; max-width: 330px; }
.coll__item:nth-child(4n) .coll__info { margin-left: 0; }
.coll--cats { margin-top: 0; padding-top: 140px; }

/* Медальон («Новинка», «Хит», «Выбор дизайнеров») */
.medal {
  position: absolute; z-index: 4; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  padding: 14px; font-size: 19px; line-height: 1.05; font-weight: 500; color: #4a3a22;
  background: radial-gradient(circle at 35% 30%, #f3dfae 0%, #dcbb7c 45%, #c49a5a 100%);
  box-shadow: 0 0 0 7px rgba(209,167,104,.28), 0 10px 25px rgba(0,0,0,.35);
}
.coll__item .medal { top: -40px; right: -40px; }
.product__hero .medal { top: 30px; right: 30px; }

/* ---------------- Слайдеры ---------------- */
.slider { position: relative; --cols: 3.15; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / var(--cols)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; display: block; }
.slide__img { display: block; aspect-ratio: 380 / 253; overflow: hidden; background: #2a2926; position: relative; }
.slide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slide:hover .slide__img img { transform: scale(1.05); }
.slide__title { display: block; font-size: 32px; font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--gold); margin: 30px 0 20px; }
.slide__text { display: block; font-size: 20px; line-height: 1.5; font-weight: 400; }
.slide__price { display: block; margin-top: 12px; color: var(--gold); font-size: 18px; font-weight: 500; }
.slider__btn {
  position: absolute; top: 0; z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  margin-top: calc((100% - 60px) / var(--cols) * 253 / 380 / 2 - 24px);
  background: var(--gold); color: #fff; display: grid; place-items: center; transition: opacity .3s, background .3s;
}
.slider__btn:hover { background: var(--gold-hover); }
.slider__btn--prev { left: -24px; }
.slider__btn--next { right: -24px; }
.slider__btn.is-hidden { opacity: 0; pointer-events: none; }

/* ---------------- О салоне ---------------- */
.about { padding-top: 140px; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 66px; align-items: end; }
.about__media { aspect-ratio: 436 / 343; overflow: hidden; background: #2a2926; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body .title { margin-bottom: 34px; }
.about__body .prose { margin-bottom: 40px; max-width: 560px; }
.about__salon { display: flex; gap: 50px; margin-top: 80px; flex-wrap: wrap; }
.about__salon > div { display: grid; gap: 10px; align-content: start; }
.about__salon b { font-size: 22px; font-weight: 500; color: var(--gold); line-height: 1.15; }
.about__salon span, .about__salon a { font-size: 16px; font-weight: 500; line-height: 1.4; max-width: 300px; }

/* ---------------- Свяжитесь с нами ---------------- */
.contact-us { padding: 140px 0 40px; position: relative; }
.contact-us__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.contact-us__head .title { margin-bottom: 40px; max-width: 420px; line-height: 1.1; }
.contact-us__head p { font-size: 20px; line-height: 1.6; font-weight: 400; max-width: 360px; }

.lead-form { display: grid; gap: 22px; position: relative; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.lead-form--stacked .lead-form__row { grid-template-columns: 1fr; gap: 22px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(209,167,104,.75); border-radius: 0;
  color: #fff; font: inherit; font-size: 16px; font-weight: 500; padding: 30px 10px 12px; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field > span { position: absolute; left: 10px; top: 30px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.6); pointer-events: none; transition: all .25s var(--ease); }
.field i, .check i { color: var(--red); font-style: normal; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 6px; font-size: 12px; }
.field.is-invalid input { border-color: var(--red); }
.lead-form__submit { display: flex; align-items: center; gap: 26px; margin-top: 8px; }
.lead-form--stacked .lead-form__submit { flex-direction: column; align-items: stretch; gap: 14px; }
.lead-form--stacked .btn { width: 100%; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.85); cursor: pointer; }
.check input { accent-color: var(--gold); width: 15px; height: 15px; margin: 1px 0 0; flex-shrink: 0; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.lead-form__error { color: var(--red); font-size: 15px; font-weight: 500; }
.lead-form__error:empty { display: none; }
.lead-form__success { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 16px; animation: fadeIn .5s var(--ease); }
.modal .lead-form__success { align-items: center; text-align: center; background: #262522; }
.lead-form__success h4 { font-size: 48px; font-weight: 300; letter-spacing: -.03em; color: var(--gold); }
.lead-form__success p { font-size: 18px; font-weight: 500; }
.lead-form.is-sent > *:not(.lead-form__success) { visibility: hidden; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------------- Модальное окно ---------------- */
.modal { position: fixed; inset: 0; z-index: 10100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17,16,14,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .35s; }
.modal__box {
  position: relative; width: 100%; max-width: 694px; max-height: calc(100vh - 40px); overflow: auto; padding: 50px 60px 44px;
  background: radial-gradient(circle at 50% 45%, rgba(209,167,104,.16), transparent 50%), #262522;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: pop .45s var(--ease);
}
.modal__close { position: absolute; top: 26px; right: 26px; color: var(--gold); transition: transform .3s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__title { font-size: 64px; font-weight: 300; letter-spacing: -.03em; line-height: 1.05; text-align: center; }
.modal__text { font-size: 20px; font-weight: 400; line-height: 1.4; text-align: center; margin: 14px 0 30px; }
.modal__text span:not(:empty) { display: block; color: var(--gold); margin-bottom: 6px; }
.modal-open { overflow: hidden; }
@keyframes pop { from { opacity: 0; transform: translateY(20px); } }

/* ---------------- Товар ---------------- */
.product__hero { position: relative; aspect-ratio: 1216 / 637; overflow: hidden; background: #2a2926; cursor: zoom-in; }
.product__hero img { width: 100%; height: 100%; object-fit: cover; }
.product__title { margin-top: 42px; }
.product__intro { font-size: 20px; line-height: 1.5; font-weight: 400; margin-top: 20px; max-width: 1200px; }
.product__grid { display: grid; grid-template-columns: 492fr 595fr; column-gap: 129px; margin-top: 54px; align-items: start; }
.product__col { display: grid; gap: 90px; }
.product__buy { display: grid; gap: 22px; justify-items: start; }
.product__price { display: flex; gap: 14px; align-items: baseline; }
.product__price span { font-size: 32px; font-weight: 300; color: var(--gold); letter-spacing: -.02em; }
.product__price s { color: var(--muted); font-size: 20px; }
.product__dims { font-size: 18px; font-weight: 500; color: var(--text-2); }
.product__dims b { color: #fff; font-weight: 500; }
.product__actions { display: flex; align-items: center; gap: 45px; flex-wrap: wrap; }
.product__note { display: flex; gap: 12px; align-items: center; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; box-shadow: 0 0 0 5px rgba(209,167,104,.2); }
.product__img { overflow: hidden; background: #2a2926; aspect-ratio: 595 / 361; cursor: zoom-in; }
.product__img--tall { aspect-ratio: 492 / 600; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product__img:hover img { transform: scale(1.04); }
.details { margin-top: 110px; max-width: 760px; }
.details__title { font-size: 32px; font-weight: 300; letter-spacing: -.03em; margin-bottom: 30px; }
.details__list { margin: 0; }
.details__list div { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; font-weight: 500; }
.details__list div:first-child { border-top: 1px solid var(--line); }
.details__list dt { color: var(--gold); }
.details__list dd { margin: 0; text-align: right; }

.strip { padding-top: 110px; position: relative; z-index: 2; }
.slider--photos .slider__track { grid-auto-columns: 62%; gap: 20px; padding: 0 19%; scroll-padding: 0 19%; }
.strip__item { scroll-snap-align: center; aspect-ratio: 16 / 10; overflow: hidden; display: block; cursor: zoom-in; position: relative; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
.slider--photos .slider__btn { top: 50%; margin-top: -24px; }
.slider--photos .slider__btn--prev { left: calc(19% - 24px); }
.slider--photos .slider__btn--next { right: calc(19% - 24px); }

.lightbox { position: fixed; inset: 0; z-index: 10200; background: rgba(17,16,14,.96); display: grid; place-items: center; animation: fadeIn .3s; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 24px; right: 28px; color: var(--gold); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 16px; font-weight: 500; color: var(--text-2); }

/* ---------------- Салон ---------------- */
.salons { position: relative; min-height: 640px; z-index: 2; }
.salons__map { position: absolute; inset: 0; background: #1b1a18; }
.salons__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.salons__inner { position: relative; pointer-events: none; padding-top: 30px; padding-bottom: 30px; }
.salons__panel { width: 410px; max-width: 100%; pointer-events: auto; background: linear-gradient(160deg, rgba(55,53,49,.94), rgba(33,32,30,.94)); backdrop-filter: blur(6px); }
.salons__city-head { display: flex; justify-content: space-between; align-items: center; padding: 25px 25px 22px; font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line); }
.salons__card { padding: 24px 25px 30px; display: grid; gap: 12px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.salons__brand { color: var(--gold); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.salons__card b { font-size: 20px; font-weight: 600; }
.salons__card p { color: var(--text-2); }
.salons__card p a { color: #fff; }
.salons__actions { display: grid; gap: 14px; justify-items: start; margin: 12px 0 8px; }
.salons__actions .link-arrow { font-size: 17px; }

/* ---------------- Дизайнерам ---------------- */
.designers { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; margin-top: 60px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; }
.perks li { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 300; letter-spacing: -.01em; }
.perks li:first-child { border-top: 1px solid var(--line); }
.perks b { font-size: 14px; color: var(--gold); font-weight: 500; }

/* ---------------- Соцсети ---------------- */
.socials { display: flex; gap: 20px; flex-wrap: wrap; }
.socials a { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.15); transition: color .3s, border-color .3s; }
.socials a:hover { color: var(--gold); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }

/* ---------------- Подвал ---------------- */
.footer { position: relative; z-index: 2; margin-top: 100px; padding: 0 0 40px; background: var(--bg); }
.footer::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 1px; background: linear-gradient(90deg, transparent, rgba(209,167,104,.35) 20%, rgba(209,167,104,.35) 80%, transparent); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 0 46px; flex-wrap: wrap; }
.footer__phone { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.footer__phone .gold { font-size: 14px; font-weight: 500; }
.footer__email { font-size: 18px; font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__links nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer__links nav a { font-size: 18px; color: rgba(255,255,255,.85); transition: color .3s; }
.footer__links nav a:hover { color: var(--gold); }
.footer small { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.footer__copy { text-align: right; }
.footer__copy span { font-size: 18px; color: rgba(255,255,255,.85); }

/* ---------------- Плавающие кнопки ---------------- */
.fabs { position: fixed; right: 50px; bottom: 50px; z-index: 90; display: grid; gap: 16px; justify-items: center; transition: opacity .3s; }
.fab { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s; }
.fab:hover { transform: scale(1.06); }
.fab--chat { background: var(--gold); color: #2b2418; box-shadow: 0 0 0 8px rgba(209,167,104,.22), 0 6px 20px rgba(0,0,0,.35); }
.fab--up { border: 1px solid var(--gold); color: var(--gold); opacity: 0; pointer-events: none; }
.fab--up.is-visible { opacity: 1; pointer-events: auto; }
.fab--call { display: none; border: 1px solid var(--gold); color: var(--gold); background: rgba(33,32,30,.85); backdrop-filter: blur(6px); }
.modal-open .fabs, .menu-open .fabs { opacity: 0; pointer-events: none; }

.noimg { position: absolute; inset: 0; background: linear-gradient(135deg, #2c2b28, #252421); }

/* Появление */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__bg { animation: none; } }

/* ================= Адаптив ================= */
@media (max-width: 1200px) {
  .header__left, .header__menu { gap: 34px; }
  .header__right, .header__right .header__menu { gap: 28px; }
  .coll { column-gap: 8%; grid-template-columns: 44% 48%; }
  .coll__title { font-size: 52px; }
  .product__grid { column-gap: 70px; }
}
@media (max-width: 991px) {
  :root { --header-h: 119px; }
  .header__menu { display: none; }
  .header__body { padding-top: 40px; align-items: center; height: auto; }
  .header__icon--search { display: none; }
  .header__icon--phone { display: block; }
  .logo { top: 30px; padding: 7px 9px; border-width: 3px; }
  .logo__svg { width: 66px; height: 37px; }
  .header.is-scrolled { height: 100px; }
  .header.is-scrolled .header__body { padding-top: 30px; }
  .header.is-scrolled .logo { top: 20px; transform: translateX(-50%) scale(.9); }
  .menu { width: 100%; }
  .menu__body { padding: 130px 20px 120px; gap: 40px; }
  .menu::before { content: ""; position: absolute; left: 20px; right: 20px; top: 108px; height: 1px; background: linear-gradient(90deg, transparent, rgba(209,167,104,.5), transparent); }
  .title { font-size: 48px; letter-spacing: -.026em; }
  .hero { height: 72vh; min-height: 440px; }
  .hero__title { font-size: 44px; }
  .section { padding-top: 80px; }
  .cat-links { margin-top: 36px; }
  .cat-links__list a { font-size: 18px; }
  .about__grid, .contact-us__grid, .designers { grid-template-columns: 1fr; gap: 40px; }
  .about__media { order: 2; }
  .product__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .product__col { gap: 50px; }
  .slider { --cols: 2.1; }
  .footer__copy { text-align: left; }
  .coll--cats { padding-top: 80px; }
}
@media (max-width: 767px) {
  .light { width: 140px; height: 140px; filter: blur(70px); }
  .coll { grid-template-columns: minmax(0, 1fr); row-gap: 30px; margin-top: 30px; }
  .coll__item:nth-child(n) { margin-top: 0; }
  .coll__item:nth-child(n) .coll__media { width: 100%; margin: 0; aspect-ratio: auto; height: 260px; }
  .coll__item:nth-child(n) .coll__info { position: relative; top: auto; left: auto; width: auto; max-width: none; margin: -22px 0 0 30px; padding-right: 10px; }
  .coll__title { font-size: 40px; line-height: 1.1; margin-bottom: 14px; }
  .coll__info p { font-size: 16px; }
  .medal { width: 84px; height: 84px; font-size: 15px; padding: 10px; }
  .coll__item .medal { top: 180px; right: 12px; }
  .coll--cats { padding-top: 50px; }
  .crumbs { font-size: 15px; margin-bottom: 16px; }
  .cat-links { display: block; }
  .cat-links__list { flex-wrap: nowrap; overflow-x: auto; gap: 24px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .cat-links__list a { white-space: nowrap; }
  .search { width: 100%; margin-top: 18px; }
  .product__hero { margin: 0 -20px; aspect-ratio: 390 / 255; }
  .product__hero .medal { top: 16px; right: 16px; }
  .product__title { margin-top: -26px; position: relative; text-shadow: 3px 3px 3px rgba(0,0,0,.79); }
  .product__actions { flex-direction: column; align-items: flex-start; gap: 30px; }
  .product__img--tall { aspect-ratio: 4 / 4.4; }
  .details { margin-top: 60px; }
  .details__list div { flex-direction: column; gap: 6px; }
  .details__list dd { text-align: left; }
  .strip { padding-top: 60px; }
  .slider--photos .slider__track { grid-auto-columns: 86%; padding: 0 7%; scroll-padding: 0 7%; gap: 10px; margin: 0; }
  .slider__track { grid-auto-columns: 80%; gap: 16px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
  .slider .slider__btn { display: none; }
  .slide__title { font-size: 28px; margin: 22px 0 14px; }
  .slide__text { font-size: 16px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .section__title { margin-bottom: 30px; }
  .about { padding-top: 80px; }
  .about__salon { margin-top: 40px; gap: 26px; flex-direction: column; }
  .contact-us { padding-top: 80px; }
  .contact-us__head .title { margin-bottom: 24px; }
  .lead-form__row { grid-template-columns: 1fr; gap: 22px; }
  .lead-form__submit { flex-direction: column; align-items: stretch; gap: 16px; }
  .lead-form .btn { width: 100%; }
  .modal { padding: 0; align-items: end; }
  .modal__box { padding: 46px 20px 30px; max-height: 94vh; }
  .modal__title { font-size: 40px; }
  .modal__text { font-size: 16px; margin-bottom: 18px; }
  .modal__close { top: 16px; right: 16px; }
  .salons { min-height: 0; display: flex; flex-direction: column-reverse; }
  .salons__map { position: relative; height: 360px; }
  .salons__inner { padding: 0; }
  .salons__panel { width: 100%; }
  .footer { margin-top: 70px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 26px; padding: 40px 0 34px; }
  .footer__links nav { flex-direction: column; gap: 18px; }
  .footer { padding-bottom: 110px; }
  .fabs { right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); gap: 14px; }
  .fab { width: 56px; height: 56px; }
  .fab--call { display: grid; }
  .fab--up { display: none; }
  .lead-form__success h4 { font-size: 38px; }
  .perks li { font-size: 19px; }
  .empty h3 { font-size: 32px; }
}

/* ================= Прогулка по салону, В наличии, контакты в окне ================= */
.page-lead { font-size: 20px; line-height: 1.6; font-weight: 400; color: var(--text-2); max-width: 720px; margin-top: 28px; }
.section__head .page-lead { margin-top: 20px; }

.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; grid-auto-flow: dense; }
.gallery__item { position: relative; overflow: hidden; background: #2a2926; cursor: zoom-in; display: block; }
.gallery__item:nth-child(10n+1), .gallery__item:nth-child(10n+8) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.45)); opacity: 0; transition: opacity .4s; }
.gallery__item:hover::after { opacity: 1; }
.gallery__caption { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; font-size: 16px; font-weight: 500; text-align: left; text-shadow: 3px 3px 3px rgba(0,0,0,.79); }
.salons__photo-tag { color: var(--gold); border: 1px solid rgba(209,167,104,.6); border-radius: 999px; font-size: 12px; padding: 3px 8px; margin-left: -4px; }

.stock { display: grid; grid-template-columns: 1fr 1fr; gap: 90px 80px; margin-top: 70px; }
.stock__item:nth-child(even) { margin-top: 90px; }
.stock__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: #2a2926; cursor: zoom-in; }
.stock__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stock__item:hover .stock__media img { transform: scale(1.04); }
.stock__media .medal { top: 20px; right: 20px; }
.stock__count { position: absolute; left: 18px; bottom: 18px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; background: rgba(17,16,14,.65); backdrop-filter: blur(6px); font-size: 14px; font-weight: 500; }
.stock__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.stock__thumbs button { aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; opacity: .8; transition: opacity .3s; }
.stock__thumbs button:hover { opacity: 1; }
.stock__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stock__body { padding-top: 30px; display: grid; gap: 18px; justify-items: start; }
.stock__tag { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 15px; font-weight: 500; }
.stock__title { font-size: 48px; font-weight: 300; letter-spacing: -.03em; line-height: 1.05; color: var(--gold); }
.stock__dims { font-size: 16px; font-weight: 500; color: var(--text-2); }
.stock__dims b { color: #fff; font-weight: 500; }
.stock__desc { font-size: 17px; }
.stock .product__actions { margin-top: 8px; }

.modal__contacts { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: center; text-align: center; }
.modal__contacts-title { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.modal__phones { display: flex; gap: 10px 30px; flex-wrap: wrap; justify-content: center; }
.modal__phones a { font-size: 22px; font-weight: 500; color: #fff; transition: color .3s; }
.modal__phones a:hover, .modal__email:hover { color: var(--gold); }
.modal__email { font-size: 16px; font-weight: 500; color: var(--text-2); }
.modal__contacts .socials { justify-content: center; }
.footer__phone { flex-wrap: wrap; }

@media (max-width: 991px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .stock { gap: 70px 40px; }
  .stock__title { font-size: 38px; }
}
@media (max-width: 767px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; margin: 0 -20px; }
  .gallery__item:nth-child(10n+8) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
  .stock { grid-template-columns: minmax(0, 1fr); gap: 60px; margin-top: 40px; }
  .stock__item:nth-child(even) { margin-top: 0; }
  .stock__media { margin: 0 -20px; aspect-ratio: 4 / 3.3; }
  .stock__thumbs { gap: 6px; }
  .stock__title { font-size: 36px; }
  .stock .product__actions { width: 100%; }
  .stock .product__actions .btn { width: 100%; }
  .page-lead { font-size: 16px; margin-top: 18px; }
  .modal__phones a { font-size: 20px; }
}

/* ================= Значки в шапке, «Каталог мебели», Хит мебель в меню ================= */
.badge-year, .badge-russia { position: absolute; top: 62px; pointer-events: none; transition: top .4s var(--ease), transform .4s var(--ease); z-index: 2; }
.badge-year { height: 56px; left: calc(50% - 155px); }
.badge-russia { height: 64px; left: calc(50% + 100px); top: 56px; }
.header.is-scrolled .badge-year { top: 34px; transform: scale(.8); }
.header.is-scrolled .badge-russia { top: 30px; transform: scale(.8); }
.menu__hit { display: inline-flex !important; align-items: center; gap: 10px; }
.menu__hit img { height: 22px; width: auto; }
.coll--root { margin-top: 70px; }
.coll--root .coll__item:nth-child(odd) .coll__info { top: 50px; left: 38%; width: auto; right: -40px; }
.coll--root .coll__item:nth-child(4n+3) .coll__info { left: 30%; }
.coll--root .coll__title { margin-bottom: 0; }
.coll--root .coll__info p { margin-top: 12px; }
@media (max-width: 991px) {
  .badge-year { height: 38px; top: 38px; left: calc(50% - 98px); }
  .badge-russia { height: 46px; top: 34px; left: calc(50% + 58px); }
  .header.is-scrolled .badge-year { top: 24px; transform: scale(.9); }
  .header.is-scrolled .badge-russia { top: 20px; transform: scale(.9); }
}
@media (max-width: 767px) {
  .coll--root .coll__item:nth-child(n) .coll__info { left: auto; right: auto; top: auto; }
}
@media (max-width: 380px) {
  .badge-year { left: calc(50% - 88px); }
  .badge-russia { left: calc(50% + 52px); }
}
.cat-links + .coll { margin-top: 150px; }
@media (max-width: 767px) { .cat-links + .coll { margin-top: 30px; } }

/* ================= Главная как на mbb.ru: видео, коллекции, о компании, наш салон ================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero--video { height: 100vh; max-height: none; min-height: 520px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video::after { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 80%, rgba(33,32,30,.6) 100%); }

.collections-home { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 60px 80px 0; position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; }
.ccard { position: relative; display: block; aspect-ratio: 1 / 1; }
.ccard__img { display: block; width: 80%; height: 100%; margin: 0 auto; overflow: hidden; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ccard:hover .ccard__img img { transform: scale(1.08); }
.ccard__text { position: absolute; z-index: 2; left: -20px; font-size: 62px; line-height: .8; font-weight: 300; color: var(--gold); text-shadow: 3px 3px 3px rgba(0,0,0,.79); pointer-events: none; }
.ccard__text--top { top: 24px; }
.ccard__text--top svg { width: 200px; margin-left: -40px; margin-bottom: -10px; vertical-align: bottom; }
.ccard__text--bottom { bottom: 78px; color: #b8a48a; }
.ccard__text--bottom svg { margin-bottom: -8px; margin-left: 15px; vertical-align: bottom; }

.company { padding: 100px 0 130px; position: relative; z-index: 2; }
.company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 50px; align-items: end; max-width: 1100px; margin: 0 auto; }
.company__image { aspect-ratio: 436 / 343; overflow: hidden; }
.company__image img { width: 100%; height: 100%; object-fit: cover; }
.company__info { display: grid; gap: 30px; justify-items: start; align-self: start; }
.company__text { font-size: 20px; line-height: 1.6; font-weight: 400; }
.company__founder { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; margin-top: 90px; }
.company__founder img { width: 180px; height: auto; }
.company__name { font-size: 24px; font-weight: 300; color: var(--gold); line-height: 1.1; max-width: 260px; }
.company__role { font-size: 15px; font-weight: 500; margin-top: 10px; }
.about-page { margin-top: 60px; align-items: start; }
.about-page .company__founder { margin-top: 40px; }

.home-salon { padding-top: 40px; }
.home-salon__photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; margin-bottom: 60px; }
.home-salon__ph { overflow: hidden; cursor: zoom-in; display: block; }
.home-salon__ph:first-child { grid-row: span 2; }
.home-salon__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.home-salon__ph:hover img { transform: scale(1.05); }
.home-salon__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: stretch; }
.home-salon__list { margin: 34px 0; }
.home-salon__list dt { color: var(--muted); }
.home-salon__buttons { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.home-salon__map { min-height: 460px; background: #1b1a18; }
.home-salon__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* Анимации появления как на mbb.ru */
.reveal--left { transform: translateX(-5rem); transition: opacity .9s ease .2s, transform 1s ease .1s; }
.reveal--img { transform: scale(.96); transition: opacity 1.2s ease, transform 1.4s var(--ease); }
.reveal--left.is-visible, .reveal--img.is-visible { transform: none; }
.light { animation: lightFloat 14s ease-in-out infinite alternate; }
.light--2 { animation-duration: 18s; } .light--3 { animation-duration: 16s; animation-delay: -4s; } .light--4 { animation-duration: 20s; }
@keyframes lightFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.15); } 100% { transform: translate(-40px, 50px) scale(.9); } }

/* «Наш салон» рядом с «Рассчитать цену» */
.salon-link { gap: 10px; }
.salon-link__pin { flex-shrink: 0; }

/* Подробности товара: видео и документы */
.pdetails { display: grid; grid-template-columns: 492fr 595fr; column-gap: 129px; margin-top: 110px; align-items: start; }
.pdetails__col { display: grid; gap: 80px; }
.pdetails__col--right { margin-top: 140px; }
.pvideo { position: relative; display: block; width: 100%; aspect-ratio: 598 / 364; overflow: hidden; background: #2a2926; cursor: pointer; }
.pvideo--tall { aspect-ratio: 495 / 597; }
.pvideo img, .pvideo video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.pvideo:hover img, .pvideo:hover video { transform: scale(1.04); }
.pvideo__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,.85); filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); transition: transform .3s var(--ease); }
.pvideo:hover .pvideo__play { transform: translate(-50%, -50%) scale(1.15); }
.pvideo__play svg { width: 64px; height: 64px; }
.plinks__title { font-size: 32px; font-weight: 300; letter-spacing: -.03em; margin-bottom: 30px; }
.plinks ul { list-style: none; margin: 0; padding: 0; }
.plinks li { border-top: 1px solid rgba(209,167,104,.6); }
.plinks li:last-child { border-bottom: 1px solid rgba(209,167,104,.6); }
.plinks .link-arrow { padding: 22px 0; font-size: 18px; white-space: normal; text-align: left; }
.pdetails .details { margin-top: 0; }
.vmodal { position: fixed; inset: 0; z-index: 10300; background: rgba(17,16,14,.95); display: grid; place-items: center; padding: 40px; animation: fadeIn .3s; }
.vmodal video { max-width: 100%; max-height: 88vh; background: #000; }
.vmodal__close { position: absolute; top: 20px; right: 24px; color: var(--gold); }

@media (max-width: 991px) {
  .collections-home { padding: 20px 30px 0; display: flex; flex-direction: column; gap: 40px; }
  .ccard { aspect-ratio: auto; display: flex; flex-direction: column-reverse; }
  .ccard__img { width: 100%; aspect-ratio: 15 / 19; min-height: 350px; }
  .ccard__text { position: static; font-size: 28px; line-height: 1; margin-bottom: 16px; display: flex; align-items: flex-end; gap: 10px; }
  .ccard__text svg { width: 70px !important; margin: 0 !important; }
  .ccard:nth-child(2) .ccard__text { justify-content: flex-end; text-align: right; }
  .company { padding: 70px 0 80px; }
  .company__grid, .home-salon__grid, .pdetails { grid-template-columns: minmax(0, 1fr); }
  .company__image { order: 2; }
  .company__founder { margin-top: 30px; }
  .pdetails { margin-top: 60px; gap: 50px; }
  .pdetails__col--right { margin-top: 0; }
  .pdetails__col { gap: 50px; }
}
@media (max-width: 767px) {
  .hero--video { height: 88svh; min-height: 420px; }
  .collections-home { padding: 20px 20px 0; }
  .home-salon__photos { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px 130px; gap: 8px; margin: 0 -20px 40px; }
  .home-salon__ph:first-child { grid-column: span 2; grid-row: span 1; }
  .home-salon__map, .home-salon__map iframe { min-height: 320px; }
  .home-salon__map { margin: 0 -20px; }
  .company__founder img { width: 130px; }
  .company__name { font-size: 20px; }
  .reveal--left { transform: translateX(-2rem); }
  .pvideo { margin: 0 -20px; width: calc(100% + 40px); }
  .plinks .link-arrow { font-size: 16px; padding: 18px 0; }
}
.home-salon__list { display: grid; gap: 18px; }
.home-salon__list > div { display: grid; gap: 4px; }
.home-salon__list dd { margin: 0; font-size: 18px; }

/* ================= Окно заявки: удобно на iPhone ================= */
body.scroll-locked { position: fixed; left: 0; right: 0; overflow: hidden; width: 100%; }
.modal { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; align-items: start; }
.modal__box { max-height: none; margin: auto; }
.modal__close { position: sticky; top: 0; float: right; margin: -26px -34px 0 0; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; background: #262522; border-radius: 50%; }
.modal__close-bottom { display: block; margin: 18px auto 0; padding: 12px 26px; border: 1px solid rgba(209,167,104,.5); color: var(--gold); font-size: 15px; font-weight: 500; }
.btn--max { background: transparent; border: 1px solid var(--gold); color: var(--gold); height: 48px; font-size: 16px; }
.btn--max:hover { background: rgba(209,167,104,.12); }
.lead-form__max { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 15px; font-weight: 500; justify-self: start; }
@media (max-width: 767px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__box { min-height: 100%; border-radius: 0; padding: 18px 20px calc(30px + env(safe-area-inset-bottom)); animation: fadeIn .3s; }
  .modal__close { margin: 0 -6px 0 0; }
  .modal__title { clear: both; padding-top: 4px; }
}

/* ================= Фильтры «В наличии» ================= */
.filters { margin: 50px 0 20px; display: grid; gap: 22px; }
.filters__types { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.chip { cursor: pointer; font-size: 20px; color: var(--gold); opacity: .7; transition: opacity .3s; }
.chip input { display: none; }
.chip:hover, .chip.is-active { opacity: 1; }
.chip.is-active { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.filters__row { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.filters__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters__price span { font-size: 15px; color: var(--text-2); font-weight: 500; }
.filters__price input { width: 130px; background: none; border: 0; border-bottom: 1px solid rgba(209,167,104,.6); color: #fff; font: inherit; font-size: 16px; padding: 10px 4px; outline: none; }
.filters__price input:focus { border-color: var(--gold); }
.filters__price i { color: var(--muted); font-style: normal; }
.filters__apply { height: 40px; padding: 0 20px; border: 1px solid var(--gold); color: var(--gold); font-size: 15px; font-weight: 500; transition: background .3s; }
.filters__apply:hover { background: rgba(209,167,104,.12); }
.filters__sort { -webkit-appearance: none; appearance: none; border-radius: 0; padding-right: 40px !important; background: #2a2926 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d1a768' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; color: #fff; border: 1px solid rgba(209,167,104,.4); font: inherit; font-size: 15px; padding: 10px 14px; outline: none; cursor: pointer; }
.filters__reset { color: var(--text-2); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.stock__price { margin-top: 6px; }
@media (max-width: 767px) {
  .filters { margin-top: 30px; }
  .filters__types { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; gap: 24px; }
  .chip { white-space: nowrap; font-size: 17px; }
  .filters__price input { width: 100px; }
  .filters__sort { width: 100%; }
}
@media (max-width: 767px) { .modal__close { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; margin: 0; float: none; } }

@media (max-width: 991px) { .coll__title.coll__title--long { font-size: 32px; } }
@media (max-width: 767px) { .coll__title.coll__title--long { font-size: 28px; } }

/* планшеты: подпись под фото, чтобы не наезжала на соседнюю карточку */
@media (min-width: 768px) and (max-width: 991px) {
  .coll { row-gap: 60px; }
  .coll__item:nth-child(n) .coll__info,
  .coll--root .coll__item:nth-child(n) .coll__info { position: relative; top: auto; left: auto; right: auto; width: auto; max-width: none; margin: -24px 0 0 20px; padding-right: 10px; }
  .coll__item:nth-child(even) .coll__info { margin-left: calc(10.8% + 20px); }
  .coll__item:nth-child(4n) .coll__info { margin-left: 20px; }
  .coll__title { font-size: 40px; }
  .coll__info p { font-size: 16px; }
}

/* текст как на mbb.ru: 20px на компьютере, плавно до 16px на телефоне */
@media (max-width: 1216px) {
  .prose, .hero__text, .slide__text, .contact-us__head p, .modal__text, .product__intro, .page-lead, .company__text, .coll__info p { font-size: clamp(16px, 13.6px + .525vw, 20px); }
}
@media (max-width: 767px) {
  .coll__title { letter-spacing: -1.2px; }
  .coll__info p { max-width: 100%; }
  .coll__item .medal { top: -18px; right: -6px; }
}
.stock__thumbs button.is-active { opacity: 1; outline: 2px solid var(--gold); outline-offset: -2px; }

/* листалка фото в карточке */
.car { touch-action: pan-y pinch-zoom; }
.car .car__track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.car .car__track::-webkit-scrollbar { display: none; }
.car .car__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; transform: none !important; -webkit-user-drag: none; user-select: none; }
.car__btn { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: rgba(209,167,104,.92); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: background .3s, transform .3s; }
.car__btn:hover { background: #d1a768; transform: scale(1.06); }
.car__btn--prev { left: 12px; }
.car__btn--next { right: 12px; }
.car__count { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 6px 11px; border-radius: 4px; background: rgba(17,16,14,.65); color: #fff; font-size: 14px; font-weight: 500; pointer-events: none; }

/* крестик просмотра фото: крупный, всегда поверх и с отступом от «чёлки» iPhone */
.lightbox__close { top: calc(env(safe-area-inset-top, 0px) + 16px); right: 16px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(17,16,14,.7); border: 1px solid rgba(209,167,104,.6); }
.lightbox__nav { z-index: 2; }
@media (max-width: 767px) {
  .lightbox img { max-width: 100vw; max-height: 78vh; }
  .lightbox__nav { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); margin-top: 0; }
  .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
  .lightbox__count { bottom: calc(env(safe-area-inset-bottom, 0px) + 32px); }
}
.filters__sort option { background: #2a2926; color: #fff; }

/* ================= Наши работы ================= */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px 40px; margin-top: 60px; }
.work { display: block; position: relative; }
.work__img { display: block; position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: #2a2926; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.05); }
.work__info { display: block; position: relative; z-index: 2; margin: -26px 0 0 24px; padding-right: 16px; }
.work__title { display: block; font-size: 44px; line-height: 1.1; font-weight: 300; letter-spacing: -.03em; color: var(--gold); text-shadow: 3px 3px 3px rgba(0,0,0,.79); transition: color .3s; }
.work:hover .work__title { color: var(--gold-hover); }
.work__meta { display: block; margin-top: 10px; font-size: 16px; color: var(--text-2); text-shadow: 3px 3px 3px rgba(0,0,0,.79); }
.works__more { margin-top: 60px; text-align: center; }
.btn--outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: rgba(209,167,104,.12); }
.work-about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 50px; }
.work-about:not(:has(.work-about__video)) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.work-about__video { position: relative; aspect-ratio: 16 / 9; background: #11100e; }
.work-about__video iframe, .work-about__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-gallery { margin-top: 60px; }
.work-cta { margin-top: 70px; padding: 40px; border: 1px solid rgba(209,167,104,.35); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.work-cta p { font-size: 20px; line-height: 1.5; max-width: 560px; }
.work-cta .product__actions { margin-top: 0; }
.work-more { margin-top: 110px; margin-bottom: 0; }
.work-more + .works { margin-top: 40px; }
@media (max-width: 1100px) { .work__title { font-size: 36px; } }
@media (max-width: 991px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 24px; }
  .work-about { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 767px) {
  .works { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 36px; }
  .work__img { margin: 0 -20px; aspect-ratio: 4 / 3.2; }
  .work__info { margin: -22px 0 0 10px; }
  .work__title { font-size: 40px; letter-spacing: -1.2px; }
  .work-gallery { margin-top: 36px; }
  .work-cta { padding: 24px 20px; margin-top: 46px; }
  .work-cta p { font-size: 16px; }
  .work-more { margin-top: 70px; }
  .work-about__video { margin: 0 -20px; }
}
.section__head + .works { margin-top: 0; }
.nw { white-space: nowrap; }
