/* Даша Фабиан · мини-лендинги · общий стиль */

/* ---------- Палитры страниц ---------- */
:root {
  --bg1: #0b1438; --bg2: #040817; --glow: rgba(88, 128, 230, .22);
  --gold: #d9b968; --gold-l: #f3dfa2; --accent: #a9c4ff; --accent2: #d6e2ff;
  --text: #eef2fb; --muted: #b8c3e2; --btn-text: #0b1438;
  --bar-bg: rgba(6, 11, 32, .9);
  --card: rgba(255, 255, 255, .04);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
.t-drevo {
  --bg1: #0d4a3a; --bg2: #06261d; --glow: rgba(46, 140, 108, .35);
  --gold: #d4b46a; --gold-l: #f3dfa2; --accent: #d4b46a; --accent2: #f3dfa2;
  --text: #f1efe6; --muted: #c9d6cf; --btn-text: #06261d;
  --bar-bg: rgba(6, 38, 29, .9);
}
.t-gipnoz {
  --bg1: #3a0d17; --bg2: #1c060b; --glow: rgba(122, 31, 46, .55);
  --gold: #d6b26a; --gold-l: #f3dfa2; --accent: #a8334a; --accent2: #d8c2bd;
  --text: #f5ece8; --muted: #d8c2bd; --btn-text: #1c060b;
  --bar-bg: rgba(28, 6, 11, .9);
}
.t-energiya {
  --bg1: #120b26; --bg2: #0a0716; --glow: rgba(167, 116, 240, .25);
  --gold: #e2c27a; --gold-l: #f3dfa2; --accent: #a774f0; --accent2: #4fb6e8;
  --text: #f2eefb; --muted: #c4bddc; --btn-text: #120b26;
  --bar-bg: rgba(10, 7, 22, .9);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%) fixed, var(--bg2);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
  padding-bottom: 120px; /* место под плашку «Напиши мне» */
}
@media (min-width: 768px) { body { font-size: 18px; padding-bottom: 40px; } }
img { max-width: 100%; display: block; }
a { color: var(--gold-l); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; position: relative; }

/* ---------- Шапка ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 64px 0 40px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; z-index: -2;
  left: 50%; top: -10%;
  width: 140vw; max-width: 1100px; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
  pointer-events: none;
}
.kicker {
  font: 500 13px/1 var(--sans);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  padding-left: .38em;
}
h1 {
  font: 600 clamp(46px, 14vw, 104px)/1 var(--serif);
  color: var(--gold-l);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
h1.long { font-size: clamp(38px, 10.5vw, 76px); line-height: 1.05; }
.sub {
  font: italic 500 clamp(22px, 6vw, 30px)/1.3 var(--serif);
  color: var(--text);
  margin: 0 auto 20px;
  max-width: 560px;
}
.facts {
  font: 500 13px/1.7 var(--sans);
  letter-spacing: .2em;
  color: var(--muted);
  margin: 0 0 32px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--btn-text);
  font: 600 14px/1.25 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid var(--gold);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .6), 0 0 0 0 transparent;
  transition: transform .2s, box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 34px -10px rgba(0, 0, 0, .7), 0 0 24px -4px var(--gold); }
.btn:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--gold-l); margin-top: 14px; }
.btn.ghost:hover { background: rgba(255, 255, 255, .05); }
@media (min-width: 768px) { .btn { width: auto; min-width: 360px; display: inline-flex; } .btn-col .btn { display: flex; width: 100%; } }
.btn-col { max-width: 420px; margin: 0 auto; }
.hint { font-size: 14px; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* ---------- Разделитель ∞ ---------- */
.div {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  max-width: 440px; margin: 0 auto; padding: 8px 20px;
  color: var(--gold);
  font: 400 22px/1 var(--serif);
}
.div::before, .div::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: .7;
}
.div::after { background: linear-gradient(270deg, transparent, var(--gold)); }

/* ---------- Секции ---------- */
section { padding: 44px 0; }
h2 {
  font: 600 clamp(30px, 8vw, 40px)/1.15 var(--serif);
  color: var(--gold);
  text-align: center;
  margin: 0 0 22px;
}
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lead { text-align: center; }
.small { font-size: 15px; color: var(--muted); }

