@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ================= ОБЩИЕ ЦВЕТА ================= */

:root {
    --green: #1E3A32;
    --green2: #245b4c;
    --ink: #172033;
    --muted: #64748b;
    --line: #dbe2ea;
    --paper: #ffffff;
    --soft: #eef2f7;
}
/* ================= ОБЩИЙ ФОН САЙТА ================= */

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(
        90deg,
        #e2e8f0 0%,
        #f8fafc 100%
    );
    background-attachment: fixed;
    color: #172033;
    -webkit-font-smoothing: antialiased;
}

/* ================= ШАПКА САЙТА ================= */

.site-header {
    display: block;
    width: 100%;
    padding: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(148,163,184,.25);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    font-family: 'Manrope', sans-serif;
}

.site-header .header-inner {
    box-sizing: border-box;
    max-width: 1450px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    gap: 26px;
}

/* ================= ЛОГОТИП ================= */

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    min-width: 225px;
}

.site-header .logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header .brand-copy strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--green);
    line-height: 1.25;
}

.site-header .brand-copy small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    line-height: 1.4;
}

/* ================= МЕНЮ ================= */

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    flex: 1;
    flex-wrap: nowrap;
    min-width: 0;
}

.site-header .main-nav a {
    font-size: 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: var(--green);
    border-color: var(--green);
}

/* ================= ТЕЛЕФОН ================= */

.site-header .header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header .phone {
    font-weight: 800;
    text-decoration: none;
    font-size: 13px;
    color: var(--ink);
    white-space: nowrap;
}

.site-header .phone small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    text-align: right;
}

/* ================= КНОПКА ================= */

.site-header .header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    font: 700 11px 'Manrope', sans-serif;
    white-space: nowrap;
    transition: .2s;
}

.site-header .header-btn:hover {
    background: var(--green2);
    transform: translateY(-1px);
}

/* ================= ПЛАНШЕТЫ ================= */

@media (max-width: 1120px) {

    .site-header .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-header .main-nav {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 0;
    }

    .site-header .header-right {
        margin-left: auto;
    }
}

/* ================= ТЕЛЕФОНЫ ================= */

@media (max-width: 700px) {

    .site-header .header-inner {
        padding: 12px 18px;
    }

    .site-header .brand {
        min-width: 0;
    }

    .site-header .logo-img {
        width: 60px;
        height: 60px;
    }

    .site-header .brand-copy small {
        max-width: 190px;
    }

    .site-header .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .site-header .main-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-header .main-nav a {
        font-size: 12px;
    }

    .site-header .phone small {
        text-align: left;
    }
}
/* =========================================
   ЕДИНЫЙ ПОДВАЛ САЙТА
   ========================================= */

.site-footer {
    display: block;
    box-sizing: border-box;
    width: 100%;
    background: transparent;
    padding: 42px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 40px;
    text-align: center;
    color: #64748b;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
}

.site-footer .footer-inner {
    box-sizing: border-box;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px 28px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.site-footer .footer-links a {
    color: #1E3A32;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.site-footer .footer-links a:hover {
    text-decoration: underline;
}

/* СОЦИАЛЬНЫЕ СЕТИ */

.site-footer .footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.site-footer .footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.site-footer .footer-socials a:hover {
    transform: translateY(-3px);
}

.site-footer .footer-socials .telegram {
    background: #229ED9;
}

.site-footer .footer-socials .vk {
    background: #0077FF;
}

/* АВТОРСКИЕ ПРАВА */

.site-footer .footer-copyright {
    margin-top: 20px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* =========================================
   ПОДВАЛ НА МОБИЛЬНЫХ УСТРОЙСТВАХ
   ========================================= */

@media (max-width: 768px) {

    .site-footer {
        display: block;
        padding: 30px 0 140px;
        margin-top: 20px;
    }

    .site-footer .footer-inner {
        padding: 0 18px;
        align-items: center;
    }

    .site-footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .site-footer .footer-socials {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .site-footer .footer-copyright {
        text-align: center;
        font-size: 12px;
    }
}
/* Размер иконок социальных сетей */

.site-footer .footer-socials svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
/* КОМПАКТНАЯ МОБИЛЬНАЯ ШАПКА */
@media (max-width: 700px) {
    .site-header { padding: 0 !important; }
    .site-header .header-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px 12px !important;
        gap: 6px !important;
    }
    .site-header .brand { min-width: 0; gap: 8px !important; margin: 0 !important; }
    .site-header .logo-img { width: 40px !important; height: 40px !important; }
    .site-header .brand-copy { text-align: left; }
    .site-header .brand-copy strong { font-size: 15px !important; }
    .site-header .brand-copy small { max-width: none; font-size: 10px !important; line-height: 1.2; }
    .site-header .header-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .site-header .phone { font-size: 13px !important; text-align: left; }
    .site-header .phone small { font-size: 9px !important; text-align: left; }
    .site-header .header-btn { padding: 9px 12px !important; font-size: 11px !important; width: auto !important; }
    .site-header .main-nav {
        order: 3;
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }
    .site-header .main-nav a { font-size: 11px !important; padding: 6px 0 !important; line-height: 1.3 !important; }
}
