/* ==========================================================================
   BINOOR — основная таблица стилей
   Ноль зависимостей. Ноль фреймворков.

   Дизайн-мотивы:
   — арка (border-radius 999px 999px 0 0) — отсылка к исламской архитектуре;
   — пилюльные кнопки, волосяные золотые линии, редакционная типографика;
   — каллиграфический знак бренда как водяной знак в тёмных секциях.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Токены
   -------------------------------------------------------------------------- */
:root {
  /* Цвет */
  --bg:          #FBF8F4;
  --bg-alt:      #F3ECE2;
  --bg-deep:     #241D19;
  --surface:     #FFFFFF;
  --ink:         #2B2320;
  --ink-soft:    #6B5F55;
  --ink-faint:   #9C8E80;
  --line:        #E5DACB;
  --line-soft:   #EFE7DB;
  --gold:        #C29242;
  --gold-deep:   #A2762F;

  /* Шрифт */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Форма */
  --arch: 999px 999px 0 0;
  --r-card: 22px;
  --r-input: 12px;

  /* Ритм */
  --container: 1260px;
  --gutter:    clamp(20px, 5vw, 56px);
  --section:   clamp(76px, 9.5vw, 136px);

  --ease: cubic-bezier(.4, .16, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Сброс и база
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  /* clip, а не hidden: не создаёт скролл-контейнер и не ломает position:fixed.
     Нужен, чтобы закрытое мобильное меню не растягивало страницу вправо. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

p { margin: 0; text-wrap: pretty; }

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

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

/* Ссылка «к содержимому» для клавиатуры и скринридеров */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 12px; top: 12px; }

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

/* --------------------------------------------------------------------------
   3. Раскладка
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }

/* --------------------------------------------------------------------------
   4. Типографика
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.h-display { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.02; }
.h-section { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.h-card    { font-size: clamp(1.35rem, 2vw, 1.65rem); }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 20px; }

/* --------------------------------------------------------------------------
   5. Кнопки
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--gold-deep); }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   6. Шапка
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--bg-deep);
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 40px;
}
.topbar a { transition: color .25s var(--ease); }
.topbar a:hover { color: var(--gold); }
.topbar__note { display: flex; align-items: center; gap: 9px; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,244,.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(251,248,244,.96); }

.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 36px; height: auto; }
.brand__word { width: 100px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Затемнение под мобильным меню.
   Живёт вне медиазапроса и полностью управляется классом is-on:
   пока класса нет — элемент не виден и не ловит клики ни на каком экране. */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(30,24,20,.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.nav-backdrop.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .4s var(--ease), visibility 0s linear 0s;
}

.header__cta { display: flex; align-items: center; gap: 16px; }
.header__phone {
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.header__phone:hover { color: var(--gold-deep); }

/* Бургер */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
  padding: 0; position: relative;
  z-index: 101;
}
.burger span {
  position: absolute; left: 12px; width: 20px; height: 1.5px;
  background: var(--ink); transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Первый экран: кремовый холст, арка справа, печать-медальон
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
  min-height: min(84vh, 820px);
  padding-block: clamp(56px, 8vw, 104px);
}

.hero h1 { margin-bottom: 28px; }

.hero__text {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.3vw, 1.17rem);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 38px;
}

.hero__facts {
  display: flex; flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 52px);
  margin-top: clamp(38px, 4.5vw, 56px);
}
.hero__fact { padding-left: 18px; border-left: 1px solid var(--gold); }
.hero__fact b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; line-height: 1;
  color: var(--ink); margin-bottom: 7px;
}
.hero__fact span {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* Арка с фотографией */
.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 448px);
}
.hero__visual::before {
  /* золотой контур-арка, смещённый к верхнему левому углу */
  content: '';
  position: absolute;
  left: -18px; top: -18px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--arch);
  pointer-events: none;
}
.hero__arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }

/* Печать-медальон с каллиграфическим знаком */
.hero__seal {
  position: absolute;
  left: -34px; bottom: 34px;
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(43,35,32,.12);
}
.hero__seal img { width: 56px; height: auto; }

/* --------------------------------------------------------------------------
   8. Бегущая строка
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--bg-deep);
  color: rgba(255,255,255,.78);
  overflow: hidden;
  padding-block: 15px;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex; align-items: center;
  gap: 48px; padding-right: 48px;
  flex: none;
}
.ticker__group span {
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group i { font-style: normal; font-size: 11px; color: var(--gold); }

@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   9. Полоса преимуществ: без коробок, волосяные линии
   -------------------------------------------------------------------------- */
