/* ==========================================================================
   Parfum Bureau
   Тема страницы: тёмная (lock). Акцент один: шампань из логотипа.
   Радиусы: интерактив = pill, плиты/карточки = 20px, поля/чипы = 12px.
   ========================================================================== */

:root {
  /* Поверхности */
  --bg:          #0A0A0B;
  --bg-2:        #0F0F11;
  --surface:     #141416;
  --surface-2:   #1B1B1E;
  /* Ровно #FFF: все фото товаров сняты на чистом белом (замерено 255,255,255),
     любой другой оттенок проявляет края снимка. Глубину даёт обойма, а не тон. */
  --plinth:      #FFFFFF;
  --line:        rgba(255, 255, 255, .09);
  --line-soft:   rgba(255, 255, 255, .05);

  /* Текст */
  --text:        #F3F1ED;
  --text-2:      #A5A099;
  --text-3:      #6E6A64;
  --on-plinth:   #16150F;

  /* Акцент */
  --gold:        #C8A56B;
  --gold-soft:   #E2C795;
  --gold-dim:    rgba(200, 165, 107, .16);

  /* Радиусы */
  --r-pill:      999px;
  --r-lg:        20px;
  --r-md:        12px;

  /* Типографика */
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --body:    "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ритм */
  --pad:      clamp(20px, 5vw, 64px);
  --max:      1400px;
  --section:  clamp(88px, 11vw, 176px);

  /* Движение */
  --ease:  cubic-bezier(.16, 1, .3, 1);
  --ease2: cubic-bezier(.32, .72, 0, 1);
}

/* --------------------------------------------------------- reset / базовое */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, dl, dd, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: #0B0A07; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-200%);
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--gold); color: #0B0A07; font-weight: 500;
}
.skip-link:focus { transform: translateY(0); }

/* Плёночное зерно: фиксированный слой, не участвует в скролле */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------- типографика */
.eyebrow {
  margin: 0 0 22px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0;
}

.section__sub {
  margin: 14px 0 0;
  max-width: 52ch;
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 17px);
}

/* --------------------------------------------------------- секции */
.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--section) var(--pad);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-2);
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.link-arrow i { transition: transform .5s var(--ease); }
.link-arrow:hover { color: var(--gold-soft); border-color: var(--gold); }
.link-arrow:hover i { transform: translateX(4px); }

/* --------------------------------------------------------- кнопки */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px 15px 30px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .5s var(--ease2), background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:active { transform: scale(.975); }

.btn__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  background: rgba(11, 10, 7, .12);
  font-size: 17px;
  transition: transform .5s var(--ease2), background-color .5s var(--ease);
}
.btn:hover .btn__icon { transform: translate(3px, -1px) scale(1.06); }

.btn--primary {
  background: var(--gold);
  color: #0B0A07;
}
.btn--primary:hover { background: var(--gold-soft); }

.btn--ghost {
  padding: 15px 30px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: rgba(200, 165, 107, .5);
  background: rgba(200, 165, 107, .06);
  color: var(--gold-soft);
}

.btn--wide { padding-inline: 46px; }
.btn--block { width: 100%; justify-content: center; }

.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-2);
  font-size: 21px;
  cursor: pointer;
  transition: color .4s var(--ease), background-color .4s var(--ease);
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* ==========================================================================
   ШАПКА
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px var(--pad) 0;
  background: linear-gradient(to bottom, var(--bg) 55%, transparent);
}

