/* ============================================================
   China Room — мебель из Китая для интерьеров в России
   Светлый премиальный дизайн по бренд-буку:
   кремовый фон · тёмный оливковый · приглушённое золото · графит
   ============================================================ */

:root {
  /* Brand palette — China Room brand book (айвори · песочный · терракота · нефрит · угольный) */
  --bg: #f5f2ec;          /* айвори — фон страницы */
  --bg-soft: #e7ded1;     /* песочный — чередующиеся секции */
  --bg-card: #fcfaf5;     /* карточки (светлее айвори) */
  --bg-card-2: #efe7d8;   /* приподнятые панели */
  --green: #181b1d;       /* угольный — структурный якорь (футер) */
  --green-soft: #2a2e30;
  --jade: #2e6b5d;        /* нефрит — вторичный акцент */
  --sage: #2e6b5d;        /* нефрит (скроллбар) */
  /* терракота — основной акцент (золота в бренд-буке нет) */
  --red: #c24b3a;
  --red-bright: #d15f4b;
  --gold: #c24b3a;        /* терракота как главный акцент */
  --gold-soft: #d2654f;
  --cream: #f6f3ec;       /* светлый текст для тёмных поверхностей */
  --text: #1f2123;        /* угольный текст */
  --text-muted: rgba(31, 33, 35, 0.64);
  --text-faint: rgba(31, 33, 35, 0.42);
  --line: rgba(194, 75, 58, 0.24);
  --line-soft: rgba(31, 33, 35, 0.10);

  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1280px;
  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 110px 0; position: relative; }

