/* =========================================================
   Мария Вельт — лендинг таролога
   Токены дизайна
   ========================================================= */
:root {
  --bg:          #08070c;
  --bg-2:        #0a0810;
  --gold:        #d8b463;
  --gold-soft:   #c9a349;
  --gold-light:  #f0d79a;
  --cream:       #e8e2d6;
  --cream-hi:    #f4efe4;
  --ink:         #eee8db;
  --muted:       #a49c8c;
  --muted-2:     #98917f;
  --dim:         #8b8474;
  --dim-2:       #7d766a;
  --dim-3:       #6d6659;
  --line:        rgba(216, 180, 99, .16);
  --line-2:      rgba(216, 180, 99, .13);

  --grad-gold:   linear-gradient(100deg, #e6cd8e, #c9a349 55%, #a9832f);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --shell: 1180px;
  --gutter: 40px;
}

/* =========================================================
   Reset / базовые стили
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

button { font-family: inherit; }

h1, h2, h3, p { margin: 0; }

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

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

/* Контейнеры */
.wrap { max-width: var(--shell); margin: 0 auto; }
.wrap--1080 { max-width: 1080px; }
.wrap--980  { max-width: 980px; }
.wrap--900  { max-width: 900px; }
.wrap--760  { max-width: 760px; }

.page { position: relative; z-index: 1; }

/* =========================================================
   Фоновый слой
   ========================================================= */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
}
.bg__blob--violet {
  top: -20%; left: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(120, 72, 190, .20), transparent 62%);
  animation: aurora 28s ease-in-out infinite;
}
.bg__blob--gold {
  bottom: -30%; right: -15%;
  width: 75vw; height: 75vw;
  background: radial-gradient(circle, rgba(201, 163, 73, .16), transparent 62%);
  animation: aurora 36s ease-in-out infinite reverse;
}
.bg__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg__aura {
  position: absolute;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 99, .13), rgba(216, 180, 99, .05) 40%, transparent 68%);
  opacity: 0;
  transition: opacity .6s ease;
  will-change: transform;
}

/* =========================================================
   Шапка
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: linear-gradient(180deg, rgba(8, 7, 12, .92), rgba(8, 7, 12, .55) 70%, rgba(8, 7, 12, 0));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand__mark {
  width: 34px; height: 34px;
  border: 1px solid #6d5a2e;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .04em;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .22em;
  color: var(--cream);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  letter-spacing: .09em;
  color: var(--muted);
  text-transform: uppercase;
}
.nav__link { color: var(--muted); transition: color .25s ease; }
.nav__link:hover { color: var(--gold); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid #6d5a2e;
  border-radius: 999px;
  color: var(--gold);
  letter-spacing: .09em;
  transition: background .25s ease, border-color .25s ease;
}
.nav__cta:hover { background: rgba(216, 180, 99, .1); border-color: var(--gold); color: var(--gold); }

/* Бургер */
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid rgba(216, 180, 99, .3);
  border-radius: 10px;
  background: rgba(12, 10, 18, .6);
  cursor: pointer;
  padding: 0;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(6px); }
