/* ==========================================================
   ZAHAB — сок пустынного трюфеля
   Мотивы оформления (см. README):
   · саду — бедуинское ткачество Неджда (ленты-разделители)
   · гирих — восьмиконечная звезда (фон тёмных секций)
   · трещины в песке — признак кам'а (заставка, разделители)
   · капля сока — форма логотипа и маркеров
   ========================================================== */

:root{
  --ink:      #0d0a07;   /* ночь пустыни */
  --ink-2:    #17110c;
  --ink-3:    #211710;
  --sand:     #f4ead9;   /* светлый песок */
  --sand-2:   #e6d5bd;
  --sand-3:   #cdb694;
  --gold:     #d9a441;   /* захаб — золото */
  --gold-l:   #f0ce7e;
  --gold-d:   #8a5a22;
  --clay:     #c2703d;   /* песок Нефуд */
  --sadu:     #8c2f1e;   /* бордо бедуинского ткачества */
  --green:    #24503f;
  --text:     #221a13;
  --muted:    #6f6153;

  --wrap: 1220px;
  --r: 18px;
  --shadow: 0 24px 60px rgba(13,10,7,.16);
  --shadow-d: 0 30px 80px rgba(0,0,0,.45);

  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --arab: 'Amiri', 'Traditional Arabic', serif;
}

*,*::before,*::after{ box-sizing: border-box }

/* Модальные окна лежат в разметке с атрибутом hidden, но у них задан display:flex —
   без этого правила они остаются растянутыми на весь экран и съедают все касания. */
[hidden]{ display: none !important }

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto } }

body{
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  overflow-x: hidden;
}

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

h1,h2,h3{ font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0 }
h1{ font-size: clamp(38px, 7.4vw, 76px); letter-spacing: -.01em }
h2{ font-size: clamp(30px, 5.2vw, 52px) }
h3{ font-size: clamp(21px, 2.6vw, 28px) }
p{ margin: 0 0 1em }

.wrap{ width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px }

/* ---------- узоры ---------- */
/* саду: лента бедуинского ткачества — ромбы и зигзаг */
.sadu-strip{
  height: 22px;
  background-color: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 11 11 0l11 11-11 11z' fill='%238c2f1e'/%3E%3Cpath d='M22 11 33 0l11 11-11 11z' fill='%23d9a441'/%3E%3Cpath d='M11 11 22 0v22z' fill='%23f4ead9' opacity='.85'/%3E%3Cpath d='M33 11 44 0v22z' fill='%23f4ead9' opacity='.5'/%3E%3C/svg%3E");
  background-size: auto 100%;
  background-repeat: repeat-x;
  opacity: .92;
}
.sadu-strip--top{ position: absolute; top: 0; left: 0; right: 0 }

/* гирих: восьмиконечная звезда */
.girih{
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23d9a441' stroke-width='1'%3E%3Cpath d='M140%2080%20103.1%2089.6%20122.4%20122.4%2089.6%20103.1%2080%20140%2070.4%20103.1%2037.6%20122.4%2056.9%2089.6%2020%2080%2056.9%2070.4%2037.6%2037.6%2070.4%2056.9%2080%2020%2089.6%2056.9%20122.4%2037.6%20103.1%2070.4Z'/%3E%3Crect x='45' y='45' width='70' height='70'/%3E%3Crect x='45' y='45' width='70' height='70' transform='rotate(45 80 80)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 170px 170px;
  opacity: .09;
}
.girih--soft{ opacity: .06 }

/* арка: форма ниши, по ней обрезаны фотографии */
.arch{
  margin: 0;
  -webkit-clip-path: url(#archClip);
  clip-path: url(#archClip);
  overflow: hidden;
}
/* запасной вариант, если clip-path по ссылке недоступен */
@supports not (clip-path: url(#archClip)){
  .arch{ border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px }
}

/* ---------- служебное ---------- */
.eyebrow{
  font: 600 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--clay); margin: 0 0 14px;
}
.section--dark .eyebrow{ color: var(--gold) }

.kicker{
  font: 500 13px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-l); margin: 0 0 18px;
}

.reveal{ opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1) }
.reveal.in{ opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity: 1; transform: none; transition: none } }

