/* Палитра из прайса «В согласии с собой»: ночной фиолетовый, мягкое золото, светлый текст */
:root {
  color-scheme: dark;
  --bg: #211526;
  --bg-2: #2A1B31;
  --paper: #2E1F36;
  --field: #1A1020;
  --ink: #F3ECF2;
  --muted: #B8A8BD;
  --line: #4A3653;
  --accent: #D5B787;
  --accent-hover: #E6CDA2;
  --accent-ink: #211526;
  --violet: #B892E8;
  --rose: #3A2440;
  --danger: #F08A97;
  --ok: #8FD3AE;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px;
  --r-lg: 20px;
  --step: clamp(16px, 2.4vw, 28px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: 0; line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(44px, 7vw, 88px); max-width: 11ch; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-family: var(--text); font-weight: 600; font-size: 18px; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; max-width: 66ch; }
.muted { color: var(--muted); font-size: .94em; }
.lead { font-size: 18px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 12px; z-index: 10; }

/* шапка */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto; padding: 22px var(--step); }
.brand { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--accent); }
.top nav .nav-cta { border: 1px solid var(--accent); color: var(--accent); padding: 7px 16px; border-radius: 999px; }

main > section { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--step); }
.section-head { margin-bottom: 36px; }

/* герой: портрет в арке справа */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 16px !important; }
.hook { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 500; max-width: 30ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.proof { list-style: none; display: flex; gap: 8px 28px; flex-wrap: wrap; padding: 26px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.proof strong { color: var(--accent); font-weight: 600; }
.portrait { margin: 0; justify-self: center; width: min(440px, 100%); }
.portrait img { width: 100%; border-radius: 220px 220px var(--r-lg) var(--r-lg); aspect-ratio: 832 / 1150; object-fit: cover; object-position: 50% 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(213, 183, 135, .25); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: 600 16px/1 var(--text);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; }

/* мини-разбор */
.mini { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; border-top: 1px solid var(--line); }
.sky { margin: 28px 0 0; }
.sky svg { width: 100%; max-width: 360px; display: block; }
.sky figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; min-height: 1.6em; max-width: 360px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
/* ---------- формы: плавающие подписи, карточки выбора, шаги ---------- */
.form { display: flex; flex-direction: column; gap: 16px; position: relative; }
.card.form { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)) , var(--paper);
  box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.form-step { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.form > .form-step:first-child, .req-body > .choice:first-child .form-step { margin-top: 0; }
.req-body { display: flex; flex-direction: column; gap: 16px; }
.form-step .opt { font-weight: 400; }
.step-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 600;
  background: rgba(213,183,135,.14); color: var(--accent); border: 1px solid rgba(213,183,135,.35); }
.opt { color: var(--muted); font-weight: 400; font-size: .9em; }

.field { position: relative; }
.field input, .field textarea { display: block; width: 100%; margin: 0; padding: 24px 16px 9px; font: 400 16px/1.4 var(--text); color: var(--ink);
  background: var(--field); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 92px; padding-bottom: 26px; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 16px; pointer-events: none;
  transition: top .15s, font-size .15s, color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 34px); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field.filled label { top: 7px; font-size: 12px; color: var(--accent); }
.field input:hover, .field textarea:hover { border-color: #6A5174; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #1D1224; box-shadow: 0 0 0 4px rgba(213,183,135,.16); }
.field input[aria-invalid=true] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(240,138,151,.14); }
.field input::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(.4); cursor: pointer; }
.counter { position: absolute; right: 14px; bottom: 8px; font-size: 12px; color: var(--muted); }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.three { display: grid; grid-template-columns: 1fr .8fr 1.2fr; gap: 12px; margin-top: 12px; }
.place { position: relative; }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.suggest li { padding: 11px 12px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected=true], .suggest li:hover { background: var(--rose); }

.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice legend { margin-bottom: 12px; }
/* карточки сфер */
.sphere-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; grid-auto-flow: row dense; }
.sphere-card, .service-card { position: relative; cursor: pointer; }
.sphere-card input, .service-card input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.sphere-body { display: grid; grid-template-columns: 1fr; row-gap: 4px; align-content: start; height: 100%;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); transition: border-color .15s, background .15s, transform .15s; }
.sphere-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 6px;
  background: rgba(184,146,232,.12); color: var(--violet); font-size: 19px; }
