/* ============================================================
   НейроСНАБ — маркетинговый лендинг
   Дизайн-система: "Neuro Industrial"
   ============================================================ */

:root {
  /* Base — cool navy / neutral (под систему) */
  --bg: #ffffff;
  --bg-soft: #f3f7fa;
  --bg-soft-2: #e8eff5;
  --ink: #12233b;
  --ink-2: #21374f;
  --muted: #59697e;
  --muted-2: #8a9cb1;
  --line: #e3ebf2;
  --line-strong: #ccdae6;

  /* Brand — ТОЧНЫЕ токены продукта (tokens.css: --ns-teal*) */
  --c1: #149ab4; /* ns-teal-lt */
  --c2: #0e7490; /* ns-teal */
  --c3: #0b5e75; /* ns-teal-dk */
  --accent: #0e7490;
  --accent-ink: #0b5e75;
  --grad: linear-gradient(120deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
  --grad-soft: linear-gradient(120deg, rgba(20,154,180,.15), rgba(14,116,144,.13));

  /* Dark surfaces — navy продукта (#15232f / #131c26 / #172230) */
  --dark: #15232f;
  --dark-2: #1a2b3a;
  --dark-3: #24384a;
  --dark-line: rgba(255,255,255,.09);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11,17,32,.06), 0 4px 14px rgba(11,17,32,.05);
  --shadow-md: 0 8px 30px rgba(11,17,32,.09);
  --shadow-lg: 0 24px 60px rgba(11,17,32,.16);
  --shadow-brand: 0 18px 44px rgba(14,116,144,.34);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 30px;

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 800;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
  padding: 7px 14px; border-radius: 100px;
  background: var(--grad-soft);
  border: 1px solid rgba(14,116,144,.22);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.h-sec { font-size: clamp(30px, 4.4vw, 50px); }
.sub-sec { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin-top: 18px; }
.center { text-align: center; }
.center .sub-sec { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1;
  padding: 12px 20px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(14,116,144,.26); background-size: 160% 160%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14,116,144,.36); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.20); }
