/* ============================================
   SKUPKA.COM.KZ — DESIGN SYSTEM v2
   Строгая типографика, премиум-стиль
   ============================================ */

:root {
  --bg: #07080f;
  --bg-2: #0c0e1a;
  --bg-3: #131626;
  --surface: #181c2e;
  --surface-2: #20253b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f0f2fa;
  --text-2: #a8aec8;
  --text-3: #6c7195;

  --accent: #4d9fff;
  --accent-2: #00e5d4;
  --accent-3: #ff5577;
  --accent-glow: rgba(77, 159, 255, 0.45);

  --wa: #25d366;
  --wa-dark: #128c7e;

  --gradient-1: linear-gradient(135deg, #4d9fff 0%, #00e5d4 100%);
  --gradient-2: linear-gradient(135deg, #ff5577 0%, #ffa54d 100%);
  --gradient-bg: radial-gradient(ellipse 100% 60% at top, #131626 0%, #07080f 70%);

  --font-display: 'Inter', 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;

  --container: 1280px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 80px var(--accent-glow);

  --header-h: 68px;
  --bottom-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image: var(--gradient-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid rgba(77, 159, 255, 0.3);
  border-radius: 4px;
  margin-bottom: 16px;
  background: rgba(77, 159, 255, 0.06);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-2); font-size: 1.02rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gradient-1); color: #07080f; font-weight: 700; box-shadow: 0 6px 20px rgba(77, 159, 255, 0.3); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(77, 159, 255, 0.5); }
.btn--wa { background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3); }
.btn--wa:hover { background: #1ebe5a; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border: 1px solid var(--line-strong); backdrop-filter: blur(10px); font-weight: 600;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent); }
.btn--full { width: 100%; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 15, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.04em;
}
.logo__mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--gradient-1);
  border-radius: 8px; font-size: 1rem; color: #07080f;
  box-shadow: 0 4px 14px rgba(77, 159, 255, 0.4);
}
.logo__text { color: var(--text); }
.logo__dot { color: var(--accent); }

.nav { display: flex; gap: 26px; align-items: center; }
.nav__link {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-2); transition: color 0.15s;
  position: relative; padding: 6px 0;
}
.nav__link:hover, .nav__link.is-active { color: var(--accent); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone {
  display: flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.92rem; color: var(--text);
  padding: 9px 12px; border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.header__phone:hover { background: rgba(255, 255, 255, 0.05); }
.header__wa {
  display: grid; place-items: center;
  width: 38px; height: 38px; background: var(--wa);
  color: #fff; border-radius: 50%;
  transition: transform 0.15s, box-shadow 0.2s;
}
.header__wa:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4); }

.burger {
  display: none; width: 38px; height: 38px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 1px; transition: 0.25s; }

.geo-bar {
  background: linear-gradient(90deg, rgba(77, 159, 255, 0.08), rgba(0, 229, 212, 0.08));
  border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 0.88rem;
}
.geo-bar .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.geo-bar__change { margin-left: auto; color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-style: dotted; }

/* HERO с 3D */
.hero {
  position: relative; padding: 60px 0 80px;
  overflow: hidden; min-height: 720px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.35; }
.hero__glow--1 {
  top: -150px; left: -100px; width: 600px; height: 600px;
  background: var(--accent); animation: float 14s ease-in-out infinite;
}
.hero__glow--2 {
  bottom: -200px; right: -100px; width: 700px; height: 700px;
  background: var(--accent-2); opacity: 0.25;
  animation: float 18s ease-in-out infinite reverse;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 0%, transparent 80%);
}
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(50px, -40px); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero__content { text-align: left; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(77, 159, 255, 0.08);
  border: 1px solid rgba(77, 159, 255, 0.25);
  border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  font-family: var(--font-mono); color: var(--accent); margin-bottom: 24px;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(77, 159, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(77, 159, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 159, 255, 0); }
}