.header__bar {
  max-width: var(--max);
  margin-inline: auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 12px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(16, 16, 18, .72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px rgba(0, 0, 0, .5);
}

/* --- логотип --- */
/* Название бренда не сжимается и не усекается никогда: узнаваемость важнее пары пикселей.
   Место под бургер и корзину освобождают инструменты, а не логотип. */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid rgba(200, 165, 107, .28);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__tag {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --- навигация --- */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.nav__item { position: relative; }

.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border: 0; background: none;
  border-radius: var(--r-pill);
  font-size: 15px;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  transition: color .35s var(--ease), background-color .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-expanded="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}
.nav__link i { font-size: 14px; transition: transform .4s var(--ease); }
.nav__link[aria-expanded="true"] i { transform: rotate(180deg); }

/* --- мега-меню каталога --- */
.mega {
  position: absolute;
  top: calc(100% + 20px);
  left: -18px;
  width: min(760px, calc(100vw - 48px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 8px);
  background: rgba(18, 18, 20, .92);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mega[hidden] { display: none; }
.mega.is-open { opacity: 1; transform: translateY(0); }

.mega__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 250px;
  gap: 8px;
  padding: 26px 26px 26px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
}

.mega__title {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mega__list li + li { margin-top: 2px; }
.mega__list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  margin-left: -12px;
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text-2);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.mega__list a span { font-size: 12px; color: var(--text-3); }
.mega__list a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.mega__list a:hover span { color: var(--gold); }

.mega__promo {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--plinth);
  color: var(--on-plinth);
}
.mega__promo img {
  width: 100%; height: 150px;
  object-fit: contain;
  padding: 14px 14px 0;
  transition: transform .7s var(--ease);
}
.mega__promo:hover img { transform: scale(1.05); }
.mega__promo-body { display: block; padding: 12px 18px 18px; }
.mega__promo-kicker {
  display: block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: #8A8378;
}
.mega__promo-title { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; }
.mega__promo-price { display: block; margin-top: 4px; font-size: 14px; color: #55504A; }

/* --- инструменты справа --- */
/* flex-shrink: 0 держит поиск, корзину и бургер на месте при любой ширине */
.header__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-shrink: 0; }

.header__phone {
  margin-left: 12px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.header__phone:hover { border-color: rgba(200, 165, 107, .55); color: var(--gold-soft); }

/* бургер: две линии складываются в крест */
.burger {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  border: 0; background: none; cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform .5s var(--ease2), opacity .3s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* --------------------------------------------------------- поиск */
.searchbar {
  position: fixed; inset: 0 0 auto;
  z-index: 70;
  padding: 96px var(--pad) 28px;
  background: rgba(10, 10, 11, .9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.searchbar[hidden] { display: none; }
.searchbar.is-open { opacity: 1; transform: translateY(0); }

.searchbar__form {
  max-width: 780px;
  margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.searchbar__form > i { font-size: 21px; color: var(--text-3); }
.searchbar input {
  flex: 1;
  padding: 14px 0;
  border: 0; background: none;
  font-size: 16px;
}
.searchbar input::placeholder { color: var(--text-3); }
.searchbar input:focus { outline: none; }

/* --------------------------------------------------------- мобильное меню */
.sheet {
  position: fixed; inset: 0;
  z-index: 80;
  display: flex; flex-direction: column;
  padding: 22px var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, .96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; }

.sheet__head {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
  margin-bottom: 20px;
}
.sheet__title {
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-3);
}

.sheet__nav { flex: 1; display: flex; flex-direction: column; }
.sheet__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: clamp(21px, 6vw, 28px);
  font-weight: 400;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(24px);
}
.sheet__nav a i { font-size: 20px; color: var(--gold); }
.sheet.is-open .sheet__nav a {
  animation: sheetIn .6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 90ms);
}
@keyframes sheetIn { to { opacity: 1; transform: translateY(0); } }

.sheet__foot { margin-top: 32px; }
.sheet__social { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.sheet__social a,
.cta__social a,
.footer__social a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 21px;
  color: var(--text-2);
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease2);
}
.sheet__social a:hover,
.cta__social a:hover,
.footer__social a:hover {
  color: var(--gold-soft);
  border-color: rgba(200, 165, 107, .5);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 72px) var(--pad) clamp(56px, 7vw, 96px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

/* Unbounded широкий, поэтому кегль подобран так, чтобы заголовок держался в две строки */
.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.14;
  padding-bottom: 4px;
}

.hero__lead {
  max-width: 46ch;
  margin: 0 0 38px;
  font-size: clamp(15px, 1.45vw, 18px);
  color: var(--text-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Визуал: печатный оттиск в паспарту (двойная обойма) */
.hero__visual { position: relative; }

.frame {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 10px);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.frame__inner {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--plinth);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
/* height: auto обязателен, иначе HTML-атрибут height перебивает aspect-ratio */
.frame__inner img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 30% center;
  transition: transform 1.2s var(--ease);
}
.frame:hover .frame__inner img { transform: scale(1.03); }

/* карточка внахлёст */
.hero__chip {
  position: absolute;
  left: -28px;
  bottom: -30px;
  display: flex; align-items: center; gap: 14px;
  max-width: 300px;
  padding: 10px 20px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(20, 20, 22, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.hero__chip img {
  width: 56px; height: 62px;
  object-fit: contain;
  border-radius: var(--r-md);
  background: var(--plinth);
  padding: 5px;
}
.hero__chip span { font-size: 12px; line-height: 1.45; color: var(--text-3); }
.hero__chip b {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* --------------------------------------------------------- гарантии */
.assurance {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--pad);
}
.assurance__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.assurance__list li {
  padding: 30px 28px;
  background: var(--bg-2);
}
.assurance__list i {
  display: block;
  margin-bottom: 16px;
  font-size: 26px;
  color: var(--gold);
}
.assurance__list b { display: block; font-size: 15px; font-weight: 500; }
.assurance__list span { font-size: 13px; color: var(--text-3); }

/* --------------------------------------------------------- дома */
.houses {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--pad) 0;
}
.houses__track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(14px, 1.6vw, 21px);
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color .5s var(--ease);
}
.wordmark:hover { color: var(--gold-soft); }

/* ==========================================================================
   ПОДБОРКИ (бенто)
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  isolation: isolate;
  transition: border-color .6s var(--ease), transform .6s var(--ease2);
}
.tile:hover { transform: translateY(-4px); border-color: rgba(200, 165, 107, .38); }

.tile img {
  position: absolute; inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: transform 1s var(--ease), opacity .6s var(--ease);
}
.tile:hover img { transform: scale(1.06); opacity: .7; }
.tile:has(img)::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 11, .94) 12%, rgba(10, 10, 11, .35) 62%, rgba(10, 10, 11, .1));
}

.tile--hero { grid-column: span 2; grid-row: span 2; min-height: 460px; }
.tile--wide { grid-column: span 2; }

.tile--gold {
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(226, 199, 149, .28), transparent 58%),
    linear-gradient(150deg, #221B10, #12100C);
  border-color: rgba(200, 165, 107, .26);
}
.tile--dark {
  background:
    radial-gradient(100% 90% at 85% 10%, rgba(255, 255, 255, .07), transparent 60%),
    var(--surface-2);
}

.tile__count {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.tile__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.tile--hero .tile__title { font-size: clamp(24px, 3vw, 38px); }
.tile__note { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }

/* ==========================================================================
   КАТАЛОГ
   ========================================================================== */
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 68px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .45s var(--ease);
}
.chip span { font-size: 11px; color: var(--text-3); }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .2); }
.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0B0A07;
}
.chip.is-active span { color: rgba(11, 10, 7, .6); }

