/* salon-kit: каркас страницы и окна записи (от движка Elysium SPA). Цвета, шрифты и первый экран каждого сайта — в t-<SITE>.css, он подключается после. */
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/static/fonts/golos-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/static/fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/static/fonts/golos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --night: #0E0E10; --night-2: #18181B; --olive: #141416; --olive-h: #2A2A2E;
  --gold: #C9A45C; --gold-h: #DABA7A; --gold-ink: #8A6A28;
  --mist: #EFECE5; --steam: #FBFAF6; --ink: #141416; --ink-2: #4B4B50; --muted: #6E6E73; --line: #DAD6CB;
  --on-night: #F2EFE8; --on-night-2: #A9A8A4; --line-night: rgba(201,164,92,.26);
  --red: #D7263A; --blue: #1F4AA8;
  --display: "Oswald", "Arial Narrow", sans-serif; --font: "Golos Text", system-ui, sans-serif;
  --r: 14px; --r-s: 10px; --gut: 20px; --max: 1160px;
  --shadow: 0 1px 2px rgba(14,14,16,.05), 0 10px 30px rgba(14,14,16,.08);
  --pole: repeating-linear-gradient(-45deg, var(--red) 0 14px, #F4F1EA 14px 28px, var(--blue) 28px 42px, #F4F1EA 42px 56px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; }
h1, h2 { font-family: var(--display); letter-spacing: .01em; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.i { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 46ch; margin: 20px 0 0; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-h); }
.btn-line { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-line:hover { background: var(--olive); color: var(--on-night); }
.btn-ghost-d { background: transparent; color: var(--on-night); border-color: rgba(238,240,232,.35); }
.btn-ghost-d:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.wide { width: 100%; }

/* ---------- шапка: над ночным hero — ночная ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(14,14,16,.94); backdrop-filter: saturate(1.3) blur(12px); color: var(--on-night); border-bottom: 1px solid var(--line-night); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 42px; height: 42px; flex: none; }
.brand-t { display: grid; line-height: 1.2; }
.brand-t b { font: 400 19px/1.1 var(--display); letter-spacing: .06em; color: var(--gold); }
.brand-t small { color: var(--on-night-2); font-size: 13px; }
.menu { display: flex; gap: 28px; }
.menu a { text-decoration: none; font-size: 15px; color: var(--on-night-2); transition: color .2s; }
.menu a:hover { color: var(--gold); }
.top-act { display: flex; align-items: center; gap: 10px; }
.share-btn, .lang-btn { height: 44px; min-width: 44px; flex: none; display: inline-grid; place-items: center; border: 1px solid rgba(238,240,232,.25); border-radius: 999px;
  background: transparent; color: var(--on-night); cursor: pointer; transition: border-color .2s, color .2s; }
.lang-btn { padding: 0 12px; font: 600 14px/1 var(--font); letter-spacing: .02em; text-decoration: none; }
.share-btn .i { width: 20px; height: 20px; }
.share-btn:hover, .lang-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- hero: ночь + кольцо часов ---------- */
.hero { position: relative; background: radial-gradient(80% 90% at 78% 45%, #2A3826 0%, var(--night) 62%); color: var(--on-night); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #F4F1E6; max-width: 11ch; }
.hero .lead { color: var(--on-night-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.rating { display: inline-flex; align-items: center; gap: 8px; color: var(--on-night-2); text-decoration: none; font-size: 15px; }
.rating b { color: var(--on-night); font-weight: 600; }
.rating .star { color: var(--gold); fill: var(--gold); }
.rating:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* акция — золотая строка между ночью и днём */
.promo { background: var(--olive); color: var(--on-night); }
.promo-in { display: flex; align-items: center; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
.promo .i { color: var(--gold); width: 22px; height: 22px; }
.promo p { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.promo b { font-weight: 600; color: var(--gold); }
.promo span { color: var(--on-night-2); }

.facts { background: var(--steam); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-in > * { display: flex; gap: 14px; align-items: flex-start; padding: 24px 0; text-decoration: none; }
.facts-in > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
.facts-in > a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.facts .i { color: var(--gold-ink); margin-top: 3px; }
.facts b { display: block; font-weight: 600; } .facts small { color: var(--muted); font-size: 14px; }

/* ---------- секции ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec-note { color: var(--ink-2); margin: 16px 0 0; }

/* программы */
.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog-k { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.prog-t { margin: 0; color: var(--ink-2); }
.prog-p { margin: 4px 0 0; font-size: 16px; color: var(--muted); }
.prog-p b { color: var(--ink); font-weight: 600; font-size: 18px; }
.prog-p i { font-style: normal; }
.for { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.for li { padding: 9px 16px; border-radius: 999px; background: var(--steam); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

/* прайс */
.sec-price { background: var(--steam); }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 32px; padding-bottom: 4px; scrollbar-width: none; }
.filters a { flex: none; text-decoration: none; border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, color .2s; }
.filters a:hover { border-color: var(--olive); color: var(--olive); }
.price-note { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 24px; padding: 16px 20px; border-radius: var(--r-s); max-width: 820px;
  background: var(--mist); color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.price-note-ico { flex: none; color: var(--gold-ink); padding-top: 2px; }
.price-note p { margin: 0; } .price-note b { color: var(--ink); font-weight: 600; }
.plist { columns: 2 400px; column-gap: 64px; }
.cat { break-inside: avoid; margin-bottom: 40px; scroll-margin-top: 96px; }
.cat h3 { font: 400 1.6rem/1.1 var(--display); color: var(--olive); padding-bottom: 12px; border-bottom: 1px solid var(--olive); }
.cat ul { list-style: none; margin: 0; padding: 0; }
.cat label { position: relative; display: flex; align-items: flex-start; gap: 16px; min-height: 60px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cat .n { flex: 1; min-width: 0; line-height: 1.35; font-weight: 500; }
.cat .n small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); font-weight: 400; }
.cat .p { display: grid; justify-items: end; gap: 2px; white-space: nowrap; padding-top: 1px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat .p b { color: var(--ink); font-weight: 600; }
.cat .p .dur { font-style: normal; font-size: 12.5px; }
.ask { font-size: 14px; }
.cat input { position: absolute; opacity: 0; pointer-events: none; right: 0; }
.dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #B9C2B3; display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s; }
.dot .i { width: 14px; height: 14px; }
.cat label:hover .dot { border-color: var(--olive); }
.cat input:checked ~ .dot { background: var(--olive); border-color: var(--olive); color: var(--gold); }
.cat input:focus-visible ~ .dot { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.cat label:has(input:checked) .n { color: var(--olive); }

/* мастера */
.mlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.m { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 28px 20px 22px; background: var(--steam); border-radius: var(--r); border: 1px solid var(--line); }
.m-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; box-shadow: 0 0 0 3px var(--steam), 0 0 0 4.5px var(--gold); }
.m-photo.mono { display: grid; place-items: center; background: var(--olive); color: var(--gold); font: 400 44px/1 var(--display); }
.mn { font: 400 1.5rem/1.2 var(--display); } .mr { color: var(--ink-2); font-size: 14px; }
.mx { font-size: 13px; color: var(--gold-ink); font-weight: 600; }
.m .btn { margin-top: 12px; }
.ms { margin-top: 12px; font-size: 13px; color: var(--muted); padding: 8px 14px; border-radius: 999px; background: var(--mist); }
.m-dayoff .m-photo, .m-vacation .m-photo { filter: grayscale(1); opacity: .7; }

/* отзывы — снова ночь */
.sec-dark { background: var(--night); color: var(--on-night); }
.sec-dark .eyebrow { color: var(--gold); }
.sec-dark h2 { color: #F4F1E6; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.q { margin: 0; padding: 28px; border-radius: var(--r); border: 1px solid var(--line-night); display: grid; align-content: space-between; gap: 20px; }
.q blockquote { margin: 0; font: 400 1.35rem/1.35 var(--display); color: #F4F1E6; }
.q figcaption { font-size: 14px; color: var(--gold); font-weight: 600; } .q figcaption span { color: var(--on-night-2); font-weight: 400; }
.rv-all { margin: 28px 0 0; }
.rv-all a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); text-decoration: none; font-weight: 600; }
.rv-all a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* оплата */
.pay { background: var(--steam); }
.pay-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pay-steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.pay-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.pay-steps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--gold); font: 400 18px/1 var(--display); }
.pay-steps b { font-weight: 600; } .pay-steps span { color: var(--ink-2); font-size: 15px; }
.pay-alt { margin: 24px 0 0; color: var(--muted); }
.qr-card { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: center; }
.qr-card img { width: 240px; height: 240px; object-fit: contain; image-rendering: pixelated; }
.qr-card figcaption { font-weight: 600; } .qr-card .btn { width: 100%; }
.qr-card.empty { background: var(--mist); box-shadow: none; }
.qr-card.empty figcaption { color: var(--ink-2); font-weight: 400; max-width: 24ch; }
.qr-frame { width: 200px; height: 200px; display: grid; place-items: center; border: 2px dashed #B9C2B3; border-radius: var(--r-s); }
.qr-ico { width: 72px; height: 72px; color: #A3AD9D; }

/* контакты */
.card { background: var(--steam); border-radius: var(--r); padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); }
.contact-card { max-width: 820px; }
.addr { font: 400 clamp(1.8rem, 3vw, 2.3rem)/1.1 var(--display); margin: 0 0 10px; color: var(--olive); }
.sub { color: var(--ink-2); margin: 0 0 24px; max-width: 56ch; }
.kv { margin: 0; display: grid; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: 150px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; } .kv a { text-decoration: none; }
.kv a:hover { text-decoration: underline; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .2s; }
.pill:hover { border-color: var(--olive); }
button.pill { background: var(--steam); color: var(--ink); font-family: inherit; cursor: pointer; }

/* вакансии */
.jobs { background: var(--mist); border-top: 1px solid var(--line); }
.jobs .lead { margin: 12px 0 0; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.job { display: grid; align-content: start; gap: 10px; background: var(--steam); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.job h3 { font: 400 1.6rem/1.1 var(--display); color: var(--olive); }
.job-pay { margin: 0; font-weight: 600; color: var(--gold-ink); }
.job-body { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.job .btn { justify-self: start; margin-top: 6px; }
.job-any { margin: 24px 0 0; }
.link-btn { background: none; border: 0; padding: 0; font: 600 15px var(--font); color: var(--olive); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* подвал */
.foot { background: var(--night); color: var(--on-night-2); font-size: 14px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 36px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-logo { width: 52px; height: 52px; flex: none; }
.foot b { color: var(--gold); font: 400 18px var(--display); letter-spacing: .05em; }
.foot-links { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--on-night); text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot-doors { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-night); }
.foot .foot-doors a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(238,240,232,.25); border-radius: 999px; font-weight: 500; transition: border-color .2s, color .2s; }
.foot .foot-doors a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* ---------- плавающая «Записаться» ---------- */
.float { position: fixed; z-index: 30; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(560px, calc(100% - 20px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; background: rgba(14,14,16,.96); color: var(--on-night);
  border-radius: 999px; box-shadow: 0 12px 40px rgba(8,8,10,.35), 0 0 0 1px var(--line-night); cursor: pointer; backdrop-filter: blur(8px); }
.float-info { display: grid; line-height: 1.25; min-width: 0; }
.float-t { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-s { font-size: 13px; color: var(--on-night-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float .btn { flex: none; min-height: 50px; padding: 0 28px; }

/* ---------- окно записи ---------- */
.sheet { border: 0; padding: 0; width: min(540px, 100%); max-width: 100%; max-height: min(92svh, 880px); margin: auto auto 0; border-radius: 22px 22px 0 0; background: var(--steam); color: var(--ink); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 22px; } }
.sheet::backdrop { background: rgba(14,20,13,.55); backdrop-filter: blur(2px); }
.bform, .done, .sheet .pad { display: grid; gap: 16px; padding: 28px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet h2 { font-size: 2.1rem; } .sheet h2:focus { outline: none; }
.x { background: none; border: 0; color: inherit; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; margin-right: -10px; border-radius: 50%; flex: none; }
.x:hover { background: var(--mist); }
.done .btn.x { width: 100%; height: auto; margin: 0; border-radius: 999px; }
.f { display: grid; gap: 6px; font-size: 14px; color: var(--muted); border: 0; padding: 0; margin: 0; min-width: 0; }
.f legend { padding: 0; margin-bottom: 6px; }
.f input, .f select, .apply textarea { font: 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; min-height: 50px; width: 100%; }
.apply textarea { resize: vertical; }
.f input:focus, .f select:focus, .apply textarea:focus { border-color: var(--olive); outline: none; box-shadow: 0 0 0 3px rgba(52,69,51,.15); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: none; min-width: 64px; min-height: 60px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: 600 15px/1.2 var(--font); border-radius: var(--r-s); padding: 6px 8px; }
.day small { font-weight: 400; color: var(--muted); font-size: 12px; }
.day[aria-checked="true"] { background: var(--olive); color: var(--on-night); border-color: var(--olive); }
.day[aria-checked="true"] small { color: inherit; opacity: .8; }
.slot-legend { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg.free { background: #fff; border: 1.5px solid var(--olive); } .lg.busy { background: #ECEEE9; border: 1.5px dashed #B3BAAE; margin-left: 6px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: var(--r-s); font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; background: #fff; border: 1.5px solid var(--olive); color: var(--olive); transition: background .15s; }
.slot:hover { background: #EEF2EA; }
.slot[aria-checked="true"] { background: var(--olive); color: var(--gold); }
.slot:disabled { cursor: not-allowed; background: #ECEEE9; border: 1.5px dashed #C3C9BE; color: #9AA195; text-decoration: line-through; }
.slots.loading { opacity: .5; pointer-events: none; }
.slot-empty { margin: 8px 0 0; color: #9A3A22; font-size: 14px; }
.night { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; }
.night .i { width: 15px; height: 15px; color: var(--gold-ink); }
.picked { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.picked:empty::before { content: "Услуги можно отметить в прайсе — или записаться без них, мастер подскажет."; color: var(--muted); }
:lang(ky) .picked:empty::before { content: "Кызматтарды баалар тизмесинен белгилесеңиз болот — же аларсыз жазылыңыз, администратор жардам берет."; }
.chip { background: var(--mist); padding: 6px 12px; border-radius: 999px; }
.picked .sum { flex-basis: 100%; font-weight: 600; margin-top: 2px; }
.takes { margin: -4px 0 0; font-size: 14px; color: var(--ink-2); } .takes b { color: var(--ink); }
.err { color: #9A3A22; margin: 0; font-size: 14px; } .err:empty { display: none; }
.fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.trap { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
.done { text-align: center; justify-items: center; padding: 40px 28px 28px; }
.done-mark { width: 60px; height: 60px; display: grid; place-items: center; background: var(--olive); color: var(--gold); border-radius: 50%; margin: 0; }
.done-mark .i { width: 28px; height: 28px; }
.done-text { margin: 0; color: var(--ink-2); max-width: 40ch; }
.done .cal { gap: 10px; } .mine-link a { color: var(--olive); font-weight: 600; }

/* поделиться */
.qr-box { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.qr-svg { width: min(220px, 60vw); aspect-ratio: 1; color: var(--muted); font-size: 14px; display: grid; place-items: center; text-align: center; }
.qr-svg svg { width: 100%; height: 100%; display: block; }
.qr-svg svg path, .qr-svg svg rect[fill="black"] { fill: var(--night); }
.qr-box figcaption { font-size: 13px; color: var(--muted); }
.link-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.share-url { font: 15px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; min-height: 50px; min-width: 0; }
.share-to { display: flex; flex-wrap: wrap; gap: 8px; }
.share-to .pill { flex: 1 1 auto; justify-content: center; }
.apply-for { margin: -6px 0 0; color: var(--ink-2); }
.apply .f small { color: var(--muted); }
.adone { justify-items: center; text-align: center; } .adone .btn { justify-self: stretch; }

/* ---------- «Моя запись» ---------- */
.mine { background: var(--mist); min-height: 100svh; }
.mine-in { max-width: 520px; margin: 0 auto; padding: 28px 16px 48px; display: grid; gap: 16px; }
.mine-brand { display: flex; align-items: center; gap: 12px; margin: 0; }
.mine-logo { width: 44px; height: 44px; flex: none; }
.mine-brand span { display: grid; line-height: 1.25; } .mine-brand small { color: var(--muted); font-size: 13px; }
.mine-brand .lang-btn { margin-left: auto; height: 36px; color: var(--ink); border-color: var(--line); }
.mine h1 { font-size: clamp(2.1rem, 7vw, 2.6rem); margin: 8px 0 0; }
.mine-st { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin: 0; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.mine-st .mine-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: currentColor; }
.mine-st.wait { background: #F5ECD9; color: #7A5F2C; } .mine-st.ok { background: #DDE8D8; color: #2D4A2B; } .mine-st.bad { background: #F3E0DA; color: #8A3320; }
.mine-hint { margin: -4px 0 0; color: var(--ink-2); }
.mine-kv { background: var(--steam); border-radius: var(--r); padding: 8px 20px; margin: 0; border: 0; }
.mine-kv div { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 0; border-top: 1px solid var(--line); }
.mine-kv div:first-child { border-top: 0; }
.mine-cal { display: grid; gap: 8px; }
.mine-btns .pill { background: var(--steam); flex: 1 1 auto; justify-content: center; }
.mine-save, .mine-home { margin: 0; } .mine-home { text-align: center; font-size: 14px; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .progs { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .qr-card { justify-self: stretch; }
  .facts-in { grid-template-columns: 1fr; }
  .facts-in > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts-in > * { padding: 18px 0; }
  .top-cta { display: none; }
  html { scroll-padding-top: 72px; }
}
@media (max-width: 600px) {
  .cat .n small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .top-in { min-height: 62px; gap: 10px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-t small { display: none; }
  .share-btn, .lang-btn { height: 40px; min-width: 40px; }
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 { max-width: none; }
  .promo p { display: grid; }
}
@media (max-width: 420px) {
  :root { --gut: 16px; }
  .two { grid-template-columns: 1fr; }
  h1 { font-size: 2.75rem; }
  .top-act { gap: 6px; }
  .cta .btn { flex: 1 1 100%; }
  .float { padding-left: 18px; } .float .btn { padding: 0 22px; }
  .foot-doors a { flex: 1 1 100%; justify-content: center; }
  .sheet .pad, .bform { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.pv { white-space: nowrap; }
/* контакты: слева адрес и часы, справа — куда нажать */
.contact-card { max-width: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px clamp(32px, 5vw, 72px); align-items: start; }
.cc-side { margin-top: 0; flex-direction: column; align-items: stretch; }
.cc-side .pill { justify-content: flex-start; min-height: 50px; }
.cc-lotus { width: 56px; height: 38px; color: var(--gold-ink); margin: 4px 0 12px; }
@media (max-width: 960px) { .contact-card { grid-template-columns: 1fr; } .cc-side { flex-direction: row; flex-wrap: wrap; } .cc-lotus { display: none; } .cc-side .pill { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 600px) {
  .mlist { grid-template-columns: 1fr 1fr; gap: 10px; }
  .m { padding: 20px 10px 16px; } .m-photo { width: 76px; height: 76px; margin-bottom: 8px; } .m-photo.mono { font-size: 32px; }
  .mn { font-size: 1.3rem; } .m .btn { padding: 0 16px; }
}


/* ---------- шёлк: абстрактная живопись шейдером (tools/silk) ---------- */
.silk { display: block; width: 100%; height: 100%; object-fit: cover; }
.silk.bg { position: absolute; inset: 0; z-index: -1; }

.hero { position: relative; isolation: isolate; min-height: min(92svh, 860px); display: grid; align-items: center; padding: clamp(72px, 10vw, 128px) 0; background: var(--night); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.72) 34%, rgba(8,8,10,.12) 68%, rgba(8,8,10,0) 100%), linear-gradient(0deg, rgba(8,8,10,.55), transparent 30%); }
.hero-in { position: relative; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #C9D1C3; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 18px; border-radius: 999px; background: rgba(18,18,20,.55); border: 1px solid var(--line-night); backdrop-filter: blur(8px); color: var(--on-night); font-variant-numeric: tabular-nums; }
.st-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-night-2); }
.status.on .st-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.2); }
.st-s { font: 400 1.2rem/1 var(--display); } .status.on .st-s { color: var(--gold); }
.st-k { color: var(--on-night-2); font-size: 14px; } .st-k:not(:empty)::before { content: "· "; }

/* программы: шёлк сверху, название поверх, текст ниже */
.prog { display: flex; flex-direction: column; border-radius: var(--r); background: var(--steam); border: 1px solid var(--line); overflow: hidden; }
.prog-pic { position: relative; margin: 0; aspect-ratio: 16 / 11; overflow: hidden; }
.prog-pic .silk { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.prog-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.1) 60%); }
.prog-pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 26px; }
.prog-pic .prog-k { color: var(--gold); margin: 0 0 6px; }
.prog-pic h3 { font: 400 clamp(1.8rem, 2.6vw, 2.3rem)/1.05 var(--display); color: #F4F1E6; }
.prog-b { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 26px 26px; flex: 1; }
.prog-b .btn { margin-top: auto; }
.prog-p { margin: 0 0 8px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .prog:hover .prog-pic .silk { transform: scale(1.05); } }

/* ритуал: шёлковая полоса, римские цифры */
.ritual { position: relative; isolation: isolate; color: var(--on-night); overflow: hidden; background: var(--night); }
.ritual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,10,.78), rgba(8,8,10,.6) 50%, rgba(8,8,10,.85)); }
.ritual .eyebrow { color: var(--gold); } .ritual h2 { color: #F4F1E6; } .ritual .sec-note { color: #C9D1C3; }
.rit { list-style: none; counter-reset: r; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-night); }
.rit li { counter-increment: r; display: grid; align-content: start; gap: 10px; padding: 32px 28px 8px 0; }
.rit li + li { padding-left: 28px; border-left: 1px solid var(--line-night); }
.rit li::before { content: counter(r, upper-roman); font: 400 3.4rem/1 var(--display); color: var(--gold); }
.rit b { font: 400 1.8rem/1.1 var(--display); color: #F4F1E6; }
.rit span { color: #C9D1C3; font-size: 15px; }

.cat h3 { color: var(--olive); }
.q { position: relative; }
.qmark { width: 40px; height: 30px; fill: var(--gold); margin-bottom: -4px; }
.q blockquote { font-size: 1.45rem; }
.sec-dark .q { background: rgba(255,255,255,.02); }

.foot { position: relative; isolation: isolate; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,10,.55), rgba(8,8,10,.9) 70%); }
.foot-word { margin: 0; padding-top: 48px; text-align: center; font: 400 clamp(5rem, 19vw, 17rem)/.8 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(201,164,92,.45); user-select: none; }

@media (max-width: 960px) {
  .rit { grid-template-columns: 1fr 1fr; }
  .rit li:nth-child(3) { border-left: 0; padding-left: 0; }
  .rit li:nth-child(n+3) { border-top: 1px solid var(--line-night); }
}
@media (max-width: 700px) {
  .hero { min-height: 88svh; align-items: end; padding-bottom: 40px; }
  .hero::before { background: linear-gradient(0deg, rgba(8,8,10,.95) 0%, rgba(8,8,10,.75) 45%, rgba(8,8,10,.15) 80%); }
  .hero h1 { max-width: none; }
  .hero-meta { margin-top: 24px; }
  .rit { grid-template-columns: 1fr; }
  .rit li, .rit li + li { padding: 24px 0 12px; border-left: 0; border-top: 1px solid var(--line-night); display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .rit li::before { grid-row: span 2; font-size: 2.6rem; }
  .rit b { font-size: 1.5rem; }
}
.hero > .wrap { width: 100%; }
.silk.bg { z-index: -2; }
.prog-pic::after { background: linear-gradient(0deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.55) 45%, rgba(8,8,10,.05) 80%); }
.silk.flip { transform: scaleX(-1); }
.foot::before { background: linear-gradient(180deg, rgba(8,8,10,.25) 0%, rgba(8,8,10,.55) 45%, rgba(8,8,10,.92) 80%); }
.sec-dark { position: relative; isolation: isolate; overflow: hidden; }
.sec-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,10,.82), rgba(8,8,10,.6) 50%, rgba(8,8,10,.88)); }
.sec-dark .q { background: rgba(18,18,20,.5); backdrop-filter: blur(6px); }
.sec-dark::before { background: linear-gradient(180deg, rgba(8,8,10,.7), rgba(8,8,10,.35) 50%, rgba(8,8,10,.75)); }



/* ---------- общее для сайтов набора: работы, фото в контактах, появление первого экрана ---------- */
.works-s { background: var(--steam); border-block: 1px solid var(--line); }
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.works li { overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 4; background: var(--mist); }
.works .silk { transition: transform 1s cubic-bezier(.2,.7,.2,1); } @media (hover: hover) { .works li:hover .silk { transform: scale(1.06); } }
.contact-card { grid-template-columns: 1.1fr .9fr; } .cc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cc-pic { margin: 0; overflow: hidden; border-radius: var(--r); min-height: 300px; position: relative; } .cc-pic .silk { position: absolute; inset: 0; }
.foot-demo { flex-basis: 100%; margin: 0; font-size: 12.5px; opacity: .7; }
.hero { min-height: 0; display: block; } .hero::before { display: none; } .ritual::before, .sec-dark::before, .foot::before { display: none; }
.hero-g { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 72px); align-items: center; } .hero h1 { max-width: none; }
.q blockquote, .sec-dark .q blockquote { font: 400 1.05rem/1.6 var(--font); } .sec-dark .q { backdrop-filter: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-t > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; } .hero-t > :nth-child(2) { animation-delay: .08s; } .hero-t > :nth-child(3) { animation-delay: .16s; } .hero-t > :nth-child(4) { animation-delay: .24s; } .hero-t > :nth-child(5) { animation-delay: .32s; }
.hero-w { animation: rise 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }
@media (max-width: 960px) { .hero-g { grid-template-columns: 1fr; } .works { grid-template-columns: repeat(2, 1fr); } .contact-card { grid-template-columns: 1fr; } .cc-pic { min-height: 240px; } }
@media (max-width: 700px) { .hero { min-height: 0; padding: 28px 0 44px; } }
@media (prefers-reduced-motion: reduce) { .hero-t > *, .hero-w { animation: none; } }
@media (max-width: 420px) { .status { font-size: 14px; padding: 9px 14px; gap: 8px; } .st-k { display: none; } }