/* ============ Decorative chinese lattice texture ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20h80M0 60h80M20 0v80M60 0v80' stroke='%23c24b3a' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 1; }

/* ============ Typography helpers ============ */
.section__label {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section__label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.section__title em {
  font-style: italic;
  color: var(--red-bright);
}
.section__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.section__title .word > span { display: inline-block; }

.section__sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section__head .section__title { margin-bottom: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 60px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  color: var(--cream);
  animation: goldShift 6s linear infinite;
}
@keyframes goldShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(194, 75, 58, 0.28); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(194, 75, 58, 0.04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn--small { padding: 12px 22px; font-size: 11px; }
.btn--full { width: 100%; }

/* ============ Preloader ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; color: var(--gold); }
.preloader__logo .preloader__ring {
  stroke-dasharray: 183;
  stroke-dashoffset: 183;
  animation: drawRing 1.6s var(--ease) forwards;
}
.preloader__logo .preloader__lattice {
  opacity: 0;
  animation: fadeIn 0.8s 0.9s forwards;
}
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.preloader__text {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 20px 0 26px;
  color: var(--cream);
}
.preloader__bar {
  width: 180px;
  height: 1px;
  background: var(--line-soft);
  margin: 0 auto;
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: loadBar 1.8s var(--ease) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ============ Custom cursor ============ */
.cursor, .cursor-follower {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  transition: transform 0.15s;
}
.cursor-follower {
  width: 38px; height: 38px;
  border: 1px solid rgba(194, 75, 58, 0.45);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s;
}
.cursor-follower.is-hover {
  width: 64px; height: 64px;
  border-color: var(--gold);
  background: rgba(194, 75, 58, 0.07);
}
@media (hover: none), (max-width: 1024px) {
  .cursor, .cursor-follower { display: none; }
}

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(245, 242, 236, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(38, 36, 29, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.logo__mark { color: var(--gold); flex-shrink: 0; transition: transform 0.6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(90deg); }
.logo__text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo__text small {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav { display: flex; gap: 30px; }
.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover, .nav__link--active { color: var(--cream); }
.nav__link:hover::after, .nav__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: color 0.3s;
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold); }
.header__icon {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.35s var(--ease);
}
.header__icon:hover {
  color: var(--cream);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  padding: 4px 0;
}
.burger span {
  height: 2px;
  width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
}
.burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Mobile menu ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(245, 242, 236, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  color: var(--text-muted);
  transform: translateY(24px);
  opacity: 0;
  transition: color 0.3s, transform 0.6s var(--ease), opacity 0.6s;
}
.mobile-menu.is-open .mobile-menu__link { transform: translateY(0); opacity: 1; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu__link:hover { color: var(--gold); }
.mobile-menu__footer { text-align: center; color: var(--text-faint); font-size: 13px; }
.mobile-menu__phone {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 90px;
}
.hero__bg, .page-hero__bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}
.hero__bg img, .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 12%, rgba(245, 242, 236, 0.74) 44%, rgba(245, 242, 236, 0.0) 86%),
    linear-gradient(to top, var(--bg) 2%, transparent 34%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 7.6vw, 110px);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; transform: translateY(110%); }
.hero__line--accent > span { color: var(--red-bright); font-style: italic; }
.hero__subtitle {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 42px;
}
.hero__subtitle strong { color: var(--gold-soft); font-weight: 600; }
.hero__cta { display: flex; gap: 18px; flex-wrap: wrap; }

.hero__menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  background: rgba(252, 250, 245, 0.72);
  backdrop-filter: blur(14px);
  min-width: 250px;
}
.hero__menu-title {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__menu-link {
  display: block;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s, padding-left 0.35s var(--ease);
  position: relative;
}
.hero__menu-link:last-child { border-bottom: none; }
.hero__menu-link::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 8px;
  color: var(--gold);
  opacity: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.3s;
}
.hero__menu-link:hover { color: var(--cream); padding-left: 16px; }
.hero__menu-link:hover::before { opacity: 1; }

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ============ Marquee ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-soft);
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee__track i { color: var(--red-bright); font-style: normal; font-size: 10px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ About ============ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text { color: var(--text-muted); margin-bottom: 20px; max-width: 540px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: linear-gradient(160deg, rgba(194, 75, 58, 0.05), transparent 60%);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.stat:hover { border-color: var(--gold); transform: translateY(-4px); }
.stat__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 13px; color: var(--text-muted); }

.about__media { position: relative; padding-bottom: 70px; }
.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 4.6; }
.about__img--small {
  position: absolute;
  bottom: 0;
  left: -60px;
  width: 46%;
  aspect-ratio: 1;
  border: 6px solid var(--bg);
  box-shadow: 0 30px 60px rgba(38, 36, 29, 0.18);
}
.about__badge {
  position: absolute;
  top: 26px;
  right: -18px;
  background: var(--jade);
  color: var(--cream);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  box-shadow: 0 18px 44px rgba(46, 107, 93, 0.32);
  animation: floatBadge 5s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ Categories ============ */
.categories { background: var(--bg-soft); }
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid var(--line-soft);
  transition: border-color 0.4s;
}
.cat-card--tall { grid-row: span 2; }
.cat-card--wide { grid-column: span 2; }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 1.1s var(--ease), filter 0.6s;
  filter: brightness(0.62) saturate(0.92);
}
.cat-card:hover img { transform: scale(1.07); filter: brightness(0.78) saturate(1.05); }
.cat-card:hover { border-color: var(--line); }
.cat-card__body {
  padding: 28px;
  width: 100%;
  background: linear-gradient(to top, rgba(24, 27, 29, 0.94) 18%, rgba(24, 27, 29, 0.55) 50%, transparent);
  transform: translateY(38px);
  transition: transform 0.55s var(--ease);
}
.cat-card:hover .cat-card__body { transform: translateY(0); }
.cat-card__body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-card__body p {
  font-size: 13.5px;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.5s 0.1s;
  max-width: 420px;
}
.cat-card:hover .cat-card__body p { opacity: 1; }
.cat-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  background: rgba(24, 27, 29, 0.45);
  backdrop-filter: blur(8px);
  transform: rotate(-45deg);
  transition: all 0.45s var(--ease);
}
.cat-card:hover .cat-card__arrow {
  transform: rotate(0);
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
}

