/* MODEROOM — кухни бизнес-класса. Quiet luxury / editorial. */

:root {
  --espresso: #2c211d;
  --espresso-deep: #211813;
  --espresso-soft: #3a2d27;
  --cream: #d6bca3;
  --cream-soft: #e4d2bd;
  --ivory: #f5f0e8;
  --paper: #faf7f2;
  --ink: #2c211d;
  --ink-soft: #6b5d52;
  --brass: #b08a5c;
  --line: rgba(44, 33, 29, .14);
  --line-cream: rgba(214, 188, 163, .22);
  --serif: "Cormorant", Georgia, serif;
  --sans: "Manrope", -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

::selection { background: var(--cream); color: var(--espresso); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.container--narrow { max-width: 880px; }

/* ── Типографика ───────────────────────────── */
h1, h2, h3 { font-weight: 500; line-height: 1.12; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  letter-spacing: -.01em;
}
h2 em, h1 em {
  font-style: italic;
  color: var(--brass);
}
.section--dark h2 em { color: var(--cream); }
h3 { font-size: 1.12rem; font-weight: 600; font-family: var(--sans); }

.kicker {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.section--dark .kicker { color: var(--cream); opacity: .85; }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section__lead { margin-top: 20px; color: var(--ink-soft); max-width: 600px; }

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark .section__lead { color: rgba(245, 240, 232, .66); }
.section--paper { background: var(--ivory); }

/* ── Кнопки ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--cream);
  color: var(--cream);
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--cream); color: var(--espresso); }
.btn--solid:hover { background: var(--cream-soft); border-color: var(--cream-soft); transform: translateY(-2px); }
.btn--ghost:hover { background: rgba(214, 188, 163, .12); transform: translateY(-2px); }
.btn--ghost-dark { border-color: var(--espresso); color: var(--espresso); }
.btn--ghost-dark:hover { background: var(--espresso); color: var(--cream); }
.btn--small { padding: 11px 22px; font-size: .72rem; }

.link-arrow {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--cream);
  border-bottom: 1px solid var(--line-cream);
  padding-bottom: 3px;
  transition: all .3s;
}
.link-arrow:hover { color: var(--cream-soft); border-color: var(--cream-soft); }

/* ── Шапка ─────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s;
  color: var(--ivory);
}
.header.scrolled {
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__logo { display: flex; align-items: baseline; gap: 10px; }
.logo-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.06em;
}
.logo-mark__r { color: var(--brass); }
.header.scrolled .logo-mark__r,
.footer .logo-mark__r { color: var(--brass); }
.logo-word {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
}
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  opacity: .85;
  transition: opacity .25s;
}
.header__nav a:hover { opacity: 1; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.header.scrolled .btn--small { border-color: var(--espresso); color: var(--espresso); }
.header.scrolled .btn--small:hover { background: var(--espresso); color: var(--cream); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: currentColor; transition: all .3s var(--ease);
}
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.burger.open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.open span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--espresso); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-menu nav a { font-family: var(--serif); font-size: 1.8rem; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 18px; align-items: center; }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ivory);
  overflow: hidden;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.hero__media img { animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(33, 24, 19, .92) 0%, rgba(33, 24, 19, .45) 38%, rgba(33, 24, 19, .25) 60%, rgba(33, 24, 19, .35) 100%),
    linear-gradient(100deg, rgba(33, 24, 19, .55) 0%, rgba(33, 24, 19, .15) 55%, transparent 75%);
}
.hero__title em { color: var(--cream); text-shadow: 0 2px 24px rgba(33, 24, 19, .45); }
.hero__content {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 56px) 56px;
}
.hero__kicker {
  color: var(--cream);
  animation: rise .9s var(--ease) .15s both;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -.015em;
  max-width: 17ch;
  animation: rise .9s var(--ease) .3s both;
}
.hero__sub {
  margin-top: 26px;
  max-width: 520px;
  font-size: 1.02rem;
  color: rgba(245, 240, 232, .82);
  animation: rise .9s var(--ease) .45s both;
}
.hero__cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 38px;
  animation: rise .9s var(--ease) .6s both;
}
.hero__facts {
  position: relative;
  border-top: 1px solid var(--line-cream);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  width: 100%;
  margin: 48px auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  animation: rise .9s var(--ease) .75s both;
}
.hero__facts li {
  padding: 22px 24px 26px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line-cream); }
.hero__facts strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
}
.hero__facts span { font-size: .76rem; letter-spacing: .04em; color: rgba(245, 240, 232, .6); }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ── Бегущая строка ────────────────────────── */
.marquee {
  background: var(--espresso-deep);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line-cream);
}
.marquee__track {
  display: flex; align-items: center; gap: 38px;
  white-space: nowrap;
  width: max-content;
  padding: 15px 0;
  animation: marquee 36s linear infinite;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.marquee__track i { font-style: normal; opacity: .45; font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Работы ────────────────────────────────── */
.works__filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  padding: 10px 22px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--espresso); color: var(--espresso); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }

.works__grid {
  columns: 3;
  column-gap: 22px;
}
.work {
  position: relative;
  break-inside: avoid;
  margin-bottom: 22px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--espresso);
}
.work.hidden { display: none; }
.work img {
  width: 100%;
  transition: transform .8s var(--ease), opacity .5s;
}
.work:hover img { transform: scale(1.04); opacity: .82; }
.work figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 22px 18px;
  background: linear-gradient(to top, rgba(33, 24, 19, .88), transparent);
  color: var(--ivory);
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0;
  transform: translateY(8px);
  transition: all .45s var(--ease);
}
.work:hover figcaption { opacity: 1; transform: none; }
.work figcaption strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.work figcaption span { font-size: .74rem; letter-spacing: .05em; color: rgba(245, 240, 232, .72); }
.works__more { margin-top: 36px; color: var(--ink-soft); font-size: .92rem; }
.works__more a { color: var(--brass); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ── Почему ────────────────────────────────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-cream);
  border: 1px solid var(--line-cream);
}
.why__item {
  background: var(--espresso);
  padding: clamp(28px, 4vw, 52px);
  position: relative;
  transition: background .4s;
}
.why__item:hover { background: var(--espresso-soft); }
.why__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--brass);
  display: block;
  margin-bottom: 18px;
}
.why__item h3 { margin-bottom: 12px; font-size: 1.25rem; }
.why__item p { color: rgba(245, 240, 232, .68); font-size: .95rem; }