.sort { position: relative; display: flex; align-items: center; gap: 10px; }
.sort__label { font-size: 13px; color: var(--text-3); }
.sort select {
  appearance: none;
  padding: 11px 40px 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.sort i {
  position: absolute; right: 16px;
  pointer-events: none;
  font-size: 14px;
  color: var(--text-3);
}

/* сетка товаров: три колонки и много воздуха */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
}

.card { display: flex; flex-direction: column; }
.card.is-hidden { display: none; }

.card__media {
  position: relative;
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 8px);
  background: rgba(255, 255, 255, .03);
  transition: border-color .6s var(--ease), transform .6s var(--ease2);
}
.card:hover .card__media { transform: translateY(-6px); border-color: rgba(200, 165, 107, .35); }

.card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--plinth);
  transition: transform .9s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: #16150F;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.badge--sale { background: var(--gold); color: #0B0A07; }

.card__body { padding: 22px 4px 0; flex: 1; display: flex; flex-direction: column; }

.card__house {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -.015em;
  line-height: 1.25;
}
.card__title a { transition: color .4s var(--ease); }
.card__title a:hover { color: var(--gold-soft); }

.card__notes {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

.price { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.price s { font-size: 12px; color: var(--text-3); }
.price b {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  letter-spacing: -.01em;
}

.add {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 19px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .45s var(--ease2);
}
.add:hover { background: var(--gold); border-color: var(--gold); color: #0B0A07; }
.add:active { transform: scale(.93); }
.add.is-done { background: var(--gold); border-color: var(--gold); color: #0B0A07; }

.products__empty {
  padding: 72px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 15px;
}
.products__empty i { display: block; margin-bottom: 14px; font-size: 32px; color: var(--gold); }

.catalog__more { margin-top: clamp(48px, 6vw, 80px); text-align: center; }

/* ==========================================================================
   О МАГАЗИНЕ
   ========================================================================== */
.about { border-top: 1px solid var(--line-soft); }

.about__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.about__media {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 18px;
}

.plinth {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 6px);
  padding: 10px;
  background: rgba(255, 255, 255, .03);
}
.plinth img {
  width: 100%;
  object-fit: contain;
  border-radius: var(--r-lg);
  background: var(--plinth);
}
.plinth--tall img { aspect-ratio: 3 / 4; padding: 30px; }
.plinth--small { margin-bottom: 56px; }
.plinth--small img { aspect-ratio: 1 / 1; padding: 22px; }

.about__stat {
  position: absolute;
  right: 6px; bottom: -6px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  border: 1px solid rgba(200, 165, 107, .3);
  border-radius: var(--r-lg);
  background: rgba(20, 20, 22, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.about__stat b {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
}
.about__stat span { font-size: 12px; line-height: 1.35; color: var(--text-3); }

.about__lead {
  max-width: 58ch;
  margin: 22px 0 40px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-2);
}

.about__points { margin-bottom: 0; }
.about__points > div { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.about__points dt {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px;
  font-weight: 500;
}
.about__points dt i { font-size: 22px; color: var(--gold); }
.about__points dd {
  margin: 8px 0 0 34px;
  font-size: 14px;
  color: var(--text-3);
}

/* ==========================================================================
   LINK-ROW: строка-ссылка вместо заливной кнопки.
   Продолжает хайрлайны секции и не спорит с главной CTA внизу страницы.
   ========================================================================== */
.link-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 24px 4px 24px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--gold-soft);
  transition: border-color .45s var(--ease);
}
.link-row__text {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  letter-spacing: -.02em;
}
.link-row__note {
  font-size: 13px;
  color: var(--text-3);
}
.link-row__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid rgba(200, 165, 107, .32);
  border-radius: var(--r-pill);
  font-size: 19px;
  transition: background-color .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease), transform .5s var(--ease2);
}
.link-row:hover { border-color: rgba(200, 165, 107, .45); }
.link-row:hover .link-row__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #0B0A07;
  transform: translate(3px, -3px);
}