.burger.is-active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* =========================================================
   Кнопки
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 19px 32px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, background .25s ease, border-color .25s ease;
  border: 1px solid transparent;
  background: transparent;    /* важно: у <button> иначе вылезает белый системный фон */
  color: var(--cream);
  -webkit-appearance: none;
  appearance: none;
}
.btn--gold {
  position: relative;
  overflow: visible;
  background: var(--grad-gold);
  color: #14100a;
  font-weight: 600;
  box-shadow: 0 18px 50px -18px rgba(201, 163, 73, .7);
  --glow-hue: 44;            /* золотой оттенок свечения */
}
.btn--gold:hover { filter: brightness(1.08); transform: translateY(-2px); color: #14100a; }

/* угол для conic-маски, чтобы плавно анимировать вращение света */
@property --btn-glow {
  syntax: "<angle>";
  inherits: false;
  initial-value: 33deg;
}
@keyframes btnGlowRotate { 0% { --btn-glow: 0deg; } 100% { --btn-glow: 360deg; } }
@keyframes btnGlowPulse {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  55%  { opacity: .35; }
  100% { opacity: 0; }
}

/* вращающийся световой сегмент по контуру кнопки */
.btn-glow {
  position: absolute;
  inset: -40px;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: conic-gradient(from var(--btn-glow, 0deg), transparent 0%, transparent 10%, #000 36%, #000 45%, transparent 50%, transparent 60%, #000 85%, #000 95%, transparent 100%);
  mask-image: conic-gradient(from var(--btn-glow, 0deg), transparent 0%, transparent 10%, #000 36%, #000 45%, transparent 50%, transparent 60%, #000 85%, #000 95%, transparent 100%);
  -webkit-mask-size: cover;
  mask-size: cover;
  mix-blend-mode: plus-lighter;
  animation: btnGlowRotate 3s linear infinite both;
}
.btn-glow::before,
.btn-glow::after {
  content: "";
  border-radius: inherit;
  position: absolute;
  mix-blend-mode: color;
  inset: 40px;
  pointer-events: none;
  animation: btnGlowPulse 1.2s ease-in infinite;
}
.btn-glow::before {
  box-shadow:
    0 0 3px 2px hsl(var(--glow-hue) 20% 95%),
    0 0 7px 4px hsl(var(--glow-hue) 20% 80%),
    0 0 13px 4px hsl(var(--glow-hue) 50% 70%),
    0 0 25px 5px hsl(var(--glow-hue) 100% 70%);
  z-index: -1;
}
.btn-glow::after {
  box-shadow:
    inset 0 0 0 1px hsl(var(--glow-hue) 70% 95%),
    inset 0 0 2px 1px hsl(var(--glow-hue) 100% 80%),
    inset 0 0 5px 2px hsl(var(--glow-hue) 100% 70%);
  z-index: 2;
}
.btn--gold:hover .btn-glow { animation-duration: 1.5s; }

.btn--ghost {
  border-color: rgba(216, 180, 99, .3);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(216, 180, 99, .06); color: var(--cream); }
.btn--sm { padding: 16px 28px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__arrow { font-size: 18px; }
.btn__wa { flex: none; width: 18px; height: 18px; }

/* Номер телефона в hero (ведёт на WhatsApp) */
.hero__phone {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 16px; letter-spacing: .02em;
  color: var(--cream-hi);
  transition: color .25s ease;
}
.hero__phone-ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  color: #25D366;
  background: radial-gradient(circle, rgba(37, 211, 102, .2), rgba(37, 211, 102, .04) 70%);
  border: 1px solid rgba(37, 211, 102, .42);
  box-shadow: 0 0 22px -6px rgba(37, 211, 102, .6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero__phone-ico svg { display: block; }
.hero__phone:hover { color: var(--gold-light); }
.hero__phone:hover .hero__phone-ico { transform: scale(1.06); box-shadow: 0 0 30px -6px rgba(37, 211, 102, .85); }

/* =========================================================
   Общие заголовки секций
   ========================================================= */
.section { padding: 120px var(--gutter); }

.label,
.eyebrow--mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: #8a7c58;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  text-align: center;
  background: linear-gradient(120deg, #fbf1d4 0%, #eccf88 30%, #d8b463 50%, #c49a44 68%, #f0dca0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section__title--left { text-align: left; }
.section__title--sm { font-size: clamp(32px, 5.4vw, 48px); line-height: 1.12; }

.section__lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dim-2);
  max-width: 640px;
}
.section__lead--center { margin-left: auto; margin-right: auto; text-align: center; max-width: 560px; }

.prose {
  font-size: 17px;
  line-height: 1.8;
  color: #b3ab9b;
  max-width: 640px;
  text-wrap: pretty;
}
.prose + .prose { margin-top: 20px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.section-head__note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dim-2);
  max-width: 320px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px var(--gutter) 90px;
  overflow: hidden; /* клип орбит, чтобы не было горизонтального скролла */
  background: radial-gradient(120% 90% at 78% 30%, rgba(28,20,36,.90) 0%, rgba(13,10,19,.74) 45%, rgba(8,7,12,.32) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}
.hero__stars {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
  animation: glow 7s ease-in-out infinite;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #efe0b8 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 68%, #d8b463 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 68% 18%, #efe0b8 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 74%, #d8b463 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 42%, #efe0b8 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 88%, #d8b463 50%, transparent 51%);
}
.hero__content { position: relative; max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(216, 180, 99, .35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 34px;
}
.eyebrow__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero__title {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 76px);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--cream-hi);
  text-wrap: pretty;
}
.shimmer {
  font-style: italic;
  background: linear-gradient(100deg, #8f7433 12%, #f3dfa8 34%, #fff6df 48%, #d8b463 62%, #8f7433 86%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
.hero__lead {
  margin-bottom: 40px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero__cta { display: flex; flex-direction: column; gap: 12px; }
.hero__stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat__num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--dim-2);
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero — визуал */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.orbit { position: absolute; border-radius: 50%; }
.orbit--inner {
  width: 440px; height: 440px;
  border: 1px solid rgba(216, 180, 99, .18);
  animation: spin 60s linear infinite;
}
.orbit--outer {
  width: 560px; height: 560px;
  border: 1px dashed rgba(216, 180, 99, .12);
  animation: spin 90s linear infinite reverse;
}
.portrait {
  border-radius: 26px;
  border: 1px solid rgba(216, 180, 99, .32);
  background: repeating-linear-gradient(135deg, #171223 0 9px, #120e1c 9px 18px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.portrait__img, .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  display: block;
}
.portrait--float {
  position: relative;
  width: 330px; height: 470px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), inset 0 0 60px rgba(216, 180, 99, .06);
  animation: float 9s ease-in-out infinite;
}
.portrait__ph {
  text-align: center;
  padding: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: #8a7c58;
  text-transform: uppercase;
  line-height: 2;
}

/* =========================================================
   Интерактив — карта дня
   ========================================================= */
.draw {
  background: radial-gradient(70% 70% at 50% 0%, rgba(25,18,37,.86) 0%, rgba(8,7,12,.42) 70%);
  border-top: 1px solid var(--line-2);
}
.draw__inner { text-align: center; }
.draw .section__lead--center { margin-bottom: 52px; }

.deck {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  perspective: 1200px;
  margin-bottom: 44px;
}
.tarot {
  flex: 0 1 156px;
  min-width: 104px;
  aspect-ratio: 150 / 222;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.tarot:hover { transform: translateY(-26px) scale(1.04); }
.tarot__inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.tarot.is-flipped .tarot__inner { transform: rotateY(180deg); }
.tarot.is-shaking .tarot__inner { animation: shake .5s ease; }

.tarot__face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tarot__face--back {
  border: 1px solid rgba(216, 180, 99, .28);
  background: repeating-linear-gradient(135deg, #171223 0 7px, #120e1c 7px 14px);
  box-shadow: 0 20px 46px -22px rgba(0, 0, 0, .9);
}
.tarot__face--front {
  transform: rotateY(180deg);
  border: 1px solid rgba(216, 180, 99, .65);
  background: linear-gradient(165deg, #2a2036, #150f1f 60%);
  box-shadow: 0 0 0 1px rgba(216, 180, 99, .2), 0 24px 60px -20px rgba(216, 180, 99, .5), inset 0 0 50px rgba(216, 180, 99, .12);
  padding: 10px 8px;
  align-content: center;
}
.tarot.is-flipped .tarot__face--front { animation: glow 3s ease-in-out infinite; }
.tarot__badge {
  width: 56px; height: 56px;
  border: 1px solid rgba(216, 180, 99, .4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 18px;
}
.tarot__sign {
  font-size: clamp(24px, 3.2vw, 38px);
  color: var(--gold-light);
  line-height: 1;
}
.tarot__title {
  margin-top: 10px;
  max-width: 100%;
  padding: 0 2px;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.5vw, 17px);
  line-height: 1.12;
  color: var(--cream-hi);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.draw__result {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 1px solid rgba(216, 180, 99, .3);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24, 18, 34, .95), rgba(10, 8, 14, .95));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  animation: fade-up .5s ease both;
}
.draw__result[hidden] { display: none; }
.draw__result-title {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.draw__result-text {
  font-size: 16px;
  line-height: 1.8;
  color: #b3ab9b;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.draw__result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Об авторе
   ========================================================= */
.about { background: rgba(10,8,16,.82); border-top: 1px solid var(--line-2); }
.about__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about__media { position: relative; }
.about__gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  aspect-ratio: 1 / 1.12;
}
.about__photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 99, .22);
  background: repeating-linear-gradient(135deg, #151020 0 9px, #100d19 9px 18px);
}
.about__photo--main { grid-column: 1; grid-row: 1 / 3; overflow: visible; }
.about__photo--a { grid-column: 2; grid-row: 1; }
.about__photo--b { grid-column: 2; grid-row: 2; }
.about__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: inherit;
}
.about__ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; line-height: 1.7;
  text-transform: uppercase;
  color: #8a7c58;
  padding: 16px;
}

/* Фото: серые по умолчанию, цветные при наведении/фокусе */
.about__photo img, .about__photo .about__ph,
.portrait--float img, .portrait--float .portrait__ph {
  filter: grayscale(1);
  transition: filter .55s ease;
}
.about__photo:hover img, .about__photo:hover .about__ph, .about__photo:focus-within img,
.portrait--float:hover img, .portrait--float:hover .portrait__ph, .portrait--float:focus-within img {
  filter: grayscale(0);
}
.about__badge {
  position: absolute;
  right: 22px; bottom: -18px; left: auto;
  padding: 16px 20px;
  background: rgba(8, 7, 12, .92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(216, 180, 99, .4);
  border-radius: 12px;
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .9);
  z-index: 3;
}
.about__badge-num { font-family: var(--font-display); font-size: 30px; color: var(--gold); line-height: 1; }
.about__badge-label {
  font-size: 12px; letter-spacing: .09em; color: var(--dim-2);
  text-transform: uppercase; margin-top: 5px;
}
.about__body .label { margin-top: 0; }
.about__body .section__title { margin-bottom: 28px; }

/* Расширенный текст «Обо мне» (скрыт, раскрывается кнопкой) */
.about__prose { margin-bottom: 0; }
.about__extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .55s ease, opacity .45s ease, margin-top .45s ease;
}
.about__extra.is-open { opacity: 1; margin-top: 26px; }
.about__extra-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 24px; color: var(--gold-light);
  margin: 24px 0 14px;
}
.about__extra-inner > .about__extra-title:first-child { margin-top: 0; }
.about__qa { display: grid; gap: 14px; margin: 0 0 8px; }
.about__qa dt { font-size: 14px; font-weight: 500; color: var(--cream-hi); margin-bottom: 4px; }
.about__qa dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--dim); }
.about__extra .prose { margin-bottom: 14px; }
.about__extra .prose:last-child { margin-bottom: 0; }
.about__toggle {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 24px;
  padding: 13px 26px;
  border: 1px solid rgba(216, 180, 99, .3);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body); font-size: 14px;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.about__toggle:hover { border-color: var(--gold); color: var(--gold); background: rgba(216, 180, 99, .06); }
.about__toggle-ico { transition: transform .35s ease; font-size: 15px; }
.about__toggle[aria-expanded="true"] .about__toggle-ico { transform: rotate(180deg); }
.about__body .facts { margin-top: 30px; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: rgba(216, 180, 99, .14);
  border: 1px solid rgba(216, 180, 99, .14);
  border-radius: 12px;
  overflow: hidden;
  max-width: 640px;
}
.fact { padding: 24px 26px; background: var(--bg-2); }
.fact__icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border: 1px solid rgba(216, 180, 99, .4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
}
.fact__icon svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fact__title { font-size: 15px; color: var(--cream); margin-bottom: 6px; }
.fact__text { font-size: 14px; line-height: 1.6; color: var(--dim-2); }

/* =========================================================
   Услуги
   ========================================================= */
.services { background: radial-gradient(90% 60% at 50% 0%, rgba(22,16,31,.86) 0%, rgba(8,7,12,.42) 70%); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 18, 34, .9), rgba(12, 10, 18, .9));
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 262px;
  transition: transform .25s ease, border-color .3s ease, box-shadow .3s ease;
}
.service:hover {
  border-color: rgba(216, 180, 99, .5);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.service__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service__sign {
  width: 44px; height: 44px;
  border: 1px solid rgba(216, 180, 99, .4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
}
.service__dur { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--dim-3); }
.service__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  color: var(--cream-hi);
}
.service__text { font-size: 15px; line-height: 1.7; color: var(--muted-2); flex: 1; text-wrap: pretty; }
.service__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 180, 99, .14);
}
.service__price { font-size: 16px; color: var(--gold); }
.service__link {
  font-size: 13px; letter-spacing: .08em; color: var(--muted);
  text-transform: uppercase; transition: color .25s ease;
}
.service__link:hover { color: var(--gold); }

