/* =========================================================
   Print & Dev — стили (в стилистике заглушки)
   ========================================================= */
:root {
  --bg: #0d0f14;
  --bg-2: #141821;
  --card: rgba(20,24,33,.72);
  --card-solid: #151922;
  --text: #eef1f6;
  --muted: #8b93a3;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --c: #00c2e0;
  --m: #ff2d8a;
  --y: #ffd400;
  --c-soft: rgba(0,194,224,.12);
  --m-soft: rgba(255,45,138,.12);
  --y-soft: rgba(255,212,0,.12);
  --r: 18px;
  --head-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
::selection { background: var(--m); color: #fff; }

/* ---------- фон как в заглушке ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite alternate; pointer-events: none;
}
.bg .blob.c { width: 46vmax; height: 46vmax; background: var(--c); top: -14vmax; left: -12vmax; }
.bg .blob.m { width: 40vmax; height: 40vmax; background: var(--m); bottom: -16vmax; right: -10vmax; animation-delay: -7s; }
.bg .blob.y { width: 26vmax; height: 26vmax; background: var(--y); top: 40%; left: 55%; opacity: .14; animation-delay: -14s; }
@keyframes drift {
  50% { transform: translate(4vmax,3vmax) scale(1.08); }
  100% { transform: translate(-3vmax,5vmax) scale(.95); }
}
.bg .gridbg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
h1, h2, h3 { font-family: var(--font-h); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 18px; font-weight: 500; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.eyebrow.m::before { background: var(--m); box-shadow: 0 0 10px var(--m); }
.eyebrow.y::before { background: var(--y); box-shadow: 0 0 10px var(--y); }
.lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); max-width: 720px; }
.lead b { color: var(--text); font-weight: 600; }
.block { padding: clamp(56px, 8vw, 96px) 0; }
.block.alt { background: rgba(20,24,33,.45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block-head { margin-bottom: clamp(28px, 4vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.block-head .lead { margin-top: 12px; }
.grad {
  background: linear-gradient(120deg, var(--c), var(--m) 55%, var(--y));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glass { background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: background .2s, border-color .2s, filter .2s, box-shadow .2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.btn-accent { background: var(--c); color: #061418; }
.btn-accent:hover { filter: brightness(1.1); box-shadow: 0 0 24px rgba(0,194,224,.35); }
.btn-magenta { background: var(--m); color: #fff; }
.btn-magenta:hover { filter: brightness(1.1); box-shadow: 0 0 24px rgba(255,45,138,.35); }
.btn-outline { border: 1.5px solid var(--line-2); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; filter: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--text); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- шапка ---------- */
#site-header { position: sticky; top: 0; z-index: 50; min-height: var(--head-h); }
.site-header {
  background: rgba(13,15,20,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: var(--head-h); display: flex; align-items: center; gap: 20px; }
.logo {
  font-family: var(--font-h); font-weight: 700; font-size: 22px; letter-spacing: -.03em;
  text-decoration: none; display: inline-flex; align-items: baseline; gap: .2em; white-space: nowrap;
}
.logo .amp {
  font-weight: 500;
  background: linear-gradient(120deg, var(--c), var(--m) 55%, var(--y));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo .dev::after { content: "_"; color: var(--c); margin-left: .02em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.head-phone { margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.25; }
.head-phone b { font-family: var(--font-mono); font-size: 16px; font-weight: 500; }
.head-phone span { font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 11px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none;
  color: var(--muted); transition: .2s; white-space: nowrap;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.active { color: var(--text); background: rgba(255,255,255,.08); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: .2s; text-decoration: none;
}
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--m); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; line-height: 1; box-shadow: 0 0 12px rgba(255,45,138,.6);
}
.cart-count:empty { display: none; }
.burger, .phone-icon { display: none; }
@media (max-width: 1279px) { .head-phone { display: none; } .nav { margin-left: auto; } }
@media (max-width: 1099px) {
  .nav { display: none; }
  .head-actions { margin-left: auto; }
  .burger, .phone-icon { display: grid; }
}

/* ---------- выезжающие панели и модалки ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(4,5,8,.7); z-index: 90;
  opacity: 0; visibility: hidden; transition: .3s;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; height: 100dvh; width: min(380px, 88vw);
  background: var(--card-solid); border-left: 1px solid var(--line); z-index: 100; transform: translateX(100%); visibility: hidden;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility .32s;
  display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.5);
}
.drawer.open { transform: none; visibility: visible; }
.cart-drawer { width: min(460px, 100vw); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; padding-top: max(16px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 28px; overscroll-behavior: contain; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.close-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); flex: none; }
.close-btn:hover { background: rgba(255,255,255,.12); }
.close-btn svg { width: 20px; height: 20px; }
.mnav a {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 2px;
  border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; font-size: 17px;
}
.mnav a svg { width: 18px; height: 18px; color: var(--muted); }
.mnav a.active { color: var(--c); }
.drawer-contacts { margin-top: 24px; display: grid; gap: 12px; }
.drawer-contacts .big-phone { font-family: var(--font-mono); font-size: 20px; font-weight: 500; text-decoration: none; }
.drawer-contacts small { color: var(--muted); }

.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
  background: rgba(4,5,8,.72); opacity: 0; visibility: hidden; transition: .25s;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 22px; width: 100%; max-width: 580px;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(22px, 4vw, 32px); position: relative; transform: translateY(16px); transition: transform .25s;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.modal-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c), var(--m), var(--y)); border-radius: 22px 22px 0 0; }
.modal.open .modal-box { transform: none; }
.modal-box > .close-btn { position: absolute; top: 14px; right: 14px; }
.modal-box h3 { font-size: 22px; padding-right: 48px; }
.modal-box .sub { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
@media (max-width: 560px) {
  .modal { place-items: end center; padding: 0; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.field { display: block; }
.field .lbl-t { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 10px;
  background: rgba(255,255,255,.03); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
.field input::placeholder, .field textarea::placeholder { color: #5d6575; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft); }
.err { display: none; font-size: 13px; color: var(--m); margin-top: 5px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--m); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.group-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--line-2);
  border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; transition: .2s; line-height: 1.35;
}
.check:has(input:checked) { border-color: var(--c); background: var(--c-soft); }
.check input { margin-top: 1px; accent-color: var(--c); width: 16px; height: 16px; flex: none; }
.checks.invalid .check { border-color: rgba(255,45,138,.5); }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: flex-start; cursor: pointer; line-height: 1.45; }
.consent input { margin-top: 1px; width: 18px; height: 18px; accent-color: var(--c); flex: none; }
.consent a { color: var(--text); }
.consent.invalid { color: var(--m); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.success { text-align: center; padding: 28px 0 8px; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--c-soft); color: var(--c); display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 0 30px rgba(0,194,224,.25); }
.success .ok svg { width: 30px; height: 30px; }
.success h3 { font-size: 20px; padding: 0; }
.success p { color: var(--muted); margin: 10px auto 0; max-width: 380px; }
.success .demo { font-size: 12px; background: var(--y-soft); color: var(--y); display: inline-block; padding: 4px 10px; border-radius: 6px; margin-top: 14px; }
.success .btn { margin-top: 20px; }
@media (max-width: 560px) { .row2, .checks { grid-template-columns: 1fr; } }

/* ---------- главный экран ---------- */
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 100px); }
.page-hero { padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); }
.hero .lead, .page-hero .lead { margin-top: 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-facts { display: grid; gap: 12px; }
.fact { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r); padding: 18px; }
.fact b { display: block; font-family: var(--font-h); font-size: 16px; font-weight: 500; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; } }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); max-width: 860px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; font-family: var(--font-mono); }
.crumbs a { text-decoration: none; color: var(--text); opacity: .8; }
.crumbs a:hover { opacity: 1; }
.anchors { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.anchors a {
  height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; text-decoration: none; transition: .2s;
}
.anchors a:hover { background: rgba(255,255,255,.08); border-color: var(--text); }

/* ---------- сетки и карточки ---------- */
.grid { display: grid; gap: clamp(12px, 2vw, 18px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s, transform .25s; display: flex; flex-direction: column; text-decoration: none; position: relative; overflow: hidden;
}
a.card:hover, .card.hov:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card.top-c::before, .card.top-m::before, .card.top-y::before, .card.top-k::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.card.top-c::before { background: var(--c); } .card.top-m::before { background: var(--m); }
.card.top-y::before { background: var(--y); } .card.top-k::before { background: var(--text); }
.card h3 { margin-top: 16px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 14px; color: var(--c); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ic svg { width: 24px; height: 24px; }
.ic.c { background: var(--c-soft); color: var(--c); }
.ic.m { background: var(--m-soft); color: var(--m); }
.ic.y { background: var(--y-soft); color: var(--y); }
.ic.k { background: rgba(255,255,255,.08); color: var(--text); }

/* бренды */
.brands-title { margin-top: clamp(40px, 6vw, 64px); font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.marquee {
  overflow: hidden; margin-top: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand {
  font-family: var(--font-h); font-weight: 600; font-size: 18px; padding: 16px 28px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: #b9c0cc; white-space: nowrap; transition: .2s;
}
.brand:hover { color: #fff; border-color: var(--line-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* тарифы */
.plan h3 { margin-top: 0; font-size: 20px; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan .price { font-family: var(--font-h); font-size: 28px; font-weight: 600; margin: 18px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .ticks { margin: 16px 0 24px; }
.plan .btn { margin-top: auto; }
.plan.featured { border-color: rgba(255,45,138,.45); box-shadow: 0 0 40px rgba(255,45,138,.12); }
.plan .tag {
  position: absolute; top: 18px; right: 18px; background: var(--m); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em;
}
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: var(--c-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c2e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* о нас */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.about .lead { margin-top: 16px; }
.about-list { display: grid; gap: 16px; margin-top: 28px; }
.about-item { display: flex; gap: 14px; align-items: flex-start; }
.about-item b { display: block; }
.about-item span { color: var(--muted); font-size: 15px; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph {
  aspect-ratio: 4 / 3; border-radius: 14px; border: 1.5px dashed var(--line-2);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, rgba(255,255,255,.05) 12px 24px);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; padding: 10px;
}
.ph svg { width: 28px; height: 28px; margin: 0 auto 6px; color: #5d6575; }
.ph.wide { grid-column: span 2; aspect-ratio: 16 / 7; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* CTA-полоса */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(0,194,224,.14), rgba(255,45,138,.12) 55%, rgba(255,212,0,.08)), var(--card-solid);
  padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); }
.cta-band p { color: var(--muted); margin-top: 10px; max-width: 560px; }

/* FAQ / советы */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .2s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--c); transition: transform .2s; flex: none; font-weight: 500; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 18px; color: var(--muted); }
.faq .ans p + p, .faq .ans ol, .faq .ans ul { margin-top: 8px; }
.faq .ans ol, .faq .ans ul { padding-left: 20px; }
.faq .ans li { margin: 4px 0; }
.faq .ans b { color: var(--text); }
.faq-foot { margin-top: 28px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.faq-foot p { color: var(--muted); }
.tip-cat { display: flex; align-items: center; gap: 12px; margin: 44px 0 16px; }
.tip-cat:first-child { margin-top: 0; }
.tip-cat h2 { font-size: clamp(20px, 2.4vw, 26px); }

/* ---------- услуги ---------- */
.svc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line);
}
.svc:first-child { border-top: 0; }
.svc h2 { font-size: clamp(24px, 3vw, 34px); margin: 16px 0 12px; }
.svc > div > p { color: var(--muted); }
.svc-box { border-radius: var(--r); padding: 24px; align-self: start; }
.svc-box .group-title { margin-bottom: 14px; }
.svc-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; color: var(--muted); font-size: 14px; }
.svc-price b { font-family: var(--font-h); font-size: 22px; color: var(--text); font-weight: 500; white-space: nowrap; }
.svc-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.svc-btns .btn { flex: 1 1 auto; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* ---------- каталог ---------- */
.tabs { display: inline-flex; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 20px; flex-wrap: wrap; gap: 2px; }
.tab { height: 40px; padding: 0 18px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: .2s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--text); color: var(--bg); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 320px; }
.search input {
  width: 100%; height: 50px; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 0 14px 0 46px; background: rgba(20,24,33,.8); font-size: 16px; outline: none; transition: .2s;
}
.search input::placeholder { color: #5d6575; }
.search input:focus { border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.brands { margin-bottom: 18px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20,24,33,.6); font-size: 14px; font-weight: 700; transition: .2s; color: var(--muted); }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.result-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
@media (max-width: 400px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.product:hover { border-color: var(--line-2); transform: translateY(-3px); }
.p-img {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.06), transparent 65%), rgba(255,255,255,.02);
}
.p-img > svg { width: 40%; height: auto; color: #5d6575; }
.p-img .ph-note { position: absolute; bottom: 10px; right: 12px; font-size: 11px; color: #5d6575; font-family: var(--font-mono); }
.p-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.badge-new { background: var(--c-soft); color: var(--c); }
.badge-used { background: var(--y-soft); color: var(--y); }
.p-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-brand { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.p-name { font-family: var(--font-h); font-size: 17px; font-weight: 500; line-height: 1.25; }
.p-meta { font-size: 13px; color: var(--muted); display: grid; gap: 3px; line-height: 1.4; }
.p-meta b { color: var(--text); font-weight: 600; }
.p-note { font-size: 12px; color: var(--y); }
.p-prices { display: grid; gap: 4px; margin-top: auto; padding-top: 12px; }
.p-price { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.p-price b { font-size: 18px; color: var(--text); font-family: var(--font-mono); font-weight: 500; }
.p-price .na { font-size: 13px; color: #5d6575; font-family: var(--font); font-weight: 600; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.p-actions.one { grid-template-columns: 1fr; }
.p-actions .btn { height: 44px; padding: 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.empty b { font-family: var(--font-h); font-weight: 500; font-size: 18px; }
.empty p { color: var(--muted); margin: 6px 0 16px; }
.hidden-banner { background: var(--y-soft); color: var(--y); border: 1px solid rgba(255,212,0,.25); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 24px; font-weight: 600; }

/* ---------- корзина ---------- */
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cl-img { width: 56px; height: 56px; border-radius: 10px; background: rgba(255,255,255,.05); display: grid; place-items: center; }
.cl-img svg { width: 28px; height: 28px; color: #6b7384; }
.cl-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.cl-sku { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.cl-act { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-top: 5px; text-transform: uppercase; letter-spacing: .04em; }
.act-refill { background: var(--c-soft); color: var(--c); }
.act-replace { background: var(--m-soft); color: var(--m); }
.act-order { background: rgba(255,255,255,.08); color: var(--text); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; margin-top: 8px; }
.qty button { width: 34px; height: 32px; font-size: 18px; font-weight: 700; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; font-family: var(--font-mono); }
.cl-right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cl-sum { font-weight: 500; white-space: nowrap; font-family: var(--font-mono); }
.rm { font-size: 13px; color: var(--muted); text-decoration: underline; }
.rm:hover { color: var(--m); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 12px; }
.cart-total span { color: var(--muted); }
.cart-total b { font-family: var(--font-mono); font-size: 22px; font-weight: 500; }
.notice { font-size: 13px; background: var(--y-soft); border: 1px solid rgba(255,212,0,.2); border-radius: 10px; padding: 10px 12px; color: #e9d47a; line-height: 1.45; }
.cart-sep { font-family: var(--font-h); font-size: 16px; font-weight: 500; margin: 26px 0 14px; }
.cart-empty { text-align: center; padding: 56px 0 24px; color: var(--muted); }
.cart-empty > svg { width: 44px; height: 44px; margin: 0 auto 12px; color: #5d6575; }
.cart-empty-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* уведомление */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 160%);
  background: var(--card-solid); border: 1px solid var(--line-2); padding: 10px 10px 10px 18px; border-radius: 14px;
  display: flex; gap: 14px; align-items: center; z-index: 120; transition: transform .3s, visibility .3s; visibility: hidden; font-size: 14px;
  width: max-content; max-width: calc(100vw - 32px); box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast button { color: #061418; background: var(--c); font-weight: 800; white-space: nowrap; padding: 8px 12px; border-radius: 9px; font-size: 13px; }

/* ---------- цены ---------- */
.price-group { margin-bottom: clamp(32px, 5vw, 48px); }
.price-group:last-child { margin-bottom: 0; }
.price-group .tip-cat { margin-top: 0; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: rgba(255,255,255,.02); }
.price-table td:last-child { text-align: right; white-space: nowrap; font-family: var(--font-mono); font-weight: 500; }
.price-table small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 2px; font-family: var(--font); }
.ptype { font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 5px; margin-left: 8px; vertical-align: 2px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font); }
.ptype.fix { background: var(--c-soft); color: var(--c); }
.ptype.float { background: var(--y-soft); color: var(--y); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.legend .ptype { margin: 0 6px 0 0; }
@media (max-width: 520px) {
  .price-table td { padding: 12px 14px; font-size: 14px; }
  .price-table td:last-child { white-space: normal; min-width: 92px; }
}

/* ---------- юридические страницы ---------- */
.legal { max-width: 860px; border-radius: 22px; padding: clamp(22px, 5vw, 48px); }
.legal h2 { font-size: clamp(18px, 2.2vw, 22px); margin: 32px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #c3c9d4; margin-top: 8px; }
.legal ol, .legal ul { padding-left: 22px; }
.legal .draft { background: var(--y-soft); color: var(--y); border: 1px solid rgba(255,212,0,.25); border-radius: 10px; padding: 12px 16px; margin-bottom: 28px; font-weight: 600; font-size: 14px; }
.legal mark { background: rgba(255,212,0,.18); color: var(--y); padding: 0 3px; border-radius: 3px; }

/* ---------- подвал ---------- */
.site-footer { background: rgba(8,9,12,.85); border-top: 1px solid var(--line); color: var(--muted); padding: clamp(48px, 7vw, 72px) 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--c), var(--m), var(--y), transparent); opacity: .7; }
.f-grid { display: grid; grid-template-columns: 1.1fr 1.25fr 1fr 1.15fr; gap: 32px; }
.f-title { font-family: var(--font-h); color: var(--text); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.f-list { list-style: none; display: grid; gap: 9px; font-size: 14px; }
.f-list a { text-decoration: none; color: var(--muted); transition: .2s; }
.f-list a:hover { color: var(--text); }
.f-sub { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #5d6575; margin: 20px 0 10px; font-family: var(--font-mono); }
.f-sub:first-of-type { margin-top: 0; }
.f-contact { display: grid; gap: 16px; font-size: 14px; }
.f-contact .row { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .row svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--c); }
.f-contact a { color: var(--text); text-decoration: none; font-weight: 700; }
.reveal { color: var(--c); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; font-size: 14px; padding: 0; }
.f-brand .logo { font-size: 26px; }
.f-brand p { margin: 12px 0 18px; font-size: 14px; }
.cmyk { display: flex; gap: 6px; margin-bottom: 18px; }
.cmyk i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.soc {
  height: 38px; padding: 0 14px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
  display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--text); transition: .2s;
}
.soc:hover { background: rgba(255,255,255,.12); }
.f-bottom {
  border-top: 1px solid var(--line); margin-top: 48px; padding: 20px 0;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #5d6575;
}
@media (max-width: 1000px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } .f-brand { order: -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