.marks { border-bottom: 1px solid var(--line-soft); }
.marks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.mark {
  padding: clamp(34px, 4vw, 56px) clamp(22px, 2.6vw, 38px);
  border-left: 1px solid var(--line-soft);
}
.mark:first-child { border-left: none; }
.mark__icon { color: var(--gold); margin-bottom: 20px; }
.mark h3 {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: .04em; line-height: 1.4;
  margin-bottom: 9px;
}
.mark p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* --------------------------------------------------------------------------
   10. О бренде
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}
.about__media {
  position: relative; isolation: isolate;
  margin: 0;
  justify-self: start;
  width: min(100%, 470px);
}
.about__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--arch);
}
.about__media::after {
  content: '';
  position: absolute; inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  border-radius: var(--arch);
  z-index: -1;
}
.about__quote {
  margin: 34px 0 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 400; line-height: 1;
  color: var(--gold-deep); margin-bottom: 8px;
}
.stat span {
  font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   11. Ассортимент: каталожный список вместо карточек
   -------------------------------------------------------------------------- */
.menu { border-top: 1px solid var(--line); }
.menu__row {
  display: grid;
  grid-template-columns: 64px 1fr 52px;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.menu__num {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: .08em;
  color: var(--ink-faint);
  transition: color .35s var(--ease);
}
.menu__name {
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  transition: color .35s var(--ease), transform .45s var(--ease);
}
.menu__desc {
  font-size: 14px; color: var(--ink-soft);
  margin-top: 6px; line-height: 1.55;
}
.menu__go {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-deep);
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), transform .45s var(--ease);
}
.menu__row:hover .menu__num { color: var(--gold-deep); }
.menu__row:hover .menu__name { color: var(--gold-deep); transform: translateX(8px); }
.menu__row:hover .menu__go,
.menu__row:focus-visible .menu__go {
  background: var(--gold); border-color: var(--gold);
  color: #fff; transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   12. Тёмный призыв с водяным знаком
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}
.cta__wm {
  position: absolute;
  right: max(-60px, -6vw); top: 50%;
  transform: translateY(-50%);
  width: min(44vw, 480px);
  opacity: .07;
  pointer-events: none;
}
.cta__in {
  position: relative;
  text-align: center; color: #fff;
  padding-block: clamp(76px, 10vw, 132px);
}
.cta__in .eyebrow { color: rgba(255,255,255,.66); }
.cta__in .eyebrow::before { background: var(--gold); }
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta p {
  color: rgba(255,255,255,.8);
  max-width: 54ch; margin: 0 auto 36px;
}
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   13. Доставка: шаги без коробок + партнёры
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
}
.step { position: relative; }
.step__n {
  position: relative; z-index: 1;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--gold-deep);
}
.step:not(:last-child)::before {
  /* волосяная линия от круга к следующему шагу */
  content: '';
  position: absolute; top: 27px; left: 66px; right: -18px;
  height: 1px; background: var(--line);
}
.step h3 {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  margin-bottom: 10px;
}
.step p { font-size: 14.5px; color: var(--ink-soft); }

.partners {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(38px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.partners__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center; margin-bottom: 28px;
}
.partners__row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(14px, 2.6vw, 32px);
}
.partner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: .03em;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.partner:hover { border-color: var(--gold); transform: translateY(-3px); }
.partner img { width: 30px; height: 30px; border-radius: 50%; }

