/* =========================================================
   Chiroy — главная. Фарфор, кобальт и бирюза риштанской керамики,
   ленточка атласа. Unbounded для заголовков, Onest для текста.
   ========================================================= */
:root {
  --paper: #F3F5FA;
  --white: #FFFFFF;
  --ink: #121A33;
  --ink-2: #3D4766;
  --muted: #6E7894;
  --line: #DCE2EE;
  --cobalt: #2643A6;
  --cobalt-deep: #172D7A;
  --cobalt-tint: #E6EBFA;
  --turq: #16928C;
  --turq-tint: #DDF2F0;
  --saffron: #E9A23B;
  --pom: #C2334D;
  --display: 'Unbounded', 'Onest', sans-serif;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body.home { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.i { width: 22px; height: 22px; flex: none; }
.i-sm { width: 18px; height: 18px; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin-top: 18px; max-width: 56ch; }

.ikat-top { height: 8px; background: url('../img/ikat.svg') repeat-x left center / auto 100%; }

/* ---------- Шапка ---------- */
.hd {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 20px; background: rgba(243, 245, 250, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: box-shadow .25s, background-color .25s;
}
.hd.is-scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(243, 245, 250, .94); }
@media (min-width: 760px) { .hd { padding: 0 40px; height: 72px; } }
.hd-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.hd-mark { width: 30px; height: 30px; border-radius: 8px; background: url('../img/favicon.svg') center / cover; flex: none; }
.hd-nav { display: none; gap: 28px; }
.hd-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.hd-nav a:hover { color: var(--ink); }
@media (min-width: 1100px) { .hd-nav { display: flex; } }
.hd-end { display: flex; align-items: center; gap: 8px; }
.hd-lang { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(18, 26, 51, .06); }
.hd-lang a { padding: 5px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--muted); }
.hd-lang a.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18,26,51,.12); }
.hd-login { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 12px; border-radius: 11px; }
.hd-login:hover { background: rgba(18,26,51,.06); }
.hd-cta { display: none; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.hd-cta:hover { background: var(--cobalt); }
@media (min-width: 560px) { .hd-cta { display: inline-block; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: 24px 0 56px; }
.hero-plate {
  position: absolute; width: 920px; height: 920px; right: -340px; top: -120px; color: var(--cobalt); opacity: .07; pointer-events: none;
  animation: spin 160s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 20px; display: grid; gap: 48px; }
@media (min-width: 760px) { .hero-in { padding: 0 40px; } }
@media (min-width: 1100px) {
  .hero { padding: 36px 0 88px; }
  .hero-in { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: 48px; }
}
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 4px var(--turq-tint); }
.hero-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 9.4vw, 54px); line-height: 1.02; letter-spacing: -0.045em; margin-top: 22px; }
@media (min-width: 760px) { .hero-h1 { font-size: clamp(48px, 5.2vw, 70px); } }
.hero-h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h1 .ln > span { display: inline-block; }
.hero-h1 .ln + .ln > span { font-weight: 400; color: var(--ink-2); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 50ch; }
.hero-proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof .i { color: var(--turq); }