/* ============ Advantages ============ */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.adv-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.adv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(194, 75, 58, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
}
.adv-card:hover::before { opacity: 1; }
.adv-card:hover { transform: translateY(-6px); border-color: var(--line); }
.adv-card__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(194, 75, 58, 0.4);
  line-height: 1;
  margin-bottom: 22px;
}
.adv-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.adv-card p { font-size: 14.5px; color: var(--text-muted); }

/* ============ Process ============ */
.process { background: var(--bg-soft); }
.process__track { position: relative; margin-top: 70px; }
.process__line {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-soft);
}
.process__line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red-bright), var(--gold));
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.process__step { position: relative; padding-top: 40px; }
.process__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg);
}
.process__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
}
.process__num {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.process__step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.process__step p { font-size: 13.5px; color: var(--text-muted); }

/* ============ Product cards ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.products-grid--home { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s, opacity 0.4s;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 28px 60px rgba(38, 36, 29, 0.16);
}
.product-card.is-hidden { display: none; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  background: var(--red);
  color: var(--cream);
  border-radius: 40px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.product-card__badge--new { background: var(--gold); color: var(--cream); }
.product-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__cat {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.product-card__desc {
  font-size: 13px;
  color: var(--text-muted);
}
.product-card__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-soft);
}
.product-card__old {
  font-size: 13.5px;
  color: var(--text-faint);
  text-decoration: line-through;
}
.product-card .btn { margin-top: 12px; }

/* ============ Reviews ============ */
.reviews { background: var(--bg-soft); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg-card);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.review:hover { transform: translateY(-6px); border-color: var(--line); }
.review__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--red), var(--red-bright));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.review__head h3 { font-size: 16px; font-weight: 700; }
.review__city { font-size: 12.5px; color: var(--text-faint); }
.review__stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 14px; font-size: 14px; }
.review > p { font-size: 14px; color: var(--text-muted); }
.reviews__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}
.reviews__more:hover { color: var(--gold); border-color: var(--gold); }
.reviews__more span { transition: transform 0.35s var(--ease); }
.reviews__more:hover span { transform: translate(3px, -3px); }

