/* TelegaClub — светлая тема */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #0e1726;
  --muted: #667085;
  --border: #e4e8f0;
  --accent: #229ed9;
  --accent-hover: #1786bd;
  --accent-soft: #e8f5fc;
  --accent-ink: #0b6a99;
  --success: #16a34a;
  --success-soft: #e9f8ef;
  --warning: #c2710c;
  --warning-soft: #fff4e5;
  --danger: #dc2626;
  --danger-soft: #fdecec;
  --violet: #7c3aed;
  --violet-soft: #f2ecff;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .10);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: 14px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 16px; cursor: pointer; text-align: center;
  transition: background .15s, color .15s, box-shadow .15s, transform .05s;
  background: var(--accent); color: #fff;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .input:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(34, 158, 217, .35); outline-offset: 2px; }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn-soft:hover { background: #d7eefa; color: var(--accent-ink); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #fbd9d9; color: var(--danger); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Формы ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-weight: 700; font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.45; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
textarea.input { min-height: 110px; resize: vertical; }
select.input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 158, 217, .15); outline: none; }
.input.is-invalid { border-color: var(--danger); }
.errorlist { list-style: none; margin: 0; padding: 0; color: var(--danger); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.segmented button, .segmented label { min-height: 40px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented .is-active, .segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.segmented label span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 10px; }

/* ---------- Карточки ---------- */
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; }
@media (min-width: 768px) { .card { padding: 28px; } }
.card-title { font-size: 20px; margin-bottom: 16px; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(243, 245, 249, .85); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #37b4ef, #1a8bc8); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(34, 158, 217, .35); }
.logo-mark svg { width: 20px; height: 20px; }
.logo b { color: var(--accent); font-weight: 800; }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-link { display: none; font-weight: 700; color: var(--text); padding: 8px 12px; border-radius: 10px; }
.header-link:hover { background: var(--surface); color: var(--text); }
@media (min-width: 640px) { .header-link { display: inline-flex; } }

.balance-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 800; white-space: nowrap; color: var(--text); }
.balance-chip:hover { color: var(--text); box-shadow: var(--shadow); }
.balance-chip .plus { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 700; padding: 6px 10px 6px 6px; border-radius: 999px; }
.balance-chip .plus i { width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-style: normal; }
.balance-chip .plus i svg { width: 14px; height: 14px; }
@media (max-width: 420px) { .balance-chip .plus span { display: none; } .balance-chip { padding-right: 4px; } }

.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; cursor: pointer; position: relative; }
.burger:hover { box-shadow: var(--shadow); }
.burger .dot { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); border: 2px solid var(--surface); }
.menu-panel { position: absolute; right: 16px; top: 64px; width: min(320px, calc(100vw - 32px)); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.menu-panel.is-open { display: block; animation: pop .14s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.menu-panel a, .menu-panel button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; color: var(--text); font-weight: 700; background: none; border: 0; cursor: pointer; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--surface-2); color: var(--text); }
.menu-panel a.is-current { background: var(--accent-soft); color: var(--accent-ink); }
.menu-panel hr { border: 0; border-top: 1px solid var(--border); margin: 6px 8px; }
.menu-panel .badge { margin-left: auto; }
.header-wrap { position: relative; }

/* ---------- Сообщения ---------- */
.messages { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.message { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; background: var(--accent-soft); color: var(--accent-ink); }
.message.success { background: var(--success-soft); color: #11753a; }
.message.error { background: var(--danger-soft); color: var(--danger); }
.message.warning { background: var(--warning-soft); color: var(--warning); }

/* ---------- Лендинг ---------- */
.section { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title { font-size: clamp(28px, 4.2vw, 44px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }

.hero { padding: 28px 0 48px; }
@media (min-width: 900px) { .hero { padding: 48px 0 72px; } }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; } }
.hero h1 { font-size: clamp(36px, 6vw, 64px); margin: 18px 0 16px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; max-width: 580px; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.fact b { display: block; font-size: 20px; letter-spacing: -.02em; }
.fact span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 420px) { .fact { padding: 12px 10px; } .fact b { font-size: 17px; } }

.auth-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 22px; }
@media (min-width: 768px) { .auth-card { padding: 30px; } }
.auth-card h2 { font-size: 24px; margin-bottom: 6px; }
.auth-card .segmented { margin: 18px 0 20px; }
.auth-pane[hidden] { display: none; }
.auth-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; }

