/* style.css */
/* УСТАНАВЛИВАЕМ ТЕМНУЮ ТЕМУ ПО УМОЛЧАНИЮ */
:root {
    color-scheme: dark;
}

/* Принудительно устанавливаем темную тему для всего документа */
html, body {
    color-scheme: dark !important;
}

/* Удаляем все медиа-запросы для светлой темы если они есть */
@media (prefers-color-scheme: light) {
    /* Оставьте пустым или удалите */
}
/* Основные CSS-переменные для тем */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-primary-rgb: 59, 130, 246;
    --accent-secondary: #8b5cf6;
    --accent-secondary-rgb: 139, 92, 246;
    --accent-danger: #ef4444;
    --accent-danger-rgb: 239, 68, 68;
    --accent-success: #10b981;
    --accent-success-rgb: 16, 185, 129;
    --accent-warning: #f59e0b;
    --accent-warning-rgb: 245, 158, 11;
    --border-color: #475569;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(15, 23, 42, 0.95);
    --topbar-bg: #1e293b;
    --card-bg: #1e293b;
    --hero-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    --form-bg: rgba(255, 255, 255, 0.05);
    --table-bg: #1e293b;
    --table-border: #475569;
    --input-bg: rgba(255, 255, 255, 0.08);
    --input-border: rgba(255, 255, 255, 0.2);
    --input-text: #f1f5f9;
    --input-placeholder: rgba(255, 255, 255, 0.5);
    --modal-overlay: rgba(0, 0, 0, 0.7);
    --modal-bg: #1e293b;
    --section-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --cta-bg-pattern: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    --brick-color: rgba(255, 255, 255, 0.03);
}

/* Светлая тема */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-tertiary: #6c757d;
    --accent-primary: #0d6efd;
    --accent-primary-rgb: 13, 110, 253;
    --accent-secondary: #6610f2;
    --accent-secondary-rgb: 102, 16, 242;
    --accent-danger: #dc3545;
    --accent-danger-rgb: 220, 53, 69;
    --accent-success: #198754;
    --accent-success-rgb: 25, 135, 84;
    --accent-warning: #ffc107;
    --accent-warning-rgb: 255, 193, 7;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --topbar-bg: #f8f9fa;
    --card-bg: #ffffff;
    --hero-bg: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    --form-bg: rgba(0, 0, 0, 0.03);
    --table-bg: #ffffff;
    --table-border: #dee2e6;
    --input-bg: rgba(0, 0, 0, 0.05);
    --input-border: rgba(0, 0, 0, 0.15);
    --input-text: #212529;
    --input-placeholder: rgba(0, 0, 0, 0.5);
    --modal-overlay: rgba(0, 0, 0, 0.5);
    --modal-bg: #ffffff;
}

/* Общие стили с использованием переменных */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