/* ============ Gallery ============ */
.gallery { overflow: hidden; padding-bottom: 130px; }
.gallery .section__head { margin-bottom: 40px; }
.gallery__strip {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 28px;
  will-change: transform;
}
.gallery__item {
  width: clamp(300px, 30vw, 460px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}
.gallery__item:nth-child(even) { margin-top: 44px; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
  filter: saturate(0.9);
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ============ FAQ ============ */
.faq__container { max-width: 860px; }
.faq__list { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.4s;
}
.faq__item[open] { border-color: var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 60px 24px 28px;
  font-size: 16.5px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-soft); }
.faq__icon {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}
.faq__icon::before { width: 100%; height: 1.5px; top: 50%; }
.faq__icon::after { height: 100%; width: 1.5px; left: 50%; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__answer { padding: 0 28px 26px; color: var(--text-muted); font-size: 14.5px; max-width: 700px; }

/* ============ CTA ============ */
.cta { padding-top: 30px; }
.cta__card {
  border-radius: 36px;
  background:
    radial-gradient(900px circle at 90% -10%, rgba(194, 75, 58, 0.18), transparent 50%),
    radial-gradient(700px circle at 0% 110%, rgba(194, 75, 58, 0.20), transparent 55%),
    var(--bg-card-2);
  border: 1px solid var(--line);
  padding: 70px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(194, 75, 58, 0.16);
  pointer-events: none;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 20px;
}
.cta__title em { color: var(--red-bright); font-style: italic; }
.cta__text { color: var(--text-muted); margin-bottom: 28px; }
.cta__list { display: flex; flex-direction: column; gap: 12px; }
.cta__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.cta__list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 4px;
}

/* ============ Forms ============ */
.form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.form__group { position: relative; }
.form__group input, .form__group textarea {
  width: 100%;
  background: rgba(252, 250, 245, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px 20px 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.35s;
  resize: none;
}
.form__group input:focus, .form__group textarea:focus { border-color: var(--gold); }
.form__group input.is-error, .form__group textarea.is-error { border-color: var(--red-bright); }
.form__group label {
  position: absolute;
  left: 20px;
  top: 15px;
  font-size: 14.5px;
  color: var(--text-faint);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
  top: 7px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__policy {
  font-size: 11.5px;
  color: var(--text-faint);
  text-align: center;
}
.form__success {
  position: absolute;
  inset: 0;
  background: var(--bg-card-2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  z-index: 2;
}
.form__success.is-visible { opacity: 1; visibility: visible; }
.form__success p { color: var(--text); font-size: 15px; }

/* ============ Contacts ============ */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  margin-top: 56px;
}
.contacts__info { display: flex; flex-direction: column; gap: 28px; }
.contacts__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contacts__item p, .contacts__item a { font-size: 17px; color: var(--text); }
.contacts__item a:hover { color: var(--gold); }
.contacts__socials { display: flex; gap: 12px; flex-wrap: wrap; }
.contacts__socials a {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13px;
  transition: all 0.35s var(--ease);
}
.contacts__socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-2px);
}
.contacts__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 420px;
}
.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.4) sepia(0.12) contrast(0.96);
}
.contacts__geo {
  margin-top: 56px;
  padding: 28px 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 14px;
  color: var(--text-muted);
}
.contacts__geo strong { color: var(--gold-soft); font-weight: 600; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 54px;
}
.footer__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 300px;
}
.footer__col h3 {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer__col a:hover { color: var(--cream); padding-left: 8px; }
.footer__addr { font-size: 14px; color: var(--text-muted); padding-top: 6px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ============ Modal ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, 0.8);
  backdrop-filter: blur(8px);
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px 38px;
  transform: translateY(40px) scale(0.97);
  transition: transform 0.5s var(--ease);
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal__product {
  font-size: 13.5px;
  color: var(--gold);
  margin-bottom: 24px;
}

/* ============ Page hero (catalog) ============ */
.page-hero {
  position: relative;
  padding: 210px 0 110px;
  overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 2; }
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.breadcrumbs a { transition: color 0.3s; }
.breadcrumbs a:hover { color: var(--gold); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.4vw, 86px);
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 26px;
  font-weight: 600;
}
.page-hero__sub { max-width: 560px; color: var(--text-muted); font-size: 16.5px; }

/* ============ Catalog ============ */
.catalog { padding-top: 60px; }
.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.filter-btn {
  padding: 11px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--cream); }
.filter-btn--active {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}
.catalog__count {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 38px;
}
.catalog__count span { color: var(--red-bright); font-weight: 700; }
.catalog .products-grid { grid-template-columns: repeat(3, 1fr); }

.catalog__note {
  margin-top: 80px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 64px 40px;
  background:
    radial-gradient(600px circle at 50% -40%, rgba(194, 75, 58, 0.18), transparent 60%),
    var(--bg-card);
}
.catalog__note h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.catalog__note p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--text-muted);
}
.catalog__note strong { color: var(--gold-soft); }

/* ============ Reveal base states (JS adds animation) ============ */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js .product-card[data-reveal], .js .cat-card[data-reveal] { transform: translateY(60px); }

