/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2E7D32;
    --primary-light: #4CAF50;
    --primary-dark: #1B5E20;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.phone-link:hover {
    color: var(--primary-dark);
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    background: var(--primary);
}

.nav-list {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-weight: 500;
    transition: background 0.3s;
}

.nav-link:hover {
    background: var(--primary-dark);
}

/* Выпадающее меню */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    z-index: 50;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--bg-light);
    transition: background 0.3s;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Мобильное меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    background: linear-gradient(rgba(46, 125, 50, 0.55), rgba(46, 125, 50, 0.55)), url('bg-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 60px 20px;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== УСЛУГИ ===== */
.services {
    padding: 60px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* ===== ОПИСАНИЕ УСЛУГИ ===== */
.service-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* ===== КАК ЗАКАЗАТЬ ===== */
.how-to-order {
    padding: 60px 20px;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h3 {
    margin-bottom: 10px;
}

/* ===== РАЙОНЫ ===== */
.districts {
    padding: 60px 20px;
}

.districts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.district-tag {
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: 20px;
    color: var(--text);
}

/* ===== CTA СЕКЦИЯ ===== */
.cta {
    background: var(--primary);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 40px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer h4 {
    margin-bottom: 15px;
    color: var(--primary-light);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 8px;
}

.footer a {
    color: #ccc;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
    color: #888;
}

/* ===== ФИКСИРОВАННЫЕ КНОПКИ ВНИЗУ ===== */
.fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.fixed-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: filter 0.3s;
}

.fixed-btn:hover {
    filter: brightness(1.1);
}

.fixed-btn-call {
    background: var(--primary);
}

.fixed-btn-whatsapp {
    background: #25D366;
}

.fixed-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* Отступ снизу для контента чтобы не перекрывался кнопками */
body {
    padding-bottom: 60px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .header-phone {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 60px;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link {
        padding: 15px 20px;
    }

    .dropdown {
        display: none;
        position: static;
        box-shadow: none;
        background: var(--primary-dark);
        min-width: 100%;
    }

    .dropdown-link {
        color: var(--white);
        border-bottom-color: rgba(255,255,255,0.1);
        padding-left: 40px;
    }

    .dropdown-link:hover {
        background: rgba(0,0,0,0.1);
        color: var(--white);
    }

    .nav-item:hover .dropdown {
        display: none;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    /* Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    /* Close button */
    .menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 5px 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .cta-phone {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