main {
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== ГЕРОЙ СЕКЦИЯ ===== */
.hero-section {
    padding: 120px 0 80px;
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(59, 130, 246, 0.05)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    background: #f8fafc;
    -webkit-background-clip: text;

    background-clip: text;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-outline {
    background-color: white;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

.stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 10px;
    font-feature-settings: "tnum";
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 367px;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(var(--accent-primary-rgb), 0.3);
    z-index: 2;
}

.el-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.el-2 {
    top: 50%;
    right: -30px;
    animation-delay: 2s;
    background: var(--accent-secondary);
}

.el-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
    background: var(--accent-success);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== ГАРАНТИЯ ===== */
.guarantee-section {

    color: white;
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255, 255, 255, 0.1)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.3;
}

.guarantee-card {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .guarantee-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

.guarantee-icon {
    font-size: 80px;
    flex-shrink: 0;
    opacity: 0.9;
}

.guarantee-content {
    flex: 1;
}

.guarantee-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.guarantee-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.guarantee-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
}

@media (max-width: 768px) {
    .guarantee-formula {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
}

.formula-step {
    text-align: center;
    flex: 1;
}

.step-number {
    background: white;
    color: var(--accent-primary);
    padding: 20px 30px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-number:hover {
    transform: scale(1.05);
}

.highlight-step {
    background: #28a745;
    color: white;
}

.step-arrow {
    font-size: 2rem;
    color: white;
    opacity: 0.8;
    font-weight: bold;
}

@media (max-width: 768px) {
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* ===== НАПРАВЛЕНИЯ ===== */
.directions-section {
    padding: 100px 0;

}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.direction-card {
    
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.direction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-color);
    border-color: var(--accent-primary);
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.direction-icon {
    font-size: 50px;
    color: var(--accent-primary);
    margin-bottom: 25px;
    text-align: center;
}

.direction-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.direction-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.direction-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.direction-list li:last-child {
    border-bottom: none;
}

.direction-list li:hover {
    color: var(--text-primary);
}

.direction-list li i {
    color: var(--accent-primary);
    width: 20px;
    text-align: center;
}

/* Другие услуги */
.other-services {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    margin-top: 60px;
    border-left: 5px solid var(--accent-primary);
    box-shadow: 0 15px 40px var(--shadow-color);
}

@media (max-width: 768px) {
    .other-services {
        padding: 30px;
    }
}

.other-services h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.other-services p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.manager-benefits {
    margin: 30px 0;
    display: grid;
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

.benefit i {
    color: var(--accent-success);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.emphasis-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0;
    padding: 25px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border-left: 4px solid var(--accent-success);
    line-height: 1.6;
}

/* ===== ГЕОГРАФИЯ ===== */
.geography-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.city-card {
    background: var(--card-bg);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--accent-primary);
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.city-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.city-status {
    color: var(--accent-success);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.city-status::before {
    content: '●';
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.geography-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 30px;
    padding: 25px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.why-us-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-color);
    border-color: var(--accent-primary);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.benefit-icon {
    font-size: 50px;
    color: var(--accent-primary);
    margin-bottom: 25px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== ГАРАНТИЯ БЭДЖ ===== */
.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, var(--accent-success), var(--accent-primary));
    color: white;
    padding: 35px 40px;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 20px 50px rgba(var(--accent-primary-rgb), 0.2);
}

@media (max-width: 768px) {
    .guarantee-badge {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
}

.badge-icon {
    font-size: 70px;
    flex-shrink: 0;
    opacity: 0.9;
}

.badge-content {
    flex: 1;
}

.badge-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.badge-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== КОНТАКТНАЯ ФОРМА ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.contact-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.contact-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-benefits {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.contact-benefits li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-benefits li i {
    color: var(--accent-success);
    font-size: 1.2rem;
}

.contact-info {
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-primary);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.info-item a, .info-item p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-primary);
}

/* Форма обратной связи */
.contact-form {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 25px 60px var(--shadow-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.service-request, .diagnostic-request {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Общие стили для полей форм */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 18px 25px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 12px;
    color: var(--input-text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Фокус состояния */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.2);
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: var(--input-placeholder);
}

/* Стилизация select */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f1f5f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 16px;
    padding-right: 55px;
    cursor: pointer;
}

body.light-theme select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 12px;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

/* Checkbox стили */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
}

/* Checked состояние */
input[type="checkbox"]:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Галочка при checked */
input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Label для checkbox */
.checkbox-group label {
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

/* Кнопка отправки формы */
.btn-submit {
    padding: 20px 35px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit i {
    font-size: 1.3rem;
}

/* Состояние загрузки */
.loading .btn-submit {
    color: transparent;
}

.loading .btn-submit::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ОТЗЫВЫ ===== */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-color);
    border-color: var(--accent-primary);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    flex-shrink: 0;
}

.review-info {
    flex: 1;
}

.review-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.review-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.review-body {
    margin-bottom: 25px;
}

.review-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
    font-style: italic;
}

.review-body p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}

.review-guarantee {
    background: rgba(var(--accent-success-rgb), 0.1);
    color: var(--accent-success);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-top: 15px;
}

/* ===== CTA СЕКЦИЯ ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255, 255, 255, 0.1)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.2;
}

.cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .cta-card h2 {
        font-size: 2.2rem;
    }
}

.cta-card p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.cta-note i {
    font-size: 1.2rem;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-overlay);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-container {
    background: var(--modal-bg);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    font-family: inherit;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.modal-price {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-success);
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-success);
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.modal-body h3 {
    color: var(--text-primary);
    margin: 30px 0 20px 0;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 10px;
}

.modal-body ul {
    margin-bottom: 30px;
    padding-left: 25px;
}

.modal-body li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    padding-left: 10px;
}

.modal-body li:before {
    content: "•";
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: -15px;
}

.modal-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .modal-actions {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== СЕКЦИИ ШАПКИ ===== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* Секция диагностики в стиле TV процесса */
.diagnostic-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.diagnostic-steps {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.diagnostic-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(var(--accent-primary-rgb), 0.2), 
        rgba(var(--accent-secondary-rgb), 0.2));
    transform: translateX(-50%);
    z-index: 0;
}

@media (max-width: 768px) {
    .diagnostic-steps::before {
        display: none;
    }
}

.diagnostic-step {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.diagnostic-step:nth-child(odd) {
    flex-direction: row-reverse;
}

.diagnostic-step[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.diagnostic-step[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .diagnostic-step {
        flex-direction: column !important;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .diagnostic-step:nth-child(odd) {
        flex-direction: column !important;
    }
}

.step-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number_2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 15px 35px rgba(var(--accent-primary-rgb), 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(var(--accent-primary-rgb), 0.4);
}

.step-line {

    top: 80px;
    bottom: -50px;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-primary), 
        var(--accent-secondary));
    opacity: 0.2;
    z-index: 1;
}

.diagnostic-step:last-child .step-line {
    display: none;
}

@media (max-width: 768px) {
    .step-number-wrapper {
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .step-line {
        display: none;
    }
}

.step-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px 30px;
    margin: 0 40px;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--shadow-color);
    border-color: var(--accent-primary);
}

.step-content::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.diagnostic-step:nth-child(odd) .step-content::before {
    right: -10px;
    border-right: none;
    border-top: none;
}

.diagnostic-step:nth-child(even) .step-content::before {
    left: -10px;
    border-left: none;
    border-bottom: none;
}

@media (max-width: 768px) {
    .step-content {
        margin: 0;
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .step-content::before {
        display: none;
    }
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.2);
    transition: transform 0.3s ease;
}

.step-content:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto;
    }
}

.step-details {
    flex: 1;
}

.step-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-details p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Убираем разделитель, так как в стиле ТВ процесса он не нужен */
.step-divider {
    display: none;
}

