:root {
    --primary-color: #1f4ed8;       /* Яркий технологичный синий */
    --primary-hover: #0f172a;       /* Темно-синий для наведения на кнопки */
    --dark-blue: #0f172a;           /* Цвет для важного жирного текста */
    --text-color: #334155;          /* Основной читаемый темно-серый текст */
    --white: #ffffff;
    
    /* НАШИ СЕРЕБРИСТЫЕ И ПЛАТИНОВЫЕ МЕТАЛЛИЧЕСКИЕ ГРАДИЕНТЫ */
    --silver-bg-light: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);  /* Светлое серебро */
    --silver-bg-dark: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%);   /* Насыщенная платина */
    --aluminum-card: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #f1f5f9;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ==========================================================================
   HEADER (Матовое серебряное стекло)
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    /* Полупрозрачный платиновый фон с размытием */
    background: rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .main-logo {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0;
    text-align: center;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1551703599-6b3e8379aa8b?q=80&w=2000') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(15, 23, 42, 0.95), rgba(31, 78, 216, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 35px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(31, 78, 216, 0.3);
}

.btn:hover:not(:disabled) {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-blue);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* ==========================================================================
   ABOUT SECTION (Светлое полированное серебро)
   ========================================================================== */
#about {
    background: var(--silver-bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION (Насыщенная платина)
   ========================================================================== */
.services-bg { 
    background: var(--silver-bg-dark); 
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Карточки из матового алюминия */
.card {
    padding: 40px;
    border-radius: 20px;
    background: var(--aluminum-card);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 8px 32px rgba(148, 163, 184, 0.15);
}

.card h3 {
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.card .card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}

.card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(31, 78, 216, 0.15);
}

/* ==========================================================================
   LOCATIONS SECTION (Светлое серебро)
   ========================================================================== */
#locations {
    background: var(--silver-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Плашки локаций из чистого белого металла */
.location-tag {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.location-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(31, 78, 216, 0.1);
}

/* ==========================================================================
   CONTACT SECTION & FORM (Плотный платиновый металл)
   ========================================================================== */
#contact {
    background: var(--silver-bg-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.info-item { margin-bottom: 25px; }
.info-item strong { display: block; margin-bottom: 5px; color: var(--dark-blue); }
.info-item a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.info-item a:hover { color: var(--dark-blue); }

/* Металлическая стальная форма */
.glass-form {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--dark-blue);
    font-family: inherit;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(31, 78, 216, 0.15);
}

.consent-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.consent-container input { width: 18px; height: 18px; margin: 0; }

.btn-submit { width: 100%; }

/* ==========================================================================
   FOOTER (Контрастный темный)
   ========================================================================== */
footer { 
    background: var(--dark-blue); 
    color: rgba(255, 255, 255, 0.6); 
    padding: 40px 0; 
    text-align: center; 
}

/* ==========================================================================
   АДАПТИВНОСТЬ ПОД ЭКРАНЫ И ОБНОВЛЕННОЕ МОБИЛЬНОЕ МЕНЮ
   ========================================================================== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 992px) {
    .container { width: 85%; }
    .hero h2 { font-size: 38px; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero { padding: 120px 0; }
    .hero h2 { font-size: 32px; }
    .section-header h2 { font-size: 28px; }

    .burger-menu { display: flex; }

    /* Обновленная легкая шторка мобильной навигации */
    nav {
        position: fixed;
        top: 0; 
        right: -100%;
        width: 100%;
        height: 100vh;
        
        /* Прозрачный стильный фон с эффектом размытия заднего плана */
        background: rgba(226, 232, 240, 0.85); 
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        
        /* Центрирование контента */
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        
        padding: 0;
        transition: right 0.4s cubic-bezier(0.1, 1, 0.1, 1);
        z-index: 1050;
    }

    nav.active { right: 0; }
    
    nav ul { 
        flex-direction: column; 
        gap: 35px; 
    }
    
    nav a { 
        font-size: 22px; 
        display: inline-block; 
    }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .glass-form { padding: 25px; }
}

@media (max-width: 480px) {
    .container { width: 90%; }
    .logo-container .main-logo { height: 70px; }
    .hero h2 { font-size: 24px; }
    .btn { padding: 14px 25px; font-size: 15px; width: 100%; text-align: center; }
    .location-tag { width: 100%; text-align: center; }
}