.btn{
  --bg: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease, color .3s ease;
  will-change: transform;
}
.btn svg{ width: 19px; height: 19px; flex: none }
.btn--gold{
  background: linear-gradient(135deg, var(--gold-l), var(--gold) 45%, var(--gold-d));
  color: #26170a; box-shadow: 0 14px 34px rgba(217,164,65,.34);
}
.btn--gold:hover{ transform: translateY(-3px); box-shadow: 0 20px 46px rgba(217,164,65,.46) }
.btn--ghost{
  background: transparent; color: currentColor;
  border: 1px solid currentColor;
}
.btn--ghost:hover{ transform: translateY(-3px); background: rgba(217,164,65,.12) }
.btn--wa{ background: #1faa54; color: #fff; box-shadow: 0 14px 30px rgba(31,170,84,.3) }
.btn--wa:hover{ transform: translateY(-3px) }
.btn--tg{ background: #2f9bd8; color: #fff; box-shadow: 0 14px 30px rgba(47,155,216,.3) }
.btn--tg:hover{ transform: translateY(-3px) }
.btn--wide{ width: 100%; justify-content: center }
.btn span i{ display: block; margin-top: 3px; font: 500 12px/1.2 var(--sans); font-style: normal; opacity: .85 }

/* ==========================================================
   ШАПКА
   ========================================================== */
.header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 14px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.header.is-stuck{
  background: rgba(13,10,7,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,.34);
  padding: 8px 0;
}
.header__row{ display: flex; align-items: center; gap: 24px }

.logo{ display: flex; align-items: center; gap: 12px; color: var(--gold-l); flex: none }
.logo__mark{ width: 38px; height: 38px; object-fit: contain }
.logo__text{ display: flex; flex-direction: column; line-height: 1 }
.logo__text b{ font: 700 20px/1 var(--serif); letter-spacing: .26em; color: var(--sand) }
.logo__text i{ font: 500 10px/1.4 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,234,217,.55); margin-top: 4px }

.nav{ display: flex; gap: 26px; margin-left: auto }
.nav a{
  position: relative; font: 500 14px/1 var(--sans); color: rgba(244,234,217,.78);
  padding: 6px 0; transition: color .3s ease;
}
.nav a::after{
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .35s cubic-bezier(.2,.8,.2,1);
}
.nav a:hover{ color: var(--sand) }
.nav a:hover::after{ right: 0 }

.header__actions{ display: flex; align-items: center; gap: 10px; margin-left: 8px }

.cart-btn{
  position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(244,234,217,.08); border: 1px solid rgba(244,234,217,.18);
  color: var(--sand); display: grid; place-items: center;
  transition: background .3s ease, transform .3s ease;
}
.cart-btn:hover{ background: rgba(217,164,65,.24); transform: translateY(-2px) }
.cart-btn svg{ width: 21px; height: 21px }
.cart-btn__count{
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: #26170a;
  font: 700 11px/20px var(--sans); text-align: center;
  transform: scale(0); transition: transform .3s cubic-bezier(.2,1.4,.4,1);
}
.cart-btn__count.on{ transform: scale(1) }

.burger{
  display: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(244,234,217,.08); border: 1px solid rgba(244,234,217,.18);
  padding: 0; align-items: center; justify-content: center; gap: 5px; flex-direction: column;
}
.burger span{ display: block; width: 18px; height: 1.6px; background: var(--sand); border-radius: 2px; transition: transform .35s ease, opacity .25s ease }
.burger.on span:nth-child(1){ transform: translateY(6.6px) rotate(45deg) }
.burger.on span:nth-child(2){ opacity: 0 }
.burger.on span:nth-child(3){ transform: translateY(-6.6px) rotate(-45deg) }

/* мобильное меню */
.mobile-menu{
  position: fixed; inset: 0; z-index: 890;
  background: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23d9a441' stroke-width='1' opacity='.30'%3E%3Cpath d='M140%2080%20103.1%2089.6%20122.4%20122.4%2089.6%20103.1%2080%20140%2070.4%20103.1%2037.6%20122.4%2056.9%2089.6%2020%2080%2056.9%2070.4%2037.6%2037.6%2070.4%2056.9%2080%2020%2089.6%2056.9%20122.4%2037.6%20103.1%2070.4Z'/%3E%3Crect x='45' y='45' width='70' height='70' transform='rotate(45 80 80)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 132px 132px;
  padding: calc(88px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-14px); transition: opacity .4s ease, transform .4s ease;
  overflow-y: auto;
}
.mobile-menu.on{ opacity: 1; transform: none }
.mobile-menu nav{ display: flex; flex-direction: column }
.mobile-menu nav a{
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid rgba(244,234,217,.10);
  font: 600 clamp(21px, 6vw, 30px)/1.1 var(--serif); color: var(--sand);
  opacity: 0; transform: translateX(-18px);
}
.mobile-menu.on nav a{ animation: mmIn .5s cubic-bezier(.2,.8,.2,1) forwards }
.mobile-menu nav a span{ font: 600 11px/1 var(--sans); letter-spacing: .18em; color: var(--gold) }
@keyframes mmIn{ to{ opacity: 1; transform: none } }
.mobile-menu__foot{ display: flex; gap: 10px; padding-top: 22px }
.mobile-menu__foot .btn{
  flex: 1 1 0; justify-content: center; padding: 15px 14px;
  opacity: 0; transform: translateY(10px);
}
.mobile-menu.on .mobile-menu__foot .btn{ animation: mmIn .5s cubic-bezier(.2,.8,.2,1) .45s forwards }

/* ==========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================== */
.hero{
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(110px + env(safe-area-inset-top)) 0 90px;
  background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__bg{ position: absolute; inset: 0; z-index: -3 }
.hero__bg img{
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 45%;
  transform: scale(1.12); opacity: 0;
  transition: transform 1.8s cubic-bezier(.2,.8,.2,1), opacity 1.2s ease;
}
.hero.ready .hero__bg img{ transform: scale(1); opacity: .62 }
.hero::after{
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(13,10,7,.92) 0%, rgba(13,10,7,.55) 30%, rgba(13,10,7,.75) 70%, var(--ink) 100%),
    radial-gradient(70% 60% at 20% 40%, rgba(13,10,7,.2), rgba(13,10,7,.85));
}
.hero__grain{
  position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__dust{ position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none }

.hero__inner{
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  position: relative; z-index: 2;
}
.hero__text{ color: var(--sand) }
.hero h1{ color: var(--sand); margin-bottom: 22px }
.hero h1 .accent{
  background: linear-gradient(100deg, var(--gold-l), var(--gold) 40%, var(--clay));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead{ max-width: 52ch; color: rgba(244,234,217,.8); font-size: 17px }
.hero__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px }
.hero__cta .btn--ghost{ color: var(--sand) }

.hero__facts{ list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0; padding: 0 }
.hero__facts li{ position: relative; padding-left: 16px }
.hero__facts li::before{
  content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 9px;
  background: var(--gold); border-radius: 0 0 50% 50% / 0 0 60% 60%;
  transform: rotate(180deg);
}
.hero__facts b{ display: block; font: 700 25px/1.1 var(--serif); color: var(--gold-l) }
.hero__facts span{ font-size: 13px; color: rgba(244,234,217,.6) }

.hero__card{
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(240,206,126,.28);
  box-shadow: var(--shadow-d);
  transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.hero__card img{ width: 100%; aspect-ratio: 4/5; object-fit: cover }
.hero__cardGlow{
  position: absolute; inset: -40%; z-index: 2; pointer-events: none;
  background: radial-gradient(35% 35% at var(--mx,50%) var(--my,30%), rgba(240,206,126,.35), transparent 70%);
  mix-blend-mode: screen; transition: opacity .4s ease;
}
.hero__price{
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  padding: 12px 18px; border-radius: 16px;
  background: rgba(13,10,7,.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(240,206,126,.3);
}
.hero__price b{ display: block; font: 700 24px/1 var(--serif); color: var(--gold-l) }
.hero__price i{ font-style: normal; font-size: 12px; color: rgba(244,234,217,.66) }

/* содержимое первого экрана въезжает сразу после ухода заставки —
   получается один непрерывный переход, а не «моргание» */
html.js .hero__text > *,
html.js .hero__card{ opacity: 0; transform: translateY(28px) }
.hero.ready .hero__text > *{ animation: heroIn .9s cubic-bezier(.2,.8,.2,1) forwards }
.hero.ready .hero__text > *:nth-child(1){ animation-delay: .10s }
.hero.ready .hero__text > *:nth-child(2){ animation-delay: .18s }
.hero.ready .hero__text > *:nth-child(3){ animation-delay: .26s }
.hero.ready .hero__text > *:nth-child(4){ animation-delay: .34s }
.hero.ready .hero__text > *:nth-child(5){ animation-delay: .42s }
.hero.ready .hero__card{ animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) .3s forwards }
@keyframes heroIn{
  0%  { opacity: 0; transform: translateY(28px) }
  100%{ opacity: 1; transform: translateY(0) }
}
@media (prefers-reduced-motion: reduce){
  html.js .hero__text > *, html.js .hero__card{ opacity: 1; transform: none }
}

.hero__scroll{
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1px solid rgba(244,234,217,.32); border-radius: 999px;
}
.hero__scroll span{
  position: absolute; left: 50%; top: 9px; width: 3px; height: 7px; margin-left: -1.5px;
  background: var(--gold-l); border-radius: 2px; animation: scrollDot 1.9s ease-in-out infinite;
}
@keyframes scrollDot{ 0%,100%{ transform: translateY(0); opacity: 1 } 60%{ transform: translateY(15px); opacity: .2 } }

/* ==========================================================
   ХАДИС
   ========================================================== */
.hadith{
  position: relative; background: var(--ink-2); color: var(--sand);
  padding: 84px 0 0; overflow: hidden; text-align: center;
}
.hadith__inner{ position: relative; z-index: 2; max-width: 860px; padding-bottom: 76px }
.hadith__ar{
  font: 400 clamp(26px, 5.6vw, 46px)/1.9 var(--arab); color: var(--gold-l);
  margin: 0 0 26px; direction: rtl;
}
.hadith__tr{ font: 600 clamp(19px, 2.6vw, 26px)/1.5 var(--serif); color: var(--sand); margin-bottom: 12px }
.hadith__src{ font-size: 13px; letter-spacing: .08em; color: rgba(244,234,217,.5); margin-bottom: 26px }
.hadith__kicker{ font: 600 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px }
.hadith__intro{ max-width: 52ch; margin: 0 auto 26px; color: rgba(244,234,217,.78); font-size: 16px }
.hadith__ar--ayah{ font-size: clamp(22px, 3.2vw, 32px) !important; line-height: 1.9 !important }
.hadith__sep{ width: 120px; height: 1px; margin: 6px auto 30px; background: linear-gradient(90deg, transparent, var(--gold), transparent) }
.hadith__lead{ font: 600 clamp(16px, 2vw, 19px)/1.5 var(--serif); color: rgba(244,234,217,.8); margin: 0 0 14px }
.hadith__note{ max-width: 46ch; margin: 0 auto; color: rgba(244,234,217,.72); font-size: 15px }

/* ==========================================================
   СЕКЦИИ
   ========================================================== */
.section{ position: relative; padding: 96px 0; overflow: hidden }
.section--dark{ background: var(--ink); color: var(--sand) }
.section--dark h2{ color: var(--sand) }
.section--sand{ background: linear-gradient(180deg, var(--sand-2), var(--sand)) }
.section__head{ max-width: 780px; margin-bottom: 52px }
.section__lead{ color: var(--muted); font-size: 17px; margin: 18px 0 0 }
.section--dark .section__lead{ color: rgba(244,234,217,.66) }
.section > .wrap{ position: relative; z-index: 2 }

/* --- о кам'а --- */
.about__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 72px }
.about__card{
  position: relative; padding: 30px 26px 28px; border-radius: var(--r);
  background: #fff; border: 1px solid rgba(196,152,86,.24);
  box-shadow: 0 14px 40px rgba(93,64,32,.07);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.about__card:hover{ transform: translateY(-8px); box-shadow: 0 26px 60px rgba(93,64,32,.16) }
.about__card svg{ width: 40px; height: 40px; color: var(--clay); margin-bottom: 18px }
.about__card h3{ font-size: 22px; margin-bottom: 10px }
.about__card p{ margin: 0; font-size: 15px; color: var(--muted) }

.about__composition{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 42px; border-radius: 26px;
  background: linear-gradient(140deg, #fffaf2, #f0e2cc);
  border: 1px solid rgba(196,152,86,.3);
}
.about__compPhoto{ aspect-ratio: 4/5 }
.about__compPhoto img{ width: 100%; height: 100%; object-fit: cover }
.chips{ list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0 }
.chips li{
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(36,80,63,.09); color: var(--green); border: 1px solid rgba(36,80,63,.18);
}

/* --- показания --- */
.cond__grid{
  list-style: none; margin: 0 0 26px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 12px;
}
.cond__grid li{
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(244,234,217,.05); border: 1px solid rgba(244,234,217,.10);
  font-size: 15px; opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), background .3s ease, border-color .3s ease;
}
.cond__grid li.in{ opacity: 1; transform: none }
.cond__grid li:hover{ background: rgba(217,164,65,.1); border-color: rgba(217,164,65,.34) }
.cond__grid i{
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(217,164,65,.16); color: var(--gold-l);
  font: 700 11px/1 var(--sans); font-style: normal;
}
.cond__exception{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(140,47,30,.18); border: 1px solid rgba(140,47,30,.44); color: #f0b8a8;
}
.cond__terms{ display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 34px 0 0 }
.cond__term{
  padding: 22px 24px; border-radius: 16px;
  background: rgba(244,234,217,.04); border-left: 2px solid var(--gold);
}
.cond__term b{ display: block; font: 600 16px/1.3 var(--sans); color: var(--gold-l); margin-bottom: 6px }
.cond__term span{ font-size: 14px; color: rgba(244,234,217,.62) }

.notice{
  display: flex; gap: 16px; align-items: flex-start; margin-top: 40px;
  padding: 24px 26px; border-radius: 16px;
  background: rgba(140,47,30,.12); border: 1px solid rgba(240,184,168,.28);
}
.notice svg{ width: 26px; height: 26px; flex: none; color: #f0b8a8; margin-top: 2px }
.notice p{ margin: 0; font-size: 15px; color: rgba(244,234,217,.86) }

/* --- путь от пустыни --- */
.proc{ display: grid; gap: 26px }
.proc__step{
  display: grid; grid-template-columns: 84px 1fr 1fr; gap: 34px; align-items: center;
  padding: 24px; border-radius: 24px; background: #fff;
  border: 1px solid rgba(196,152,86,.22); box-shadow: 0 16px 44px rgba(93,64,32,.08);
}
.proc__step:nth-child(even){ background: linear-gradient(120deg,#fffaf2,#f4e7d2) }
/* в зеркальных карточках медиа уезжает в первую колонку — она узкая,
   поэтому для них переставляем и колонки, и порядок элементов */
.proc__step:nth-child(even){ grid-template-columns: 1fr 1fr 84px }
.proc__step:nth-child(even) .proc__media{ order: -1 }
.proc__step:nth-child(even) .proc__num{ order: 3; text-align: right }
.proc__num{
  font: 700 46px/1 var(--serif); color: transparent;
  -webkit-text-stroke: 1px var(--clay); opacity: .85;
}
.proc__body h3{ margin-bottom: 10px }
.proc__body p{ margin: 0; color: var(--muted); font-size: 15px }
.proc__media{
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/11; background: var(--ink-2);
}
.proc__media video,.proc__media img{ width: 100%; height: 100%; object-fit: cover }
.proc__media::after{
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(13,10,7,.4);
}
.proc__play{
  position: absolute; z-index: 2; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid rgba(244,234,217,.3); cursor: pointer;
  background: rgba(13,10,7,.6); color: var(--sand); font: 600 12px/1 var(--sans);
  backdrop-filter: blur(8px);
}
.proc__story{
  margin-top: 34px; padding: 34px 38px; border-radius: 22px;
  background: var(--ink); color: var(--sand);
  border-left: 3px solid var(--gold);
}
.proc__story h3{ color: var(--gold-l); margin-bottom: 12px }
.proc__story p{ margin: 0; color: rgba(244,234,217,.78); font-size: 16px }

/* --- инструкция --- */
.steps{ list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px }
.steps li{
  position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start;
  padding: 26px 28px; border-radius: 18px; background: rgba(255,255,255,.72);
  border: 1px solid rgba(196,152,86,.28); backdrop-filter: blur(4px);
}
.steps b{
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-l), var(--gold-d));
  color: #26170a; font: 700 21px/1 var(--serif);
  box-shadow: 0 10px 24px rgba(217,164,65,.34);
}
.steps h3{ font-size: 21px; margin-bottom: 6px }
.steps p{ margin: 0; color: var(--muted); font-size: 15px }

.usage__reaction{
  margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.usage__box{ padding: 26px 28px; border-radius: 18px; background: rgba(36,80,63,.08); border: 1px solid rgba(36,80,63,.2) }
.usage__box h3{ font-size: 20px; color: var(--green); margin-bottom: 10px }
.usage__box p{ margin: 0; font-size: 15px; color: #3d4f45 }
.usage__box--warn{ background: rgba(140,47,30,.08); border-color: rgba(140,47,30,.26) }
.usage__box--warn h3{ color: var(--sadu) }
.usage__box--warn p{ color: #6b4136 }

/* --- магазин --- */
.shop__grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 22px }
.card{
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: rgba(244,234,217,.05);
  border: 1px solid rgba(244,234,217,.12);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .45s ease;
}
.card:hover{ transform: translateY(-8px); border-color: rgba(217,164,65,.5); box-shadow: 0 30px 70px rgba(0,0,0,.42) }
.card__pic{ position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink-2) }
.card__pic img{ width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1) }
.card:hover .card__pic img{ transform: scale(1.06) }
.card__badge{
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 7px 13px; border-radius: 999px; font: 600 11px/1 var(--sans);
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(13,10,7,.7); color: var(--gold-l); border: 1px solid rgba(240,206,126,.36);
  backdrop-filter: blur(6px);
}
.card__body{ padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.card__body h3{ font-size: 24px }
.card__sub{ font-size: 14px; color: rgba(244,234,217,.6); margin: 0 }
.card__note{ font-size: 13px; color: var(--gold); margin: 0 }
.card__foot{ display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px }
.card__price{ font: 700 27px/1 var(--serif); color: var(--gold-l) }
.card__add{
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; cursor: pointer;
  border: 0; background: linear-gradient(135deg, var(--gold-l), var(--gold) 50%, var(--gold-d)); color: #26170a;
  font: 600 14px/1 var(--sans); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.card__add:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217,164,65,.4) }
.card__add.added{ background: #1faa54; color: #fff }
.card__qty{ display: inline-flex; align-items: center; gap: 4px }
.card__qty button{
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(244,234,217,.24); background: rgba(244,234,217,.06); color: var(--sand);
  font-size: 18px; line-height: 1; display: grid; place-items: center;
}
.card__qty span{ min-width: 26px; text-align: center; font-weight: 700 }

.extras{
  margin-top: 34px; padding: 30px 32px; border-radius: 20px;
  background: rgba(244,234,217,.04); border: 1px dashed rgba(244,234,217,.2);
}
.extras h3{ color: var(--sand); margin-bottom: 8px }
.extras > p{ color: rgba(244,234,217,.6); font-size: 15px }
.extras__list{ list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px }
.extras__list li{ padding: 16px 18px; border-radius: 14px; background: rgba(244,234,217,.05) }
.extras__list b{ display: block; font-size: 16px; color: var(--gold-l); margin-bottom: 4px }
.extras__list span{ font-size: 13px; color: rgba(244,234,217,.6) }

/* --- отзывы: ровно три карточки в ряд, лента не вылезает за колонку --- */
.rev{ overflow: hidden; padding: 6px 0 10px }
.rev__track{
  display: grid; grid-auto-flow: column; gap: 20px;
  grid-auto-columns: calc((100% - 40px) / 3);
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 4px 20px 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; scroll-padding-left: 20px;
}
.rev__track::-webkit-scrollbar{ display: none }
.rev__item{
  scroll-snap-align: start;
  padding: 30px 28px; border-radius: 22px; background: #fff;
  border: 1px solid rgba(196,152,86,.24); box-shadow: 0 16px 44px rgba(93,64,32,.09);
  display: flex; flex-direction: column;
}
.rev__quote{ font-size: 46px; line-height: 1; color: var(--gold); font-family: var(--serif); margin-bottom: 10px }
.rev__text{ font-size: 16px; color: #3a3027; margin: 0 0 18px }
.rev__author{ margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(196,152,86,.2) }
.rev__ava{
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-l), var(--clay)); color: #fff;
  font: 700 16px/1 var(--serif);
}
.rev__author b{ display: block; font: 600 15px/1.2 var(--sans) }
.rev__author span{ font-size: 12px; color: var(--muted) }
.rev__nav{ display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px }
.rev__arrow{
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(93,64,32,.28); color: var(--text);
  transition: background .3s ease, transform .3s ease;
}
.rev__arrow:hover{ background: rgba(217,164,65,.18); transform: translateY(-2px) }
.rev__arrow svg{ width: 20px; height: 20px }
.rev__arrow[disabled]{ opacity: .3; cursor: default; transform: none; background: transparent }
/* разделы-болезни над отзывами */
.rev__tabs{ display: flex; flex-wrap: wrap; gap: 10px; margin: -6px 0 26px }
.rev__tab{
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid rgba(93,64,32,.22); background: #fff; cursor: pointer;
  font: 600 15px/1.2 var(--sans); color: var(--text); transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.rev__tab i{ font-style: normal; font-size: 12px; color: var(--muted); padding: 2px 7px; border-radius: 999px; background: rgba(217,164,65,.14) }
.rev__tab:hover{ border-color: var(--gold) }
.rev__tab.on{ background: var(--ink); color: var(--sand); border-color: var(--ink) }
.rev__tab.on i{ background: rgba(217,164,65,.28); color: var(--gold-l) }
.rev__group{ font: 700 clamp(26px, 4vw, 36px)/1.1 var(--serif); margin: 0 0 18px; color: var(--text) }
.rev__tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px }
.rev__tags span{ font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; background: rgba(217,164,65,.16); color: var(--gold-d) }
.rev__voice{ margin-bottom: 14px }
.rev__voice b{ display: block; font: 600 13px/1 var(--sans); color: var(--muted); margin-bottom: 8px }
.rev__voice audio{ width: 100%; height: 40px }
.rev__text--voice::before{ content: 'Расшифровка: '; font-weight: 600; color: var(--muted) }
.rev__count{ font: 600 14px/1 var(--sans); color: var(--muted); letter-spacing: .06em; min-width: 64px; text-align: center }
.rev__dots{ display: flex; gap: 7px }
.rev__dots i{
  width: 7px; height: 7px; border-radius: 50%; background: rgba(93,64,32,.25);
  cursor: pointer; transition: width .3s ease, background .3s ease;
}
.rev__dots i.on{ width: 22px; border-radius: 4px; background: var(--gold) }
.rev__hint{
  display: none; text-align: center; margin: 14px 0 0;
  font: 500 13px/1 var(--sans); color: var(--muted);
}

/* --- производитель --- */
#maker{ position: relative; overflow: hidden }
.maker{ position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center }
.maker__text p{ color: rgba(244,234,217,.82) }
#maker .section__lead{ margin-bottom: 22px; color: var(--gold-l) }
#makerBody p{ margin: 0 0 14px; font-size: 16.5px; line-height: 1.7 }
.maker__facts{ list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 14px }
.maker__facts li{ flex: 1 1 200px; padding: 16px 18px; border: 1px solid rgba(217,164,65,.3); border-radius: 14px }
.maker__facts b{ display: block; font: 700 26px/1 var(--serif); color: var(--gold-l); margin-bottom: 6px }
.maker__facts span{ font-size: 13.5px; color: rgba(244,234,217,.7) }
.maker__photo{ margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 70px rgba(0,0,0,.45) }
.maker__photo img{ width: 100%; height: 100%; object-fit: cover }

/* --- сертификаты: сканы как белые листы, в том виде, в каком выданы --- */
.certs{ display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 22px }
.cert__facts{ list-style: none; padding: 0; margin: -6px 0 30px; display: flex; flex-wrap: wrap; gap: 10px }
.cert__facts li{
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(196,152,86,.3); font: 600 14px/1.2 var(--sans); color: var(--text);
}
.cert__facts li::before{ content: '✓'; color: var(--gold-d); font-weight: 700 }
.cert{ margin: 0; cursor: pointer; outline: none }
.cert__sheet{
  position: relative; aspect-ratio: 210/297; background: #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(93,64,32,.08), 0 14px 34px rgba(93,64,32,.16);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.cert__sheet img{ width: 100%; height: 100%; object-fit: contain; background: #fff }
.cert:hover .cert__sheet,
.cert:focus-visible .cert__sheet{ transform: translateY(-6px); box-shadow: 0 1px 0 rgba(93,64,32,.08), 0 24px 48px rgba(93,64,32,.24) }
.cert:focus-visible .cert__sheet{ outline: 2px solid var(--gold); outline-offset: 3px }
.cert__pages{
  position: absolute; right: 8px; bottom: 8px; padding: 5px 9px; border-radius: 999px;
  background: rgba(13,10,7,.78); color: var(--sand); font: 600 11px/1 var(--sans); letter-spacing: .04em;
}
.cert figcaption{ padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px }
.cert figcaption b{ font: 700 19px/1.15 var(--serif); color: var(--text) }
.cert figcaption span{ font-size: 14px; color: var(--clay); font-weight: 600 }
.cert figcaption i{ font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.4 }

/* в просмотре документ крупнее и на белом */
.lightbox.is-doc .lightbox__stage img{ max-height: 80svh; background: #fff; border-radius: 6px }
.lightbox__orig{
  display: inline-block; margin-left: 12px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(217,164,65,.6); color: var(--gold-l); font: 600 13px/1 var(--sans);
  text-decoration: none; white-space: nowrap;
}

/* --- галерея --- */
.gal{ display: grid; grid-template-columns: repeat(4,1fr); gap: 14px }
.gal figure{
  position: relative; margin: 0; overflow: hidden; border-radius: 16px; cursor: pointer;
  aspect-ratio: 3/4; background: var(--ink-2);
  opacity: 0; transform: translateY(26px) scale(.97);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.gal figure.in{ opacity: 1; transform: none }
.gal img{ width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1) }
.gal figure:hover img{ transform: scale(1.07) }
.gal figcaption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  font: 500 13px/1.3 var(--sans); color: #fff;
  background: linear-gradient(180deg, transparent, rgba(13,10,7,.85));
  transform: translateY(6px); opacity: 0; transition: opacity .4s ease, transform .4s ease;
}
.gal figure:hover figcaption{ opacity: 1; transform: none }
.gal__more{ text-align: center; margin-top: 34px }
.gal__more .btn{ color: var(--text) }

/* --- карта --- */
.map{ display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start }
.map__points{ display: grid; gap: 12px }
.map__point{
  text-align: left; padding: 20px 22px; border-radius: 16px; cursor: pointer;
  background: #fff; border: 1px solid rgba(196,152,86,.24);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.map__point:hover{ transform: translateX(4px) }
.map__point.on{ border-color: var(--gold); background: linear-gradient(120deg,#fffaf2,#f3e5cd) }
.map__point b{ display: block; font: 600 16px/1.2 var(--sans); margin-bottom: 3px }
.map__point i{ display: block; font-style: normal; font-size: 13px; color: var(--clay); margin-bottom: 8px }
.map__point span{ font-size: 14px; color: var(--muted) }
.map__frame{ position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(196,152,86,.3); background: var(--sand-2) }
.map__frame iframe{ display: block; width: 100%; height: 460px; border: 0; filter: saturate(.85) contrast(1.02) }
.map__link{
  position: absolute; right: 14px; bottom: 14px; padding: 10px 16px; border-radius: 999px;
  background: rgba(13,10,7,.8); color: var(--sand); font: 600 13px/1 var(--sans);
  border: 1px solid rgba(240,206,126,.3); backdrop-filter: blur(6px);
}

/* --- faq --- */
.faq{ display: grid; gap: 10px; max-width: 900px }
.faq__item{ border-radius: 16px; background: rgba(244,234,217,.05); border: 1px solid rgba(244,234,217,.12); overflow: hidden }
.faq__q{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font: 600 17px/1.4 var(--sans); color: var(--sand);
}
.faq__q i{
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(240,206,126,.4); color: var(--gold-l); font-style: normal; font-size: 17px;
  transition: transform .35s ease, background .35s ease;
}
.faq__item.on .faq__q i{ transform: rotate(45deg); background: rgba(217,164,65,.2) }
.faq__a{ max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.8,.2,1) }
.faq__a p{ margin: 0; padding: 0 26px 24px; color: rgba(244,234,217,.72); font-size: 15px }

/* --- контакты --- */
.section--cta{
  position: relative; background: linear-gradient(160deg, var(--ink-3), var(--ink));
  color: var(--sand); padding-top: 110px;
}
.cta{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2 }
.cta h2{ color: var(--sand); margin-bottom: 18px }
.cta .section__lead{ color: rgba(244,234,217,.7) }
.cta__hours{ font-size: 14px; color: var(--gold); margin: 0 }
.cta__links{ display: grid; gap: 12px }
.cta__link{
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px;
  background: rgba(244,234,217,.05); border: 1px solid rgba(244,234,217,.12);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, background .3s ease;
}
.cta__link:hover{ transform: translateX(6px); border-color: rgba(217,164,65,.45); background: rgba(217,164,65,.08) }
.cta__link svg{ width: 26px; height: 26px; flex: none; color: var(--gold-l) }
.cta__link b{ display: block; font: 600 17px/1.2 var(--sans) }
.cta__link span{ font-size: 13px; color: rgba(244,234,217,.6) }

/* --- подвал --- */
.footer{ background: var(--ink); color: rgba(244,234,217,.7); padding: 58px 0 34px }
.footer__row{ display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start }
.footer__logo{ width: auto; height: 62px; margin-bottom: 14px }
.footer__brand span{ display: block; font-size: 13px; max-width: 42ch }
.footer__links{ display: flex; flex-wrap: wrap; gap: 10px }
.footer__links a{
  padding: 10px 16px; border-radius: 999px; font: 600 13px/1 var(--sans);
  border: 1px solid rgba(244,234,217,.16); transition: background .3s ease, border-color .3s ease;
}
.footer__links a:hover{ background: rgba(217,164,65,.14); border-color: rgba(217,164,65,.4) }
.footer__disclaimer{ margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(244,234,217,.12) }
.footer__disclaimer p{ margin: 0; font-size: 13px; line-height: 1.7; color: rgba(244,234,217,.5) }
.footer__bottom{
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: 22px; font-size: 12px; color: rgba(244,234,217,.38);
}

/* ==========================================================
   НИЖНЯЯ ПАНЕЛЬ (мобильные)
   ========================================================== */
.dock{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 880; display: none;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(13,10,7,.92); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(244,234,217,.12);
  transform: translateY(110%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.dock.on{ transform: none }
body.lb-open .dock{ transform: translateY(110%) }    /* просмотр фото — панель уезжает */
body.lb-open .header{ opacity: 0; pointer-events: none }  /* и шапка тоже */
.dock__item{
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border: 0; background: transparent; color: rgba(244,234,217,.75);
  font: 600 11px/1 var(--sans); cursor: pointer;
}
.dock__item svg{ width: 22px; height: 22px }
.dock__item--wa{ color: #5fd48b }
.dock__badge{
  position: absolute; top: 2px; right: 22%; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--gold); color: #26170a;
  font: 700 10px/17px var(--sans); font-style: normal; text-align: center;
  transform: scale(0); transition: transform .3s cubic-bezier(.2,1.4,.4,1);
}
.dock__badge.on{ transform: scale(1) }

/* ==========================================================
   МОДАЛЬНЫЕ ОКНА
   ========================================================== */
.modal{ position: fixed; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; padding: 20px }
.modal__back{ position: absolute; inset: 0; background: rgba(13,10,7,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease }
.modal.on .modal__back{ opacity: 1 }
.modal__win{
  position: relative; z-index: 2; width: 100%; max-width: 560px; max-height: 88svh; overflow-y: auto;
  padding: 34px 32px 30px; border-radius: 24px; background: var(--sand);
  border: 1px solid rgba(196,152,86,.34); box-shadow: 0 40px 100px rgba(0,0,0,.5);
  transform: translateY(26px) scale(.97); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.modal.on .modal__win{ transform: none; opacity: 1 }
.modal__x{
  position: absolute; right: 14px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(93,64,32,.09); cursor: pointer; font-size: 24px; line-height: 1; color: var(--muted);
}
.modal__x:hover{ background: rgba(93,64,32,.16) }
.modal__title{ font-size: 28px; margin-bottom: 8px }
.modal__lead{ font-size: 15px; color: var(--muted) }
.modal__note{ margin: 18px 0 0; font-size: 12px; color: var(--muted) }

.cart{ display: grid; gap: 12px; margin: 22px 0 }
.cart__row{
  display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid rgba(196,152,86,.24);
}
.cart__row img{ width: 62px; height: 62px; border-radius: 10px; object-fit: cover }
.cart__row b{ display: block; font: 600 15px/1.3 var(--sans) }
.cart__row span{ font-size: 13px; color: var(--muted) }
.cart__ctrl{ display: flex; align-items: center; gap: 6px }
.cart__ctrl button{
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 17px; line-height: 1;
  border: 1px solid rgba(93,64,32,.24); background: #fff; color: var(--text); display: grid; place-items: center;
}
.cart__ctrl b{ min-width: 22px; text-align: center }
.cart__empty{ padding: 26px; text-align: center; color: var(--muted); font-size: 15px }
.cart__total{ display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-top: 1px dashed rgba(93,64,32,.28) }
.cart__total b{ font: 700 30px/1 var(--serif) }
.cart__send{ display: grid; gap: 10px; margin-top: 8px }

.form{ margin-top: 20px; display: grid; gap: 14px }
.field span{ display: block; font: 600 13px/1 var(--sans); margin-bottom: 7px; color: var(--muted) }
.field input,.field textarea{
  width: 100%; padding: 13px 16px; border-radius: 12px; font: 400 15px/1.4 var(--sans);
  border: 1px solid rgba(93,64,32,.24); background: #fff; color: var(--text); resize: vertical;
}
.field input:focus,.field textarea:focus{ outline: 2px solid rgba(217,164,65,.5); outline-offset: 1px }
.form__preview{ padding: 14px 16px; border-radius: 12px; background: rgba(93,64,32,.06); border: 1px dashed rgba(93,64,32,.24) }
.form__preview p{ margin: 0 0 6px; font: 600 12px/1 var(--sans); color: var(--muted) }
.form__preview pre{
  margin: 0; font: 400 13px/1.5 var(--sans); white-space: pre-wrap; word-break: break-word; color: var(--text);
  max-height: 130px; overflow-y: auto;
}
.form__buttons{ display: grid; gap: 10px }

/* просмотр фото и видео */
.lightbox{
  position: fixed; inset: 0; z-index: 970; display: flex; align-items: center; justify-content: center;
  padding: 56px 16px 84px; opacity: 0; transition: opacity .3s ease;
}
.lightbox.on{ opacity: 1 }
.lightbox__back{ position: absolute; inset: 0; background: var(--ink); cursor: pointer }
.lightbox__stage{
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  max-width: min(96vw, 1100px); max-height: 78svh;
  transform: scale(.94); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.lightbox.on .lightbox__stage{ transform: none; opacity: 1 }
.lightbox__stage img,
.lightbox__stage video{
  max-width: min(96vw, 1100px); max-height: 78svh; width: auto; height: auto;
  border-radius: 14px; object-fit: contain; background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.lightbox__bar{
  position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 70px;
}
.lightbox__bar p{ margin: 0; text-align: center; color: rgba(244,234,217,.85); font-size: 15px }
.lightbox__count{ font: 600 12px/1 var(--sans); letter-spacing: .18em; color: var(--gold) }
.lightbox__x{
  position: absolute; z-index: 4; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(244,234,217,.24); background: rgba(13,10,7,.5); color: var(--sand);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox__x:hover{ background: rgba(217,164,65,.2) }
.lightbox__nav{
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(244,234,217,.2); background: rgba(13,10,7,.55); color: var(--sand);
  font-size: 30px; line-height: 1; cursor: pointer; transition: background .3s ease, transform .3s ease;
}
.lightbox__nav:hover{ background: rgba(217,164,65,.24) }
.lightbox__nav--prev{ left: 14px }
.lightbox__nav--next{ right: 14px }

/* подсказка «нажмите, чтобы открыть» на кадрах раздела о сборе */
.proc__media{ cursor: pointer }
.proc__zoom{
  position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; pointer-events: none;
  background: rgba(13,10,7,.6); border: 1px solid rgba(244,234,217,.28); color: var(--sand);
  backdrop-filter: blur(6px); transition: transform .3s ease, background .3s ease;
}
.proc__media:hover .proc__zoom{ transform: scale(1.08); background: rgba(217,164,65,.4) }
.proc__zoom svg{ width: 18px; height: 18px }

/* уведомление */
.toast{
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 18px); z-index: 990;
  padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--sand);
  font: 600 14px/1 var(--sans); box-shadow: 0 20px 44px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
  pointer-events: none; border: 1px solid rgba(240,206,126,.28);
}
.toast.on{ opacity: 1; transform: translate(-50%, 0) }

/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 1080px){
  .about__grid{ grid-template-columns: repeat(2,1fr) }
  .about__card:nth-child(3):last-child{ grid-column: span 2 }
  .maker{ grid-template-columns: 1fr; gap: 32px }
  .maker__photo{ max-width: 520px; aspect-ratio: 4/3 }
  .gal{ grid-template-columns: repeat(3,1fr) }
  .rev__track{ grid-auto-columns: calc((100% - 20px) / 2) }
  .shop__grid{ grid-template-columns: repeat(2,1fr) }
  .cond__terms{ grid-template-columns: 1fr }
  .map{ grid-template-columns: 1fr }
  .map__frame iframe{ height: 380px }
}

@media (max-width: 900px){
  .nav{ display: none }
  .burger{ display: inline-flex }
  .hero__inner{ grid-template-columns: 1fr; gap: 34px }
  .hero__card{ max-width: 460px; margin: 0 auto; width: 100% }
  .about__composition{ grid-template-columns: 1fr; padding: 28px }
  .about__compPhoto{ max-width: 340px; margin: 0 auto }
  /* на узком экране все шаги — в одну колонку, зеркальная раскладка отключается
     (правило для nth-child специфичнее, поэтому его сбрасываем тем же селектором) */
  .proc__step,
  .proc__step:nth-child(even){ grid-template-columns: 1fr; gap: 18px; padding: 18px }
  .proc__step:nth-child(even) .proc__media{ order: 0 }
  .proc__step:nth-child(even) .proc__num{ order: 0; text-align: left }
  .proc__num{ font-size: 34px }
  .usage__reaction{ grid-template-columns: 1fr }
  .cta{ grid-template-columns: 1fr; gap: 30px }
  .extras__list{ grid-template-columns: 1fr }
}

@media (max-width: 720px){
  /* разделы отзывов на телефоне — одной лентой, листаются пальцем */
  .rev__tabs{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px }
  .rev__tabs::-webkit-scrollbar{ display: none }
  .rev__tab{ flex: none; font-size: 14px; padding: 9px 15px }
  /* цели для пальца не меньше 44 px */
  .card__add{ min-height: 44px }
  #mapLink{ display: inline-flex; align-items: center; min-height: 44px }
  /* сертификаты на телефоне — по два листа в ряд, подпись помельче */
  .certs{ grid-template-columns: 1fr 1fr; gap: 22px 14px }
  .cert figcaption b{ font-size: 16px }
  .cert figcaption span{ font-size: 12.5px }
  .cert figcaption i{ font-size: 12px }
  .lightbox__orig{ display: table; margin: 10px auto 0 }
  body{ font-size: 16px; padding-bottom: 76px }
  .section{ padding: 68px 0 }
  .section__head{ margin-bottom: 34px }
  .hero{ padding-top: calc(96px + env(safe-area-inset-top)); padding-bottom: 96px; min-height: 100svh }
  .hero__lead{ font-size: 16px }
  .hero__cta{ margin: 26px 0 28px; gap: 10px }
  .hero__cta .btn{ flex: 1 1 100%; justify-content: center }
  .hero__facts{ gap: 12px 22px }
  .hero__facts b{ font-size: 21px }
  .hero__scroll{ display: none }
  .shop__grid{ grid-template-columns: 1fr }
  .gal{ grid-template-columns: repeat(2,1fr); gap: 10px }
  .rev__track{ grid-auto-columns: 100%; padding-bottom: 10px }
  .lightbox{ padding: 64px 8px 96px }
  .lightbox__nav{ width: 46px; height: 46px; background: rgba(13,10,7,.72) }
  .lightbox__nav--prev{ left: 6px }
  .lightbox__nav--next{ right: 6px }
  .lightbox__stage img, .lightbox__stage video{ max-height: 72svh }
  .rev__hint{ display: block }
  .dock{ display: flex }
  .about__grid{ grid-template-columns: 1fr; gap: 14px }
  .about__card:nth-child(3):last-child{ grid-column: auto }
  .steps li{ grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 20px }
  .steps b{ width: 42px; height: 42px; font-size: 18px }
  .modal{ padding: 0; align-items: flex-end }
  .modal__win{
    max-width: none; border-radius: 24px 24px 0 0; max-height: 92svh;
    padding: 30px 20px calc(26px + env(safe-area-inset-bottom));
    transform: translateY(100%); opacity: 1;
  }
  .modal.on .modal__win{ transform: none }
  .proc__story{ padding: 26px 22px }
  .footer{ padding-bottom: 96px }
  .hadith{ padding-top: 62px }
  .hadith__inner{ padding-bottom: 58px }
  .toast{ bottom: 104px }
  .lightbox__nav{ width: 44px; height: 44px }
}

@media (max-width: 420px){
  .logo__text i{ display: none }
  .cond__grid{ grid-template-columns: 1fr }
}
