:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --footer-bg: #2c3e50;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background:#fff; color:#333; line-height:1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Шапка */
header.hero { position: relative; text-align: center; padding: 120px 20px 80px; color: white; overflow: hidden; }
header.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Градиент поверх текстуры флага РФ */
    background: var(--primary-gradient), url('https://img.rawpixel.com/s3fs-private/rawpixel_images/website_content/v681-tall-29-texture-flag-russia_1.jpg?w=800&dpr=1&fit=default&crop=default&auto=format&fm=pjpg&q=75&vib=3&con=3&usm=15&cs=srgb') center/cover no-repeat;
    z-index: -1;
}
h1.main-title { font-size: clamp(2em, 5vw, 3.5em); margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);}
p.subtitle { font-size: clamp(1.1em, 3vw, 1.3em); opacity: 0.95; max-width: 800px; margin: 0 auto;}

section { padding: 60px 0; border-bottom: 1px solid #eee; }
.section-title { text-align: center; font-size: clamp(1.6em, 4vw, 2.2em); margin-bottom: 10px; color: var(--text-dark); font-weight: 600; }

nav ul { list-style: none; display: flex; justify-content: center; gap: 2rem; margin-top: 20px; }
nav a { color: #ecf0f1; text-decoration: none; font-weight: bold; transition: color 0.3s ease; }
nav a:hover { color: #3498db; }

/* Карточки услуг БЕЗ ТОЧЕК */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
    list-style: none; 
    padding-left: 0; 
}
.service-card { 
    background: var(--bg-light); 
    border-radius: 12px; 
    padding: 30px; 
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.service-icon { width: 60px; height: 60px; background: var(--primary-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { fill: white; width: 30px; height: 30px; }
.service-card h3 { margin: 0 0 15px 0; color: var(--text-dark); font-size: 1.4em; font-weight: 600; }
.service-card p { color: #555; font-size: 1em; line-height: 1.5; }

/* Футер */
footer { background: var(--footer-bg); color: white; text-align: center; padding: 50px 20px; }
.contact-info a { color: #3498db; text-decoration: none; font-weight: bold; }
.contact-info a:hover { text-decoration: underline; opacity: 0.8; }

@media (max-width: 768px) {
    header.hero { padding: 100px 20px 60px; }
    nav ul { flex-direction: column; align-items: center; gap: 10px; }
    .service-card { padding: 25px 20px; }