.hero__title { margin-bottom: 20px; color: var(--text); }
.hero__title-accent {
  background: var(--gradient-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: inline-block;
}
.hero__sub {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 540px; margin: 0 0 32px; line-height: 1.6;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero__stats li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.hero__stats strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.hero__stats span { font-size: 0.76rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.02em; }

.hero__visual { position: relative; height: 520px; width: 100%; }
.hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(77, 159, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.calc-section { padding: 40px 0 80px; position: relative; z-index: 2; }
.calc {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
  position: relative;
}
.calc__title { font-size: 1.25rem; margin-bottom: 6px; text-align: center; }
.calc__lead { text-align: center; color: var(--text-3); font-size: 0.9rem; margin-bottom: 22px; }
.calc__form { display: flex; flex-direction: column; gap: 12px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__field { display: flex; flex-direction: column; gap: 5px; }
.calc__field span {
  font-size: 0.78rem; color: var(--text-2); font-weight: 500;
  font-family: var(--font-mono); letter-spacing: 0.02em; text-transform: uppercase;
}
.calc__field input, .calc__field select {
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.calc__field input:focus, .calc__field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.15);
}
.calc__hint { text-align: center; font-size: 0.82rem; color: var(--text-3); margin-top: 4px; }
.calc__honey { position: absolute; left: -9999px; }

.brands { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__lead { text-align: center; color: var(--text-2); font-size: 0.95rem; margin-bottom: 24px; font-family: var(--font-mono); }
.brands__lead strong { color: var(--text); font-family: var(--font-display); }
.brands__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-pill {
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 500; font-size: 0.88rem; color: var(--text-2);
  transition: all 0.2s; font-family: var(--font-mono); letter-spacing: 0.02em;
}
.brand-pill:hover { background: rgba(77, 159, 255, 0.08); border-color: var(--accent); color: var(--accent); }

.what { padding: 96px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 26px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  overflow: hidden; display: block;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 159, 255, 0.35);
  box-shadow: 0 16px 40px rgba(77, 159, 255, 0.08);
}
.card:hover::before { opacity: 1; }
.card__icon { font-size: 2rem; margin-bottom: 14px; display: inline-block; }
.card h3 { margin-bottom: 6px; color: var(--text); }
.card p { color: var(--text-2); font-size: 0.92rem; margin-bottom: 14px; line-height: 1.55; }
.card__price { display: inline-block; font-weight: 600; font-size: 0.85rem; color: var(--accent); font-family: var(--font-mono); }
.card__tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; background: var(--gradient-2); color: #fff;
  font-size: 0.68rem; font-weight: 700; border-radius: 4px;
  letter-spacing: 0.05em; font-family: var(--font-mono); text-transform: uppercase;
}
.card--featured {
  background: linear-gradient(180deg, rgba(255, 85, 119, 0.08), rgba(255, 165, 77, 0.04));
  border-color: rgba(255, 85, 119, 0.25);
}
.card--featured .card__price { color: var(--accent-3); }

.how { padding: 96px 0; background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step {
  position: relative; padding: 28px 24px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform 0.25s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(77, 159, 255, 0.3); }
.step__num {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.85rem; color: var(--accent); margin-bottom: 14px;
  letter-spacing: 0.05em; display: inline-block;
  padding: 4px 10px; background: rgba(77, 159, 255, 0.08); border-radius: 4px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 0.92rem; }

.cities { padding: 96px 0; }
.cities__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.city-card {
  padding: 18px;
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 4px;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.city-card::before {
  content: '→'; position: absolute; top: 16px; right: 16px;
  color: var(--text-3); transition: transform 0.2s, color 0.2s;
}
.city-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(77, 159, 255, 0.06), var(--bg-2));
}
.city-card:hover::before { transform: translateX(4px); color: var(--accent); }
.city-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text); }
.city-card__meta { font-size: 0.78rem; color: var(--text-3); font-family: var(--font-mono); }