/* =========================================================
   Ситуации
   ========================================================= */
.situations { background: rgba(10,8,16,.82); border-top: 1px solid var(--line-2); }
.situations .section__lead { margin-bottom: 52px; }
.situations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(216, 180, 99, .13);
  border: 1px solid rgba(216, 180, 99, .13);
  border-radius: 14px;
  overflow: hidden;
}
.situation { display: flex; gap: 20px; padding: 30px 32px; background: var(--bg-2); transition: background .25s ease; }
.situation:hover { background: #100d18; }
.situation__num { font-family: var(--font-mono); font-size: 12px; color: #8a7c58; padding-top: 4px; min-width: 26px; }
.situation__title { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.situation__text { font-size: 15px; line-height: 1.7; color: var(--dim); text-wrap: pretty; }

/* =========================================================
   Преимущества
   ========================================================= */
.benefits { background: radial-gradient(80% 60% at 20% 20%, rgba(26,19,38,.86) 0%, rgba(8,7,12,.42) 65%);    border-top: 1px solid var(--line-2); }
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.benefits__intro .section__title { margin-bottom: 24px; }
.benefits__intro .prose { margin-bottom: 34px; }
.benefits__list { display: flex; flex-direction: column; gap: 14px; }
.benefit {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 10, 18, .7);
  transition: border-color .25s ease;
}
.benefit:hover { border-color: rgba(216, 180, 99, .45); }
.benefit__mark {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .4);
  display: grid; place-items: center;
  color: var(--gold); font-size: 15px;
}
.benefit__title { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.benefit__text { font-size: 14px; line-height: 1.7; color: var(--dim); text-wrap: pretty; }

/* =========================================================
   Отзывы
   ========================================================= */
.reviews { background: rgba(10,8,16,.82); border-top: 1px solid var(--line-2); }
.reviews__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Рейтинг звёздами (интерактивный) */
.rating { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.rating__stars { display: flex; gap: 6px; }
.rating__star { background: none; border: 0; padding: 0; cursor: pointer; line-height: 0; }
.rating__star svg {
  width: 30px; height: 30px; display: block;
  fill: transparent;
  stroke: #6a6152; stroke-width: 1.3;
  transition: transform .15s ease, fill .2s ease, stroke .2s ease, filter .2s ease;
}
.rating__star.is-on svg {
  fill: var(--gold);
  stroke: var(--gold-light);
  filter: drop-shadow(0 2px 9px rgba(216, 180, 99, .55));
}
.rating__stars:not(.is-locked) .rating__star:hover svg { transform: scale(1.14); }
.rating__star.pop svg { animation: starPop .42s ease; }
@keyframes starPop { 0% { transform: scale(.55); } 55% { transform: scale(1.28); } 100% { transform: scale(1); } }
.rating__meta { display: flex; align-items: baseline; gap: 10px; }
.rating__meta[hidden] { display: none; }
.rating__num { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--gold-light); }
.rating__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-2); }
.rating__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--dim-2); }

