
/* =========================================
   1. ШРИФТЫ И ПЕРЕМЕННЫЕ (THEME VARIABLES)
   ========================================= */
@font-face {
    font-family: 'Bebas Neue';
    src: local('Bebas Neue Book'), local('BebasNeue-Regular');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Шрифты */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Фоны (Backgrounds) */
    --bg-body: #1a1a1a;
    --bg-page: #1e1e1e;
    --bg-card: #252525;
    --bg-element: #2a2a2a;
    --bg-element-dark: #333;

    /* Текст (Text Colors) */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --text-muted-light: #bbbbbb;
    --text-dark: #888888;
    --text-inverse: #000000;

    /* Акцентные цвета (Brand / Accent) */
    --accent-primary: #c8e630;
    --accent-hover: #d4f040;
    --accent-rgba-30: rgba(200, 230, 48, 0.3);
    --accent-rgba-15: rgba(200, 230, 48, 0.15);
    --accent-rgba-10: rgba(200, 230, 48, 0.1);
    --accent-rgba-08: rgba(200, 230, 48, 0.08);
    --accent-rgba-05: rgba(200, 230, 48, 0.05);
    --accent-rgba-02: rgba(200, 230, 48, 0.02);
    --accent-rgba-20: rgba(200, 230, 48, 0.2);
    --accent-rgba-50: rgba(200, 230, 48, 0.5);
    --accent-rgba-25: rgba(200, 230, 48, 0.25);
    --accent-rgba-00: rgba(200, 230, 48, 0);
    /* Границы (Borders) */
    --border-subtle: #2a2a2a;
    --border-default: #3a3a3a;
    --border-dark: #444444;

}

/* =========================================
   2. СБРОС И БАЗОВЫЕ СТИЛИ (RESET & BASE)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   3. ТИПОГРАФИКА (TYPOGRAPHY)
   ========================================= */
/* Все заголовки, крупные цифры и акценты — Bebas Neue */
.hero-title,
.card-number,
.team-bg-text,
.result-bg-text,
.stats-bg-text,
.section-label .label-title,
.why-header .why-title,
.cases-header .cases-title,
.about-center .name,
.expert-details .name,
.search-text-right .text,
.stat-big .stat-number,
.team-title,
.result-title,
.audit-form-title,
.stats-title,
.why-card-title,
.case-card-title,
.hero-subtitle,
.hero-subtitle-secondary,
.audit-left .audit-title {
    font-family: var(--font-display);
    letter-spacing: 2px;
}

/* =========================================
   4. ЛЕЙАУТ (LAYOUT)
   ========================================= */
.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-page);
    min-height: 100vh;
    border: 1px solid var(--accent-rgba-30);
    border-radius: 12px;
}

/* =========================================
   5. ШАПКА И НАВИГАЦИЯ (HEADER & NAVIGATION)
   ========================================= */