/* ── Bento материалов ──────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento__card {
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.bento__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(44, 33, 29, .25); }
.bento__card img { width: 100%; height: 280px; object-fit: cover; }
.bento__card--tall { grid-row: span 2; }
.bento__card--tall img { height: 100%; min-height: 280px; flex: 1; }
.bento__card--wide { grid-column: span 2; flex-direction: row; }
.bento__card--wide img { width: 55%; height: auto; }
.bento__text { padding: 26px; }
.bento__text h3 { margin-bottom: 10px; }
.bento__text p { font-size: .92rem; color: var(--ink-soft); }

/* ── Квиз ──────────────────────────────────── */
.quiz__wrap {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.quiz__intro p { color: rgba(245, 240, 232, .72); margin-top: 18px; max-width: 460px; }
.quiz__bullets { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.quiz__bullets li {
  padding-left: 26px;
  position: relative;
  font-size: .92rem;
  color: rgba(245, 240, 232, .82);
}
.quiz__bullets li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--brass);
  font-size: .7rem;
  top: .35em;
}
.quiz__box {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(26px, 3.5vw, 44px);
  position: relative;
}
.quiz__progress {
  height: 2px;
  background: var(--line);
  margin-bottom: 30px;
  overflow: hidden;
}
.quiz__progress span {
  display: block; height: 100%;
  width: 0;
  background: var(--brass);
  transition: width .5s var(--ease);
}
.quiz__step-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}
.quiz__question {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt {
  border: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  font-size: .92rem;
  font-weight: 500;
  transition: all .25s var(--ease);
  background: #fff;
}
.quiz__opt:hover { border-color: var(--brass); transform: translateY(-2px); }
.quiz__opt.picked { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.quiz__back {
  font-size: .8rem; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .06em;
}
.quiz__back:hover { color: var(--ink); }
.quiz__back[disabled] { opacity: 0; pointer-events: none; }

.quiz__result h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 12px; }
.quiz__result > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }
.quiz__summary {
  border: 1px dashed var(--line);
  padding: 16px 20px;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.quiz__field { margin-bottom: 14px; }
.quiz__field input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .25s;
}
.quiz__field input:focus { border-color: var(--brass); }
.quiz__send { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.quiz__send .btn { flex: 1; border-color: var(--espresso); color: var(--espresso); }
.quiz__send .btn--solid { background: var(--espresso); color: var(--cream); }
.quiz__send .btn--solid:hover { background: var(--espresso-soft); border-color: var(--espresso-soft); }
.quiz__fineprint { margin-top: 16px; font-size: .72rem; color: var(--ink-soft); }

/* ── Процесс ───────────────────────────────── */
.process__layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--brass);
  min-width: 64px;
  line-height: 1;
  padding-top: 4px;
}
.step h3 { margin-bottom: 8px; font-size: 1.18rem; }
.step p { color: var(--ink-soft); font-size: .95rem; max-width: 52ch; }
.process__media { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.process__media img:last-of-type {
  width: 62%;
  margin-left: 38%;
  margin-top: -160px;
  border: 6px solid var(--paper);
  box-shadow: 0 30px 60px -30px rgba(44, 33, 29, .4);
}
.process__caption {
  font-size: .82rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--brass);
  padding-left: 14px;
  max-width: 36ch;
}