/* Подпись о согласии */
.reviews__note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .04em;
  color: var(--dim-3);
}

/* Скрытые сверх-отзывы + кнопка «Посмотреть ещё» */
.video--extra { display: none; }
.reviews.is-expanded .video--extra { display: block; }
.reviews__more { display: flex; justify-content: center; margin-top: 34px; }
.reviews.is-expanded .reviews__more { display: none; }
.reviews__more-num { opacity: .7; }

.video {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0c0a12;
  aspect-ratio: 16 / 9;
  transition: border-color .25s ease, box-shadow .3s ease;
}
.video:hover {
  border-color: rgba(216, 180, 99, .5);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.video__frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   Форма заявки
   ========================================================= */
.lead { background: radial-gradient(100% 80% at 50% 10%, rgba(29,21,40,.86) 0%, rgba(8,7,12,.42) 65%); }
.lead__card {
  border: 1px solid rgba(216, 180, 99, .24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 14, 26, .95), rgba(9, 8, 13, .95));
  padding: 56px 56px 48px;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95);
}
.lead__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lead__aside .label { margin-top: 0; }
.lead__aside .section__title { margin-bottom: 18px; }
.lead__checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--dim); }
.lead__checks li { display: flex; gap: 12px; align-items: center; }
.lead__check { color: var(--gold); }

