/* БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ */
:root {
    --primary-color: #0d1b2a; /* Очень темный синий (премиум) */
    --accent-color: #e63946;  /* Красный/оранжевый акцент (или можно #fca311) */
    --bg-light: #f8f9fa;      /* Светло-серый, чтобы не было просто белого */
    --text-main: #333333;
    --text-muted: #666666;
    --footer-bg: #11141c;     /* Темный цвет из твоего скриншота */
    --font-heading: 'Montserrat', sans-serif;
    --font-text: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { 
    background-color: var(--primary-color); 
    color: #ffffff;
}

.text-center { text-align: center; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
}

/* КНОПКА */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: var(--accent-color);
}

/* НАВИГАЦИЯ */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 80px; /* Размер логотипа */
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--accent-color);
}

/* ГЛАВНЫЙ ЭКРАН (HERO) */
.hero {
    /* БРАТ! ВОТ ТУТ МЕНЯЙ ФОН ГЛАВНОГО ЭКРАНА (.webp) */
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.8)), url('hero-bg.webp') center/cover no-repeat;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* FEATURES */
.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
}
.section-title p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* ABOUT US */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}
.about-content h2 {
    font-size: 36px;
    color: var(--primary-color);
}
.about-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* PARENT COMPANY */
.parent-company h2 {
    color: #ffffff;
}
.parent-company p {
    color: #d1d5db;
    margin-bottom: 15px;
}

/* COMPETENCY (STATS) */
.competency-desc {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-box h3 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.stat-box span {
    font-weight: 600;
    color: var(--text-muted);
}

/* FOOTER (Идеально под скриншот) */
.footer {
    background-color: var(--footer-bg);
    color: #a0a0a0;
    padding-top: 60px;
}

.footer-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    font-family: var(--font-text);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* Социальные иконки */
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #a0a0a0;
}
.social-links a:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* Контакты в подвале */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
}

.company-details p {
    margin-bottom: 8px;
    font-size: 14px;
}
.company-details strong {
    color: #ffffff;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Скрываем меню на мобилках для скорости */
    .hero-text h1 { font-size: 32px; }
    .about-flex { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-flex { grid-template-columns: repeat(1, 1fr); text-align: center; }
    .social-links { justify-content: center; }
    .contact-item { justify-content: center; }
}