/* ==========================================================================
   1. БАЗОВЫЙ СБРОС И ПЕРЕМЕННЫЕ (ЧТОБЫ НИЧЕГО НЕ ЕХАЛО)
   ========================================================================== */
:root {
    --bg-main: #0B0F19;         /* Глубокий темный премиум фон */
    --bg-surface: #131A2C;      /* Цвет карточек */
    --border: #1E293B;          /* Тонкие стильные границы */
    --primary: #00E5FF;         /* Неоновый голубой акцент */
    --primary-glow: rgba(0, 229, 255, 0.2);
    --text-light: #F8FAFC;      /* Белый читаемый текст */
    --text-muted: #94A3B8;      /* Серый понятный текст */
    --radius-box: 16px;
    --bezier: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Защита от вылезания элементов за края */
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    overflow-x: hidden; /* Блокирует горизонтальный скролл на мобильных */
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--bezier);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.3s var(--bezier);
}

/* ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.section-title.text-left {
    text-align: left;
}

/* ==========================================================================
   2. СВЕТЯЩИЕСЯ СФЕРЫ НА ФОНЕ
   ========================================================================== */
.orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.orb-1 { top: 10%; left: -10%; }
.orb-2 { top: 40%; right: -10%; }
.orb-3 { bottom: 10%; left: 20%; }

/* ==========================================================================
   3. ШАПКА САЙТА (HEADER)
   ========================================================================== */
