/* --- БАЗОВЫЕ СТИЛИ --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

/* Переменные */
:root {
    --primary: #f39c12;
    --secondary: #2c3e50;
    --light-gray: #f4f6f7;
    --white: #ffffff;
    --dark: #1a252f;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn:hover { background-color: #e67e22; transform: translateY(-2px); }
.btn-secondary { background-color: var(--secondary); }
.btn-secondary:hover { background-color: var(--dark); }

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0; z-index: 1000;
    height: 70px;
    display: flex; align-items: center;
}
.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo { font-size: 22px; font-weight: 700; color: var(--secondary); z-index: 1001; }
.logo span { color: var(--primary); }

/* Навигация ПК */
.nav { display: flex; align-items: center; }
.nav a { margin: 0 15px; color: var(--secondary); font-weight: 500; transition: 0.3s; font-size: 15px; }
.nav a:hover { color: var(--primary); }

.phone { text-align: right; margin-left: 20px; }
.phone a { display: block; color: var(--secondary); font-weight: 700; font-size: 16px; }
.phone .status { font-size: 11px; color: #27ae60; display: block; }

/* --- БУРГЕР МЕНЮ --- */
.burger {
    display: none;
    width: 30px; height: 20px;
    position: relative; cursor: pointer;
    z-index: 1001;
}
.burger span {
    display: block; width: 100%; height: 2px;
    background-color: var(--secondary);
    position: absolute; left: 0;
    transition: all 0.3s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

/* Анимация крестика */
.burger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Мобильное меню */
.mobile-menu {
    position: fixed; top: 70px; left: 0;
    width: 100%; height: calc(100vh - 70px);
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-nav-list { display: flex; flex-direction: column; text-align: center; gap: 20px; }
.mobile-link { font-size: 20px; color: var(--secondary); font-weight: 600; padding: 10px; }
.mobile-phone { color: var(--primary); font-weight: 700; margin-top: 20px; }

/* Главный блок */
.hero {
    height: 80vh; min-height: 500px;
    background: url('img/header.jpg') no-repeat center center/cover;
    position: relative;
    display: flex; align-items: center;
    margin-top: 70px;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); }
.hero-text { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.1; }
.hero .accent { color: var(--primary); }
.hero p { font-size: 20px; margin-bottom: 30px; opacity: 0.9; }

/* Секции */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 36px; color: var(--secondary); margin-bottom: 50px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 15px auto 0; }
.bg-gray { background-color: var(--light-gray); }
.divider { border: 0; height: 1px; background: #eee; margin: 0; }

/* Сетка услуг */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.service-list li { position: relative; padding-left: 25px; margin-bottom: 10px; }
.service-list li::before { content: '✔'; color: var(--primary); position: absolute; left: 0; }
.price-block { background: #fff3cd; padding: 15px; border-left: 4px solid var(--primary); margin-bottom: 25px; }
.service-img img { border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); width: 100%; }
.reverse .service-info { order: 2; }
.reverse .service-img { order: 1; }
.alert-box { background: #ffcccc; color: #990000; padding: 15px; border-radius: 5px; margin-bottom: 20px; border: 1px solid #ff9999; }

/* Карточки */
.cards-container { display: flex; gap: 20px; flex-wrap: wrap; }
.card { flex: 1; min-width: 280px; background: #fff; padding: 30px; border-top: 4px solid var(--secondary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; }
.card img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 15px; border-radius: 4px; }
.center-btn { text-align: center; margin-top: 40px; }

/* Контакты */
.contacts-section { background: var(--secondary); color: white; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.text-white { color: white; }
.big-phone { font-size: 32px; color: var(--primary); font-weight: bold; margin: 20px 0; display: block; }
.contact-form input, .contact-form select { width: 100%; padding: 15px; margin-bottom: 15px; border-radius: 5px; border: none; display: block;}
.contact-form button { width: 100%; }
footer { background: var(--dark); color: #7f8c8d; text-align: center; padding: 20px 0; font-size: 14px; }

/* --- МЕДИА ЗАПРОСЫ (Адаптивность) --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 38px; }
    .section-title { font-size: 30px; }
    .service-grid { gap: 30px; }
}

@media (max-width: 768px) {
    .nav, .phone { display: none; }
    .burger { display: block; }
    .header-content { padding: 0 10px; }
    .hero { height: auto; padding: 100px 0 60px; text-align: center; }
    .hero h1 { font-size: 32px; }
    .service-grid { grid-template-columns: 1fr; }
    .reverse .service-info { order: 1; }
    .reverse .service-img { order: 2; }
    .contacts-grid { grid-template-columns: 1fr; }
}