/* ==========================================================================
   Восстановление — общие стили
   Палитра и типографика по макету: тёплый крем, слива, золото, акварель.
   ========================================================================== */

:root {
  --bg: #f8f0e9;
  --bg2: #f2e5db;
  --paper: #fdf9f5;
  --line: #ead9cd;
  --ink: #3e2c25;
  --ink2: #6f5a50;
  --muted: #a08a7f;
  --plum: #b9785f;      /* главный акцент: терракотовая роза (кнопки, акцентные слова) */
  --plum2: #a6654d;     /* акцент при наведении */
  --mauve: #d3a593;
  --lilac: #ecd3c6;
  --rose: #f0d2c6;
  --gold: #c39c72;
  --gold2: #dcc0a0;
  --sage: #aab396;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --script: 'Great Vibes', 'Segoe Script', cursive;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow: 0 22px 44px -26px rgba(60, 35, 50, .45);
  --shadow-sm: 0 10px 24px -16px rgba(60, 35, 50, .4);
  --wrap: 1200px;
  --header-h: 84px;

  /* Акварельный фон: 4 пятна + подложка. Варианты .art--* меняют только цвета. */
  --a1: rgba(232, 200, 160, .55);
  --a2: rgba(226, 170, 150, .55);
  --a3: rgba(240, 208, 196, .85);
  --a4: rgba(255, 250, 245, .95);
  --base1: #fbf3ec;
  --base2: #f0dccf;
  --base3: #e2bfae;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 860px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- Типографика ---------- */
.kicker {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink2); font-weight: 500; display: block;
}
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; color: var(--ink); }
.h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; letter-spacing: .01em; }
.h2 { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.12; letter-spacing: .02em; }
.h3 { font-size: 18px; line-height: 1.3; letter-spacing: .08em; font-weight: 600; }
.script {
  display: block; font-family: var(--script); text-transform: none; font-weight: 400;
  color: var(--plum); letter-spacing: 0; line-height: 1.12; font-size: 1.12em;
}
.h2 .script { font-size: 1.12em; }
.h1 .script { font-size: .74em; margin-top: .18em; }
.h1 em, .h2 em { font-style: normal; color: var(--plum); }
.lead { color: var(--ink2); font-size: 16px; max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.prose p + p { margin-top: 1em; }
.prose h3 { margin: 1.8em 0 .6em; }
.prose ul { margin: .8em 0 1em 1.2em; }
.prose li { margin: .3em 0; }
.prose strong { font-weight: 600; color: var(--plum); }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--alt { background: var(--bg2); }
.section-head { margin-bottom: 48px; }
.section-head .kicker { margin-bottom: 12px; }
.section-head .lead { margin-top: 16px; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section--tight { padding: 44px 0; } }

.divider { width: 64px; height: 1px; background: var(--gold); margin: 22px 0; }
.center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--plum); color: #fff; border: 1px solid var(--plum); border-radius: 2px;
  padding: 17px 32px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
  font-family: var(--sans); line-height: 1.2; text-align: center;
}
.btn:hover { background: var(--plum2); border-color: var(--plum2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(58, 44, 51, .45); }
.btn--ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn--light { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn--light:hover { background: var(--plum2); border-color: var(--plum2); }
.btn--sm { padding: 12px 20px; font-size: 10.5px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink); cursor: pointer;
  background: none; border: 0; padding: 4px 0;
}
.link-arrow span { border-bottom: 1px solid rgba(58, 44, 51, .4); padding-bottom: 2px; }
.link-arrow .arrow { width: 30px; height: 10px; transition: transform .25s; }
.link-arrow:hover .arrow { transform: translateX(6px); }
.link-arrow--light { color: var(--ink); }

.icon { display: inline-block; width: 1em; height: 1em; flex: none; }
.icon svg, svg.arrow { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- Акварельные «картины» (замена фото) ---------- */
.art {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--base2);
  background-image:
    radial-gradient(ellipse 55% 45% at 72% 28%, var(--a1), transparent 62%),
    radial-gradient(ellipse 70% 60% at 22% 74%, var(--a2), transparent 66%),
    radial-gradient(ellipse 50% 42% at 84% 82%, var(--a3), transparent 70%),
    radial-gradient(ellipse 60% 70% at 12% 10%, var(--a4), transparent 62%),
    linear-gradient(135deg, var(--base1), var(--base2) 55%, var(--base3));
}
.art::before { /* бумажная фактура */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.art::after { /* золотые прожилки */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23d8b77e' stroke-linecap='round'%3E%3Cpath d='M-20 230 C 70 170, 150 270, 250 160 S 370 70, 430 95' stroke-width='1.6' opacity='.85'/%3E%3Cpath d='M-10 250 C 90 200, 170 290, 260 185 S 380 100, 430 120' stroke-width='.7' opacity='.6'/%3E%3Cpath d='M120 -10 C 150 60, 110 120, 170 170' stroke-width='.8' opacity='.5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.art:has(> img)::after { display: none; }
.summary > .art > img, .banner > .art > img { opacity: .75; }
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.art--gold  { --a1: rgba(236, 206, 160, .7); --a2: rgba(222, 176, 150, .45); --a3: rgba(214, 180, 150, .8); --base1: #f3e8dc; --base2: #ecd8c2; --base3: #d8b896; }
.art--rose  { --a1: rgba(240, 206, 196, .8); --a2: rgba(220, 160, 150, .45); --a3: rgba(221, 180, 175, .9); --base1: #f6ece6; --base2: #f0d6cf; --base3: #ddb2a8; }
.art--night { --a1: rgba(228, 200, 170, .6); --a2: rgba(214, 190, 205, .55); --a3: rgba(236, 214, 222, .9); --a4: rgba(255, 250, 247, .95); --base1: #fbf4f1; --base2: #eedcdc; --base3: #d9bcc0; }
.art--sage  { --a1: rgba(232, 214, 176, .7); --a2: rgba(170, 182, 150, .45); --a3: rgba(170, 180, 155, .9); --base1: #eef0e6; --base2: #e2e5d4; --base3: #c3c9ae; }
.art--cream { --a1: rgba(226, 196, 150, .45); --a2: rgba(230, 190, 175, .4); --a3: rgba(225, 205, 200, .9); --base1: #faf5f0; --base2: #ebdfd8; --base3: #c7b0bf; }

.art-mark { /* декоративный символ в центре картины */
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; color: rgba(185, 120, 95, .45);
}
.art-mark .icon { width: 30%; height: 30%; max-width: 120px; max-height: 120px; }
.art-mark .icon svg { stroke-width: .6; }

/* ---------- Шапка ---------- */
#site-header { min-height: var(--header-h); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  /* Всегда светлая подложка: меню читается поверх любого фото */
  background: rgba(248, 240, 233, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(234, 217, 205, .7);
  transition: box-shadow .3s, height .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(90, 60, 50, .4); --header-h: 70px; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 44px; height: 44px; flex: none; overflow: visible; fill: none; stroke: var(--plum); color: var(--plum); stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: flex; flex-direction: column; gap: 3px; }
.logo__name { font-family: var(--serif); font-size: 19px; letter-spacing: .3em; line-height: 1; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.logo__role { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.header-cta { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: 100px 32px 40px; background: var(--bg); margin: 0;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-family: var(--serif); font-size: 25px; letter-spacing: .05em; padding: 6px 0; }
  .nav .nav__cta { margin-top: 24px; font-family: var(--sans); font-size: 11.5px; padding: 16px 28px; color: #fff; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter делает шапку контейнером для fixed-меню — при открытом меню снимаем */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); box-shadow: none; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
}
@media (min-width: 1121px) { .nav .nav__cta, .nav .nav__link-extra { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(760px, 92vh); display: flex; align-items: center; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; }
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: max(44%, calc(50% - 600px + 520px)); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.hero__media .art { position: absolute; inset: 0; }
.hero > .wrap { width: 100%; }
.hero__content { position: relative; z-index: 2; max-width: 560px; }
.hero__content .kicker { margin-bottom: 26px; }
.hero__content .lead { margin: 26px 0 38px; }
.hero--page { min-height: 520px; }
.hero--page .hero__content { max-width: 620px; }
@media (max-width: 860px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .hero__media { position: relative; left: 0; height: 340px; order: 2; margin-top: 40px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%); mask-image: linear-gradient(180deg, transparent 0, #000 28%); }
}

/* ---------- Ряд принципов (4 колонки с разделителями) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.pillar { padding: 8px 26px; position: relative; }
.pillar + .pillar::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.pillar .icon { width: 38px; height: 38px; color: var(--plum2); margin-bottom: 16px; }
.pillar h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; font-family: var(--sans); margin-bottom: 8px; }
.pillar p { font-size: 13px; color: var(--ink2); line-height: 1.6; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .pillar:nth-child(3)::before { display: none; }
}
@media (max-width: 480px) { .pillar { padding: 8px 12px; } }

/* ---------- Сплит: картинка + текст ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 460px; }
.split__media { min-height: 380px; }
.split__media .art { height: 100%; min-height: 380px; }
.split__body { padding: 64px 7%; display: flex; flex-direction: column; justify-content: center; position: relative; background: var(--bg2); }
.split__body::before { /* мазок кистью */
  content: ''; position: absolute; inset: 8% 6% 8% 0; z-index: 0; opacity: .7; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='.02 .3' numOctaves='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='26'/%3E%3C/filter%3E%3Cpath d='M20 40 Q200 10 390 50 L380 260 Q200 290 10 250 Z' fill='%23fbf8f5' filter='url(%23r)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.split__body > * { position: relative; z-index: 1; }
.split__body .kicker { margin-bottom: 14px; }
.split__body .h2 { margin-bottom: 22px; }
.split__body .lead { margin-bottom: 26px; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__body { padding: 48px 24px; }
}

/* ---------- Карточки направлений ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cards > * { min-width: 0; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--paper); border: 1px solid rgba(221, 208, 200, .7); display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s; text-align: center;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; position: relative; }
.card__media .art { position: absolute; inset: 0; }
.card__body { padding: 26px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; line-height: 1.5; }
.card__body p { font-size: 13px; color: var(--ink2); line-height: 1.65; flex: 1; }
.card__body .link-arrow { margin: 20px auto 0; font-size: 10.5px; }
.card--left { text-align: left; }
.card--left .card__body .link-arrow { margin-left: 0; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards--3, .cards--2 { grid-template-columns: minmax(0, 1fr); } }

/* Информационная плитка без картинки */
.tile { background: var(--paper); border: 1px solid rgba(221, 208, 200, .8); padding: 34px 30px; position: relative; }
.tile .icon { width: 34px; height: 34px; color: var(--plum2); margin-bottom: 18px; }
.tile h3 { font-family: var(--serif); font-size: 22px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; margin-bottom: 10px; line-height: 1.2; }
.tile p, .tile li { font-size: 13.5px; color: var(--ink2); }
.tile ul { list-style: none; margin-top: 12px; }
.tile li { padding: 7px 0 7px 18px; border-top: 1px solid var(--line); position: relative; }
.tile li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.tile__num { position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-size: 44px; color: var(--lilac); line-height: 1; }

/* ---------- Баннер на акварели ---------- */
.banner { position: relative; color: var(--ink); padding: 84px 0; overflow: hidden; }
.banner > .art { position: absolute; inset: 0; }
.banner .wrap { position: relative; z-index: 1; }
.banner .h2 { color: var(--ink); }
.banner .script { color: var(--plum); }
.banner .lead, .banner p { color: var(--ink2); }
.banner .kicker { color: var(--ink2); }
.banner .wrap > *:not(.steps) { max-width: 640px; }

/* Шаги ритуала */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 44px 0; counter-reset: s; }
.step { padding: 0 28px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step__n { font-family: var(--script); font-size: 52px; color: var(--plum); line-height: 1; margin-bottom: 10px; }
.step h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink2); }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step { padding: 0; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* ---------- Три мира ---------- */
.worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.world { position: relative; padding: 40px 30px 34px; background: var(--paper); border: 1px solid var(--line); text-align: center; overflow: hidden; }
.world__orb { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; color: var(--plum); box-shadow: var(--shadow-sm); }
.world__orb .icon { width: 42px; height: 42px; position: relative; z-index: 1; }
.world .kicker { margin-bottom: 8px; color: var(--gold); }
.world h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.world p { font-size: 13.5px; color: var(--ink2); }
@media (max-width: 900px) { .worlds { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Отзывы ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.quote { position: relative; padding-left: 26px; }
.quote::before { content: '“'; position: absolute; left: 0; top: -14px; font-family: var(--serif); font-size: 54px; color: var(--plum2); line-height: 1; }
.quote p { font-size: 14px; color: var(--ink2); margin-bottom: 16px; }
.quote cite { font-style: normal; font-size: 12.5px; color: var(--ink); }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--bg2); border-top: 1px solid var(--line); color: var(--ink2); padding: 72px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; }

.site-footer h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { color: var(--plum); }
.footer-tagline { font-family: var(--script); font-size: 30px; color: var(--plum); margin: 18px 0 8px; line-height: 1.2; }
.footer-note { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-note p { max-width: 760px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 28px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; display: grid; justify-items: center; }
  .footer-brand .footer-tagline { margin: 12px 0 0; }
  .footer-contacts { grid-column: 1 / -1; text-align: center; border-top: 1px solid var(--line); padding-top: 24px; }
  .footer-contacts ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
  .footer-contacts li { margin: 0; }
}
/* Телефон: логотип по центру, две колонки ссылок рядом, контакты строкой ниже */
@media (max-width: 560px) {
  .site-footer { padding: 44px 0 24px; font-size: 13px; }
  .footer-grid { gap: 28px 18px; }
  .footer-brand .footer-tagline { font-size: 26px; }
  .site-footer h4 { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 10px; }
  .site-footer li { margin: 0; padding: 5px 0; line-height: 1.35; }
  .footer-contacts ul { gap: 2px 18px; }
  .footer-note { margin-top: 28px; text-align: center; justify-content: center; }
}

/* ---------- Мелочи ---------- */
.note {
  border-left: 2px solid var(--gold); background: rgba(216, 183, 126, .12); padding: 18px 22px;
  font-size: 13.5px; color: var(--ink2);
}
.note strong { color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); background: var(--paper); padding: 9px 18px; border-radius: 40px; cursor: pointer;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; transition: .2s;
}
.chip:hover { border-color: var(--mauve); }
.chip.is-active { background: var(--plum); color: #fff; border-color: var(--plum); }
.tag { display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--plum2); border: 1px solid var(--lilac); padding: 3px 9px; border-radius: 20px; margin: 0 4px 4px 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Формы */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label, .label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink2); }
.input, .textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; border-radius: 2px; font-size: 15px;
  transition: border-color .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--mauve); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

/* Появление при прокрутке: блоки видимы сразу, при входе в экран — лёгкий подъём */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.reveal.in { animation: rise .8s ease both; }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } html { scroll-behavior: auto; } }

/* Подтверждение на странице */
.confirm {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(440px, calc(100% - 32px)); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 22px 24px; display: grid; gap: 16px; font-size: 14px;
}
.confirm .btn-row { gap: 12px; }

/* Плавающая цитата / пословица */
.saying { font-family: var(--script); font-size: clamp(26px, 3.4vw, 40px); color: var(--plum2); line-height: 1.3; }

/* ==========================================================================
   Таро — карты, колоды, расклад
   ========================================================================== */
.tcard { --w: 150px; width: var(--w); aspect-ratio: 5 / 8.4; perspective: 1200px; flex: none; }
.tcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .7, .3, 1); }
.tcard.is-flipped .tcard__inner { transform: rotateY(180deg); }
.tcard__side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 28px -14px rgba(40, 20, 35, .55); }
.tcard__face { transform: rotateY(180deg); }

/* Рубашки колод */
.back { border-radius: 10px; border: 1px solid rgba(216, 183, 126, .6); }
.back::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(216, 183, 126, .7); border-radius: 6px; }
.back svg { position: absolute; inset: 0; margin: auto; width: 62%; height: 62%; fill: none; stroke: var(--gold2); stroke-width: .9; opacity: .9; }
.back--classic { background: radial-gradient(circle at 50% 38%, #fbe7dd, #ecc3b2 62%, #d9a48f); }
.back--major { background: radial-gradient(circle at 50% 32%, #f7ecf0, #e2cad3 62%, #c9a9b6); }
.back--healing { background: radial-gradient(circle at 50% 38%, #f3f3e6, #d5dbc3 62%, #b4bc9c); }
.back svg { stroke: #fff; opacity: 1; }
.back::before { border-color: rgba(255, 255, 255, .85); }

/* Лицо карты */
.face { background: #fbf7f1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10% 8% 9%; text-align: center; position: relative; color: var(--ink); }
.face::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(184, 145, 90, .55); border-radius: 6px; pointer-events: none; }
.face__num { font-family: var(--serif); font-size: calc(var(--w) * .13); letter-spacing: .1em; color: var(--gold); line-height: 1; }
.face__art { width: 74%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.face__art svg { width: 76%; height: 76%; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.face__name { font-family: var(--serif); text-transform: uppercase; font-size: calc(var(--w) * .085); letter-spacing: .08em; line-height: 1.15; font-weight: 600; }
.face--classic .face__art { background: radial-gradient(circle at 35% 30%, #f1c7b6, #c98a73); }
.face--major .face__art { background: radial-gradient(circle at 35% 30%, #e9cfd9, #b98d9f); }
.face--healing .face__art { background: radial-gradient(circle at 35% 30%, #dfe3cc, #9aa57f); }

/* Выбор колоды / расклада */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.choice {
  background: var(--paper); border: 1px solid var(--line); padding: 30px 26px 28px; cursor: pointer; text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s; display: flex; flex-direction: column; align-items: center;
}
.choice:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lilac); }
.choice.is-selected { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum), var(--shadow); }
.choice .tcard { --w: 96px; margin-bottom: 20px; }
.choice h3 { font-family: var(--serif); font-size: 22px; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; margin-bottom: 8px; line-height: 1.2; }
.choice p { font-size: 13px; color: var(--ink2); }
.choice .tag { margin-top: 14px; }
.spread-dots { display: flex; gap: 6px; margin-bottom: 20px; height: 60px; align-items: center; }
.spread-dots i { width: 34px; height: 54px; border-radius: 4px; background: linear-gradient(160deg, #fbe7dd, #dcab97); box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }

/* Веер карт */
.fan { position: relative; height: 300px; margin: 30px auto 10px; max-width: 980px; }
.fan .tcard { --w: 110px; position: absolute; left: 50%; top: 40px; cursor: pointer; transform-origin: 50% 160%; transition: transform .45s cubic-bezier(.3, .7, .3, 1), opacity .3s; }
.fan .tcard:hover { z-index: 40 !important; }
.fan .tcard.is-picked { opacity: .18; pointer-events: none; }
@media (max-width: 640px) { .fan { height: 240px; } .fan .tcard { --w: 78px; } }

/* Результат расклада */
.spread-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 20px 0 10px; }
.spread-row .tcard { --w: 190px; }
.spread-slot { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.spread-slot .label { color: var(--gold); }
@media (max-width: 720px) { .spread-row { gap: 12px; } .spread-row .tcard { --w: 104px; } .spread-row.is-single .tcard { --w: 170px; } }

.reading { display: grid; gap: 22px; margin-top: 40px; }
.reading-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 32px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: start; }
.reading-card .tcard { --w: 120px; }
.reading-card .kicker { color: var(--gold); margin-bottom: 4px; }
.reading-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin-bottom: 8px; }
.reading-card .keys { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); margin-bottom: 14px; }
.reading-card p { font-size: 14.5px; color: var(--ink2); margin-bottom: 10px; }
.reading-card p b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .reading-card { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; } .reading-card .tcard { --w: 96px; } }

.daybar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.daybar > div { padding: 20px 22px; }
.daybar > div + div { border-left: 1px solid var(--line); }
.daybar .label { display: block; margin-bottom: 4px; }
.daybar strong { font-family: var(--serif); font-size: 21px; font-weight: 500; display: block; line-height: 1.25; }
.daybar span.muted { font-size: 12.5px; }
@media (max-width: 860px) { .daybar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .daybar > div:nth-child(3) { border-left: 0; } .daybar > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .daybar > div { padding: 16px 14px; } .daybar strong { font-size: 18px; } }

.panel { background: var(--paper); border: 1px solid var(--line); padding: 40px; }
@media (max-width: 640px) { .panel { padding: 26px 20px; } }

.summary { position: relative; color: var(--ink); border: 1px solid var(--line); padding: 40px; overflow: hidden; margin-top: 22px; }
.summary > .art { position: absolute; inset: 0; }
.summary > *:not(.art) { position: relative; z-index: 1; }
.summary .kicker { color: var(--ink2); margin-bottom: 10px; }
.summary p { color: var(--ink2); max-width: 70ch; }
.summary p b { color: var(--ink); }
.summary p + p { margin-top: 10px; }
.summary .script { color: var(--plum); font-size: 38px; margin-bottom: 10px; }

/* Оценка дня */
.mood { display: flex; gap: 10px; flex-wrap: wrap; }
.mood button, .seg button {
  border: 1px solid var(--line); background: var(--bg); padding: 10px 16px; cursor: pointer; border-radius: 30px;
  font-size: 12.5px; transition: .2s; display: inline-flex; align-items: center; gap: 8px;
}
.mood button:hover, .seg button:hover { border-color: var(--mauve); }
.mood button.is-active, .seg button.is-active { background: var(--plum); border-color: var(--plum); color: #fff; }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.mood-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 80;
  background: var(--plum); color: #fff; padding: 14px 26px; font-size: 13px; letter-spacing: .04em; border-radius: 2px;
  transition: .35s; pointer-events: none; box-shadow: var(--shadow);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Мой путь
   ========================================================================== */
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.profile-grid > *, .calc > * { min-width: 0; }
.profile-grid .tile h3 { font-size: 24px; }
@media (max-width: 960px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } }
.matrix-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.matrix-cell { text-align: center; border: 1px solid var(--line); padding: 10px 4px; background: var(--bg); }
.matrix-cell b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--plum); line-height: 1.1; }
.matrix-cell small { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.matrix-cell.is-core { background: var(--plum); border-color: var(--plum); }
.matrix-cell.is-core b, .matrix-cell.is-core small { color: #fff; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.stats > div { padding: 24px; text-align: center; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--plum); line-height: 1.1; }
.stats span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.moodchart { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 10px 0 0; border-bottom: 1px solid var(--line); }
.moodchart i { flex: 1; max-width: 34px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--rose), var(--mauve)); min-height: 4px; position: relative; }
.moodchart i.is-empty { background: var(--line); }
.moodchart-labels { display: flex; gap: 6px; font-size: 10px; color: var(--muted); margin-top: 6px; }
.moodchart-labels span { flex: 1; max-width: 34px; text-align: center; }

.timeline { position: relative; margin-top: 10px; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), var(--lilac)); }
.tl-item { position: relative; padding-left: 64px; margin-bottom: 28px; }
.tl-item::before { content: ''; position: absolute; left: 13px; top: 26px; width: 13px; height: 13px; transform: rotate(45deg); background: var(--paper); border: 1px solid var(--gold); }
.tl-card { background: var(--paper); border: 1px solid var(--line); padding: 26px 28px; }
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; margin-bottom: 14px; }
.tl-head h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.tl-cards { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.tl-cards .tcard { --w: 64px; }
.tl-cards .face__name { font-size: 7px; }
.tl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.tl-cols h4 { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.tl-cols p { font-size: 13.5px; color: var(--ink2); }
@media (max-width: 720px) { .tl-cols { grid-template-columns: minmax(0, 1fr); gap: 14px; } .tl-item { padding-left: 46px; } .timeline::before { left: 13px; } .tl-item::before { left: 7px; } .tl-card { padding: 22px 18px; } }

.empty { text-align: center; padding: 70px 24px; border: 1px dashed var(--lilac); background: var(--paper); }
.empty .icon { width: 48px; height: 48px; color: var(--mauve); margin-bottom: 18px; }

/* ==========================================================================
   Дыхательный тренажёр
   ========================================================================== */
.breath { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.breath__stage { aspect-ratio: 1; max-width: 380px; width: 100%; margin: 0 auto; display: grid; place-items: center; position: relative; }
.breath__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--lilac); }
.breath__orb { width: 46%; aspect-ratio: 1; border-radius: 50%; transition-property: transform; transition-timing-function: ease-in-out; transform: scale(.85); box-shadow: 0 30px 60px -30px rgba(75, 50, 66, .7); }
.breath__label { position: absolute; text-align: center; color: var(--ink); pointer-events: none; }
.breath__label b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.breath__label span { font-size: 13px; opacity: .9; }
@media (max-width: 860px) { .breath { grid-template-columns: minmax(0, 1fr); } }

/* Масла */
.oil { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.oil:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.oil__top { display: flex; gap: 18px; align-items: center; padding: 24px 24px 0; }
.oil__drop { width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; }
.oil__drop .icon { width: 24px; height: 24px; }
.oil h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.oil .latin { font-size: 12px; font-style: italic; color: var(--muted); font-family: var(--serif); }
.oil__body { padding: 16px 24px 24px; font-size: 13.5px; color: var(--ink2); flex: 1; display: flex; flex-direction: column; }
.oil__body p { margin-bottom: 10px; }
.oil__body p b { color: var(--ink); font-weight: 600; }
.oil__tags { margin-top: auto; padding-top: 8px; }
.oil.is-hidden { display: none; }
.oils-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
@media (max-width: 1000px) { .oils-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .oils-grid { grid-template-columns: minmax(0, 1fr); } }

/* Таблица использования */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.way { padding: 34px 30px; }
.way + .way { border-left: 1px solid var(--line); }
.way .icon { width: 34px; height: 34px; color: var(--plum2); margin-bottom: 14px; }
.way h3 { font-family: var(--serif); font-size: 22px; text-transform: uppercase; font-weight: 500; letter-spacing: .05em; margin-bottom: 8px; }
.way p { font-size: 13.5px; color: var(--ink2); }
@media (max-width: 860px) { .ways { grid-template-columns: minmax(0, 1fr); } .way + .way { border-left: 0; border-top: 1px solid var(--line); } }

/* Заговоры */
.charm { background: var(--paper); border: 1px solid var(--line); padding: 40px 36px 34px; position: relative; text-align: center; }
.charm::before, .charm::after { content: '✦'; position: absolute; top: 16px; color: var(--gold); font-size: 12px; }
.charm::before { left: 20px; } .charm::after { right: 20px; }
.charm .kicker { color: var(--gold); margin-bottom: 8px; }
.charm h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.charm blockquote { font-family: var(--script); font-size: 22px; line-height: 1.5; color: var(--plum2); margin-bottom: 18px; }
.charm .how { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

.proverbs { columns: 2; column-gap: 48px; }
.proverb { break-inside: avoid; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; }
.proverb::before { content: '❧'; position: absolute; left: 0; top: 13px; color: var(--gold); font-size: 18px; }
.proverb b { font-family: var(--serif); font-size: 21px; font-weight: 500; display: block; line-height: 1.3; color: var(--ink); }
.proverb span { font-size: 13px; color: var(--ink2); }
@media (max-width: 760px) { .proverbs { columns: 1; } }

.herbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.herb { text-align: center; }
.herb .art { aspect-ratio: 1; border-radius: 50%; margin-bottom: 14px; }
.herb h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.herb p { font-size: 12.5px; color: var(--ink2); line-height: 1.55; }
@media (max-width: 900px) { .herbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .herbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Упражнения */
.routine { counter-reset: r; list-style: none; }
.routine li { counter-increment: r; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.routine li::before { content: counter(r, decimal-leading-zero); font-family: var(--serif); font-size: 26px; color: var(--gold); }
.routine b { font-weight: 600; display: block; font-size: 14.5px; }
.routine span { font-size: 13.5px; color: var(--ink2); }
.routine em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum2); white-space: nowrap; }
@media (max-width: 520px) { .routine li { grid-template-columns: 40px minmax(0, 1fr); } .routine em { grid-column: 2; } }

/* Калькулятор на странице эзотерики */
.calc { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 1240px) { .calc .profile-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* Таймлайн автора */
.journey { border-left: 1px solid var(--gold); padding-left: 30px; }
.journey li { list-style: none; position: relative; padding-bottom: 26px; }
.journey li::before { content: ''; position: absolute; left: -35px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.journey b { font-family: var(--serif); font-size: 20px; font-weight: 600; display: block; }
.journey span { font-size: 13.5px; color: var(--ink2); }

/* Форматы и цены */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.format { background: var(--paper); border: 1px solid var(--line); padding: 32px 30px; display: flex; flex-direction: column; }
.format h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.format p { font-size: 13.5px; color: var(--ink2); flex: 1; }
.format__meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--plum2); }
@media (max-width: 760px) { .formats { grid-template-columns: minmax(0, 1fr); } }

.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.contact { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 22px 24px; transition: border-color .2s; }
.contact:hover { border-color: var(--mauve); }
.contact .icon { width: 28px; height: 28px; color: var(--plum2); }
.contact small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .contacts { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Протоколы, заказ, консультация
   ========================================================================== */
.protocols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.protocol { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; scroll-margin-top: 100px; }
.protocol__head { padding: 30px 30px 18px; }
.protocol__head .kicker { color: var(--gold); margin-bottom: 6px; }
.protocol__head h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin-bottom: 8px; }
.protocol__head p { font-size: 14px; color: var(--ink2); margin-bottom: 12px; }
.protocol__steps { list-style: none; padding: 0 30px; flex: 1; }
.protocol__steps li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.protocol__steps b { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); font-weight: 600; padding-top: 2px; }
.protocol__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 18px 30px 26px; border-top: 1px solid var(--line); }
.protocol:target { box-shadow: 0 0 0 2px var(--mauve), var(--shadow); }
@media (max-width: 860px) { .protocols { grid-template-columns: minmax(0, 1fr); } .protocol__head, .protocol__steps, .protocol__foot { padding-left: 20px; padding-right: 20px; } }

.oil__add {
  margin-top: 14px; align-self: flex-start; background: none; border: 1px solid var(--lilac); color: var(--plum);
  padding: 8px 14px; border-radius: 30px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: .2s;
}
.oil__add:hover { background: var(--plum); color: #fff; border-color: var(--plum); }

.order-fab {
  position: fixed; z-index: 60; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; background: var(--plum); color: #fff; border: 0; border-radius: 40px;
  padding: 14px 20px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; cursor: pointer; box-shadow: var(--shadow);
}
.order-fab .icon { width: 18px; height: 18px; }
.order-fab b { background: #fff; color: var(--plum); border-radius: 20px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 11px; }

.drawer-wrap { position: fixed; inset: 0; z-index: 95; }
.drawer-veil { position: absolute; inset: 0; background: rgba(90, 60, 50, .25); backdrop-filter: blur(2px); }
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); box-shadow: -20px 0 50px -30px rgba(60, 35, 30, .5);
  display: flex; flex-direction: column; animation: slidein .35s ease;
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: calc(20px + env(safe-area-inset-top, 0px)) 26px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.drawer__close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink2); width: 40px; height: 40px; }
.drawer__body { padding: 22px 26px calc(30px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
body.drawer-open { overflow: hidden; }
.order-list { list-style: none; margin-bottom: 22px; border-top: 1px solid var(--line); }
.order-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-list button { background: none; border: 0; font-size: 20px; color: var(--muted); cursor: pointer; width: 32px; height: 32px; }
.order-list button:hover { color: var(--plum); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.request-done { display: grid; gap: 16px; }
.request-done .textarea { min-height: 180px; font-size: 13.5px; }

.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chips label { cursor: pointer; }
.check-chips input { position: absolute; opacity: 0; pointer-events: none; }
.check-chips span { display: inline-block; border: 1px solid var(--line); background: var(--paper); padding: 8px 16px; border-radius: 30px; font-size: 12.5px; transition: .2s; }
.check-chips input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.check-chips input:focus-visible + span { outline: 2px solid var(--mauve); outline-offset: 2px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 21px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--plum); font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 10px; color: var(--ink2); font-size: 14px; }

/* ==========================================================================
   Стол для таро: колода и места под карты
   ========================================================================== */
.table {
  --cw: 150px;
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 48px 44px; border-radius: 20px; overflow: hidden;
  background: var(--bg2) url(../images/table.jpg) center / cover;
  box-shadow: inset 0 0 90px rgba(170, 120, 95, .22), var(--shadow);
}
.table::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 55% 45%, rgba(255, 251, 246, .25), rgba(236, 214, 198, .4)); }
.table > * { position: relative; }
.table .tcard { --w: var(--cw); }
.table__deck { position: relative; width: var(--cw); aspect-ratio: 5 / 8.4; cursor: pointer; outline: none; transition: transform .25s; }
.table__deck .tcard { position: absolute; inset: 0; }
.table__deck .tcard:nth-child(1) { transform: translate(6px, 6px) rotate(2deg); }
.table__deck .tcard:nth-child(2) { transform: translate(4px, 4px) rotate(-1deg); }
.table__deck .tcard:nth-child(3) { transform: translate(2px, 2px) rotate(1deg); }
.table__deck:hover, .table__deck:focus-visible { transform: translateY(-4px); }
.table__deck:focus-visible .tcard:nth-child(4) .back { outline: 2px solid var(--plum); outline-offset: 3px; }
.table__deck.is-empty { cursor: default; opacity: .55; transform: none; }
.table__hint {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--plum);
  animation: hint 2.4s ease-in-out infinite;
}
.table__deck.is-empty .table__hint { animation: none; color: var(--ink2); }
@keyframes hint { 50% { opacity: .45; } }
.table__slots { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.table__slot { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.table__slot .label { color: var(--ink); background: rgba(253, 249, 245, .75); padding: 3px 12px; border-radius: 20px; }
.table__place { width: var(--cw); aspect-ratio: 5 / 8.4; border: 1.5px dashed rgba(185, 120, 95, .5); border-radius: 10px; background: rgba(255, 255, 255, .3); }
.table__place.is-filled, .table--done .table__place { border-color: transparent; background: none; }
.flyer { position: absolute; left: 0; top: 0; z-index: 5; transition: transform .8s cubic-bezier(.3, .7, .25, 1); }
.flyer .tcard { box-shadow: 0 30px 40px -20px rgba(80, 50, 40, .5); border-radius: 10px; }
#live-reading:empty { display: none; }
@media (max-width: 760px) {
  .table { --cw: 92px; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 46px; padding: 28px 10px 30px; }
  .table__slots { gap: 10px; }
  .table--done .table__deck { display: none; }
}
@media (prefers-reduced-motion: reduce) { .flyer { transition-duration: .01s; } .table__hint { animation: none; } }

/* Фото флакона на карточке масла */
.oil__bottle {
  width: 84px; height: 116px; flex: none; display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(ellipse 60% 22% at 50% 92%, rgba(201, 147, 125, .28), transparent 70%);
}
.oil__bottle img { max-height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.oil__top { align-items: flex-end; }

/* Первый экран главной: настоящие флаконы dōTERRA на шёлке */
.hero-bottles {
  position: absolute; z-index: 2; left: 27%; right: 3%; bottom: 9%;
  display: flex; align-items: flex-end; justify-content: center; gap: 1%;
}
.hero-bottles img {
  width: 31%; height: auto; max-height: 64vh; object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(120, 80, 60, .28)) drop-shadow(0 4px 4px rgba(120, 80, 60, .2));
}
.hero-bottles img:nth-child(2) { width: 38%; }
.hero-bottles img:nth-child(1) { transform: rotate(-3deg); }
.hero-bottles img:nth-child(3) { transform: rotate(3deg); }
@media (max-width: 860px) { .hero-bottles { left: 6%; right: 6%; bottom: 6%; } .hero-bottles img { max-height: 280px; } }

/* ==========================================================================
   Блог
   ========================================================================== */
.post-featured { display: grid; grid-template-columns: 1.25fr minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-featured__video { background: #efe3d8; min-width: 0; }
.post-featured__video video { width: 100%; height: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #efe3d8; }
.post-featured__body { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.post-featured__body .kicker { color: var(--gold); }
.post-featured__body .h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post-featured__body p { font-size: 14px; color: var(--ink2); }
.post-featured__body p b { color: var(--ink); font-weight: 600; }
.post-featured__body .btn-row { margin-top: 10px; gap: 14px 24px; }
@media (max-width: 960px) { .post-featured { grid-template-columns: minmax(0, 1fr); } .post-featured__body { padding: 28px 22px; } }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; min-width: 0; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post[hidden] { display: none; }
.post__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg2); }
.post__media video, .post__poster-img, .post__poster-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post__poster-bg { opacity: .9; }
.post__poster-bottle { position: absolute; left: 50%; bottom: 8%; height: 78%; transform: translateX(-50%); filter: drop-shadow(0 18px 16px rgba(120, 80, 60, .3)); }
.post__media.is-soon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(248, 240, 233, .55)); }
.post__badge {
  position: absolute; z-index: 1; left: 14px; top: 14px; background: rgba(253, 249, 245, .92); color: var(--plum);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 20px;
}
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__body .kicker, .post--article .kicker { color: var(--gold); }
.post h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.post p { font-size: 13.5px; color: var(--ink2); flex: 1; }
.post .oil__add { margin-top: 0; }
.post--article { padding: 28px 26px; gap: 10px; background: linear-gradient(160deg, var(--paper), #f6e9e0); }
.post--article .link-arrow { margin-top: 6px; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Таро 2.0: выбор колоды, веер из всей колоды, стол
   ========================================================================== */
.face--img { background: #fbf7f1; padding: 5px; }
.face--img::before { display: none; }
.face--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.tcard.is-reversed .tcard__face .face { transform: rotate(180deg); }

/* Рубашки: тоньше и наряднее */
.back svg { width: 100%; height: 100%; inset: 0; stroke-width: 1; }
.back--classic { background: radial-gradient(circle at 50% 35%, #f7ddd0, #dfa891 55%, #c1846c); }
.back--major { background: radial-gradient(circle at 50% 30%, #f1e2ea, #cfb0c2 55%, #a78398); }
.back--healing { background: radial-gradient(circle at 50% 35%, #eef0e2, #c3cbac 55%, #95a07d); }

/* Выбор колоды */
.deck-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.deck-opt {
  background: var(--paper); border: 1px solid var(--line); padding: 26px 24px 24px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, box-shadow .25s, transform .25s; border-radius: 4px;
}
.deck-opt:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.deck-opt.is-selected { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum), var(--shadow); }
.deck-opt:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.deck-opt__name { font-family: var(--serif); font-size: 26px; text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; }
.deck-opt__meta { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); font-weight: 600; }
.deck-opt__desc { font-size: 13px; color: var(--ink2); line-height: 1.6; }
.deck-preview { position: relative; height: 170px; display: flex; justify-content: center; align-items: flex-end; }
.deck-preview .tcard { --w: 86px; position: absolute; bottom: 0; left: 50%; transition: transform .4s; }
.deck-preview .tcard:nth-child(1) { transform: translateX(-50%) translate(-62px, 6px) rotate(-14deg); }
.deck-preview .tcard:nth-child(2) { transform: translateX(-50%) translate(-24px, -4px) rotate(-5deg); }
.deck-preview .tcard:nth-child(3) { transform: translateX(-50%) translate(18px, -6px) rotate(5deg); }
.deck-preview .tcard:nth-child(4) { transform: translateX(-50%) translate(58px, 4px) rotate(14deg); }
.deck-opt:hover .deck-preview .tcard:nth-child(1) { transform: translateX(-50%) translate(-74px, 10px) rotate(-18deg); }
.deck-opt:hover .deck-preview .tcard:nth-child(4) { transform: translateX(-50%) translate(70px, 8px) rotate(18deg); }
@media (max-width: 900px) { .deck-pick { grid-template-columns: minmax(0, 1fr); } }

/* Панель опций */
.setup-bar { display: grid; grid-template-columns: 1.4fr minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 26px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); }
.setup-bar__group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.setup-bar .seg button { padding: 9px 14px; font-size: 12.5px; }
@media (max-width: 900px) { .setup-bar { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; } }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13.5px; }
.switch input { position: absolute; opacity: 0; }
.switch__track { width: 46px; height: 26px; border-radius: 20px; background: var(--line); position: relative; transition: background .25s; flex: none; }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: transform .25s; }
.switch input:checked + .switch__track { background: var(--plum); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--mauve); outline-offset: 2px; }

/* Сцена: веер над столом */
.stage { background: linear-gradient(180deg, var(--paper), var(--bg2)); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px 32px; overflow: hidden; }
.stage__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.stage__left { margin-right: auto; font-size: 13px; color: var(--ink2); }
.stage__left b { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--plum); margin-right: 4px; }
.fan2 { --cw: 84px; position: relative; height: 320px; margin: 6px 0 4px; }
.fcard {
  position: absolute; left: 50%; top: 22px; width: var(--cw); padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateX(-50%) rotate(var(--rot, 0deg)) translateY(var(--lift, 0px));
  transition: transform .7s cubic-bezier(.3, .7, .25, 1), opacity .3s;
}
.fcard .tcard { --w: var(--cw); }
.fcard .tcard__side { box-shadow: 0 6px 14px -8px rgba(90, 55, 45, .45); }
.fan2:not(.is-shuffling):not(.is-done) .fcard:hover, .fcard:focus-visible { --lift: -18px; transition-delay: 0ms !important; transition-duration: .25s; }
.fcard:focus-visible { outline: none; }
.fcard:focus-visible .back { outline: 2px solid var(--plum); outline-offset: 2px; }
.fcard.is-taken { opacity: 0; pointer-events: none; }
.fan2.is-done .fcard { cursor: default; opacity: .45; }
.fan2.is-done .fcard.is-taken { opacity: 0; }
.fan2.is-shuffling .fcard { animation: riffle 1.2s ease-in-out; }
.fan2.is-shuffling .fcard:nth-child(odd) { animation-name: riffle-alt; }
@keyframes riffle { 0%, 100% { translate: 0 0; } 30% { translate: -46px 6px; } 60% { translate: 0 0; } 80% { translate: 0 -4px; } }
@keyframes riffle-alt { 0%, 100% { translate: 0 0; } 30% { translate: 46px 6px; } 60% { translate: 0 0; } 80% { translate: 0 -4px; } }
@media (max-width: 640px) { .fan2 { --cw: 54px; } .stage { padding: 18px 12px 24px; border-radius: 14px; } }

.table--slots { grid-template-columns: minmax(0, 1fr); padding: 38px 24px 34px; }
.table__num { font-family: var(--serif); font-size: 34px; color: rgba(185, 120, 95, .55); display: grid; place-items: center; height: 100%; }
.table--slots .table__place { display: grid; }
.flyer2 { position: fixed; left: 0; top: 0; z-index: 70; transform-origin: 0 0; transition: transform .8s cubic-bezier(.3, .7, .25, 1); pointer-events: none; }
.flyer2 .tcard { width: 100%; }
.rev-note { background: rgba(236, 211, 198, .35); border-left: 2px solid var(--mauve); padding: 10px 14px; font-size: 13.5px; }
@media (max-width: 760px) { .table--slots { padding: 26px 8px; } }
@media (prefers-reduced-motion: reduce) { .fan2.is-shuffling .fcard { animation: none; } .fcard, .flyer2 { transition-duration: .01s; } }

/* ==========================================================================
   Калькуляторы: матрица судьбы и астрология
   ========================================================================== */
.crumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-bottom: 22px; }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--plum); }
.calc-box { background: var(--paper); border: 1px solid var(--line); padding: 30px 32px; box-shadow: var(--shadow-sm); border-radius: 4px; }
.calc-tabs { margin-bottom: 22px; }
.calc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 18px; align-items: end; }
.calc-form .btn { margin-bottom: 18px; }
@media (max-width: 640px) { .calc-box { padding: 22px 16px; } }
.table-wrap { overflow-x: auto; }

.mx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .mx-head { grid-template-columns: minmax(0, 1fr); } }
.matrix-svg { width: 100%; max-width: 480px; display: block; margin: 0 auto; }
.mx-orbit { fill: none; stroke: var(--line); stroke-dasharray: 2 5; }
.mx-sq { fill: none; stroke-width: 1.2; }
.mx-sq--1 { stroke: var(--mauve); } .mx-sq--2 { stroke: var(--gold2); }
.mx-axis { stroke: var(--line); }
.mx-love { stroke: var(--plum); stroke-width: 1.4; stroke-dasharray: 4 3; }
.mx-pt circle { stroke-width: 1.4; }
.mx-pt text { font-family: var(--serif); font-size: 17px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.mx-pt--top circle { fill: #f6dcd2; stroke: var(--plum); } .mx-pt--top text { fill: var(--plum2); }
.mx-pt--low circle { fill: #f5e9d7; stroke: var(--gold); } .mx-pt--low text { fill: #8a6a45; }
.mx-pt--rod circle { fill: #f1e6ee; stroke: #b597ad; } .mx-pt--rod text { fill: #7d5f75; }
.mx-pt--in circle { fill: var(--paper); stroke: var(--lilac); } .mx-pt--in text { font-size: 13px; fill: var(--ink2); }
.mx-pt--money circle { fill: #f5e9d7; stroke: var(--gold); } .mx-pt--love circle { fill: #f6dcd2; stroke: var(--plum); }
.mx-pt--money text, .mx-pt--love text { font-size: 14px; fill: var(--ink); }
.mx-pt--core circle { fill: var(--plum); stroke: var(--plum2); } .mx-pt--core text { fill: #fff; font-size: 24px; }
.mx-age { font-size: 11px; fill: var(--muted); text-anchor: middle; dominant-baseline: central; font-family: var(--sans); }
.mx-age.is-now { fill: var(--plum); font-weight: 700; }
.mx-summary .h2 { margin: 10px 0 18px; }
.mx-keys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mx-keys > div { background: var(--paper); padding: 12px 14px; }
.mx-keys dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mx-keys dd { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.mx-keys dd b { color: var(--plum); font-size: 22px; margin-right: 6px; font-weight: 600; }
@media (max-width: 420px) { .mx-keys { grid-template-columns: minmax(0, 1fr); } }
.mx-nav { margin: 44px 0 10px; }
.mx-section { margin-top: 46px; scroll-margin-top: 100px; }
.mx-section > .h3 { font-size: 24px; letter-spacing: .06em; margin-bottom: 18px; }
.mx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .mx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .mx-grid { grid-template-columns: minmax(0, 1fr); } }
.mx-card { background: var(--paper); border: 1px solid var(--line); padding: 22px 22px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; }
.mx-card--wide { grid-column: span 2; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .mx-card--wide { grid-column: auto; } }
.mx-card__num { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #f6dcd2; color: var(--plum2); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.mx-card .kicker { color: var(--gold); font-size: 10px; }
.mx-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; margin: 4px 0 8px; }
.mx-card p { font-size: 13.5px; color: var(--ink2); margin-bottom: 6px; }
.mx-card p b { color: var(--ink); font-weight: 600; }
.mx-card__lead { font-style: italic; font-family: var(--serif); font-size: 16px !important; }
.mx-list { list-style: none; } .mx-list li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.mx-purpose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mx-purpose__item { background: var(--paper); border: 1px solid var(--line); padding: 24px; text-align: center; }
.mx-purpose__item.is-now { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.mx-purpose__item h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; text-transform: uppercase; margin-bottom: 6px; }
.mx-purpose__item p { font-size: 13.5px; color: var(--ink2); }
.mx-big { display: block; font-family: var(--serif); font-size: 48px; color: var(--plum); line-height: 1.1; font-weight: 500; }
@media (max-width: 800px) { .mx-purpose { grid-template-columns: minmax(0, 1fr); } }
.mx-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 14px; min-width: 560px; font-variant-numeric: tabular-nums; }
.mx-table th { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); font-weight: 600; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.mx-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.mx-table td:nth-child(n+3) { font-family: var(--serif); font-size: 19px; color: var(--plum); text-align: center; }
.mx-table th:nth-child(n+3) { text-align: center; }
.mx-table tr.is-total td { background: #f6ebe3; font-weight: 600; }
.mx-timeline { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.mx-tl { background: var(--paper); border: 1px solid var(--line); padding: 12px 6px; text-align: center; }
.mx-tl span { display: block; font-size: 11px; color: var(--muted); }
.mx-tl b { display: block; font-family: var(--serif); font-size: 26px; color: var(--plum); font-weight: 500; }
.mx-tl small { font-size: 10.5px; color: var(--ink2); line-height: 1.3; display: block; }
.mx-tl.is-now { background: var(--plum); border-color: var(--plum); }
.mx-tl.is-now * { color: #fff; }
@media (max-width: 760px) { .mx-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Астрология */
.sky-today { background: var(--paper); border: 1px solid var(--line); padding: 24px 26px; }
.sky-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.sky-p { text-align: center; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink2); }
.sky-p b { font-weight: 600; color: var(--ink); font-size: 12px; letter-spacing: .04em; }
.sky-g { font-size: 24px; color: var(--plum); line-height: 1.1; font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', serif; }
.nc-table .sky-g { font-size: 18px; }
.r { font-style: normal; font-size: 10px; color: #fff; background: var(--mauve); border-radius: 3px; padding: 0 4px; vertical-align: 2px; }
.sky-notes { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: 14px; color: var(--ink2); display: grid; gap: 6px; }
.sky-notes b { color: var(--ink); }
@media (max-width: 900px) { .sky-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; } }
.nc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .nc-head { grid-template-columns: minmax(0, 1fr); } }
.chart-svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.chart-svg text { font-family: var(--sans); }
.ch-bg { fill: var(--paper); }
.ch-ring { fill: none; stroke: var(--mauve); stroke-width: 1; }
.ch-band { stroke: none; }
.ch-band--Огонь { fill: rgba(201, 138, 90, .10); } .ch-band--Земля { fill: rgba(143, 154, 124, .12); }
.ch-band--Воздух { fill: rgba(143, 151, 181, .10); } .ch-band--Вода { fill: rgba(127, 143, 174, .12); }
.ch-div { stroke: var(--mauve); stroke-width: 1; }
.ch-deg { stroke: var(--mauve); stroke-width: .7; opacity: .7; }
.ch-disc { fill: var(--bg); stroke: var(--mauve); stroke-width: 1; }
.ch-house { font-size: 10px; fill: var(--muted); text-anchor: middle; dominant-baseline: central; }
.ch-sign { font-size: 17px; text-anchor: middle; dominant-baseline: central; font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', serif !important; }
.ch-el-Огонь { fill: #b9784f; } .ch-el-Земля { fill: #74805f; } .ch-el-Воздух { fill: #6f7899; } .ch-el-Вода { fill: #5f7096; }
.ch-axis { stroke: var(--plum); stroke-width: 1.6; } .ch-axis--weak { stroke-width: 1; opacity: .55; }
.ch-axis-t { font-size: 11px; fill: var(--plum); text-anchor: middle; dominant-baseline: central; font-weight: 600; letter-spacing: .06em; }
.ch-axis-t--weak { opacity: .6; font-weight: 500; }
.ch-asp { stroke-width: 1.3; opacity: .85; } .ch-asp--soft { stroke: #7f9a79; } .ch-asp--hard { stroke: #c97b67; }
.ch-pmark { stroke: var(--plum2); stroke-width: 1.6; }
.ch-lead { stroke: var(--mauve); stroke-width: .8; }
.ch-dot { fill: var(--plum2); }
.ch-planet circle { fill: var(--paper); stroke: var(--plum); stroke-width: 1; }
.ch-planet text { font-size: 16px; fill: var(--plum2); text-anchor: middle; dominant-baseline: central; font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', serif !important; }
.ch-planet .ch-retro { font-size: 8px; font-family: var(--sans) !important; font-weight: 700; fill: var(--plum); }
.ch-pdeg { font-size: 9px; fill: var(--ink2); text-anchor: middle; dominant-baseline: central; }
.el-bars { display: grid; gap: 8px; margin-top: 18px; }
.el-bars div { display: grid; grid-template-columns: 70px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink2); }
.el-bars i { display: block; height: 8px; border-radius: 6px; }
.el-bars b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.nc-table td:nth-child(n+3) { font-family: var(--sans); font-size: 13.5px; color: var(--ink2); text-align: left; }
.nc-table td:nth-child(3) { text-align: center; font-family: var(--serif); font-size: 19px; color: var(--plum); }
.nc-table td:nth-child(2) { white-space: nowrap; }
.asp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.asp { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--lilac); padding: 14px 16px; }
.asp--soft { border-left-color: #a9bb9f; } .asp--hard { border-left-color: #dba08f; } .asp--conj { border-left-color: var(--gold2); }
.asp__g { font-size: 20px; color: var(--plum); font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', serif; white-space: nowrap; }
.asp b { font-size: 13.5px; font-weight: 600; } .asp p { font-size: 13px; color: var(--ink2); }
@media (max-width: 760px) { .asp-list { grid-template-columns: minmax(0, 1fr); } }
.faq details p { white-space: normal; }

/* Подменю «Эзотерика» */
.nav__group { position: relative; display: flex; align-items: center; }
.nav__sub {
  position: absolute; top: 100%; left: -18px; min-width: 210px; padding: 12px 0; margin-top: 8px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 4px;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { padding: 9px 18px !important; white-space: nowrap; }
.nav__sub a::after { display: none; }
.nav__caret { width: 6px; height: 6px; margin: -3px 0 0 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); transition: transform .25s; }
.nav__group:hover .nav__caret { transform: rotate(-135deg) translate(-2px, -2px); }
.nav__sub a:hover, .nav__sub a.is-active { color: var(--plum); background: var(--bg); }
@media (max-width: 1120px) {
  .nav__group { flex-direction: column; align-items: flex-start; }
  .nav__caret { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 4px 16px; margin: 0; min-width: 0; }
  .nav__sub a { font-family: var(--sans) !important; font-size: 13px !important; letter-spacing: .1em !important; text-transform: uppercase; padding: 5px 0 !important; color: var(--ink2); }
  .nav { overflow-y: auto; justify-content: flex-start; padding-top: 96px; }
}

/* ---------- «Узнаёте себя?» — боли клиента ---------- */
.pains { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pains li { background: var(--paper); border: 1px solid var(--line); padding: 26px 24px; display: grid; gap: 8px; }
.pains b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.pains b::before { content: ''; display: block; width: 26px; height: 1px; background: var(--gold); margin-bottom: 14px; }
.pains span { font-size: 14.5px; line-height: 1.65; color: var(--ink2); }
@media (max-width: 1000px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Понятные символы: стихии и три мира ---------- */
.sym { display: block; color: var(--plum); }
.world__orb .sym { width: 66px; height: 66px; filter: drop-shadow(0 1px 0 #fff8); position: relative; z-index: 1; }
.el-sym { width: 72px; height: 72px; margin: 0 0 18px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.el-sym svg { width: 38px; height: 38px; }

/* ---------- Блог: карта недели ---------- */
.week { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 48px; align-items: start; background: var(--bg); border: 1px solid var(--line); padding: 40px; scroll-margin-top: 110px; }
.week__card { position: sticky; top: 110px; }
.week__card img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); display: block; }
.week__body { display: grid; gap: 14px; min-width: 0; }
.week__body .kicker { color: var(--gold); }
.week__body .h2 { font-size: clamp(28px, 3vw, 40px); }
.week__part { border-top: 1px solid var(--line); padding-top: 14px; }
.week__part b { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--plum2); display: block; margin-bottom: 4px; }
.week__part p { font-size: 14.5px; line-height: 1.7; color: var(--ink2); }
.week__body .btn-row { margin-top: 8px; gap: 14px 24px; }
.week-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 14px; margin-top: 26px; }
.week-tile { display: grid; gap: 4px; align-content: start; text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 10px 10px 12px; cursor: pointer; transition: border-color .2s, transform .2s; }
.week-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.week-tile.is-active { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.week-tile img { width: 100%; aspect-ratio: 300 / 520; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.week-tile__d { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.week-tile b { font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.2; }
.week-tile__tg { font-size: 11.5px; color: var(--muted); }
.week-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 26px 30px; border: 1px dashed var(--gold); }
.week-cta p { max-width: 620px; color: var(--ink2); }
.week-cta p a { color: var(--plum); border-bottom: 1px solid; }
.tvideos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tvideo { display: grid; gap: 6px; align-content: start; padding: 22px 20px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s; }
.tvideo:hover { border-color: var(--plum); }
.tvideo__play { width: 42px; height: 42px; border-radius: 50%; background: var(--plum); position: relative; margin-bottom: 8px; }
.tvideo__play::after { content: ''; position: absolute; left: 16px; top: 13px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tvideo b { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25; }
.tvideo span:last-child { font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { .tvideos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .week { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px 18px; } .week__card { max-width: 220px; position: static; } .week-cta { padding: 20px; } }
@media (max-width: 480px) { .tvideos { grid-template-columns: minmax(0, 1fr); } }
.hero__content .lead + .lead { margin-top: -14px; }

/* ---------- Таро: вкладки, вопрос, «что дальше», архив ---------- */
.tarot-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 auto 46px; max-width: 860px; border: 1px solid var(--line); background: var(--paper); scroll-margin-top: 100px; }
.tarot-tabs button { display: grid; gap: 3px; line-height: 1.25; align-content: center; padding: 16px 18px; text-align: center; font: inherit; color: var(--ink); background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s; }
.tarot-tabs button:last-child { border-right: 0; }
.tarot-tabs button b { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.tarot-tabs button span { font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
.tarot-tabs button:hover { background: var(--bg); }
.tarot-tabs button.is-active { background: var(--plum); color: #fff; }
.tarot-tabs button.is-active span { color: #fff; opacity: .85; }
@media (max-width: 600px) { .tarot-tabs button { padding: 12px 6px; } .tarot-tabs button b { font-size: 16px; } .tarot-tabs button span { font-size: 10px; letter-spacing: 0; } }
.ask-q { max-width: 640px; margin: -10px auto 34px; display: grid; gap: 8px; }
.ask-q .label .muted { text-transform: none; letter-spacing: 0; }
.ask-echo { font-family: var(--script); font-size: 26px; color: var(--plum2); margin: 6px 0 4px; }
.next-steps { margin-top: 56px; }
.next-steps__title { display: block; text-align: center; margin-bottom: 18px; }
.next-steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.next-step { display: grid; gap: 6px; align-content: start; text-align: left; font: inherit; padding: 22px 22px 24px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s; }
.next-step:hover { border-color: var(--plum); transform: translateY(-2px); }
.next-step .kicker { color: var(--gold); }
.next-step b { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.next-step > span:last-child { font-size: 13.5px; line-height: 1.6; color: var(--ink2); }
.next-step--accent { background: var(--plum); border-color: var(--plum); color: #fff; }
.next-step--accent .kicker, .next-step--accent > span:last-child { color: #fff; opacity: .9; }
@media (max-width: 1000px) { .next-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .next-steps__grid { grid-template-columns: minmax(0, 1fr); } }
.hist { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.hist__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 16px 20px; cursor: pointer; transition: border-color .2s; }
.hist__item:hover { border-color: var(--plum); }
.hist__cards { display: flex; gap: 6px; }
.hist__cards .tcard { --w: 46px; }
.hist__body { display: grid; gap: 4px; min-width: 0; }
.hist__body .kicker { color: var(--gold); }
.hist__body b { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.hist__body > span:last-child { font-size: 13px; color: var(--ink2); }
@media (max-width: 560px) { .hist__item { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ---------- Таро: утро → день → итог ---------- */
.flow { list-style: none; padding: 0; margin: 0 auto 10px; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.flow::before { content: ''; position: absolute; top: 17px; left: 16.6%; right: 16.6%; height: 1px; background: var(--line); }
.flow li { display: grid; justify-items: center; gap: 4px; text-align: center; position: relative; padding: 0 8px; }
.flow i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); margin-bottom: 6px; }
.flow b { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--muted); }
.flow span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.flow li.is-done i { background: var(--sage, #aab396); border-color: transparent; color: #fff; }
.flow li.is-done b { color: var(--ink); }
.flow li.is-now i { background: var(--plum); border-color: var(--plum); color: #fff; box-shadow: 0 0 0 5px rgba(185, 120, 95, .15); }
.flow li.is-now b { color: var(--plum2); }
.flow li.is-now span { color: var(--ink2); }
.flow__hint { max-width: 760px; margin: 18px auto 44px; padding: 16px 22px; background: var(--paper); border: 1px dashed var(--gold); text-align: center; font-size: 14.5px; line-height: 1.65; color: var(--ink2); display: grid; gap: 10px; justify-items: center; }
.outcome { margin-top: 44px; background: var(--paper); border: 1px solid var(--line); padding: 36px 40px; scroll-margin-top: 110px; }
.outcome--reminder, .outcome--done { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.outcome--reminder > div, .outcome--done > div { display: grid; gap: 8px; max-width: 640px; min-width: 0; }
.outcome--reminder { border-style: dashed; border-color: var(--gold); }
.outcome--reminder p { color: var(--ink2); font-size: 14.5px; }
.outcome--done { border-left: 3px solid var(--sage, #aab396); }
.outcome__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.outcome__note { color: var(--ink2); font-size: 14.5px; line-height: 1.7; white-space: pre-line; }
.outcome .h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
@media (max-width: 640px) { .outcome { padding: 24px 18px; } .flow b { font-size: 16px; } .flow span { font-size: 11px; } }
.pending-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 auto 36px; max-width: 860px; padding: 16px 22px; background: var(--paper); border: 1px solid var(--plum); color: var(--ink2); font-size: 14.5px; }
.pending-note b { color: var(--ink); }
.badge { justify-self: start; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-top: 4px; }
.badge--done { background: rgba(170, 179, 150, .22); color: #5f6a4b; }
.badge--wait { background: var(--plum); color: #fff; }
.hist__item.is-waiting { border-color: var(--plum); }
.tarot-tabs .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--plum); margin-right: 6px; vertical-align: 1px; }
.tarot-tabs button.is-active .dot { background: #fff; }

/* ---------- Помощник Кристины (ИИ) ---------- */
.ai-slot:empty { display: none; }
.ai-slot { margin-top: 40px; }
.ai { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 30px 34px; display: grid; gap: 16px; scroll-margin-top: 110px; }
.ai__head { display: flex; align-items: center; gap: 14px; }
.ai__badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--gold); color: var(--plum); font-size: 18px; }
.ai__head .kicker { color: var(--gold); margin: 0; }
.ai__title { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 6px; text-wrap: balance; }
.ai__lead { font-size: 14.5px; line-height: 1.65; color: var(--ink2); max-width: 680px; }
.ai__input { min-height: 96px; }
.ai__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ai__out { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; font-size: 15px; line-height: 1.75; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.ai__out ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ai__out a { color: var(--plum); border-bottom: 1px solid; }
.ai__out.is-error { color: var(--plum2); }
.ai__thinking { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.ai__thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: aiDot 1.2s infinite ease-in-out; }
.ai__thinking i:nth-child(2) { animation-delay: .15s; } .ai__thinking i:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ai__thinking i { animation: none; opacity: .7; } }
.ai__note { font-size: 12px; line-height: 1.55; color: var(--muted); }
@media (max-width: 640px) { .ai { padding: 22px 18px; } .ai__title { font-size: 22px; } }

.ch-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 12px; color: var(--ink2); }
.ch-legend b { color: var(--plum); font-weight: 600; }
.ch-key { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-right: 6px; }
.ch-key--soft { background: #7f9a79; } .ch-key--hard { background: #c97b67; }

/* ---------- Таро и психология ---------- */
.psy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.psy__item { background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; display: grid; gap: 12px; align-content: start; position: relative; }
.psy__n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); }
.psy__item h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; text-wrap: balance; }
.psy__item p { font-size: 14.5px; line-height: 1.7; color: var(--ink2); }
.psy__item p b { color: var(--ink); }
.psy__list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.psy__list li { font-size: 14px; line-height: 1.6; color: var(--ink2); padding-left: 16px; position: relative; }
.psy__list li::before { content: '◇'; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 3px; }
.psy__list b { color: var(--plum2); font-weight: 600; }
@media (max-width: 960px) { .psy { grid-template-columns: minmax(0, 1fr); } }

/* Красивый перенос строк: без одиноких слов в конце абзаца, ровные заголовки */
p, li, dd, blockquote, figcaption, .lead { text-wrap: pretty; }
h1, h2, h3, h4, .h1, .h2, .h3 { text-wrap: balance; }

/* ---------- Вход / кабинет в шапке ---------- */
.nav .nav__account { display: inline-flex; align-items: center; gap: 6px; }
.nav .nav__account::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.3px solid currentColor; box-shadow: inset 0 -5px 0 -3px currentColor; opacity: .8; }
.nav .nav__account[hidden] { display: none !important; }
.ai__status { font-size: 13px; color: var(--ink2); }
.ai__status a, .ai__out a { color: var(--plum); border-bottom: 1px solid; }
.ai__consent { display: grid; gap: 14px; justify-items: start; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.55; color: var(--ink2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--plum); }
.check a { color: var(--plum); border-bottom: 1px solid; }

/* ---------- Юридические страницы ---------- */
.legal h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 30px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--ink2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.legal .table-wrap { margin: 10px 0 14px; }

/* ---------- Личный кабинет ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.auth__perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.auth__perks li { padding-left: 22px; position: relative; color: var(--ink2); font-size: 15px; line-height: 1.6; }
.auth__perks li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 3px; }
.auth__perks b { color: var(--ink); }
.auth__form { display: grid; gap: 16px; }
.auth__form .field { margin: 0; }
.au-code { font-size: 24px; letter-spacing: .4em; text-align: center; }
.auth__err { color: var(--plum2); font-size: 14px; }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; margin-bottom: 30px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.acc-grid .panel { display: grid; gap: 10px; align-content: start; }
.acc-grid .h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.acc-grid p { color: var(--ink2); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 860px) { .acc-grid { grid-template-columns: minmax(0, 1fr); } }
.meter { height: 8px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--plum); border-radius: 8px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1000px; margin: 0 auto; }
.plan { background: var(--paper); border: 1px solid var(--line); padding: 32px 28px; display: grid; gap: 10px; align-content: start; text-align: center; position: relative; }
.plan h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.plan__price { font-family: var(--serif); font-size: 38px; color: var(--plum2); }
.plan__price span { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.plan__limit { font-weight: 600; color: var(--ink); }
.plan .btn { margin-top: 10px; justify-self: center; }
.plan--accent { border-color: var(--plum); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--plum); color: #fff; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.plans__renew { max-width: 640px; margin: 26px auto 10px; }
.acc-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.acc-list li { font-size: 14px; color: var(--ink2); display: grid; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.acc-list li span { font-size: 13px; color: var(--muted); }
.acc-profile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.acc-inline { display: flex; gap: 10px; flex: 1 1 320px; max-width: 460px; }
.acc-inline .input { flex: 1; min-width: 0; }
.acc-delete span { color: var(--plum2); }

/* Карточки стихий: сетка 2×2, знак слева от названия */
#elements { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
#elements .tile { padding: 32px 34px; }
.el-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.el-head .el-sym { width: 72px; height: 72px; margin: 0; flex: none; }
.el-head .el-sym svg { width: 40px; height: 40px; }
.el-head h3 { margin: 0; }
.el-signs { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
#elements .el-note { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); margin: 0 0 6px; }
@media (max-width: 640px) { #elements { grid-template-columns: minmax(0, 1fr); } #elements .tile { padding: 24px 20px; } }

/* ---------- Запись на консультацию (js/booking.js) ---------- */
.book .field { margin-bottom: 20px; }
.book-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.book-day {
  flex: none; min-width: 64px; scroll-snap-align: start; cursor: pointer; font: inherit; font-size: 12.5px; line-height: 1.35;
  padding: 9px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 12px; transition: .2s;
}
.book-day b { display: block; font-weight: 600; text-transform: capitalize; }
.book-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.book-time { cursor: pointer; font: inherit; font-size: 14px; padding: 10px 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 30px; transition: .2s; }
.book-day:hover, .book-time:hover { border-color: var(--mauve); }
.book-day.is-active, .book-time.is-active { background: var(--plum); border-color: var(--plum); color: #fff; }
.book-day:focus-visible, .book-time:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.book-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.book-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink2); margin: 4px 0 18px; cursor: pointer; }
.book-consent input { margin-top: 3px; accent-color: var(--plum); }
.book-consent a { color: var(--plum); }
.book-error { color: #a4483a; font-size: 13px; margin: -6px 0 14px; }
.book-submit { width: 100%; }
.book-submit:disabled { opacity: .55; cursor: default; }
.book-sent { margin-bottom: 16px; }
.book-sent .h3 { margin: 6px 0 8px; }
.book-status { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--paper); padding: 18px 20px; display: grid; gap: 8px; margin-bottom: 16px; }
.book-status--accepted { border-left-color: #7d9a72; }
.book-status--proposed { border-left-color: var(--plum); }
.book-status--declined, .book-status--cancelled { border-left-color: var(--line); }
.book-status__title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.book-status__when { font-size: 15px; }
.book-status__when s { color: var(--ink2); font-size: 13px; }
.book-status .btn-row { margin-top: 6px; align-items: center; }
.book-cancel, .book-confirm .link-arrow { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink2); text-decoration: underline; }
.book-confirm { font-size: 13px; color: var(--ink2); }
.book-again { width: 100%; }
.book-status .btn-row .btn { flex: 1 1 150px; text-align: center; justify-content: center; }
