/* ============================================================
   ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
    --bg-dark: #0e0f13;
    --bg-soft: #15161c;
    --card-bg: #1a1c23;
    --card-bg-2: #1f2129;
    --border-soft: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.12);

    --text-light: #f5f6f8;
    --text-mid: #c8cad0;
    --text-muted: #8b8f99;

    --primary: #47c7b6;
    --primary-dark: #2ea895;
    --secondary: #31887d;
    --accent-1: #e16636;
    --accent-2: #70be54;
    --accent-3: #fbc34a;
    --accent-4: #8a6eff;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 60px rgba(71, 199, 182, 0.35);
}

/* ============================================================
   БАЗА
   ============================================================ */
* { box-sizing: border-box; }

html {
    scroll-behavior: auto;
    scroll-padding-top: 80px;
}

html.smooth-scroll {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    /* ВАЖНО: overflow-x: clip не ломает position: fixed и smooth-scroll,
       в отличие от overflow-x: hidden на html/body */
    overflow-x: clip;
}

body {
    min-height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
            radial-gradient(circle at 15% 10%, rgba(71, 199, 182, 0.10), transparent 45%),
            radial-gradient(circle at 85% 90%, rgba(138, 110, 255, 0.08), transparent 45%),
            radial-gradient(circle at 50% 50%, rgba(225, 102, 54, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

main, header, footer, section { position: relative; z-index: 1; }

::selection { background: var(--primary); color: #0e0f13; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   ЛОГОТИП (SVG)
   ============================================================ */
.logo-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================================================
   ПРОГРЕСС СКРОЛЛА
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 9998;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent-1), var(--accent-3));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.08s linear;
    box-shadow: 0 0 12px rgba(71, 199, 182, 0.7);
}

/* ============================================================
   ПРЕЛОАДЕР
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, #15161c 0%, #0a0b0e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader__mark {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-top-color: var(--primary);
    animation: spin 1.4s linear infinite;
    box-shadow: inset 0 0 30px rgba(71, 199, 182, 0.15);
}
.preloader__logo {
    width: 140px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(71, 199, 182, 0.4));
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    from { opacity: 0.85; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1.03); }
}

/* ============================================================
   ХЕДЕР
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.35s ease;
    background: transparent;
}
.site-header.scrolled {
    padding: 10px 0;
    background: rgba(14, 15, 19, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: block;
    width: 240px;
    height: 45px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 12px rgba(71, 199, 182, 0.25));
}
.brand:hover { transform: scale(1.04); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-nav a {
    padding: 10px 18px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-mid);
    border-radius: 100px;
    transition: all 0.25s ease;
}
.site-nav a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    border-radius: 100px !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { bottom: 16px; }
.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-top: 10px;
    background: rgba(26, 28, 35, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mobile-menu a:not(.btn) {
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-mid);
    font-weight: 500;
    transition: all 0.25s ease;
}
.mobile-menu a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
    border-width: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    color: #0e0f13;
    box-shadow: 0 4px 20px rgba(71, 199, 182, 0.25);
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #52d6c4 0%, var(--primary) 100%);
    color: #0e0f13;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(71, 199, 182, 0.45);
    border-color: transparent;
}
.btn-primary:active {
    transform: translateY(0);
    background: var(--primary-dark) !important;
    border-color: transparent !important;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border-strong);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(71, 199, 182, 0.18);
}

.btn-dark {
    background: #0e0f13;
    border-color: #0e0f13;
    color: #fff;
}
.btn-dark:hover {
    background: #1a1c23;
    border-color: #1a1c23;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
    --mx: 50%;
    --my: 50%;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: float 18s ease-in-out infinite;
}
.blob--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(71, 199, 182, 0.55), transparent 70%);
    top: -10%;
    left: -8%;
}
.blob--2 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(138, 110, 255, 0.45), transparent 70%);
    bottom: -12%;
    right: -6%;
    animation-delay: -6s;
}
.blob--3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(225, 102, 54, 0.35), transparent 70%);
    top: 45%;
    left: 55%;
    animation-delay: -12s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx) var(--my), rgba(71, 199, 182, 0.10), transparent 60%);
    pointer-events: none;
    z-index: 1;
    transition: background 0.15s ease;
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

/* Вертикальный логотип: иконка сверху, текст снизу */
.hero__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    width: 100%;
}
.hero__logo-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 30px rgba(71, 199, 182, 0.45));
    animation: logoGlow 4s ease-in-out infinite alternate;
}
.hero__logo-text {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--text-light);
    white-space: nowrap;
}
.hero__logo-text .digital {
    font-weight: 400;
    color: var(--primary);
}
@keyframes logoGlow {
    from { filter: drop-shadow(0 0 20px rgba(71, 199, 182, 0.3)); }
    to { filter: drop-shadow(0 0 45px rgba(71, 199, 182, 0.6)); }
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    background: rgba(71, 199, 182, 0.08);
    border: 1px solid rgba(71, 199, 182, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.badge-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero__title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    color: var(--text-light);
}
.hero__title .grad {
    background: linear-gradient(120deg, var(--primary) 0%, var(--accent-3) 50%, var(--accent-1) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 6s linear infinite;
}
@keyframes gradShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero__lead {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--text-mid);
    min-height: 60px;
    margin: 0 0 36px;
    font-weight: 400;
}
.hero__lead .typed-cursor {
    color: var(--primary);
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero__actions .btn {
    padding: 15px 32px;
    font-size: 1rem;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 18px 32px;
    min-width: 140px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.stat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(71, 199, 182, 0.3);
    transform: translateY(-4px);
}
.stat b {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    border: 1px solid rgba(71, 199, 182, 0.3);
    background: rgba(71, 199, 182, 0.05);
    backdrop-filter: blur(10px);
    animation: bounce 2.2s ease-in-out infinite;
    z-index: 5;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.scroll-down:hover {
    background: var(--primary);
    color: #0e0f13;
    border-color: var(--primary);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -12px); }
    60% { transform: translate(-50%, -6px); }
}

/* ============================================================
   БЕГУЩАЯ СТРОКА
   ============================================================ */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.015);
    padding: 22px 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.marquee__group {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    flex-shrink: 0;
}
.marquee__group span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-mid);
    white-space: nowrap;
    transition: color 0.3s ease;
}
.marquee__group i {
    color: var(--primary);
    font-size: 0.7rem;
    font-style: normal;
    opacity: 0.6;
}
.marquee__group span:hover { color: var(--primary); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 6px 16px;
    background: rgba(71, 199, 182, 0.08);
    border: 1px solid rgba(71, 199, 182, 0.2);
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--text-light);
}
.section-title .highlight {
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}
.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin: 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--d, 0s);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ТАБЫ
   ============================================================ */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.services-tabs .nav-pills {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    padding: 6px;
    gap: 4px;
    backdrop-filter: blur(10px);
}
.services-tabs .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 100px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.services-tabs .nav-link:hover:not(.active) {
    color: var(--text-light);
}
.services-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #0e0f13;
    box-shadow: 0 4px 18px rgba(71, 199, 182, 0.35);
}