/* --------------------------------------------------------------------------
   14. Магазин, контакты, форма
   -------------------------------------------------------------------------- */
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 84px);
}
.contact-list { display: grid; gap: 2px; margin-top: 8px; }
.contact {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact__ico { color: var(--gold); flex: none; margin-top: 3px; }
.contact__k {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 5px;
}
.contact__v { font-size: 16.5px; line-height: 1.5; }
.contact__v a { transition: color .25s var(--ease); }
.contact__v a:hover { color: var(--gold-deep); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.social:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Форма */
.form-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.form-card h3 { margin-bottom: 12px; }
.form-card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 30px; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 9px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
}
.field textarea { resize: vertical; min-height: 96px; }
.field__err {
  display: none;
  font-size: 12.5px; color: #B4443E; margin-top: 7px;
  letter-spacing: 0; text-transform: none; font-weight: 400;
}
.field.is-invalid input { border-color: #B4443E; }
.field.is-invalid .field__err { display: block; }

.form-card .btn { width: 100%; }
.form-note {
  font-size: 12.5px; line-height: 1.6;
  color: var(--ink-faint); margin-top: 16px; text-align: center;
}
.form-note a { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   15. Внутренние страницы и каталог
   -------------------------------------------------------------------------- */
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(52px, 7vw, 96px);
}
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 18px; }
.page-head p { color: var(--ink-soft); max-width: 58ch; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 24px;
}
.crumbs a { transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--gold-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.chip {
  padding: 11px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.product {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.product:hover { border-color: var(--gold); transform: translateY(-4px); }
.product__img {
  aspect-ratio: 3 / 4; width: 100%; object-fit: cover;
  background: var(--bg-alt);
}
.product__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1.4; }
.product__price {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.35rem; color: var(--gold-deep);
}
.product__stock { font-size: 12.5px; color: var(--ink-faint); }

.empty-state {
  text-align: center;
  max-width: 560px; margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.empty-state svg { color: var(--gold); margin: 0 auto 24px; }
.empty-state h2 { margin-bottom: 14px; }
.empty-state p { color: var(--ink-soft); margin-bottom: 30px; }
.empty-state .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   16. Подвал
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: rgba(255,255,255,.62);
  padding-block: clamp(56px, 6vw, 84px) 34px;
  font-size: 14.5px;
}
.footer__wm {
  position: absolute;
  right: -40px; bottom: -60px;
  width: min(38vw, 380px);
  opacity: .06;
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(38px, 4vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer__logo { width: 118px; margin-bottom: 20px; opacity: .9; }
.footer__about { max-width: 34ch; line-height: 1.7; }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { transition: color .25s var(--ease); }
.footer a:hover { color: var(--gold); }
.footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 26px;
  font-size: 13px; color: rgba(255,255,255,.42);
}

/* Плавающая кнопка WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37,211,102,.36);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* --------------------------------------------------------------------------
   17. Появление при скролле
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .marks__grid { grid-template-columns: repeat(2, 1fr); }
  .mark:nth-child(odd) { border-left: none; }
  .mark:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { justify-self: center; width: min(78vw, 384px); margin-top: 10px; }
  .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; justify-self: center; width: min(78vw, 420px); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step:not(:last-child)::before { display: none; }
}

@media (max-width: 820px) {
  /* ВАЖНО: backdrop-filter делает .header containing block для любого
     position:fixed внутри неё — выдвижное меню начало позиционироваться
     относительно полоски шапки, а не экрана. На мобильном размытие снимаем
     и делаем шапку плотной. */
  .header, .header.is-stuck {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }

  .header__in { min-height: 64px; }
  .header__phone { display: none; }
  .burger { display: block; }

  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(84vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 92px 30px 30px;
    background: var(--bg);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    /* visibility убирает закрытое меню из таб-порядка: иначе ссылки
       остаются фокусируемыми, хотя их не видно.
       Переключаем мгновенно при открытии и с задержкой при закрытии —
       иначе меню «уезжает» уже невидимым. */
    visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
    overflow-y: auto;
    z-index: 100;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform .45s var(--ease), visibility 0s linear 0s;
  }
  .nav a { font-size: 15px; padding-block: 15px; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  .topbar__note { display: none; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; }

  .menu__row { grid-template-columns: 40px 1fr; }
  .menu__go { display: none; }

  .hero__seal { left: -12px; width: 92px; height: 92px; }
  .hero__seal img { width: 48px; }
}

@media (max-width: 520px) {
  .marks__grid { grid-template-columns: 1fr; }
  .mark { border-left: none; border-top: 1px solid var(--line-soft); }
  .mark:first-child { border-top: none; }

  /* Растягиваем только контентные кнопки. Кнопку в шапке — не трогаем,
     иначе она разносит хедер. */
  .hero .btn, .cta .btn, .empty-state .btn { width: 100%; }
  .hero .btn-row, .cta .btn-row, .empty-state .btn-row { flex-direction: column; }
  .header__cta .btn { padding: 12px 20px; font-size: 11px; }
  .partner { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   19. Уважение к настройкам пользователя
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .wa-float, .ticker, .cta, .burger { display: none !important; }
  body { background: #fff; color: #000; }
}