/* ===== TOP BAR ===== */
.top-bar {
    text-align: right;
    padding: 15px 40px;
    font-size: 13px;
    color: var(--text-dark);
    background: var(--bg-body);
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.logo .brand-name {
    color: var(--accent-primary);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo .brand-sub {
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-consult {
    background: var(--accent-primary);
    color: var(--text-inverse);
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: var(--font-body);
}

.btn-consult:hover {
    background: var(--accent-hover);
}

/* =========================================
   6. HERO СЕКЦИЯ (HERO SECTION)
   ========================================= */
.hero {
    padding: 40px 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 160px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.hero-subtitle .highlight {
    color: var(--accent-primary);
}

.hero-subtitle-secondary {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hero-tag {
    background: var(--bg-element);
    border: 1px solid var(--border-default);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-tag.active {
    background: var(--accent-primary);
    color: var(--text-inverse);
    border-color: var(--accent-primary);
    font-weight: 600;
}

/* =========================================
   7. ВИЗУАЛИЗАЦИЯ ПОИСКА (SEARCH VISUAL)
   ========================================= */
.search-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px 40px;
    position: relative;
}

.search-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-orb {
    width: 350px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-image {
    max-width: 220%;
    position: relative;
    top: 50%;
}

.orb-core {
    width: 280px;
    height: 240px;
}

.orb-core::before {
    content: 'SEO';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15); /* Оставил rgba, так как это специфичная прозрачность текста */
    letter-spacing: 5px;
}

.orb-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 280px;
}

.orb-ring {
    position: absolute;
    border: 1px solid var(--accent-rgba-15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orb-ring:nth-child(1) { width: 100%; height: 85%; }
.orb-ring:nth-child(2) { width: 85%; height: 72%; }
.orb-ring:nth-child(3) { width: 70%; height: 60%; }
.orb-ring:nth-child(4) { width: 55%; height: 48%; }
.orb-ring:nth-child(5) { width: 40%; height: 36%; }
.orb-ring:nth-child(6) { width: 25%; height: 24%; }

.search-text-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

.search-text-right .number {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-primary);
}

.search-text-right .text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.expert-info {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.expert-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-element-dark);
    overflow: hidden;
    border: 2px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.expert-details .name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expert-details .desc {
    font-size: 11px;
    color: var(--text-dark);
    line-height: 1.4;
    max-width: 180px;
}

/* =========================================
   8. МЕТКА СЕКЦИИ (SECTION LABEL)
   ========================================= */
.section-label {
    padding: 10px 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-label .label-tag {
    background: var(--accent-primary);
    color: var(--text-inverse);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label .label-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   9. СЕКЦИЯ РОСТА (GROWTH SECTION)
   ========================================= */
.growth-section {
    padding: 20px 40px 40px;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.growth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 25px 20px;
    position: relative;
    min-height: 130px;
}

.growth-card .g-icon {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.growth-card .g-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.growth-card .g-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================
   10. СЕКЦИЯ РЕЗУЛЬТАТОВ (RESULT SECTION)
   ========================================= */
.result-section {
    padding: 40px;
    position: relative;
}

.result-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-weight: 900;
    color: var(--bg-card); /* #252525 заменен на переменную фона карточки для мягкого контраста */
    letter-spacing: 10px;
    z-index: 0;
    white-space: nowrap;
}

.result-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.result-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.result-title .highlight {
    color: var(--accent-primary);
}

.result-text {
    font-size: 15px;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.result-cta {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--text-inverse);
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.result-cta:hover {
    background: var(--accent-hover);
}

/* =========================================
   11. СЕКЦИЯ АУДИТА И ФОРМЫ (AUDIT & FORM SECTION)
   ========================================= */
.audit-section {
    padding: 40px;
    position: relative;
}

.audit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* --- Левая часть: Заголовки и превью --- */
.audit-left .audit-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.audit-left .audit-title .highlight {
    color: var(--accent-primary);
}

.audit-left .audit-subtitle {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.audit-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 25px;
    position: relative;
}

.audit-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-default);
}

.audit-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.audit-preview-dot.red { background: var(--status-bad); }
.audit-preview-dot.yellow { background: var(--status-warn); }
.audit-preview-dot.green { background: var(--status-good); }

.audit-preview-url {
    font-size: 12px;
    color: var(--text-dark);
    margin-left: 10px;
}

.audit-preview-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audit-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-element);
}

.audit-metric-label {
    font-size: 12px;
    color: var(--text-muted);
}

.audit-metric-value {
    font-size: 14px;
    font-weight: 700;
}

.audit-metric-value.good { color: var(--status-good); }
.audit-metric-value.warn { color: var(--status-warn); }
.audit-metric-value.bad { color: var(--status-bad); }

.audit-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-element-dark);
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.audit-progress-fill {
    height: 100%;
    border-radius: 3px;
}

.audit-progress-fill.good { background: var(--status-good); width: 92%; }
.audit-progress-fill.warn { background: var(--status-warn); width: 65%; }
.audit-progress-fill.bad { background: var(--status-bad); width: 35%; }

/* --- Правая часть: Форма --- */
.audit-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 30px;
}

.audit-form-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
}

.audit-form-subtitle {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group label .required {
    color: var(--accent-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 11px;
    color: var(--text-dark);
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--accent-primary);
    text-decoration: none;
}

.form-checkbox label a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    background: var(--accent-primary);
    color: var(--text-inverse);
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.3s;
    margin-top: 5px;
}

.form-submit:hover {
    background: var(--accent-hover);
}

/* =========================================
   12. ВСТРАИВАНИЕ ВИДЕО (VIDEO EMBEDDING)
   ========================================= */
.video-mockup-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-darker);
    aspect-ratio: 16 / 9; /* Соотношение сторон видео */
    margin-bottom: 20px;
    border: 1px solid var(--border-default);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.video-mockup-wrapper:hover .video-bg-image {
    opacity: 0.6;
}