/* ============================================================
   КАРТОЧКИ
   ============================================================ */
.service-card,
.value-card {
    position: relative;
    background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-2) 100%);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px 28px;
    height: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before,
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover,
.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(71, 199, 182, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(71, 199, 182, 0.1);
}
.service-card:hover::before,
.value-card:hover::before { opacity: 1; }

.service-header,
.value-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.service-icon,
.value-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    transition: transform 0.4s ease;
}
.service-card:hover .service-icon,
.value-card:hover .value-icon {
    transform: scale(1.08) rotate(-4deg);
}

.service-title,
.value-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-light);
    letter-spacing: -0.01em;
}

.service-text,
.value-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.65;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    border-top: 1px dashed var(--border-soft);
    padding-top: 18px;
}
.benefit-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}
.benefit-list li:last-child { margin-bottom: 0; }
.benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(71, 199, 182, 0.6);
}
.benefit-list li:hover { color: var(--text-light); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #1a1c23 0%, #15161c 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(71, 199, 182, 0.25), transparent 60%);
    filter: blur(60px);
    animation: ctaFloat 12s ease-in-out infinite;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 110, 255, 0.2), transparent 60%);
    filter: blur(60px);
    animation: ctaFloat 14s ease-in-out infinite reverse;
}
@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--text-light);
}
.cta-text {
    color: var(--text-mid);
    font-size: 1.1rem;
    margin: 0 0 32px;
}
.cta-note {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 20px 0 0;
    font-style: italic;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.site-footer {
    background: #0a0b0e;
    border-top: 1px solid var(--border-soft);
    padding: 40px 0;
    margin-top: 80px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-brand {
    display: block;
    width: 150px;
    height: 36px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.footer-brand:hover { opacity: 1; }
.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 991.98px) {
    .site-nav { display: none; }
    .nav-toggle { display: block; }
    .header-cta { display: none; }

    .hero { padding: 120px 0 80px; }
    .hero__logo-icon { width: 110px; height: 110px; }
    .section { padding: 80px 0; }
}

@media (max-width: 767.98px) {
    .hero { min-height: auto; padding: 110px 0 90px; }
    .hero__logo { margin-bottom: 30px; }
    .hero__logo-icon { width: 90px; height: 90px; }
    .hero__logo-text { font-size: 2rem; }
    .brand { width: 200px; height: 38px; }

    .hero__stats { gap: 10px; }
    .stat { padding: 14px 22px; min-width: 110px; }
    .stat b { font-size: 1.5rem; }
    .stat span { font-size: 0.72rem; }

    .hero__actions .btn { width: 100%; }

    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }

    /* Сегмент-контрол: две равные кнопки в одну строку */
    .services-tabs {
        margin-bottom: 32px;
    }
    .services-tabs .nav-pills {
        display: flex;
        width: 100%;
        max-width: 100%;
        padding: 4px;
        gap: 0;
        border-radius: 100px;
    }
    .services-tabs .nav-item {
        flex: 1 1 50%;
        min-width: 0;
    }
    .services-tabs .nav-link {
        width: 100%;
        padding: 12px 10px;
        font-size: 0.9rem;
        border-radius: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
    }
    .services-tabs .nav-link i {
        margin-right: 0 !important;
        font-size: 0.85em;
    }

    .service-card, .value-card { padding: 26px 22px; }

    .cta-section { padding: 50px 24px; }

    .marquee__group span { font-size: 1rem; }
    .marquee__group { gap: 22px; padding-right: 22px; }

    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
    .hero__title { font-size: 1.85rem; }
    .hero__lead { font-size: 0.98rem; }
    .badge-pill { font-size: 0.75rem; padding: 6px 14px 6px 10px; }
    .scroll-down { width: 40px; height: 40px; bottom: 18px; }

    .hero__logo-text { display: none; }
    .brand { width: 190px; height: 36px; }

    /* Табы — чуть компактнее */
    .services-tabs .nav-link {
        padding: 10px 8px;
        font-size: 0.85rem;
        gap: 5px;
    }
    .services-tabs .nav-link i {
        font-size: 0.8em;
    }

    .cta-section { padding: 40px 18px; }
}

@media (max-width: 400px) {
    /* Совсем узкие экраны — иконки убираем, остаётся только текст */
    .services-tabs .nav-link {
        font-size: 0.8rem;
        padding: 10px 6px;
    }
    .services-tabs .nav-link i {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}