.benefits { padding: 96px 0; background: var(--bg-2); }
.bens { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ben {
  padding: 26px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all 0.25s;
}
.ben:hover { transform: translateY(-3px); border-color: var(--accent); }
.ben__icon { font-size: 2rem; margin-bottom: 12px; }
.ben h3 { margin-bottom: 6px; }
.ben p { color: var(--text-2); font-size: 0.92rem; }

.reviews { padding: 96px 0; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; }
.rating__stars { color: #ffb800; font-size: 1.2rem; letter-spacing: 0.08em; }
.rating__num { font-family: var(--font-mono); font-weight: 600; font-size: 1rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.review {
  padding: 26px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all 0.25s;
}
.review:hover { transform: translateY(-2px); border-color: rgba(77, 159, 255, 0.25); }
.review__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.review__head strong { font-family: var(--font-display); font-weight: 600; }
.review__head span { font-size: 0.82rem; color: var(--text-3); font-family: var(--font-mono); }
.review p { font-size: 0.92rem; color: var(--text-2); margin-bottom: 12px; }
.review__stars { color: #ffb800; letter-spacing: 0.04em; }

.faq { padding: 96px 0; background: var(--bg-2); }
.faq__inner { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 22px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(77, 159, 255, 0.3); }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 0.98rem; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--accent);
  transition: transform 0.2s; font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--text-2); font-size: 0.92rem; }

.cta-final { padding: 96px 0; }
.cta-final__box {
  position: relative; text-align: center; padding: 56px 32px;
  background: linear-gradient(135deg, rgba(77, 159, 255, 0.08), rgba(0, 229, 212, 0.08));
  border: 1px solid rgba(77, 159, 255, 0.25);
  border-radius: var(--radius-lg); overflow: hidden;
}
.cta-final__box::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(77, 159, 255, 0.08) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.cta-final__box > * { position: relative; }
.cta-final__box h2 { margin-bottom: 10px; }
.cta-final__box p { color: var(--text-2); font-size: 1rem; margin-bottom: 28px; }
.cta-final__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.footer { padding: 56px 0 24px; background: #04050b; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.logo--footer { margin-bottom: 14px; }
.footer__about { color: var(--text-2); font-size: 0.92rem; margin-bottom: 18px; line-height: 1.6; }
.footer__contact { display: flex; flex-direction: column; gap: 7px; }
.footer__contact a { color: var(--text-2); transition: color 0.15s; font-size: 0.92rem; }
.footer__contact a:hover { color: var(--accent); }
.footer__col h4 {
  font-size: 0.92rem; margin-bottom: 14px; color: var(--text);
  font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col li a { color: var(--text-2); font-size: 0.9rem; transition: color 0.15s; }
.footer__col li a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--text-3);
  font-family: var(--font-mono); flex-wrap: wrap; gap: 12px;
}

.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  background: var(--wa); color: #fff;
  padding: 13px 18px 13px 14px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-wa:hover { transform: scale(1.04); }
.float-wa__pulse {
  position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid var(--wa);
  animation: ringPulse 2s infinite; pointer-events: none;
}
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.4); opacity: 0; } }
.float-wa__label { font-weight: 600; font-size: 0.88rem; white-space: nowrap; }

.ai-trigger {
  position: fixed; bottom: 24px; left: 24px; z-index: 41;
  width: 56px; height: 56px;
  background: var(--gradient-1); color: #07080f;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(77, 159, 255, 0.4);
  transition: transform 0.2s;
}
.ai-trigger:hover { transform: scale(1.08); }
.ai-trigger__dot {
  position: absolute; top: 5px; right: 5px;
  width: 12px; height: 12px;
  background: var(--accent-3); border: 2px solid var(--bg);
  border-radius: 50%; animation: pulse 2s infinite;
}
.ai-chat {
  position: fixed; bottom: 24px; left: 24px; z-index: 80;
  width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 100px);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column;
  overflow: hidden; animation: slideUp 0.3s ease;
}
.ai-chat[hidden], #aiChat[hidden], #aiChat[hidden="true"] { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.install-prompt[hidden], #installPrompt[hidden] { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ai-chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ai-chat__avatar {
  width: 38px; height: 38px;
  background: var(--gradient-1); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
}
.ai-chat__head strong { display: block; font-size: 0.92rem; font-weight: 600; }
.ai-chat__status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.76rem; color: var(--text-3); font-family: var(--font-mono);
}
.ai-chat__status .dot { width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; }
.ai-chat__close {
  margin-left: auto; width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; line-height: 1; font-weight: 300;
  color: var(--text); transition: background 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0.15);
  touch-action: manipulation;
  flex-shrink: 0;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.06);
  border: none;
}
.ai-chat__close:hover, .ai-chat__close:active { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.ai-chat__body {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg {
  max-width: 85%; padding: 11px 14px;
  border-radius: 14px; font-size: 0.9rem; line-height: 1.5;
  animation: msgIn 0.25s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg--bot { background: var(--surface); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--gradient-1); color: #07080f; font-weight: 500; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { display: inline-block; margin-top: 6px; }
.ai-chat__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-chat__quick button {
  padding: 7px 12px;
  background: rgba(77, 159, 255, 0.08);
  border: 1px solid rgba(77, 159, 255, 0.25);
  color: var(--accent); border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; transition: all 0.2s;
}
.ai-chat__quick button:hover { background: rgba(77, 159, 255, 0.15); }
.ai-chat__input {
  display: flex; gap: 8px; padding: 12px;
  background: var(--surface); border-top: 1px solid var(--line);
}
.ai-chat__input input {
  flex: 1; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; color: var(--text); font-size: 0.9rem;
}
.ai-chat__input input:focus { outline: none; border-color: var(--accent); }
.ai-chat__input button {
  width: 40px; height: 40px;
  background: var(--gradient-1); color: #07080f;
  border-radius: 50%; font-size: 1.2rem; font-weight: 700;
  transition: transform 0.15s;
}
.ai-chat__input button:hover { transform: scale(1.08); }

.bottom-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 39;
  background: rgba(7, 8, 15, 0.95);
  backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  height: var(--bottom-h); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-bar__item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; font-size: 0.7rem; color: var(--text-2);
  transition: color 0.15s; padding: 6px 4px; font-family: var(--font-mono);
}
.bottom-bar__item:hover, .bottom-bar__item:active { color: var(--accent); }
.bottom-bar__item--wa { color: var(--wa); }

.install-prompt {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-md); max-width: calc(100vw - 32px);
  animation: slideUp 0.4s ease;
}
.install-prompt__icon {
  font-size: 1.4rem; width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--gradient-1); border-radius: 10px;
}
.install-prompt__text { display: flex; flex-direction: column; }
.install-prompt__text strong { font-size: 0.92rem; }
.install-prompt__text small { color: var(--text-3); font-size: 0.78rem; }
.install-prompt__close {
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  border-radius: 50%;
  font-size: 1.6rem; line-height: 1; font-weight: 300;
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0.15);
  touch-action: manipulation;
  flex-shrink: 0;
  transition: background 0.2s;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}