/* Гарантийный бейдж в стиле TV гарантий */
.diagnostic-guarantee {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 60px auto 0;
    box-shadow: 0 20px 50px rgba(var(--accent-primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.diagnostic-guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="white" opacity="0.05" d="M0,0 L100,0 L100,100 Z" /></svg>');
    background-size: cover;
    z-index: 0;
}

.guarantee-icon {
    font-size: 3rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.guarantee-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.guarantee-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.guarantee-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

@media (max-width: 768px) {
    .diagnostic-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 25px;
        margin: 40px 15px 0;
    }
    
    .guarantee-icon {
        font-size: 2.5rem;
    }
    
    .guarantee-content h3 {
        font-size: 1.5rem;
    }
}

/* ===== ФЛЕШ СООБЩЕНИЯ ===== */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
    width: 90%;
}

.flash {
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    color: white;
    animation: slideInRight 0.3s ease;
    background: var(--accent-success);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.flash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.flash.error {
    background: var(--accent-danger);
}

.flash.info {
    background: var(--accent-primary);
}

.flash.warning {
    background: var(--accent-warning);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Анимации AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Стили для скроллбара */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Подсветка обязательных полей */
.form-group:has(input:required) label::after,
.form-group:has(select:required) label::after {
    content: '';
    color: var(--accent-primary);
}

/* Состояния валидации */
input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
    border-color: var(--accent-danger);
    background: rgba(var(--accent-danger-rgb), 0.05);
}

input:valid:not(:placeholder-shown),
select:valid:not(:placeholder-shown) {
    border-color: var(--accent-success);
    background: rgba(var(--accent-success-rgb), 0.05);
}

/* Эффект пульсации при фокусе */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(var(--accent-primary-rgb), 0);
    }
}

input:focus,
textarea:focus,
select:focus {
    animation: pulse 1.5s infinite;
}

/* Поочередная анимация полей форм */
.service-request > *,
.diagnostic-request > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.service-request > *:nth-child(1) { animation-delay: 0.1s; }
.service-request > *:nth-child(2) { animation-delay: 0.2s; }
.service-request > *:nth-child(3) { animation-delay: 0.3s; }
.service-request > *:nth-child(4) { animation-delay: 0.4s; }
.service-request > *:nth-child(5) { animation-delay: 0.5s; }
.service-request > *:nth-child(6) { animation-delay: 0.6s; }
.diagnostic-request > *:nth-child(1) { animation-delay: 0.1s; }
.diagnostic-request > *:nth-child(2) { animation-delay: 0.2s; }
.diagnostic-request > *:nth-child(3) { animation-delay: 0.3s; }
.diagnostic-request > *:nth-child(4) { animation-delay: 0.4s; }
.diagnostic-request > *:nth-child(5) { animation-delay: 0.5s; }
.diagnostic-request > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .direction-card,
    .benefit-card,
    .review-card {
        padding: 25px 20px;
    }
    
    .modal-container {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 20px 15px;
    }
}

/* Оптимизация для печати */
@media print {
    .hero-section,
    .guarantee-section,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .btn,
    .floating-element,
    .modal-overlay,
    .flash-messages {
        display: none !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* ===== ГАРАНТИЯ ФОРМУЛА ===== */
.guarantee-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.formula-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .formula-step {
        flex-direction: column;
        gap: 10px;
    }
    
    .formula-step .step-arrow {
        transform: rotate(90deg);
    }
}

.step-number {
    background: white;
    color: var(--accent-primary);
    padding: 20px 30px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: -1;
}

.step-number:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.highlight-step {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.highlight-step::before {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.step-arrow {
    font-size: 2.5rem;
    color: white;
    opacity: 0.8;
    font-weight: 300;
    animation: pulseArrow 2s infinite;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes pulseArrow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Альтернативный вариант с иконками стрелок */
.step-arrow-icon {
    font-size: 1.5rem;
    color: white;
    opacity: 0.9;
}

/* Для мобильных - вертикальная компоновка */
@media (max-width: 576px) {
    .guarantee-formula {
        flex-direction: column;
        gap: 20px;
    }
    
    .formula-step {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .formula-step .step-arrow {
        transform: rotate(0deg);
        margin: 0 10px;
    }
    
    .step-number {
        min-width: 140px;
        padding: 18px 25px;
        font-size: 1.1rem;
    }
}

/* ===== НАПРАВЛЕНИЯ С ТЕМНОЙ ТЕМОЙ ===== */
.directions-section {
    padding: 100px 0;

}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Карточки направлений */
.direction-card {
    
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.direction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-color);
    border-color: var(--accent-primary);
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.direction-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
    text-align: center;
}

.direction-icon {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 50%;
}

.direction-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.direction-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.direction-list li {
    padding: 16px 0;
    color: var(--text-secondary);

    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.direction-list li:last-child {
    border-bottom: none;
}

.direction-list li:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.direction-list li i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.direction-item-title {
    font-weight: 600;
    color: var(--text-primary);
}

/* Блок "Не нашли нужную услугу" */
.other-services {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 50px;
    margin-top: 60px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.other-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.other-services-header {
    text-align: center;
    margin-bottom: 50px;
}

.other-services-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.other-services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.other-services-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Блок с преимуществами менеджера */
.manager-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0 60px;
}

.benefit-card.dark-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card.dark-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
}

.benefit-card.dark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.benefit-card.dark-card .benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 50%;
}

.benefit-card.dark-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.benefit-card.dark-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Футер блока */
.other-services-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.emphasis-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 40px;
    padding: 25px;
    background: rgba(var(--accent-primary-rgb), 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-primary);
    line-height: 1.6;
    text-align: left;
}

/* Кнопка в темной теме */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--accent-primary-rgb), 0.4);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.direction-card,
.other-services,
.benefit-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.direction-card:nth-child(1) { animation-delay: 0.1s; }
.direction-card:nth-child(2) { animation-delay: 0.2s; }
.direction-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(1) { animation-delay: 0.4s; }
.benefit-card:nth-child(2) { animation-delay: 0.5s; }
.benefit-card:nth-child(3) { animation-delay: 0.6s; }
.other-services { animation-delay: 0.7s; }

