/* =========================================================================
   NEXORA Web Studio — стили
   1. Переменные и база          5. Секции и компоненты
   2. Типографика и утилиты       6. Страницы
   3. Кнопки, бейджи              7. Декор (орбы)
   4. Шапка и мега-меню           8. Адаптив
   ========================================================================= */

/* ---------- 1. Переменные ---------- */
:root {
    --bg:          #070512;
    --bg-soft:     #0b0918;
    --panel:       #100d21;
    --panel-2:     #15122a;
    --card:        rgba(255, 255, 255, .035);
    --card-border: rgba(255, 255, 255, .09);
    --card-hover:  rgba(255, 255, 255, .06);

    --text:   #e8e9f6;
    --heading:#ffffff;
    --muted:  #989cbe;
    --dim:    #6d7194;

    --accent:   #4d8bff;
    --accent-2: #b06bff;
    --pink:     #d024ff;
    --blue:     #2f8dff;

    --grad:      linear-gradient(120deg, #d024ff 0%, #6d4bff 48%, #2f8dff 100%);
    --grad-btn:  linear-gradient(120deg, #c81df7 0%, #6a48ff 52%, #2f8dff 100%);
    --grad-text: linear-gradient(90deg, #6aa8ff, #4d8bff);

    --ok:   #35d07f;
    --star: #ffc531;

    --radius:    18px;
    --radius-lg: 24px;
    --radius-sm: 12px;
    --border:    1px solid var(--card-border);

    --shadow:    0 24px 60px -24px rgba(0, 0, 0, .7);
    --glow:      0 0 40px -6px rgba(140, 82, 255, .5);

    --maxw: 1400px;
    --gap:  24px;

    --ff:      'Inter', system-ui, -apple-system, sans-serif;
    --ff-head: 'Manrope', 'Inter', sans-serif;
}

/* ---------- Ресет ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--ff);
    background: url(/assets/img/img/studio-back-1.png);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Затемнение фона */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 25, 0.45); /* чем больше число, тем темнее */
    pointer-events: none;
    z-index: 0;
}

/* Цветные свечения */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(60% 40% at 80% 0%, rgb(109 75 255 / 22%),
        transparent 60%), radial-gradient(50% 40% at 10% 15%, 
        rgba(47, 141, 255, .14), transparent 60%), 
        radial-gradient(60% 50% at 50% 100%, rgba(208, 36, 255, .10), #0000007a 70%);
    pointer-events: none;
    z-index: 1;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { flex-shrink: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--panel); padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Типографика и утилиты ---------- */
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--heading); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 0px; position: relative; z-index: 1; }

main { position: relative; z-index: 1; display: block; }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }

.section-head { margin-bottom: 40px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent-2); margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 620px; font-size: 17px; }

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

.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

