/*
Theme Name: АСБК 2026
Theme URI: https://hunterevil.ru
Description: Современная тема для АСБК — системного интегратора из Волгограда. Графит + тёмно-синий, инженерная эстетика, SVG-иконки, blueprint-сетка.
Version: 1.0.0
Author: АСБК
Text Domain: asbk
Requires at least: 5.8
Requires PHP: 7.4
*/

/* ── reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── tokens ────────────────────────────────────────── */
:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F3F4F7;
  --bg-tint:   #F8F9FB;
  --ink:       #0E1116;
  --ink-2:     #1A1F26;
  --muted:     #6B7280;
  --muted-2:   #9CA3AF;
  --line:      #E5E7EB;
  --line-2:    #D1D5DB;

  --accent:       #1E3A8A;
  --accent-2:     #15296B;
  --accent-soft:  #EEF2FB;
  --accent-bright: #2E5BFF;
  --accent-glow:  #93C5FD;

  --graphite-dark: #0E1116;
  --graphite:      #1A1F26;
  --graphite-mid:  #232932;

  --navy-dark:  #0A1326;
  --navy:       #112247;
  --navy-mid:   #1A2E55;

  --sans: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Roboto Mono', 'Menlo', monospace;

  --max: 1480px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 6px;
  --pill: 6px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }

/* ── atoms ─────────────────────────────────────────── */
.mono  { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.shell { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 26px;
  border-radius: var(--pill);
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  border: 1px solid var(--ink); color: var(--ink); background: var(--bg);
  transition: 200ms ease; white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 15px; }
.btn .arrow { display: inline-block; transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; transform: translateY(-1px); }
.btn--solid-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--solid-light:hover { background: var(--accent-glow); border-color: var(--accent-glow); color: var(--navy-dark); }

/* ── top strip ─────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--graphite-dark); color: #fff;
  font-family: var(--mono); font-size: 12px;
  transition: background 250ms ease, transform 350ms ease;
}
.topbar .dot { background: var(--accent-bright) !important; box-shadow: 0 0 0 0 rgba(43,217,217,.6) !important; animation: pulse-cyan 2.4s ease-out infinite !important; }
@keyframes pulse-cyan {
  0% { box-shadow: 0 0 0 0 rgba(43,217,217,.6); }
  70% { box-shadow: 0 0 0 9px rgba(43,217,217,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,217,217,0); }
}
.topbar a:hover { color: var(--accent-glow); }
.topbar__row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 38px;
}
.topbar__row > :last-child { justify-self: end; }
.topbar__row > :nth-child(2) { text-align: center; }
.topbar a:hover { color: var(--accent-glow); }
.topbar .dot {
  display: inline-block; width: 7px; height: 7px; background: var(--accent-glow); border-radius: 50%;
  margin-right: 10px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(87,242,164,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(87,242,164,.6); }
  70% { box-shadow: 0 0 0 9px rgba(87,242,164,0); }
  100% { box-shadow: 0 0 0 0 rgba(87,242,164,0); }
}

/* ── nav ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 55;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}
.nav__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; letter-spacing: -0.025em; color: var(--ink); }
.logo__img {
  width: 44px; height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo__sub { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.logo--light { color: #fff; }
.logo--light .logo__sub { color: rgba(255,255,255,0.6); }
.foot__brand .logo__img { width: 52px; height: 52px; }

.nav__menu { display: flex; justify-content: center; gap: 4px; flex: 0 1 auto; }
.nav__menu a { padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 150ms; white-space: nowrap; }
.nav__menu a:hover { color: var(--accent); }
.nav--over-hero .nav__menu a { color: #fff; }
.nav--over-hero .nav__menu a:hover { color: var(--accent-glow); }

.nav__cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.nav__phone { font-family: var(--mono); font-size: 13px; font-weight: 500; white-space: nowrap; }
.nav--over-hero .nav__phone { color: rgba(255,255,255,0.85); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: 200ms;
}
.nav__burger span {
  position: absolute;
  left: 12px; right: 12px; height: 1.6px;
  background: var(--ink);
  transition: 250ms cubic-bezier(.4,0,.2,1);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav--over-hero .nav__burger { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.nav--over-hero .nav__burger span { background: #fff; }

/* Mobile menu drawer */
.nav__drawer {
  display: none;
  position: fixed; top: 0; right: 0;
  width: 100%; max-width: 380px;
  height: 100vh; height: 100dvh;
  background: linear-gradient(180deg, var(--graphite-dark) 0%, #050810 100%);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(.4,0,.2,1);
  padding: 88px 28px 32px;
  color: #fff;
  flex-direction: column;
  overflow-y: auto;
}
.nav__drawer::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.nav__drawer > * { position: relative; z-index: 1; }
.nav__drawer.is-open { transform: translateX(0); }
.nav__drawer-menu { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.nav__drawer-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  font-size: 17px; font-weight: 500; color: #fff;
  border-radius: 10px;
  transition: 180ms;
  border: 1px solid transparent;
}
.nav__drawer-menu a:hover, .nav__drawer-menu a:active { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.nav__drawer-menu a::after { content: '→'; color: var(--accent-bright); font-size: 16px; }
.nav__drawer-cta { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 12px; }
.nav__drawer-cta .btn { width: 100%; justify-content: center; height: 54px; }
.nav__drawer-contact { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 20px; line-height: 1.7; }
.nav__drawer-contact a { color: var(--accent-bright); }
.nav__drawer-contact div + div { margin-top: 4px; }

.nav__backdrop {
  position: fixed; inset: 0; background: rgba(6,33,38,0.55); backdrop-filter: blur(4px);
  z-index: 65; opacity: 0; pointer-events: none; transition: opacity 300ms;
}
.nav__backdrop.is-open { opacity: 1; pointer-events: auto; }
body.is-locked { overflow: hidden; }

/* ── HERO (teal gradient + bokeh + halftone) ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(150px, 16vw, 200px) 0 clamp(60px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 78% 30%, rgba(46,91,255,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 25% 80%, rgba(30,58,138,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 95% 95%, rgba(10,19,38,0.9) 0%, transparent 60%),
    linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
}
.hero::before { display: none; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none; z-index: -1;
}

.hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(80px); opacity: 0.7;
  will-change: transform;
}
.hero__orb--1 { width: 520px; height: 520px; top: -100px; right: -80px; background: radial-gradient(circle at 30% 30%, #3B82F6, #1E3A8A 70%); animation: orb1 14s ease-in-out infinite alternate; }
.hero__orb--2 { width: 380px; height: 380px; bottom: -80px; left: 10%; background: radial-gradient(circle at 60% 40%, #2E5BFF, #0A1326 70%); animation: orb2 18s ease-in-out infinite alternate; }
.hero__orb--3 { width: 280px; height: 280px; top: 35%; left: -60px; background: radial-gradient(circle at 50% 50%, #0A1326, #112247 80%); opacity: 0.6; animation: orb3 16s ease-in-out infinite alternate; }
@keyframes orb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, 30px) scale(1.05); } }
@keyframes orb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(30px, -20px) scale(0.95); } }
@keyframes orb3 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, -30px) scale(1.08); } }

.hero__shell { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }

.hero__brand {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: clamp(40px, 7vw, 72px);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__brand .bar { width: 32px; height: 1px; background: rgba(255,255,255,0.5); }

.hero__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,30,40,0.15);
  word-break: keep-all;
  hyphens: none;
}
.hero__title .accent { color: var(--accent-glow); }

.hero__subtitle {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #fff;
  line-height: 1.25;
}

.hero__lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 54ch;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 30px;
  border-radius: var(--pill);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  background: var(--accent-bright);
  color: #fff;
  border: 1px solid var(--accent-bright);
  transition: 220ms ease;
  cursor: pointer;
}
.hero__btn:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }
.hero__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
}
.hero__btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.hero__btn .arrow { transition: transform 220ms; display: inline-flex; }
.hero__btn:hover .arrow { transform: translateX(4px); }

.hero__side { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.hero__stats {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  width: 100%; max-width: 380px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  overflow: visible;
}
.hero__stat { padding: 22px 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat .l { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; text-transform: uppercase; }
.hero__stat .v { font-weight: 700; font-size: 36px; letter-spacing: -0.025em; color: #fff; line-height: 1; }
.hero__stat .v small { font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,0.55); margin-left: 6px; font-weight: 400; letter-spacing: 0; }

.hero__dots { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.hero__dots li { width: 8px; height: 8px; background: rgba(255,255,255,0.35); border-radius: 50%; transition: 200ms; cursor: pointer; }
.hero__dots li.is-active { background: #fff; transform: scale(1.4); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  z-index: 1;
}
.hero__scroll .a { font-size: 20px; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── CONTACT SECTION (главная — связаться + контакты) ───── */
.contact-section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 60% at 75% 30%, rgba(46,91,255,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 20% 90%, rgba(30,58,138,0.45) 0%, transparent 60%),
    linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
}
.contact-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(147,197,253,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147,197,253,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none; z-index: -1;
}
.contact-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none; z-index: -1;
}
.contact-section__orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(90px); opacity: 0.7;
}
.contact-section__orb--1 { width: 480px; height: 480px; top: -120px; right: -100px; background: radial-gradient(circle at 30% 30%, #3B82F6, #1E3A8A 70%); }
.contact-section__orb--2 { width: 360px; height: 360px; bottom: -120px; left: -80px; background: radial-gradient(circle at 60% 40%, #2E5BFF, #0A1326 70%); opacity: 0.55; }

.contact-section__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-section__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--pill);
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.contact-section__eyebrow .bar { width: 14px; height: 1px; background: var(--accent-bright); }

.contact-section__title {
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,30,40,0.2);
}
.contact-section__title .accent { color: var(--accent-glow); font-style: italic; font-weight: 600; }

.contact-section__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 42ch;
  margin-bottom: 36px;
}

.contact-section__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}

