/* Базовые сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
}
.logo span { color: #007bff; }

nav a {
    text-decoration: none;
    color: #555;
    margin-left: 24px;
    font-weight: 500;
}

nav a:hover { color: #000; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover { background-color: #0056b3; }

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    padding: 100px 0;
}

.services h2, .contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p { color: #666; }

/* Contact */
.contact {
    padding: 100px 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.contact p {
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: #999;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 16px; }
    nav a { margin: 0 12px; }
    .hero { padding: 80px 0; }
}