/* Кнопка Play */
.video-play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-inverse);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(200, 230, 48, 0.4); /* Оставил rgba для специфичного свечения */
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 4px; /* визуальное выравнивание треугольника */
}

.video-mockup-wrapper:hover .video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(200, 230, 48, 0.6);
}

/* Кружок с "экспертом" в углу (Loom style) */
.expert-bubble {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 10;
    border: 2px solid var(--accent-primary);
}

.expert-bubble img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* Пульсирующий эффект вокруг эксперта */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    z-index: 1;
    animation: pulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Компактная сетка метрик под видео */
.audit-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Немного подправим ваши стили метрик для компактности */
.audit-metrics-grid .audit-metric {
    padding: 0 0 5px 0;
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.audit-metrics-grid .audit-progress-bar {
    height: 4px;
}
/* =========================================
   13. СЕКЦИЯ "ПОЧЕМУ МЫ" (WHY US SECTION)
   ========================================= */
.why-section {
    padding: 40px;
    position: relative;
}

.why-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-header .why-label {
    font-size: 12px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-header .why-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.why-header .why-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.why-card:hover {
    border-color: var(--accent-primary);
}

.why-card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: var(--bg-element);
    line-height: 1;
}

.why-card-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-rgba-10, rgba(200, 230, 48, 0.1));
    border: 1px solid var(--accent-rgba-30);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.why-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.why-card-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   14. СЕКЦИЯ КЕЙСОВ (CASES SECTION)
   ========================================= */
.cases-section {
    padding: 40px;
    position: relative;
}

.cases-header {
    text-align: center;
    margin-bottom: 40px;
}

.cases-header .cases-label {
    font-size: 12px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cases-header .cases-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cases-header .cases-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.case-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.case-card-img {
    width: 100%;
    height: 200px;
    background: var(--bg-element-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-card-img .case-emoji {
    font-size: 60px;
}

.case-card-img .case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
}

.case-card-img .case-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-primary);
    color: var(--text-inverse);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.case-card-body {
    padding: 20px;
}

.case-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.case-card-result {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.case-card-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.case-card-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.case-card-link:hover {
    color: var(--accent-hover);
}

.case-card-link::after {
    content: ' →';
}

/* =========================================
   15. ПОДВАЛ (FOOTER)
   ========================================= */
.footer {
    padding: 30px 40px;
    border-top: 1px solid var(--bg-element);
    text-align: center;
    font-size: 12px;
    color: var(--text-dark);
}

/* =========================================
   16. ФОНОВЫЕ ЭФФЕКТЫ (BACKGROUND EFFECTS)
   ========================================= */
/* Свечения по углам */
body::before {
    content: '';
    position: fixed;
    top: -300px;
    left: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-rgba-08, rgba(200, 230, 48, 0.08)) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-rgba-05, rgba(200, 230, 48, 0.05)) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 25s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(100px, 50px); }
}

/* Сетка */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--accent-rgba-02, rgba(200, 230, 48, 0.02)) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-rgba-02, rgba(200, 230, 48, 0.02)) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Зернистость */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* =========================================
   17. АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================= */
@media (max-width: 900px) {
    .hero-title { font-size: 80px; }
    .cards-section { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-center { grid-row: auto; grid-column: auto; }
    .growth-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .audit-container { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    
    .search-text-right { 
        position: static; 
        transform: none; 
        text-align: center; 
        margin-top: 20px; 
    }
    
    .expert-info { 
        position: static; 
        transform: none; 
        margin-bottom: 20px; 
    }
    
    .search-container { 
        flex-direction: column; 
    }
}

@media (max-width: 600px) {
    .hero-title { font-size: 50px; }
    .hero-subtitle, .hero-subtitle-secondary { font-size: 16px; }
    .cards-section { grid-template-columns: 1fr; }
    .growth-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .navbar { padding: 15px 20px; }
    
    .hero, .cards-section, .about-section, .growth-section, 
    .result-section, .team-section, .audit-section, 
    .stats-section, .why-section, .cases-section { 
        padding-left: 20px; 
        padding-right: 20px; 
    }
    
    .nav-links { display: none; }
    .why-header .why-title, .cases-header .cases-title { font-size: 24px; }
    .stat-big .stat-number { font-size: 60px; }
}

/* =========================================
   18. СЕКЦИЯ КАРТОЧЕК (CARDS SECTION)
   ========================================= */
.cards-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px 40px 50px;
}

.cards-section .card {
    border-radius: 12px;
    padding: 25px 20px 30px;
    position: relative;
    min-height: 160px;
    display: flex;
    align-items: center;
    overflow: visible;
    background: transparent;
    border: none;
    flex-direction: row;
}

/* SVG рамка — растягивается на весь блок */
.card-border-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-color: var(--bg-page); /* #1F1F1F заменено на переменную */
}