.contact-section__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: 250ms ease;
}
.contact-card:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-bright); transform: translateY(-3px); }
.contact-card--wide { grid-column: 1 / -1; }
.contact-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(46,91,255,0.18);
  border: 1px solid rgba(147,197,253,0.25);
  border-radius: 10px;
  color: var(--accent-glow);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__label {
  display: block;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-card__value {
  font-size: 15px; line-height: 1.5;
  color: #fff;
  font-weight: 500;
}
.contact-card__value a { color: #fff; transition: color 180ms; }
.contact-card__value a:hover { color: var(--accent-glow); }

@media (max-width: 1024px) {
  .contact-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-section__lede { max-width: 56ch; }
}
@media (max-width: 768px) {
  .contact-section { padding: 64px 0; }
  .contact-section__title { font-size: clamp(28px, 7.5vw, 40px); }
  .contact-section__lede { font-size: 15px; }
  .contact-section__actions { flex-direction: column; align-items: stretch; }
  .contact-section__actions .hero__btn { width: 100%; justify-content: center; }
  .contact-section__details { grid-template-columns: 1fr; gap: 10px; }
  .contact-card { padding: 18px 18px; }
  .contact-card__icon { width: 36px; height: 36px; }
  .contact-card__value { font-size: 14px; }
}

/* ── MODAL (форма обратной связи) ─────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity 280ms ease;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 12, 22, 0.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 620px;
  max-height: 92vh; overflow-y: auto;
  background: linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 28px 32px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(147,197,253,0.05);
  transform: scale(0.96) translateY(20px);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  isolation: isolate;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.modal__card::-webkit-scrollbar { width: 8px; }
.modal__card::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.modal__card { overflow-x: hidden; }
.modal__form, .modal__form * { box-sizing: border-box; max-width: 100%; }
.modal__form .wpcf7 { overflow: hidden; }
.modal__form .wpcf7-form { width: 100%; min-width: 0; }
.modal__form .wpcf7-form > p { min-width: 0; max-width: 100%; overflow: hidden; }
.modal__form .wpcf7-form-control-wrap { min-width: 0; }
.modal.is-open .modal__card { transform: scale(1) translateY(0); }
.modal__card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
  z-index: -1;
}
.modal__card::after {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.4), transparent 70%);
  filter: blur(70px);
  pointer-events: none; z-index: -1;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  cursor: pointer; transition: 180ms ease;
}
.modal__close:hover { background: rgba(255,255,255,0.15); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 16px; height: 16px; }

.modal__head { margin-bottom: 18px; }
.modal__eyebrow {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 8px;
}
.modal__eyebrow::before {
  content: ''; width: 14px; height: 1px; background: var(--accent-bright);
}
.modal__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 8px 0 6px;
  color: #fff;
}
.modal__sub {
  color: rgba(255,255,255,0.65);
  font-size: 13px; line-height: 1.45;
}

/* CF7 form styling inside modal — 2-col grid layout */
.modal__form .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.modal__form .wpcf7-form > * { grid-column: 1 / -1; margin: 0; }
.modal__form .wpcf7-form > p:nth-of-type(1),
.modal__form .wpcf7-form > p:nth-of-type(2),
.modal__form .wpcf7-form > p:nth-of-type(3),
.modal__form .wpcf7-form > p:nth-of-type(4) { grid-column: auto; }
.modal__form .wpcf7-form > p { margin: 0; }
.modal__form .wpcf7 label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.modal__form .wpcf7 label br { display: none; }
.modal__form .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.modal__form input[type="text"],
.modal__form input[type="email"],
.modal__form input[type="tel"],
.modal__form input[type="url"],
.modal__form select,
.modal__form textarea {
  display: block; width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: 200ms ease;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.4;
}
.modal__form input::placeholder, .modal__form textarea::placeholder { color: rgba(255,255,255,0.4); }
.modal__form input:focus, .modal__form select:focus, .modal__form textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(46,91,255,0.2);
}
.modal__form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393C5FD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
.modal__form select option { background: var(--graphite-dark); color: #fff; }
.modal__form textarea { min-height: 70px; max-height: 130px; height: 80px; resize: vertical; }

.modal__form .wpcf7-submit,
.modal__form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px 22px; margin-top: 2px;
  background: var(--accent-bright); color: #fff;
  border: 1px solid var(--accent-bright); border-radius: var(--pill);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0;
  cursor: pointer; transition: 220ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.modal__form .wpcf7-submit:hover, .modal__form input[type="submit"]:hover {
  background: #fff; color: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(46,91,255,0.5);
}

.modal__form .wpcf7-response-output,
.modal__form .wpcf7 form.sent .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  border: 1px solid rgba(147,197,253,0.3) !important;
  background: rgba(46,91,255,0.12) !important;
  color: var(--accent-glow) !important;
  font-family: var(--sans);
}
.modal__form .wpcf7 form.invalid .wpcf7-response-output,
.modal__form .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: rgba(252,165,165,0.3) !important;
  background: rgba(220,38,38,0.15) !important;
  color: #FCA5A5 !important;
}
.modal__form .wpcf7-not-valid-tip {
  color: #FCA5A5 !important;
  font-size: 12px !important;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 6px;
  font-weight: 400;
}
.modal__form .wpcf7-spinner { background-color: var(--accent-glow) !important; }