/* Адаптивность */
@media (max-width: 992px) {
    .directions-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .manager-benefits {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .other-services {
        padding: 35px 25px;
    }
    
    .other-services-title {
        font-size: 1.7rem;
    }
    
    .other-services-subtitle {
        font-size: 1.1rem;
    }
    
    .direction-card {
        padding: 30px 25px;
    }
    
    .benefit-card.dark-card {
        padding: 25px 20px;
    }
    
    .emphasis-text {
        font-size: 1.1rem;
        padding: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .other-services {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .other-services-title {
        font-size: 1.5rem;
    }
    
    .direction-card {
        padding: 25px 20px;
    }
    
    .direction-title {
        font-size: 1.4rem;
    }
    
    .direction-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    
    .benefit-card.dark-card .benefit-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .benefit-card.dark-card h4 {
        font-size: 1.1rem;
    }
}

/* Стили для блока направлений */
.directions-section {
    padding: 80px 0;

}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.direction-card {

    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.direction-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;

    padding-bottom: 15px;
}

.direction-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.direction-icon i {
    font-size: 24px;
    color: white;
}

.direction-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.direction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.direction-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px 15px;

    border-radius: 10px;
    transition: background 0.3s ease;
}

.direction-list li:hover {
    background: #f0f7ff;
}

.direction-list li i {
    font-size: 18px;
    color: #2575fc;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.direction-list li span {
    font-size: 1rem;
    color: #727171;
    font-weight: 500;
}

/* Блок других услуг */
.other-services {
   
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.other-services-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.other-services-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.other-services-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Преимущества менеджера */
.manager-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card.dark-card {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 22px;
    color: white;
}

.benefit-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: inherit;
}

.benefit-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    color: inherit;
}

.dark-card .benefit-content h4,
.dark-card .benefit-content p {
    color: white;
}

/* Футер блока других услуг */
.other-services-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.emphasis-text {
    font-size: 1.2rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 117, 252, 0.4);
    color: white;
}

.btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .directions-section {
        padding: 50px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .direction-card {
        padding: 25px;
    }
    
    .direction-header {
        flex-direction: column;
        text-align: center;
    }
    
    .direction-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .other-services {
        padding: 30px 20px;
    }
    
    .other-services-title {
        font-size: 1.7rem;
    }
    
    .manager-benefits {
        grid-template-columns: 1fr;
    }
}

/* Секция географии - Улучшенная версия */
.geography-section {
    padding: 80px 0;
    background: var(--section-bg, linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%));
    position: relative;
    overflow: hidden;
}

/* CSS переменные для светлой темы */
:root {
    --section-bg: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    --card-bg: white;
    --card-border: #f0f2f5;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --card-hover-border: rgba(37, 117, 252, 0.3);
    --card-hover-shadow: 0 15px 30px rgba(37, 117, 252, 0.15);
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-note: #34495e;
    --accent-gradient: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --accent-gradient-text: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --note-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --note-border: #e8edf5;
    --note-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --online-dot: #27ae60;
    --online-pulse: rgba(39, 174, 96, 0.7);
}

/* CSS переменные для темной темы */
@media (prefers-color-scheme: dark) {
    :root {
        --section-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        --card-bg: #1e293b;
        --card-border: #334155;
        --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        --card-hover-border: #3b82f6;
        --card-hover-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
        --text-primary: #e2e8f0;
        --text-secondary: #94a3b8;
        --text-note: #cbd5e1;
        --accent-gradient: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #22d3ee 100%);
        --accent-gradient-text: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #22d3ee 100%);
        --note-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        --note-border: #334155;
        --note-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        --online-dot: #22c55e;
        --online-pulse: rgba(34, 197, 94, 0.7);
    }
}

/* Градиентные акценты */
.geography-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.geography-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.geography-section .container {
    position: relative;
    z-index: 1;
}

/* Заголовок */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Сетка городов */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.city-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

/* Эффект при наведении */
.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--card-hover-border);
}

/* Градиентная полоска сверху */
.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    opacity: 0.8;
}

/* Фоновый узор */
.city-card::after {
    content: '';

    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232575fc' opacity='0.1'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Темная тема для иконки локации */
@media (prefers-color-scheme: dark) {
    .city-card::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b82f6' opacity='0.15'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    }
}

.city-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    padding-bottom: 10px;
    border-bottom: 1px solid;
    border-bottom-color: var(--card-border);
}

.city-status {
    font-size: 0.95rem;
    color: var(--online-dot);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.city-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--online-dot);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

/* Нижний блок с примечанием */
.geography-note {
    background: var(--note-bg);
    border-radius: 18px;
    padding: 35px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--note-shadow);
    border: 1px solid var(--note-border);
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент */
.geography-note::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.geography-note::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Иконка перед текстом */
.geography-note p {
    font-size: 1.15rem;
    color: var(--text-note);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
    padding-left: 40px;
    padding-right: 40px;
}

.geography-note p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    opacity: 0.8;
}

/* Темная тема для иконки менеджера */
@media (prefers-color-scheme: dark) {
    .geography-note p::before {
        content: '';
        filter: brightness(1.2);
    }
}

/* Анимация пульсации */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 var(--online-pulse);
    }
    70% {
        box-shadow: 0 0 0 6px transparent;
    }
    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