.card-number {
    font-size: 13rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    top: 50%;
    letter-spacing: -5.9px;
    left: 0px;
    transform: translateY(-50%);
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
    padding-left: 10px;
}

.card-dot {
    width: 18%;
    height: 26%;
    background: var(--accent-primary);
    border-radius: 6px;
    position: absolute;
    bottom: -1px;
    right: 0px;
    z-index: 2;
    box-shadow: 0 2px 8px var(--accent-rgba-30);
}

/* =========================================
   19. СЕКЦИЯ "ОБ ЭКСПЕРТЕ" (ABOUT SECTION)
   ========================================= */
.about-section {
    padding: 80px 40px 40px;
    position: relative;
}

.about-container {
    display: grid;
    /* 3 колонки: левая (гибкая), центр (под размер фото ~320px + отступы), правая (гибкая) */
    grid-template-columns: 1fr 320px 1fr;
    /* 3 ряда: верх, середина, низ */
    grid-template-rows: auto auto auto;
    gap: 20px 50px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Центральное фото занимает всю среднюю колонку и все 3 ряда */
.about-center {
    grid-column: 2;
    grid-row: 1 / 4;
    z-index: 2; /* Поверх карточек для эффекта наложения */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.about-center-img {
    width: 320px;
    height: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 20px;
}

.about-center .name {
    font-size: 28px;
    font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.about-center .role {
    font-size: 13px;
    color: var(--text-dark);
}

/* ===== КАРТОЧКИ ABOUT ===== */
.about-card {
    position: relative; /* ВАЖНО: убираем absolute */
    padding: 40px 25px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    z-index: 1; /* Под центральным фото */
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

/* Тёмные карточки */
.about-card:not(.light) {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    color: var(--text-muted);
}

/* Светлые карточки */
.about-card.light {
    background: #e8e8e8;
    border: 1px solid #ddd;
    color: #333;
}

/* ===== ПРИВЯЗКА К ЯЧЕЙКАМ GRID ===== */
/* Левая сторона: прижимаем к правому краю ячейки (к центру) */
.card-tl {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    max-width: 100%;
}

.card-ml {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    max-width: 300px;
}

.card-bl {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    max-width: 250px;
}

/* Правая сторона: прижимаем к левому краю ячейки (к центру) */
.card-tr {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    max-width: 100%;
}

.card-mr {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    max-width: 250px;
}

.card-br {
    grid-column: 3;
    grid-row: 3;
    justify-self: start;
    align-self: start;
    max-width: 250px;
}

/* =========================================
   20. СЕКЦИЯ КОМАНДЫ (TEAM SECTION)
   ========================================= */
.team-section {
    position: relative;
    padding: 40px;
}

.team-wrapper {
    position: relative;
    background: var(--bg-page); /* #222 заменено на переменную */
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 50px 40px 40px;
    overflow: hidden;
}

/* Огромный фоновый текст */
.team-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 400px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 20px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

/* Заголовок */
.team-title {
    position: relative;
    z-index: 1;
    font-size: 39px;
    font-weight: 600;
    color: var(--accent-primary);
    text-align: end;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Сетка */
.team-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 700px;
    margin: 0 0 auto auto;
}

/* Карточка специалиста */
.team-member {
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-element);
    border: 1px solid var(--border-default);
    margin-bottom: 12px;
    transition: all 0.3s;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.team-member:hover .team-photo {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

.team-role {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* =========================================
   21. АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================= */
@media (max-width: 900px) {
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .about-center {
        grid-column: 1;
        grid-row: 1;
        order: -1; /* Фото всегда первое на мобильных */
        margin-top: 0;
    }

    .about-card {
        grid-column: 1 !important;
        grid-row: auto !important;
        justify-self: stretch !important; /* Растягиваем на всю ширину */
        align-self: stretch !important;
        max-width: 100% !important; /* Сбрасываем max-width для мобилок */
    }
}

@media (max-width: 700px) {
    .team-bg-text {
        font-size: 140px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-title {
        font-size: 18px;
    }

    .team-wrapper {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 600px) {
    .cards-section {
        grid-template-columns: 1fr;
    }

    .about-center-img {
        width: 220px;
        height: 220px; /* Сделал квадратным для гармонии на мобильных */
    }

    .about-center .name {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .team-bg-text {
        font-size: 100px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* =========================================
   22. СЕКЦИЯ СТАТИСТИКИ И РЕЗУЛЬТАТОВ (STATS & RESULTS SECTION)
   ========================================= */
.stats-section {
    padding: 40px;
    position: relative;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: var(--bg-card); /* #252525 заменено на переменную фона карточки для мягкого контраста */
    letter-spacing: 5px;
    z-index: 0;
    white-space: nowrap;
}

.stats-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.stats-left .stats-label {
    font-size: 12px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.stats-left .stats-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.stats-left .stats-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.stats-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-big {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
}

.stat-big .stat-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-big .stat-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-big .stat-sublabel {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 5px;
}

.stat-tech {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
}

.stat-tech-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-tech-text .tech-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.stat-tech-text .tech-desc {
    font-size: 12px;
    color: var(--text-dark);
}

/* =========================================
   23. СЛАЙДЕР РЕЗУЛЬТАТОВ (RESULTS SLIDER)
   ========================================= */
.results-slider {
    position: relative;
    margin-top: 60px;
    z-index: 2;
}

/* Окно просмотра — обрезает всё, что за пределами */
.slider-viewport {
    overflow: hidden;
    border-radius: 12px;
}

/* Трек — двигается через translateX */
.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Один слайд = 3 карточки в ряд */
.slider-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    min-width: 100%;
    flex-shrink: 0;
    padding-top: 10px;
}

/* Стрелки — absolute, не влияют на размер блоков */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-primary);
    color: var(--text-inverse);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* Точки навигации */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: var(--border-default);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--accent-primary);
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
}

/* =========================================
   24. КАРТОЧКИ РЕЗУЛЬТАТОВ (RESULT CARDS)
   ========================================= */
.result-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
    border: 1px solid var(--border-default);
    background: var(--bg-card);
    aspect-ratio: 16/10;
}

.result-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.result-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--accent-rgba-20, rgba(200, 230, 48, 0.2));
    border-color: var(--accent-primary);
}

.result-item:hover img {
    transform: scale(1.05);
}

.result-item:hover .result-overlay {
    transform: translateY(0);
}

/* Кнопка показать все */
.btn-show-all {
    margin-top: 30px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-show-all:hover {
    background: var(--accent-primary);
    color: var(--text-inverse);
}

/* =========================================
   25. ЛАЙТБОКС (LIGHTBOX)
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Специфичный оверлей, оставляем как есть */
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 48px;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--accent-primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-rgba-20, rgba(200, 230, 48, 0.2));
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-primary);
    color: var(--text-inverse);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    font-size: 16px;
    text-align: center;
}

/* =========================================
   26. АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================= */
@media (max-width: 900px) {
    .slider-slide {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev { left: -10px; }
    .slider-next { right: -10px; }
    
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

/* =========================================
   27. СЕКЦИЯ ШАГОВ (7 STEPS SECTION)
   ========================================= */
.steps-section {
    padding: 60px 40px;
    position: relative;
}

.steps-header {
    margin-bottom: 50px;
}

.steps-title {
    font-size: 80px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 3px;
    margin-bottom: 5px;
    line-height: 1;
}

.steps-subtitle {
    font-size: 16px;
    color: var(--text-dark);
    font-style: italic;
}

/* --- Timeline --- */
.steps-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 4px;
    background: var(--bg-element);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-hover));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.step-label.bottom {
    margin-bottom: 0;
    margin-top: 15px;
}

.step-num {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.step-name {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.timeline-step:hover .step-name,
.timeline-step.active .step-name {
    color: var(--accent-primary);
}

.step-dot {
    width: 20px;
    height: 20px;
    background: var(--bg-element);
    border: 3px solid var(--border-default);
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
}

.step-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--border-dark);
    border-radius: 50%;
    transition: all 0.3s;
}

.timeline-step.active .step-dot {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-rgba-50, rgba(200, 230, 48, 0.5));
}

.timeline-step.active .step-dot::after {
    background: var(--text-inverse);
}

.timeline-step:hover .step-dot {
    border-color: var(--accent-primary);
}

/* --- Step Card --- */
.steps-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.steps-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--bg-page);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.card-nav {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(30, 30, 30, 0.8); /* Оставил rgba — специфичная полупрозрачность */
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--accent-primary);
    color: var(--text-inverse);
    border-color: var(--accent-primary);
}