/* ==========================================================================
   ПОДБОР
   ========================================================================== */
.selector {
  border-top: 1px solid var(--line-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: none;
}

.step {
  padding: 40px 34px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: border-color .6s var(--ease), transform .6s var(--ease2);
}
.step:hover { transform: translateY(-4px); border-color: rgba(200, 165, 107, .3); }

.step__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 26px;
  border: 1px solid rgba(200, 165, 107, .28);
  border-radius: var(--r-pill);
  background: var(--gold-dim);
  font-size: 25px;
  color: var(--gold);
}
.step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 22px);
  letter-spacing: -.02em;
}
.step p { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }

.selector .link-row { margin-top: clamp(36px, 4vw, 56px); }

/* ==========================================================================
   ОТЗЫВЫ
   ========================================================================== */
.reviews { border-top: 1px solid var(--line-soft); }

.reviews__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.review {
  display: flex; flex-direction: column;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .6s var(--ease);
}
.review:hover { border-color: rgba(200, 165, 107, .28); }

.review--lead {
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(200, 165, 107, .12), transparent 62%),
    var(--surface);
}

.stars { display: flex; gap: 3px; margin-bottom: 20px; font-size: 15px; color: var(--gold); }

.review blockquote {
  flex: 1;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: var(--text);
}
.review--lead blockquote { font-size: clamp(16px, 1.6vw, 20px); }

