/* ============================================================
   ПОЛНЫЙ CSS — ВСЕ ЭЛЕМЕНТЫ
   ============================================================ */

/* 1. ОБЩИЕ */
* { box-sizing: border-box; }
body {
    background-color: #E8EEF2;
    font-family: 'Arial', sans-serif;
    color: #222;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 2. ШАПКА И МЕНЮ — БЕЛЫЙ ФОН, СИНИЙ ТЕКСТ */
.site-header,
header,
.main-navigation,
.menu-primary {
    background-color: #ffffff !important;
    border-bottom: 2px solid #0A2463 !important;
    padding: 0 20px;
}

.main-navigation a,
.menu-primary a,
.site-header .menu-item a,
.site-header .wp-block-navigation-item a {
    color: #0A2463 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-navigation a:hover,
.menu-primary a:hover {
    background-color: #F4A261 !important;
    color: #0A2463 !important;
}

.main-navigation .current-menu-item a {
    color: #E07A2C !important;
    border-bottom: 3px solid #E07A2C !important;
}

/* Мобильное меню */
.wp-block-navigation__container {
    background-color: #ffffff !important;
    padding: 10px !important;
    border: 1px solid #E8EEF2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wp-block-navigation__container .wp-block-navigation-item a {
    color: #0A2463 !important;
}

.wp-block-navigation__container .wp-block-navigation-item a:hover {
    background-color: #F4A261 !important;
    color: #0A2463 !important;
}

.wp-block-navigation__responsive-container-open svg {
    fill: #0A2463 !important;
}

/* 3. ПОДВАЛ */
.site-footer,
footer {
    background-color: #0A2463 !important;
    color: #ffffff !important;
    padding: 30px 20px;
    margin-top: 40px;
}

.site-footer a,
footer a {
    color: #ffffff !important;
}

.footer-phone-link,
.contact-phone a {
    color: #FF8C00 !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    display: inline-block !important;
    text-decoration: none;
}

/* 4. ЗАГОЛОВКИ */
h1, h2, h3, h4 {
    color: #0A2463;
}
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 600; border-bottom: 3px solid #F4A261; padding-bottom: 10px; }
h3 { font-size: 1.4rem; font-weight: 600; }

/* 5. КАРТОЧКИ */
.card,
.wp-block-group,
.wp-block-column {
    background-color: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(10,36,99,0.1);
    margin-bottom: 20px;
}

/* 6. ЦВЕТА */
.payment-amount { color: #0B8A5E; font-weight: bold; }
.icon-gold { color: #F4A261; }
.phone { color: #E07A2C; font-weight: bold; }

/* 7. КНОПКИ */
button, .btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background-color: #0A2463;
    color: #ffffff;
    cursor: pointer;
}
button:hover { background-color: #1a3a7a; }

/* 8. ССЫЛКИ */
a { color: #0A2463; text-decoration: underline; }
a:hover { color: #F4A261; text-decoration: none; }

/* 9. ТАБЛИЦЫ */
table {
    border-collapse: collapse;
    width: 100%;
    background-color: #F9FAFB;
    border-radius: 12px;
    overflow: hidden;
}
th {
    background-color: #0A2463;
    color: #ffffff;
    padding: 12px;
}
td {
    padding: 10px;
    border-bottom: 1px solid #E8EEF2;
}
tr:nth-child(even) { background-color: #E8EEF2; }

/* 10. АДАПТАЦИЯ */
@media (max-width: 768px) {
    table { display: block; overflow-x: auto; white-space: nowrap; font-size: 14px; }
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.4rem !important; }
    h3 { font-size: 1.2rem !important; }
    .wp-block-columns { flex-direction: column !important; }
    .wp-block-column { width: 100% !important; }
}

@media (min-width: 1921px) {
    .container, .wp-site-blocks { max-width: 1440px !important; margin: 0 auto !important; }
}
/* ============================================================
   ТЕЛЕФОН В ПОДВАЛЕ — ЯРКИЙ ОРАНЖЕВЫЙ
   ============================================================ */

/* Номер телефона в подвале */
.footer-phone-link,
.contact-phone a,
.site-footer a[href^="tel:"],
footer a[href^="tel:"],
.phone-number,
.phone a {
    color: #FF8C00 !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    display: inline-block !important;
    text-decoration: none !important;
    border: 2px solid #FF8C00 !important;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3) !important;
}

/* Текст "По вопросам работы портала" — белый */
.footer-label,
.contact-label,
.footer-phone-block .label {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* Подвал — синий фон, белый текст */
.site-footer,
footer {
    background-color: #0A2463 !important;
    color: #ffffff !important;
    padding: 30px 20px !important;
}

.site-footer a,
footer a {
    color: #ffffff !important;
}

/* Контейнер для телефона — по центру */
.footer-phone-block {
    text-align: center !important;
    padding: 15px 0 !important;
}
/* ============================================================
   СТРАНИЦА "БЛОГ"
   ============================================================ */
.blog-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 20px 25px;
    background: #F9FAFB;
    border-left: 5px solid #F4A261;
    border-radius: 10px;
    margin-bottom: 35px;
}

.blog-post {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    border-left: 4px solid #0A2463;
}

.blog-post h3 {
    color: #0A2463;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.blog-post p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.blog-post ul {
    padding-left: 20px;
}

.blog-post ul li {
    margin-bottom: 6px;
    color: #444;
    line-height: 1.5;
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    margin-top: 12px;
    border-top: 1px solid #E8EEF2;
    padding-top: 10px;
}

.blog-page hr {
    border: none;
    border-top: 2px dashed #E8EEF2;
    margin: 25px 0;
}

.disclaimer-box {
    background: #fef9f0;
    border-left: 5px solid #E07A2C;
    padding: 20px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #555;
    margin-top: 30px;
}
.main-navigation ul,
.menu-primary ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
}

.main-navigation li,
.menu-primary li {
    display: inline-block !important;
}
/* ============================================================
   СТРАНИЦА "УСЛОВИЯ СЛУЖБЫ"
   ============================================================ */

.services-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.services-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 20px 25px;
    background: #F9FAFB;
    border-left: 5px solid #F4A261;
    border-radius: 10px;
    margin-bottom: 35px;
}

.services-card {
    display: flex;
    gap: 20px;
    background: #F9FAFB;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    border-left: 4px solid #0A2463;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.1);
}

.services-card.highlight-card {
    border-left-color: #0B8A5E;
    background: #f4faf7;
}

.services-card.highlight-warning {
    border-left-color: #E07A2C;
    background: #fef9f0;
}

.services-icon {
    font-size: 38px;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
    margin-top: 4px;
}

.services-content {
    flex: 1;
}

.services-content h3 {
    color: #0A2463;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.services-content p {
    color: #222;
    line-height: 1.6;
    margin-bottom: 12px;
}

.services-content ul,
.services-content ol {
    padding-left: 20px;
    margin: 10px 0 15px;
}

.services-content ul li,
.services-content ol li {
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
}

.services-content a {
    color: #0A2463;
    text-decoration: underline;
    font-weight: 500;
}

.services-content a:hover {
    color: #F4A261;
}

/* ===== ТАБЛИЦА ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.95rem;
}

.services-table thead th {
    background: #0A2463;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
}

.services-table tbody td {
    padding: 10px 15px;
    border-bottom: 1px solid #E8EEF2;
}

.services-table tbody tr:nth-child(even) {
    background: #f8f9fc;
}

/* ===== ЦВЕТНЫЕ АКЦЕНТЫ ===== */
.payment-amount {
    color: #0B8A5E;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== ДИСКЛЕЙМЕР ===== */
.disclaimer-box {
    background: #fef9f0;
    border-left: 5px solid #E07A2C;
    padding: 20px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #555;
    margin-top: 20px;
}

.disclaimer-box strong {
    color: #8B1E1E;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .services-page {
        padding: 10px;
    }
    .services-intro {
        padding: 15px;
        font-size: 1rem;
    }
    .services-card {
        flex-direction: column;
        padding: 18px;
        gap: 10px;
    }
    .services-icon {
        font-size: 32px;
        text-align: left;
        min-width: auto;
    }
    .services-content h3 {
        font-size: 1.2rem;
    }
    .services-table {
        font-size: 0.85rem;
    }
    .services-table thead th,
    .services-table tbody td {
        padding: 8px 10px;
    }
    .disclaimer-box {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
}
/* ============================================================
   КОМПАКТНОЕ МЕНЮ
   ============================================================ */

/* Убираем отступы у шапки */
.site-header,
header {
    padding: 0 !important;
    margin: 0 !important;
}

/* Меню — в одну строку, плотно */
.main-navigation ul,
.menu-primary ul,
.wp-block-navigation__container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 !important; /* убираем расстояние между пунктами */
    padding: 5px 0 !important;
    margin: 0 !important;
}

/* Пункты меню — без отступов */
.main-navigation li,
.menu-primary li,
.wp-block-navigation-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Ссылки в меню — компактные */
.main-navigation a,
.menu-primary a,
.wp-block-navigation-item a {
    display: block !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
}

/* Убираем границы и полоски */
.main-navigation .menu-item,
.menu-primary .menu-item {
    border: none !important;
}

/* Активный пункт — без подчёркивания */
.main-navigation .current-menu-item a {
    border-bottom: none !important;
}
/* ============================================================
   СТРАНИЦА "ОПЕРАТОРЫ БПЛА"
   ============================================================ */

.drone-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.drone-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 20px 25px;
    background: #F9FAFB;
    border-left: 5px solid #F4A261;
    border-radius: 10px;
    margin-bottom: 35px;
}

.drone-card {
    display: flex;
    gap: 20px;
    background: #F9FAFB;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    border-left: 4px solid #0A2463;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drone-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.1);
}

.drone-card.highlight-card {
    border-left-color: #0B8A5E;
    background: #f4faf7;
}

.drone-card.highlight-warning {
    border-left-color: #E07A2C;
    background: #fef9f0;
}

.drone-icon {
    font-size: 38px;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
    margin-top: 4px;
}

.drone-content {
    flex: 1;
}

.drone-content h1 {
    color: #0A2463;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.drone-content h2 {
    color: #0A2463;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 3px solid #F4A261;
    padding-bottom: 10px;
}

.drone-content p {
    color: #222;
    line-height: 1.6;
    margin-bottom: 12px;
}

.drone-content ul {
    padding-left: 20px;
    margin: 10px 0 15px;
}

.drone-content ul li {
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
}

.drone-content a {
    color: #0A2463;
    text-decoration: underline;
    font-weight: 500;
}

.drone-content a:hover {
    color: #F4A261;
}

/* ===== ТАБЛИЦЫ ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
}

.drone-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.95rem;
}

.drone-table thead th {
    background: #0A2463;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
}

.drone-table tbody td {
    padding: 10px 15px;
    border-bottom: 1px solid #E8EEF2;
}

.drone-table tbody tr:nth-child(even) {
    background: #f8f9fc;
}

/* ===== ЦВЕТНЫЕ АКЦЕНТЫ ===== */
.payment-amount {
    color: #0B8A5E;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== ДИСКЛЕЙМЕР ===== */
.disclaimer-box {
    background: #fef9f0;
    border-left: 5px solid #E07A2C;
    padding: 20px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #555;
    margin-top: 20px;
}

.disclaimer-box strong {
    color: #8B1E1E;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .drone-page {
        padding: 10px;
    }
    .drone-intro {
        padding: 15px;
        font-size: 1rem;
    }
    .drone-card {
        flex-direction: column;
        padding: 18px;
        gap: 10px;
    }
    .drone-icon {
        font-size: 32px;
        text-align: left;
        min-width: 0;
    }
    .drone-content h1 {
        font-size: 1.5rem;
    }
    .drone-content h2 {
        font-size: 1.2rem;
    }
    .drone-table {
        font-size: 0.85rem;
    }
    .drone-table thead th,
    .drone-table tbody td {
        padding: 8px 10px;
    }
    .disclaimer-box {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
}