.why-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.why-card h3 { font-size: 20px; }
.why-card p { color: var(--muted); }
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.green { background: var(--success-soft); color: var(--success); }
.icon-tile.violet { background: var(--violet-soft); color: var(--violet); }
.icon-tile.orange { background: var(--warning-soft); color: #e9760c; }

.exclusive { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; display: grid; gap: 24px; }
@media (min-width: 980px) { .exclusive { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 40px; gap: 40px; } }
.exclusive-intro { background: linear-gradient(160deg, #2aa8e4 0%, #1a83c0 100%); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; align-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.exclusive-intro::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.exclusive-intro .tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-weight: 700; font-size: 13px; width: fit-content; }
.exclusive-intro h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 14px 0 12px; }
.exclusive-intro p { opacity: .92; }
.exclusive-intro .btn { background: #fff; color: var(--accent-ink); width: fit-content; position: relative; z-index: 1; }
.exclusive-intro .btn:hover { background: #eaf6fd; }
.feature-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface-2); }
.feature .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
.feature .icon-tile svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }

.price-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; transition: transform .15s, box-shadow .15s; }
.price-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.price-tile .name { font-weight: 700; color: var(--muted); }
.price-tile .value { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.price-tile.featured { background: var(--accent-soft); border-color: #cde9f7; }

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.step .num { width: 44px; height: 44px; border-radius: 14px; background: var(--text); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.steps-final { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius); background: var(--success-soft); color: #11753a; font-weight: 800; font-size: 18px; }

.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq details[open] summary .chev { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq .answer { padding: 0 0 20px; color: var(--muted); }

.site-footer { padding: 32px 0 96px; border-top: 1px solid var(--border); margin-top: 24px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

.tg-widget { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; box-shadow: 0 10px 30px rgba(34, 158, 217, .45); }
.tg-widget:hover { color: #fff; background: var(--accent-hover); }
.tg-widget .tg-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.tg-widget .tg-ico svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .tg-widget { padding: 0 8px; } .tg-widget .tg-text { display: none; } }

/* ---------- Цены ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; color: var(--text); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--text); box-shadow: var(--shadow); }
.tab.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.tab .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; display: inline-grid; place-items: center; }
.tab.is-active .count { background: rgba(255, 255, 255, .2); color: #fff; }

.platform-block { margin-bottom: 20px; }
.platform-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.platform-head h2 { font-size: 26px; }
.pf-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; flex: none; }
.pf-icon svg { width: 22px; height: 22px; }
.pf-icon.vk { background: #e8effb; color: #0077ff; }
.pf-icon.instagram { background: #fdeef4; color: #e1306c; }
.pf-icon.youtube { background: #fdecec; color: #ff0000; }
.pf-icon.tiktok { background: #eef0f3; color: #111; }
.cat-title { font-size: 17px; font-weight: 800; margin: 18px 0 8px; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 14px 0; border-top: 1px solid var(--border); vertical-align: middle; }
.price-table tr:first-child td { border-top: 0; }
.price-table .p-name { font-weight: 700; padding-right: 12px; }
.price-table .p-desc { font-weight: 500; color: var(--muted); font-size: 13px; white-space: pre-line; margin-top: 2px; }
.price-table .p-price { text-align: right; white-space: nowrap; font-weight: 800; padding: 14px 12px; }
.price-table .p-price small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.price-table .p-act { text-align: right; width: 1%; }
@media (max-width: 640px) {
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--border); }
  .price-table tr:first-child { border-top: 0; }
  .price-table td { border: 0; padding: 0; }
  .price-table .p-name { grid-column: 1 / -1; }
  .price-table .p-price { text-align: left; padding: 0; }
}

/* ---------- Кабинет ---------- */
.cabinet-main { padding: 20px 0 96px; }
@media (min-width: 768px) { .cabinet-main { padding: 32px 0 96px; } }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-title { font-size: clamp(26px, 3.4vw, 34px); }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 980px) { .grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.narrow { max-width: 760px; }

.order-card { max-width: 760px; }
.order-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); margin: 8px 0 18px; }
.order-total .sum { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.order-total .unit { color: var(--muted); font-size: 14px; }
.service-desc { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); color: #134e6b; font-size: 15px; white-space: pre-line; margin-bottom: 16px; }
.service-desc:empty { display: none; }
.service-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.agreement { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type=range] { flex: 1; accent-color: var(--accent); height: 28px; }
.range-row output { min-width: 64px; text-align: center; font-weight: 800; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge svg { width: 14px; height: 14px; }
.badge.red { background: var(--danger); color: #fff; }
.st-wait { background: var(--warning-soft); color: var(--warning); }
.st-active { background: var(--accent-soft); color: var(--accent-ink); }
.st-done { background: var(--success-soft); color: #11753a; }
.st-partial { background: var(--violet-soft); color: var(--violet); }
.st-cancel { background: var(--danger-soft); color: var(--danger); }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.search { position: relative; flex: 1 1 260px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 44px; border-radius: 999px; background: var(--surface); }

.order-list { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.order-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px 14px; padding: 16px; border-top: 1px solid var(--border); align-items: center; }
.order-row:first-child { border-top: 0; }
.order-row:hover { background: #fafbfd; }
.ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p, 0) * 1%), #e8edf4 0); }
.ring > span { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--accent); }
.ring svg { width: 20px; height: 20px; }
.ring.done { background: var(--success); }
.ring.done > span { color: var(--success); }
.ring.cancel { background: #f1c4c4; }
.order-main { min-width: 0; }
.order-main .o-name { font-weight: 800; }
.order-main .o-link { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.order-main .o-id { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); background: var(--surface-2); border-radius: 8px; padding: 2px 8px; margin-top: 4px; border: 0; cursor: pointer; }
.order-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 6px 16px; align-items: center; }
.order-meta .m-label { color: var(--muted); font-size: 13px; }
.order-meta .m-val { font-weight: 800; }
.order-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 860px) {
  .order-row { grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) auto; }
  .order-meta { grid-column: auto; grid-template-columns: auto auto; justify-content: start; gap: 2px 24px; }
  .order-actions { grid-column: auto; justify-content: flex-end; }
}
.progress-text { font-size: 14px; color: var(--muted); margin-top: 4px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .icon-tile { margin: 0 auto 14px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); font-weight: 700; color: var(--text); }
.pagination .current { background: var(--text); color: #fff; border-color: var(--text); }

.pay-options { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 560px) { .pay-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay-option { position: relative; display: grid; gap: 6px; padding: 18px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 158, 217, .12); }
.pay-option .po-title { font-weight: 800; display: flex; align-items: center; gap: 10px; }
.pay-option .po-sub { color: var(--muted); font-size: 14px; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.quick-amounts button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; cursor: pointer; }
.quick-amounts button:hover { border-color: var(--accent); color: var(--accent-ink); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 0 12px 10px 0; white-space: nowrap; }
.table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--border); vertical-align: middle; }

.ticket-list { display: grid; gap: 10px; }
.ticket-item { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.ticket-item:hover { color: var(--text); box-shadow: var(--shadow); }
.ticket-item .t-subj { font-weight: 800; }
.chat { display: grid; gap: 12px; margin-bottom: 20px; }
.bubble { max-width: 85%; padding: 14px 16px; border-radius: 18px; white-space: pre-wrap; word-wrap: break-word; }
.bubble.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bubble.staff { justify-self: start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.bubble .b-meta { font-size: 12px; opacity: .75; margin-bottom: 4px; font-weight: 700; }

.api-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding: 4px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); scrollbar-width: none; }
.api-tabs button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; }
.api-tabs button.is-active { background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow); }
.code { position: relative; background: #0f1b2d; color: #d6e2f0; border-radius: var(--radius-sm); padding: 16px 52px 16px 16px; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.code .copy-btn { position: absolute; top: 10px; right: 10px; }
.code .k { color: #8fd0ff; } .code .s { color: #a6e3a1; } .code .n { color: #f9c97c; }
.copy-btn { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .12); color: inherit; display: grid; place-items: center; cursor: pointer; }
.copy-btn.light { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.copy-btn svg { width: 16px; height: 16px; }
.params { width: 100%; border-collapse: collapse; margin-top: 8px; }
.params td { padding: 10px 12px 10px 0; border-top: 1px solid var(--border); vertical-align: top; font-size: 14px; }
.params td:first-child { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.key-box { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); }
.key-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 14px; }

.auth-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 32px 0 80px; }
.auth-page .auth-card { width: 100%; max-width: 440px; }

