/* БАЗОВЫЕ СТИЛИ И ФОН */
body {
    margin: 0;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    background-attachment: fixed;
    color: #2c3e50;
    line-height: 1.6;
}

/* НАВИГАЦИЯ И БУРГЕР-МЕНЮ В ОДНУ СТРОКУ ПО ЦЕНТРУ */
header {
    background: #0d47a1;
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    width: 100%;
    flex-wrap: nowrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
}

/* Скрываем скроллбар */
.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 6px 9px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.nav-links a i {
    color: #81d4fa;
    font-size: 13px;
}

.nav-links a:hover {
    background-color: #1976d2;
    color: #fff;
    transform: translateY(-2px);
}

.nav-links a.nav-volet {
    background-color: #cff145 !important;
    color: #1e3c72 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(207, 241, 69, 0.5);
}

.nav-links a.nav-volet i {
    color: #1e3c72 !important;
}

.nav-links a.nav-volet:hover {
    background-color: #bce628 !important;
    color: #000 !important;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 26px;
    color: #ffffff;
    background: none;
    border: none;
}

/* КОНТЕЙНЕР ДЛЯ СЕКЦИЙ */
.container {
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 0 20px;
}

/* ВЕРХНИЙ БАННЕР */
.top-hero-banner {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
    border-radius: 25px;
    padding: 35px 20px;
    margin-bottom: 35px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(13, 71, 161, 0.2);
    border: 3px solid #e3f2fd;
}

.hero-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: #e3f2fd;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    text-transform: uppercase;
    text-align: center !important;
}

/* СЕКЦИИ */
section {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.08);
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f1f8ff 0%, #e3f2fd 100%);
}

h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    color: #0d47a1;
    margin-top: 0;
}

h2 i {
    color: #1976d2;
}

p, ul, li {
    text-align: justify;
    font-size: 15px; 
}

ul {
    padding-left: 0;
    list-style: none;
}

li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

li i {
    color: #1976d2;
    font-size: 16px;
    flex-shrink: 0;
}

/* СЕТКА С КАРТОЧКАМИ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cards-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

/* КАРТОЧКИ ИНФО */
.icon-card {
    background: #f8fbff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
    border: 2px solid transparent;
    display: grid;
    grid-template-columns: min-content 1fr;
    gap: 15px;
    align-items: start;
    text-align: left;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(13, 71, 161, 0.1);
    border: 2px solid #64b5f6;
    background: #ffffff;
}

.icon-circle {
    font-size: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.2);
    grid-column: 1;
    grid-row: 1 / 3;
}

.icon-card h3 {
    color: #0d47a1;
    margin: 0;
    font-size: 18px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 2;
    grid-row: 1;
}

.icon-card p {
    margin: 5px 0 0 0;
    font-size: 14px;
    text-align: left;
    grid-column: 2;
    grid-row: 2;
}

/* ШАГИ И НАСТРОЙКА */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.step-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #e3f2fd;
    display: grid;
    grid-template-columns: min-content 1fr;
    gap: 10px 15px;
    text-align: left;
    align-items: start;
}

.step-num {
    background: #1976d2;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 18px;
    font-size: 13px;
    box-sizing: border-box;
    white-space: nowrap;
    grid-column: 1;
    grid-row: 1 / 3;
}

.step-box h3 {
    color: #0d47a1;
    margin: 0;
    font-size: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    grid-column: 2;
    grid-row: 1;
}

.step-box p {
    text-align: left;
    font-size: 14px;
    margin: 5px 0 0 0;
    grid-column: 2;
    grid-row: 2;
}

/* КНОПКИ */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 35px;
    background: #0d47a1;
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-action:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.5);
    background: #0a3579;
}

.btn-center {
    display: flex;
    justify-content: center;
}

/* ЗЕРКАЛА */
.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.mirror-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 20px 10px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: 0.3s;
    background: #0d47a1 !important;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.2);
}

.mirror-link:hover {
    transform: translateY(-5px);
    background: #1565c0 !important;
    box-shadow: 0 8px 15px rgba(13, 71, 161, 0.4);
}

/* ТАРИФ */
.tariff-box {
    background: #e3f2fd;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 4px dashed #64b5f6;
}

.tariff-price {
    font-size: 50px;
    font-weight: 900;
    color: #0d47a1;
    margin: 10px 0;
}

/* БЛОК VOLET */
.volet-notice {
    margin-top: 30px;
    padding: 22px 28px;
    background-color: #ffffff;
    color: #1e3c72;
    border-radius: 18px;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 2px solid #cff145;
    line-height: 1.6;
}

.volet-notice p {
    margin-top: 0;
    margin-bottom: 20px;
}

.volet-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.btn-volet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    background-color: #cff145;
    color: #1e3c72;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(207, 241, 69, 0.6);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    border: none;
}

.btn-volet:hover {
    background-color: #bce628;
    color: #000000;
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(188, 230, 40, 0.8);
}

/* РАЗДЕЛ ТВ ПРИСТАВКИ */
.box-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-box-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #0d47a1;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
    transition: 0.3s;
}

.btn-box-toggle:hover {
    background: #0a3579;
    transform: translateY(-3px);
}

.box-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e3f2fd;
}

.box-card h3 {
    color: #0d47a1;
    margin-top: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-title {
    text-align: center;
    font-size: 24px;
    color: #0d47a1;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.top-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.top-box-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid #1976d2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-right: 1px solid #e3f2fd;
    border-top: 1px solid #e3f2fd;
    border-bottom: 1px solid #e3f2fd;
}

.top-box-item h4 {
    margin-top: 0;
    color: #0d47a1;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-box-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ФУТЕР И СОЦСЕТИ */
footer {
    background: #0d47a1;
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #64b5f6;
}

footer h3 {
    color: #ffffff !important;
}

footer p {
    color: #bbdefb !important;
    font-size: 14px;
}

.social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.vk { background-color: #2787F5; }
.tg { background-color: #0088cc; }
.ok { background-color: #ee8208; }

.social-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1180px) {
    .header-content {
        justify-content: space-between;
    }
    .burger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #0d47a1;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        text-align: center;
        overflow-x: visible;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        margin: 5px 20px;
        display: inline-flex;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .mirrors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .mirrors-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid-2x2 {
        grid-template-columns: 1fr;
    }
    section {
        padding: 25px;
    }
    .icon-card, .step-box {
        padding: 20px;
    }
    h2 {
        font-size: 24px;
    }
}