.lead__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field__label { font-size: 12px; letter-spacing: .12em; color: var(--dim-2); text-transform: uppercase; }
.field__control {
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(216, 180, 99, .22);
  background: rgba(8, 7, 12, .8);
  color: var(--cream-hi);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  outline: none;
  transition: border-color .25s ease;
}
.field__control:focus { border-color: var(--gold); }
textarea.field__control { resize: vertical; min-height: 96px; }
select.field__control {
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d8b463' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.lead__hint { font-size: 12px; line-height: 1.6; color: var(--dim-3); text-align: center; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: rgba(10,8,16,.82); border-top: 1px solid var(--line-2); }
.faq .section__title { margin-bottom: 48px; }
.faq__list {
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(216, 180, 99, .13);
  border: 1px solid rgba(216, 180, 99, .13);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item { background: var(--bg-2); }
.faq-item__head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  padding: 26px 30px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .25s ease;
}
.faq-item__head:hover { background: #100d18; }
.faq-item__q { font-size: 18px; color: var(--ink); text-wrap: pretty; }
.faq-item__toggle {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .35);
  display: grid; place-items: center;
  color: var(--gold); font-size: 16px;
}
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item__body > p {
  overflow: hidden;
  padding: 0 30px;
  font-size: 15px; line-height: 1.8; color: var(--dim);
  max-width: 700px; text-wrap: pretty;
}
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__body > p { padding-bottom: 28px; }

/* =========================================================
   Финальный CTA
   ========================================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 100% at 50% 100%, rgba(30,21,41,.86) 0%, rgba(8,7,12,.42) 70%);
  text-align: center;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: url("https://demo1.numo-web.com/img/page.gif") center center / cover no-repeat;
  opacity: .12;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cta-final > .wrap { position: relative; z-index: 1; }
.cta-final .section__title { font-size: clamp(38px, 6.4vw, 56px); line-height: 1.08; margin-bottom: 22px; }
.cta-final .section__lead { margin-bottom: 40px; }
.cta-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Видео-разделители (плавно растворяются в фоне)
   ========================================================= */
.videobreak {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px var(--gutter);
  overflow: hidden;
}
.videobreak__frame { position: relative; max-width: 100%; }
.videobreak__frame::before {
  content: "";
  position: absolute;
  inset: -8% -14%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(216,180,99,.14), transparent 78%);
  pointer-events: none;
}
.videobreak__video {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: min(70vh, 620px);
  max-width: 100%;
  object-fit: cover;
  background: #0a0810;
  /* очень мягкое растворение всех краёв: широкая зона + промежуточные стопы */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, rgba(0,0,0,.28) 7%, rgba(0,0,0,.75) 15%, #000 26%, #000 74%, rgba(0,0,0,.75) 85%, rgba(0,0,0,.28) 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, rgba(0,0,0,.28) 6%, rgba(0,0,0,.75) 13%, #000 22%, #000 78%, rgba(0,0,0,.75) 87%, rgba(0,0,0,.28) 94%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, rgba(0,0,0,.28) 7%, rgba(0,0,0,.75) 15%, #000 26%, #000 74%, rgba(0,0,0,.75) 85%, rgba(0,0,0,.28) 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, rgba(0,0,0,.28) 6%, rgba(0,0,0,.75) 13%, #000 22%, #000 78%, rgba(0,0,0,.75) 87%, rgba(0,0,0,.28) 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 640px) {
  .videobreak { padding: 14px var(--gutter); }
  .videobreak__video { height: auto; width: min(88vw, 430px); }
}

/* =========================================================
   Подвал
   ========================================================= */
.footer {
  padding: 44px var(--gutter);
  background: var(--bg);
  border-top: 1px solid rgba(216, 180, 99, .14);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: .18em;
  color: var(--muted); text-transform: uppercase;
}
.footer__contact { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--dim-3); }
.footer__contact a { color: var(--dim-2); }
.footer__contact a:hover { color: var(--gold); }
.footer__meta {
  display: flex; align-items: center; gap: 22px;
  font-size: 13px; color: var(--dim-3); flex-wrap: wrap;
}
.footer__meta a { color: var(--dim-2); transition: color .25s ease; }
.footer__meta a:hover { color: var(--gold); }
.footer__meta span { color: var(--dim-3); }

/* =========================================================
   Правовые страницы (Impressum / AGB / Datenschutz)
   ========================================================= */