.btn--ghost:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.btn--light { background: var(--ink); color: #fff; }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn--lg { padding: 14px 24px; font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(11,17,32,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; color: #fff; transition: color .3s; }
.header.scrolled .brand { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 34px; height: 34px; }
.brand__stack { display: flex; flex-direction: column; font-weight: 800; line-height: .9; letter-spacing: .01em; }
.brand__stack b { display: block; font-size: 18px; font-weight: 800; color: currentColor; }
.brand__s2 { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82); white-space: nowrap;
  padding: 8px 10px; border-radius: 100px; transition: background .2s, color .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.header.scrolled .nav__links a { color: var(--muted); }
.header.scrolled .nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links a.active { color: #fff; background: rgba(255,255,255,.12); }
.header.scrolled .nav__links a.active { color: var(--accent-ink); background: var(--grad-soft); }
.mnav a.active { color: var(--c1); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: #fff; padding: 10px 12px; white-space: nowrap; transition: color .2s; }
.nav__phone svg { width: 17px; height: 17px; color: var(--c1); }
.nav__phone:hover { color: var(--c1); }
.header.scrolled .nav__phone { color: var(--ink); }
.header.scrolled .nav__phone:hover { color: var(--accent-ink); }
.nav__login { font-size: 14.5px; font-weight: 600; color: #fff; padding: 10px 14px; transition: color .2s; white-space: nowrap; }
.header.scrolled .nav__login { color: var(--ink-2); }
.nav__login:hover { color: var(--c1); }
.header.scrolled .nav__login:hover { color: var(--accent-ink); }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: .3s; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.header.scrolled .burger span, .header.scrolled .burger span::before, .header.scrolled .burger span::after { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff;
  padding: 154px 0 120px; overflow: hidden;
  background-color: var(--dark);
  background-image: linear-gradient(100deg, rgba(15,33,56,.94) 30%, rgba(15,33,56,.74) 66%, rgba(15,33,56,.62)), url("img/hero.jpg");
  background-size: cover; background-position: center 20%; background-repeat: no-repeat;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.blob--1 { width: 620px; height: 620px; background: radial-gradient(circle, #149ab4, transparent 68%); top: -180px; right: -120px; animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 520px; height: 520px; background: radial-gradient(circle, #0e7490, transparent 68%); bottom: -220px; left: -140px; animation: float2 19s ease-in-out infinite; }
.blob--3 { width: 420px; height: 420px; background: radial-gradient(circle, #149ab4, transparent 68%); top: 40%; left: 42%; opacity: .3; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-30px)} }

.hero__grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 8px 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px; color: rgba(255,255,255,.9);
}
.hero__badge b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }
.hero__badge .pill { background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 100px; }

.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; letter-spacing: -.045em; }
.hero h1 .gradient-text { display: inline; }
.hero__lead { color: rgba(255,255,255,.72); font-size: clamp(17px, 1.55vw, 20px); margin-top: 24px; max-width: 560px; }
.hero__cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero__note { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: rgba(255,255,255,.6); font-size: 14px; flex-wrap: wrap; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 16px; height: 16px; color: var(--c1); }

/* Hero panel (dashboard mock) */
.hero__panel {
  position: relative; border-radius: 24px; padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px rgba(0,0,0,.5); backdrop-filter: blur(10px);
  animation: rise 1s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.panel__live { font-family: 'Montserrat', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.55); vertical-align: middle; margin-left: 8px; }
.panel__live.on { background: rgba(20,154,180,.22); color: #8fd6e2; }
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.panel__row {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; margin-bottom: 10px;
}
.panel__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); display: grid; place-items: center; flex: none; border: 1px solid rgba(255,255,255,.1); }
.panel__ic svg { width: 20px; height: 20px; color: var(--c1); }
.panel__meta { flex: 1; min-width: 0; }
.panel__meta b { display: block; font-size: 14px; color: #fff; font-weight: 600; }
.panel__meta small { color: rgba(255,255,255,.5); font-size: 12.5px; }
.panel__tag { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 100px; flex: none; }
.panel__tag.win { background: rgba(14,116,144,.18); color: #8fd6e2; }
.panel__tag.wait { background: rgba(14,116,144,.18); color: #a3e0ec; }
.panel__tag.new { background: rgba(14,116,144,.18); color: #8fd6e2; }
.panel__bar { height: 6px; border-radius: 100px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
.panel__bar i { display: block; height: 100%; background: var(--grad); border-radius: 100px; }

.hero__float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: bob 4s ease-in-out infinite;
}
.hero__float b { font-family: 'Montserrat', sans-serif; font-size: 22px; display: block; }
.hero__float small { color: var(--muted); font-size: 12px; }
.hero__float .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.hero__float .ic svg { width: 20px; height: 20px; }
.hero__float--a { bottom: -26px; left: -34px; }
.hero__float--b { top: -22px; right: -26px; animation-delay: 1.5s; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* Trust marquee */
.trust { background: var(--dark-2); color: rgba(255,255,255,.6); padding: 26px 0; border-top: 1px solid var(--dark-line); position: relative; z-index: 2; }
.trust__label { text-align: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,.4); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; padding-right: 56px; animation: scroll 32s linear infinite; white-space: nowrap; }
.marquee__track span { font-family: 'Montserrat', sans-serif; font-size: 19px; font-weight: 600; color: rgba(255,255,255,.5); display: inline-flex; align-items: center; gap: 12px; }
.marquee__track span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--bg-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.stat__num { font-family: 'Montserrat', sans-serif; font-size: clamp(38px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; }
.stat__num small { font-size: .55em; }
.stat__label { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.pane { border-radius: var(--radius-lg); padding: 40px; }
.pane--problem { background: var(--bg-soft); border: 1px solid var(--line); }
.pane--solution { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.pane--solution::after { content: ''; position: absolute; width: 340px; height: 340px; background: radial-gradient(circle, rgba(14,116,144,.4), transparent 70%); top: -120px; right: -100px; filter: blur(40px); }
.pane h3 { font-size: 26px; margin-bottom: 8px; position: relative; }
.pane__tag { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pane--problem .pane__tag { color: #e11d48; }
.pane--solution .pane__tag { color: var(--c1); }
.pane__list { margin-top: 24px; position: relative; z-index: 1; }
.pane__list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.pane--solution .pane__list li { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.86); }
.pane__list li:last-child { border-bottom: 0; }
.pane__ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.pane--problem .pane__ic { background: rgba(225,29,72,.1); color: #e11d48; }
.pane--solution .pane__ic { background: rgba(14,116,144,.18); color: var(--c1); }
.pane__ic svg { width: 15px; height: 15px; }

/* ============================================================
   MODULES
   ============================================================ */
.modules__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 54px; }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.module::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .35s; }
.module:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.module:hover::before { opacity: 1; }
.module > * { position: relative; z-index: 1; }
.module--wide { grid-column: span 3; }
.module--third { grid-column: span 2; }
.module__ic { width: 54px; height: 54px; border-radius: 15px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-brand); margin-bottom: 20px; }
.module__ic svg { width: 26px; height: 26px; }
.module h3 { font-size: 21px; margin-bottom: 10px; }
.module p { color: var(--muted); font-size: 15px; }
.module__num { position: absolute; top: 20px; right: 24px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--line-strong); z-index: 1; }

/* ============================================================
   AUDIENCE TABS
   ============================================================ */
.aud__tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; margin: 34px auto 0; }
.aud__tab {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15.5px;
  padding: 12px 26px; border-radius: 100px; border: 0; background: transparent; color: var(--muted);
  cursor: pointer; transition: color .25s;
}
.aud__tab.active { color: #fff; background: var(--grad); box-shadow: var(--shadow-brand); }
.aud__panel { display: none; margin-top: 48px; animation: fadeUp .5s var(--ease); }
.aud__panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.aud__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.aud__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; transition: transform .3s var(--ease), box-shadow .3s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feat__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--accent); margin-bottom: 14px; }
.feat__ic svg { width: 22px; height: 22px; }
.feat b { display: block; font-family: 'Montserrat', sans-serif; font-size: 16px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14px; }

.aud__side { }
.aud__side h3 { font-size: 30px; margin-bottom: 16px; }
.aud__side .sub-sec { margin-bottom: 26px; }

/* Steps */
.steps { position: relative; }
.step { display: flex; gap: 18px; padding: 18px 0; position: relative; }
.step__n { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; flex: none; box-shadow: var(--shadow-brand); }
.step__body b { display: block; font-family: 'Montserrat', sans-serif; font-size: 17px; margin-bottom: 4px; }
.step__body p { color: var(--muted); font-size: 14.5px; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 62px; bottom: -4px; width: 2px; background: linear-gradient(var(--line-strong), transparent); }

/* ============================================================
   PARTNER / REFERRAL
   ============================================================ */
.partner { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.partner .blob--1 { top: -200px; right: -120px; opacity: .4; }
.partner .blob--2 { bottom: -260px; left: -160px; opacity: .35; }
.partner .wrap { position: relative; z-index: 2; }
.partner .h-sec, .partner .eyebrow { color: #fff; }
.partner .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--c1); }
.partner .sub-sec { color: rgba(255,255,255,.68); }
.partner__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 50px; }
.partner__steps .step__body b { color: #fff; }
.partner__steps .step__body p { color: rgba(255,255,255,.6); }
.partner__steps .step:not(:last-child)::before { background: linear-gradient(rgba(255,255,255,.25), transparent); }

.calc {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.13); border-radius: 24px; padding: 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.calc h4 { font-size: 20px; margin-bottom: 6px; }
.calc__sub { color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 22px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.calc__row:last-of-type { border-bottom: 0; }
.calc__deal { font-size: 15px; color: rgba(255,255,255,.82); }
.calc__deal small { display: block; color: rgba(255,255,255,.45); font-size: 12.5px; }
.calc__income { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc__foot { margin-top: 22px; padding: 16px; background: rgba(14,116,144,.08); border: 1px solid rgba(14,116,144,.22); border-radius: 14px; font-size: 13.5px; color: rgba(255,255,255,.7); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.price-toggle { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; }
.price-toggle button { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: 100px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: .25s; }
.price-toggle button.active { color: #fff; background: var(--grad); box-shadow: var(--shadow-brand); }

.price-wrap { margin-top: 42px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.price-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.price-table__head { display: grid; grid-template-columns: 1fr 1fr; padding: 18px 26px; background: var(--dark); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; }
.price-table__head span:last-child { text-align: right; }
.ptbl { display: none; }
.ptbl.active { display: block; }
.ptbl__row { display: grid; grid-template-columns: 1fr 1fr; padding: 13px 26px; font-size: 15px; transition: background .2s; }
.ptbl__row:nth-child(even) { background: var(--bg-soft); }
.ptbl__row:hover { background: var(--grad-soft); }
.ptbl__row span:first-child { color: var(--ink-2); }
.ptbl__row span:last-child { text-align: right; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--accent-ink); }
.ptbl__row.best span:last-child { color: #059669; }

.price-side { display: flex; flex-direction: column; gap: 16px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.price-card--hl { background: var(--dark); color: #fff; border-color: transparent; }
.price-card h4 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.price-card .chk { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; flex: none; }
.price-card .chk svg { width: 15px; height: 15px; color: #fff; }
.price-card p { font-size: 14.5px; color: var(--muted); }
.price-card--hl p { color: rgba(255,255,255,.7); }
.price-card__big { font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin: 4px 0; }
.price-note { font-size: 13px; color: var(--muted-2); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.price-note svg { width: 15px; height: 15px; flex: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 50px auto 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; color: var(--ink); }
.qa__q:hover { color: var(--accent-ink); }
.qa__ic { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; flex: none; transition: .3s; }
.qa__ic svg { width: 16px; height: 16px; transition: transform .3s; }
.qa.open .qa__ic { background: var(--grad); }
.qa.open .qa__ic svg { transform: rotate(45deg); color: #fff; }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa__a p { color: var(--muted); font-size: 15.5px; padding-bottom: 24px; }

/* ============================================================
   HERO AI CHIP
   ============================================================ */
.hero__ai { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 8px 15px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid; border-image: linear-gradient(120deg, rgba(14,116,144,.6), rgba(14,116,144,.5)) 1; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .04em; color: #fff; }
.hero__ai svg { width: 16px; height: 16px; color: var(--c1); }
.hero__ai b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   AI SECTION
   ============================================================ */
.ai { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.ai .blob--1 { width: 560px; height: 560px; top: -220px; right: -140px; opacity: .35; }
.ai .blob--2 { width: 480px; height: 480px; bottom: -240px; left: -160px; opacity: .3; }
.ai .wrap { position: relative; z-index: 2; }
.ai .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--c1); }
.ai .sub-sec { color: rgba(255,255,255,.7); }
.ai__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.ai-card {
  position: relative; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px;
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.ai-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: .45; transition: opacity .35s; }
.ai-card:hover { transform: translateY(-6px); border-color: rgba(20,154,180,.5); box-shadow: 0 28px 56px rgba(0,0,0,.45); }
.ai-card:hover::before { opacity: 1; }
.ai-card__ic { width: 56px; height: 56px; border-radius: 15px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-brand); margin-bottom: 18px; position: relative; }
.ai-card__ic::after { content: ''; position: absolute; inset: 0; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.ai-card__ic svg { width: 27px; height: 27px; position: relative; z-index: 1; }
.ai-card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -.02em; }
.ai-card p { color: rgba(255,255,255,.66); font-size: 14.5px; }
.ai-card__tag { position: absolute; top: 22px; right: 22px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: .1em; color: var(--c1); opacity: .7; }
.ai__note { margin-top: 34px; text-align: center; font-size: 13.5px; color: rgba(255,255,255,.5); }
.ai__cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PHOTO BAND (фото стройки + параллакс)
   ============================================================ */
.photoband { position: relative; padding: 128px 0; color: #fff; overflow: hidden; background: #0c0d11; }
.photoband__bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  background-attachment: fixed; transform: scale(1.02);
}
.photoband::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(10,23,42,.95) 34%, rgba(10,23,42,.72) 62%, rgba(14,116,144,.30) 100%);
}
.photoband::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 170px; opacity: .05; mix-blend-mode: overlay;
}
.photoband .wrap { position: relative; z-index: 2; }
.photoband__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.photoband .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--c1); }
.photoband h2 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 18px 0 0; }
.photoband p { color: rgba(255,255,255,.76); font-size: 18px; margin: 20px 0 32px; max-width: 520px; }
.pb-card {
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 30px;
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6);
}
.pb-card h4 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.pb-card h4 svg { width: 22px; height: 22px; color: var(--c1); }
.pb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-chip {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13.5px; color: #fff;
  padding: 9px 15px; border-radius: 100px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.pb-chip:hover { transform: translateY(-2px); border-color: rgba(20,154,180,.5); background: rgba(14,116,144,.12); }

/* ============================================================
   PROJECTS GALLERY (реальные объекты)
   ============================================================ */
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.proj {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px -16px rgba(20,22,31,.34); border: 1px solid var(--line);
}
.proj img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.proj:hover img { transform: scale(1.07); }
.proj::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,10,14,.86), rgba(9,10,14,.08) 52%, transparent); }
.proj__label { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; color: #fff; }
.proj__label b { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16.5px; letter-spacing: -.02em; }
.proj__label span { font-size: 13px; color: rgba(255,255,255,.72); }
.proj__label::before { content: ''; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 12px; transition: width .35s var(--ease); }
.proj:hover .proj__label::before { width: 54px; }

/* ============================================================
   PAGE HEAD (компактный герой подстраниц)
   ============================================================ */
.pagehead { position: relative; color: #fff; padding: 150px 0 76px; overflow: hidden;
  background-color: var(--dark);
  background-image: linear-gradient(100deg, rgba(15,33,56,.95) 42%, rgba(15,33,56,.74) 72%, rgba(14,116,144,.4)), url("img/proj6.jpg");
  background-size: cover; background-position: center 30%; }
.pagehead__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pagehead .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.5); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--c1); }
.crumbs i { color: rgba(255,255,255,.3); font-style: normal; }
.pagehead h1 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 800; letter-spacing: -.035em; max-width: 860px; }
.pagehead h1 .gradient-text { display: inline; }
.pagehead p { color: rgba(255,255,255,.7); font-size: clamp(16px, 1.4vw, 19px); margin-top: 20px; max-width: 640px; }
.pagehead__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.pagehead__stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.pagehead__stats div b { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; }
.pagehead__stats div small { color: rgba(255,255,255,.55); font-size: 13.5px; }

/* ============================================================
   DOCUMENTS
   ============================================================ */
.doc-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.doc-link { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.doc-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.doc-link__ic { width: 52px; height: 52px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(14,116,144,.16); }
.doc-link__ic svg { width: 25px; height: 25px; }
.doc-link b { font-family: 'Montserrat', sans-serif; font-size: 17px; letter-spacing: -.02em; }
.doc-link p { color: var(--muted); font-size: 14px; flex: 1; }
.doc-link .go { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; }
.doc-link .go svg { width: 15px; height: 15px; }

.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.req-card h3 { font-size: 21px; margin-bottom: 22px; }
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; }
.req-item small { display: block; color: var(--muted-2); font-size: 12.5px; margin-bottom: 3px; }
.req-item b { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.req-item--wide { grid-column: 1 / -1; }

/* ============================================================
   GUARANTEES STRIP
   ============================================================ */
.guarantees { background: var(--dark-2); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); position: relative; z-index: 2; }
.guarantees__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.guar { display: flex; align-items: center; gap: 16px; padding: 28px 24px; position: relative; transition: background .3s; }
.guar:hover { background: rgba(255,255,255,.02); }
.guar:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.08); }
.guar__ic { width: 54px; height: 54px; border-radius: 15px; background: var(--grad); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-brand); position: relative; transition: transform .3s var(--ease); }
.guar__ic::after { content: ''; position: absolute; inset: 0; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.guar:hover .guar__ic { transform: translateY(-3px) scale(1.04); }
.guar__ic svg { width: 26px; height: 26px; color: #fff; position: relative; z-index: 1; }
.guar b { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; color: #fff; letter-spacing: -.01em; }
.guar small { color: rgba(255,255,255,.55); font-size: 13px; }

/* ============================================================
   WHY — 8 преимуществ
   ============================================================ */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 24px;
  position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.why-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-card__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; color: var(--accent); margin-bottom: 16px; border: 1px solid rgba(14,116,144,.16); }
.why-card__ic svg { width: 24px; height: 24px; }
.why-card b { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.02em; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ============================================================
   COMPARE
   ============================================================ */
.compare { overflow-x: auto; margin-top: 52px; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; min-width: 680px; background: #fff; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; background: var(--bg-soft); }
.compare thead th:first-child { background: #fff; }
.compare .col-us { background: var(--dark); color: #fff; position: relative; }
.compare thead .col-us { font-size: 17px; border-radius: 0; }
.compare thead .col-us .tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; background: var(--grad); vertical-align: middle; }
.compare tbody .col-us { color: #fff; }
.compare td:first-child { font-weight: 600; color: var(--ink-2); font-family: 'Montserrat', sans-serif; font-size: 14.5px; }
.compare td { font-size: 14.5px; color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.cmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.cmark svg { width: 19px; height: 19px; flex: none; }
.cmark.yes { color: #fff; }
.cmark.yes svg { color: var(--c1); }
.cmark.no { color: rgba(255,255,255,.4); }
.cmark.mid svg { color: #a8a29e; }
.cmark.bad svg { color: #e11d48; }
.compare .col-us:first-child { }
.compare tbody .col-us b { color: #fff; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--bg-soft); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review__stars svg { width: 18px; height: 18px; color: #f59e0b; }
.review__quote { font-size: 16px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.review__metric { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 18px 0; padding: 7px 13px; border-radius: 100px; background: var(--grad-soft); border: 1px solid rgba(14,116,144,.18); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--accent-ink); }
.review__person { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; flex: none; }
.review__person b { display: block; font-family: 'Montserrat', sans-serif; font-size: 15px; }
.review__person small { color: var(--muted); font-size: 13px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.post {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.post::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad);
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.post:hover::after { transform: scaleY(1); }
.post__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.post__cat { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); padding: 6px 12px; border-radius: 100px; background: var(--grad-soft); }
.post__src { font-size: 12.5px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; }
.post__src svg { width: 14px; height: 14px; }
.post h3 { font-size: 21px; line-height: 1.22; margin-bottom: 12px; }
.post p { color: var(--muted); font-size: 15px; flex: 1; }
.post__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.post__link svg { width: 16px; height: 16px; transition: transform .25s; }
.post:hover .post__link svg { transform: translate(3px,-3px); }

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts { background: var(--bg-soft); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: stretch; }
.contacts__info { }
.contacts__info h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 18px 0 16px; }
.contacts__list { margin-top: 30px; display: grid; gap: 14px; }
.cinfo { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.cinfo:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.cinfo__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; box-shadow: var(--shadow-brand); }
.cinfo__ic svg { width: 22px; height: 22px; }
.cinfo small { display: block; color: var(--muted-2); font-size: 13px; }
.cinfo b { font-family: 'Montserrat', sans-serif; font-size: 16.5px; color: var(--ink); }

/* Form card */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 23px; margin-bottom: 6px; }
.form-card__sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; font-family: 'Montserrat', sans-serif; }
.field label .req { color: #e11d48; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(14,116,144,.14); }
.field input.err, .field select.err { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,.1); }
.field__msg { font-size: 12.5px; color: #e11d48; margin-top: 6px; display: none; }
.field.invalid .field__msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-consent { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; text-align: center; line-height: 1.5; }
.form-consent a { color: var(--accent-ink); text-decoration: underline; }

/* Form success */
.form-success { display: none; text-align: center; padding: 20px 0; animation: fadeUp .5s var(--ease); }
.form-success.show { display: block; }
.form-success .ok { width: 74px; height: 74px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: var(--shadow-brand); animation: pop .5s var(--ease); }
.form-success .ok svg { width: 36px; height: 36px; color: #fff; }
@keyframes pop { 0%{transform:scale(.4);opacity:0} 60%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 15.5px; }
.form.hide { display: none; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(7,11,23,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 460px;
  padding: 34px; position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97); transition: transform .35s var(--ease); max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 11px; border: 0; background: var(--bg-soft); color: var(--muted); font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.modal__close:hover { background: var(--line); color: var(--ink); }
.modal__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.modal__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.modal h3 { font-size: 24px; margin-bottom: 8px; }
.modal__sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120%); z-index: 400; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 100px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; transition: transform .4s var(--ease); }
.toast svg { width: 18px; height: 18px; color: var(--c1); }
.toast.show { transform: translate(-50%, 0); }

/* ============================================================
   CTA
   ============================================================ */
.cta-band { padding: 0 0 104px; }
.cta-box {
  background: var(--dark); border-radius: var(--radius-lg); padding: 72px 56px; text-align: center;
  position: relative; overflow: hidden; color: #fff;
}
.cta-box .blob--1 { width: 500px; height: 500px; top: -220px; left: -100px; opacity: .5; }
.cta-box .blob--2 { width: 460px; height: 460px; bottom: -260px; right: -80px; opacity: .45; }
.cta-box > *:not(.blob) { position: relative; z-index: 2; }
.cta-box h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-box p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 560px; margin: 18px auto 34px; }
.cta-box .hero__cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-2); color: rgba(255,255,255,.6); padding: 72px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--dark-line); }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__about { font-size: 14.5px; max-width: 320px; margin-bottom: 22px; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.footer__contact a { font-size: 15px; transition: color .2s; }
.footer__contact a:hover { color: var(--c1); }
.footer__phone { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px !important; color: #fff; letter-spacing: -.01em; }
.footer__req { padding-top: 26px; margin-top: 8px; border-top: 1px solid var(--dark-line); font-size: 12.5px; color: rgba(255,255,255,.42); line-height: 1.7; }
.footer__soc { display: flex; gap: 10px; }
.footer__soc a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; transition: .25s; }
.footer__soc a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.footer__soc svg { width: 18px; height: 18px; color: #fff; }
.footer__col h5 { font-family: 'Montserrat', sans-serif; color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.footer__col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--c1); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13.5px; gap: 16px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mnav { position: fixed; inset: 0; z-index: 200; background: var(--dark); color: #fff; padding: 24px; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.mnav a { flex: none; }
.mnav.open { transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mnav__close { background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; width: 44px; height: 44px; }
.mnav a { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mnav__phone { display: inline-flex !important; align-items: center; gap: 10px; margin-top: auto; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; color: #fff; border-bottom: 0 !important; padding: 8px 0 !important; }
.mnav__phone svg { width: 22px; height: 22px; color: var(--c1); }
.mnav__cta { display: grid; gap: 12px; padding-top: 10px; }

/* ============================================================
   PREMIUM POLISH — глубина и «дорогой» вид
   ============================================================ */
/* Плёночная текстура (grain) поверх тёмных секций */
.hero::after, .ai::after, .partner::after, .pagehead::after, .cta-box::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 170px 170px; opacity: .05; mix-blend-mode: overlay;
}

/* Мягкая объёмная тень + световой верхний кант у светлых карточек */
.stat, .module, .why-card, .review, .post, .doc-link, .form-card, .req-card, .calc, .compare, .price-table, .feat {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 1px 2px rgba(11,17,32,.04), 0 16px 38px -14px rgba(20,22,31,.16);
}
/* Градиентный ореол при наведении на карточки */
.module:hover, .why-card:hover, .review:hover, .post:hover, .doc-link:hover, .stat:hover, .feat:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 50px -16px rgba(14,116,144,.30), 0 10px 24px -12px rgba(20,22,31,.18);
}
/* Тёмные карточки — тонкий кант */
.ai-card, .calc, .hero__panel { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.55); }
.ai-card:hover { box-shadow: inset 0 1px 0 rgba(20,154,180,.25), 0 30px 60px -18px rgba(0,0,0,.6); }

/* Анимированный блеск в крупных цифрах и заголовке-героя */
.stat__num, .price-card__big, .pagehead__stats b, .hero h1 .gradient-text {
  background-size: 220% 100%; animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Световой пробег по основной кнопке */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 45%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }

/* Свечение за дашбордом в герое */
.hero__visual::before {
  content: ''; position: absolute; width: 130%; height: 130%; top: -15%; left: -12%; z-index: 0;
  background: radial-gradient(circle at 62% 42%, rgba(14,116,144,.26), transparent 62%);
  filter: blur(34px); pointer-events: none;
}
.hero__panel { position: relative; z-index: 2; }
.hero__float { z-index: 3; }

/* Градиентные хайрлайн-разделители на стыках тёмных полос */
.guarantees { position: relative; }
.guarantees::before, .guarantees::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(20,154,180,.45), transparent);
}
.guarantees::before { top: 0; } .guarantees::after { bottom: 0; }

/* Живой градиент на фоновых пятнах */
.blob { will-change: transform; }

/* Чуть выразительнее «глазок»-чипы */
.eyebrow { box-shadow: 0 4px 16px -6px rgba(14,116,144,.20); backdrop-filter: blur(4px); }

/* Крупнее и плотнее секционные заголовки */
.h-sec { line-height: 1.03; }
.hero h1 { text-shadow: 0 2px 40px rgba(0,0,0,.25); }

/* Мягкая виньетка снизу тёмного героя для глубины */
.hero::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 180px; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent);
}

/* Тонкая точечная текстура на светлом фоне (уходит от «плоско-белого») */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(20,22,31,.035) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, #000);
}

/* Градиентный акцент-бар под заголовками центрированных секций */
.center .h-sec::after {
  content: ''; display: block; width: 60px; height: 4px; border-radius: 4px;
  background: var(--grad); margin: 20px auto 0; box-shadow: 0 4px 14px -2px rgba(14,116,144,.5);
}

/* Крупнее и весомее ключевые цифры */
.stat__num { font-size: clamp(42px, 4.4vw, 58px); }
.stat { padding: 34px 26px; }

/* Более выразительное свечение за дашбордом */
.hero__visual::before { background: radial-gradient(circle at 62% 42%, rgba(14,116,144,.34), transparent 60%); }
.hero .blob--1 { opacity: .7; } .hero .blob--3 { opacity: .4; }

/* Верхний градиентный кант у ключевых карточек (постоянный, не только ховер) */
.stat::before, .review::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 1;
  background: var(--grad); opacity: .5; transition: opacity .35s;
}
.stat, .review { position: relative; overflow: hidden; }
.stat:hover::before, .review:hover::before { opacity: 1; }

/* ============================================================
   STICKY CTA (все страницы)
   ============================================================ */
.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; transform: translateY(130%); transition: transform .45s var(--ease); background: rgba(21,35,47,.94); backdrop-filter: saturate(160%) blur(14px); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.stickycta.show { transform: none; }
.stickycta__in { max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; }
.stickycta__txt { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15.5px; flex: 1; letter-spacing: -.01em; }
.stickycta__txt span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stickycta .btn { flex: none; }
.stickycta__close { background: rgba(255,255,255,.08); border: 0; color: rgba(255,255,255,.6); font-size: 20px; line-height: 1; cursor: pointer; width: 34px; height: 34px; border-radius: 10px; flex: none; transition: .2s; }
.stickycta__close:hover { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 680px) {
  .stickycta__txt { display: none; }
  .stickycta__in { padding: 10px 14px; gap: 10px; }
  .stickycta .btn { flex: 1; }
}

/* ============================================================
   ИИ-АНИМАЦИИ + СИЛЬНЫЕ ЭФФЕКТЫ
   ============================================================ */
/* Hero: ИИ-типрайтер */
.hero__aitype { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.86); min-height: 22px; }
.hero__aitype b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }
.hero__aitype-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c1); animation: aipulse 1.7s ease-out infinite; flex: none; }
.hero__aitype-cur { width: 2px; height: 17px; background: var(--c1); display: inline-block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes aipulse { 0% { box-shadow: 0 0 0 0 rgba(20,154,180,.5); } 100% { box-shadow: 0 0 0 11px rgba(20,154,180,0); } }

/* Hero dashboard: живой ИИ-статус */
.panel__ai { display: flex; align-items: center; gap: 9px; margin: 2px 0 12px; padding: 9px 12px; border-radius: 11px; background: rgba(20,154,180,.1); border: 1px solid rgba(20,154,180,.22); font-size: 12.5px; color: #a3e0ec; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.panel__ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); animation: aipulse 1.7s ease-out infinite; flex: none; }
.panel__aihint { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11.5px; color: #8fd6e2; font-weight: 600; font-family: 'Montserrat', sans-serif; }
.panel__aihint svg { color: var(--c1); flex: none; }

/* Aurora + нейро-линии */
.hero__aurora { position: absolute; inset: -25%; z-index: 0; pointer-events: none; opacity: .55;
  background: conic-gradient(from 0deg at 50% 50%, rgba(20,154,180,0), rgba(20,154,180,.2), rgba(11,94,117,0), rgba(20,154,180,.16), rgba(20,154,180,0));
  filter: blur(70px); animation: aurora 26s linear infinite; }
@keyframes aurora { to { transform: rotate(360deg); } }
.ai__neuro { position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none; overflow: hidden; }
.ai__neuro svg { width: 100%; height: 100%; }
.ai__neuro-lines line { stroke-dasharray: 6 9; animation: neuroflow 7s linear infinite; opacity: .4; }
@keyframes neuroflow { to { stroke-dashoffset: -150; } }
.ai__neuro circle { animation: neuroblink 3.2s ease-in-out infinite; animation-delay: var(--d,0s); }
@keyframes neuroblink { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Scroll-прогресс */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: var(--grad); box-shadow: 0 0 12px rgba(20,154,180,.7); }

/* 3D-tilt */
.tilt { transform-style: preserve-3d; transition: transform .18s var(--ease), box-shadow .35s var(--ease); will-change: transform; }

/* Одометр-цифры */
.odo { display: inline-flex; align-items: baseline; }
.odo__reel { display: inline-block; height: 1em; overflow: hidden; }
.odo__reel > span { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.7s cubic-bezier(.16,.84,.24,1);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.odo__reel > span > i { display: block; height: 1em; line-height: 1em; font-style: normal; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .hero__aitype-cur, .hero__aitype-dot, .panel__ai-dot, .hero__aurora, .ai__neuro-lines line, .ai__neuro circle { animation: none !important; }
  .odo__reel > span { transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { max-width: 480px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .modules__grid { grid-template-columns: repeat(2, 1fr); }
  .module--wide, .module--third { grid-column: span 1; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .nav__phone { display: none; }
}
/* Модификатор 3-колоночной сетки карточек (вместо инлайн-стилей — чтобы адаптировалось) */
.why__grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 980px) {
  .why__grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .ai__grid { grid-template-columns: 1fr 1fr; }
  .projects__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  .split, .aud__layout, .partner__grid, .price-wrap, .contacts__grid, .blog__grid, .reviews__grid, .photoband__inner { grid-template-columns: 1fr; }
  .photoband__bg { background-attachment: scroll; }
  .photoband { padding: 88px 0; }
  .guarantees__row { grid-template-columns: 1fr 1fr; }
  .guar:nth-child(2)::after { display: none; }
  .guar { border-bottom: 1px solid rgba(255,255,255,.08); }
  .doc-links { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .pagehead { padding: 118px 0 58px; }
  .pagehead__stats { gap: 22px 32px; }
  .price-wrap { gap: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section { padding: 72px 0; }
  .hero { padding: 116px 0 78px; }
  .aud__feats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .modules__grid { grid-template-columns: 1fr; }
  .why__grid, .why__grid.cols-3 { grid-template-columns: 1fr; }
  .ai__grid { grid-template-columns: 1fr; }
  .guarantees__row { grid-template-columns: 1fr; }
  .guar::after { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .pane, .cta-box { padding: 32px 22px; }
  .cta-box { padding: 44px 22px; }
  .pricing__head { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card, .modal { padding: 24px 20px; }
  .hero__float--a { left: -6px; } .hero__float--b { right: -6px; }
  .aud__tabs { width: 100%; }
  .aud__tab { flex: 1; padding: 12px 8px; }
  .section { padding: 58px 0; }
  .pagehead { padding: 104px 0 46px; }
  .pagehead__stats { gap: 18px 28px; }
  /* Кнопки на всю ширину — крупные CTA */
  .hero__cta, .pagehead__cta, .cta-box .hero__cta, .ai__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .pagehead__cta .btn, .cta-box .hero__cta .btn, .ai__cta .btn { width: 100%; }
  .hero__note { gap: 10px 16px; }
  .h-sec { font-size: clamp(26px, 8vw, 34px); }
}
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .hero__float { display: none; }
  .stat { padding: 24px 18px; }
  .pagehead__stats { flex-direction: column; gap: 16px; }
  .guar { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