.sphere-title { font-weight: 600; font-size: 15px; line-height: 1.25; }
.sphere-hint { color: var(--muted); font-size: 13px; line-height: 1.3; }
.sphere-card:hover .sphere-body, .service-card:hover > span { border-color: #6A5174; transform: translateY(-1px); }
.sphere-card input:checked + .sphere-body { border-color: var(--accent); background: rgba(213,183,135,.09); box-shadow: inset 0 0 0 1px var(--accent); }
.sphere-card input:checked + .sphere-body .sphere-icon { background: var(--accent); color: var(--accent-ink); }
.sphere-card input:focus-visible + .sphere-body, .service-card input:focus-visible + span, .segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
/* карточки услуг */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.service-card > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; height: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); transition: border-color .15s, background .15s, transform .15s; }
.service-name { font-weight: 500; font-size: 15px; line-height: 1.25; }
.service-price { color: var(--accent); font-size: 14px; white-space: nowrap; }
.service-card input:checked + span { border-color: var(--accent); background: rgba(213,183,135,.09); box-shadow: inset 0 0 0 1px var(--accent); }
/* переключатель способа связи */
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); }
.segmented label { cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 9px 6px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s; }
.segmented input:checked + span { background: var(--accent); color: var(--accent-ink); }
.birth-more summary { cursor: pointer; list-style: none; }
.birth-more summary::-webkit-details-marker { display: none; }
.birth-more summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 20px; font-weight: 400; }
.birth-more[open] summary::after { content: "−"; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.btn-wide { width: 100%; min-height: 56px; font-size: 17px; }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--line); }
.summary-text { color: var(--muted); font-size: 14.5px; }
.summary-text strong { color: var(--ink); font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); margin: 0; font-weight: 500; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }
.link-btn:hover { color: var(--ink); }

/* очередь мини-разборов */
.queue { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid rgba(213,183,135,.35);
  background: radial-gradient(120% 140% at 0% 0%, rgba(184,146,232,.16), transparent 60%), var(--field); }
.queue-head { display: flex; gap: 14px; align-items: center; }
.queue-orb { flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--violet), transparent 70%, var(--accent)); animation: spin 2.4s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
@keyframes spin { to { transform: rotate(1turn); } }
.queue-title { margin: 0; font-weight: 600; font-size: 17px; }
.queue-sub { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .5s linear;
  background: linear-gradient(90deg, var(--violet), var(--accent)); background-size: 200% 100%; animation: shimmer 2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }
.queue-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.form.waiting > :not(.queue) { opacity: .45; pointer-events: none; }

/* заявка отправлена */
.req-done { text-align: center; padding: 28px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.req-done h3 { font-family: var(--display); font-size: 34px; margin: 10px 0 0; outline: none; }
.req-done p { color: var(--muted); }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); position: relative; animation: pop .4s ease-out; }
.done-mark::after { content: ""; position: absolute; left: 22px; top: 15px; width: 14px; height: 26px; border: solid var(--accent-ink); border-width: 0 4px 4px 0; transform: rotate(45deg); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.notice { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 22px 26px; border-radius: var(--r-sm); }
.notice h3 { margin-top: 0; }

/* результат */
.result { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); }
.result-chart svg { width: 100%; max-width: 460px; display: block; }
.key-points { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 0; font-size: 15px; }
.key-points dt { color: var(--muted); }
.key-points dd { margin: 0; font-weight: 500; }
.reading h3:first-child { margin-top: 0; }
.reading ul { padding-left: 1.2em; margin: 0 0 .6em; }
.reading li { margin-bottom: .45em; max-width: 64ch; }
.reading strong { color: var(--accent); }
.reading .limits { background: var(--rose); border-radius: var(--r-sm); padding: 4px 18px 8px; margin-top: 18px; }
.next { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.loading { color: var(--muted); }
.loading::after { content: "…"; animation: dots 1.2s steps(4) infinite; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; }
@keyframes dots { from { width: 0; } to { width: 1.2em; } }

/* услуги и цены — как в прайсе: название слева, цена золотом справа */
.services { border-top: 1px solid var(--line); }
.price-group { margin-bottom: 44px; }
.price-group h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 6px; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-main { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.price-name { font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1.15; }
.price-value { color: var(--accent); font-weight: 500; white-space: nowrap; font-size: 18px; }
.price-list p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.price-list .note { color: var(--ink); }
.book { align-self: end; font-size: 14.5px; font-weight: 500; white-space: nowrap; }

/* сертификаты */
.education { border-top: 1px solid var(--line); }
.certs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr 1.42fr; gap: 28px; align-items: end; }
.cert { display: block; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, border-color .2s; background: var(--paper); }
.cert:hover { transform: translateY(-3px); border-color: var(--accent); }
.cert img { width: 100%; }
.cert-title { font-weight: 600; margin: 14px 0 2px; }
.certs .muted { font-size: 14px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; color: var(--ink); }
.lightbox::backdrop { background: rgba(10, 5, 14, .85); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--r-sm); }
.lightbox p { text-align: center; margin: 12px auto 0; color: var(--muted); }
.lightbox .close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