.legal-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
  background: rgba(8, 7, 12, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-2);
}
.legal-back {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); transition: color .25s ease;
}
.legal-back:hover { color: var(--gold); }
.legal {
  max-width: 820px; margin: 0 auto;
  padding: 64px var(--gutter) 90px;
}
.legal__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(34px, 6vw, 50px); line-height: 1.1;
  color: var(--cream-hi); margin-bottom: 8px;
}
.legal__sub { font-size: 14px; color: var(--dim-2); margin-bottom: 34px; }
.legal__toc { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.legal__toc a {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .25s ease, color .25s ease;
}
.legal__toc a:hover { border-color: var(--gold); color: var(--gold); }
.legal section { scroll-margin-top: 84px; }
.legal h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; color: var(--gold-light);
  margin: 44px 0 16px;
}
.legal h3 { font-size: 15px; letter-spacing: .03em; color: var(--cream); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: #b3ab9b; }
.legal p { margin: 10px 0; }
.legal ul { margin: 12px 0; padding-left: 20px; }
.legal li { margin: 5px 0; }
.legal address { font-style: normal; line-height: 1.9; color: #b3ab9b; margin: 8px 0; }
.legal a { color: var(--gold); }
.legal hr { border: 0; border-top: 1px solid var(--line-2); margin: 36px 0; }

/* =========================================================
   Плавающие кнопки связи
   ========================================================= */
.dock {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.dock__btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .35);
  background: rgba(12, 10, 18, .9);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 20px;
  backdrop-filter: blur(6px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, filter .25s ease;
}
.dock__btn:hover { background: rgba(216, 180, 99, .16); border-color: var(--gold); }
.dock__btn--wa {
  position: relative;
  width: 62px; height: 62px;
  border: 0;
  background: var(--grad-gold);
  color: #14100a;
  box-shadow: 0 16px 40px -14px rgba(201, 163, 73, .8);
}
.dock__btn--wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .7);
  animation: pulse-ring 2.6s ease-out infinite;
}
.dock__btn--wa:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* =========================================================
   Кнопка WhatsApp (в модалке)
   ========================================================= */
.btn--wa {
  gap: 10px;
  background: linear-gradient(180deg, #2ea86a, #1f8d55);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 40px -18px rgba(37, 160, 100, .8);
}
.btn--wa:hover { filter: brightness(1.06); transform: translateY(-2px); color: #fff; }
.btn--wa svg { flex: none; }

/* =========================================================
   Сильный оффер: бесплатная диагностика + гарантия
   ========================================================= */
.offer { background: radial-gradient(90% 90% at 50% 30%, rgba(30,21,42,.9) 0%, rgba(8,7,12,.4) 70%); }
.offer__card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 40px 120px -50px rgba(216, 180, 99, .5);
}
/* вращающаяся золотая рамка */
.offer__card::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: 0;
  background: conic-gradient(from 0deg,
    rgba(216,180,99,0) 0deg, rgba(216,180,99,.9) 60deg, rgba(255,246,223,1) 90deg,
    rgba(216,180,99,.35) 140deg, rgba(216,180,99,0) 220deg, rgba(216,180,99,0) 360deg);
  animation: spin 9s linear infinite;
}
.offer__card::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: 1;
  border-radius: 24px;
  background:
    radial-gradient(120% 100% at 12% 0%, rgba(216,180,99,.10), transparent 55%),
    linear-gradient(180deg, rgba(26,19,38,.98), rgba(10,8,14,.99));
}
.offer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 46px 50px;
}
.offer__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.offer__eyebrow span { animation: glow 2.6s ease-in-out infinite; }
.offer__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.06;
  margin-bottom: 16px;
  background: linear-gradient(120deg, #fbf1d4, #eccf88 34%, #d8b463 54%, #c49a44 72%, #f0dca0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.offer__lead {
  font-size: 16px; line-height: 1.75; color: #cbc3b2;
  max-width: 560px; margin-bottom: 22px; text-wrap: pretty;
}
.offer__lead b { color: var(--gold-light); font-weight: 600; }
.offer__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.offer__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px 8px 32px;
  position: relative;
  border: 1px solid rgba(216, 180, 99, .28);
  border-radius: 999px;
  font-size: 13px; color: var(--cream);
}
.offer__chip::before {
  content: "✓";
  position: absolute; left: 13px;
  color: var(--gold); font-size: 13px;
}
.offer__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 22px; }
.btn--lg { padding: 22px 36px; font-size: 16px; }
.offer__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  font-size: 13px; color: var(--dim-2);
}
.offer__spots { display: inline-flex; align-items: center; }
.offer__spots b { color: var(--gold-light); margin: 0 4px; }
.offer__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ec97a; margin-right: 9px;
  box-shadow: 0 0 0 0 rgba(62, 201, 122, .6);
  animation: pulse-dot 1.9s ease-out infinite;
}
.offer__timer {
  font-family: var(--font-mono); letter-spacing: .04em; color: var(--gold);
  padding-left: 26px; position: relative;
}
.offer__timer::before {
  content: "⏳"; position: absolute; left: 0; opacity: .8;
}

