/* Лендинги jaluzikorona.ru. Фирменный стиль общий с jalusi-spb.ru: цвет #d64521, шрифты Onest и Inter. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('fonts/inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/onest-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/onest-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #d64521;
  --brand-hover: #bd3a19;
  --accent: #ff5c39;
  --ink: #1f1d1c;
  --text: #3d3a38;
  --muted: #6e6964;
  --soft: #a09a94;
  --bg: #ffffff;
  --bg-warm: #f6f3f0;
  --dark: #181716;
  --dark-2: #23211f;
  --line: #e9e4df;
  --ok: #2f8f4e;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 10px 30px rgba(31, 29, 28, .08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Onest', 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 600; line-height: 1.25; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.section { padding: 56px 0; }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--dark); color: #e9e5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
@media (min-width: 960px) { .section { padding: 88px 0; } }

.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--accent); }
.lead { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.section--dark .lead { color: #b9b3ad; }
.accent { color: var(--brand); }
.section--dark .accent, .hero .accent { color: var(--accent); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px;
  border: 0; border-radius: 999px; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, transform .15s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(214, 69, 33, .28); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--light:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(233, 228, 223, .8); }
.header__row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 28px; height: 28px; object-fit: contain; }
.logo__name { font: 700 18px/1 var(--font-display); }
.logo__tag { display: none; font-size: 12px; color: var(--muted); line-height: 1.2; padding-left: 10px; border-left: 1px solid var(--line); }
.nav { display: none; gap: 20px; margin-left: 8px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); white-space: nowrap; }
.nav a:hover { color: var(--brand); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; font: 600 17px/1.2 var(--font-display); color: var(--ink); text-decoration: none; white-space: nowrap; }
.header__phone small { display: block; font: 400 12px/1.3 var(--font); color: var(--muted); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-warm); color: var(--ink); text-decoration: none; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: #eee8e2; }
.header .messengers { display: none; }
.header__cta { display: none; white-space: nowrap; }
@media (min-width: 600px) { .logo__tag { display: block; } }
@media (min-width: 760px) { .header__phone { display: block; } .header__call { display: none; } .header__cta { display: inline-flex; } }
@media (min-width: 1140px) { .nav { display: flex; } }
@media (min-width: 1400px) { .header .messengers { display: flex; } }

.messengers { display: flex; gap: 8px; }

/* Первый экран */
.hero { padding: 12px 0 44px; }
@media (min-width: 960px) { .hero { padding-bottom: 72px; } }
.hero__card { position: relative; overflow: hidden; border-radius: 24px; background: var(--dark); color: #ece8e4; isolation: isolate; }
.hero__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 23, 22, 0) 45%, var(--dark) 100%); }
.hero__body { position: relative; padding: 0 20px 26px; margin-top: -40px; display: flex; flex-direction: column; align-items: flex-start; }
.hero__body > * { order: 1; }
.hero__body .hero__actions { order: 2; align-self: stretch; }
.hero__body .hero__list { order: 3; }
.hero__body .hero__note { order: 4; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1);
  font-size: 13px; font-weight: 500; color: #f1ede9; margin-bottom: 16px; }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { color: #fff; }