.prose { max-width: 820px; }
.prose p { margin-bottom: 14px; }

/* =========================================================
   Оформление v2: декор, акценты, анимации
   ========================================================= */
body { background:
  radial-gradient(1200px 500px at 85% -120px, rgba(34, 158, 217, .10), transparent 60%),
  radial-gradient(900px 420px at -10% 0, rgba(124, 58, 237, .06), transparent 60%),
  var(--bg);
  background-repeat: no-repeat; }
.accent { background: linear-gradient(90deg, #1f9ad6, #5b6cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.btn-glow { box-shadow: 0 10px 24px rgba(34, 158, 217, .35); }
.btn-glow:hover { box-shadow: 0 14px 30px rgba(34, 158, 217, .45); }
.btn-white { background: #fff; color: var(--accent-ink); }
.btn-white:hover { background: #eaf6fd; color: var(--accent-ink); }
.btn-outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.icon-tile.red { background: var(--danger-soft); color: #e2445c; }

/* Первый экран */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-bg .b1 { width: 420px; height: 420px; right: -80px; top: 40px; background: #b9e4f8; }
.hero-bg .b2 { width: 320px; height: 320px; left: 30%; bottom: -160px; background: #e3dcff; }
.hero-bg .grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(14, 23, 38, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); }
.hero-grid { position: relative; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); letter-spacing: -.035em; }
.fact { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.platforms-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.pf-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.pf-chip svg { width: 16px; height: 16px; }
.pf-chip.telegram svg { color: #229ed9; } .pf-chip.vk svg { color: #0077ff; } .pf-chip.instagram svg { color: #e1306c; }
.pf-chip.youtube svg { color: #ff0000; } .pf-chip.tiktok svg { color: #111; }
.hero-side { position: relative; }
.hero-side .auth-card { position: relative; z-index: 1; overflow: hidden; }
.hero-side .auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #29a9e6, #5b6cf0, #a855f7); }
.float-badge { position: absolute; z-index: 2; display: none; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 13px; animation: floaty 6s ease-in-out infinite; }
.float-badge .icon-tile { width: 36px; height: 36px; border-radius: 11px; }
.float-badge .icon-tile svg { width: 18px; height: 18px; }
.float-badge b { display: block; font-size: 14px; }
.float-badge span:not(.icon-tile) { color: var(--muted); }
.fb-1 { left: -64px; top: -46px; }
.fb-2 { right: -24px; bottom: -36px; animation-delay: -3s; }
@media (min-width: 1180px) { .float-badge { display: flex; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Карточки преимуществ */
.why-card { position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6e6f2; }
.why-card .icon-tile { width: 56px; height: 56px; border-radius: 18px; }

/* Эксклюзив */
.exclusive { box-shadow: var(--shadow); }
.exclusive-intro { background: radial-gradient(400px 260px at 100% 0, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(160deg, #2aa8e4 0%, #2b7fd6 55%, #4f63e6 100%); }
.exclusive-intro .tag { gap: 6px; align-items: center; }
.speed-demo { position: relative; z-index: 1; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; }
.sd-row { display: flex; justify-content: space-between; gap: 12px; }
.sd-row span { opacity: .85; }
.sd-on { color: #b7f5c9; }
.sd-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.sd-bar i { display: block; height: 100%; border-radius: inherit; background: #fff; animation: sdfill 3.5s ease-in-out infinite alternate; }
@keyframes sdfill { from { width: 20%; } to { width: 70%; } }
.feature { transition: background .2s; }
.feature:hover { background: var(--accent-soft); }

/* Цены */
.price-tile { position: relative; color: var(--text); grid-template-columns: 1fr; }
.price-tile:hover { color: var(--text); }
.price-tile .icon-tile { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 6px; }
.price-tile .icon-tile svg { width: 22px; height: 22px; }
.price-tile.featured { background: linear-gradient(160deg, #e9f6fd, #eef0ff); border-color: #cfe5f6; }
.price-tile .hit { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }

/* Шаги */
.step { overflow: hidden; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num { position: absolute; right: 18px; top: 6px; width: auto; height: auto; background: none; color: #eef2f7; font-size: 88px; line-height: 1; margin: 0; letter-spacing: -.05em; }
.step-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--text); color: #fff; display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.step-ico svg { width: 24px; height: 24px; }
.step h3, .step p { position: relative; }
@media (min-width: 900px) {
  .steps { position: relative; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -12px; width: 24px; height: 2px; background: var(--border); }
}
.steps-final .check-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; flex: none; }
.steps-final .check-dot svg { width: 18px; height: 18px; }

/* FAQ */
.faq-layout { display: grid; gap: 28px; }
@media (min-width: 980px) { .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; } .faq-aside { position: sticky; top: 96px; } }
.faq { max-width: none; }
.faq details { transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #d6e6f2; }
.help-card { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 10px; justify-items: start; }
.help-card h3 { font-size: 19px; }
.help-card p { color: var(--muted); }

/* Призыв */
.cta-section { padding-top: 0; }
.cta-banner { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: 32px 24px; border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(500px 300px at 90% 120%, rgba(168, 85, 247, .45), transparent 60%), linear-gradient(120deg, #1d8fd0 0%, #2b7fd6 45%, #4f63e6 100%); box-shadow: 0 24px 60px rgba(43, 127, 214, .30); }
.cta-banner::after { content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 10px; position: relative; }
.cta-banner p { opacity: .9; max-width: 560px; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-banner { grid-template-columns: 1fr auto; padding: 48px; } }

/* Подвал */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 12px; max-width: 340px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-weight: 600; }
.footer-col b { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* Появление блоков при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge, .sd-bar i { animation: none; }
}

/* Кабинет v2 */
.page-sub { color: var(--muted); margin-top: 6px; }
.order-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .order-aside { position: sticky; top: 88px; }
  .order-total.mobile-only { display: none; }
}
.order-card { max-width: none; }
.order-aside { display: grid; gap: 16px; }
.form-step { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin: 4px 0 16px; }
.form-step span { width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; }
.form-step:not(:first-of-type) { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--border); }
.summary .card-title { margin-bottom: 12px; }
.summary-list { margin: 0 0 16px; display: grid; gap: 10px; }
.summary-list div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.summary-list dt { color: var(--muted); flex: none; }
.summary-list dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.summary-total span { font-weight: 700; }
.summary-total b { font-size: 30px; letter-spacing: -.02em; }
.summary-balance { font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--success-soft); }
.summary-balance b { color: #11753a; }
.summary-warn { display: grid; gap: 10px; font-size: 14px; color: var(--warning); padding: 12px 14px; border-radius: 12px; background: var(--warning-soft); }
.tips { display: grid; gap: 14px; }
.tip { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); }
.tip b { color: var(--text); }
.tip .icon-tile { width: 36px; height: 36px; border-radius: 11px; }
.tip .icon-tile svg { width: 18px; height: 18px; }
.card { box-shadow: 0 1px 2px rgba(16, 24, 40, .03); }
.order-row { transition: background .15s; }

/* Правила и политика */
.legal { max-width: 860px; margin: 0 auto; }
.legal .page-title { margin-bottom: 6px; }
.legal-date { margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 12px; padding-top: 22px; border-top: 1px solid var(--border); }
.legal h3 { font-size: 17px; margin: 20px 0 8px; }
.legal p { margin: 0 0 12px; color: #243042; }

/* Узкие экраны: шапка и защита от горизонтальной прокрутки */
html, body { overflow-x: clip; }
.header-row > * { min-width: 0; }
.header-nav { flex-wrap: nowrap; min-width: 0; }
.header-nav .btn { flex: none; white-space: nowrap; }
@media (max-width: 480px) {
  .header-row { gap: 8px; min-height: 60px; }
  .logo { gap: 8px; font-size: 17px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo-mark svg { width: 18px; height: 18px; }
  .header-nav { gap: 6px; }
  .header-nav .btn-sm { min-height: 36px; padding: 0 11px; font-size: 13px; }
  .balance-chip { min-height: 40px; padding-left: 12px; font-size: 14px; gap: 6px; }
  .burger { width: 40px; height: 40px; }
  .menu-panel { top: 58px; }
}
@media (max-width: 349px) {
  .logo > span:last-child { display: none; }
}
.grid-2, .narrow, .order-layout, .order-aside { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
  .grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .order-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
.grid-2 > *, .narrow > *, .order-layout > *, .card { min-width: 0; }
.params td, code.mono, .key-box code { overflow-wrap: anywhere; word-break: break-word; }
.params td:first-child { white-space: nowrap; }
/* Если места всё равно мало (крупный шрифт на телефоне) — сжимается название, а не кнопки */
.header-row > .logo { flex: 0 1 auto; min-width: 0; }
.logo-mark { flex: none; }
.logo > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-nav { flex: none; margin-left: auto; }

/* =========================================================
   Анимации (отключаются, если в системе включено «уменьшить движение»)
   ========================================================= */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.sd-live { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; opacity: .9; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #7dffb1; box-shadow: 0 0 0 0 rgba(125, 255, 177, .7); }
.sd-count { display: flex; align-items: baseline; gap: 8px; }
.sd-count b { font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sd-count span { opacity: .8; font-size: 14px; }
.message { position: relative; padding-right: 44px; }
.message-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .6; }
.message-close:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.faq details .answer { overflow: hidden; }
.btn svg { transition: transform .2s ease; }
.btn:hover svg[class~="icon"] { transform: translateX(3px); }
.order-total .sum, .summary-total b { transition: color .2s; }
.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: var(--accent); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  body { animation: page-in .35s ease-out both; }
  @keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

  /* первый экран: элементы появляются по очереди */
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .hero-copy > *:nth-child(4) { animation-delay: .22s; }
  .hero-copy > *:nth-child(5) { animation-delay: .3s; }
  .hero-copy > *:nth-child(6) { animation-delay: .38s; }
  .hero-side .auth-card { animation: rise .8s .18s cubic-bezier(.2, .7, .2, 1) both; }
  .fb-1 { animation: pop-in .6s .7s both, floaty 6s 1.3s ease-in-out infinite; }
  .fb-2 { animation: pop-in .6s .95s both, floaty 6s 1.55s ease-in-out infinite; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }

  /* переливающийся акцент в заголовке */
  .accent { background-image: linear-gradient(90deg, #1f9ad6, #5b6cf0, #1f9ad6); background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
  @keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

  /* «живая» точка и пульс кнопки поддержки */
  .live-dot, .eyebrow .pulse { animation: live 1.8s ease-out infinite; }
  @keyframes live { 0% { box-shadow: 0 0 0 0 rgba(125, 255, 177, .65); } 100% { box-shadow: 0 0 0 10px rgba(125, 255, 177, 0); } }
  .eyebrow .pulse { animation-name: live-green; }
  @keyframes live-green { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 100% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } }
  .tg-widget::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(34, 158, 217, .45); animation: tg-ring 3.2s ease-out 2s infinite; pointer-events: none; }
  @keyframes tg-ring { 0% { box-shadow: 0 0 0 0 rgba(34, 158, 217, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(34, 158, 217, 0); } }

  /* карточки и иконки на наведение */
  .why-card:hover .icon-tile, .price-tile:hover .icon-tile, .step:hover .step-ico { animation: wiggle .5s ease; }
  @keyframes wiggle { 0%, 100% { transform: none; } 30% { transform: translateY(-3px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
  .btn:not(.btn-sm):hover { transform: translateY(-1px); }
  .btn:not(.btn-sm):active { transform: translateY(1px); }

  /* кабинет: кольца прогресса заполняются, сообщения выезжают, меню раскрывается по очереди */
  .ring { animation: ring-fill 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ring-fill { from { --p: 0; } }
  .message { animation: toast-in .45s cubic-bezier(.2, .7, .2, 1) both; }
  .message.is-leaving { animation: toast-out .35s ease forwards; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes toast-out { to { opacity: 0; transform: translateY(-8px); height: 0; padding-top: 0; padding-bottom: 0; margin: 0; } }
  .menu-panel.is-open > * { animation: rise .35s cubic-bezier(.2, .7, .2, 1) both; }
  .menu-panel.is-open > *:nth-child(2) { animation-delay: .03s; } .menu-panel.is-open > *:nth-child(3) { animation-delay: .06s; }
  .menu-panel.is-open > *:nth-child(4) { animation-delay: .09s; } .menu-panel.is-open > *:nth-child(5) { animation-delay: .12s; }
  .menu-panel.is-open > *:nth-child(6) { animation-delay: .15s; } .menu-panel.is-open > *:nth-child(n+7) { animation-delay: .18s; }
  .order-row { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
  .order-row:nth-child(2) { animation-delay: .04s; } .order-row:nth-child(3) { animation-delay: .08s; }
  .order-row:nth-child(4) { animation-delay: .12s; } .order-row:nth-child(n+5) { animation-delay: .16s; }
  .pay-option, .tab, .price-tile, .ticket-item { transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; }
  .pay-option:hover, .ticket-item:hover { transform: translateY(-2px); }
}

.check input { flex: none; }

/* =========================================================
   Правки заказчика: блоки главной, компактные цены, меню кабинета слева
   ========================================================= */
.pf-chip.max svg { color: #7a5af8; }
.pf-more { font-size: 14px; color: var(--muted); font-weight: 600; padding: 0 4px; }
.hl { display: inline; padding: 1px 8px; border-radius: 8px; background: rgba(255, 255, 255, .22); color: #fff; font-weight: 800; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.exclusive-features { display: grid; gap: 16px; align-content: start; }
.exclusive-question { font-size: clamp(20px, 2.2vw, 24px); }
.btn { line-height: 1.2; }
.exclusive-intro .btn { min-height: 48px; padding: 12px 20px; }
.promo-section { padding-top: 0; padding-bottom: 0; }
.promo-banner { background: radial-gradient(500px 300px at 90% 120%, rgba(34, 197, 94, .35), transparent 60%), linear-gradient(120deg, #0f9f6e 0%, #14a37f 45%, #1d8fd0 100%); box-shadow: 0 24px 60px rgba(16, 160, 120, .25); }
.cta-actions .btn svg { width: 20px; height: 20px; }
.footnote { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* Цены: плотный список */
.price-table.compact td { padding: 8px 0; }
.price-table.compact .p-name { font-size: 14.5px; font-weight: 600; }
.price-table.compact .p-price { font-size: 14.5px; padding: 8px 12px; }
.price-table.compact .p-price small { display: inline; margin-left: 4px; font-size: 12px; }
.price-table.compact .btn-sm { min-height: 30px; padding: 0 12px; font-size: 13px; }
.cat-title { font-size: 15px; margin: 16px 0 4px; }
@media (max-width: 640px) { .price-table.compact tr { padding: 8px 0; } }

/* Кабинет: меню слева на компьютере, под гамбургером на телефоне */
.cabinet-container { max-width: 1320px; }
.side-nav { display: none; }
@media (min-width: 1024px) {
  .cabinet .burger { display: none; }
  .cabinet-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; align-items: start; }
  .side-nav { display: block; position: sticky; top: 88px; }
  .side-nav nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; }
  .side-nav a, .side-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 12px; color: var(--text); font-weight: 700; background: none; border: 0; cursor: pointer; text-align: left; font-size: 15px; }
  .side-nav a:hover, .side-nav button:hover { background: var(--surface-2); color: var(--text); }
  .side-nav a.is-current { background: var(--accent-soft); color: var(--accent-ink); }
  .side-nav hr { border: 0; border-top: 1px solid var(--border); margin: 6px 8px; }
  .side-nav .badge { margin-left: auto; }
  .cabinet .order-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
.input.is-readonly { background: var(--surface-2); color: var(--text); font-weight: 800; cursor: default; }

/* Эксклюзив: название услуги — отдельной крупной плашкой, вопрос над списком — по центру */
.exclusive-intro .hl { display: block; width: fit-content; max-width: 100%; margin-top: 16px; padding: 10px 16px; border-radius: 14px; font-size: clamp(20px, 2.3vw, 26px); line-height: 1.25; letter-spacing: -.01em; }
.exclusive-question { text-align: center; }

/* Карточки способов оплаты: заголовок слева, список монет/способов — по центру */
.pay-option .po-sub { justify-self: center; text-align: center; }

/* Правки 26.11 */
/* Цены: типы услуг крупнее и темнее позиций */
.cat-title { font-size: 17px; font-weight: 800; color: var(--text); margin: 22px 0 6px; letter-spacing: -.01em; }
/* Итого к оплате — сумма и ₽ всегда на одной строке */
.order-total .sum, .summary-total b, .m-val { white-space: nowrap; }
.nowrap { white-space: nowrap; }
/* Мои заказы: колонки статуса, суммы и кнопок одинаковой ширины — ничего не скачет */
@media (min-width: 900px) {
  .order-row { grid-template-columns: 48px minmax(0, 1fr) 400px 120px; }
  .order-meta { grid-template-columns: 190px minmax(0, 1fr); justify-content: stretch; }
  .order-actions { justify-content: flex-end; }
}
@media (max-width: 899px) {
  /* Отступ между синим блоком эксклюзива и вопросом об отличиях */
  .exclusive-features { margin-top: 24px; }
}
@media (max-width: 640px) {
  /* Кнопки в баннерах: иконка крупнее, иконка и текст по центру одной строкой */
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; gap: 10px; padding: 0 16px; font-size: 16px; white-space: nowrap; }
  .cta-actions .btn svg { width: 26px; height: 26px; }
}
/* Карточка способа оплаты на телефоне выглядит так же, как на компьютере */