/* печать-гарантия */
.offer__seal { position: relative; width: 180px; height: 180px; display: grid; place-items: center; flex: none; }
.offer__seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.offer__seal-ring text {
  fill: var(--gold);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 2.4px;
}
.offer__seal-core {
  width: 108px; height: 108px; border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .5);
  display: grid; place-items: center; align-content: center;
  background: radial-gradient(circle, rgba(216,180,99,.14), transparent 70%);
  text-align: center;
}
.offer__seal-num { font-family: var(--font-display); font-size: 25px; line-height: 1; color: var(--gold-light); }
.offer__seal-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim-2); margin-top: 4px; }

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(62, 201, 122, .5); }
  70% { box-shadow: 0 0 0 9px rgba(62, 201, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 201, 122, 0); }
}

/* =========================================================
   Иллюстрации-оракулы (SVG)
   ========================================================= */
.ill { color: var(--gold); }
.draw { position: relative; overflow: hidden; }
.draw__ill {
  position: absolute;
  top: 50%; left: 50%;
  width: min(520px, 88vw);
  height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .09;
  pointer-events: none;
  z-index: 0;
}
.draw__inner { position: relative; z-index: 1; }

.section { position: relative; }
.seam-mark {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  color: var(--gold);
  opacity: .7;
  pointer-events: none;
  z-index: 4;
}
.seam-mark::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,180,99,.12), transparent 68%);
}
.seam-mark svg { position: relative; width: 100%; height: 100%; display: block; }

.benefits__ill {
  display: block;
  width: 68px; height: 68px;
  margin-bottom: 20px;
  opacity: .8;
}

/* =========================================================
   Всплывающее уведомление (стиль голосового сообщения)
   ========================================================= */
.toast {
  position: fixed;
  top: 18px; left: 50%;
  transform: translate(-50%, -170%);
  z-index: 90;
  width: min(430px, calc(100vw - 24px));
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 17px;
  border: 1px solid rgba(216, 180, 99, .34);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 20, 38, .98), rgba(12, 10, 18, .99));
  backdrop-filter: blur(12px);
  box-shadow: 0 34px 80px -26px rgba(0, 0, 0, .92), 0 0 40px -18px rgba(216, 180, 99, .4);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .2, 1), opacity .4s ease;
}
.toast.is-open { transform: translate(-50%, 0); opacity: 1; }
.toast[hidden] { display: none; }

.toast__avatar {
  position: relative;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 21px; color: var(--gold);
  border: 1px solid rgba(216, 180, 99, .45);
  background: radial-gradient(circle, rgba(216, 180, 99, .18), transparent 70%);
}
.toast__avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #3ec97a; border: 2px solid #14101c;
}
.toast__body { flex: 1; min-width: 0; }
.toast__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.toast__name { font-size: 14px; font-weight: 500; color: var(--cream-hi); flex: 1; }
.toast__close {
  width: 24px; height: 24px; flex: none;
  border: 0; background: transparent; color: var(--dim-2);
  cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: color .2s ease, background .2s ease;
}
.toast__close:hover { color: var(--gold); background: rgba(216, 180, 99, .1); }

.toast__close svg {
  min-width: 16px;
  min-height: 16px;
}

.toast__text { font-size: 13.5px; line-height: 1.55; color: #cbc3b2; margin-bottom: 14px; text-wrap: pretty; }
.toast__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border: 0; border-radius: 999px;
  background: var(--grad-gold); color: #14100a;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.toast__cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.toast__cta span { font-size: 15px; }

@media (max-width: 480px) {
  .toast { top: 12px; padding: 13px 14px; gap: 11px; }
  .toast__avatar { width: 42px; height: 42px; font-size: 19px; }
}

/* =========================================================
   Попап с дублем блока диагностики
   ========================================================= */
.get-popup {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center;
  padding: 20px;
}
.get-popup[hidden] { display: none; }
.get-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 5, 9, .78);
  backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .3s ease;
}
.get-popup.is-open .get-popup__backdrop { opacity: 1; }
.get-popup__dialog {
  position: relative;
  width: 100%; max-width: 820px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.get-popup.is-open .get-popup__dialog { transform: none; opacity: 1; }
.get-popup__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .3);
  background: rgba(8, 7, 12, .7);
  backdrop-filter: blur(4px);
  color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
  transition: color .25s ease, border-color .25s ease;
}
.get-popup__close:hover { color: var(--gold); border-color: var(--gold); }
/* дубль карточки внутри попапа */
.get-popup__body .offer__inner { grid-template-columns: 1fr; gap: 26px; padding: 44px 40px; text-align: center; }
.get-popup__body .offer__lead { margin-left: auto; margin-right: auto; }
.get-popup__body .offer__eyebrow,
.get-popup__body .offer__chips,
.get-popup__body .offer__actions,
.get-popup__body .offer__meta { justify-content: center; }
.get-popup__body .offer__seal { order: -1; margin: 0 auto; }
@media (max-width: 480px) {
  .get-popup__body .offer__inner { padding: 34px 22px; }
  .get-popup__body .btn--lg { width: 100%; }
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 9, .72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px 34px 34px;
  border: 1px solid rgba(216, 180, 99, .3);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 18, 34, .98), rgba(10, 8, 14, .98));
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .95), inset 0 0 60px rgba(216, 180, 99, .06);
  text-align: center;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 99, .25);
  background: transparent;
  color: var(--muted);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.modal__close:hover { color: var(--gold); border-color: var(--gold); background: rgba(216, 180, 99, .08); }