.install-prompt__close:hover, .install-prompt__close:active { background: rgba(255, 255, 255, 0.1); color: var(--text); }

/* КАТЕГОРИЯ */
.cat-hero { padding: 64px 0 48px; position: relative; overflow: hidden; }
.cat-hero__inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cat-hero h1 { margin-bottom: 16px; }
.cat-hero p { font-size: 1.05rem; color: var(--text-2); margin-bottom: 28px; }
.cat-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.price-list { padding: 48px 0; }
.price-table {
  max-width: 820px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.price-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  align-items: center; gap: 12px;
}
.price-row:last-child { border-bottom: none; }
.price-row--head {
  background: var(--bg-2);
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600;
}
.price-row__model { font-weight: 600; }
.price-row__year { color: var(--text-3); font-family: var(--font-mono); font-size: 0.88rem; }
.price-row__price { font-family: var(--font-mono); font-weight: 600; color: var(--accent); text-align: right; }

.text-block { padding: 48px 0; max-width: 820px; margin: 0 auto; }
.text-block h2 { margin: 32px 0 14px; }
.text-block h3 { margin: 22px 0 10px; }
.text-block p, .text-block li { color: var(--text-2); margin-bottom: 12px; line-height: 1.7; }
.text-block ul { padding-left: 24px; }
.text-block li { list-style: disc; margin-bottom: 8px; }
.text-block strong { color: var(--text); }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 380px; }
  .hero { min-height: auto; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__phone-text { display: none; }
  .header__phone { padding: 9px; }
  .hero { padding: 40px 0 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__visual { height: 320px; }
  .calc { padding: 22px; }
  .calc__row { grid-template-columns: 1fr; }
  .what, .how, .cities, .benefits, .reviews, .faq, .cta-final { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .bottom-bar { display: flex; }
  body { padding-bottom: var(--bottom-h); }
  .float-wa__label { display: none; }
  .float-wa { padding: 13px; bottom: calc(var(--bottom-h) + 16px); }
  .ai-trigger { bottom: calc(var(--bottom-h) + 16px); width: 50px; height: 50px; }
  .ai-chat { bottom: calc(var(--bottom-h) + 16px); height: calc(100vh - var(--bottom-h) - 100px); }
  .install-prompt { bottom: calc(var(--bottom-h) + 16px); }
  .price-row { grid-template-columns: 1.4fr 1fr; }
  .price-row__year { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cities__grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .ai-chat { left: 8px; right: 8px; width: auto; max-width: none; }
}

::selection { background: var(--accent); color: #07080f; }
.ai-chat__body::-webkit-scrollbar { width: 6px; }
.ai-chat__body::-webkit-scrollbar-track { background: transparent; }
.ai-chat__body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.nav--open {
  display: flex !important;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  flex-direction: column; gap: 0; padding: 14px 24px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav--open .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
