/* Базовые настройки */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: #333; background-color: #fdfdfd; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Цвета */
:root {
    --primary-color: #27ae60;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --light-bg: #f4f7f6;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Кнопки */
.btn { 
    display: inline-block; padding: 14px 28px; border-radius: 8px; 
    font-weight: 600; font-size: 1rem; cursor: pointer; 
    transition: all 0.3s ease; text-align: center; border: none; 
}
.btn-primary { background-color: var(--accent-color); color: white; box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3); }
.btn-primary:hover { background-color: #d35400; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4); }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; padding: 10px 20px;}
.btn-outline:hover { background-color: var(--primary-color); color: white; }

/* Анимация пульсации */
.btn-glow { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

/* Навигация и Логотип */
.navbar { background: white; padding: 10px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }

.logo { display: flex; align-items: center; gap: 12px; z-index: 1001; }
.logo-img { height: 50px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text span { font-size: 1.1rem; font-weight: 700; color: var(--secondary-color); text-transform: uppercase;}
.logo-text small { font-size: 0.9rem; font-weight: 600; color: var(--primary-color); }

.nav-links { display: flex; gap: 25px; align-items: center; transition: 0.4s ease-in-out; }
.nav-links a { font-weight: 500; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-color); transition: width 0.3s; }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }

.nav-contact { display: flex; align-items: center; gap: 15px; }
.phone-link { font-size: 1.1rem; font-weight: 700; color: var(--secondary-color); transition: color 0.3s; }
.phone-link:hover { color: var(--primary-color); }

/* Бургер-меню */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 1001; }
.menu-toggle .bar { height: 3px; width: 25px; background: var(--secondary-color); margin: 3px 0; border-radius: 3px; transition: 0.3s ease; }

/* Главный экран */
.hero { 
    margin-top: 70px;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.8)), 
                url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1920&q=80') center/cover; 
    color: white; padding: 120px 0; text-align: center; 
}
.hero h1 { font-size: 3.2rem; margin-bottom: 25px; font-weight: 700; line-height: 1.2; }
.hero p { font-size: 1.2rem; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; opacity: 0.9; }

/* Секции */
.section { padding: 90px 0; }
.section-title { text-align: center; font-size: 2.3rem; margin-bottom: 50px; color: var(--secondary-color); font-weight: 700; }
.bg-light { background-color: var(--light-bg); }

/* Что такое станция */
.about-text { background: white; padding: 40px; border-radius: 15px; box-shadow: var(--shadow-soft); max-width: 800px; margin: 0 auto; }
.about-text p { font-size: 1.1rem; margin-bottom: 25px; color: #555; }
.check-list li { margin-bottom: 15px; font-size: 1.1rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.check-list li span { color: var(--primary-color); font-weight: bold; }

/* Видео адаптивное */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 соотношение сторон */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Каталог (Сетка адаптируется автоматически) */
.catalog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.product-card { 
    background: white; border-radius: 15px; padding: 25px; text-align: center; 
    box-shadow: var(--shadow-soft); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid #f0f0f0;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: transparent; }
.product-img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 20px; border-radius: 10px; }
.product-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--secondary-color); }
.users { color: #7f8c8d; margin-bottom: 15px; font-size: 0.95rem; }
.price { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); margin-bottom: 25px; }
.product-card .btn { width: 100%; }

/* Контакты / Лид-форма */
.contact-section { background-color: var(--light-bg); }
.contact-box { background: white; padding: 60px 40px; border-radius: 20px; box-shadow: var(--shadow-soft); max-width: 800px; margin: 0 auto; }
.contact-box h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--secondary-color); }

.huge-phone { margin: 20px 0; padding: 20px; background: #fff8f3; border-radius: 10px; border: 2px dashed var(--accent-color); }
.huge-phone p { color: var(--secondary-color); font-weight: 600; margin-bottom: 5px; }
.huge-phone a { font-size: 2.5rem; font-weight: 700; color: var(--accent-color); text-decoration: none; }
.huge-phone a:hover { color: #d35400; }

.contact-form { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.contact-form input { 
    padding: 16px 20px; width: 260px; border: 1px solid #ddd; 
    border-radius: 8px; font-size: 1rem; background: #f9f9f9;
}
.contact-form input:focus { outline: none; border-color: var(--primary-color); background: white; }

/* Футер */
footer { background: var(--secondary-color); color: #bdc3c7; padding: 40px 0; font-size: 0.9rem; }
footer a { color: white; font-weight: 600; }
footer a:hover { color: var(--primary-color); }

/* Анимации появления */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* Мобильная адаптивность */
@media (max-width: 992px) {
    .nav-contact { display: none; } /* Скрываем кнопку и телефон в шапке (перенесем в меню) */
    .menu-toggle { display: flex; }
    
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%; height: 100vh;
        background: white; flex-direction: column; justify-content: flex-start;
        padding-top: 50px; gap: 30px; opacity: 0; visibility: hidden;
        transform: translateY(-20px); box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links a { font-size: 1.3rem; }
    
    /* Добавляем телефон прямо в открытое мобильное меню */
    .nav-links::after {
        content: "Звоните: 8 (996) 637-20-06";
        display: block; margin-top: 20px; font-size: 1.2rem;
        color: var(--accent-color); font-weight: bold; text-align: center;
    }

    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .logo-img { height: 40px; }
    .logo-text span { font-size: 1rem; }
    .huge-phone a { font-size: 1.8rem; }
    .contact-form input, .contact-form button { width: 100%; max-width: 350px; }
    .contact-box { padding: 30px 15px; }
}