.review figcaption {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(140deg, var(--gold-soft), #9C7C46);
  font-family: var(--display);
  font-size: 16px;
  color: #14120C;
}
.review__who { display: flex; flex-direction: column; margin-right: auto; line-height: 1.3; }
.review__who b { font-size: 14px; font-weight: 500; }
.review__who span { font-size: 12px; color: var(--text-3); }

.source {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
}
.source i { font-size: 14px; color: var(--gold); }

/* ==========================================================================
   СЕРВИС
   ========================================================================== */
.service__band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.service__col { padding: clamp(32px, 4vw, 52px); background: var(--bg-2); }
.service__col h3 {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: -.02em;
}
.service__col h3 i { font-size: 24px; color: var(--gold); }
.service__col p { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--pad) var(--section);
}
.cta__inner {
  padding: clamp(52px, 7vw, 96px) clamp(28px, 5vw, 80px);
  text-align: center;
  border: 1px solid rgba(200, 165, 107, .22);
  border-radius: calc(var(--r-lg) + 10px);
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(200, 165, 107, .16), transparent 62%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}
.cta__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 3.8vw, 46px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.cta__text {
  max-width: 46ch;
  margin: 18px auto 36px;
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 17px);
}
.cta__actions {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px;
}
.cta__social { display: flex; gap: 10px; }

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__top {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr;
  gap: clamp(28px, 3vw, 48px);
  padding: clamp(56px, 6vw, 88px) var(--pad);
}

.footer__about {
  max-width: 40ch;
  margin: 22px 0 26px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-3);
}
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 40px; height: 40px; font-size: 19px; }

.footer__col h3,
.footer__contacts h3 {
  margin-bottom: 22px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer__col li + li { margin-top: 12px; }
.footer__col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color .35s var(--ease);
}
.footer__col a:hover { color: var(--gold-soft); }

.footer__phone {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.02em;
  white-space: nowrap;
  transition: color .35s var(--ease);
}
.footer__phone:hover { color: var(--gold-soft); }
.footer__mail {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .35s var(--ease);
}
.footer__mail:hover { color: var(--gold-soft); }
.footer__hours { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }

.footer__legal { border-top: 1px solid var(--line-soft); }

.footer__legal-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 24px var(--pad) 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 48px;
}

.footer__legal-text p {
  margin: 0;
  max-width: 92ch;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-3);
}
.footer__legal-text p + p { margin-top: 5px; opacity: .72; }

.footer__legal-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}
.footer__pay { display: inline-flex; align-items: center; gap: 8px; }
.footer__pay i { font-size: 17px; }

/* ==========================================================================
   ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--lead { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__phone { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__chip { left: auto; right: 6px; bottom: -26px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .tile--wide { grid-column: span 2; }
  .assurance__list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .service__band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header { padding-top: 10px; }
  .header__bar { height: 62px; padding: 0 6px 0 12px; gap: 6px; }
  .brand { gap: 10px; }
  .brand__tag { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 14px; }
  .hide-sm { display: none; }
  .icon-btn { width: 40px; height: 40px; font-size: 20px; }
  .burger { width: 40px; height: 40px; }
  .burger span { left: 10px; }
  .burger span:nth-child(1) { top: 17px; }
  .burger span:nth-child(2) { top: 23px; }

  .hero { padding-bottom: 64px; }
  .hero__chip { position: static; max-width: none; margin-top: 16px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }

  .products { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide { grid-column: span 1; }
  .assurance__list { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .about__media { grid-template-columns: 1fr; }
  .plinth--small { display: none; }
  .about__stat { right: 16px; bottom: 16px; }

  /* column + wrap раздувает контейнер по max-content, поэтому здесь nowrap */
  .filters { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .filters__chips {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters__chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .sort { width: 100%; justify-content: space-between; }
  .sort select { flex: 1; min-width: 0; }

  .review { padding: 26px 22px; }
  .review__who { min-width: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__contacts { grid-column: 1 / -1; }
  .footer__legal-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer__legal-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Узкие телефоны: бренд остаётся целиком, ужимается только служебная зона */
@media (max-width: 400px) {
  .header__bar { padding-left: 10px; gap: 2px; }
  .brand { gap: 8px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 13px; }
  .icon-btn { width: 38px; height: 38px; font-size: 19px; }
  .burger { width: 38px; height: 38px; }
  .burger span { left: 9px; }
}

/* ==========================================================================
   ДОСТУПНОСТЬ: уменьшенное движение и прозрачность
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .sheet__nav a { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .header__bar, .mega, .sheet, .searchbar, .hero__chip, .about__stat {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--surface);
  }
}