.modal__alt {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.modal__alt a { color: var(--accent-bright); transition: color 180ms; }
.modal__alt a:hover { color: var(--accent-glow); }
.modal__alt .dot { width: 4px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 50%; }

.modal__form .grecaptcha-badge { transform: scale(0.85); transform-origin: 0 0; }

/* Tablet */
@media (max-width: 720px) {
  .modal { padding: 16px; align-items: flex-start; padding-top: 80px; }
  .modal__card { padding: 24px 22px 20px; border-radius: 12px; max-height: calc(100vh - 100px); }
  .modal__close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .modal__head { margin-bottom: 16px; }
  .modal__title { font-size: 20px; margin: 6px 0 6px; }
  .modal__sub { font-size: 12.5px; }
}

/* Mobile — single column form */
@media (max-width: 560px) {
  .modal { padding: 12px; padding-top: 60px; }
  .modal__card { padding: 22px 18px 18px; border-radius: 10px; }
  .modal__form .wpcf7-form { grid-template-columns: 1fr; gap: 10px; }
  .modal__form .wpcf7-form > p:nth-of-type(1),
  .modal__form .wpcf7-form > p:nth-of-type(2),
  .modal__form .wpcf7-form > p:nth-of-type(3),
  .modal__form .wpcf7-form > p:nth-of-type(4) { grid-column: 1 / -1; }
  .modal__form input, .modal__form select, .modal__form textarea { font-size: 16px; padding: 10px 12px; }
  .modal__form textarea { height: 70px; min-height: 60px; }
  .modal__form .wpcf7-submit { padding: 14px 20px; font-size: 14px; }
  .modal__alt { font-size: 11.5px; gap: 8px; margin-top: 14px; padding-top: 12px; }
}

/* Very small */
@media (max-width: 380px) {
  .modal { padding: 8px; padding-top: 50px; }
  .modal__card { padding: 18px 14px 14px; }
  .modal__title { font-size: 18px; }
}

/* Short viewport — collapse header even more */
@media (max-height: 720px) {
  .modal { align-items: flex-start; padding-top: 60px; }
  .modal__card { max-height: calc(100vh - 80px); }
  .modal__head { margin-bottom: 12px; }
  .modal__sub { display: none; }
  .modal__form textarea { height: 60px; min-height: 50px; }
}

body.is-locked { overflow: hidden; }

/* ── PAGE HERO (компактный hero для внутренних страниц) ─── */
.page-hero {
  position: relative;
  padding: clamp(150px, 18vw, 200px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 80% 25%, rgba(46,91,255,0.30) 0%, transparent 55%),
    radial-gradient(ellipse 65% 50% at 20% 85%, rgba(30,58,138,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 95% 95%, rgba(10,19,38,0.85) 0%, transparent 60%),
    linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
}
.page-hero::before { display: none; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none; z-index: -1;
}
.page-hero__orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(80px); opacity: 0.6;
}
.page-hero__orb--1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle at 30% 30%, #3B82F6, #1E3A8A 70%); }
.page-hero__orb--2 { width: 320px; height: 320px; bottom: -100px; left: 8%; background: radial-gradient(circle at 60% 40%, #2E5BFF, #0A1326 70%); }

.page-hero .shell { position: relative; z-index: 2; }

.page-hero__crumbs {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--pill);
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.page-hero__crumbs a { color: rgba(255,255,255,0.7); transition: color 180ms; }
.page-hero__crumbs a:hover { color: var(--accent-glow); }
.page-hero__crumbs .sep { color: rgba(255,255,255,0.3); }
.page-hero__crumbs .current { color: #fff; }

.page-hero__title {
  font-weight: 700;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 22ch;
  text-shadow: 0 2px 30px rgba(0,30,40,0.15);
}

.page-hero__meta {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}
.page-hero__meta .bar { width: 28px; height: 1px; background: var(--accent-bright); }
.page-hero__meta .accent { color: var(--accent-glow); }
.page-hero__meta .dot { width: 4px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 50%; }

@media (max-width: 768px) {
  .page-hero { padding: clamp(110px, 22vw, 150px) 0 clamp(40px, 7vw, 64px); }
  .page-hero__title { font-size: clamp(26px, 7vw, 36px); }
  .page-hero__crumbs { font-size: 11px; padding: 6px 12px; margin-bottom: 24px; }
  .page-hero__orb--1 { width: 280px; height: 280px; }
  .page-hero__orb--2 { width: 220px; height: 220px; }
}

/* nav transparent over dark hero */
.nav--over-hero {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: transparent !important;
}
/* При скролле над hero — единый стеклянный блок (topbar + nav) */
.nav--over-hero.nav--scrolled {
  background: rgba(10, 19, 38, 0.55) !important;
  backdrop-filter: blur(22px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5) !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
.topbar--over-hero { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.topbar--over-hero.topbar--scrolled {
  background: rgba(10, 19, 38, 0.55) !important;
  backdrop-filter: blur(22px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav--over-hero .logo, .nav--over-hero .nav__menu a, .nav--over-hero .nav__phone { color: #fff; }
.nav--over-hero .logo__sub { color: rgba(255,255,255,0.7); }
.nav--over-hero .nav__menu a:hover { color: var(--accent-glow); }
.nav--over-hero .btn--primary { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; backdrop-filter: blur(10px); }
.nav--over-hero .btn--primary:hover { background: #fff; color: #0A4A52; border-color: #fff; }
.topbar--over-hero { background: rgba(0,0,0,0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ── marquee ───────────────────────────────────────── */
.marquee { background: var(--ink); color: #fff; padding: 16px 0; overflow: hidden; }
.marquee__track { display: inline-flex; gap: 56px; white-space: nowrap; align-items: center; animation: marquee 60s linear infinite; }
.marquee__track img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.75; transition: opacity 200ms; }
.marquee__track img:hover { opacity: 1; }
.marquee__track .sep { color: var(--accent); font-family: var(--mono); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── section header ────────────────────────────────── */
.sec { padding: clamp(72px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); position: relative; }
.sec--tint { background: var(--bg-tint); }
.sec--dark {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(43,217,217,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 90%, rgba(24,163,176,0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
  overflow: hidden;
}
.sec--dark::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.sec--dark > * { position: relative; z-index: 1; }
.sec--dark .sec__title { color: #fff; }
.sec--dark .sec__index { color: var(--muted-2); }
.sec--dark .sec__index b { color: var(--accent-bright); }
.sec--dark .sec__sub { color: rgba(255,255,255,0.7); }
.sec__head { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 3vw, 56px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec__index { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.sec__index b { color: var(--accent); font-weight: 500; }
.sec__title { font-weight: 600; font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.sec__title .accent { color: var(--accent); }
.sec--dark .sec__title .accent { color: var(--accent-glow); }
.sec__sub { margin-top: 20px; max-width: 62ch; font-size: 16px; color: var(--muted); line-height: 1.55; }

/* ── three pillars (главные 3 направления) ──────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar {
  overflow: hidden; background: #fff;
  display: flex; flex-direction: column; min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 350ms cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(6,33,38,0.15); border-color: var(--accent-bright); }
.pillar__cover { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.pillar__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); filter: contrast(1.02); }
.pillar:hover .pillar__cover img { transform: scale(1.06); }
.pillar__body { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: space-between; position: relative; }
.pillar__icon {
  position: absolute; top: -28px; right: 24px;
  width: 56px; height: 56px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--accent);
  box-shadow: 0 8px 24px -8px rgba(14,17,22,0.15);
  transition: 280ms ease;
}
.pillar:hover .pillar__icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.pillar__icon svg { width: 26px; height: 26px; stroke-width: 1.5; }

.icon-box {
  width: 64px; height: 64px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: var(--radius);
  display: grid; place-items: center;
  transition: 260ms ease;
  border: 1px solid transparent;
}
.icon-box svg { width: 32px; height: 32px; stroke-width: 1.5; }
.svc:hover .icon-box { background: var(--accent); color: #fff; }
.why__cell:hover .icon-box { background: var(--accent); color: #fff; }

.sec--blueprint > .shell { position: relative; z-index: 1; }
.sec--blueprint::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(30,58,138,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,58,138,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.pillar__no { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; letter-spacing: 0.02em; }
.pillar__no b { color: var(--accent); font-weight: 500; }
.pillar__title { font-weight: 600; font-size: 26px; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.pillar__copy { color: var(--muted); font-size: 15px; line-height: 1.6; }
.pillar__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--accent); margin-top: 6px; padding: 6px 0; }
.pillar__cta .a { transition: transform 220ms; display: inline-flex; }
.pillar:hover .pillar__cta .a { transform: translateX(5px); }

/* ── why-us features ───────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why__cell {
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px; min-height: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: 280ms ease;
}
.why__cell:hover { background: var(--accent-soft); border-color: var(--accent-bright); transform: translateY(-4px); }
.why__no {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.why__t { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.why__c { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: auto; }

/* ── services detailed ─────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.svc {
  grid-column: span 4;
  padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 320px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: 280ms ease;
}
.svc:hover { background: #fff; border-color: var(--accent-bright); transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(6,33,38,0.15); }
.svc:hover .svc__arrow { background: var(--accent); color: #fff; border-color: var(--accent); }
.svc__no { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; letter-spacing: 0.02em; }
.svc__no b { color: var(--accent); font-weight: 500; }
.svc__title { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin-top: 24px; color: var(--ink); }
.svc__c { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }
.svc__foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 24px; }
.svc__cta { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--accent); }
.svc__arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; transition: 200ms ease; color: var(--ink); }

/* ── solutions (готовые IT-решения) ───────────────── */
.sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sol { display: flex; flex-direction: column; cursor: pointer; }
.sol__cover { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.sol__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.sol:hover .sol__cover img { transform: scale(1.05); }
.sol__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 7px 12px; border-radius: var(--pill); letter-spacing: 0.02em; text-transform: uppercase; }
.sol__title { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; margin-top: 18px; transition: color 200ms; }
.sol:hover .sol__title { color: var(--accent); }
.sol__c { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 10px; }

/* ── numbers ───────────────────────────────────────── */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num {
  padding: 32px 26px 28px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: 250ms ease;
}
.num:hover { background: rgba(255,255,255,0.09); border-color: var(--accent-bright); transform: translateY(-3px); }
.num__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.6); }
.num__head b { color: var(--accent-bright); font-weight: 500; }
.num__val { font-weight: 600; font-size: clamp(48px, 5.5vw, 84px); line-height: 0.95; letter-spacing: -0.045em; margin-top: 24px; color: #fff; }
.num__val .u { font-family: var(--mono); font-size: 0.22em; color: var(--accent-glow); font-weight: 500; letter-spacing: 0; margin-left: 6px; vertical-align: super; }
.num__note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ── projects ──────────────────────────────────────── */
.prj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.prj { display: flex; flex-direction: column; cursor: pointer; }
.prj__cover { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.prj__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.prj:hover .prj__cover img { transform: scale(1.04); }
.prj__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 7px 12px; border-radius: var(--pill); letter-spacing: 0.02em; text-transform: uppercase; }
.prj__no { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; padding: 7px 12px; border-radius: var(--pill); }
.prj__meta { display: flex; justify-content: space-between; margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.prj__title { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; margin-top: 10px; transition: color 200ms; }
.prj:hover .prj__title { color: var(--accent); }
.prj--lg, .prj--md, .prj--sm { grid-column: auto; }
.prj__cover { aspect-ratio: 4/3; }

/* ── clients ───────────────────────────────────────── */
.clients { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.client {
  aspect-ratio: 1/1; display: grid; place-items: center; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: 250ms ease; position: relative; overflow: hidden;
}
.client img { max-width: 78%; max-height: 56%; object-fit: contain; filter: grayscale(1) contrast(0.95); opacity: 0.6; transition: 250ms; }
.client:hover { background: var(--accent-soft); border-color: var(--accent-bright); transform: translateY(-3px); }
.client:hover img { filter: none; opacity: 1; }
.client__cap { position: absolute; bottom: 10px; left: 0; right: 0; font-family: var(--mono); font-size: 9px; letter-spacing: 0.02em; color: var(--accent); text-align: center; padding: 0 4px; line-height: 1.2; opacity: 0; transition: opacity 200ms; }
.client:hover .client__cap { opacity: 1; }

/* ── license ───────────────────────────────────────── */
.license {
  color: #fff; padding: clamp(72px, 9vw, 120px) 0;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 10% 30%, rgba(43,217,217,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(24,163,176,0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 100%);
}
.license::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.license__shell { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 80px); align-items: center; }
.license__plate {
  background: #fff; color: var(--ink); padding: 36px;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent-bright);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
}
.license__plate .head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.license__plate .no { font-family: var(--mono); font-size: clamp(28px, 3vw, 40px); margin-top: 20px; font-weight: 500; letter-spacing: -0.01em; }
.license__plate .what { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.license__title { font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.license__title .accent { color: var(--accent-glow); }
.license__copy { margin-top: 22px; color: rgba(255,255,255,0.75); max-width: 50ch; line-height: 1.6; }

/* ── about + director ──────────────────────────────── */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.about__photo .cap { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.about__photo .cap .label { display: block; margin-bottom: 6px; }
.about__photo .cap .n { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.about__title { font-weight: 600; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1.05; }
.about__title .accent { color: var(--accent); }
.about__text { margin-top: 24px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.about__text p + p { margin-top: 16px; }
.about__pull { margin-top: 28px; padding: 24px 26px; border-left: 4px solid var(--accent); background: var(--accent-soft); font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* ── CTA ───────────────────────────────────────────── */
.cta {
  color: #fff;
  padding: clamp(80px, 11vw, 160px) 0;
  text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(43,217,217,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(24,163,176,0.30) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta__orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  width: 500px; height: 500px;
  top: 50%; right: -100px; transform: translateY(-50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0.35;
}
.cta > .shell { position: relative; z-index: 1; }
.cta__small { font-family: var(--mono); font-size: 12px; margin-bottom: 28px; color: var(--accent-glow); letter-spacing: 0.04em; text-transform: uppercase; }
.cta__title { font-weight: 600; font-size: clamp(40px, 7.5vw, 116px); line-height: 0.95; letter-spacing: -0.04em; }
.cta__title em { font-style: normal; color: var(--accent-glow); }
.cta__sub { margin-top: 28px; font-size: 16px; color: rgba(255,255,255,.8); max-width: 50ch; margin-inline: auto; }
.cta__actions { margin-top: 40px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── contacts ──────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--ink); padding-top: 32px; }
.contact .label { display: block; margin-bottom: 10px; }
.contact .v { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.contact a:hover { color: var(--accent); }

/* ── FOOT MAP (Яндекс.Карта) ────────────────────────── */
.foot-map {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 25%, rgba(46,91,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 20% 90%, rgba(30,58,138,0.25) 0%, transparent 60%),
    linear-gradient(180deg, var(--graphite-dark) 0%, var(--navy-dark) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.foot-map::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(147,197,253,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147,197,253,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none; z-index: -1;
}
.foot-map > .shell { position: relative; z-index: 1; }
.foot-map__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.foot-map__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--pill);
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.foot-map__eyebrow .bar { width: 14px; height: 1px; background: var(--accent-bright); }
.foot-map__title {
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,30,40,0.2);
}
.foot-map__title .accent { color: var(--accent-glow); }
.foot-map__lede {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 32px;
}
.foot-map__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
}
.foot-map__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: 200ms;
}
.foot-map__list li:hover { background: rgba(255,255,255,0.08); border-color: var(--accent-bright); }
.foot-map__list li svg {
  width: 22px; height: 22px;
  color: var(--accent-glow);
  flex-shrink: 0;
  margin-top: 2px;
}
.foot-map__list .l {
  display: block;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.foot-map__list .v {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}
.foot-map__list .v a { color: #fff; transition: color 180ms; }
.foot-map__list .v a:hover { color: var(--accent-glow); }
.foot-map__actions { display: flex; }

.foot-map__map {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--graphite);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.foot-map__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.02) saturate(0.9);
}

@media (max-width: 1024px) {
  .foot-map__grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-map__lede { max-width: 56ch; }
  .foot-map__map { min-height: 380px; }
}
@media (max-width: 768px) {
  .foot-map { padding: 48px 0; }
  .foot-map__title { font-size: clamp(26px, 7vw, 36px); }
  .foot-map__lede { font-size: 14px; }
  .foot-map__list li { padding: 14px 16px; }
  .foot-map__list .v { font-size: 13.5px; }
  .foot-map__map { min-height: 320px; }
  .foot-map__actions .hero__btn { width: 100%; justify-content: center; }
}

/* ── PAGE THUMBNAIL (баннерная картинка на странице) ──── */
.page-thumb { padding: clamp(28px, 5vw, 56px) 0 0; }
.page-thumb__figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
  display: flex; justify-content: center; align-items: center;
}
.page-thumb__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(60vh, 560px);
  object-fit: contain;
  background: var(--bg-soft);
}
/* Если картинка горизонтальная (широкая) — растягиваем на всю ширину */
@media (min-width: 720px) {
  .page-thumb__figure img { max-height: 520px; }
}
@media (max-width: 720px) {
  .page-thumb__figure img { max-height: 50vh; }
}

/* ── CONTENT AREA — стили CF7, калькулятора, Gutenberg-блоков на странице ── */
.asbk-content { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Большие медиа из старой темы — поджать */
.asbk-content img, .asbk-content video { max-width: 100%; height: auto; display: block; }
.asbk-content figure { max-width: 100%; }
.asbk-content figure img { width: 100%; height: auto; }

/* Gutenberg: media + text */
.asbk-content .wp-block-media-text {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px;
  align-items: center;
  margin: 32px 0;
}
.asbk-content .wp-block-media-text__media { margin: 0; }
.asbk-content .wp-block-media-text__media img {
  width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.asbk-content .wp-block-media-text__content { padding: 0 !important; }
.asbk-content .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 1fr !important; }
.asbk-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
.asbk-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { order: 1; }
@media (max-width: 720px) {
  .asbk-content .wp-block-media-text,
  .asbk-content .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr !important; gap: 18px; }
  .asbk-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
  .asbk-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { order: unset; }
}

/* Inline CF7 на странице (контент-зона) — светлая версия */
.asbk-content .wpcf7 { max-width: 640px; margin: 32px auto; }
.asbk-content .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  padding: 32px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.asbk-content .wpcf7-form > * { grid-column: 1 / -1; margin: 0; min-width: 0; }
.asbk-content .wpcf7-form > p:nth-of-type(1),
.asbk-content .wpcf7-form > p:nth-of-type(2),
.asbk-content .wpcf7-form > p:nth-of-type(3),
.asbk-content .wpcf7-form > p:nth-of-type(4) { grid-column: auto; }
.asbk-content .wpcf7-form > p { margin: 0; }
.asbk-content .wpcf7 label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.asbk-content .wpcf7 label br { display: none; }
.asbk-content .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.asbk-content .wpcf7 input[type="text"],
.asbk-content .wpcf7 input[type="email"],
.asbk-content .wpcf7 input[type="tel"],
.asbk-content .wpcf7 input[type="url"],
.asbk-content .wpcf7 select,
.asbk-content .wpcf7 textarea {
  display: block; width: 100%;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: 200ms ease;
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box;
  line-height: 1.4;
}
.asbk-content .wpcf7 input:focus,
.asbk-content .wpcf7 select:focus,
.asbk-content .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,58,138,0.12);
}
.asbk-content .wpcf7 select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A8A' stroke-width='1.8' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}
.asbk-content .wpcf7 textarea { min-height: 90px; resize: vertical; height: 100px; }
.asbk-content .wpcf7 .wpcf7-submit,
.asbk-content .wpcf7 input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 24px; margin-top: 2px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: var(--pill);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: 220ms ease;
  -webkit-appearance: none; appearance: none;
}
.asbk-content .wpcf7 .wpcf7-submit:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.asbk-content .wpcf7-response-output {
  grid-column: 1 / -1 !important;
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 7px !important;
  background: #fff !important;
  font-size: 13.5px !important;
  font-family: var(--sans);
}
.asbk-content .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(0,179,116,0.4) !important;
  background: rgba(0,179,116,0.08) !important;
  color: #047857 !important;
}
.asbk-content .wpcf7 form.invalid .wpcf7-response-output {
  border-color: rgba(220,38,38,0.3) !important;
  background: rgba(220,38,38,0.06) !important;
  color: #B91C1C !important;
}
.asbk-content .wpcf7-not-valid-tip {
  color: #B91C1C !important;
  font-size: 12px !important;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 6px;
  font-weight: 400;
}
@media (max-width: 640px) {
  .asbk-content .wpcf7-form { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .asbk-content .wpcf7-form > p:nth-of-type(1),
  .asbk-content .wpcf7-form > p:nth-of-type(2),
  .asbk-content .wpcf7-form > p:nth-of-type(3),
  .asbk-content .wpcf7-form > p:nth-of-type(4) { grid-column: 1 / -1; }
  .asbk-content .wpcf7 input,
  .asbk-content .wpcf7 select,
  .asbk-content .wpcf7 textarea { font-size: 16px; }
}

/* WP Creator Calculator (плагин wp-creator-calculator) */
.asbk-content .wpcc-calc, .asbk-content .wpcc {
  max-width: 720px;
  margin: 32px 0;
  padding: 28px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.asbk-content .wpcc input[type="text"],
.asbk-content .wpcc input[type="number"],
.asbk-content .wpcc select,
.asbk-content .wpcc-calc input,
.asbk-content .wpcc-calc select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans); font-size: 14px;
  background: #fff;
  transition: 180ms;
}
.asbk-content .wpcc input:focus, .asbk-content .wpcc select:focus,
.asbk-content .wpcc-calc input:focus, .asbk-content .wpcc-calc select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.12);
}
.asbk-content .wpcc button, .asbk-content .wpcc input[type="submit"],
.asbk-content .wpcc-calc button, .asbk-content .wpcc-calc input[type="submit"] {
  background: var(--accent); color: #fff;
  padding: 12px 22px;
  border: 0; border-radius: var(--pill);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: 200ms;
}
.asbk-content .wpcc button:hover, .asbk-content .wpcc input[type="submit"]:hover { background: var(--accent-2); transform: translateY(-1px); }

/* Calc CTA (fallback вместо сломанного [wpcc]) */
.asbk-calc-cta {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  max-width: 780px; margin: 32px 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid var(--accent-bright);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(30,58,138,0.15);
}
.asbk-calc-cta__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
}
.asbk-calc-cta__icon svg { width: 28px; height: 28px; }
.asbk-calc-cta__eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: block; margin-bottom: 10px;
}
.asbk-calc-cta__title {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.2; color: var(--ink); margin: 0 0 12px;
}
.asbk-calc-cta__text {
  font-size: 14.5px; line-height: 1.55; color: var(--muted);
  margin: 0 0 20px; max-width: 60ch;
}
@media (max-width: 640px) {
  .asbk-calc-cta { grid-template-columns: 1fr; padding: 24px 22px; gap: 16px; }
  .asbk-calc-cta__title { font-size: 19px; }
  .asbk-calc-cta__text { font-size: 14px; }
}

/* Inline стили из старой темы — подавить */
.asbk-content [style*="background-image"] { background-image: none !important; }
.asbk-content [style*="min-height"] { min-height: 0 !important; }
.asbk-content section, .asbk-content .content-section {
  padding: 0 !important; margin: 24px 0;
  background: none !important; color: inherit !important;
}

/* ── footer ────────────────────────────────────────── */
.foot {
  color: #fff; padding: 80px 0 30px;
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(24,163,176,0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--graphite-dark) 0%, #050810 100%);
  position: relative; overflow: hidden;
}
.foot::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.foot > .shell { position: relative; z-index: 1; }
.foot__grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand .logo { margin-bottom: 20px; color: #fff; }
.foot__brand .logo__sub { color: rgba(255,255,255,0.55); }
.foot__about { color: rgba(255,255,255,0.55); max-width: 38ch; font-size: 14px; line-height: 1.55; }
.foot__col h4 { font-family: var(--mono); font-size: 11px; color: var(--accent-bright); margin-bottom: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.foot__col li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
.foot__col a { transition: color 180ms; }
.foot__col a:hover { color: var(--accent-glow); }
.foot__bot { display: flex; justify-content: space-between; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.4); gap: 16px; flex-wrap: wrap; }

/* ── responsive ───────────────────────────────────── */

/* Большой десктоп → компактный десктоп */
@media (max-width: 1280px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars > :last-child { grid-column: 1 / -1; }
  .pillars > :last-child .pillar__cover { aspect-ratio: 21/9; }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .sols { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot__grid > :nth-child(5) { display: none; }
}

/* Планшет (≤1024) */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__row { height: 64px; }
  .nav__cta { gap: 8px; }
  .nav__phone { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__burger { display: block; }
  .nav__drawer { display: flex; }
  .hero { min-height: 0; padding: clamp(110px, 18vw, 160px) 0 clamp(48px, 8vw, 72px); }
  .hero__shell { grid-template-columns: 1fr; gap: 40px; }
  .hero__side { align-items: stretch; }
  .hero__stats { max-width: 100%; grid-template-columns: 1fr 1fr; }
  .hero__orb--1 { width: 380px; height: 380px; }
  .hero__orb--2 { width: 280px; height: 280px; }
  .sec__head, .license__shell, .about { grid-template-columns: 1fr; gap: 32px; }
  .svc { grid-column: span 6; min-height: 280px; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .prj-grid { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* Планшет вертикально / большой смартфон (≤880) */
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .pillars > :last-child { grid-column: auto; }
  .pillars > :last-child .pillar__cover { aspect-ratio: 16/10; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__brand { grid-column: 1 / -1; }
}

/* Смартфон (≤768) */
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }

  /* Топ-бар */
  .topbar { font-size: 11px; }
  .topbar__row { grid-template-columns: 1fr; height: auto; padding: 6px 0; gap: 2px; text-align: left; }
  .topbar__row > * { text-align: left !important; justify-self: start !important; }
  .topbar__row > :nth-child(2) { display: none; }

  /* Шапка */
  .nav { top: 44px; }
  .nav__row { height: 56px; gap: 12px; }
  .logo { font-size: 18px; gap: 10px; }
  .logo__img { width: 36px; height: 36px; }
  .foot__brand .logo__img { width: 44px; height: 44px; }
  .logo__sub { display: none; }
  .nav__burger { width: 40px; height: 40px; }
  .nav__burger span { left: 11px; right: 11px; }
  .nav__burger span:nth-child(1) { top: 14px; }
  .nav__burger span:nth-child(2) { top: 19px; }
  .nav__burger span:nth-child(3) { top: 24px; }
  .nav__burger.is-open span:nth-child(1) { top: 19px; }
  .nav__burger.is-open span:nth-child(3) { top: 19px; }
  .nav__drawer { padding: 76px 22px 24px; max-width: 100%; }
  .nav__drawer-menu a { font-size: 16px; padding: 14px 18px; }

  /* Hero */
  .hero { padding: clamp(96px, 22vw, 140px) 0 56px; }
  .hero__brand { font-size: 11px; letter-spacing: 0.12em; margin-bottom: 24px; flex-wrap: wrap; line-height: 1.4; }
  .hero__brand .bar { width: 20px; }
  .hero__title { font-size: 38px; line-height: 1.02; margin-bottom: 16px; }
  .hero__subtitle { font-size: 17px; margin-bottom: 18px; line-height: 1.3; }
  .hero__lede { font-size: 14px; line-height: 1.6; margin-bottom: 26px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .hero__btn { width: 100%; justify-content: center; height: 52px; padding: 0 22px; font-size: 14px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat { padding: 16px 4px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__stat .l { font-size: 10px; }
  .hero__stat .v { font-size: 28px; }
  .hero__scroll { display: none; }
  .hero__orb--1 { width: 280px; height: 280px; top: -60px; right: -80px; }
  .hero__orb--2 { width: 220px; height: 220px; }
  .hero__orb--3 { display: none; }

  /* Заголовки секций */
  .sec { padding: 56px 0; }
  .sec__title { font-size: 30px; line-height: 1.05; }
  .sec__sub { font-size: 14px; margin-top: 16px; }
  .sec__head { margin-bottom: 32px; gap: 18px; }
  .sec__index { font-size: 12px; }

  /* 3 Pillars */
  .pillar { min-height: 0; }
  .pillar__body { padding: 24px 20px 24px; }
  .pillar__icon { width: 52px; height: 52px; top: -26px; right: 16px; }
  .pillar__icon svg { width: 24px; height: 24px; }
  .pillar__title { font-size: 22px; }
  .pillar__copy { font-size: 14px; }
  .pillar__cta { font-size: 13px; }

  /* Why-us */
  .why { grid-template-columns: 1fr; gap: 12px; }
  .why__cell { padding: 22px 20px; min-height: 0; }
  .why__t { font-size: 18px; }
  .why__c { font-size: 13.5px; }
  .icon-box { width: 40px; height: 40px; }
  .icon-box svg { width: 20px; height: 20px; }

  /* Услуги */
  .svc { grid-column: span 12; padding: 22px 20px; min-height: 0; }
  .svc__title { font-size: 20px; margin-top: 18px; }
  .svc__c { font-size: 13.5px; }
  .svc__no { font-size: 11px; }

  /* IT-решения */
  .sols { grid-template-columns: 1fr; gap: 28px; }
  .sol__title { font-size: 19px; margin-top: 14px; }
  .sol__c { font-size: 14px; }

  /* Цифры */
  .nums { grid-template-columns: 1fr 1fr; gap: 10px; }
  .num { padding: 22px 18px; }
  .num__val { font-size: 42px; margin-top: 18px; }
  .num__head { font-size: 11px; }
  .num__note { font-size: 12.5px; margin-top: 12px; }

  /* Проекты */
  .prj-grid { grid-template-columns: 1fr; gap: 28px; }
  .prj__title { font-size: 19px; }
  .prj__meta { font-size: 11px; margin-top: 14px; }

  /* Клиенты */
  .clients { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .client { padding: 14px; }
  .client__cap { opacity: 1; font-size: 8px; bottom: 6px; }

  /* Лицензия */
  .license { padding: 56px 0; }
  .license__shell { gap: 28px; }
  .license__plate { padding: 24px; }
  .license__plate .no { font-size: 26px; }
  .license__plate .head { font-size: 11px; flex-wrap: wrap; gap: 8px; }
  .license__plate .what { font-size: 13px; }
  .license__title { font-size: 24px; }
  .license__copy { font-size: 14px; margin-top: 16px; }

  /* О компании */
  .about__photo img { aspect-ratio: 3/4; }
  .about__photo .cap { left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; }
  .about__photo .cap .n { font-size: 14px; }
  .about__text { font-size: 14.5px; }
  .about__pull { padding: 18px 20px; font-size: 15px; margin-top: 22px; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta__title { font-size: 36px; line-height: 1.02; }
  .cta__sub { font-size: 14px; margin-top: 22px; }
  .cta__small { font-size: 11px; margin-bottom: 22px; }
  .cta__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; margin-top: 28px; }
  .cta__actions .btn { width: 100%; justify-content: center; }

  /* Контакты */
  .contacts { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }
  .contact .v { font-size: 15px; }

  /* Подвал */
  .foot { padding: 56px 0 24px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col h4 { font-size: 10px; }
  .foot__col li { font-size: 13px; }
  .foot__bot { flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 48px; font-size: 11px; }

  /* Кнопки и формы */
  .btn { height: 46px; padding: 0 22px; font-size: 13.5px; }
  .btn--lg { height: 52px; padding: 0 26px; font-size: 14px; }

  /* Blueprint-сетка компактнее */
  .sec--blueprint::before { background-size: 40px 40px; }
}

/* Маленький смартфон (≤480) */
@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 16px; }
  .hero__lede { font-size: 13.5px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 14px 4px; }
  .hero__stat .v { font-size: 26px; }
  .hero__stat .l { font-size: 11px; }

  .sec__title { font-size: 26px; }
  .sec__sub { font-size: 13.5px; }

  .cta__title { font-size: 30px; }

  .clients { grid-template-columns: 1fr 1fr; gap: 6px; }
  .nums { grid-template-columns: 1fr; }
  .num__val { font-size: 48px; }
  .license__title { font-size: 22px; }
  .license__plate .no { font-size: 22px; }

  .foot__grid { grid-template-columns: 1fr; gap: 24px; }
  .foot__brand { grid-column: auto; }

  .pillar__title { font-size: 20px; }
  .pillar__copy { font-size: 13.5px; }
}

/* Очень маленький экран (≤380) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }

  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 15px; }

  .sec { padding: 48px 0; }
  .sec__title { font-size: 23px; }
  .cta__title { font-size: 26px; }

  .pillar__title { font-size: 19px; }
  .why__t { font-size: 16px; }
  .svc__title { font-size: 18px; }
  .sol__title { font-size: 17px; }

  .nav__row { gap: 8px; }
  .logo { font-size: 16px; gap: 8px; }
  .logo__img { width: 32px; height: 32px; }
  .nav__burger { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
  .reveal.is-in { opacity: 1; transform: none; }
}


/* === submenu support (auto-added) === */
.nav__menu-item.has-sub { position: relative; display: inline-block; }
.nav__menu-item.has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__menu-item.has-sub > a .caret { font-size: 10px; opacity: 0.7; transition: transform 180ms; }
.nav__menu-item.has-sub:hover > a .caret { transform: rotate(180deg); }
.nav__submenu {
  position: absolute; top: 100%; left: 0;
  display: none; flex-direction: column;
  min-width: 240px; padding: 8px;
  background: rgba(14,17,22,0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  z-index: 60;
}
.nav__menu-item.has-sub:hover > .nav__submenu,
.nav__menu-item.has-sub:focus-within > .nav__submenu { display: flex; }
.nav__submenu a {
  padding: 10px 14px !important;
  white-space: nowrap;
  color: #fff !important;
  border-radius: 6px;
  font-size: 14px;
}
.nav__submenu a:hover { background: rgba(255,255,255,0.08); color: var(--accent-glow) !important; }
.nav--scrolled .nav__submenu { background: rgba(255,255,255,0.98); border-color: rgba(0,0,0,0.06); box-shadow: 0 24px 48px rgba(0,0,0,0.12); }
.nav--scrolled .nav__submenu a { color: var(--ink) !important; }
.nav--scrolled .nav__submenu a:hover { background: var(--accent-soft); color: var(--accent) !important; }

/* drawer submenu */
.nav__drawer-menu .sub-menu {
  list-style: none; padding: 4px 0 4px 16px; margin: 4px 0 0;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.nav__drawer-menu .sub-menu a { font-size: 15px; padding: 12px 16px; opacity: 0.88; }
.nav__drawer-menu .sub-menu a::after { content: none; }


/* === topbar contacts (auto-added) === */
.topbar__row--contacts { justify-content: flex-end; gap: 24px; }
.topbar__contact { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; transition: color 150ms; }
.topbar__contact:hover { color: var(--accent-glow); }
.topbar__ico { flex: 0 0 16px; opacity: 0.85; }
@media (max-width: 640px) {
  .topbar__row--contacts { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .topbar__contact span { font-size: 12px; }
}


/* === asbk-cf7 minimal form === */
.asbk-cf7 { display: flex; flex-direction: column; gap: 18px; }
.asbk-cf7__lede { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.5; margin: 0 0 4px; }
.asbk-cf7__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.asbk-cf7__label { font-size: 13px; font-weight: 500; color: #fff; letter-spacing: 0.01em; }
.asbk-cf7__label em { color: var(--accent-bright); font-style: normal; margin-left: 2px; }
.asbk-cf7 .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-list-item-label) {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms, box-shadow 160ms;
  outline: none;
}
.asbk-cf7 .wpcf7-form-control:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(46,91,255,0.15);
}
.asbk-cf7 textarea.wpcf7-form-control { min-height: 110px; resize: vertical; }
.asbk-cf7 select.wpcf7-form-control {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.asbk-cf7__submit { margin-top: 6px; }
.asbk-cf7 .wpcf7-submit {
  width: 100%;
  padding: 14px 18px;
  font: inherit; font-size: 15px; font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms, transform 80ms;
}
.asbk-cf7 .wpcf7-submit:hover { background: var(--accent); }
.asbk-cf7 .wpcf7-submit:active { transform: scale(0.99); }
.asbk-cf7__policy { font-size: 12px; color: rgba(255,255,255,0.6); text-align: center; margin: 4px 0 0; line-height: 1.5; }
.asbk-cf7__policy a { color: var(--accent-glow); text-decoration: underline; }
.asbk-cf7 .wpcf7-not-valid-tip { font-size: 12px; color: #dc2626; margin-top: 4px; }
.asbk-cf7 .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 14px !important; font-size: 13px !important; border-radius: 8px !important; }


/* === no-topbar nav offset === */
body.no-topbar .nav { top: 0; }


/* === hide all blueprint grids === */
.sec--blueprint::before,
.contact-section::before,
.foot-map::before { display: none !important; }


/* === contacts page (moved from template) === */
.contacts-page { padding: clamp(56px, 8vw, 96px) 0; }
.contacts-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contacts-page__card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 280ms ease;
}
.contacts-page__card:hover {
  border-color: var(--accent-bright);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(14,17,22,0.15);
}
.contacts-page__card--lg { grid-column: span 2; }
.contacts-page__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.contacts-page__icon svg { width: 22px; height: 22px; }
.contacts-page__label {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.contacts-page__value {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 20px;
  flex: 1;
}
.contacts-page__value a {
  color: var(--ink);
  transition: color 180ms;
}
.contacts-page__value a:hover { color: var(--accent); }
.contacts-page__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  color: var(--accent);
  background: none; border: 0; padding: 0;
  cursor: pointer;
  margin-top: auto;
  transition: gap 200ms;
}
.contacts-page__link:hover { gap: 12px; }
.contacts-page__status {
  font-family: var(--mono); font-size: 13px;
  color: var(--accent); font-weight: 500;
}

/* Big map block */
.contacts-map {
  padding: 0;
  background: var(--graphite-dark);
}
.contacts-map__shell {
  position: relative;
  min-height: 560px;
  display: grid;
}
.contacts-map__frame {
  position: absolute; inset: 0;
}
.contacts-map__frame iframe {
  width: 100%; height: 100%; border: 0;
  filter: contrast(1.02);
}
.contacts-map__overlay {
  position: absolute;
  top: 50%;
  left: clamp(20px, 5vw, 64px);
  transform: translateY(-50%);
  z-index: 2;
  max-width: 380px;
  padding: 36px 32px;
  background: rgba(10, 19, 38, 0.85);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.contacts-map__overlay-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--pill);
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.contacts-map__overlay-eyebrow .bar { width: 12px; height: 1px; background: var(--accent-bright); }
.contacts-map__overlay-title {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.contacts-map__overlay-text {
  color: rgba(255,255,255,0.75);
  font-size: 15px; line-height: 1.6;
  margin-bottom: 24px;
}

/* How to get */
.how-to-get {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-to-get__col {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 240ms ease;
}
.how-to-get__col:hover {
  border-color: var(--accent-bright);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(14,17,22,0.12);
}
.how-to-get__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.how-to-get__icon svg { width: 24px; height: 24px; }
.how-to-get__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.how-to-get__text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .contacts-page__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contacts-page__card--lg { grid-column: 1 / -1; }
  .how-to-get { grid-template-columns: 1fr; gap: 14px; }
  .contacts-map__shell { min-height: 480px; }
  .contacts-map__overlay { max-width: 340px; padding: 28px 24px; }
  .contacts-map__overlay-title { font-size: 28px; }
}
@media (max-width: 720px) {
  .contacts-page__grid { grid-template-columns: 1fr; }
  .contacts-page__card { padding: 22px 20px; }
  .contacts-page__value { font-size: 16px; }
  .contacts-map__shell { min-height: 0; display: flex; flex-direction: column; }
  .contacts-map__frame { position: relative; height: 320px; order: 2; }
  .contacts-map__overlay {
    position: static; transform: none; max-width: 100%;
    border-radius: 0; padding: 28px var(--gutter);
    order: 1;
  }
  .how-to-get__col { padding: 22px 20px; }
  .how-to-get__title { font-size: 18px; }
}


/* === admin-bar offset for fixed nav === */
body.admin-bar .nav { top: 32px; }
body.admin-bar.no-topbar .nav { top: 32px; }
body.admin-bar .topbar { top: 32px; }
body.admin-bar .nav__drawer { padding-top: 120px; }
@media screen and (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
  body.admin-bar.no-topbar .nav { top: 46px; }
  body.admin-bar .topbar { top: 46px; }
}


/* === floating contact button === */
.asbk-fab { position: fixed; bottom: 60px; right: 24px; z-index: 100; display: flex; flex-direction: row; align-items: flex-end; gap: 12px; }
.asbk-fab__main {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%; border: 0;
  background: var(--accent-bright);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(46,91,255,0.55), 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 200ms cubic-bezier(.4,0,.2,1), background 180ms;
}
.asbk-fab__main:hover { background: var(--accent); transform: scale(1.05); }
.asbk-fab__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent-bright);
  opacity: 0.55;
  animation: asbkFabPulse 1.8s infinite ease-out;
  pointer-events: none;
}
@keyframes asbkFabPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.8); opacity: 0;    }
}
.asbk-fab.is-open .asbk-fab__pulse { animation-play-state: paused; opacity: 0; }
.asbk-fab__icon { width: 26px; height: 26px; position: absolute; transition: opacity 180ms, transform 180ms; }
.asbk-fab__icon--close { display: none; }


.asbk-fab__menu {
  display: flex; flex-direction: row; gap: 10px;
  align-items: center;
}
@media (max-width: 560px) {
  .asbk-fab__menu { gap: 8px; }
}
.asbk-fab__item {
  width: 48px; height: 48px;
  border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px -4px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 180ms, filter 180ms;
}
.asbk-fab__item:hover { transform: scale(1.1); filter: brightness(1.1); }
.asbk-fab__item svg { width: 22px; height: 22px; }
.asbk-fab__item--phone { background: #16a34a; }
.asbk-fab__item--wa    { background: #25D366; }
.asbk-fab__item--tg    { background: #2AABEE; }
.asbk-fab__item--vk    { background: #0077FF; }
.asbk-fab__item--mail  { background: #6B7280; }
.asbk-fab__item--form  { background: var(--ink); }
@media (max-width: 560px) {
  .asbk-fab { bottom: 50px; right: 16px; }
  .asbk-fab__main { width: 54px; height: 54px; }
  .asbk-fab__item { width: 44px; height: 44px; }
}

/* === FAB side icon size === */
.asbk-fab__menu .asbk-fab__item { width: 38px; height: 38px; }
.asbk-fab__menu .asbk-fab__item svg { width: 18px; height: 18px; }


/* === asbk image lightbox === */
.asbk-lb {
  position: fixed; inset: 0;
  background: rgba(8, 10, 14, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 220ms ease;
}
.asbk-lb.is-open { display: flex; opacity: 1; }
.asbk-lb__stage { margin: 0; max-width: 95vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.asbk-lb__stage img { max-width: 95vw; max-height: 84vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.asbk-lb__cap { color: rgba(255,255,255,0.75); font-size: 14px; max-width: 720px; text-align: center; line-height: 1.5; }
.asbk-lb__close, .asbk-lb__nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 180ms, transform 180ms;
}
.asbk-lb__close:hover, .asbk-lb__nav:hover { background: rgba(255,255,255,0.18); }
.asbk-lb__close { top: 20px; right: 20px; }
.asbk-lb__nav { top: 50%; transform: translateY(-50%); }
.asbk-lb__nav--prev { left: 20px; }
.asbk-lb__nav--next { right: 20px; }
.asbk-lb__close svg, .asbk-lb__nav svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .asbk-lb__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .asbk-lb__nav { width: 40px; height: 40px; }
  .asbk-lb__nav--prev { left: 8px; }
  .asbk-lb__nav--next { right: 8px; }
}
.asbk-content img, .entry-content img { cursor: zoom-in; }


/* === hero primary btn — swap default/hover === */
.hero__btn:not(.hero__btn--ghost) {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.hero__btn:not(.hero__btn--ghost):hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}


/* === asbk/services featured layout === */
.sec--svc-featured {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  padding: clamp(48px, 6vw, 72px) 0;
  background:
    radial-gradient(ellipse 80% 60% at 78% 30%, rgba(46,91,255,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 25% 80%, rgba(30,58,138,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 95% 95%, rgba(10,19,38,0.9) 0%, transparent 60%),
    linear-gradient(135deg, var(--graphite-dark) 0%, var(--navy) 50%, var(--graphite-dark) 100%);
}
.sec--svc-featured::before, .sec--svc-featured::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.6; z-index: 0; pointer-events: none;
}
.sec--svc-featured::before {
  width: 420px; height: 420px; top: -120px; right: -80px;
  background: radial-gradient(circle at 30% 30%, #3B82F6, #1E3A8A 70%);
}
.sec--svc-featured::after {
  width: 320px; height: 320px; bottom: -80px; left: 10%;
  background: radial-gradient(circle at 60% 40%, #2E5BFF, #0A1326 70%);
}
.sec--svc-featured .shell { position: relative; z-index: 1; }
.sec--svc-featured .sec__title, .sec--svc-featured .sec__index b { color: #fff; }
.sec--svc-featured .sec__sub, .sec--svc-featured .sec__index span { color: rgba(255,255,255,0.65); }
.svc-grid--featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: stretch;
}
.svc-grid--featured .svc {
  grid-column: auto;
  min-height: 0;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: #fff;
  padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: 280ms ease;
}
.svc-grid--featured .svc:hover { background: rgba(255,255,255,0.07); border-color: var(--accent-bright); transform: translateY(-4px); }
.svc-grid--featured .svc__tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pill); color: rgba(255,255,255,0.85);
  margin: 14px 0 12px;
}
.svc-grid--featured .svc__t { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 10px; }
.svc-grid--featured .svc__c { color: rgba(255,255,255,0.6); font-size: 13.5px; line-height: 1.55; flex: 1; }
.svc-grid--featured .svc__foot { margin-top: 18px; display: flex; align-items: center; }
.svc-grid--featured .svc__arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; display: grid; place-items: center; font-size: 16px;
}
.svc-grid--featured .svc:hover .svc__arrow { background: var(--accent-bright); border-color: var(--accent-bright); }
.svc-grid--featured .icon-box {
  width: 44px; height: 44px;
  background: rgba(46,91,255,0.15);
  border: 1px solid rgba(147,197,253,0.2);
  color: var(--accent-glow);
}
.svc-grid--featured .icon-box svg { width: 22px; height: 22px; }
.svc-grid--featured .svc--lg {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 32px 28px;
  background: linear-gradient(160deg, rgba(46,91,255,0.18) 0%, rgba(255,255,255,0.04) 60%);
  border: 1px solid rgba(147,197,253,0.18);
}
.svc-grid--featured .svc--lg .icon-box {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.05);
  border-color: rgba(147,197,253,0.3);
  color: var(--accent-glow);
}
.svc-grid--featured .svc--lg .icon-box svg { width: 32px; height: 32px; }
.svc-grid--featured .svc--lg .svc__t { font-size: 22px; margin-top: 6px; line-height: 1.2; }
.svc-grid--featured .svc--lg .svc__c { font-size: 15px; color: rgba(255,255,255,0.72); }
.svc-grid--featured .svc--lg .svc__tag {
  background: rgba(46,91,255,0.2); border-color: rgba(147,197,253,0.3); color: var(--accent-glow);
}
.svc-grid--featured .svc__more {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 500; font-size: 14px;
  padding: 12px 22px; border-radius: var(--pill);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  transition: 200ms; text-decoration: none;
}
.svc-grid--featured .svc__more:hover { background: var(--accent-bright); border-color: var(--accent-bright); transform: translateX(4px); }
@media (max-width: 1024px) {
  .svc-grid--featured { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .svc-grid--featured .svc--lg { grid-column: 1 / -1; grid-row: auto; padding: 28px 24px; }
  .svc-grid--featured .svc--lg .icon-box { width: 64px; height: 64px; }
  .svc-grid--featured .svc--lg .icon-box svg { width: 32px; height: 32px; }
  .svc-grid--featured .svc--lg .svc__t { font-size: 22px; }
}
@media (max-width: 560px) {
  .svc-grid--featured { grid-template-columns: 1fr; }
}

.sec--svc-featured .shell, .sec--svc-featured .sec__head, .sec--svc-featured .svc-grid--featured { position: relative; z-index: 1; }


/* === asbk/services featured LIGHT === */
.sec--svc-featured-light {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--bg-tint);
  color: var(--ink);
}
.sec--svc-featured-light::before, .sec--svc-featured-light::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.35; z-index: 0; pointer-events: none;
}
.sec--svc-featured-light::before {
  width: 420px; height: 420px; top: -120px; right: -80px;
  background: radial-gradient(circle at 30% 30%, var(--accent-glow), var(--accent-bright) 70%);
}
.sec--svc-featured-light::after {
  width: 320px; height: 320px; bottom: -80px; left: 10%;
  background: radial-gradient(circle at 60% 40%, var(--accent-soft), var(--accent) 90%);
}
.sec--svc-featured-light .shell { position: relative; z-index: 1; }
.sec--svc-featured-light .sec__title, .sec--svc-featured-light .sec__index b { color: var(--ink); }
.sec--svc-featured-light .sec__sub, .sec--svc-featured-light .sec__index span { color: var(--muted); }

.sec--svc-featured-light .svc-grid--featured .svc {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 4px 18px -8px rgba(14,17,22,0.08);
}
.sec--svc-featured-light .svc-grid--featured .svc:hover {
  background: #fff;
  border-color: var(--accent-bright);
  box-shadow: 0 20px 40px -16px rgba(46,91,255,0.25);
}
.sec--svc-featured-light .svc-grid--featured .svc__tag {
  background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent);
}
.sec--svc-featured-light .svc-grid--featured .svc__t { color: var(--ink); }
.sec--svc-featured-light .svc-grid--featured .svc__c { color: var(--muted); }
.sec--svc-featured-light .svc-grid--featured .svc__arrow {
  background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent);
}
.sec--svc-featured-light .svc-grid--featured .svc:hover .svc__arrow {
  background: var(--accent-bright); border-color: var(--accent-bright); color: #fff;
}
.sec--svc-featured-light .svc-grid--featured .icon-box {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}
.sec--svc-featured-light .svc-grid--featured .svc--lg {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.sec--svc-featured-light .svc-grid--featured .svc--lg .icon-box {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}
.sec--svc-featured-light .svc-grid--featured .svc--lg .svc__tag {
  background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent);
}
.sec--svc-featured-light .svc-grid--featured .svc--lg .svc__t { color: var(--ink); }
.sec--svc-featured-light .svc-grid--featured .svc--lg .svc__c { color: var(--muted); }
.sec--svc-featured-light .svc-grid--featured .svc--lg .svc__more {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.sec--svc-featured-light .svc-grid--featured .svc--lg .svc__more:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}


/* === sol "Подробнее" link === */
.sol__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-weight: 500; font-size: 14px;
  color: var(--accent);
  transition: gap 200ms, color 200ms;
}
.sol__more .arrow { transition: transform 200ms; }
.sol:hover .sol__more { gap: 12px; color: var(--accent-bright); }
.sol:hover .sol__more .arrow { transform: translateX(4px); }


/* === prj "Подробнее" link === */
.prj__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-weight: 500; font-size: 14px;
  color: var(--accent);
  transition: gap 200ms, color 200ms;
}
.prj__more .arrow { transition: transform 200ms; }
.prj:hover .prj__more { gap: 12px; color: var(--accent-bright); }
.prj:hover .prj__more .arrow { transform: translateX(4px); }


/* === sols compact (no covers) === */
.sols--compact { grid-template-columns: 1fr; gap: 16px; }
.sols--compact .sol {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.sols--compact .sol:hover {
  border-color: var(--accent-bright);
  box-shadow: 0 18px 36px -20px rgba(46,91,255,0.3);
  transform: translateY(-2px);
}
.sols--compact .sol > a {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  color: inherit;
  flex-direction: row !important;
  min-height: 180px;
}
.sols--compact .sol__cover {
  position: relative;
  aspect-ratio: auto;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.sols--compact .sol__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}
.sols--compact .sol:hover .sol__cover img { transform: scale(1.05); }
.sols--compact .sol__cover::after { display: none; }
.sols--compact .sol__tag { display: none !important; }
.sols--compact .sol__body, .sols--compact .sol > a > :not(.sol__cover) {
  padding: 22px 26px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.sols--compact .sol__title {
  font-size: 19px; font-weight: 600;
  line-height: 1.3; letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  transition: color 200ms;
}
.sols--compact .sol:hover .sol__title { color: var(--accent); }
.sols--compact .sol__c {
  font-size: 14px; line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.sols--compact .sol__more {
  margin: 4px 0 0;
  font-size: 14px; font-weight: 500;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
}
.sols--compact .sol__more .arrow { transition: transform 200ms; }
.sols--compact .sol:hover .sol__more { gap: 12px; }
.sols--compact .sol:hover .sol__more .arrow { transform: translateX(4px); }

@media (max-width: 720px) {
  .sols--compact .sol > a { grid-template-columns: 1fr !important; min-height: 0; }
  .sols--compact .sol__cover { aspect-ratio: 16/9; height: auto; }
  .sols--compact .sol > a > :not(.sol__cover) { padding: 18px 20px; }
  .sols--compact .sol__title { font-size: 17px; }
}

.sols--compact .sol__c { display: none; }


/* compact list: cover spans full height, title + more stacked at top of right column */
.sols--compact .sol > a {
  grid-template-rows: auto auto 1fr !important;
  align-content: start;
}
.sols--compact .sol__cover {
  grid-column: 1 !important;
  grid-row: 1 / -1 !important;
}
.sols--compact .sol__title,
.sols--compact .sol__c,
.sols--compact .sol__more {
  grid-column: 2 !important;
  padding-left: 24px; padding-right: 24px;
  align-self: start;
}
.sols--compact .sol__title { padding-top: 24px; margin-bottom: 8px; }
.sols--compact .sol__more { padding-top: 0; margin-top: 0; }
.sols--compact .sol__c { display: none !important; }
@media (max-width: 720px) {
  .sols--compact .sol__cover { grid-column: 1 !important; grid-row: 1 !important; }
  .sols--compact .sol__title, .sols--compact .sol__c, .sols--compact .sol__more {
    grid-column: 1 !important;
  }
}


/* compact list: kill inherited flex-column from .sols--compact .sol > a > :not(.sol__cover) */
.sols--compact .sol__title { display: block !important; padding: 0 !important; padding-top: 22px !important; margin: 0 0 6px !important; }
.sols--compact .sol__more { display: inline-flex !important; padding: 0 !important; margin: 0 !important; align-items: center; gap: 6px; }


/* === clients marquee slider === */
.clients-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.clients-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: clientsMarquee 50s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients-track .client {
  flex: 0 0 auto;
  width: 180px; height: 110px;
  aspect-ratio: auto;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.clients-track .client img {
  filter: none !important;
  opacity: 1 !important;
  max-width: 80%; max-height: 60%;
}
.clients-track .client__cap { display: none; }
@media (max-width: 720px) {
  .clients-track .client { width: 140px; height: 90px; padding: 12px 16px; }
  .clients-track { animation-duration: 40s; gap: 12px; }
}


/* === contact-section map block === */
.contact-section__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 380px;
  height: 100%;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.contact-section__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: contrast(1.02);
}
@media (max-width: 720px) {
  .contact-section__map { min-height: 280px; }
  .contact-section__map iframe { min-height: 280px; }
}

.contact-card--link { text-decoration: none; color: inherit; cursor: pointer; transition: 220ms; }
.contact-card--link:hover { border-color: var(--accent-bright); transform: translateY(-2px); }

.asbk-fab__menu .asbk-fab__item--max { background: transparent; padding: 0; width: 38px; height: 38px; box-shadow: none; border-radius: 9px; overflow: hidden; }
.asbk-fab__item--max svg { width: 100%; height: 100%; display: block; }
.asbk-fab__item--mail { background: #6B7280; }

.asbk-fab__item--max img { width: 100%; height: 100%; display: block; object-fit: contain; }