/* no-js fallback */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: flex; }
  .products-grid, .products-grid--home { grid-template-columns: repeat(3, 1fr); }
  .catalog .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__menu { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__img--small { left: 0; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .process__line { display: none; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 640px; }
  .cta__card { grid-template-columns: 1fr; padding: 48px 36px; gap: 44px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__phone { display: none; }
  .header__icon { display: none; }
  .hero { padding-top: 120px; }
  .hero__scroll { display: none; }
  .categories__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
  .cat-card--tall { grid-row: span 1; }
  .cat-card--wide { grid-column: span 1; }
  .cat-card__body { transform: translateY(0); }
  .cat-card__body p { opacity: 1; }
  .products-grid, .products-grid--home, .catalog .products-grid { grid-template-columns: 1fr 1fr; }
  .advantages__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .stat__num { font-size: 34px; }
  .page-hero { padding: 160px 0 70px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .products-grid, .products-grid--home, .catalog .products-grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery__item:nth-child(even) { margin-top: 20px; }
  .modal__card { padding: 36px 24px 28px; }
  .cta__card { padding: 40px 22px; border-radius: 24px; }
  .catalog__note { padding: 44px 22px; }
}

/* ============ Page gallery grid (category pages) ============ */
.page-gallery {
  display: grid;
  grid-template-columns: 5fr 3fr;
  grid-template-rows: 400px 290px;
  gap: 18px;
  margin-top: 48px;
}
.page-gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.page-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
  filter: brightness(0.82) saturate(0.9);
}
.page-gallery__item:hover img { transform: scale(1.06); filter: brightness(0.94) saturate(1.08); }

/* ============ Category intro: tighter alt version ============ */
.cat-intro { background: var(--bg-soft); }
.cat-intro .about__grid { gap: 60px; }

/* ============ Spec list on category pages ============ */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.spec-list li::before {
  content: '◆';
  color: var(--gold);
  font-size: 9px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .page-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px;
  }
}
@media (max-width: 480px) {
  .page-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 220px;
  }
}

/* ============ File upload control ============ */
.form__file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.form__file:hover { border-color: var(--gold); color: var(--cream); }
.form__file svg { color: var(--gold); flex-shrink: 0; }
.form__file.is-filled { border-style: solid; border-color: var(--gold); color: var(--gold-soft); }
.form__file-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ Floating messenger button ============ */
.msg-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg-fab__btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(38, 36, 29, 0.22);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: fabIn 0.5s var(--ease) backwards;
}
.msg-fab__btn--wa { background: #25d366; }
.msg-fab__btn--tg { background: #2aabee; animation-delay: 0.08s; }
.msg-fab__btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px rgba(38, 36, 29, 0.3); }
@keyframes fabIn { from { opacity: 0; transform: scale(0.4); } }
@media (max-width: 560px) {
  .msg-fab { right: 16px; bottom: 16px; }
  .msg-fab__btn { width: 48px; height: 48px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Light brand-book adjustments
   Перекрывают текст, ранее лежавший на тёмных поверхностях:
   hover-акцент на светлом хроме, тёмные блоки-якоря.
   ============================================================ */

/* Hover-акцент на светлом хроме: cream → графит */
.nav__link:hover, .nav__link--active,
.hero__menu-link:hover,
.filter-btn:hover,
.form__file:hover { color: var(--text); }

/* Хедер над светлым hero */
.logo { color: var(--text); }
.burger span { background: var(--text); }
.header__phone { color: var(--text); }

/* Прелоадер на кремовом фоне */
.preloader__text { color: var(--text); }

/* Плитки категорий: текст лежит на тёмном scrim поверх фото → оставляем светлым */
.cat-card__body h3 { color: var(--cream); }
.cat-card__body p { color: rgba(246, 242, 232, 0.78); }

/* Футер — тёмно-оливковый блок-якорь (как в бренд-буке) */
.footer { background: var(--green); border-top-color: rgba(194, 75, 58, 0.4); }
.footer,
.footer__desc,
.footer__addr,
.footer__col a,
.footer__bottom { color: rgba(246, 242, 232, 0.72); }
.footer .logo { color: var(--cream); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top-color: rgba(246, 242, 232, 0.14); }
