* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #F5F7FA;
    color: #1A1A1A;
    line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
a { color: inherit; text-decoration: none; }

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

/* HEADER */
.site-header {
    background: #0A1F44; color: #fff; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 72px;
}
.logo {
    font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700;
    color: #fff;
}
.logo span { color: #27AE60; }
nav a {
    margin-left: 28px; color: #fff; font-size: 15px;
    transition: color 0.2s;
}
nav a:hover { color: #27AE60; }
.btn-nav {
    background: #27AE60; padding: 8px 18px; border-radius: 6px;
}
.btn-nav:hover { background: #219a52; color: #fff !important; }

/* HERO */
.hero {
    background: linear-gradient(135deg, #0A1F44 0%, #1a3a6e 100%);
    color: #fff;
    padding: 80px 0;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero h1 {
    font-size: 56px; font-weight: 700; color: #27AE60; line-height: 1;
}
.hero h2 {
    font-size: 26px; font-weight: 600; margin: 16px 0 20px; color: #fff;
}
.hero p { font-size: 17px; color: #cfd8e6; margin-bottom: 32px; }
.hero-img img {
    width: 100%; border-radius: 12px; background: #152c54;
    border: 1px solid #27AE60;
}

.btn {
    display: inline-block;
    background: #27AE60; color: #fff;
    padding: 14px 28px; border-radius: 8px;
    font-weight: 600; font-size: 16px;
    transition: all 0.2s;
    margin-right: 12px;
}
.btn:hover { background: #219a52; transform: translateY(-2px); }
.btn-outline {
    background: transparent; border: 2px solid #27AE60;
    color: #27AE60;
}
.btn-outline:hover { background: #27AE60; color: #fff; }
.btn-big { font-size: 18px; padding: 18px 36px; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-dark { background: #0A1F44; color: #fff; }
.section-title {
    font-size: 36px; font-weight: 700; color: #0A1F44;
    text-align: center; margin-bottom: 40px;
}
.section-title.light { color: #fff; }
.lead { font-size: 17px; margin-bottom: 16px; }
.lead.light { color: #cfd8e6; }
.section-dark .lead { color: #cfd8e6; }

/* CARDS */
.cards-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.card {
    background: #fff; padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10,31,68,0.08);
    border-top: 4px solid #27AE60;
}
.section-dark .card {
    background: #152c54; color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.card-icon { font-size: 36px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; color: #0A1F44; }
.section-dark .card h3 { color: #fff; }
.card p { color: #555; font-size: 15px; }
.section-dark .card p { color: #cfd8e6; }

/* VALUE CARDS (dashboard) */
.card .label {
    font-size: 12px; color: #999; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 8px;
}
.card .value {
    font-size: 30px; font-weight: 700; color: #0A1F44;
}
.card .value small { font-size: 14px; font-weight: 400; color: #666; }

/* FEATURES */
.features {
    list-style: none;
    max-width: 720px; margin: 0 auto;
    font-size: 17px;
}
.features li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e6ee;
}

/* CTA */
.cta {
    background: #27AE60; color: #fff;
    padding: 80px 0; text-align: center;
}
.cta h2 { font-size: 36px; margin-bottom: 16px; }
.cta p { font-size: 18px; margin-bottom: 32px; opacity: 0.95; }
.cta .btn {
    background: #0A1F44; color: #fff;
}
.cta .btn:hover { background: #152c54; }

/* PAGE HEAD */
.page-head {
    background: #0A1F44; color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-head h1 { font-size: 42px; }

/* SPEC TABLE */
.spec-table {
    width: 100%; border-collapse: collapse;
    background: #fff; border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,31,68,0.08);
}
.spec-table tr { border-bottom: 1px solid #e0e6ee; }
.spec-table th {
    text-align: left; padding: 16px 24px;
    background: #F5F7FA; color: #0A1F44;
    font-weight: 600; width: 40%;
    border-right: 1px solid #e0e6ee;
}
.spec-table td { padding: 16px 24px; }
.spec-table tr:last-child { border-bottom: none; }

/* TWO COLUMNS */
.two-cols {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    align-items: center;
}
.img-block img {
    width: 100%; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10,31,68,0.15);
}

/* CHART */
.chart-box, .stats-box {
    background: #fff; padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10,31,68,0.08);
    margin-top: 32px;
}
.chart-box h2, .stats-box h2 {
    font-size: 20px; color: #0A1F44; margin-bottom: 16px;
}
.stats-box p { margin: 6px 0; font-size: 16px; }

/* CONTACTS */
.contacts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.contact-card {
    background: #fff; padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10,31,68,0.08);
    text-align: center;
    border-top: 4px solid #27AE60;
}
.contact-card h3 {
    font-size: 14px; color: #666; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 12px;
}
.contact-card a, .contact-card p {
    font-size: 18px; font-weight: 600; color: #0A1F44;
}

/* FOOTER */
.site-footer {
    background: #0A1F44; color: #cfd8e6;
    padding: 60px 0 20px;
    margin-top: 0px;
}
.footer-cols {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px; margin-bottom: 32px;
}
.footer-cols h4 {
    color: #fff; font-size: 15px; margin-bottom: 12px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-cols p, .footer-cols a {
    display: block; font-size: 14px; margin-bottom: 6px;
    color: #cfd8e6;
}
.footer-cols a:hover { color: #27AE60; }
.footer-bottom {
    border-top: 1px solid #1f3a68;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #8899b3;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-inner, .two-cols { grid-template-columns: 1fr; }
    .hero h1 { font-size: 40px; }
    nav a { margin-left: 12px; font-size: 13px; }
    .section { padding: 50px 0; }
    .section-title { font-size: 28px; }
}

/* Прогноз */
.forecast-box {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 31, 68, 0.08);
    margin-top: 32px;
    border-left: 4px solid #F39C12;
}
.forecast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.forecast-header h2 {
    font-size: 20px;
    color: #0A1F44;
    margin: 0;
}
.forecast-trend {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: #F5F7FA;
    color: #666;
}
.forecast-trend.rising  { background: #FEF3E2; color: #E67E22; }
.forecast-trend.falling { background: #E8F8F0; color: #27AE60; }
.forecast-trend.stable  { background: #F0F4FA; color: #0A1F44; }

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}
.forecast-item {
    background: #F5F7FA;
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 3px solid #F39C12;
}
.forecast-item.forecast-main {
    background: linear-gradient(135deg, #FFF4E0, #FEF3E2);
    border-left-color: #E67E22;
}
.forecast-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.forecast-value {
    font-size: 22px;
    font-weight: 700;
    color: #0A1F44;
    line-height: 1.1;
}
.forecast-value small {
    font-size: 11px;
    font-weight: 400;
    color: #666;
    margin-left: 2px;
}
.forecast-main .forecast-value {
    font-size: 28px;
    color: #E67E22;
}
.forecast-range {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}
.forecast-info {
    margin-top: 16px;
    font-size: 13px;
    color: #666;
    padding: 12px 16px;
    background: #F9FAFC;
    border-radius: 6px;
    border-left: 3px solid #F39C12;
}
/* Блок поддержки — один логотип по центру */
.support-text {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.support-logo-single {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(39, 174, 96, 0.25);
    max-width: 500px;
    margin: 0 auto;
}

.support-logo-single img {
    max-width: 100%;
    max-height: 140px;
    height: auto;
    display: block;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.95;
}

.support-logo-single img:hover {
    transform: scale(1.03);
    opacity: 1;
}

/* ============================================
   АДАПТИВ — 4 брейкпоинта + плавные переходы
   ============================================ */

/* Планшеты (≤1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }

    .hero { padding: 64px 0; }
    .hero h1 { font-size: 46px; }
    .hero h2 { font-size: 22px; }

    .section { padding: 64px 0; }
    .section-title { font-size: 32px; }

    .cards-4 { gap: 20px; }

    .two-cols { gap: 28px; }

    .header-inner { height: 68px; }
    nav a { margin-left: 20px; font-size: 14px; }
}

/* Большие телефоны / маленькие планшеты (≤768px) */
@media (max-width: 768px) {
    /* --- HEADER: убираем горизонтальное меню --- */
    .header-inner {
        height: 64px;
        position: relative;
    }
    nav {
        /* скрываем — если добавишь бургер, здесь будет его логика */
        display: none;
    }
    .logo { font-size: 21px; }

    /* --- HERO --- */
    .hero { padding: 48px 0; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .hero h1 { font-size: 38px; line-height: 1.05; }
    .hero h2 { font-size: 20px; margin: 12px 0 16px; }
    .hero p { font-size: 16px; margin-bottom: 24px; }
    .hero-img { order: -1; } /* картинка сверху — при желании убери */

    /* --- КНОПКИ: на всю ширину, друг под другом --- */
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 0 12px 0;
    }
    .btn:last-child { margin-bottom: 0; }
    .btn-big { font-size: 17px; padding: 16px 28px; }

    /* --- SECTIONS --- */
    .section { padding: 48px 0; }
    .section-title { font-size: 26px; margin-bottom: 28px; }

    /* --- ДВЕ КОЛОНКИ --- */
    .two-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .img-block { order: -1; } /* картинка сверху */

    /* --- ТАБЛИЦА: превращаем в карточки --- */
    .spec-table,
    .spec-table tbody,
    .spec-table tr,
    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
    }
    .spec-table thead { display: none; }
    .spec-table tr {
        border-bottom: 1px solid #e0e6ee;
        padding: 12px 0;
    }
    .spec-table tr:last-child { border-bottom: none; }
    .spec-table th {
        background: transparent;
        border: none;
        padding: 4px 20px 0;
        font-size: 12px;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .spec-table td {
        padding: 2px 20px 10px;
        font-size: 16px;
    }

    /* --- FORECAST --- */
    .forecast-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .forecast-main .forecast-value { font-size: 24px; }
    .forecast-value { font-size: 20px; }

    /* --- CTA --- */
    .cta { padding: 56px 0; }
    .cta h2 { font-size: 26px; }
    .cta p { font-size: 16px; margin-bottom: 24px; }

    /* --- PAGE HEAD --- */
    .page-head { padding: 44px 0; }
    .page-head h1 { font-size: 30px; }

    /* --- FOOTER --- */
    .site-footer { padding: 44px 0 16px; }
    .footer-cols { gap: 24px; margin-bottom: 24px; }
    .footer-cols h4 { font-size: 14px; }
}

/* Телефоны (≤480px) */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero { padding: 36px 0; }
    .hero h1 { font-size: 30px; }
    .hero h2 { font-size: 17px; }
    .hero p { font-size: 15px; }

    .section { padding: 36px 0; }
    .section-title { font-size: 22px; margin-bottom: 22px; }
    .lead { font-size: 15px; }

    .card { padding: 20px; }
    .card h3 { font-size: 17px; }
    .card p { font-size: 14px; }
    .card .value { font-size: 24px; }
    .card-icon { font-size: 30px; }

    .cta { padding: 44px 0; }
    .cta h2 { font-size: 22px; }
    .cta p { font-size: 15px; }

    .page-head { padding: 36px 0; }
    .page-head h1 { font-size: 25px; }

    .forecast-box,
    .chart-box,
    .stats-box { padding: 20px; }

    .forecast-item { padding: 12px; }
    .forecast-value { font-size: 18px; }
    .forecast-main .forecast-value { font-size: 22px; }

    .contact-card { padding: 24px 20px; }
    .contact-card a,
    .contact-card p { font-size: 16px; }

    .footer-bottom { font-size: 12px; }
}

/* Очень узкие экраны (≤360px) */
@media (max-width: 360px) {
    .container { padding: 0 14px; }
    .hero h1 { font-size: 26px; }
    .section-title { font-size: 20px; }
    .btn-big { font-size: 15px; padding: 14px 20px; }
    .logo { font-size: 19px; }
}

/* ============================================
   БУРГЕР-МЕНЮ
   ============================================ */

.burger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 110;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
    transition: background 0.2s;
}
.burger:hover { background: rgba(255, 255, 255, 0.08); }

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    margin: 5px auto;
    transition: transform 0.3s, opacity 0.2s;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Планшеты и мобилки — показываем бургер */
@media (max-width: 900px) {
    .burger { display: block; }

    .site-header nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #0A1F44;
        padding: 12px 24px 28px;
        transform: translateY(-130%);
        transition: transform 0.35s ease;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
        z-index: 105;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        visibility: hidden;
    }

    .site-header nav.open {
        transform: translateY(0);
        visibility: visible;
    }

    nav a {
        margin: 0;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
    }
    nav a:last-child { border-bottom: none; }

    nav a.btn-nav {
        margin-top: 18px;
        padding: 15px 20px;
        border-radius: 8px;
        text-align: center;
        border-bottom: none;
    }

    body.menu-open { overflow: hidden; }

    /* Мобильные размеры хедера */
    .header-inner { height: 64px; }
    .site-header nav { top: 64px; max-height: calc(100vh - 64px); }
}