:root {
    --primary-blue: #002b5b;
    --text-main: #222222;
    --text-light: #555555;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    font-size: 18px; 
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li { margin-left: 30px; }
nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.hero {
    padding: 150px 0;
    background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.7)), 
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2; 
    margin-top: 0;
    margin-bottom: 40px; 
    max-width: 900px;
    text-transform: uppercase;
}

.hero p {
    font-size: 22px;
    line-height: 1.6;
    max-width: 750px;
    margin: 0;
    color: #ffffff;
}

.section { padding: 100px 0; }

.section-title h2 {
    font-size: 32px;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    border-top: 3px solid var(--primary-blue);
    padding: 30px 0;
}

.card h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 20px;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Футер */
footer {
    padding: 80px 0;
    background: var(--primary-blue);
    color: #ffffff;
}

.footer-logo { font-size: 24px; font-weight: 800; margin-bottom: 20px; }

@media (max-width: 768px) {
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 32px; }
    .nav-wrapper { flex-direction: column; }
    nav ul { margin-top: 20px; flex-direction: column; align-items: center; }
    nav ul li { margin: 10px 0; }
}