/* ---------- 3. Кнопки и бейджи ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 600; font-size: 15px; white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-grad { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(120, 70, 255, .8); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(120, 70, 255, .9); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--text); border: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(176, 107, 255, .16); color: #d7b8ff;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--muted); font-size: 14px; font-weight: 500;
}
.chip svg { width: 18px; height: 18px; color: var(--accent-2); }

.tech-dots { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.tech-dots span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.tech-dots span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

/* ---------- 4. Шапка ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7, 5, 18, .72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .3s ease;
}
.site-header.scrolled { background: rgba(7, 5, 18, .92); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--grad); color: #fff;
    font-family: var(--ff-head); font-weight: 800; font-size: 22px;
    box-shadow: 0 8px 20px -6px rgba(120, 70, 255, .8);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--ff-head); font-weight: 800; font-size: 19px; letter-spacing: .04em; color: #fff; }
.logo-sub { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 10px 14px; border-radius: 10px;
    font-size: 15px; font-weight: 500; color: var(--muted);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link.is-active { position: relative; }
.nav-link.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    border-radius: 2px; background: var(--grad);
}
.nav-caret { width: 15px; height: 15px; opacity: .6; transition: transform .25s ease; }
.has-mega:hover .nav-caret { transform: rotate(180deg); }

.header-cta { margin-left: 8px; }

/* ---------- Мега-меню ---------- */
.mega {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
    background: rgba(16, 13, 33, .98);
    border: var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 22px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 120;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-services { width: min(860px, 92vw); display: grid; grid-template-columns: 1fr 250px; gap: 22px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-card { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s ease; }
.mega-card:hover { background: var(--card-hover); }
.mega-ico {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
    display: grid; place-items: center; background: rgba(176, 107, 255, .14); color: var(--accent-2);
}
.mega-ico svg { width: 22px; height: 22px; }
.mega-card-body { display: flex; flex-direction: column; gap: 3px; }
.mega-card-title { font-weight: 700; color: #fff; font-size: 15px; }
.mega-card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.mega-promo {
    background: linear-gradient(160deg, rgba(208, 36, 255, .16), rgba(47, 141, 255, .12));
    border: var(--border); border-radius: var(--radius);
    padding: 22px; display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.mega-promo-eyebrow { font-size: 12px; color: var(--accent-2); font-weight: 700; letter-spacing: .05em; }
.mega-promo-title { font-family: var(--ff-head); font-weight: 800; font-size: 17px; color: #fff; line-height: 1.3; }
.mega-promo .btn { margin-top: 6px; }

.mega-portfolio { width: min(680px, 92vw); display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.mega-col-title { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 12px; }
.mega-cat-list { display: grid; gap: 4px; }
.mega-cat-list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: background .2s, color .2s; }
.mega-cat-list a:hover { background: var(--card-hover); color: #fff; }
.mega-cat-arrow { width: 15px; height: 15px; color: var(--accent-2); }
.mega-feature { display: block; border-radius: var(--radius); overflow: hidden; border: var(--border); background: var(--card); position: relative; }
.mega-feature img { width: 100%; height: 150px; object-fit: cover; }
.mega-feature-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(208, 36, 255, .8); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.mega-feature-title { display: block; font-weight: 700; color: #fff; padding: 12px 14px 2px; }
.mega-feature-desc { display: block; font-size: 12.5px; color: var(--muted); padding: 0 14px 14px; }

/* ---------- Бургер + мобильное меню ---------- */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: var(--panel); border-left: var(--border); z-index: 150;
    transform: translateX(100%); transition: transform .35s ease;
    padding: 90px 26px 30px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-nav a { display: block; padding: 13px 14px; border-radius: 10px; font-size: 17px; font-weight: 500; color: var(--muted); }
.mobile-nav a:hover, .mobile-nav a.is-active { background: var(--card-hover); color: #fff; }
.mobile-contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.mobile-contacts a { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.mobile-contacts svg { width: 18px; height: 18px; color: var(--accent-2); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 140; backdrop-filter: blur(3px); }

/* ---------- 5. Hero ---------- */
.hero { padding: 60px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-content { max-width: 560px; }
.hero h1 { font-size: clamp(38px, 6vw, 50px); line-height: 1.05; margin: 18px 0 22px; }
.hero-lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 6px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0 4px; }

.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero-visual img { border-radius: var(--radius); position: relative; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.hero-glow { position: absolute; inset: -10% -5%; z-index: 1;
    background: radial-gradient(45% 45% at 55% 45%, rgba(120, 70, 255, .5), transparent 65%),
                radial-gradient(35% 35% at 75% 60%, rgba(47, 141, 255, .4), transparent 65%);
    filter: blur(20px); }

/* ---------- Статистика (полоса) ---------- */
.stats-bar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--card); border: var(--border); border-radius: var(--radius-lg);
    padding: 8px; margin-top: 10px;
}
.stat-cell { display: flex; align-items: center; gap: 14px; padding: 20px; position: relative; }
.stat-cell:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; height: 52%; width: 1px; background: rgba(255, 255, 255, .08); }
.stat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(176, 107, 255, .14); color: var(--accent-2); }
.stat-ico svg { width: 24px; height: 24px; }
.stat-val { font-family: var(--ff-head); font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Карточки статистики (отдельные) */
.stats-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 22px; display: flex; align-items: center; gap: 14px; }
.stat-card .stat-ico { background: rgba(77, 139, 255, .14); color: var(--accent); }

/* ---------- Универсальная сетка карточек ---------- */
.card {
    background: var(--card); border: var(--border); border-radius: var(--radius);
    padding: 26px; transition: transform .25s ease, border-color .25s ease, background .25s ease;
    position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(176, 107, 255, .4); background: var(--card-hover); }

.card-ico { width: 70px; height: 70px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(150deg, rgba(208, 36, 255, .22), rgba(47, 141, 255, .18));
    color: #fff; margin-bottom: 18px; }
.card-ico svg { width: 27px; height: 27px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Услуги ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 16px; }
.service-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .service-link svg { transform: translateX(4px); }

/* Карточки услуг с ценой */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { display: flex; flex-direction: column; }
.price-card .card-ico { width: 48px; height: 48px; }
.price-card h3 { font-size: 17px; }
.price-features { margin: 14px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--muted); }
.price-features svg { width: 15px; height: 15px; color: var(--ok); margin-top: 3px; }
.price-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.price-val { font-family: var(--ff-head); font-weight: 800; color: #fff; font-size: 15px; }

/* Полоса гарантий */
.assur-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.assur-cell { display: flex; align-items: center; gap: 14px; padding: 24px; }
.assur-cell:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .07); }
.assur-cell .stat-ico { background: rgba(176, 107, 255, .14); color: var(--accent-2); }
.assur-t { font-weight: 700; color: #fff; font-size: 15px; }
.assur-s { font-size: 13px; color: var(--muted); }

/* ---------- Портфолио ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; background: var(--card); border: var(--border); border-radius: 999px; padding: 8px; margin-bottom: 34px; width: fit-content; max-width: 100%; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.filter-btn svg { width: 16px; height: 16px; }
.filter-btn:hover { color: #fff; }
.filter-btn.active { background: var(--grad); color: #fff; }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pf-card { background: var(--card); border: var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.pf-card:hover { transform: translateY(-5px); border-color: rgba(176, 107, 255, .45); }
.pf-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-card:hover .pf-thumb img { transform: scale(1.05); }
.pf-cat { position: absolute; top: 12px; left: 12px; background: rgba(124, 58, 237, .85); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; z-index: 2; }
.pf-open { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; background: rgba(0, 0, 0, .5); display: grid; place-items: center; z-index: 2; }
.pf-open svg { width: 16px; height: 16px; color: #fff; }
.pf-body { padding: 20px; }
.pf-body h3 { font-size: 17px; margin-bottom: 8px; }
.pf-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.pf-result { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.pf-result b { color: var(--accent); font-weight: 700; font-size: 14px; }
.pf-result svg { width: 18px; height: 18px; color: var(--accent-2); }
.pf-hidden { display: none !important; }

.load-more { display: flex; justify-content: center; margin-top: 32px; }

/* Избранный проект */
.featured { background: linear-gradient(140deg, var(--panel), var(--bg-soft)); border: var(--border); border-radius: var(--radius-lg); padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.featured-metrics { display: flex; gap: 30px; margin: 20px 0 22px; }
.fm-val { font-family: var(--ff-head); font-size: 30px; font-weight: 800; color: #fff; }
.fm-label { font-size: 13px; color: var(--muted); }
.featured-tech { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.featured-tech span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.featured-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Таблица сравнения ---------- */
.compare-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border: var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.compare-table thead th { background: rgba(255, 255, 255, .03); color: #fff; font-weight: 700; }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tbody td:first-child { color: var(--muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--ok); }
.compare-table .no { color: var(--dim); }
.compare-table svg { width: 18px; height: 18px; }
.compare-table .row-price td { font-weight: 700; color: var(--accent); }
.compare-th-ico { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.compare-th-ico svg { width: 22px; height: 22px; color: var(--accent-2); }
.help-card { background: linear-gradient(160deg, rgba(176, 107, 255, .16), rgba(47, 141, 255, .12)); border: var(--border); border-radius: var(--radius-lg); padding: 30px; }
.help-card h3 { font-size: 24px; margin: 16px 0 12px; }
.help-card p { color: var(--muted); margin-bottom: 20px; }
.help-orb { width: 70px; height: 70px; border-radius: 50%; background: var(--grad); box-shadow: var(--glow); }

/* ---------- Таймлайн / процесс ---------- */
.process-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; position: relative; }
.process-line::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, transparent, rgba(176, 107, 255, .5), transparent); }
.proc-step { position: relative; }
.proc-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 2px solid rgba(176, 107, 255, .5); color: #fff; font-family: var(--ff-head); font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1; }
.proc-step h3 { font-size: 16px; margin-bottom: 8px; }
.proc-step p { font-size: 13.5px; color: var(--muted); }

/* Процесс с иконками (горизонтальный) */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; position: relative; }
.flow-item { text-align: left; }
.flow-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: var(--border); color: var(--accent-2); margin-bottom: 14px; }
.flow-ico svg { width: 24px; height: 24px; }
.flow-item h3 { font-size: 15px; margin-bottom: 6px; }
.flow-item p { font-size: 13px; color: var(--muted); }

/* ---------- Аккордеон / FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border: var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 600; font-size: 16px; color: #fff; }
.faq-q .faq-toggle { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--card-hover); display: grid; place-items: center; transition: background .2s; }
.faq-q svg { width: 18px; height: 18px; transition: transform .3s; }
.faq-item.open .faq-toggle { background: var(--grad); }
.faq-item.open .faq-toggle .ic-plus { display: none; }
.faq-toggle .ic-minus { display: none; }
.faq-item.open .faq-toggle .ic-minus { display: block; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* ---------- Отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 26px; }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(176, 107, 255, .4); }
.review-name { font-weight: 700; color: #fff; }
.review-role { font-size: 13px; color: var(--muted); }
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 17px; height: 17px; color: var(--star); fill: var(--star); }
.review-text { color: var(--text); font-size: 15px; line-height: 1.6; }

/* Логотипы клиентов */
.clients-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--card); border: var(--border); border-radius: var(--radius-lg); padding: 30px 40px; }
.client-logo { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--ff-head); font-weight: 800; font-size: 18px; opacity: .8; transition: opacity .2s, color .2s; }
.client-logo:hover { opacity: 1; color: #fff; }
.client-logo .dot { width: 26px; height: 26px; border-radius: 8px; background: rgba(176, 107, 255, .2); display: grid; place-items: center; }
.client-logo .dot svg { width: 16px; height: 16px; color: var(--accent-2); }

/* ---------- CTA-баннер ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: linear-gradient(115deg, #4b1fa8 0%, #6d3bd6 40%, #2f6bff 100%);
    padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 50%, rgba(255, 120, 220, .4), transparent 55%); pointer-events: none; }
.cta-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.cta-banner h2 { font-size: clamp(26px, 3.5vw, 38px); color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; max-width: 460px; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.cta-banner .btn-grad { background: #fff; color: #2a1a5e; box-shadow: none; }
.cta-banner .btn-grad:hover { background: #f0ecff; }
.cta-banner .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-rocket { position: relative; z-index: 1; display: grid; place-items: center; }
.cta-rocket img { max-height: 260px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4)); }

/* ---------- 6. Хлебные крошки ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs .sep { color: var(--dim); }
.page-hero { padding: 50px 0 40px; }

/* Значения (values) */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.value-card .card-ico { width: 46px; height: 46px; margin-bottom: 14px; }
.value-card h3 { font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); }

/* Технологии (крупные карточки) */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tech-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tech-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 22px; display: flex; align-items: center; gap: 14px; transition: transform .2s, border-color .2s; }
.tech-card:hover { transform: translateY(-3px); border-color: rgba(176, 107, 255, .4); }
.tech-logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; color: #fff; font-size: 15px; flex-shrink: 0; }
.tech-name { font-weight: 700; color: #fff; font-size: 16px; }
.tech-sub { font-size: 12.5px; color: var(--muted); }

/* Двухколоночный список с галочками */
.check-list { display: flex; flex-direction: column; gap: 18px; }
.check-item { display: flex; gap: 14px; }
.check-badge { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: rgba(53, 208, 127, .16); color: var(--ok); display: grid; place-items: center; }
.check-badge svg { width: 18px; height: 18px; }
.check-item h3 { font-size: 16px; margin-bottom: 4px; }
.check-item p { font-size: 14px; color: var(--muted); }

/* Founder card */
.founder { background: linear-gradient(140deg, var(--panel), var(--bg-soft)); border: var(--border); border-radius: var(--radius-lg); padding: 30px; display: grid; grid-template-columns: 240px 1fr 260px; gap: 30px; align-items: center; }
.founder-photo { border-radius: var(--radius); overflow: hidden; }
.founder-photo img { width: 100%; aspect-ratio: 3/3.4; object-fit: cover; }
.founder h2 { font-size: 24px; margin-bottom: 12px; }
.founder p { color: var(--muted); margin-bottom: 16px; }
.founder-stack { display: flex; flex-wrap: wrap; gap: 10px; }
.founder-stack span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--card); border: var(--border); border-radius: 10px; font-size: 13px; }
.founder-side { display: flex; flex-direction: column; gap: 14px; }
.founder-side .f-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.founder-side .f-row svg { width: 20px; height: 20px; color: var(--accent-2); }

/* До/После */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 26px; }
.ba-col.before { border-color: rgba(255, 90, 120, .3); }
.ba-col.after { border-color: rgba(53, 208, 127, .3); }
.ba-title { font-family: var(--ff-head); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.ba-col.before .ba-title { color: #ff6b81; }
.ba-col.after .ba-title { color: var(--ok); }
.ba-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--text); }
.ba-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.ba-col.before .ba-list svg { color: #ff6b81; }
.ba-col.after .ba-list svg { color: var(--ok); }

/* Этапы (вертикальный список с номерами) */
.stages-list { display: flex; flex-direction: column; gap: 4px; }
.stage-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.stage-row:last-child { border-bottom: none; }
.stage-num { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(176, 107, 255, .5); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; font-size: 13px; color: var(--accent-2); flex-shrink: 0; }
.stage-row h3 { font-size: 16px; margin-bottom: 3px; }
.stage-row p { font-size: 13.5px; color: var(--muted); }

/* Табы (галерея / фильтр) */
.tabs { display: inline-flex; gap: 4px; background: var(--card); border: var(--border); border-radius: 999px; padding: 5px; }
.tab-btn { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); }
.tab-btn.active { background: var(--grad); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.gallery-grid img { border-radius: var(--radius); border: var(--border); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* Метрики в цифрах */
.metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.metric-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.metric-card .card-ico { width: 46px; height: 46px; margin-bottom: 14px; }
.metric-val { font-family: var(--ff-head); font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.metric-label { font-size: 13px; color: var(--muted); }

/* Info-блоки кейса */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.info-card .ic-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.info-card .ic-head svg { width: 22px; height: 22px; color: var(--accent-2); }
.info-card h3 { font-size: 17px; }
.info-card p { font-size: 14px; color: var(--muted); }

/* Отзыв клиента (крупный) + следующий проект */
.case-review { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 30px; }
.next-project { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 1fr 220px; gap: 20px; align-items: center; }
.next-project img { border-radius: var(--radius-sm); }

/* ---------- Форма брифа / контакты ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.brief-card { background: var(--card); border: var(--border); border-radius: var(--radius-lg); padding: 30px; }
.brief-title { font-size: 18px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 22px; }
.brief-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.brief-step { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.brief-step .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card-hover); font-size: 13px; font-weight: 700; }
.brief-step.active { color: #fff; }
.brief-step.active .num { background: var(--grad); color: #fff; }
.brief-step .line { width: 40px; height: 1px; background: rgba(255, 255, 255, .12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .req { color: #ff6b81; }
.field input, .field textarea, .field select {
    width: 100%; padding: 14px 44px 14px 16px; border-radius: 12px;
    background: rgba(255, 255, 255, .03); border: var(--border); color: #fff; font-size: 15px;
    transition: border-color .2s, background .2s;
}
.field select { appearance: none; }
.field textarea { resize: vertical; min-height: 120px; padding-right: 16px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-2); background: rgba(255, 255, 255, .05); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field .field-ico { position: absolute; right: 14px; top: 40px; width: 20px; height: 20px; color: var(--dim); pointer-events: none; }
.field .counter { position: absolute; right: 14px; bottom: 12px; font-size: 12px; color: var(--dim); }
.checks-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 20px; }
.check-pill { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border: var(--border); border-radius: 12px; font-size: 14px; cursor: pointer; }
.check-pill input { width: 18px; height: 18px; accent-color: #8b5cf6; }
.brief-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brief-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.brief-note svg { width: 16px; height: 16px; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-methods { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.contact-methods h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.cm-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cm-row:last-child { border-bottom: none; }
.cm-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(176, 107, 255, .14); color: var(--accent-2); display: grid; place-items: center; flex-shrink: 0; }
.cm-ico svg { width: 20px; height: 20px; }
.cm-title { font-weight: 700; color: #fff; font-size: 15px; }
.cm-sub { font-size: 13px; color: var(--muted); }
.cm-arrow { margin-left: auto; color: var(--dim); width: 18px; height: 18px; }
.speed-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.speed-head { display: flex; align-items: center; gap: 14px; }
.speed-orb { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: var(--glow); }
.speed-orb svg { width: 24px; height: 24px; color: #fff; }
.speed-time { font-family: var(--ff-head); font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.speed-sub { font-size: 12px; color: var(--muted); }
.map-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.map-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.map-placeholder { border-radius: 12px; overflow: hidden; margin-top: 14px; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1730, #0e0c1e); display: grid; place-items: center; border: var(--border); }
.map-placeholder svg { width: 40px; height: 40px; color: var(--accent-2); }

/* Шаги «после брифа» */
.steps-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step-box { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 22px; position: relative; }
.step-box .sb-num { font-family: var(--ff-head); font-weight: 800; color: var(--accent-2); font-size: 14px; }
.step-box .card-ico { width: 44px; height: 44px; margin: 12px 0 14px; }
.step-box h3 { font-size: 15px; margin-bottom: 6px; }
.step-box p { font-size: 13px; color: var(--muted); }

/* ---------- 7. Декоративные орбы ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: 0; opacity: .8; }
.orb-a { width: 90px; height: 90px; background: radial-gradient(circle at 35% 30%, #b06bff, #4b1fa8); box-shadow: 0 0 60px rgba(176, 107, 255, .6); }
.orb-b { width: 60px; height: 60px; background: radial-gradient(circle at 35% 30%, #56b6ff, #1a3fa8); box-shadow: 0 0 50px rgba(47, 141, 255, .6); }
.orb-ring { border-radius: 50%; border: 10px solid transparent; background: conic-gradient(from 0deg, #d024ff, #2f8dff, #d024ff) border-box; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0); }

/* Кнопка наверх */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: 0 10px 24px -8px rgba(120, 70, 255, .8); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top-ico { width: 22px; height: 22px; color: #fff; transform: rotate(180deg); }

/* Анимация появления */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- 8. Адаптив ---------- */
@media (max-width: 1080px) {
    .stats-bar, .stats-cards, .metrics-grid, .values-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .founder { grid-template-columns: 1fr; }
    .founder-photo { max-width: 260px; }
}
@media (max-width: 960px) {
    .main-nav, .header-cta { display: none; }
    .burger { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; min-height: 280px; }
    .services-grid, .reviews-grid, .gallery-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
    .featured, .cta-banner, .compare-wrap, .contact-layout, .next-project, .beforeafter, .faq-grid { grid-template-columns: 1fr; }
    .assur-bar { grid-template-columns: repeat(2, 1fr); }
    .assur-cell:nth-child(2) { border-right: none; }
    .steps-flow { grid-template-columns: repeat(2, 1fr); }
    .cta-rocket { display: none; }
    .section { padding: 60px 0; }
}
@media (max-width: 720px) {
    .stats-bar, .stats-cards, .metrics-grid, .values-grid, .pricing-grid, .portfolio-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .stat-cell::after { display: none; }
    .services-grid, .reviews-grid, .gallery-grid, .info-grid, .checks-row, .form-grid, .steps-flow, .featured-metrics { grid-template-columns: 1fr; }
    .featured-metrics { flex-direction: row; gap: 20px; }
    .hero h1 { font-size: 34px; }
    .cta-banner, .brief-card { padding: 28px 22px; }
    .clients-row { justify-content: center; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .stats-bar, .stats-cards, .metrics-grid, .values-grid, .pricing-grid, .portfolio-grid, .tech-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .filter-bar { border-radius: var(--radius); }
}

/* ---------- Подвал ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(180deg, transparent, rgba(11, 9, 24, .6)); margin-top: 40px; padding: 60px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.3fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-about { color: var(--muted); font-size: 14px; max-width: 260px; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: var(--card); border: var(--border); display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s, transform .2s; }
.socials a:hover { color: #fff; background: var(--card-hover); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-title { font-size: 15px; margin-bottom: 16px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-contacts span { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contacts ul { gap: 12px; }
.footer-contacts li a, .footer-contacts li span { display: flex; align-items: center; gap: 10px; }
.footer-contacts svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; }
.footer-cta { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; align-self: start; }
.footer-cta-title { font-size: 17px; margin-bottom: 8px; }
.footer-cta p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--dim); }
.footer-legal a:hover { color: var(--muted); }
@media (max-width: 960px) { .footer-cta { grid-column: 1 / -1; } .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Цвета логотипов технологий ---------- */
.tl-html   { background: linear-gradient(150deg, #e44d26, #f16529); }
.tl-css    { background: linear-gradient(150deg, #2965f1, #2b6ef1); }
.tl-js     { background: linear-gradient(150deg, #e6c700, #f0db4f); color: #1a1a1a; }
.tl-php    { background: linear-gradient(150deg, #6a72a8, #8892bf); }
.tl-mysql  { background: linear-gradient(150deg, #00758f, #0a8fac); }
.tl-ajax   { background: linear-gradient(150deg, #4a54c9, #5a67d8); }
.tl-git    { background: linear-gradient(150deg, #f05133, #f34f29); }
.tl-vscode { background: linear-gradient(150deg, #0065b3, #0078d4); }

/* Позиционируемые декоративные орбы в hero */
.hero-visual .orb-a { top: 6%; right: 4%; }

/* ---------- Стек основателя / бейджи ---------- */
.founder-stack-label { font-size: 13px; color: var(--dim); margin: 4px 0 10px; }
.fs-dot { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }
.founder-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.founder-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.founder-badges svg { width: 16px; height: 16px; color: var(--accent-2); }
.founder-badges span:last-child svg { color: var(--star); fill: var(--star); }

/* ---------- Формат работы (со щитом по центру) ---------- */
.format-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; }
.format-shield { position: relative; display: grid; place-items: center; width: 350px; height: 220px; }
.shield-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(120, 70, 255, .5), transparent 65%); filter: blur(10px); }
.shield-big { width: 160px; height: 160px; color: var(--accent); position: relative; z-index: 1; filter: drop-shadow(0 0 30px rgba(77, 139, 255, .7)); }
.shield-big path:last-child { stroke: #fff; }
@media (max-width: 960px) { .format-grid { grid-template-columns: 1fr; gap: 30px; } .format-shield { display: none; } }

/* Сетка на 4 отзыва */
.reviews-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .reviews-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews-4 { grid-template-columns: 1fr; } }

/* ---------- Технологии (вертикальные плитки) ---------- */
.techv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.techv-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s; }
.techv-card:hover { transform: translateY(-4px); border-color: rgba(176, 107, 255, .4); }
.techv-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; color: #fff; font-size: 17px; margin-bottom: 16px; }
.techv-logo.tl-js { color: #1a1a1a; }
.techv-card h3 { font-size: 18px; margin-bottom: 6px; }
.techv-card p { font-size: 13.5px; color: var(--muted); }
.code-features { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .techv-grid, .code-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .techv-grid, .code-features { grid-template-columns: 1fr; } }

/* ---------- О нас ---------- */
.about-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 10px; }
.about-stats > div { display: flex; flex-direction: column; }
.about-val { font-family: var(--ff-head); font-size: 34px; font-weight: 800; line-height: 1; }
.about-lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }
.mission-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.mission-target { position: relative; display: grid; place-items: center; height: 260px; }
.mission-target .shield-big { color: var(--accent); }
.stages-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stage-card { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 24px; }
.stage-big { font-family: var(--ff-head); font-weight: 800; font-size: 30px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.stage-card h3 { font-size: 16px; margin-bottom: 6px; }
.stage-card p { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .mission-grid { grid-template-columns: 1fr; } .mission-target { display: none; } .stages-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stages-cards { grid-template-columns: 1fr; } }

/* ---------- Мелочи страниц контактов/отзывов ---------- */
.metrics-3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-inline: auto; }
@media (max-width: 720px) { .metrics-3 { grid-template-columns: 1fr; } }
.faq-single { max-width: 820px; margin-inline: auto; }
.brief-success { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: rgba(53, 208, 127, .14); border: 1px solid rgba(53, 208, 127, .35); color: #7ee6ac; font-size: 14px; }
.field.full .field-ico { display: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23989cbe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.map-card .btn { margin-top: 14px; }

/* ---------- 404 ---------- */
.error-page { position: relative; padding: 120px 0; }
.error-code { font-family: var(--ff-head); font-size: clamp(90px, 18vw, 180px); font-weight: 900; line-height: 1; }
.error-actions { justify-content: center; margin-top: 26px; }

/* ---------- Фикс: значение/подпись должны стоять в столбик ---------- */
.stat-cell > span:not(.stat-ico) { display: flex; flex-direction: column; }
.tech-card > span:not(.tech-logo) { display: flex; flex-direction: column; }
.stat-val, .stat-label, .tech-name, .tech-sub { display: block; }
.speed-head > span { display: flex; flex-direction: column; gap: 2px; }
.speed-time, .speed-sub { display: block; }
.cm-row > span:not(.cm-ico):not(.cm-arrow) { display: flex; flex-direction: column; }




/* ============================================================
   ИКОНКИ (SVG через icon() и social_icon())
   Все SVG красятся через currentColor — задавай color на родителе.
   Базовый размер — 18px, дальше уточняется по контексту.
   ============================================================ */

/* База: класс .icon вешает хелпер icon() по умолчанию */
.icon              { width: 18px; height: 18px; }
svg                { flex-shrink: 0; vertical-align: middle; }

/* --- Кнопки, чипы, крошки --- */
.btn svg           { width: 18px; height: 18px; }
.chip svg          { width: 18px; height: 18px; color: var(--accent-2); }
.breadcrumbs svg   { width: 15px; height: 15px; }

/* --- Карточки услуг / преимуществ --- */
.card-ico svg      { width: 27px; height: 27px; }
.service-link svg  { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .service-link svg { transform: translateX(4px); }

/* --- Статистика / метрики --- */
.stat-ico svg      { width: 24px; height: 24px; }
.metric-card .card-ico svg { width: 24px; height: 24px; }

/* --- Мега-меню --- */
.mega-ico svg      { width: 22px; height: 22px; }

/* --- Портфолио --- */
.filter-btn svg    { width: 16px; height: 16px; }
.pf-open svg       { width: 16px; height: 16px; color: #fff; }
.pf-result svg     { width: 18px; height: 18px; color: var(--accent-2); }

/* --- Избранный проект / теги технологий --- */
.featured-tech svg { width: 15px; height: 15px; color: var(--accent-2); }

/* --- Таблица сравнения --- */
.compare-table svg    { width: 18px; height: 18px; }
.compare-th-ico svg   { width: 22px; height: 22px; color: var(--accent-2); }
.compare-table .yes svg { color: var(--ok); }
.compare-table .no  svg { color: #ff6b81; }

/* --- Процесс / флоу --- */
.flow-ico svg      { width: 24px; height: 24px; }

/* --- FAQ (плюс/минус) --- */
.faq-q svg         { width: 18px; height: 18px; transition: transform .3s; }
.faq-toggle .ic-minus { display: none; }
.faq-item.open .faq-toggle .ic-plus  { display: none; }
.faq-item.open .faq-toggle .ic-minus { display: block; }

/* --- Отзывы / звёзды --- */
.stars svg         { width: 17px; height: 17px; color: var(--star); fill: var(--star); }

/* --- Логотипы клиентов --- */
.client-logo .dot svg { width: 16px; height: 16px; color: var(--accent-2); }

/* --- Списки-галочки / до-после / основатель --- */
.check-badge svg   { width: 18px; height: 18px; }
.founder-side .f-row svg { width: 20px; height: 20px; color: var(--accent-2); }
.founder-badges svg { width: 16px; height: 16px; color: var(--accent-2); }
.founder-badges span:last-child svg { color: var(--star); fill: var(--star); }
.ba-list svg       { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.ba-col.before .ba-list svg { color: #ff6b81; }
.ba-col.after  .ba-list svg { color: var(--ok); }

/* --- Кейс: инфо-блоки --- */
.info-card .ic-head svg { width: 22px; height: 22px; color: var(--accent-2); }

/* --- Контакты: форма и способы связи --- */
.field .field-ico  { position: absolute; right: 14px; top: 40px; width: 20px; height: 20px; color: var(--dim); pointer-events: none; }
.field.full .field-ico { display: none; }
.brief-note svg    { width: 16px; height: 16px; }
.cm-ico svg        { width: 20px; height: 20px; }
.cm-arrow          { margin-left: auto; color: var(--dim); width: 18px; height: 18px; }
.speed-orb svg     { width: 24px; height: 24px; color: #fff; }
.map-placeholder svg { width: 40px; height: 40px; color: var(--accent-2); }

/* --- Мобильное меню / подвал --- */
.mobile-contacts svg { width: 18px; height: 18px; color: var(--accent-2); }
.socials svg       { width: 18px; height: 18px; }
.footer-contacts svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; }