/* Списки */
.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding-left: 28px; margin: 0 0 14px; }
.list li::before {
  content: "◆"; position: absolute; left: 2px; top: .05em;
  color: var(--gold); font-size: 12px; line-height: inherit;
}
.list li:last-child { margin-bottom: 0; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 22px 62px;
  min-height: 44px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font: 600 22px/1 var(--serif);
  color: var(--gold-l);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 22px; top: 44px; bottom: 2px;
  width: 1px; background: linear-gradient(var(--gold), transparent); opacity: .45;
}
.steps b, .list b { color: var(--gold-l); font-weight: 500; }

/* ---------- Цены ---------- */
.prices { display: grid; gap: 16px; justify-content: center; }
.prices.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .prices.two { grid-template-columns: 1fr 1fr; } }
.price {
  position: relative;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 20px;
  padding: 30px 22px 28px;
  text-align: center;
  max-width: 420px; width: 100%;
  margin: 0 auto;
  display: flex; flex-direction: column;
}
.price .meta { flex-grow: 1; }
.price h3 { font: 600 28px/1.15 var(--serif); color: var(--gold-l); margin: 0 0 8px; }
.price .meta { font-size: 15px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.price .old { font: 500 24px/1 var(--serif); color: var(--muted); margin: 0 0 6px; }
.price .old s { text-decoration-thickness: 1.5px; text-decoration-color: var(--gold); }
.price .sum { font: 600 54px/1 var(--serif); color: var(--gold-l); margin: 0; }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px;
  background: var(--bg2); border: 1px solid var(--gold);
  font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.pay {
  font: italic 300 14px/1.5 var(--sans);
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  text-align: center;
  margin: 18px 0 0;
}

/* Строки цен (гипноз, как в буклете) */
.rows { border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
}
.row .name { font: 600 24px/1.2 var(--serif); color: var(--text); }
.row .name small { display: block; font: 400 14px/1.4 var(--sans); color: var(--muted); margin-top: 4px; }
.row .cost { text-align: right; flex-shrink: 0; }
.row .cost b { display: block; font: 600 40px/1 var(--serif); color: var(--gold-l); }
.row .cost small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Выделенная карточка */
.box {
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  padding: 32px 22px;
  background: color-mix(in srgb, var(--gold) 6%, transparent);
  text-align: center;
  box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent);
}
.box .facts { margin: 18px 0 24px; }

.note {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  font-size: 15px; color: var(--muted);
}
.note h3 { font: 600 22px/1.2 var(--serif); color: var(--gold); margin: 0 0 8px; }

/* ---------- Обо мне ---------- */
.about { text-align: center; }
.photo {
  width: 168px; height: 168px; border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  padding: 5px;
  margin: 0 auto 22px;
  background: transparent;
}
.creds { font-size: 13px; line-height: 1.6; color: var(--muted); letter-spacing: .02em; margin-top: 18px; }

/* ---------- Финал ---------- */
.final { text-align: center; padding: 56px 0 48px; }
.final .phrase {
  font: italic 500 clamp(28px, 7.5vw, 40px)/1.25 var(--serif);
  color: var(--gold-l);
  margin: 0 auto 30px; max-width: 560px;
}
.final .tg { font-size: 15px; color: var(--muted); margin: 18px auto 0; max-width: 480px; }
.final .tg a { color: var(--gold-l); text-decoration: none; font-weight: 500; }

/* ---------- Подвал ---------- */
footer {
  text-align: center;
  padding: 28px 0 40px;
  border-top: 1px solid color-mix(in srgb, var(--gold) 25%, transparent);
  font-size: 14px; color: var(--muted);
}
footer .pay { margin: 0 0 14px; }
footer a { color: var(--gold); text-decoration: none; }
footer .channel { display: inline-block; padding: 10px 4px; font-size: 15px; }
footer .others { margin-top: 10px; font-size: 13px; line-height: 2; }
footer .others a { margin: 0 6px; white-space: nowrap; color: var(--muted); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 50%, transparent); text-underline-offset: 3px; }

