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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    background: #f5f7fa;
    line-height: 1.6;
}

/* Шапка */
header {
    background: #1a2942;
    border-bottom: 3px solid #4a6fa5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 4px;
    background: #fff;
    padding: 3px;
}

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

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

nav a {
    color: #c8d3e0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: #fff;
    border-bottom-color: #4a6fa5;
}

/* Контент */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
}

h1 {
    font-size: 36px;
    color: #1a2942;
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    color: #1a2942;
    margin: 30px 0 15px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    color: #1a2942;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 16px;
}

/* Hero-блок */
.hero {
    background: linear-gradient(135deg, #1a2942 0%, #2c4166 100%);
    color: #fff;
    padding: 80px 30px;
    text-align: center;
    margin-bottom: 0;
}

.hero h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    color: #c8d3e0;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Карточки услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    border-left: 4px solid #4a6fa5;
    box-shadow: 0 2px 8px rgba(26, 41, 66, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(26, 41, 66, 0.12);
}

.service-card h3 {
    margin-top: 0;
    color: #1a2942;
}

/* Подвал */
footer {
    background: #1a2942;
    color: #8899aa;
    padding: 40px 30px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

footer h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

footer p, footer a {
    color: #8899aa;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.8;
}

footer a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #2c4166;
    text-align: center;
    font-size: 13px;
    color: #667788;
}

/* Контакты */
.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(26, 41, 66, 0.08);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f7;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 600;
    color: #1a2942;
    min-width: 140px;
}