/* Форма «забрать адрес» */
.claim { margin-top: 28px; max-width: 600px; }
.claim-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.claim-box {
  display: grid; grid-template-columns: auto 1fr; align-items: center; background: var(--white); border-radius: 18px; padding: 6px;
  box-shadow: 0 0 0 2px var(--ink), 0 24px 50px -28px rgba(18, 26, 51, .55); transition: box-shadow .2s;
}
.claim-box:focus-within { box-shadow: 0 0 0 2px var(--cobalt), 0 0 0 6px rgba(38, 67, 166, .15), 0 24px 50px -28px rgba(18, 26, 51, .55); }
.claim-host { padding-left: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; font-size: 16px; }
.claim-input { min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; font: 600 17px var(--font); color: var(--ink); padding: 0 8px 0 2px; }
.claim-input::placeholder { color: #A9B1C6; font-weight: 500; }
.claim-btn {
  grid-column: 1 / -1; height: 54px; border: 0; border-radius: 13px; background: var(--cobalt); color: #fff; cursor: pointer;
  font: 600 16px var(--font); padding: 0 22px; transition: background-color .15s, transform .15s;
}
.claim-btn:hover { background: var(--cobalt-deep); }
.claim-btn:active { transform: scale(.98); }
@media (min-width: 560px) {
  .claim-box { grid-template-columns: auto 1fr auto; }
  .claim-btn { grid-column: auto; }
}
.claim-state { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 22px; }
.claim-state b { color: var(--ink); }
.claim-state.ok { color: var(--turq); }
.claim-state.bad { color: var(--pom); }

/* Телефон и плавающие карточки */
.hero-stage { position: relative; display: grid; justify-items: center; gap: 18px; padding: 10px 0 0; }
.phone {
  position: relative; width: min(320px, 78vw); aspect-ratio: 320 / 660; border-radius: 48px; padding: 11px; background: #0E1428;
  box-shadow: inset 0 0 0 1.5px #2A3354, 0 50px 90px -40px rgba(18, 26, 51, .65), 0 18px 30px -20px rgba(18,26,51,.35);
  display: flex; flex-direction: column;
}
.phone-bar { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; color: #C8D0E6; font-size: 12px; flex: none; }
.phone-bar b { color: #fff; font-weight: 600; }
.lock { width: 9px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; top: 1px; }
.lock::before { content: ''; position: absolute; left: 1px; right: 1px; top: -6px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.phone-screen { position: relative; flex: 1; border-radius: 36px; overflow: hidden; background: #fff; }
.phone-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: auto; }
.float {
  position: absolute; z-index: 3; background: rgba(255,255,255,.96); border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 24px 50px -24px rgba(18, 26, 51, .5), 0 0 0 1px rgba(18,26,51,.06); backdrop-filter: blur(8px);
}
.float-note { display: flex; gap: 10px; align-items: flex-start; width: 270px; left: max(-10px, calc(50% - 290px)); top: 64px; }
.fn-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #2AABEE; color: #fff; flex: none; }
.fn-body { display: grid; gap: 1px; font-size: 13px; line-height: 1.35; flex: 1; min-width: 0; }
.fn-body b { font-size: 13.5px; }
.fn-body span { color: var(--ink-2); }
.float-note time { font-size: 11.5px; color: var(--muted); }
.float-rep { right: max(-6px, calc(50% - 270px)); bottom: 96px; width: 190px; display: grid; gap: 2px; }
.float-rep small { font-size: 12px; color: var(--muted); }
.float-rep b { font-family: var(--display); font-size: 22px; letter-spacing: -0.03em; }
.float-rep em { font-style: normal; font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--turq); background: var(--turq-tint); padding: 2px 6px; border-radius: 6px; vertical-align: 4px; }
.fr-bars { display: flex; align-items: flex-end; gap: 4px; height: 38px; margin-top: 6px; }
.fr-bars i { flex: 1; border-radius: 3px; background: var(--cobalt); opacity: .85; }
.fr-bars i:last-child { background: var(--saffron); opacity: 1; }
@media (max-width: 559px) {
  .float-note { width: 230px; left: 0; top: 40px; transform: scale(.92); transform-origin: left top; }
  .float-rep { right: 0; bottom: 84px; transform: scale(.9); transform-origin: right bottom; }
}
.demo-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.demo-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--white); font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.demo-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--sw); }
.demo-chip:hover { border-color: #B9C2D6; }
.demo-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Анимация первого экрана — один раз при загрузке */
.js .hero-h1 .ln > span { transform: translateY(105%); }
.js .hero-kicker, .js .hero-sub, .js .claim, .js .hero-proof { opacity: 0; transform: translateY(14px); }
.js .phone[data-phone] { opacity: 0; transform: translateY(40px) rotate(-2deg); }
.js .float { opacity: 0; transform: translateY(18px) scale(.96); }
.is-ready .hero-h1 .ln > span { transform: none; transition: transform .9s var(--ease); }
.is-ready .hero-h1 .ln + .ln > span { transition-delay: .08s; }
.is-ready .hero-kicker, .is-ready .hero-sub, .is-ready .claim, .is-ready .hero-proof { opacity: 1; transform: none; transition: opacity .7s, transform .7s var(--ease); }
.is-ready .hero-sub { transition-delay: .2s; }
.is-ready .claim { transition-delay: .3s; }
.is-ready .hero-proof { transition-delay: .4s; }
.is-ready .phone[data-phone] { opacity: 1; transform: none; transition: opacity .9s .15s, transform 1.1s .15s var(--ease); }
.is-ready .float-note { opacity: 1; transform: none; transition: opacity .6s 1s, transform .7s 1s var(--ease); }
.is-ready .float-rep { opacity: 1; transform: none; transition: opacity .6s 1.25s, transform .7s 1.25s var(--ease); }
@media (max-width: 559px) {
  .is-ready .float-note { transform: scale(.92); }
  .is-ready .float-rep { transform: scale(.9); }
}

/* ---------- Зачем ---------- */
.why { background: var(--white); padding: 88px 0; }
@media (min-width: 1100px) { .why { padding: 128px 0; } }
.why-h { max-width: 20ch; }
.vs { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 900px) { .vs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.vs-card { border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.vs-card header { display: flex; justify-content: space-between; align-items: center; }
.vs-tag { font-weight: 700; font-size: 15px; }
.vs-app { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.vs-old { background: #F4F4F7; }
.vs-old .vs-app { background: linear-gradient(90deg, #F6C26B, #E1306C 50%, #8A3AB9); color: #fff; }
.vs-new { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.vs-new::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 10px; background: url('../img/ikat.svg') repeat-y center top / 100% auto; }
.vs-new .vs-app { background: rgba(255,255,255,.16); font-family: var(--display); }
.chatlog { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bub { max-width: 82%; padding: 10px 14px 7px; border-radius: 20px; font-size: 15px; line-height: 1.4; display: grid; gap: 2px; }
.bub time { font-size: 11px; opacity: .55; justify-self: end; }
.bub.in { background: var(--white); align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: 0 1px 0 rgba(18,26,51,.06); }
.bub.out { background: #3E8BFF; color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.gap { align-self: center; font-size: 12.5px; color: var(--muted); padding: 4px 12px; border-radius: 999px; background: rgba(18,26,51,.06); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.flow li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.09); font-size: 15px; line-height: 1.45; }
.flow time { font-weight: 700; font-variant-numeric: tabular-nums; color: #F6C77E; }
.vs-result { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 12px 14px; border-radius: 14px; font-size: 15px; }
.vs-result.bad { background: #FBE3E8; color: var(--pom); }
.vs-result.good { background: #fff; color: var(--cobalt); }
/* последовательное появление при прокрутке */
.js [data-reveal] .bub, .js [data-reveal] .gap, .js [data-reveal] .flow li, .js [data-reveal] .vs-result { opacity: 0; transform: translateY(10px); }
[data-reveal].is-in .bub, [data-reveal].is-in .gap, [data-reveal].is-in .flow li, [data-reveal].is-in .vs-result {
  opacity: 1; transform: none; transition: opacity .45s calc(var(--d) * .32s), transform .5s calc(var(--d) * .32s) var(--ease);
}
.pains { display: grid; gap: 22px; margin-top: 56px; }
@media (min-width: 900px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.pains div { padding-top: 18px; border-top: 2px solid var(--ink); }
.pains b { display: block; font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.pains p { color: var(--ink-2); font-size: 16px; }

/* ---------- Возможности ---------- */
.feats { padding: 88px 0; }
@media (min-width: 1100px) { .feats { padding: 128px 0 64px; } }
.feats-grid { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1000px) { .feats-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; } }
.feat { padding: 28px 0; border-top: 1px solid var(--line); }
.feat:first-child { border-top: 0; }
@media (min-width: 1000px) { .feat { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 0; opacity: .35; transition: opacity .4s; } .feat.on { opacity: 1; } }
.feat-n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); margin-bottom: 18px; }
.feat h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; max-width: 18ch; }
.feat p { color: var(--ink-2); margin-top: 14px; max-width: 50ch; }
.feat ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.feat li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; }
.feat li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--saffron); transform: rotate(45deg); border-radius: 1px; }
.feat-mobile-screen { margin-top: 24px; }
.mini-phone { width: min(300px, 82vw); aspect-ratio: 300 / 560; border-radius: 38px; padding: 9px; background: #0E1428; margin: 0 auto; box-shadow: 0 30px 60px -36px rgba(18,26,51,.6); }
.mini-phone > .scr { border-radius: 30px; }
.feats-stage { display: none; }
@media (min-width: 1000px) {
  .feat-mobile-screen { display: none; }
  .feats-stage { display: block; }
  .feats-sticky { position: sticky; top: calc(50vh - 330px); }
  .phone-feat { width: 340px; }
}
.feat-screen { position: absolute; inset: 0; opacity: 0; transform: scale(.98); transition: opacity .45s, transform .5s var(--ease); }
.feat-screen.on { opacity: 1; transform: none; }

/* Мини-экраны */
.scr { position: relative; width: 100%; height: 100%; overflow: hidden; font-family: var(--font); font-size: 12px; line-height: 1.35; color: var(--ink); background: #fff; }
.scr-site { background: #FBF1EF; color: #3A1F2B; }
.ss-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; font-family: 'Prata', Georgia, serif; font-size: 14px; }
.ss-top span { font: 700 10px var(--font); color: #86707A; background: rgba(58,31,43,.07); padding: 3px 6px; border-radius: 999px; }
.ss-top span i { font-style: normal; color: #3A1F2B; background: #fff; padding: 1px 5px; border-radius: 999px; }
.ss-art { height: 34%; position: relative; background: #F3DDD8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='100' viewBox='0 0 90 150'%3E%3Cpath d='M45 6 L58 22 L52 22 L68 42 L60 42 L84 75 L60 108 L68 108 L52 128 L58 128 L45 144 L32 128 L38 128 L22 108 L30 108 L6 75 L30 42 L22 42 L38 22 L32 22 Z' fill='%239E2B4B'/%3E%3Cpath d='M45 40 L56 58 L50 58 L64 75 L50 92 L56 92 L45 110 L34 92 L40 92 L26 75 L40 58 L34 58 Z' fill='%233A1F2B'/%3E%3Cpath d='M45 62 L53 75 L45 88 L37 75 Z' fill='%23D9A35B'/%3E%3C/svg%3E") center / 60px 100px; }
.ss-mono { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #FBF1EF; display: grid; place-items: center; font: 34px 'Prata', serif; color: #9E2B4B; box-shadow: 0 10px 20px -10px rgba(58,31,43,.6); }
.ss-body { padding: 16px; display: grid; gap: 8px; }
.ss-name { font: 400 26px/1 'Prata', Georgia, serif; }
.ss-tag { font-family: 'Prata', Georgia, serif; color: #86707A; font-size: 13px; }
.ss-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11.5px; }
.ss-open i { width: 7px; height: 7px; border-radius: 50%; background: #22A06B; }
.ss-btn { display: block; text-align: center; background: #9E2B4B; color: #fff; font-weight: 700; padding: 11px; border-radius: 999px; margin: 4px 0 8px; }
.ss-price { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 6px; padding: 8px 0; border-bottom: 1px solid #EFDCD8; font-family: 'Prata', serif; font-size: 13px; }
.ss-price i { border-bottom: 2px dotted rgba(58,31,43,.25); margin-bottom: 4px; }
.ss-price b { font: 700 12px var(--font); }
.scr-book { background: #1E1A17; }
.sb-dim { position: absolute; inset: 0; background: linear-gradient(180deg, #2A2420, #1E1A17); }
.sb-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 16%; background: #26211D; color: #EDE6DC; border-radius: 22px 22px 0 0; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.sb-title { text-align: center; font: 600 16px 'Oswald', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.sb-progress { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); }
.sb-progress i { display: block; width: 60%; height: 100%; background: #C9A063; border-radius: 2px; }
.sb-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sb-days span { display: grid; justify-items: center; padding: 6px 0; border-radius: 10px; border: 1px solid #3A322C; }
.sb-days small { font-size: 10px; color: #A99F92; }
.sb-days b { font-size: 15px; }
.sb-days .on { background: #C9A063; border-color: #C9A063; color: #1E1A17; }
.sb-days .on small { color: #1E1A17; }
.sb-part { color: #A99F92; font-weight: 700; font-size: 11px; }
.sb-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sb-slots span { text-align: center; padding: 9px 0; border-radius: 9px; border: 1px solid #3A322C; font-weight: 700; font-variant-numeric: tabular-nums; }
.sb-slots .on { background: #C9A063; border-color: #C9A063; color: #1E1A17; }
.sb-sum { margin-top: auto; display: flex; justify-content: space-between; font-size: 11.5px; color: #A99F92; }
.sb-sum b { color: #EDE6DC; }
.sb-btn { text-align: center; background: #C9A063; color: #1E1A17; font-weight: 800; padding: 11px; border-radius: 6px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.scr-crm { background: #F4F6FA; }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 14px 8px; }
.sc-head b { font-size: 18px; }
.sc-head span { color: var(--muted); font-size: 11px; }
.sc-cols { display: grid; grid-template-columns: 38px 1fr 1fr; padding: 0 8px 6px 0; }
.sc-cols::before { content: ''; }
.sc-cols span { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 11px; padding-left: 6px; }
.sc-cols i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); background: #fff; }
.sc-grid { position: relative; display: grid; grid-template-columns: 38px 1fr 1fr; height: 260px; margin: 0 8px 0 0; background: #fff repeating-linear-gradient(180deg, #EDF0F6 0 1px, transparent 1px 52px); border-radius: 0 12px 12px 0; }
.sc-times { position: relative; background: #F4F6FA; }
.sc-times span { display: block; height: 52px; font-size: 9.5px; color: var(--muted); text-align: right; padding-right: 5px; }
.sc-col { position: relative; border-left: 1px solid #EDF0F6; }
.sc-col a { position: absolute; left: 3px; right: 3px; display: grid; padding: 4px 6px; border-radius: 8px; font-size: 10.5px; font-weight: 600; background: color-mix(in srgb, var(--c) 13%, #fff); border-left: 3px solid var(--c); line-height: 1.25; overflow: hidden; }
.sc-col a b { font-size: 9.5px; color: var(--c); }
.sc-col a small { font-weight: 400; color: var(--ink-2); font-size: 9.5px; }
.sc-col a.off { --c: #E3B465; background: repeating-linear-gradient(135deg, #FCEFD9 0 5px, #F8E4C2 5px 10px); border: 1px dashed #E3B465; color: #7A4B07; font-size: 9.5px; }
.sc-col a.new { --c: #E9A23B; background: #FFF8EC; outline: 1px dashed #EBC07A; }
.sc-now { position: absolute; left: 38px; right: 0; height: 2px; background: var(--pom); }
.sc-toast { position: absolute; left: 10px; right: 10px; bottom: 14px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 14px 30px -14px rgba(18,26,51,.5); display: grid; gap: 2px; font-size: 11px; }
.sc-toast b { font-size: 11.5px; }
.scr-rep { background: #F4F6FA; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; }
.sr-head { display: flex; justify-content: space-between; align-items: baseline; }
.sr-head b { font-size: 18px; }
.sr-head span { font-size: 11px; color: var(--muted); }
.sr-main { background: var(--cobalt); color: #fff; border-radius: 14px; padding: 12px; display: grid; position: relative; }
.sr-main small { opacity: .75; }
.sr-main b { font-size: 24px; letter-spacing: -0.02em; }
.sr-main span { position: absolute; right: 12px; top: 12px; font-weight: 700; font-size: 11px; background: rgba(255,255,255,.18); padding: 2px 6px; border-radius: 6px; }
.sr-bars { height: 70px; display: flex; align-items: flex-end; gap: 3px; background: #fff; border-radius: 12px; padding: 8px; }
.sr-bars i { flex: 1; background: var(--cobalt); border-radius: 2px; }
.sr-bars i:nth-child(7n), .sr-bars i:nth-child(7n-1) { background: #5B74C9; }
.sr-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sr-kpis div { background: #fff; border-radius: 12px; padding: 8px 10px; display: grid; }
.sr-kpis small { color: var(--muted); font-size: 10px; }
.sr-kpis b { font-size: 15px; }
.sr-staff { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.sr-staff span { display: inline-flex; align-items: center; gap: 6px; }
.sr-staff i { width: 8px; height: 8px; border-radius: 50%; }
.sr-profit { display: flex; justify-content: space-between; padding: 8px 2px 0; border-top: 2px solid var(--ink); font-weight: 700; font-size: 13px; }

/* ---------- Для кого ---------- */
.who { padding: 40px 0 88px; }
.who-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.who-list li { border-bottom: 1px solid var(--line); }
.who-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; padding: 18px 4px; text-decoration: none; transition: background-color .25s, padding .25s; }
.who-name { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.who-note { grid-column: 1; color: var(--muted); font-size: 15px; }
.who-arrow { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: all .25s; }
@media (min-width: 900px) {
  .who-list a { grid-template-columns: 1.1fr 1fr auto; }
  .who-note { grid-column: 2; }
  .who-arrow { grid-column: 3; grid-row: 1; }
}
.who-list a:hover { background: var(--white); padding-left: 18px; padding-right: 18px; }
.who-list a:hover .who-arrow { background: var(--cobalt); border-color: var(--cobalt); color: #fff; transform: rotate(-35deg); }

/* ---------- Темы ---------- */
.themes { padding: 88px 0; background: var(--ink); color: #fff; position: relative; }
.themes::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: url('../img/ikat.svg') repeat-x left center / auto 100%; }
.themes .lead { color: rgba(255,255,255,.72); }
.theme-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 20px 12px; scrollbar-width: none; }
.theme-rail::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .theme-rail { padding-left: 40px; padding-right: 40px; } }
.theme-rail > :first-child { margin-left: auto; }
.theme-rail > :last-child { margin-right: auto; }
.tcard { flex: 0 0 auto; width: 236px; scroll-snap-align: center; text-decoration: none; display: grid; gap: 16px; }
.tcard-phone {
  position: relative; display: block; width: 236px; height: 480px; border-radius: 34px; overflow: hidden; background: var(--bg);
  box-shadow: 0 0 0 8px #232C4A, 0 40px 60px -30px rgba(0,0,0,.6); transition: transform .4s var(--ease);
}
.tcard:nth-child(even) .tcard-phone { transform: translateY(26px); }
.tcard:hover .tcard-phone { transform: translateY(-8px); }
.tcard-phone iframe { position: absolute; left: 0; top: 0; width: 390px; height: 795px; border: 0; transform: scale(.6051); transform-origin: 0 0; pointer-events: none; }
.tcard-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tcard-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; color: var(--acc); }
.tcard-meta { display: grid; gap: 4px; padding: 0 4px; }
.tcard:nth-child(even) .tcard-meta { margin-top: 26px; }
.tcard-meta b { font-size: 24px; color: #fff; line-height: 1.1; }
.tcard-meta span { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.45; }

/* ---------- Запуск ---------- */
.steps { padding: 104px 0 88px; }
.steps-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 900px) { .steps-list { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps-list li { counter-increment: s; position: relative; padding-top: 22px; border-top: 2px solid var(--ink); display: grid; gap: 8px; }
.steps-list li::before { content: counter(s); position: absolute; right: 0; top: 14px; font-family: var(--display); font-size: 64px; line-height: 1; font-weight: 600; color: var(--cobalt-tint); z-index: -1; }
.step-time { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--cobalt); }
.steps-list b { font-size: 22px; line-height: 1.25; }
.steps-list p { color: var(--ink-2); font-size: 16px; max-width: 34ch; }

/* ---------- Цена ---------- */
.price { padding: 40px 0 104px; }
.price-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .price-in { grid-template-columns: 1fr 440px; gap: 80px; } }
.price-help { margin-top: 18px; color: var(--ink-2); }
.price-help a { color: var(--cobalt); font-weight: 600; }
.price-card { background: var(--white); border-radius: 30px; padding: 28px; box-shadow: 0 40px 80px -50px rgba(18,26,51,.6), 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: url('../img/ikat.svg') repeat-x left center / auto 100%; }
.pc-top { display: grid; gap: 4px; padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.pc-badge { justify-self: start; font-size: 13px; font-weight: 700; color: var(--turq); background: var(--turq-tint); padding: 4px 10px; border-radius: 999px; }
.pc-sum { font-family: var(--display); font-size: 64px; letter-spacing: -0.05em; line-height: 1; margin-top: 10px; }
.pc-sum small { font-size: 22px; letter-spacing: -0.02em; color: var(--muted); }
.pc-per { color: var(--muted); font-size: 15px; }
.price-card ul { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li .i { color: var(--turq); margin-top: 3px; }
.pc-btn { display: block; text-align: center; text-decoration: none; background: var(--cobalt); color: #fff; font-weight: 700; padding: 16px; border-radius: 15px; }
.pc-btn:hover { background: var(--cobalt-deep); }
.pc-note { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Вопросы ---------- */
.faq { padding: 88px 0; background: var(--white); }
.faq-in { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-in { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 18px; position: relative; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 20px; font-weight: 500; transition: transform .25s, background-color .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--cobalt-tint); }
.faq-list p { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ---------- Финал ---------- */
.final { padding: 104px 0; background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.final::before, .final::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: url('../img/ikat.svg') repeat-x left center / auto 100%; }
.final::before { top: 0; }
.final::after { bottom: 0; }
.final-h { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; max-width: 16ch; }
.final .lead { color: rgba(255,255,255,.8); }
.final .claim-label { color: #fff; }
.final .claim-box { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.final .claim-btn { background: var(--ink); }
.final .claim-btn:hover { background: #000; }
.final .claim-state { color: rgba(255,255,255,.75); }
.final .claim-state b { color: #fff; }
.final .claim-state.ok { color: #9FF0E6; }
.final .claim-state.bad { color: #FFC2CD; }

/* ---------- Подвал ---------- */
.ft { background: var(--ink); color: rgba(255,255,255,.65); padding: 36px 0 44px; font-size: 14.5px; }
.ft-in { display: grid; gap: 18px; }
@media (min-width: 900px) { .ft-in { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; } }
.ft-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ft-brand b { font-family: var(--display); color: #fff; font-size: 19px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft-links a { text-decoration: none; color: #fff; }
.ft-links a:hover { color: #F6C77E; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .hero-h1 .ln > span, .js .hero-kicker, .js .hero-sub, .js .claim, .js .hero-proof, .js .phone[data-phone], .js .float,
  .js [data-reveal] .bub, .js [data-reveal] .gap, .js [data-reveal] .flow li, .js [data-reveal] .vs-result { opacity: 1 !important; transform: none !important; }
}