/* Анимация появления карточек */
.city-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержки для анимации */
.city-card:nth-child(1) { animation-delay: 0.1s; }
.city-card:nth-child(2) { animation-delay: 0.2s; }
.city-card:nth-child(3) { animation-delay: 0.3s; }
.city-card:nth-child(4) { animation-delay: 0.4s; }
.city-card:nth-child(5) { animation-delay: 0.5s; }
.city-card:nth-child(6) { animation-delay: 0.6s; }
.city-card:nth-child(7) { animation-delay: 0.7s; }

/* Адаптивность */
@media (max-width: 992px) {
    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .geography-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    .city-card {
        padding: 22px 15px;
    }
    
    .city-name {
        font-size: 1.3rem;
    }
    
    .geography-note {
        padding: 30px 25px;
        margin: 0 10px;
    }
    
    .geography-note p {
        font-size: 1.1rem;
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media (max-width: 480px) {
    .cities-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .geography-note {
        padding: 25px 20px;
    }
    
    .geography-note p {
        font-size: 1rem;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .geography-note p::before {
        left: -5px;
    }
}

/* Принудительное применение темной темы для всех элементов */
.dark-theme {
    color-scheme: dark;
}

.dark-theme .geography-section,
.dark-theme .city-card,
.dark-theme .geography-note,
.dark-theme .section-title,
.dark-theme .section-subtitle,
.dark-theme .city-name,
.dark-theme .geography-note p {
    /* Переопределяем все переменные для темной темы */
    --section-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --card-bg: #1e293b;
    --card-border: #334155;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    --card-hover-border: #3b82f6;
    --card-hover-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-note: #cbd5e1;
    --accent-gradient: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #22d3ee 100%);
    --accent-gradient-text: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #22d3ee 100%);
    --note-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --note-border: #334155;
    --note-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --online-dot: #22c55e;
    --online-pulse: rgba(34, 197, 94, 0.7);
}

/* Плавные переходы */
.city-card,
.geography-note {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Секция "Почему мы" */
.why-us-section {
    padding: 80px 0;
    background: var(--section-bg, linear-gradient(135deg, #ffffff 0%, #f8fafc 100%));
    position: relative;
    overflow: hidden;
}

/* CSS переменные для светлой темы */
:root {
    --section-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --card-bg: white;
    --card-border: #f1f5f9;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 40px rgba(37, 117, 252, 0.1);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --accent-light: rgba(37, 117, 252, 0.1);
    --icon-bg: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

/* CSS переменные для темной темы */
@media (prefers-color-scheme: dark) {
    :root {
        --section-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        --card-bg: #1e293b;
        --card-border: #334155;
        --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        --card-hover-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
        --text-primary: #f1f5f9;
        --text-secondary: #94a3b8;
        --accent-gradient: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
        --accent-light: rgba(59, 130, 246, 0.1);
        --icon-bg: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
    }
}

/* Декоративные элементы */
.why-us-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.why-us-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.why-us-section .container {
    position: relative;
    z-index: 1;
}

/* Заголовок секции */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

/* Сетка преимуществ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка преимущества */
.benefit-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--card-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Эффект при наведении */
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: transparent;
}

/* Градиентный бордер при наведении */
.benefit-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

/* Иконка */
.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--icon-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 32px;
    color: white;
}

/* Контент карточки */
.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Декор карточки */
.benefit-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

/* Анимация появления карточек */
.benefit-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержки анимации */
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

/* Адаптивность */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .why-us-section {
        padding: 60px 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .benefit-card {
        padding: 30px 25px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .benefit-icon i {
        font-size: 28px;
    }
    
    .benefit-card h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
}

/* Принудительная темная тема */
.dark-theme .why-us-section,
.dark-theme .benefit-card,
.dark-theme .section-title,
.dark-theme .section-subtitle,
.dark-theme .benefit-card h3,
.dark-theme .benefit-card p {
    --section-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --card-bg: #1e293b;
    --card-border: #334155;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --card-hover-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-gradient: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
    --accent-light: rgba(59, 130, 246, 0.1);
    --icon-bg: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
}

/* Секция CTA - Финальный призыв */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы */
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;

    z-index: 0;
}

/* Карточка CTA */
.cta-card {
    background: white;
    border-radius: 32px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

/* Акцентные элементы карточки */
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #3b82f6 0%, 
        #60a5fa 25%, 
        #93c5fd 50%, 
        #60a5fa 75%, 
        #3b82f6 100%);
    border-radius: 32px 32px 0 0;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Заголовок */
.cta-card h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

.cta-card h2::after {
    content: '';

    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

/* Текст под заголовком */
.cta-card p {
    font-size: 1.3rem;

    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
    font-weight: 500;
}

/* Кнопки */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 220px;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Исправляем темную тему для .cta-section::before */
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Светлая тема */
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

/* Темная тема - переопределяем фон */
@media (prefers-color-scheme: dark) {
    .cta-section::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    }
}

/* Или более надежный вариант с CSS переменными */
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Используем CSS переменные */
    background: var(--cta-bg-pattern, 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%)
    );
}

:root {
    --cta-bg-pattern: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --cta-bg-pattern: 
            radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    }
}

/* Если все еще есть проблема, добавьте конкретное правило */
.dark-theme .cta-section::before,
[data-theme="dark"] .cta-section::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%) !important;
}

/* Или если проблема в том, что элемент вообще не должен отображаться в темной теме */
@media (prefers-color-scheme: dark) {
    .cta-section::before {
        display: none; /* Скрыть элемент в темной теме */
    }
}

.btn-outline:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
    color: #2563eb;
}

.btn i {
    font-size: 1.3rem;
}

/* Блок с примечанием */
.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.08) 0%, 
        rgba(245, 158, 11, 0.04) 100%);
    padding: 18px 30px;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