header {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Кнопки переключения RU / KZ */
.language {
    display: flex;
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 8px;
}

.language button {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    color: var(--text-muted);
}

.language button.active {
    background: var(--primary);
    color: var(--bg-main);
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Бургер меню */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
}

.burger span {
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   4. ГЛАВНЫЙ ЭКРАН (HERO)
   ========================================================================== */
.hero {
    padding: 80px 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-label i {
    color: var(--primary);
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-main);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-light);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.statistics {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.stat-item strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Интерактивный визуал справа */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-card {
    position: relative;
    max-width: 480px;
}

.image-card img {
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.floating-card {
    position: absolute;
    background: rgba(19, 26, 44, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.floating-card i {
    color: var(--primary);
}

.card-one { top: 15%; left: -40px; }
.card-two { bottom: 15%; right: -30px; }

/* ==========================================================================
   5. БЛОК СИГНАЛОВ ПОЛОМКИ (SIGNALS)
   ========================================================================== */
.signals {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.signal-card {
    background: var(--bg-surface);
    padding: 35px;
    border-radius: var(--radius-box);
    border: 1px solid var(--border);
    transition: all 0.4s var(--bezier);
}

.signal-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.signal-card i {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.signal-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.signal-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.text-red { color: #EF4444; }
.text-blue { color: #3B82F6; }
.text-green { color: #10B981; }
.text-yellow { color: #F59E0B; }

/* ==========================================================================
   6. О БЛОКЕ «ОБО МНЕ» (ABOUT)
   ========================================================================== */
.about {
    padding: 100px 0;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image, .about-content {
    flex: 1;
}

.border-glow-box img {
    border-radius: 24px;
    border: 1px solid var(--border);
}

.about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-box);
    border: 1px solid var(--border);
}

.benefit-item i {
    font-size: 22px;
    color: var(--primary);
    margin-top: 3px;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 14px;
}

/* ==========================================================================
   7. УСЛУГИ И ЦЕНЫ (SERVICES)
   ========================================================================== */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.price-table-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px 40px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price-info {
    flex: 0 1 60%;
}

.price-info strong {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.price-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.price-dots {
    flex: 1;
    border-bottom: 2px dotted var(--border);
    margin: 0 20px;
    align-self: flex-end;
    margin-bottom: 8px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ==========================================================================
   8. ИНСТРУМЕНТЫ (EQUIPMENT)
   ========================================================================== */
.equipment {
    padding: 100px 0;
}

.anatomy-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.anatomy-grid {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.anatomy-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius-box);
    display: flex;
    gap: 20px;
}

.step-num {
    width: 44px;
    height: 44px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.anatomy-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.anatomy-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.anatomy-visual {
    flex: 0.8;
}

.blueprint-card img {
    border-radius: 24px;
    border: 1px solid var(--border);
}

/* ==========================================================================
   9. ЭТАПЫ РАБОТЫ (STEPS)
   ========================================================================== */
.steps {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.steps-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}

.step {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius-box);
    position: relative;
}

.step .number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   10. ОТЗЫВЫ (REVIEWS)
   ========================================================================== */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius-box);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.review-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.review-header span {
    color: var(--primary);
    font-size: 14px;
    display: block;
}

.review-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================================================
   11. ВОПРОСЫ (FAQ)
   ========================================================================== */
.faq {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.faq-box {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--bezier);
    padding: 0 25px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    padding-bottom: 20px;
}

/* Стили для открытого FAQ */
.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* ==========================================================================
   12. КОНТАКТЫ И ФОРМА (CONTACTS)
   ========================================================================== */
/* ==========================================================================
   12. КОНТАКТЫ И ФОРМА (CONTACTS)
   ========================================================================== */
.contacts {
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 0; /* Защита от выталкивания элементов за края */
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card i {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 16px;
    font-weight: 700;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input, .contact-form textarea {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.contact-form textarea {
    height: 110px;
    resize: none;
}

.contact-form button {
    width: 100%;
    justify-content: center;
}

/* ФИКС ДЛЯ МОБИЛОК: Выстраиваем контакты в один столбец, чтобы не ломали футер */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column !important;
        padding: 30px 20px !important;
        gap: 30px !important;
    }
    
    .contact-card {
        justify-content: flex-start;
        text-align: left;
    }
}
/* ==========================================================================
   13. ПОДВАЛ (FOOTER)
   ========================================================================== */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    font-size: 12px;
}

/* ==========================================================================
  /* ==========================================================================
  /* ==========================================================================
   14. АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ (RESPONSIVE)
   ========================================================================== */

/* Общие правила для планшетов и экранов поменьше */
@media (max-width: 992px) {
    /* Принудительно запрещаем элементам растягивать экран вбок */
    html, body {
        overflow-x: hidden !important;
        position: relative;
    }

    .container {
        max-width: 100% !important;
        padding: 0 20px;
    }

    .hero-wrapper {
        flex-direction: column !important; /* Строго в один столбец */
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        order: 1; /* Текст всегда ПЕРВЫЙ */
        width: 100%;
    }

    .hero-image {
        order: 2; /* Картинка всегда ВТОРАЯ (снизу) */
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    /* Ограничиваем размер карточки с логотипом, чтобы она не была гигантской */
    .image-card {
        width: 100%;
        max-width: 320px; /* Идеальный размер для мобильного экрана */
        margin: 0 auto;
        position: relative;
    }

    .image-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Полностью сбрасываем абсолютные координаты плашек, которые улетали вбок */
    .floating-card {
        position: static !important; /* Превращаем их в обычные блочные элементы */
        margin: 12px auto !important;
        width: calc(100% - 20px) !important;
        max-width: 280px;
        justify-content: center;
    }

    .price-table-wrapper {
        padding: 10px 20px;
    }
    
    .price-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .price-dots {
        display: none !important; /* Убираем точки, ломающие разметку */
    }

    .contact-card {
        justify-content: center;
        text-align: left;
    }
}

/* Правила строго для мобильных телефонов */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-main);
        padding: 40px;
        transition: 0.4s ease;
        border-top: 1px solid var(--border);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav a {
        font-size: 18px;
    }

    .header-actions .whatsapp-btn {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .statistics {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}
/* Если убрали картинку из "Обо мне", растягиваем текст на всю ширину */
.about-wrapper {
    display: block; /* Меняем flex на обычный блок */
    max-width: 800px; /* Ограничиваем ширину, чтобы текст не растягивался в одну бесконечную строку */
    margin: 0 auto; /* Центрируем блок на странице */
    text-align: center; /* Центрируем заголовки */
}

.about-content {
    width: 100%;
}

.about-benefits {
    text-align: left; /* Сами карточки преимуществ оставляем с выравниванием по левому краю */
    margin-top: 40px;
}

.callback-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   1. БАЗОВЫЙ СБРОС И ПЕРЕМЕННЫЕ (ЧТОБЫ НИЧЕГО НЕ ЕХАЛО)
   ========================================================================== */
:root {
    --bg-main: #0B0F19;         /* Глубокий темный премиум фон */
    --bg-surface: #131A2C;      /* Цвет карточек */
    --border: #1E293B;          /* Тонкие стильные границы */
    --primary: #00E5FF;         /* Неоновый голубой акцент */
    --primary-glow: rgba(0, 229, 255, 0.2);
    --text-light: #F8FAFC;      /* Белый читаемый текст */
    --text-muted: #94A3B8;      /* Серый понятный текст */
    --radius-box: 16px;
    --bezier: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Защита от вылезания элементов за края */
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    overflow-x: hidden; /* Блокирует горизонтальный скролл на мобильных */
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--bezier);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.3s var(--bezier);
}

/* ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.section-title.text-left {
    text-align: left;
}

/* ==========================================================================
   2. СВЕТЯЩИЕСЯ СФЕРЫ НА ФОНЕ
   ========================================================================== */
.orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.orb-1 { top: 10%; left: -10%; }
.orb-2 { top: 40%; right: -10%; }
.orb-3 { bottom: 10%; left: 20%; }

/* ==========================================================================
   3. ШАПКА САЙТА (HEADER)
   ========================================================================== */
header {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Кнопки переключения RU / KZ */
.language {
    display: flex;
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 8px;
}

.language button {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    color: var(--text-muted);
}

.language button.active {
    background: var(--primary);
    color: var(--bg-main);
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Бургер меню */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
}

.burger span {
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   4. ГЛАВНЫЙ ЭКРАН (HERO)
   ========================================================================== */
.hero {
    padding: 80px 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-label i {
    color: var(--primary);
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-main);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-light);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.statistics {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.stat-item strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Интерактивный визуал справа */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-card {
    position: relative;
    max-width: 480px;
}

.image-card img {
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.floating-card {
    position: absolute;
    background: rgba(19, 26, 44, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.floating-card i {
    color: var(--primary);
}

.card-one { top: 15%; left: -40px; }
.card-two { bottom: 15%; right: -30px; }

/* ==========================================================================
   5. БЛОК СИГНАЛОВ ПОЛОМКИ (SIGNALS)
   ========================================================================== */
.signals {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.signal-card {
    background: var(--bg-surface);
    padding: 35px;
    border-radius: var(--radius-box);
    border: 1px solid var(--border);
    transition: all 0.4s var(--bezier);
}

.signal-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.signal-card i {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.signal-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.signal-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.text-red { color: #EF4444; }
.text-blue { color: #3B82F6; }
.text-green { color: #10B981; }
.text-yellow { color: #F59E0B; }

/* ==========================================================================
   6. О БЛОКЕ «ОБО МНЕ» (ABOUT)
   ========================================================================== */
.about {
    padding: 100px 0;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image, .about-content {
    flex: 1;
}

.border-glow-box img {
    border-radius: 24px;
    border: 1px solid var(--border);
}

.about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-box);
    border: 1px solid var(--border);
}

.benefit-item i {
    font-size: 22px;
    color: var(--primary);
    margin-top: 3px;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 14px;
}

/* ==========================================================================
   7. УСЛУГИ И ЦЕНЫ (SERVICES)
   ========================================================================== */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.price-table-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px 40px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price-info {
    flex: 0 1 60%;
}

.price-info strong {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.price-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.price-dots {
    flex: 1;
    border-bottom: 2px dotted var(--border);
    margin: 0 20px;
    align-self: flex-end;
    margin-bottom: 8px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ==========================================================================
   8. ИНСТРУМЕНТЫ (EQUIPMENT)
   ========================================================================== */
.equipment {
    padding: 100px 0;
}

.anatomy-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.anatomy-grid {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.anatomy-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius-box);
    display: flex;
    gap: 20px;
}

.step-num {
    width: 44px;
    height: 44px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.anatomy-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.anatomy-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.anatomy-visual {
    flex: 0.8;
}

.blueprint-card img {
    border-radius: 24px;
    border: 1px solid var(--border);
}

/* ==========================================================================
   9. ЭТАПЫ РАБОТЫ (STEPS)
   ========================================================================== */
.steps {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.steps-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}

.step {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius-box);
    position: relative;
}

.step .number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   10. ОТЗЫВЫ (REVIEWS)
   ========================================================================== */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius-box);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.review-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.review-header span {
    color: var(--primary);
    font-size: 14px;
    display: block;
}

.review-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================================================
   11. ВОПРОСЫ (FAQ)
   ========================================================================== */
.faq {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.faq-box {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--bezier);
    padding: 0 25px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    padding-bottom: 20px;
}

/* Стили для открытого FAQ */
.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* ==========================================================================
   12. КОНТАКТЫ И ФОРМА (CONTACTS)
   ========================================================================== */
/* ==========================================================================
   12. КОНТАКТЫ И ФОРМА (CONTACTS)
   ========================================================================== */
.contacts {
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 0; /* Защита от выталкивания элементов за края */
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card i {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 16px;
    font-weight: 700;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input, .contact-form textarea {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.contact-form textarea {
    height: 110px;
    resize: none;
}

.contact-form button {
    width: 100%;
    justify-content: center;
}

/* ФИКС ДЛЯ МОБИЛОК: Выстраиваем контакты в один столбец, чтобы не ломали футер */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column !important;
        padding: 30px 20px !important;
        gap: 30px !important;
    }
    
    .contact-card {
        justify-content: flex-start;
        text-align: left;
    }
}
/* ==========================================================================
   13. ПОДВАЛ (FOOTER)
   ========================================================================== */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    font-size: 12px;
}

/* ==========================================================================
  /* ==========================================================================
  /* ==========================================================================
   14. АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ (RESPONSIVE)
   ========================================================================== */

/* Общие правила для планшетов и экранов поменьше */
@media (max-width: 992px) {
    /* Принудительно запрещаем элементам растягивать экран вбок */
    html, body {
        overflow-x: hidden !important;
        position: relative;
    }

    .container {
        max-width: 100% !important;
        padding: 0 20px;
    }

    .hero-wrapper {
        flex-direction: column !important; /* Строго в один столбец */
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        order: 1; /* Текст всегда ПЕРВЫЙ */
        width: 100%;
    }

    .hero-image {
        order: 2; /* Картинка всегда ВТОРАЯ (снизу) */
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    /* Ограничиваем размер карточки с логотипом, чтобы она не была гигантской */
    .image-card {
        width: 100%;
        max-width: 320px; /* Идеальный размер для мобильного экрана */
        margin: 0 auto;
        position: relative;
    }

    .image-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Полностью сбрасываем абсолютные координаты плашек, которые улетали вбок */
    .floating-card {
        position: static !important; /* Превращаем их в обычные блочные элементы */
        margin: 12px auto !important;
        width: calc(100% - 20px) !important;
        max-width: 280px;
        justify-content: center;
    }

    .price-table-wrapper {
        padding: 10px 20px;
    }
    
    .price-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .price-dots {
        display: none !important; /* Убираем точки, ломающие разметку */
    }

    .contact-card {
        justify-content: center;
        text-align: left;
    }
}

/* Правила строго для мобильных телефонов */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-main);
        padding: 40px;
        transition: 0.4s ease;
        border-top: 1px solid var(--border);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav a {
        font-size: 18px;
    }

    .header-actions .whatsapp-btn {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .statistics {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}
/* Если убрали картинку из "Обо мне", растягиваем текст на всю ширину */
.about-wrapper {
    display: block; /* Меняем flex на обычный блок */
    max-width: 800px; /* Ограничиваем ширину, чтобы текст не растягивался в одну бесконечную строку */
    margin: 0 auto; /* Центрируем блок на странице */
    text-align: center; /* Центрируем заголовки */
}

.about-content {
    width: 100%;
}

.about-benefits {
    text-align: left; /* Сами карточки преимуществ оставляем с выравниванием по левому краю */
    margin-top: 40px;
}

.callback-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-answer{
    display:none !important;
}

.faq-item.open .faq-answer{
    display:block !important;
}