/* ====== ВСЁ ИЗ ПРЕДЫДУЩЕЙ ВЕРСИИ ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #1b365d;
    --green: #5f9e4d;
    --green-dark: #4a7e3c;
    --bg-light: #f5f7fa;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: var(--navy);
    line-height: 1.5;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.logo-img { height: 40px; }
.logo-text b { color: var(--green); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; transition: color 0.2s; }
.nav a:hover { color: var(--green); }
.header-phone { color: var(--navy); text-decoration: none; font-weight: 800; font-size: 16px; white-space: nowrap; }
.burger { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; background: #fff; padding: 10px 20px 20px; border-top: 1px solid #eee; }
.mobile-menu a { padding: 10px 0; color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid #f1f1f1; }
.mobile-menu.open { display: flex; }

/* HERO */
.hero { padding: 40px 0 0; text-align: center; background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%); }
.top-bar { background-color: var(--green); color: #fff; padding: 10px 20px; font-weight: 700; font-size: 14px; line-height: 1.3; border-radius: 15px; max-width: 420px; margin: 0 auto 30px; }
.hero-title { font-size: 44px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.green-text { color: var(--green); }
.hero-subtitle { font-size: 18px; margin-bottom: 25px; }
.price-block { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.price { font-size: 52px; font-weight: 800; line-height: 1; }
.turnkey { font-size: 20px; font-weight: 600; text-transform: uppercase; margin-top: 6px; }
.description { font-size: 20px; margin-bottom: 10px; }
.sub-description { font-size: 16px; margin-bottom: 25px; }
.services-block { margin-bottom: 25px; }
.services-title { font-size: 16px; margin-bottom: 10px; }
.services-list { list-style: none; display: inline-block; text-align: left; font-size: 16px; line-height: 1.7; }
.call-to-action { font-size: 18px; margin-bottom: 25px; }
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.btn { display: inline-block; padding: 16px 32px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; cursor: pointer; border: none; transition: all 0.2s; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-full { width: 100%; margin-top: 15px; }
.contacts { display: flex; flex-direction: column; gap: 10px; }
.phone-link { color: var(--navy); text-decoration: none; font-size: 28px; font-weight: 800; transition: color 0.2s; }
.phone-link:hover { color: var(--green); }

/* SECTION TITLES */
.section-title { font-size: 34px; font-weight: 800; text-align: center; text-transform: uppercase; margin-bottom: 10px; }
.section-subtitle { text-align: center; font-size: 16px; margin-bottom: 40px; color: #555; }

/* ============================================= */
/* ====== СЛАЙДЕР ПРОДАЮЩЕЙ ИСТОРИИ ============ */
/* ============================================= */
.story-slider {
    margin: 50px auto 0;
    padding: 0 40px;
    max-width: 1000px;
}

.story-slide { padding: 10px; }

.story-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(27,54,93,0.12);
    border: 1px solid #edf1f7;
    min-height: 260px;
    margin-bottom: 30px;
}

.story-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--green);
    color: #fff;
    margin-bottom: 16px;
}

.story-text h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
}

.story-text p { font-size: 16px; color: #555; line-height: 1.6; }

.story-visual {
    font-size: 120px;
    text-align: center;
    line-height: 1;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
}

/* Кнопки-стрелки Slick */
.story-slider .slick-prev,
.story-slider .slick-next {
    width: 46px; height: 46px;
    background: var(--navy);
    border-radius: 50%;
    z-index: 10;
    transition: background 0.2s;
}
.story-slider .slick-prev:hover,
.story-slider .slick-next:hover { background: var(--green); }
.story-slider .slick-prev { left: -10px; }
.story-slider .slick-next { right: -10px; }
.story-slider .slick-prev:before,
.story-slider .slick-next:before { font-size: 20px; opacity: 1; }

/* Точки */
.story-slider .slick-dots { bottom: -25px; }
.story-slider .slick-dots li button:before { font-size: 12px; color: var(--navy); opacity: 0.3; }
.story-slider .slick-dots li.slick-active button:before { color: var(--green); opacity: 1; }

/* ===== КАЛЬКУЛЯТОР ===== */
.calc-section { padding: 70px 0; background: var(--bg-light); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.calc-form, .calc-result { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(27,54,93,0.08); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input { width: 100%; padding: 12px 14px; border: 1.5px solid #dde3ec; border-radius: 8px; font-size: 16px; font-family: inherit; color: var(--navy); outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: var(--green); }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; gap: 10px; }
.result-item:last-of-type { border-bottom: none; }
.result-label { font-size: 14px; color: #555; }
.result-value { font-size: 18px; font-weight: 700; white-space: nowrap; }
.result-item.highlight .result-value { color: var(--green); }
.result-item.big { margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--navy); border-bottom: none; }
.result-item.big .result-label { font-size: 16px; font-weight: 700; color: var(--navy); }
.result-item.big .result-value { font-size: 24px; color: var(--green); }

/* ===== ОТЗЫВЫ ===== */
.reviews-section { padding: 70px 0; background: #fff; }
.reviews-slider { margin: 0 auto; max-width: 1000px; padding: 0 40px; }
.review-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    margin: 10px;
    border-left: 4px solid var(--green);
    min-height: 220px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}
.review-stars { color: #f5a623; font-size: 20px; margin-bottom: 14px; letter-spacing: 3px; }
.review-text { font-size: 15px; color: #333; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 14px; font-weight: 700; color: var(--navy); }
.reviews-slider .slick-prev,
.reviews-slider .slick-next { width: 46px; height: 46px; background: var(--navy); border-radius: 50%; z-index: 10; }
.reviews-slider .slick-prev:hover,
.reviews-slider .slick-next:hover { background: var(--green); }
.reviews-slider .slick-prev { left: -10px; }
.reviews-slider .slick-next { right: -10px; }
.reviews-slider .slick-prev:before,
.reviews-slider .slick-next:before { font-size: 20px; opacity: 1; }
.reviews-slider .slick-dots { bottom: -30px; }
.reviews-slider .slick-dots li button:before { font-size: 12px; color: var(--navy); opacity: 0.3; }
.reviews-slider .slick-dots li.slick-active button:before { color: var(--green); opacity: 1; }

/* ===== ПРЕИМУЩЕСТВА ===== */
.why { padding: 70px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--bg-light); padding: 28px 24px; border-radius: 14px; text-align: center; transition: transform 0.2s; }
.why-card:hover { transform: translateY(-4px); }
.why-icon { font-size: 40px; margin-bottom: 12px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.why-card p { font-size: 14px; color: #555; }

/* ===== УСЛУГИ ===== */
.services { padding: 70px 0; background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; padding: 26px 22px; border-radius: 14px; border-left: 4px solid var(--green); box-shadow: 0 4px 15px rgba(27,54,93,0.06); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.service-card p { font-size: 14px; color: #555; }

/* ===== КОНТАКТЫ + КАРТА ===== */
.contacts-section { padding: 70px 0; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.contact-card { background: var(--navy); color: #fff; padding: 26px 24px; border-radius: 14px; text-align: center; }
.contact-card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: #a9c2e3; font-weight: 600; }
.contact-card p, .contact-card a { color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; display: block; line-height: 1.6; }
.contact-card a:hover { color: var(--green); }

.map-wrapper {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(27,54,93,0.12);
    border: 4px solid #fff;
}

/* Форма */
.contact-form { max-width: 640px; margin: 0 auto; background: var(--bg-light); padding: 34px 30px; border-radius: 16px; }
.contact-form h3 { font-size: 20px; text-align: center; margin-bottom: 22px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #dde3ec; border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--navy); outline: none; resize: vertical; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form #carModel { margin-bottom: 14px; }
.contact-form textarea { margin-bottom: 14px; }
.form-note { font-size: 12px; color: #888; text-align: center; margin-top: 12px; }

/* FOOTER */
.footer { background: var(--navy); color: #fff; text-align: center; padding: 24px 0; font-size: 13px; }

.floating-call { display: none; position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; background: var(--green); color: #fff; border-radius: 50%; font-size: 24px; text-decoration: none; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(95,158,77,0.4); z-index: 200; }

/* ===== АДАПТИВ ===== */
@media (max-width: 960px) {
    .nav, .header-phone { display: none; }
    .burger { display: block; }
    .calc-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 34px; }
    .price { font-size: 42px; }
    .phone-link { font-size: 24px; }
    .section-title { font-size: 26px; }

    .story-inner { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
    .story-visual { font-size: 80px; order: -1; }
    .story-text h2 { font-size: 20px; }
}

@media (max-width: 600px) {
    .hero { padding: 25px 0 0; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 15px; }
    .price { font-size: 34px; }
    .turnkey { font-size: 16px; }
    .description { font-size: 16px; }
    .sub-description { font-size: 14px; }
    .phone-link { font-size: 22px; }
    .why-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-title { font-size: 22px; }
    .section-subtitle { font-size: 14px; }
    .btn { padding: 14px 22px; font-size: 15px; }
    .calc-form, .calc-result { padding: 22px 18px; }
    .floating-call { display: flex; }
    .contacts-section, .why, .services, .calc-section, .reviews-section { padding: 50px 0; }
    .result-value { font-size: 16px; }
    .result-item.big .result-value { font-size: 20px; }

    .story-slider { padding: 0 25px; }
    .story-slide { padding: 5px; }
    .story-inner { padding: 22px 18px; }
    .story-text h2 { font-size: 18px; }
    .story-text p { font-size: 14px; }
    .story-visual { font-size: 60px; }
    .story-slider .slick-prev,
    .story-slider .slick-next,
    .reviews-slider .slick-prev,
    .reviews-slider .slick-next { width: 36px; height: 36px; }
    .reviews-slider { padding: 0 25px; }

    .map-wrapper #yandexMap { height: 300px !important; }
}
/* ============================================= */
/* ========== НОВЫЙ ГЛАВНЫЙ ЭКРАН ============== */
/* ============================================= */

.hero {
    position: relative;
    padding: 50px 0 0;
    overflow: hidden;
    background: #f5f7fa;
}

/* Декоративный фон */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(95,158,77,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(27,54,93,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 50px;
}

/* ===== ЛЕВАЯ КОЛОНКА ===== */
.hero-content {
    text-align: left;
}

/* Бейдж срочности */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #1b365d;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(27,54,93,0.06);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5f9e4d;
    box-shadow: 0 0 0 4px rgba(95,158,77,0.2);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(95,158,77,0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(95,158,77,0); }
    100% { box-shadow: 0 0 0 0 rgba(95,158,77,0); }
}

/* Заголовок */
.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #1b365d;
}

.green-text {
    color: #5f9e4d;
}

/* Подзаголовок */
.hero-subtitle {
    font-size: 19px;
    color: #33475b;
    margin-bottom: 26px;
    max-width: 520px;
    line-height: 1.5;
}

.hero-subtitle strong {
    color: #1b365d;
    font-weight: 700;
}

/* Блок цены */
.hero-price-row {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.price-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    box-shadow: 0 6px 18px rgba(27,54,93,0.05);
}

.price-card-green {
    background: #5f9e4d;
    border-color: #5f9e4d;
    color: #fff;
}

.price-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.price-card-green .price-label {
    opacity: 0.9;
}

.price-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

/* Мини-факты */
.hero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 28px;
    font-size: 15px;
    font-weight: 600;
    color: #1b365d;
}

.hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* CTA */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.btn-lg {
    padding: 18px 32px;
    font-size: 16px;
}

/* Микро-доверие */
.hero-note {
    font-size: 13px;
    color: #6b7c8f;
    margin-bottom: 22px;
}

/* Телефоны */
.hero-phones {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-phones a {
    color: #1b365d;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    transition: color 0.2s;
}

.hero-phones a:hover {
    color: #5f9e4d;
}

/* ===== ПРАВАЯ КОЛОНКА: КАРТОЧКА ===== */
.hero-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(27,54,93,0.12);
    border: 1px solid #edf1f7;
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: #5f9e4d;
    border-radius: 0 0 4px 4px;
}

.hero-card-head {
    margin-bottom: 22px;
}

.hero-card-head h3 {
    font-size: 21px;
    font-weight: 800;
    color: #1b365d;
    margin-bottom: 6px;
}

.hero-card-head p {
    font-size: 14px;
    color: #6b7c8f;
}

/* Список "что входит" */
.hero-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
}

.hero-card-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eaf4e4;
    color: #5f9e4d;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.hero-card-list strong {
    display: block;
    font-size: 15px;
    color: #1b365d;
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-card-list p {
    font-size: 13px;
    color: #6b7c8f;
    margin: 0;
    line-height: 1.4;
}

/* Футер карточки: доверие */
.hero-card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #edf1f7;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-num {
    font-size: 20px;
    font-weight: 800;
    color: #5f9e4d;
    line-height: 1;
}

.trust-text {
    font-size: 11px;
    color: #6b7c8f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== НИЖНЯЯ ПОЛОСА-СЛОГАН ===== */
.hero-slogan {
    background: #1b365d;
    color: #fff;
    text-align: center;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    margin: 0 auto;
    max-width: 1100px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 17px;
        max-width: 100%;
    }

    .hero-card {
        order: 2;
    }

    .hero-slogan {
        border-radius: 14px 14px 0 0;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 30px 0 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-price-row {
        flex-direction: column;
        gap: 10px;
    }

    .price-card {
        min-width: 100%;
        padding: 12px 18px;
    }

    .price-value {
        font-size: 22px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        padding: 15px 20px;
    }

    .hero-phones {
        flex-direction: column;
        gap: 10px;
    }

    .hero-phones a {
        font-size: 20px;
    }

    .hero-card {
        padding: 26px 20px;
    }

    .hero-card-footer {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .hero-slogan {
        font-size: 14px;
        padding: 12px 16px;
    }
}