/* Обнуление и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #000000;
    --muted-color: #777777;
    --border-color: #e0e0e0;
    --dark-section: #111111;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Навигация */
.header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.5;
}

/* Главный экран */
.hero {
    padding: 250px 0 150px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 600px;
    color: var(--muted-color);
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0px; /* Квадратные кнопки выглядят строже */
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-3px);
}

/* Секции */
.section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.section.dark {
    background-color: var(--dark-section);
    color: white;
    border-top: none;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted-color);
    margin-bottom: 60px;
    display: block;
}

/* Сетка преимуществ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.grid-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.grid-item p {
    color: var(--muted-color);
}

/* Список услуг */
.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-name {
    font-size: 1.8rem;
    font-weight: 500;
}

.service-desc {
    color: #999;
    max-width: 400px;
    text-align: right;
}

/* Контакты */
.contact-box {
    text-align: left;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    line-height: 1.2;
}

.contact-box p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Подвал */
.footer {
    padding: 60px 0;
    font-size: 0.8rem;
    color: var(--muted-color);
    border-top: 1px solid var(--border-color);
}

/* Адаптив */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 150px 0 80px; }
    .service-row { flex-direction: column; align-items: flex-start; }
    .service-desc { text-align: left; margin-top: 10px; }
}