/* честный блок */
.honest { border-top: 1px solid var(--line); }
.plain-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; max-width: 980px; }
.plain-list li { padding-left: 18px; border-left: 2px solid var(--accent); }
.plain-list strong { display: block; margin-bottom: 4px; }

/* запись */
.consult { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 8px 0 28px; }
.steps li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps .step-n { color: var(--accent); font-size: 14px; padding-top: 3px; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; }
.tg { color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.tg a { font-family: var(--display); font-size: 32px; letter-spacing: 0; text-transform: none; text-decoration: none; }

.foot { max-width: 1180px; margin: 0 auto; padding: 32px var(--step) 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* колесо карты */
.wheel-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.wheel-ring.strong { stroke: var(--accent); stroke-width: 1; opacity: .8; }
.wheel-sign { font: 400 15px var(--text); fill: var(--muted); }
.wheel-planet { font: 500 17px var(--text); fill: var(--ink); }
.wheel-planet.retro { fill: var(--violet); }
.wheel-tick { stroke: var(--accent); stroke-width: 1; }
.wheel-asp { stroke-width: 1; opacity: .75; }
.wheel-asp.hard { stroke: var(--danger); }
.wheel-asp.soft { stroke: var(--violet); }
.wheel-asp.conj { stroke: var(--muted); }
.wheel-axis { stroke: var(--ink); stroke-width: 1.5; }
.wheel-label { font: 600 12px var(--text); fill: var(--ink); }
.wheel-dot { fill: var(--ink); }
.sky .wheel-planet { opacity: 0; animation: appear .6s ease-out forwards; }
@keyframes appear { to { opacity: 1; } }

/* документы и админка */
.doc { max-width: 760px; margin: 0 auto; padding: 24px var(--step) 64px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); max-width: none; }
.doc h2 { font-size: 30px; margin-top: 1.2em; }
.doc.wide { max-width: 1280px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 14.5px; margin-bottom: 40px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl.narrow { max-width: 520px; }
.tbl td.q { max-width: 380px; white-space: pre-wrap; }
.tbl select { padding: 6px; font: inherit; background: var(--field); color: var(--ink); border: 1px solid var(--line); }
.st-done { opacity: .55; }
.st-spam { opacity: .35; }

@media (max-width: 900px) {
  .hero, .mini, .result, .consult { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(340px, 78vw); }
  .price-list { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr 1fr; }
  .certs li:last-child { grid-column: 1 / -1; }
  .plain-list { grid-template-columns: 1fr; }
  .sky svg { max-width: 300px; }
}
@media (max-width: 560px) {
  .row.two { grid-template-columns: 1fr 1fr; gap: 10px; }
  .row.three { grid-template-columns: 1fr 1fr; }
  .row.three .field:last-child { grid-column: 1 / -1; }
  .sphere-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sphere-body { padding: 12px; }
  .sphere-icon { width: 30px; height: 30px; font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .segmented span { font-size: 13px; padding: 9px 2px; }
  .summary .btn { width: 100%; }
  body { font-size: 16px; }
  .top { padding-top: 16px; }
  .top nav { gap: 14px; }
  .top nav a:not(.nav-cta) { display: none; }
  .price-name { font-size: 24px; }
  .price-main { flex-wrap: wrap; }
  .certs { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky .wheel-planet { animation: none; opacity: 1; }
  .loading::after { animation: none; }
  .cert { transition: none; }
  .queue-orb, .progress span, .done-mark { animation: none; }
}

/* админка: страны */
.admin-nav { display: flex; gap: 20px; flex-wrap: wrap; padding: 8px 0 20px; font-size: 15px; }
.countries { margin: 8px 0 48px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.countries h2 { margin-top: 0; }
.country-chips { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.country-chips li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); }
.country-chips form { margin: 0; }
.chip-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.chip-x:hover { background: var(--rose); color: var(--ink); }
.country-add { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.country-add label { font-weight: 500; }
.country-add input { flex: 1 1 260px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 10px; }
.country-reset { margin-top: 10px; }
.warn { color: var(--danger); }
.ok-msg { color: var(--ok); font-weight: 500; }
.err-msg { color: var(--danger); font-weight: 500; }

/* v5: пара, оценка, картинка для соцсетей */
.sphere-card.wide { grid-column: 1 / -1; }
.sphere-card.wide .sphere-body { grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; }
.sphere-card.wide .sphere-icon { grid-row: span 2; margin: 0; }
.sphere-card.wide .badge { grid-row: span 2; }
.badge { align-self: center; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-ink); background: var(--accent); }
.partner { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px;
  border: 1px dashed rgba(213,183,135,.45); background: rgba(213,183,135,.04); }
.partner .form-step { margin-top: 0; }
.wheel-planet.partner { fill: var(--accent); }
.rate, .share { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.rate-q, .share-q { margin: 0; font-weight: 600; }
.rate-btns, .share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.rate-btn { min-height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--field);
  color: var(--ink); font: 500 15px var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.rate-btn:hover { border-color: var(--accent); }
.rate-btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.rate-more { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rate-more .field { width: 100%; }
.rate-thanks { margin: 0; color: var(--ok); }
@media (max-width: 560px) {
  .sphere-card.wide .sphere-body { grid-template-columns: auto 1fr; }
  .sphere-card.wide .badge { display: none; }
  .share-btns .btn { flex: 1 1 100%; }
}

/* админка: прайс и оценки */
.panel { margin: 8px 0 48px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.panel h2 { margin-top: 0; }
.svc-group { border: 0; padding: 0; margin: 0 0 22px; }
.svc-group-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.svc-group-head label { font-weight: 600; display: flex; gap: 10px; align-items: center; }
.svc-del { font-weight: 400 !important; color: var(--muted); font-size: 14px; }
.svc-form input:not([type=checkbox]), .svc-form textarea, .country-add input {
  width: 100%; padding: 8px 10px; font: inherit; font-size: 14.5px; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 8px; }
.svc-group-head input:not([type=checkbox]) { min-width: 320px; }
.svc-del input { width: 18px; height: 18px; accent-color: var(--accent); }
.svc-form textarea { resize: vertical; min-height: 40px; }
.svc-form input:focus, .svc-form textarea:focus { outline: none; border-color: var(--accent); }
.svc-tbl { margin-bottom: 0; }
.svc-tbl td { padding: 6px; }
.svc-tbl td:nth-child(2) { width: 22%; } .svc-tbl td:nth-child(3) { width: 17%; } .svc-tbl td:nth-child(4) { width: 36%; }
.svc-ord { width: 52px !important; text-align: center; }
.svc-tbl td.c { text-align: center; }
.svc-new td input, .svc-new td textarea { border-style: dashed !important; }
.svc-actions { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--paper) 30%); }
.fb-list { padding-left: 1.2em; }
.fb-list li { margin-bottom: 10px; }

/* v6: язык, инструменты без ИИ, платные уровни, календарь, карта жизни */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.lang-switch a { padding: 5px 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.top nav .lang-switch a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav .lang-switch a { display: inline-block !important; } }

.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px;
  background: rgba(184,146,232,.08); border: 1px solid rgba(184,146,232,.25); }
.tools-label { font-size: 13.5px; color: var(--muted); margin-right: 4px; }
.tool-btn { display: inline-flex; gap: 8px; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--field); color: var(--ink); font: 500 14.5px var(--text); cursor: pointer; }
.tool-btn:hover { border-color: var(--accent); }
.tool-btn span { color: var(--violet); }
.tool-btn[disabled] { opacity: .6; cursor: progress; }

.paywall { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; border: 1px solid rgba(213,183,135,.45);
  background: radial-gradient(120% 140% at 100% 0%, rgba(213,183,135,.12), transparent 60%), var(--field); }
.paywall h3 { margin: 0; font-family: var(--display); font-size: 28px; }
.paywall p { margin: 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.tier.best { border-color: var(--accent); }
.tier-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.tier-name { font-weight: 600; }
.tier-price { color: var(--accent); white-space: nowrap; }
.tier p { font-size: 14px; color: var(--muted); flex: 1; }
.tier .btn { align-self: flex-start; }

.extra-card { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); }
.extra-head h2 { margin-bottom: .3em; }
.cal-list { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cal-item { padding: 14px 16px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); border-left: 3px solid var(--violet); }
.cal-item.hard { border-left-color: var(--danger); }
.cal-item.conj { border-left-color: var(--accent); }
.cal-item strong { display: block; margin: 4px 0 2px; font-size: 15px; }
.cal-item p { margin: 0; font-size: 14px; color: var(--muted); }
.cal-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.cal-date { color: var(--ink); font-weight: 600; }
.cal-kind { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: rgba(184,146,232,.15); color: var(--violet); }
.cal-kind.hard { background: rgba(240,138,151,.12); color: var(--danger); }
.cal-kind.conj { background: rgba(213,183,135,.14); color: var(--accent); }
.cal-add { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.cal-other summary { cursor: pointer; color: var(--muted); font-size: 14.5px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; padding: 8px 12px; font: 14px var(--text); color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 10px; }
.cal-more { margin-top: 22px; padding: 18px; border-radius: 16px; border: 1px dashed rgba(213,183,135,.5); display: flex; flex-direction: column; gap: 10px; }
.cal-more h3 { margin: 0; font-family: var(--display); font-size: 26px; }
.cal-more p { margin: 0; }
.email-row { display: flex; gap: 10px; flex-wrap: wrap; }
.email-row .field { flex: 1 1 240px; }
.cal-done { margin-top: 16px; }

.life-track { position: relative; height: 70px; margin: 28px 8px 10px; }
.life-line { position: absolute; left: 0; right: 0; top: 28px; height: 4px; border-radius: 4px; background: var(--line); }
.life-tick { position: absolute; top: 44px; transform: translateX(-50%); font-size: 12px; color: var(--muted); }
.life-dot { position: absolute; top: 24px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); }
.life-dot.jupiter { background: #D5B787; width: 8px; height: 8px; top: 26px; margin-left: -4px; opacity: .7; }
.life-dot.saturn { background: #B892E8; } .life-dot.uranus { background: #7FC8D9; }
.life-dot.neptune { background: #8FA6F0; } .life-dot.pluto { background: #F08A97; }
.life-now { position: absolute; top: 18px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(213,183,135,.2); }
.life-now span { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.life-list { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.life-list li { padding: 10px 0 10px 14px; border-left: 2px solid var(--line); }
.life-list li.future { border-left-color: var(--accent); }
.life-list li.past { opacity: .7; }
.life-age { display: block; font-size: 13px; color: var(--muted); }
.life-list strong { display: block; font-family: var(--display); font-size: 22px; }
.life-list p { margin: 0; font-size: 14px; color: var(--muted); }

.buy-dialog { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--ink);
  width: min(460px, 92vw); padding: 26px; }
.buy-dialog::backdrop { background: rgba(10, 5, 14, .8); }
.buy-dialog h3 { font-family: var(--display); font-size: 30px; margin: 0 40px 4px 0; }
.buy-price { color: var(--accent); font-size: 20px; margin: 0 0 12px; }
.buy-x { position: absolute; top: 14px; right: 14px; }
.buy-x .close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--field); color: var(--ink); font-size: 22px; cursor: pointer; }
.notice-demo { font-size: 14.5px; color: var(--muted); background: var(--field); border-radius: 12px; padding: 12px 14px; }
#buyForm { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) {
  .tiers, .cal-list, .life-list { grid-template-columns: 1fr; }
  .life-tick:nth-of-type(even) { display: none; }
}
.svc-lang { margin-bottom: 14px; }
.svc-lang a { padding: 6px 14px; font-size: 14px; }
.paid-tbl input { width: 100%; }
.tbl tr.due td { background: rgba(213,183,135,.08); }
.cal-page { padding-top: 8px; }
.cal-page .paywall { margin-bottom: 24px; }
.tg-steps { padding-left: 1.2em; } .tg-steps li { margin-bottom: 8px; } .tg-steps a { word-break: break-all; }
.box-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer { width: 100%; text-align: left; margin: 18px 0 8px; padding: 18px; border-radius: 16px; border: 1px dashed rgba(213,183,135,.5);
  background: rgba(213,183,135,.05); display: flex; flex-direction: column; gap: 10px; }
.offer h4 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 600; }
.offer p { margin: 0; }
.offer .row.three { margin-top: 4px; }
.req-done { align-items: stretch; }
.req-done > .done-mark, .req-done > h3, .req-done > p, .req-done > .link-btn { align-self: center; }

/* v7.3: пояснения к событиям и личные тексты от ИИ */
.cal-item p.cal-note { margin-top: 6px; font-size: 13px; color: var(--muted); opacity: .85; }
.cal-top { gap: 6px; }
.cal-top > .cal-date { margin-right: auto; }
.cal-kind.ai { background: rgba(213,183,135,.18); color: var(--accent); }
.cal-ai { margin: 18px 0 4px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--field); }
.cal-ai-offer { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cal-ai-offer > div { flex: 1 1 260px; }
.cal-ai-offer p { margin: 6px 0 0; font-size: 14px; }
.cal-ai-status { margin: 0; font-size: 14px; }
.cal-ai-status.running::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
  border: 2px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: calspin 1s linear infinite; }
.cal-ai-status.done { color: var(--accent); }
.cal-ai-status.error { color: var(--danger); }
#calAiRetry { margin-top: 10px; }
@keyframes calspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cal-ai-status.running::before { animation: none; } }

/* v7.3: страницы услуг и инструментов (для поисковиков), ссылки в подвале */
main > .crumbs, main > .seo-page, main > .seo-head { max-width: 1180px; margin: 0 auto; padding-left: var(--step); padding-right: var(--step); }
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.seo-head { padding-top: 20px; padding-bottom: 8px; }
.seo-page .seo-head { padding-left: 0; padding-right: 0; }
.seo-head h1 { font-size: clamp(36px, 5.4vw, 64px); margin: .15em 0 .3em; max-width: 18ch; }
.seo-head .lead { max-width: 68ch; }
.seo-tool { padding-bottom: 0; }
.seo-price { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.seo-price strong { font-size: 22px; color: var(--accent); margin-left: 6px; }
.seo-page { padding-bottom: clamp(32px, 6vw, 72px); }
.seo-page > section, .seo-cols > section { margin-top: clamp(28px, 4vw, 48px); }
.seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 64px); }
.seo-cols .plain-list, .seo-page .plain-list { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
.seo-page h2 { font-size: clamp(26px, 3.4vw, 34px); }
.seo-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
.seo-faq summary { cursor: pointer; font-weight: 600; }
.seo-faq details p { margin: 10px 0 0; color: var(--muted); }
.seo-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seo-links a { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); font-size: 14.5px; }
.seo-links a:hover { border-color: var(--accent); }
main > .seo-other { border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.book-row { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; align-self: end; }
.more-link { font-size: 14.5px; color: var(--muted); }
.tool-btn.focus { border-color: var(--accent); background: rgba(213,183,135,.12); box-shadow: 0 0 0 3px rgba(213,183,135,.14); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-bottom: 28px; }
.foot-nav ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.foot-h { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .seo-cols, .foot-nav { grid-template-columns: 1fr; }
}
.seo-cols .plain-list + h2 { margin-top: 28px; }