@media (max-width: 359px) { .btn { letter-spacing: .08em; padding: 14px 16px; } }

/* ---------- Плашка «Напиши мне» ---------- */
.bar {
  position: fixed; z-index: 50;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  grid-template-areas: "ph tx bt" "nt nt nt";
  align-items: center;
  column-gap: 12px; row-gap: 6px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--bar-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  transform: translateY(110%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.bar.show { transform: none; opacity: 1; }
.bar img { grid-area: ph; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.bar .tx { grid-area: tx; font: 500 14px/1.3 var(--sans); color: var(--text); }
.bar .tx span { display: block; white-space: nowrap; }
nobr, .nw { white-space: nowrap; }
.bar .tx span + span { color: var(--gold-l); }
.bar .nt { grid-area: nt; font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; }
.bar .btn { grid-area: bt; width: auto; min-width: 0; min-height: 52px; padding: 10px 18px; font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
@media (min-width: 768px) {
  .bar {
    left: auto; right: 24px; bottom: 24px;
    width: 380px;
    border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
    border-radius: 28px;
    padding: 14px 16px 12px;
    box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .7);
    transform: translateY(30px) scale(.96);
  }
  .bar.show { transform: none; }
  .bar img { width: 46px; height: 46px; }
  .bar { grid-template-columns: 46px 1fr auto; }
}

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Корневая страница ---------- */
.cards { display: grid; gap: 16px; padding-bottom: 40px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  display: block; text-decoration: none; color: var(--text);
  border-radius: 20px; padding: 26px 22px;
  border: 1px solid rgba(226, 194, 122, .45);
  transition: transform .2s, box-shadow .3s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 0 30px -8px rgba(226, 194, 122, .5); }
.card h3 { font: 600 30px/1.1 var(--serif); color: #f3dfa2; margin: 0 0 8px; }
.card p { font-size: 15px; color: rgba(255, 255, 255, .78); margin: 0 0 14px; }
.card span { font: 500 12px/1 var(--sans); letter-spacing: .18em; color: #e2c27a; }
.card.c1 { background: linear-gradient(160deg, #0b4a5a, #06303a); }
.card.c2 { background: linear-gradient(160deg, #0d4a3a, #06261d); }
.card.c3 { background: linear-gradient(160deg, #3a0d17, #1c060b); }
.card.c4 { background: linear-gradient(160deg, #1e1440, #0a0716); }

/* =================================================
   Декор страниц
   ================================================= */

/* Разговор с душой: блики */
.sparks span {
  position: absolute; z-index: -1;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(127, 224, 216, .55);
  opacity: .15;
  animation: twinkle 5s ease-in-out infinite;
}
.sparks span:nth-child(1) { left: 12%; top: 18%; animation-delay: 0s; }
.sparks span:nth-child(2) { left: 84%; top: 14%; animation-delay: 1.2s; width: 4px; height: 4px; }
.sparks span:nth-child(3) { left: 72%; top: 46%; animation-delay: 2.4s; }
.sparks span:nth-child(4) { left: 20%; top: 58%; animation-delay: 3.1s; width: 4px; height: 4px; background: var(--accent2); }
.sparks span:nth-child(5) { left: 50%; top: 8%;  animation-delay: 1.8s; width: 3px; height: 3px; }
.sparks span:nth-child(6) { left: 90%; top: 66%; animation-delay: 4s; width: 3px; height: 3px; background: var(--accent2); }
.sparks span:nth-child(7) { left: 6%;  top: 82%; animation-delay: .6s; width: 3px; height: 3px; }
@keyframes twinkle { 0%, 100% { opacity: .1; transform: scale(.7); } 50% { opacity: .75; transform: scale(1.15); } }

/* Древо: двойная рамка (десктоп) и дерево */
@media (min-width: 900px) {
  .t-drevo::before, .t-drevo::after {
    content: ""; position: fixed; pointer-events: none; z-index: 40;
    border: 1px solid rgba(212, 180, 106, .55);
  }
  .t-drevo::before { inset: 16px; }
  .t-drevo::after { inset: 24px; border-color: rgba(212, 180, 106, .3); }
}
.tree {
  position: absolute; z-index: -1;
  left: 50%; top: 10px; transform: translateX(-50%);
  width: min(560px, 120vw); height: auto;
  opacity: .13;
  pointer-events: none;
}

/* Гипноз: спираль */
.spiral {
  position: absolute; z-index: -1;
  left: 50%; top: 20px;
  width: min(520px, 115vw); aspect-ratio: 1;
  margin-left: calc(min(520px, 115vw) / -2);
  opacity: .14;
  animation: spin 60s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Энергия: радужное сияние */
.aurora {
  position: absolute; z-index: -1;
  left: 50%; top: 40px;
  width: min(620px, 130vw); aspect-ratio: 1;
  margin-left: calc(min(620px, 130vw) / -2);
  border-radius: 50%;
  background: conic-gradient(from 0deg, #e5484d, #f2883a, #f5c84b, #4cc38a, #4fb6e8, #5b6cf0, #a774f0, #e5484d);
  filter: blur(80px);
  opacity: .33;
  animation: spin 20s linear infinite;
  pointer-events: none;
}
.t-energiya h1 { text-shadow: 0 2px 30px rgba(10, 7, 22, .8); }
.t-energiya .btn { position: relative; }
.t-energiya .btn::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
  background: linear-gradient(90deg, #e5484d, #f2883a, #f5c84b, #4cc38a, #4fb6e8, #5b6cf0, #a774f0);
  opacity: 0; transition: opacity .3s;
}
.t-energiya .btn:hover::before { opacity: 1; }
.t-energiya .btn { isolation: isolate; }

/* Программа: чакры снизу вверх */
.chakras {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column-reverse;
  position: relative;
}
.chakras::before {
  content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 2px;
  background: linear-gradient(0deg, #e5484d, #f2883a, #f5c84b, #4cc38a, #4fb6e8, #5b6cf0, #a774f0);
  opacity: .5; border-radius: 2px;
}
.chakras li { position: relative; padding: 10px 0 10px 50px; }
.chakras li::before {
  content: ""; position: absolute; left: 6px; top: 16px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 14px 3px var(--c);
}
.chakras b { color: var(--gold-l); font-weight: 500; }
.chakras .n { color: var(--muted); font-size: 14px; margin-right: 6px; }

/* ---------- Без анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Изящная подсказка «нажми»: блик и мягкое свечение ---------- */
.btn:not(.ghost) {
  background-image: linear-gradient(105deg, transparent 38%, rgba(255, 250, 230, .75) 50%, transparent 62%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 130% 0;
  animation: shine 3.6s ease-in-out infinite, glow 3.6s ease-in-out infinite;
}
.btn.ghost {
  background-image: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--gold-l) 22%, transparent) 50%, transparent 60%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 130% 0;
  animation: shine 3.6s ease-in-out infinite;
  animation-delay: .4s;
}
@keyframes shine {
  0%, 55% { background-position: 130% 0; }
  85%, 100% { background-position: -30% 0; }
}
@keyframes glow {
  0%, 50%, 100% { box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .6), 0 0 0 0 color-mix(in srgb, var(--gold) 45%, transparent); }
  80%           { box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .6), 0 0 0 9px transparent; }
}

/* ---------- Разговор с душой: звёздное небо с созвездиями ---------- */
.sky-wrap { position: fixed; inset: -8px; z-index: -1; pointer-events: none; filter: blur(0.8px); will-change: transform; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-d { display: none; }
@media (min-aspect-ratio: 1/1) { .sky-m { display: none; } .sky-d { display: block; } }
.sky .cn line { stroke: #e9d9a8; stroke-width: .6; opacity: .22; stroke-linecap: round; }
.sky .cn text { font: italic 500 11px var(--serif); fill: #e9d9a8; opacity: .38; letter-spacing: .06em; }
.sky-d .cn text { font-size: 15px; }
.sky .tw { animation: star 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes star {
  0%, 100% { opacity: .55; transform: scale(.82) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.12) rotate(6deg); }
}
.t-dusha .hero::before { background: radial-gradient(circle, rgba(88, 128, 230, .22) 0%, transparent 60%); }