.modal__glyph {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  color: var(--gold);
  opacity: .9;
}
.modal__glyph svg { width: 100%; height: 100%; }
.modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--cream-hi);
  margin-bottom: 10px;
}
.modal__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim-2);
  margin-bottom: 22px;
}
.modal__input {
  width: 100%;
  padding: 15px 18px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(216, 180, 99, .24);
  background: rgba(8, 7, 12, .8);
  color: var(--cream-hi);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease;
}
.modal__input:focus { border-color: var(--gold); }
.modal__divider {
  height: 1px;
  margin: 20px 0 16px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 99, .3), transparent);
}
@keyframes float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes glow      { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
@keyframes aurora    { 0% { transform: translate3d(-6%, -4%, 0) scale(1.1); } 50% { transform: translate3d(6%, 5%, 0) scale(1.25); } 100% { transform: translate3d(-6%, -4%, 0) scale(1.1); } }
@keyframes shimmer   { 0% { background-position: -220% 0; } 100% { background-position: 220% 0; } }
@keyframes pulse-ring { 0% { transform: scale(.75); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes shake     { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
@keyframes fade-up   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Появление секций при скролле */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */

/* Планшет */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .section { padding: 96px var(--gutter); }

  .hero {
    min-height: auto;
    padding: 130px var(--gutter) 80px;
    text-align: center;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__content { max-width: 680px; margin: 0 auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__visual { min-height: 480px; }

  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 460px; }
  .about__gallery {
    aspect-ratio: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .about__photo--main { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .about__photo--a, .about__photo--b { grid-column: 1; grid-row: auto; aspect-ratio: 3 / 2; }
  .about__badge { right: 14px; bottom: 14px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-template-columns: repeat(2, 1fr); }

  .benefits__grid { grid-template-columns: 1fr; gap: 40px; }

  .lead__grid { grid-template-columns: 1fr; gap: 40px; }
  .lead__card { padding: 44px 40px 40px; }
}

/* Мобильная навигация появляется раньше, чем ломается верстка hero */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    top: 72px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(216, 180, 99, .22);
    border-radius: 16px;
    background: rgba(10, 8, 14, .97);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: 12px 10px; }
  .nav__cta { justify-content: center; margin-top: 6px; }
}

/* Телефон */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding: 72px var(--gutter); }

  .header { padding: 14px var(--gutter); }
  .brand__name { font-size: 17px; letter-spacing: .16em; }

  .hero { padding: 110px var(--gutter) 64px; }
  .hero__lead { font-size: 16px; }
  .hero__stats { gap: 28px; }
  .stat__num { font-size: 30px; }
  .hero__visual { min-height: 400px; }
  .portrait--float { width: 240px; height: 342px; }
  .orbit--inner { width: 320px; height: 320px; }
  .orbit--outer { width: 400px; height: 400px; }

  .btn { padding: 16px 26px; font-size: 14px; }

  .deck { gap: 8px; }
  .tarot { min-width: 52px; flex-basis: 66px; }
  .tarot:hover { transform: translateY(-12px) scale(1.03); }
  .tarot__sign { font-size: 26px; }
  .tarot__title { font-size: 13px; margin-top: 8px; }
  .tarot__badge { width: 40px; height: 40px; font-size: 14px; }
  .draw__result { padding: 26px 22px; }

  .about__badge { right: 14px; bottom: -20px; padding: 16px 20px; }
  .facts { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: 1fr; }
  .situations__grid { grid-template-columns: 1fr; }

  /* Отзывы — на телефоне идут вниз (без слайдера) */
  .reviews__track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reviews__more { margin-top: 26px; }
  .reviews__more-btn { width: 100%; }
  .section-head { margin-bottom: 40px; }
  .section-head__note { max-width: none; }
  .rating { align-items: flex-start; }

  .lead__card { padding: 30px 20px; }

  .faq-item__head { padding: 22px 20px; gap: 16px; }
  .faq-item__q { font-size: 16px; }
  .faq-item__body > p { padding: 0 20px; }
  .faq-item.is-open .faq-item__body > p { padding-bottom: 22px; }

  .footer { flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }

  .dock { right: 14px; bottom: 14px; gap: 10px; }
  .dock__btn { width: 50px; height: 50px; font-size: 18px; }
  .dock__btn--wa { width: 56px; height: 56px; }
  .dock__btn--wa svg { width: 26px; height: 26px; }

  .modal__card { padding: 34px 22px 26px; border-radius: 20px; }
  .modal__title { font-size: 26px; }
  .benefits__ill { width: 58px; height: 58px; margin-bottom: 16px; }

  .offer__inner { grid-template-columns: 1fr; gap: 28px; padding: 34px 24px; text-align: center; }
  .offer__lead { margin-left: auto; margin-right: auto; }
  .offer__eyebrow, .offer__chips, .offer__actions, .offer__meta { justify-content: center; }
  .offer__seal { order: -1; width: 150px; height: 150px; margin: 0 auto; }
  .btn--lg { width: 100%; padding: 18px 28px; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
