/* ============ ПЕРЕМЕННЫЕ / БРЕНД ============
   ЗАМЕНИТЬ цвета под фирстиль EMZE при необходимости */
:root {
  --bg:        #faf8f5;   /* тёплый светлый фон */
  --bg-alt:    #f1ede7;
  --ink:       #1c1a18;   /* почти чёрный текст */
  --ink-soft:  #6b645c;
  --line:      #e3ddd4;
  --gold:      #b08d57;   /* акцент — тёплое золото */
  --wb:        #cb11ab;   /* фирменный Wildberries */
  --ozon:      #005bff;   /* фирменный Ozon */
  --white:     #ffffff;
  --radius:    14px;
  --shadow:    0 10px 40px rgba(28,26,24,.08);
  --shadow-sm: 0 4px 16px rgba(28,26,24,.06);
  --maxw:      1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* страховка от горизонтального скролла на мобильном */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; font-weight: 600; overflow-wrap: break-word; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 9px 18px; font-size: 14px; }

.btn--wb   { background: var(--wb);   color: #fff; box-shadow: 0 6px 18px rgba(203,17,171,.28); }
.btn--ozon { background: var(--ozon); color: #fff; box-shadow: 0 6px 18px rgba(0,91,255,.25); }
.btn--dark { background: var(--ink);  color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ============ ШАПКА ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,245,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .22em;
}
.logo__sub { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.nav { display: flex; gap: 30px; }
.nav__link { font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav__link:hover { color: var(--ink); }

.header__cta { display: flex; gap: 10px; }

.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ============ ГЕРО ============ */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__text { font-size: 18px; color: var(--ink-soft); max-width: 460px; margin-bottom: 32px; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__trust { display: flex; gap: 34px; flex-wrap: wrap; }
.trust__item { display: flex; flex-direction: column; }
.trust__item strong { font-size: 22px; font-weight: 700; }
.trust__item span { font-size: 13px; color: var(--ink-soft); }

.hero__media { position: relative; }
.hero__badge {
  position: absolute;
  bottom: 22px;
  left: -14px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ============ ПЛЕЙСХОЛДЕРЫ ФОТО ============ */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(176,141,87,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #ece6dd, #f6f2ec);
  border: 1px dashed #cbb994;
  border-radius: var(--radius);
  color: #b3a48a;
}
.ph__hint { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.ph--hero { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.ph--card { aspect-ratio: 4 / 5; border-radius: 0; }

/* ============ РЕАЛЬНЫЕ ФОТО ============ */
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Инфографики качества */
.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}
.showcase__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.showcase__item img { width: 100%; height: 100%; object-fit: contain; }

/* ============ ПЛАШКА ДОВЕРИЯ ============ */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.logos__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-soft);
}
.logos__row { display: flex; align-items: center; gap: 16px; }
.logos__name { font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.logos__dot { color: var(--gold); }

/* ============ СЕКЦИИ ============ */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
}
.section__lead { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }
.section__lead em { color: var(--gold); font-style: normal; }
.section__foot { text-align: center; margin-top: 48px; }

/* ============ КАТАЛОГ ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 21px; margin-bottom: 6px; }
.card__desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card__price { font-weight: 700; font-size: 17px; }
.card__rating { font-size: 14px; color: var(--gold); font-weight: 600; }
.card__actions { display: flex; gap: 8px; }
.card__actions .btn { flex: 1; }

/* ============ ПРЕИМУЩЕСТВА ============ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.feature__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border-radius: 12px;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 18px;
}
.feature__title { font-size: 19px; margin-bottom: 8px; }
.feature__text { font-size: 14px; color: var(--ink-soft); }

/* ============ ШАГИ ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 0 12px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}
.step__title { font-size: 20px; margin-bottom: 8px; }
.step__text { color: var(--ink-soft); font-size: 15px; }

/* ============ ОТЗЫВЫ ============ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote { font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
.review figcaption { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ============ ПРОМО / СБОР EMAIL ============ */
.promo { background: var(--ink); color: #fff; padding: 70px 0; }
.promo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.promo__title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 12px; }
.promo__text { color: rgba(255,255,255,.7); font-size: 17px; }
.promo__form { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.promo__input {
  flex: 1;
  min-width: 220px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
}
.promo__input::placeholder { color: rgba(255,255,255,.5); }
.promo__input:focus { outline: none; border-color: var(--gold); }
.promo__note { width: 100%; font-size: 14px; color: var(--gold); min-height: 20px; margin-top: 4px; }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--gold); font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; color: var(--ink-soft); }

/* ============ ФИНАЛЬНЫЙ CTA ============ */
.cta { padding: 90px 0; text-align: center; }
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta__title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 14px; }
.cta__text { color: var(--ink-soft); font-size: 18px; margin-bottom: 30px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ ФУТЕР ============ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand p { color: var(--ink-soft); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer__col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer__col a { display: block; color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
}

/* ============ COOKIE-УВЕДОМЛЕНИЕ ============ */
.cookie {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 70;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie.is-visible { opacity: 1; transform: translateY(0); }
.cookie__text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.cookie__text a { color: var(--gold); text-decoration: underline; }

/* ============ ЛИПКАЯ НИЖНЯЯ ПАНЕЛЬ ============ */
.mobile-cta { display: none; }

/* ============ АДАПТИВ ============ */
@media (max-width: 980px) {
  .grid, .features { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  /* Геро по центру — аккуратнее на мобильном */
  .hero__content { text-align: center; }
  .hero__media { max-width: 420px; margin: 0 auto; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .promo__inner { grid-template-columns: 1fr; text-align: center; }
  .promo__form { justify-content: center; }
  .promo__form .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .header.menu-open .nav {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .reviews, .steps, .showcase { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 60px; }

  /* Липкая нижняя панель с CTA на маркетплейсы */
  .mobile-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); /* зона жестов iPhone */
    background: rgba(250, 248, 245, .92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(28, 26, 24, .08);
  }
  .mobile-cta .btn { flex: 1; padding: 14px 10px; }
  /* чтобы панель не перекрывала низ страницы */
  body { padding-bottom: 78px; }

  /* cookie-баннер — на всю ширину, над липкой панелью */
  .cookie {
    left: 10px; right: 10px; bottom: 88px;
    max-width: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
  }
  .cookie .btn { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .grid, .features, .footer__inner { grid-template-columns: 1fr; }
  .hero__trust { gap: 22px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}
