/* 1. Базовые настройки и переменные */
:root {
    --primary: #0a4da2;    /* Глубокий синий (доверие) */
    --accent: #00b0ff;     /* Яркий голубой (чистота) */
    --dark: #2d3436;       /* Текст */
    --light: #f4f7f6;      /* Фон секций */
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Шапка (Header) */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark);
}

.header-nav {
    display: flex;
    gap: 25px;
}

.header-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

.header-nav a:hover { color: var(--accent); }

.contact-link {
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

/* 3. Герой-блок (Hero) */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5faff 0%, #ffffff 100%);
}

.badge {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; margin: 0 0 20px; line-height: 1.2; }

/* 4. Карточки преимуществ */
.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.benefit-card:hover { transform: translateY(-5px); }

/* 5. Прайс-лист */
.price-list { margin-top: 20px; }

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.price-name { font-weight: 600; }
.price-cost { color: var(--primary); font-weight: 800; }

/* 6. Процесс (Timeline) */
.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.step-icon {
    min-width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    z-index: 1;
}

/* 7. Форма заказа */
.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: var(--primary);
    padding: 40px;
    border-radius: 30px;
    color: white;
}

input, select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    box-sizing: border-box; /* Важно для правильной ширины */
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover { background: #009be0; filter: brightness(1.1); }

/* 8. Отзывы и Гарантии */
.guarantee-badge {
    background: white;
    border: 3px solid var(--accent);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 15px 35px rgba(0,176,255,0.1);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
}

/* 9. Плавающие кнопки мессенджеров */
.messenger-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.messenger-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.messenger-link:hover { transform: scale(1.1); }
.viber { background: #7360f2; }
.telegram { background: #24A1DE; }
.messenger-link img { width: 32px; height: 32px; }

/* 10. Адаптив для мобильных */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .header-nav { display: none; } /* Скрываем навигацию на телефонах */
    .hero { text-align: center; padding: 60px 0; }
    .benefit-card { flex-direction: column; text-align: center; }
}