/* --- Step Panels --- */
.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-right: 60px;
}

.card-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    flex-shrink: 0;
    transition: all 0.4s;
}

.card-text {
    flex: 1;
}

.card-step-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.card-step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-actions {
    border-top: 1px solid var(--border-default);
    padding-top: 30px;
}

.actions-title {
    font-size: 20px;
    font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.action-item {
    font-size: 13px;
    color: var(--text-muted-light);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.action-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* =========================================
   28. СЕКЦИЯ УСЛУГ-КРУГ (CIRCLE SERVICES SECTION)
   ========================================= */
.circle-section {
    position: relative;
    overflow: hidden;
}

.circle-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-rgba-03, rgba(200, 230, 48, 0.03)) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.circle-header {
    text-align: center;
    margin-bottom: 50px;
}

.circle-title {
    font-size: 64px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.circle-subtitle {
    font-size: 16px;
    color: var(--text-dark);
}

/* --- Topic Tags --- */
.topic-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.topic-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.topic-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.tag-close {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1;
}

/* --- Circle Container --- */
.circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle-wrapper {
    position: relative;
    width: 700px;
    height: 700px;
    max-width: 100%;
}

.circle-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* --- Center Link --- */
.center-link {
    cursor: pointer;
}

.center-circle {
    transition: all 0.4s;
}

.center-link:hover .center-circle {
    stroke-width: 3;
    filter: drop-shadow(0 0 25px var(--accent-rgba-60, rgba(200, 230, 48, 0.6)));
}

.center-text-main,
.center-text-sub {
    pointer-events: none;
    user-select: none;
}

/* --- Service Links --- */
.service-link {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 25px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: 
        rotate(var(--angle)) 
        translate(var(--radius)) 
        rotate(calc(-1 * var(--angle)));
}

.service-link:hover {
    border-color: var(--accent-primary);
    background: var(--bg-element);
    transform: 
        rotate(var(--angle)) 
        translate(var(--radius)) 
        rotate(calc(-1 * var(--angle)))
        scale(1.1);
    box-shadow: 0 8px 30px var(--accent-rgba-25, rgba(200, 230, 48, 0.25));
    z-index: 10;
}

.service-icon {
    font-size: 16px;
    color: var(--accent-primary);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.service-name {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    transition: color 0.3s;
}

.service-link:hover .service-name {
    color: var(--accent-primary);
}

/* --- Tooltip --- */
.service-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 20px;
    min-width: 260px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 20;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.service-tooltip.active {
    opacity: 1;
}

.tooltip-title {
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.tooltip-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================
   29. АНИМАЦИИ (ANIMATIONS)
   ========================================= */
@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { r: 110; opacity: 0.3; }
    50% { r: 120; opacity: 0.1; }
}

@keyframes dotPulse {
    0%, 100% { filter: drop-shadow(0 0 0px var(--accent-rgba-00, rgba(200, 230, 48, 0))); }
    50% { filter: drop-shadow(0 0 8px var(--accent-rgba-60, rgba(200, 230, 48, 0.6))); }
}

.rotating-ring {
    animation: rotateRing 40s linear infinite;
    transform-origin: 350px 350px;
}

.center-glow {
    animation: pulse 3s ease-in-out infinite;
}

/* Пульсация всех 9 точек с задержкой для эффекта "бегущей волны" */
.dot {
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0.0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
.dot:nth-child(4) { animation-delay: 0.6s; }
.dot:nth-child(5) { animation-delay: 0.8s; }
.dot:nth-child(6) { animation-delay: 1.0s; }
.dot:nth-child(7) { animation-delay: 1.2s; }
.dot:nth-child(8) { animation-delay: 1.4s; }
.dot:nth-child(9) { animation-delay: 1.6s; }

/* =========================================
   30. АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================= */
@media (max-width: 900px) {
    .steps-title {
        font-size: 60px;
    }
    
    .step-name {
        display: none;
    }
    
    .card-content {
        flex-direction: column;
    }
    
    .actions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .circle-title {
        font-size: 40px;
    }
    
    .circle-wrapper {
        width: 500px;
        height: 500px;
    }
    
    .service-link {
        --radius: 210px !important;
        padding: 8px 12px;
    }
    
    .service-name {
        font-size: 11px;
    }
    
    .service-icon {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .steps-title {
        font-size: 48px;
    }
    
    .steps-card {
        padding: 25px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .card-step-title {
        font-size: 24px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-step {
        flex: 0 0 auto;
    }
}

@media (max-width: 550px) {
    .circle-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .service-link {
        --radius: 145px !important;
        padding: 6px 10px;
    }
    
    .service-name {
        font-size: 9px;
    }
    
    .service-icon {
        font-size: 12px;
        width: 16px;
    }
}

/* =========================================
   31. НОВЫЙ ХЕДЕР И МЕГА-МЕНЮ УСЛУГ
   ========================================= */

/* --- Шапка сайта --- */
.site-header {
    position: relative;
    z-index: 9999 !important;
}

.main-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-default);
    gap: 20px;
}

.header-nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.header-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav-links a:hover {
    color: var(--text-primary);
}

.header-nav-links .highlight-link {
    color: var(--accent-primary);
}

/* Кнопка "Все услуги" */
.services-trigger {
    background: transparent;
    border: 1px solid var(--accent-primary);
    border-radius: 30px;
    color: var(--text-primary);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.services-trigger:hover,
.services-trigger.active {
    background: var(--accent-primary);
    color: var(--text-inverse);
}

.trigger-icon {
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s;
}

.services-trigger.active .trigger-icon {
    transform: rotate(45deg); /* Превращается в крестик */
}

/* --- Мега-меню услуг --- */
.services-mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 40px;
    right: 40px;
    max-width: 1200px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9998 !important;
    overflow: hidden;
}

.services-mega-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 420px;
}

/* --- Левая колонка: Категории --- */
.mega-categories {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-default);
    padding: 20px 0;
}

.category-btn {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    padding: 18px 30px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.category-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.category-btn.active {
    color: var(--text-primary);
    background: rgba(200, 230, 48, 0.08);
    border-left-color: var(--accent-primary);
}

.cat-arrow {
    font-size: 18px;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

.category-btn:not(.active) .cat-arrow {
    color: var(--border-default);
}

/* --- Правая часть: Контент --- */
.mega-content-area {
    position: relative;
    padding: 30px 40px;
}

.category-panel {
    display: none;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    animation: fadeInPanel 0.3s ease;
}

.category-panel.active {
    display: grid;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Сетка услуг в 2 колонки */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 30px;
    align-content: start;
}

.service-link-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 18px;
}

.service-link-item::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.service-link-item:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.service-link-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.service-link-item.disabled {
    color: var(--text-dark);
    cursor: default;
}

/* Промо-карточка */
.mega-promo-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
}

.mega-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(200, 230, 48, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

.promo-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--text-inverse);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.promo-heading {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.promo-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- Адаптивность --- */
@media (max-width: 900px) {
    .main-navbar {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .header-nav-links {
        display: none; /* На мобильном скрываем обычные ссылки */
    }
    
    .services-mega-menu {
        left: 20px;
        right: 20px;
    }
    
    .mega-menu-inner {
        grid-template-columns: 1fr;
    }
    
    .mega-categories {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--border-default);
        overflow-x: auto;
        padding: 15px;
    }
    
    .category-btn {
        white-space: nowrap;
        padding: 12px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .category-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent-primary);
    }
    
    .category-panel {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   32. ФОНОВЫЕ ЭФФЕКТЫ (BACKGROUND EFFECTS)
   ========================================= */

/* Паттерн точек */
.dots-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(200, 230, 48, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Сетка */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(200, 230, 48, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 230, 48, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Зернистость (шум) */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Свечения по углам */
body::before {
    content: '';
    position: fixed;
    top: -300px;
    left: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(200, 230, 48, 0.08) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(200, 230, 48, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 25s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(100px, 50px); }
}