.hero__sub { margin-top: 16px; font-size: clamp(16px, 1.7vw, 20px); color: #d3cdc7; max-width: 620px; }
.hero__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
@media (max-width: 719px) { .hero__list li { font-size: 14.5px; } .hero__actions { margin-top: 22px; } }
.hero__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #eae6e2; }
.hero__list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero__note { margin-top: 14px; font-size: 13.5px; color: #a8a29c; }
@media (min-width: 720px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__body { padding: 0 36px 36px; }
  .hero__body .hero__actions, .hero__body .hero__list, .hero__body .hero__note { order: 1; }
  .hero__body .hero__actions { align-self: auto; }
}
@media (min-width: 1000px) {
  .hero__card { min-height: 620px; display: flex; align-items: center; }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__media::after { background: linear-gradient(90deg, rgba(24, 23, 22, .96) 0%, rgba(24, 23, 22, .86) 38%, rgba(24, 23, 22, .25) 72%, rgba(24, 23, 22, .1) 100%); }
  .hero__body { margin: 0; padding: 64px 56px; max-width: 660px; }
  .hero__list { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
}

/* Цифры */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.stat { background: var(--bg-warm); border-radius: var(--r-sm); padding: 18px 18px 16px; }
.stat b { display: block; font: 700 clamp(24px, 3vw, 34px)/1.05 var(--font-display); color: var(--ink); }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.35; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Каталог */
.products { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .products { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.product__img { position: relative; display: block; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: var(--bg-warm); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); }
.product__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.product__body p { font-size: 15px; color: var(--muted); }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.facts li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.facts li span { color: var(--muted); }
.facts li b { font-weight: 600; color: var(--ink); text-align: right; }
.product__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.product__actions .btn { flex: 1; min-height: 46px; padding: 10px 14px; font-size: 15px; }

/* Форма на странице */
.offer { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .offer { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.offer__points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.offer__points li { display: flex; gap: 12px; align-items: flex-start; }
.offer__points svg { width: 24px; height: 24px; flex: none; color: var(--brand); }
.card { background: #fff; color: var(--text); border-radius: var(--r); padding: 24px 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .card { padding: 32px; } }
.card h3 { margin-bottom: 6px; }
.card__sub { font-size: 15px; color: var(--muted); margin-bottom: 18px; }

.form { display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font: 400 16px/1.3 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236e6964' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(214, 69, 33, .12); }
.input.is-invalid { border-color: #d33; box-shadow: 0 0 0 4px rgba(221, 51, 51, .1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14.5px; font-weight: 500; cursor: pointer; background: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.chip input:checked + span { border-color: var(--brand); background: rgba(214, 69, 33, .08); color: var(--brand); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(214, 69, 33, .15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.form__error { display: none; padding: 10px 14px; border-radius: 12px; background: #fdeceb; color: #a12a1b; font-size: 14px; }
.form__error.is-shown { display: block; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form__hint { font-size: 13px; color: var(--soft); text-align: center; }
.upload { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border: 1.5px dashed #d8d1ca; border-radius: var(--r-sm); cursor: pointer; background: var(--bg-warm); }
.upload svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.upload input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.upload__text { font-size: 14.5px; color: var(--text); }
.upload__text small { display: block; color: var(--muted); font-size: 12.5px; }
.upload.is-done { border-style: solid; border-color: var(--ok); background: #eef8f1; }
.upload.is-busy { opacity: .7; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.success { display: none; text-align: center; padding: 12px 0 4px; }
.success svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 12px; }
.success h3 { margin-bottom: 8px; }
.success p { color: var(--muted); }
.is-sent .form { display: none; }
.is-sent .success { display: block; }

/* Ленты (галерея, отзывы) */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 16px 8px; margin: 0 -16px; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 28px) / 3); margin: 0; padding: 4px 0 8px; } }
.rail--wide { grid-auto-columns: 90%; }
@media (min-width: 1000px) { .rail--wide { grid-auto-columns: calc((100% - 14px) / 2); } }
.rail__btn { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; box-shadow: var(--shadow); cursor: pointer; z-index: 2; align-items: center; justify-content: center; }
.rail__btn svg { width: 22px; height: 22px; }
.rail__btn--prev { left: -18px; }
.rail__btn--next { right: -18px; }
@media (min-width: 1000px) { .rail__btn { display: inline-flex; } }
.shot { position: relative; display: block; border: 0; padding: 0; background: var(--bg-warm); border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; min-height: 0; width: 100%; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.03); }
.shot--ba { aspect-ratio: 2 / 1; }
.shot--review { aspect-ratio: auto; background: #fff; box-shadow: var(--shadow); }
.shot--review img { position: static; height: auto; object-fit: contain; }

/* Примерка */
.tryon { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .tryon { grid-template-columns: minmax(0, 480px) 1fr; gap: 56px; align-items: center; } }
.tryon__stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-warm); aspect-ratio: 4 / 5; max-height: 80vh; margin: 0 auto; width: 100%; }
.tryon__stage img { object-position: center top; }
.tryon__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.tryon__stage img.is-active { opacity: 1; }
.tryon__label { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(24, 23, 22, .78); color: #fff; font-size: 14px; font-weight: 500; }
.tryon__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.tryon__tabs button { min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: 14.5px; }
.tryon__tabs button[aria-pressed='true'] { border-color: var(--brand); color: var(--brand); background: rgba(214, 69, 33, .07); }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border-radius: var(--r); padding: 24px 22px; counter-increment: step; }
.section--warm .step { box-shadow: none; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 700 15px/1 var(--font-display); color: var(--brand); margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* Причины */
.reasons { display: grid; gap: 14px; }
@media (min-width: 700px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reason { background: var(--dark-2); border-radius: var(--r); padding: 24px 22px; }
.reason__fear { font-size: 14px; color: #a7a09a; font-style: italic; margin-bottom: 10px; }
.reason h3 { margin-bottom: 8px; }
.reason p { font-size: 15px; color: #c9c3bd; }
.reason svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }

/* Видео */
.videos { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .videos { grid-template-columns: repeat(4, 1fr); } }
.video { position: relative; aspect-ratio: 9 / 14; border-radius: var(--r); overflow: hidden; background: #2a2725; border: 0; padding: 0; cursor: pointer; color: #fff; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.72) 100%); }
.video__play, .video__title { z-index: 1; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video__title { position: absolute; left: 14px; right: 14px; bottom: 14px; font: 600 16px/1.25 var(--font-display); text-align: left; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

/* Доверие */
.trust { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; gap: 48px; } }
.trust__doc { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.trust__inn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border-radius: var(--r-sm); background: var(--bg-warm);
  font: 600 18px/1 var(--font-display); color: var(--ink); }
.trust__inn small { font: 500 13px/1 var(--font); color: var(--muted); }
.trust__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Нашли дешевле */
.match { border-radius: 24px; background: var(--dark); color: #e2ddd8; padding: 32px 20px; display: grid; gap: 24px; align-items: center; }
.match h2 { color: #fff; }
@media (min-width: 900px) { .match { grid-template-columns: 1fr 1fr; padding: 56px; gap: 48px; } }
.match .card { box-shadow: none; }

/* Вопросы */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--r-sm); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0;
  font: 600 17px/1.35 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--font); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Финал и подвал */
.final { text-align: center; }
.final .hero__actions { justify-content: center; }
.final .messengers { justify-content: center; margin-top: 18px; }
.footer { background: var(--dark); color: #a39d97; padding: 40px 0 110px; font-size: 14px; }
@media (min-width: 760px) { .footer { padding-bottom: 40px; } }
.footer__grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer a { color: #ddd7d1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer b { display: block; color: #fff; font: 600 16px/1.3 var(--font-display); margin-bottom: 8px; }
.footer .icon-btn { background: #2a2725; color: #fff; }
.footer__legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid #2c2926; font-size: 12.5px; color: #807a74; }

/* Нижняя панель на телефоне */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 84px 10px 12px;
  padding-bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .25s; }
.dock.is-shown { transform: none; }
.dock .btn { min-height: 48px; padding: 10px 14px; font-size: 15px; }
.dock .btn--light { flex: none; width: 48px; padding: 0; }
.dock .btn--primary { flex: 1; }
@media (min-width: 760px) { .dock { display: none; } }

/* Окна */
.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--text); }
.modal::backdrop { background: rgba(20, 18, 17, .62); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__inner { padding: 28px 20px 22px; }
@media (min-width: 640px) { .modal__inner { padding: 34px 34px 28px; } }
.modal__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-warm); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2; }
.modal__close svg { width: 18px; height: 18px; }
.modal h3 { font-size: clamp(22px, 3vw, 27px); margin: 0 36px 8px 0; }
.modal--product { width: min(1180px, calc(100% - 24px)); max-height: calc(100% - 32px); }
.pmodal { display: grid; gap: 22px; }
.pmodal > * { min-width: 0; }
@media (min-width: 860px) { .pmodal { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; align-items: start; } .modal--product .modal__inner { padding: 40px; } }
.pmodal__main { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-warm); }
.pmodal__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pmodal__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 10px; }
.pmodal__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--bg-warm); }
.pmodal__thumbs button[aria-current='true'] { border-color: var(--brand); }
.pmodal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pmodal__text p { color: var(--muted); margin-bottom: 10px; }

.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: rgba(12, 11, 10, .94); }
.lightbox::backdrop { background: transparent; }
.lightbox__img { position: absolute; inset: 56px 12px 72px; display: flex; align-items: center; justify-content: center; }
.lightbox__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox .modal__close { background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox__nav { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; color: #ddd; }
.lightbox__nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__nav svg { width: 22px; height: 22px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Отзывы */
.review { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow); }
.review__head { display: flex; gap: 12px; align-items: center; }
.review__head b { display: block; font: 600 16px/1.25 var(--font-display); color: var(--ink); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--bg-warm); color: var(--brand); font: 700 18px/1 var(--font-display); }
.review__src { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.review__src::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--soft); }
.review__src:hover { color: var(--ink); }
.review__src--yandex::before, .platform--yandex i { background: #fc3f1d; }
.review__src--2gis::before, .platform--2gis i { background: #19aa1e; }
.review__src--avito::before, .platform--avito i { background: #00aaff; }
.review__stars { display: flex; gap: 2px; color: #f5a623; }
.review__stars svg { width: 17px; height: 17px; }
.review__item { align-self: flex-start; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--bg-warm); padding: 4px 10px; border-radius: 999px; }
.review__text { font-size: 15px; line-height: 1.55; color: var(--text); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--brand); font-weight: 600; font-size: 14px; cursor: pointer; }
.review__more[hidden] { display: none; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.platform i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Сложные объекты */
.cases { display: grid; gap: 14px; }
@media (min-width: 640px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { position: relative; display: block; aspect-ratio: 4 / 3; min-height: 0; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--dark); text-align: left; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case:hover img { transform: scale(1.03); }
.case::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.78) 100%); }
.case__text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: grid; gap: 4px; }
.case__text b { font: 600 19px/1.2 var(--font-display); }
.case__text span { font-size: 14px; color: #e4dfda; }

/* Что вы получаете */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .checks { grid-template-columns: repeat(4, 1fr); } }
.check { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 20px; }
.check > svg { width: 26px; height: 26px; flex: none; color: #fff; background: var(--brand); border-radius: 50%; padding: 5px; }
.check h3 { font-size: 17px; margin-bottom: 6px; }
.check p { font-size: 14.5px; color: var(--muted); }

/* Что подойдёт для комнаты */
.rooms { display: grid; gap: 14px; }
@media (min-width: 700px) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room { background: var(--bg-warm); border-radius: var(--r); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.room p { font-size: 15px; color: var(--muted); }
.room__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.room__chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; }
.room__chip:hover { border-color: var(--brand); color: var(--brand); }

/* Видеообзоры изделий */
.pvideos { display: grid; gap: 14px; }
@media (min-width: 640px) { .pvideos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pvideos { grid-template-columns: repeat(3, 1fr); } }
.pvideo { display: flex; flex-direction: column; border: 0; padding: 0; background: #fff; border-radius: var(--r); overflow: hidden; cursor: pointer; text-align: left; box-shadow: var(--shadow); }
.pvideo__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--dark); }
.pvideo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pvideo__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.pvideo__text { display: grid; gap: 4px; padding: 16px 18px 18px; }
.pvideo__text b { font: 600 17px/1.25 var(--font-display); color: var(--ink); }
.pvideo__text span { font-size: 14px; color: var(--muted); }
.pmodal__main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Шаги на белом фоне */
.section:not(.section--warm) .step { background: var(--bg-warm); }

/* «Или пришлите фото в мессенджер» */
.msg-inline { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.msg-inline--dark { color: #cfc9c3; }
.msg-inline--dark .icon-btn { background: rgba(255, 255, 255, .12); color: #fff; }
.msg-inline--dark .icon-btn:hover { background: rgba(255, 255, 255, .2); }

/* О компании (/katalog) */
.about { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.about__text { display: grid; gap: 14px; margin-top: 18px; font-size: 16.5px; color: var(--text); }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__photos .shot { aspect-ratio: 1; }

/* Каталог с видеообзорами (/katalog): каждое изделие отдельным широким блоком */
.katalog { padding-top: 56px; }
@media (min-width: 960px) { .katalog { padding-top: 88px; } }
.katalog__head .section-head { margin-bottom: 20px; }
.ktabs { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ktabs__row { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.ktabs__row::-webkit-scrollbar { display: none; }
.ktabs__item { flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14.5px;
  font-weight: 500; text-decoration: none; color: var(--text); white-space: nowrap; transition: border-color .2s, color .2s, background-color .2s; }
.ktabs__item:hover { border-color: var(--ink); }
.ktabs__item[aria-current='true'] { border-color: var(--brand); background: var(--brand); color: #fff; }

.pitem { padding: 48px 0; scroll-margin-top: calc(var(--header-h) + 58px); }
.pitem--warm { background: var(--bg-warm); }
@media (min-width: 960px) { .pitem { padding: 80px 0; } }
.pitem__grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 960px) {
  .pitem__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
  /* Видео справа: широкая колонка тоже справа, чтобы видео и фото были того же размера, что в соседних блоках */
  .pitem--rev .pitem__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .pitem--rev .pitem__media { order: 2; }
}
.pitem__text .lead { margin-top: 12px; color: var(--ink); font-weight: 500; }
.pitem__desc { display: grid; gap: 10px; margin: 14px 0 18px; color: var(--muted); font-size: 15.5px; }
.facts--big { margin: 0 0 22px; font-size: 15px; gap: 8px; }
.facts--big li { padding-bottom: 8px; }

.pvideo--big { width: 100%; box-shadow: 0 18px 44px rgba(31, 29, 28, .16); }
.pvideo--big .pvideo__media { aspect-ratio: 16 / 9; }
.pvideo--big .pvideo__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%); }
.pvideo--big .video__play { width: 76px; height: 76px; z-index: 1; transition: transform .2s; }
.pvideo--big:hover .video__play { transform: translate(-50%, -50%) scale(1.06); }
.pvideo__caption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: grid; gap: 3px; color: #fff; text-align: left; }
.pvideo__caption b { font: 600 clamp(16px, 1.8vw, 20px)/1.25 var(--font-display); }
.pvideo__caption span { font-size: 14px; color: #e6e1dc; }

.pitem__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pitem__thumb { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--line); }
.pitem__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pitem__thumb:hover img { transform: scale(1.06); }
.pitem__thumb.is-more::after { content: attr(data-more); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(24, 23, 22, .55); color: #fff; font: 700 18px/1 var(--font-display); }
@media (max-width: 639px) {
  .pvideo--big .video__play { width: 54px; height: 54px; top: 40%; }
  .pvideo--big .video__play svg { width: 22px; height: 22px; }
  .pvideo__caption { left: 14px; right: 14px; bottom: 10px; }
  .pvideo__caption b { font-size: 15px; }
  .pvideo__caption span { font-size: 12.5px; }
}
