/* Базовые настройки */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; }
body { background-color: #f9fbfd; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* Шапка */
.header { background: #fff; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
/* --- СТИЛИ ДЛЯ ВЕКТОРНОГО ЛОГОТИПА --- */
.logo a { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
}
.logo-icon { 
    font-size: 36px; 
    color: #ff8800; /* Оранжевая опора/вышка */
}
.logo-text { 
    display: flex; 
    flex-direction: column; 
    color: #004488; 
    font-weight: 700; 
    font-size: 22px; 
    line-height: 1.1; 
}
.logo-subtext { 
    font-size: 11px; 
    color: #666; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin-top: 2px; 
}
.nav a { margin: 0 15px; font-weight: 600; transition: color 0.3s; }
.nav a:hover { color: #ff8800; }
.nav a.active { color: #ff8800; border-bottom: 2px solid #ff8800; padding-bottom: 5px; }
.phone { font-size: 18px; font-weight: 700; }

/* ========================================= */
/* ФОНЫ И АНИМАЦИИ (ГЛАВНАЯ И УСЛУГИ) */
/* ========================================= */

.hero, .page-header { 
    /* Уменьшили непрозрачность с 0.85/0.95 до 0.75/0.85 */
    background: linear-gradient(135deg, rgba(0, 68, 136, 0.75) 0%, rgba(0, 17, 34, 0.85) 100%), 
                url('hero-bg.jpg') center/cover no-repeat fixed; 
    color: #fff; 
    text-align: center;
}
.hero { padding: 120px 0; }
.hero h1 { font-size: 42px; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 20px; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; opacity: 0.9; }

.page-header { padding: 80px 0; }
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { font-size: 18px; opacity: 0.8; }

/* Эффект свечения кнопок */
@keyframes glowing {
    0% { box-shadow: 0 0 5px rgba(255, 136, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 136, 0, 0.8), 0 0 30px rgba(255, 136, 0, 0.6); }
    100% { box-shadow: 0 0 5px rgba(255, 136, 0, 0.5); }
}

/* Главная кнопка с анимацией */
.btn { 
    display: inline-block; 
    background: #ff8800; 
    color: #fff; 
    padding: 15px 35px; 
    border-radius: 5px; 
    font-size: 18px; 
    font-weight: 700; 
    transition: background 0.3s, transform 0.2s; 
    cursor: pointer; 
    border: none; 
    animation: glowing 2.5s infinite; 
}
.btn:hover { background: #e67a00; transform: scale(1.05); }

/* Левитация иконок в услугах */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ========================================= */
/* БЛОКИ НА ГЛАВНОЙ СТРАНИЦЕ */
/* ========================================= */

/* Преимущества */
.features { 
    padding: 80px 0; 
    text-align: center; 
    background: #f8fafc; /* Сделали просто светлый фон сверху */
}
.features h2 { font-size: 32px; margin-bottom: 50px; color: #004488; }
.features-grid { display: flex; justify-content: space-between; gap: 30px; }

/* Обновили карточки преимуществ под стиль услуг */
.feature-card { 
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0, 34, 68, 0.06); /* Мягкая объемная тень */
    flex: 1; 
    transition: all 0.3s ease; 
}
.feature-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 40px rgba(0, 68, 136, 0.15); 
}
.feature-card h3 { color: #ff8800; margin-bottom: 15px; font-size: 22px; }

/* Форма заявки */
.cta { 
    background: linear-gradient(180deg, #e2ebf4 0%, #d0e0f0 100%); /* Продолжение градиента вниз */
    padding: 80px 0; 
}
.cta-content { background: #fff; padding: 50px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: 32px; color: #004488; margin-bottom: 15px; }
.cta p { margin-bottom: 30px; font-size: 18px; color: #555; }
.contact-form { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 0 auto; }
.contact-form input { padding: 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; outline: none; }
.contact-form input:focus { border-color: #004488; }
.btn-submit { width: 100%; }
.contact-form small { font-size: 12px; color: #999; }

/* Подвал */
.footer { background: #001122; color: #aaa; padding: 30px 0; text-align: center; font-size: 14px; }
.footer p { margin-bottom: 10px; }

/* ========================================= */
/* СТРАНИЦА УСЛУГ (PREMIUM) */
/* ========================================= */

.services-page { 
    padding: 80px 0; 
    background: linear-gradient(180deg, #f8fafc 0%, #e2ebf4 100%); /* Плавный переход в голубой */
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* Дизайн карточки услуги */
.service-card { 
    background: #fff; 
    border: none; /* Убрали жесткую рамку, чтобы смотрелось современнее */
    padding: 40px 30px; 
    border-radius: 12px; 
    transition: all 0.3s ease; 
    /* Усилили базовую тень, чтобы карточки "отрывались" от фона */
    box-shadow: 0 10px 30px rgba(0, 34, 68, 0.06); 
    display: flex; 
    flex-direction: column; 
}
.service-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 40px rgba(0, 68, 136, 0.15); 
}

/* ИСПРАВЛЕНИЕ 1: Добавили точку перед service-icon */
.service-icon { 
    font-size: 45px; 
    margin-bottom: 20px; 
    text-align: center; 
    color: #ff8800; 
    animation: float 4s ease-in-out infinite; 
}

/* ИСПРАВЛЕНИЕ 2: Вернули стили для заголовков и текста внутри карточек */
.service-card h3 { color: #004488; margin-bottom: 15px; font-size: 20px; line-height: 1.4; text-align: center;}
.service-card p { margin-bottom: 20px; font-size: 15px; color: #555; flex-grow: 1; }

/* Список внутри карточки */
.service-list { list-style: none; padding-left: 0; margin-bottom: 25px; flex-grow: 1; }
.service-list li { position: relative; padding-left: 25px; margin-bottom: 10px; font-size: 14px; color: #444; }
.service-list li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #ff8800; font-weight: bold; }

/* Кнопка "Заказать" внутри карточки */
.btn-service { 
    display: inline-block; 
    text-align: center; 
    padding: 12px 20px; 
    background: transparent; 
    color: #004488; 
    border: 2px solid #004488; 
    border-radius: 6px; 
    font-weight: 600; 
    transition: all 0.3s; 
    margin-top: auto; 
}
.btn-service:hover { background: #004488; color: #fff; }

/* Оранжевый блок гарантии */
.guarantee-block { 
    /* Перевели оранжевый цвет в rgba с прозрачностью и добавили ту же фоновую картинку */
    background: linear-gradient(135deg, rgba(255, 136, 0, 0.85) 0%, rgba(230, 122, 0, 0.95) 100%),
                url('hero-bg.jpg') center/cover no-repeat fixed; 
    color: #fff; 
    padding: 60px 0; 
    text-align: center; 
    margin: 40px 20px 80px 20px; 
    border-radius: 15px; 
    /* Добавим легкую тень тексту, чтобы он не терялся на фоне ЛЭП */
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.guarantee-block h2 { font-size: 32px; margin-bottom: 20px; }
.guarantee-block p { font-size: 18px; max-width: 800px; margin: 0 auto; line-height: 1.6; font-weight: 500; }

/* ========================================= */
/* АДАПТИВНОСТЬ ПОД ТЕЛЕФОНЫ */
/* ========================================= */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .features-grid { flex-direction: column; }
    .hero h1 { font-size: 32px; }
}
/* Стили для галочки 152-ФЗ */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    text-align: left;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    cursor: pointer;
}

.privacy-checkbox input {
    margin-right: 10px;
    margin-top: 2px;
    width: auto;
    cursor: pointer;
}

.privacy-checkbox a {
    color: #004488;
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    text-decoration: none;
}