:root {
  --bg: #0f0f0e;
  --bg2: #151413;
  --surface: #1b1a18;
  --surface2: #22201d;
  --text: #f1ede6;
  --muted: #9d978d;
  --gold: #d9bd73;
  --gold-soft: rgba(217, 189, 115, .14);
  --line: #2a2825;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); overflow-x: hidden; }
a { color: var(--gold); }
svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.3px; }
.eyebrow { color: var(--gold); font-size: 12.5px; letter-spacing: 2.4px; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ── Шапка ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(15, 15, 14, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.logo { font-family: var(--serif); font-size: 25px; color: var(--text); text-decoration: none; }
.logo span { color: var(--gold); }
.top nav { display: flex; gap: 26px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.top nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 600 15px var(--sans); text-decoration: none; white-space: nowrap; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #1a150c; }
.btn.ghost { border: 1px solid #3a3732; color: var(--text); }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }
@media (max-width: 820px) { .top nav a:not(.btn) { display: none; } }

/* ── Первый экран ── */
.hero { position: relative; padding: 84px 0 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -260px; background: radial-gradient(circle, rgba(217,189,115,.13), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); margin: 18px 0 22px; }
.hero h1 em { color: var(--gold); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.badges span { display: inline-flex; align-items: center; gap: 8px; }
.badges i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.duo { position: relative; height: 600px; }
.duo .phone { position: absolute; }
.duo .p1 { left: 0; top: 30px; transform: rotate(-4deg); }
.duo .p2 { right: 0; top: 0; transform: rotate(5deg); }
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .duo { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) { .duo { height: 500px; } .duo .phone { transform-origin: top center; } .duo .p1 { transform: rotate(-4deg) scale(.86); left: -18px; } .duo .p2 { transform: rotate(5deg) scale(.86); right: -18px; } }

/* ── Телефон ── */
.phone { width: 268px; border-radius: 44px; padding: 10px; background: linear-gradient(150deg, #34312c, #0b0b0a 60%); box-shadow: 0 50px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone .scr { position: relative; border-radius: 35px; overflow: hidden; height: 540px; background: #141414; }
.phone .notch { position: absolute; top: 9px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #050505; z-index: 3; }
.ui { padding: 40px 15px 0; font-size: 11px; }
.ui .row { display: flex; justify-content: space-between; align-items: center; }
.ui .month { font-family: var(--serif); font-size: 27px; }
.ui .sub { color: var(--gold); font-size: 10px; margin-top: 3px; }
.ui .icons { display: flex; gap: 6px; }
.ui .icons b { width: 26px; height: 26px; border-radius: 50%; background: #1f1e1c; display: block; }
.ui .strip { display: flex; justify-content: space-between; margin: 16px 0 12px; }
.ui .strip span { width: 30px; text-align: center; color: #7c776f; font-size: 9px; padding: 5px 0 6px; border-radius: 11px; }
.ui .strip b { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--text); margin-top: 1px; }
.ui .strip .on { background: var(--gold); color: #3a2f16; }
.ui .strip .on b { color: #1a150c; }
.ui .chips { display: flex; gap: 5px; margin-bottom: 12px; }
.ui .chips span { font-size: 9px; padding: 4px 9px; border-radius: 20px; background: #1f1e1c; color: #8d877e; }
.ui .chips span:first-child { background: var(--text); color: #141414; font-weight: 600; }
.ui .card { background: #1b1a18; border: 1px solid #25231f; border-radius: 15px; padding: 10px 11px; margin-bottom: 7px; }
.ui .card .t { display: flex; justify-content: space-between; color: #8d877e; font-size: 9.5px; font-weight: 600; }
.ui .card .n { font-family: var(--serif); font-size: 16px; margin: 3px 0 1px; }
.ui .card .s { color: #8d877e; font-size: 9.5px; }
.ui .card.now { box-shadow: inset 3px 0 0 var(--gold); }
.ui .card.now .t span:last-child { color: var(--gold); }
.ui .card.done { opacity: .5; }
.ui .nav { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #1b1a18; border-top: 1px solid #25231f; display: flex; justify-content: space-around; align-items: center; color: #7c776f; font-size: 8.5px; }
.ui .nav div { text-align: center; }
.ui .nav div::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 auto 3px; border: 1.4px solid currentColor; border-radius: 5px; }
.ui .nav .act { color: var(--text); }
.ui .nav .sph { width: 44px; height: 44px; margin-top: -28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a352b, #141414 70%); box-shadow: 0 0 0 2px #0f0f0e, 0 0 18px rgba(217,189,115,.35); }
.ui .nav .sph::before { display: none; }

/* NIMA-экран */
.nima-scr { background: radial-gradient(120% 60% at 50% 105%, rgba(228,139,62,.55), rgba(196,85,59,.18) 45%, transparent 70%), #0d0b0a; }
.nima-ui { padding: 42px 16px 0; }
.gauge { display: flex; gap: 3px; align-items: center; }
.gauge i { height: 2px; border-radius: 2px; background: #3a2d25; flex: 1; }
.gauge i.f1 { background: #c9502e; }
.gauge i.f2 { background: linear-gradient(90deg, #e48b3e 60%, #3a2d25 60%); }
.gauge b { width: 6px; height: 6px; border-radius: 50%; background: #2a3a55; margin-left: 4px; }
.nima-card { margin: 18px auto 0; width: 190px; aspect-ratio: 4 / 5; border-radius: 18px; position: relative; overflow: hidden; box-shadow: 0 22px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(228,139,62,.35); }
.nima-card .dots { position: absolute; top: 9px; right: 9px; display: flex; gap: 4px; padding: 4px 6px; border-radius: 10px; background: rgba(0,0,0,.35); }
.nima-card .dots i { width: 5px; height: 5px; border-radius: 50%; background: #f1ede6; }
.nima-card .dots i:last-child { opacity: .3; }
.nima-name { text-align: center; margin-top: 14px; font-family: var(--serif); font-size: 15px; }
.nima-name small { display: block; font-family: var(--sans); font-size: 9.5px; color: #b3a594; margin-top: 2px; }
.rings { display: flex; justify-content: center; gap: 16px; margin-top: 14px; }
.rings span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(241,237,230,.35); display: grid; place-items: center; }
.embers i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 6px 2px rgba(255,160,70,.6); }

/* ── Секции ── */
section { padding: 96px 0; position: relative; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .text { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.rev .text { order: 0; } section { padding: 72px 0; } }
.split h2, .head h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 14px 0 16px; }
.split .lead, .head .lead { color: var(--muted); font-size: 17.5px; margin: 0 0 26px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 13px; }
.feat .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); display: grid; place-items: center; }
.feat h3 { font-family: var(--sans); font-weight: 600; font-size: 15.5px; margin: 1px 0 3px; letter-spacing: 0; line-height: 1.3; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.showcase { display: flex; justify-content: center; }
.showcase .phone { transform: rotate(-2deg); }

/* Страница мастера в Моём круге */
.mp .cover { height: 110px; background: linear-gradient(135deg, #3d3220, #1b1a18); }
.mp .ava { width: 58px; height: 58px; border-radius: 50%; margin: -29px auto 0; background: linear-gradient(135deg, #c9a36a, #6b4f2e); border: 3px solid #141414; }
.mp .who { text-align: center; margin-top: 8px; }
.mp .who b { font-family: var(--serif); font-weight: 400; font-size: 19px; display: block; }
.mp .who span { color: #8d877e; font-size: 10px; }
.mp .stats { display: flex; justify-content: center; gap: 8px; margin: 12px 14px; }
.mp .stats div { flex: 1; background: #1b1a18; border-radius: 12px; padding: 7px 0; text-align: center; font-size: 8.5px; color: #8d877e; }
.mp .stats b { display: block; font-size: 14px; color: var(--gold); font-weight: 600; }
.mp .lbl { margin: 4px 16px 7px; color: #8d877e; font-size: 9px; letter-spacing: 1px; }
.mp .slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 16px; }
.mp .slots span { font-size: 10.5px; padding: 6px 10px; border-radius: 10px; background: rgba(217,189,115,.12); color: var(--gold); border: 1px solid rgba(217,189,115,.3); }
.mp .slots .sel { background: var(--gold); color: #1a150c; font-weight: 600; }
.mp .slots .off { background: #1b1a18; color: #55514b; border-color: #25231f; text-decoration: line-through; }
.mp .book { margin: 14px 16px 0; background: var(--gold); color: #1a150c; border-radius: 12px; text-align: center; padding: 10px; font-weight: 700; font-size: 11px; }
.mp .msg { margin: 12px 16px 0; display: flex; gap: 6px; align-items: flex-end; }
.mp .bubble { background: #3a352e; border-radius: 13px 13px 4px 13px; padding: 7px 10px; font-size: 10px; margin-left: auto; max-width: 70%; }

/* NIMA-секция */
.nima { background: radial-gradient(90% 70% at 50% 110%, rgba(228,139,62,.28), rgba(196,85,59,.08) 45%, transparent 70%), #0c0a09; border-top: 1px solid #231c17; border-bottom: 1px solid #231c17; overflow: hidden; }
.nima .eyebrow { color: #e48b3e; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }
/* В двух колонках шаги NIMA идут списком: номер слева, текст справа */
.split .steps3 { grid-template-columns: 1fr; gap: 10px; }
.split .steps3 div { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 18px; }
.split .steps3 b { grid-row: span 2; margin: 0; font-size: 36px; }
.steps3 div { background: rgba(255,255,255,.03); border: 1px solid rgba(228,139,62,.18); border-radius: 20px; padding: 20px; }
.steps3 b { font-family: var(--serif); font-weight: 400; font-size: 34px; color: #e48b3e; display: block; line-height: 1; margin-bottom: 10px; }
.steps3 h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 5px; letter-spacing: 0; }
.steps3 p { margin: 0; color: #b0a698; font-size: 14.5px; line-height: 1.5; }
.mascot { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.mascot p { margin: 0; color: #c9bfb1; font-size: 15px; }
.mascot b { color: var(--text); font-weight: 600; }

/* Темы */
.head { max-width: 680px; margin-bottom: 36px; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr; max-width: 460px; } }
.theme { border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s; }
.theme:hover { transform: translateY(-4px); }
.theme .art { height: 210px; }
.theme .body { padding: 20px 22px 22px; }
.theme .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.theme h3 { font-size: 25px; }
.theme .price { font-family: var(--serif); font-size: 27px; color: var(--gold); white-space: nowrap; }
.theme p { color: var(--muted); font-size: 14.5px; margin: 7px 0 0; }
.small { color: var(--muted); font-size: 13.5px; margin-top: 18px; }
.buy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 760px) { .buy { grid-template-columns: 1fr; } }
.buy div { border-top: 1px solid var(--line); padding-top: 18px; }
.buy b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--gold); display: block; line-height: 1; margin-bottom: 10px; }
.buy h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 5px; letter-spacing: 0; }
.buy p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Вопросы */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 23px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Финал */
.final { text-align: center; padding: 110px 0; }
.final h2 { font-size: clamp(36px, 5vw, 60px); margin: 16px auto 18px; max-width: 760px; }
.final p { color: var(--muted); font-size: 17.5px; max-width: 560px; margin: 0 auto 30px; }

/* Документы (оферта, политика, контакты) */
.doc { max-width: 780px; padding-top: 56px; padding-bottom: 20px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); margin: 14px 0 12px; }
.doc h2 { font-size: 25px; margin-top: 38px; margin-bottom: 8px; }
.doc p, .doc li { color: #d6d0c7; }
.doc ol, .doc ul { padding-left: 22px; }
.doc .note { color: var(--muted); font-size: 14px; }
.req { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; margin: 20px 0; }
.req dt { color: var(--muted); font-size: 13px; margin-top: 14px; }
.req dt:first-child { margin-top: 0; }
.req dd { margin: 2px 0 0; font-size: 16.5px; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer p { margin: 4px 0; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }

/* ── v4: фото в макетах, разные наклоны, прайс ── */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.tilt-r { transform: rotate(3deg); }
.tilt-l { transform: rotate(-3deg); }
.flat { transform: none; }
.showcase { position: relative; }
.toast { position: absolute; left: 50%; bottom: 46px; transform: translateX(-118%); background: #f1ede6; color: #1a150c; border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.35; box-shadow: 0 18px 40px rgba(0,0,0,.45); width: 210px; }
.toast b { display: block; font-size: 13.5px; }
.toast span { color: #6b655c; font-size: 12px; }
@media (max-width: 900px) { .toast { position: static; transform: none; margin: 18px auto 0; } .showcase { flex-direction: column; align-items: center; } }
.mp .cover.photo-cover { height: 130px; background: none; position: relative; }
.mp .cover.photo-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mp .cover.photo-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #141414); }

/* Темы: веер экранов + прайс */
.themes-v4 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .themes-v4 { grid-template-columns: 1fr; gap: 40px; } }
.fan { position: relative; height: 430px; }
.fan .mini { position: absolute; top: 20px; left: 50%; width: 190px; height: 380px; margin-left: -95px; border-radius: 30px; padding: 8px; background: linear-gradient(150deg, #34312c, #0b0b0a 60%); box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.fan .mini > div { width: 100%; height: 100%; border-radius: 23px; overflow: hidden; position: relative; }
.fan .m1 { transform: translateX(-120px) rotate(-9deg); }
.fan .m3 { transform: translateX(120px) rotate(9deg); }
.fan .m2 { z-index: 2; top: 0; }
@media (max-width: 520px) { .fan { height: 380px; } .fan .m1 { transform: translateX(-78px) rotate(-9deg) scale(.86); } .fan .m3 { transform: translateX(78px) rotate(9deg) scale(.86); } .fan .m2 { transform: scale(.9); } }
.mini-title { position: absolute; left: 14px; top: 18px; font-family: var(--serif); font-size: 22px; }
.mini-card { position: absolute; left: 12px; right: 12px; height: 46px; border-radius: 12px; }
.price-list { margin: 26px 0 8px; }
.price-item { padding: 14px 0; border-bottom: 1px dashed #3a3732; }
.price-item .line { display: flex; align-items: baseline; gap: 10px; }
.price-item .line b { font-family: var(--serif); font-weight: 400; font-size: 22px; white-space: nowrap; }
.price-item .line i { flex: 1; border-bottom: 1px dotted #4a463f; transform: translateY(-5px); }
.price-item .line span { font-family: var(--serif); font-size: 22px; color: var(--gold); white-space: nowrap; }
.price-item p { margin: 3px 0 0; color: var(--muted); font-size: 14.5px; }
.howbuy { margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: #cfc8bd; font-size: 15px; }
.howbuy b { color: var(--text); }
/* Аватар мастера поверх обложки (обложка позиционирована и иначе его перекрывает) */
.mp .ava { position: relative; z-index: 2; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