.cta-note i {
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-note span {
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Анимация появления */
.cta-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .cta-section {
        padding: 80px 20px;
    }
    
    .cta-card {
        padding: 50px 40px;
        border-radius: 28px;
    }
    
    .cta-card h2 {
        font-size: 2.5rem;
    }
    
    .cta-card p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-card {
        padding: 40px 30px;
        border-radius: 24px;
    }
    
    .cta-card h2 {
        font-size: 2.2rem;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .cta-card h2::after {
        width: 60px;
    }
    
    .cta-card p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 35px;
    }
    
    .cta-note {
        padding: 15px 25px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 35px 25px;
    }
    
    .cta-card h2 {
        font-size: 1.9rem;
    }
    
    .cta-card p {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }
    
    .btn {
        min-width: auto;
        padding: 16px 30px;
    }
    
    .cta-note {
        padding: 15px 20px;
    }
    
    .cta-note span {
        font-size: 0.95rem;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .cta-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    .cta-card {
        background: linear-gradient(135deg, 
            rgba(30, 41, 59, 0.95) 0%, 
            rgba(15, 23, 42, 0.95) 100%);
        border-color: rgba(51, 65, 85, 0.5);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(51, 65, 85, 0.5);
    }
    
    .cta-card::after {
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    }
    
    .cta-card h2 {
        color: #f1f5f9;
    }
    
    .cta-card p {
        color: #cbd5e1;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        box-shadow: 
            0 8px 25px rgba(37, 99, 235, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .btn-primary:hover {
        box-shadow: 
            0 15px 35px rgba(37, 99, 235, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .btn-outline {
        background: rgba(30, 41, 59, 0.8);
        color: #60a5fa;
        border-color: #60a5fa;
        box-shadow: 0 8px 20px rgba(96, 165, 250, 0.2);
    }
    
    .btn-outline:hover {
        background: rgba(30, 41, 59, 0.95);
        border-color: #93c5fd;
        color: #93c5fd;
        box-shadow: 0 12px 30px rgba(96, 165, 250, 0.3);
    }
    
    .cta-note {
        background: linear-gradient(135deg, 
            rgba(245, 158, 11, 0.15) 0%, 
            rgba(245, 158, 11, 0.08) 100%);
        border-color: rgba(245, 158, 11, 0.3);
    }
    
    .cta-note span {
        color: #e2e8f0;
    }
}

/* Секция CTA - Финальный призыв */
.cta-section {
    padding: 120px 0;
    background: white; /* ЯВНО белый фон для светлой темы */
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы - ТОЛЬКО для светлой темы */
@media (prefers-color-scheme: light), (prefers-color-scheme: no-preference) {
    .cta-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        z-index: 0;
        background: 
            radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    }
}

/* Для темной темы - скрываем декоративный фон или делаем темным */
@media (prefers-color-scheme: dark) {
    .cta-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    .cta-section::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
        opacity: 0.5;
    }
}

/* Карточка CTA */
.cta-card {
    background: white;
    border-radius: 32px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(226, 232, 240, 0.5);
    overflow: hidden;
}

/* Акцентные элементы карточки */
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #3b82f6 0%, 
        #60a5fa 25%, 
        #93c5fd 50%, 
        #60a5fa 75%, 
        #3b82f6 100%);
    border-radius: 32px 32px 0 0;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Заголовок */
.cta-card h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1e293b; /* Темный цвет для светлой темы */
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

/* Тема для темного режима */
@media (prefers-color-scheme: dark) {
    .cta-card {
        background: linear-gradient(135deg, 
            rgba(30, 41, 59, 0.95) 0%, 
            rgba(15, 23, 42, 0.95) 100%);
        border-color: rgba(51, 65, 85, 0.5);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(51, 65, 85, 0.5);
    }
    
    .cta-card::after {
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    }
    
    .cta-card h2 {
        color: #f1f5f9; /* Светлый цвет для темной темы */
    }
}

/* Также добавьте этот код для принудительной темной темы */
body.light-theme .cta-section {
    background: white !important;
}

body.light-theme .cta-section::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%) !important;
    display: block !important;
}

body.light-theme .cta-card {
    background: white !important;
    color: #1e293b !important;
}

body.light-theme .cta-card h2 {
    color: #1e293b !important;
}

body.light-theme .cta-card p {
    color: #475569 !important;
}

body.light-theme .btn-outline {
    background: transparent !important;
    color: #1a237e !important;
    border-color: #1a237e !important;
}

body.light-theme .cta-note {
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.08) 0%, 
        rgba(245, 158, 11, 0.04) 100%) !important;
    color: #475569 !important;
}

body.light-theme .cta-note span {
    color: #475569 !important;
}

/* ===== СОВРЕМЕННАЯ CTA СЕКЦИЯ ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Эффект градиентного свечения */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(37, 99, 235, 0.15) 0%,
        transparent 50%
    );
    z-index: -1;
    animation: gradientShift 15s ease infinite alternate;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(
        circle at 70% 30%,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 50%
    );
    z-index: -1;
    animation: gradientShift 20s ease infinite alternate-reverse;
}

@keyframes gradientShift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

/* Контейнер CTA */
.cta-container {
    position: relative;
    z-index: 2;
}

