/* Базовые переменные и настройки */
:root {
    --primary: #0a4da2; /* Твой глубокий синий */
    --accent: #00d2ff;  /* Твоя яркая вода */
    --dark: #2c3e50;
    --light: #f8fbff;
    --white: #ffffff;
}

* { 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: var(--dark);
    background-color: var(--white);
    scroll-behavior: smooth;
    line-height: 1.6;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- Шапка (Header) --- */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-weight: 800; 
    font-size: 1.5rem; 
    color: var(--primary); 
    text-transform: uppercase; 
    text-decoration: none;
}

.contact-link { 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 600; 
    border: 2px solid var(--primary); 
    padding: 8px 20px; 
    border-radius: 50px; 
    transition: 0.3s; 
}

.contact-link:hover { 
    background: var(--primary); 
    color: white; 
}

/* --- Герой-блок (Hero) --- */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, #eef7ff 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    line-height: 1.2; 
}

.hero p { 
    font-size: 1.2rem; 
    color: #666; 
    max-width: 700px; 
    margin: 0 auto 30px; 
}

.badge { 
    background: #e3f2fd; 
    color: var(--primary); 
    padding: 8px 15px; 
    border-radius: 5px; 
    font-weight: 600; 
    display: inline-block; 
    margin-bottom: 15px; 
}

/* --- Карточки преимуществ --- */
.benefit-card {
    background: white; 
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    display: flex; 
    align-items: center; 
    gap: 20px;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* --- Прайс-лист (Твой дизайн с пунктиром) --- */
.price-list {
    margin-top: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #ccc;
}

.price-item:last-child { 
    border-bottom: none; 
}

.price-name { 
    font-weight: 500; 
}

.price-cost { 
    color: var(--primary); 
    font-weight: 700; 
    white-space: nowrap; 
}

/* --- Технологический процесс (Timeline) --- */
.timeline-line {
    position: absolute; 
    left: 30px; 
    top: 0; 
    bottom: 0; 
    width: 2px; 
    background: #eef2f6;
}

.process-step {
    display: flex; 
    gap: 30px; 
    margin-bottom: 40px; 
    position: relative;
}

.step-icon {
    min-width: 60px; 
    height: 60px; 
    background: var(--light); 
    border: 2px solid var(--primary); 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    z-index: 2;
}

/* --- Кнопки --- */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.submit-btn:hover { 
    background: #00b8e6; 
    filter: brightness(1.1); 
}

/* --- FAQ Аккордеон --- */
.faq-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.faq-card:hover { 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    user-select: none;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #666;
    line-height: 1.6;
}

.faq-card.active .faq-answer {
    padding-bottom: 25px;
    max-height: 300px;
}

.faq-card.active .arrow { 
    transform: rotate(180deg); 
}

.arrow { 
    transition: 0.3s; 
    color: var(--accent); 
    font-weight: bold; 
}

/* --- Форма заказа --- */
.order-section {
    background: var(--primary);
    padding: 100px 0;
    color: white;
    border-radius: 50px 50px 0 0;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    color: var(--dark);
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
}

/* --- Подвал --- */
footer { 
    padding: 50px 0; 
    text-align: center; 
    background: #f4f7f9; 
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 140px 0 70px; }
    .grid-responsive { grid-template-columns: 1fr !important; }
}
/* Плавающая кнопка мессенджеров */
.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: transform 0.3s;
}

.messenger-link:hover { transform: scale(1.1); }
.viber { background: #7360f2; }
.telegram { background: #24A1DE; }
.messenger-link img { width: 32px; height: 32px; }

/* Блок гарантии */
.guarantee-badge {
    background: #fff;
    border: 3px solid var(--accent);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 600px;
    margin: -50px auto 50px; /* Наплыв на следующий блок */
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0,176,255,0.15);
}

.guarantee-badge h3 { color: var(--primary); margin: 15px 0; }
/* Блок отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
}

.review-stars {
    color: #ffcc00;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-text {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

.review-date {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}
.header-nav {
    display: flex;
    gap: 25px;
}

.header-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.header-nav a:hover {
    color: var(--accent);
}

/* Скрываем меню на мобилках, чтобы не наезжало на логотип */
@media (max-width: 768px) {
    .header-nav {
        display: none; /* Позже можно сделать бургер-меню */
    }
}
.error-message {
    display: block;
    padding-bottom: 10px;
    font-weight: 600;
}