/* ── Страхи ────────────────────────────────── */
.fears__list { display: flex; flex-direction: column; }
.fear {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 70px);
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.fear:last-child { border-bottom: 1px solid var(--line); }
.fear__q {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.fear__a { color: var(--ink-soft); font-size: .96rem; align-self: center; }

/* ── Отзывы ────────────────────────────────── */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.review {
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 40px);
  background: #fff;
  position: relative;
}
.review::before {
  content: "«";
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0;
  color: var(--cream);
  position: absolute;
  top: 38px; right: 28px;
}
.review p {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 44ch;
}
.review footer {
  margin-top: 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
}
.reviews__note { margin-top: 30px; font-size: .88rem; color: var(--ink-soft); }
.reviews__note a { color: var(--brass); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ── О компании ────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about__text { color: rgba(245, 240, 232, .75); margin-top: 20px; max-width: 54ch; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-cream);
  border: 1px solid var(--line-cream);
  margin: 36px 0;
}
.about__stats div { background: var(--espresso); padding: 24px 26px; }
.about__stats dt {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
}
.about__stats dd { font-size: .78rem; letter-spacing: .05em; color: rgba(245, 240, 232, .6); }
.about__b2b {
  border: 1px solid var(--line-cream);
  padding: 28px 30px;
}
.about__b2b h3 { color: var(--cream); margin-bottom: 10px; }
.about__b2b p { font-size: .92rem; color: rgba(245, 240, 232, .7); }
.about__media { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.about__media img:last-of-type {
  width: 70%;
  margin-top: -120px;
  margin-left: -28px;
  border: 6px solid var(--espresso);
}

/* ── FAQ ───────────────────────────────────── */
.faq__list details {
  border-top: 1px solid var(--line);
}
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--brass);
  transition: transform .35s var(--ease);
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list summary:hover { color: var(--brass); }
.faq__list details p {
  padding: 0 0 26px;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 64ch;
}

/* ── Финальный CTA ─────────────────────────── */
.section--cta { background: var(--ivory); }
.final__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.final__text { color: var(--ink-soft); margin-top: 18px; max-width: 50ch; }
.final__channels { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.final__channels .btn--solid { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.final__channels .btn--solid:hover { background: var(--espresso-soft); }
.final__contacts { margin-top: 38px; display: flex; flex-direction: column; gap: 14px; }
.final__contacts li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  font-size: .95rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.final__contacts span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 4px;
}
.final__contacts a { font-weight: 600; }
.final__contacts a:hover { color: var(--brass); }
.final__media img { box-shadow: 0 40px 80px -40px rgba(44, 33, 29, .45); }

/* ── Футер ─────────────────────────────────── */
.footer {
  background: var(--espresso-deep);
  color: var(--ivory);
  padding: 44px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__nav { display: flex; gap: 24px; margin-left: auto; }
.footer__nav a {
  font-size: .8rem;
  font-weight: 500;
  opacity: .75;
  transition: opacity .25s;
}
.footer__nav a:hover { opacity: 1; }
.footer__legal { width: 100%; font-size: .74rem; color: rgba(245, 240, 232, .42); }

/* ── Sticky CTA (mobile) ───────────────────── */
.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1.6fr;
  box-shadow: 0 -10px 30px rgba(44, 33, 29, .18);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta a {
  padding: 17px 10px;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sticky-cta__call { background: var(--paper); color: var(--espresso); }
.sticky-cta__calc { background: var(--espresso); color: var(--cream); }

/* ── Lightbox ──────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(33, 24, 19, .94);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  padding: 5vh 5vw;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 82vh; max-width: 100%; object-fit: contain; }
.lightbox__caption { color: var(--cream); font-size: .9rem; }
.lightbox__close {
  position: absolute; top: 26px; right: 30px;
  color: var(--cream);
  font-size: 1.4rem;
  opacity: .8;
}
.lightbox__close:hover { opacity: 1; }

/* ── Reveal ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .marquee__track { animation: none; }
}

/* ── Адаптив ───────────────────────────────── */
@media (max-width: 1080px) {
  .works__grid { columns: 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--wide { grid-column: span 2; flex-direction: column; }
  .bento__card--wide img { width: 100%; height: 280px; }
  .quiz__wrap { grid-template-columns: 1fr; }
  .process__layout, .about__grid, .final__grid { grid-template-columns: 1fr; }
  .process__media, .about__media { position: static; }
  .process__media img:last-of-type { margin-top: -120px; }
}
@media (max-width: 820px) {
  .header__nav, .header__phone { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--small { display: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .why__grid { grid-template-columns: 1fr; }
  .fear { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .reviews__grid { grid-template-columns: 1fr; }
  .sticky-cta { display: grid; }
  body { padding-bottom: 54px; }
}
@media (max-width: 620px) {
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(33, 24, 19, .95) 0%, rgba(33, 24, 19, .62) 45%, rgba(33, 24, 19, .5) 100%);
  }
  .works__grid { columns: 1; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .quiz__options { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .about__media img:last-of-type { margin-top: -80px; margin-left: auto; }
  .final__contacts li { grid-template-columns: 1fr; gap: 2px; }
}