/* Основная карточка CTA */
.cta-card {
    background: white;
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Акцентный градиентный край */
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
   
    border-radius: 32px 32px 0 0;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Декоративные элементы */
.cta-decor {
    position: absolute;
    pointer-events: none;
}

.cta-decor-1 {
    top: 40px;
    left: 40px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.cta-decor-2 {
    bottom: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.cta-decor-3 {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #10b981, #0ea5e9);
    opacity: 0.1;
    border-radius: 20px;
    animation: rotate 20s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes rotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Заголовок */
.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: #f8fafc;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.cta-title::after {
    content: '';

    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

/* Подзаголовок */
.cta-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
    padding: 0 20px;
}

/* Группа кнопок */
.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Кнопки */
.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 48px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    overflow: hidden;
    min-width: 240px;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
    transition: all 0.4s ease;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.cta-btn:hover::after {
    width: 300px;
    height: 300px;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 
        0 12px 32px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cta-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 48px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary {
    background: white;
    color: #1d4ed8;
    border: 2px solid #3b82f6;
    box-shadow: 
        0 8px 24px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cta-btn-secondary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #1e40af;
}

.cta-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: scale(1.2);
}

/* Гарантийный блок */
.cta-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(16, 185, 129, 0.05) 100%);
    padding: 20px 32px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #10b981, #0ea5e9);
    border-radius: 4px 0 0 4px;
}

.cta-guarantee i {
    color: #10b981;
    font-size: 1.8rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.cta-guarantee-text {
    text-align: left;

    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
}

.cta-guarantee-text strong {
    color: #059669;
    font-weight: 700;
}

/* Статистика доверия */
.cta-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    padding: 20px;
    min-width: 150px;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 8px;
    font-feature-settings: "tnum";
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {

    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Анимация появления */
.cta-card {
    opacity: 0;
    transform: translateY(40px) rotateX(5deg);
    animation: slideInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.cta-title { animation-delay: 0.2s; opacity: 0; animation: fadeIn 0.6s ease forwards; }
.cta-subtitle { animation-delay: 0.4s; opacity: 0; animation: fadeIn 0.6s ease forwards; }
.cta-buttons { animation-delay: 0.6s; opacity: 0; animation: fadeIn 0.6s ease forwards; }
.cta-guarantee { animation-delay: 0.8s; opacity: 0; animation: fadeIn 0.6s ease forwards; }
.cta-trust { animation-delay: 1s; opacity: 0; animation: fadeIn 0.6s ease forwards; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .cta-card {
        padding: 60px 40px;
        margin: 0 20px;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .cta-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-card {
        padding: 50px 30px;
        border-radius: 24px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 20px 32px;
    }
    
    .cta-guarantee {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .cta-guarantee-text {
        text-align: center;
    }
    
    .cta-trust {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .cta-btn {
        padding: 18px 24px;
        font-size: 1.1rem;
    }
    
    .trust-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .trust-label {
        font-size: 0.9rem;
    }
}

/* ===== ТЕМНАЯ ТЕМА ===== */
@media (prefers-color-scheme: dark) {
    .cta-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    .cta-section::before {
        background: radial-gradient(
            circle at 30% 50%,
            rgba(37, 99, 235, 0.25) 0%,
            transparent 50%
        );
    }
    
    .cta-section::after {
        background: radial-gradient(
            circle at 70% 30%,
            rgba(139, 92, 246, 0.2) 0%,
            transparent 50%
        );
    }
    
    .cta-card {
        background: linear-gradient(135deg, 
            rgba(30, 41, 59, 0.95) 0%, 
            rgba(15, 23, 42, 0.95) 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 
            0 32px 64px rgba(0, 0, 0, 0.3),
            0 16px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .cta-title {
        background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .cta-subtitle {
        color: #cbd5e1;
    }
    
    .cta-btn-secondary {
        background: rgba(30, 41, 59, 0.9);
        color: #93c5fd;
        border-color: #60a5fa;
        box-shadow: 
            0 8px 24px rgba(37, 99, 235, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .cta-btn-secondary:hover {
        background: rgba(30, 41, 59, 1);
        color: #bfdbfe;
        box-shadow: 
            0 16px 40px rgba(37, 99, 235, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .cta-guarantee {
        background: linear-gradient(135deg, 
            rgba(16, 185, 129, 0.2) 0%, 
            rgba(16, 185, 129, 0.1) 100%);
        border-color: rgba(16, 185, 129, 0.3);
    }
    
    .cta-guarantee-text {
        color: #e5e7eb;
    }
    
    .trust-label {
        color: #9ca3af;
    }
    
    .cta-decor-1 {
        background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    }
    
    .cta-decor-2 {
        background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    }
    
    .cta-decor-3 {
        background: linear-gradient(45deg, #34d399, #38bdf8);
        opacity: 0.15;
    }
}

/* Ручное переключение темы */
body.light-theme .cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

body.light-theme .cta-card {
    background: white !important;
    color: #1f2937 !important;
}

body.dark-theme .cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

body.dark-theme .cta-card {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.95) 100%) !important;
    color: #f9fafb !important;
}

/* ===== КИРПИЧНЫЙ ФОН ===== */

/* Основной кирпичный фон для всего сайта */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, 
            transparent 95%, 
            var(--brick-color, rgba(136, 119, 99, 0.05)) 95%,
            transparent 96%),
        linear-gradient(0deg, 
            transparent 94%, 
            var(--brick-color, rgba(136, 119, 99, 0.05)) 94%,
            transparent 95%);
    background-size: 40px 40px;
    background-repeat: repeat;
    z-index: -2;
    pointer-events: none;
    opacity: 0.3;
}

/* Для темной темы */
body.dark-theme::before {
    --brick-color: rgba(255, 255, 255, 0.03);
}

/* Для светлой темы */
body.light-theme::before {
    --brick-color: rgba(0, 0, 0, 0.03);
}

/* ===== МОБИЛЬНОЕ МЕНЮ - ИСПРАВЛЕННАЯ ВЕРСИЯ ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 1px);
}

/* Мобильное меню - полное скрытие */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 100px 30px 40px;
    overflow-y: auto;
    display: none; /* ПОЛНОСТЬЮ СКРЫТО ПО УМОЛЧАНИЮ */
    flex-direction: column;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

/* Мобильное меню - светлая тема */
body.light-theme .mobile-menu {
    background: var(--nav-bg);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Когда меню открыто */
.mobile-menu.active {
    display: flex; /* ПОКАЗЫВАЕМ ТОЛЬКО КОГДА АКТИВНО */
    opacity: 1;
    transform: translateX(0);
}

/* Кнопка закрытия меню - КРЕСТИК */
.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-close:hover {
    background: rgba(var(--accent-primary-rgb), 0.2);
    transform: rotate(90deg);
}

/* Крестик с помощью псевдоэлементов */
.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover::before {
    background: var(--accent-secondary);
    transform: rotate(135deg);
}

.mobile-menu-close:hover::after {
    background: var(--accent-secondary);
    transform: rotate(45deg);
}

/* Навигация в мобильном меню */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--accent-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
}

.mobile-nav a i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

/* Кнопки в мобильном меню */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .mobile-buttons {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* Информация в мобильном меню */
.mobile-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .mobile-info {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(var(--accent-primary-rgb), 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-contact-item:hover {
    background: rgba(var(--accent-primary-rgb), 0.1);
    transform: translateY(-2px);
}

.mobile-contact-item i {
    color: var(--accent-primary);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.mobile-contact-item span {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.mobile-contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.mobile-contact-item a:hover {
    color: var(--accent-primary);
}

/* Социальные сети в мобильном меню */
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mobile-social a {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.mobile-social a:hover {
    background: rgba(var(--accent-primary-rgb), 0.2);
    transform: translateY(-3px) scale(1.1);
}

/* Переключение темы в мобильном меню */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .mobile-theme-toggle {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-toggle-label {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.theme-toggle-label i {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

/* Скрываем стандартный чекбокс */
#mobile-theme-switcher {
    display: none;
}

/* Стилизация кастомного переключателя */
.theme-toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-tertiary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.theme-toggle-switch:hover {
    border-color: var(--accent-primary);
}

.theme-toggle-switch::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Для светлой темы */
body.light-theme .theme-toggle-switch::before {
    transform: translateX(0);
}

/* Для темной темы */
body.dark-theme .theme-toggle-switch::before {
    transform: translateX(30px);
}

/* Предотвращаем горизонтальный скролл */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Запрещаем скролл когда меню открыто */
body.menu-open {
    overflow: hidden;
}

/* Адаптивность */
@media (max-width: 768px) {
    .mobile-menu {
        padding: 90px 25px 40px;
    }
    
    .mobile-menu-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-close::before,
    .mobile-menu-close::after {
        width: 18px;
    }
    
    .mobile-nav a {
        padding: 16px 20px;
        font-size: 1.1rem;
    }
    
    .mobile-contact-item {
        padding: 12px 15px;
    }
    
    .mobile-social a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        padding: 80px 20px 40px;
    }
    
    .mobile-menu-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-close::before,
    .mobile-menu-close::after {
        width: 16px;
    }
    
    .mobile-nav a {
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    .mobile-buttons .btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Стили для формы загрузки фото */
.photo-upload-container.dark-theme {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.photo-upload-container.dark-theme:hover {
    border-color: var(--accent-primary, #4a6cf7);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.upload-area {
    position: relative;
    background: #222;
    border: 2px dashed #444;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--accent-primary, #4a6cf7);
    background: #252525;
}

.upload-area.dragover {
    border-color: var(--accent-primary, #4a6cf7);
    background: rgba(74, 108, 247, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 48px;
    color: var(--accent-primary, #4a6cf7);
    margin-bottom: 15px;
    opacity: 0.8;
}

.upload-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upload-title {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
}

.upload-subtitle {
    color: #aaa;
    font-size: 14px;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.photo-preview-container {
    margin-top: 25px;
    display: none;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.photo-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #2a2a2a;
    border-bottom: 1px solid #333;
}

.photo-preview-header span {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.remove-photo-btn {
    background: #ff4757;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-photo-btn:hover {
    background: #ff3742;
    transform: scale(1.1);
}

.photo-preview {
    padding: 20px;
    text-align: center;
    background: #1a1a1a;
}

.photo-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.photo-info {
    padding: 15px 20px;
    background: #2a2a2a;
    border-top: 1px solid #333;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-info i {
    color: var(--accent-primary, #4a6cf7);
    font-size: 20px;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px;
}

.file-size {
    color: #aaa;
    font-size: 12px;
    margin-top: 2px;
}

.photo-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #888;
    font-size: 13px;
}

.photo-hint i {
    color: var(--accent-primary, #4a6cf7);
    font-size: 14px;
}

.photo-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
    font-size: 15px;
}

/* Обертка для формы */
.tv-form-wrapper {
    max-width: 800px; /* Максимальная ширина формы */
    margin: 0 auto; /* Центрирование по горизонтали */
    padding: 20px;
}

/* Сама форма */
.tv-repair-form {
    width: 100%;
}

/* Стили для строк формы */
.tv-repair-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.tv-repair-form .form-row > .form-group {
    flex: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .tv-form-wrapper {
        max-width: 100%;
        padding: 15px;
    }
    
    .tv-repair-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
}