/* Изолированная дизайн-система для Сайта №1 (Industrial Service Style) */
:root {
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --navy-dark: #0f172a;
    --navy-muted: #1e293b;
    --amber-warning: #f59e0b; /* Сигнальный желтый */
    --amber-hover: #d97706;
    --text-dark: #334155;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Top Bar */
.utility-bar {
    background-color: var(--navy-dark);
    color: var(--bg-light);
    font-size: 13px;
    padding: 10px 0;
    font-weight: 600;
}

.bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bar-status {
    color: var(--amber-warning);
    text-transform: uppercase;
}

/* Header Navigation */
.main-header {
    background-color: var(--bg-white);
    border-bottom: 3px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.brand-logo a {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy-dark);
    text-decoration: none;
    text-transform: uppercase;
}

.brand-logo span {
    color: var(--amber-warning);
}

/* Навигация для десктопа */
.navigation-links a {
    color: var(--navy-muted);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.navigation-links a:hover {
    color: var(--amber-warning);
}

/* Кнопка бургера (скрыта на десктопе) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--navy-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анимация бургера в крестик при активации */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.action-btn {
    background-color: var(--navy-dark);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 4px;
    text-align: right;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: var(--navy-muted);
}

.action-btn small {
    display: block;
    font-size: 11px;
    color: var(--amber-warning);
    text-transform: uppercase;
    font-weight: bold;
}

.action-btn span {
    font-size: 18px;
    font-weight: 800;
}

/* Адаптивность для мобильного хедера */
@media (max-width: 991px) {
    .navigation-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        padding: 120px 40px 40px 40px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 1050;
    }

    .navigation-links.active {
        right: 0;
    }

    .navigation-links a {
        margin: 0;
        font-size: 18px;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 10px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-layout {
        height: 75px;
    }
}

@media (max-width: 480px) {
    .action-btn {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION (С темным оверлеем поверх PNG и контрастным текстом)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%), 
                url('../images/header-industrial-bg.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
    .hero-section { 
        padding: 80px 0; 
    }
}

/* Очищаем блок текста, так как теперь вся секция залита темным градиентом */
.hero-text-block {
    background: transparent;
    padding: 0;
    border: none;
}

.hero-text-block .location-tag {
    display: inline-block;
    background-color: var(--amber-warning);
    color: var(--navy-dark);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 3px;
}

.hero-text-block h1 {
    font-size: 32px;
    color: var(--bg-white);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .hero-text-block h1 { 
        font-size: 44px; 
    }
}

.hero-text-block h1 span {
    color: var(--amber-warning);
    display: inline-block;
    margin-top: 5px;
}

.hero-text-block p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .hero-text-block p { 
        font-size: 18px; 
    }
}

.trust-check-list .check-item {
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.trust-check-list .check-item {
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

/* Capture Panel Card */
.capture-panel {
    background-color: var(--bg-white);
    border: 3px solid var(--navy-dark);
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(15,23,42,0.08);
    overflow: hidden;
}

.panel-head {
    background-color: var(--navy-dark);
    color: var(--bg-white);
    padding: 25px;
    text-align: center;
}

.panel-head h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--bg-white);
}

.panel-head p {
    color: var(--border-light);
    font-size: 13px;
}

.panel-body {
    padding: 30px 25px;
    text-align: center;
}

.alert-box-amber {
    background-color: #fef3c7;
    border: 1px solid var(--amber-warning);
    color: #92400e;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 25px;
}

.mega-phone-action {
    display: block;
    width: 100%;
    background-color: var(--amber-warning);
    color: var(--navy-dark);
    border: none;
    padding: 18px;
    font-size: 20px;
    font-weight: 900;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 0 #b45309;
    transition: transform 0.1s, box-shadow 0.1s;
}

.mega-phone-action:active {
    transform: translateY(4px);
    box-shadow: none;
}

.sub-guarantee {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Technical Matrix Grid */
.technical-indicators {
    padding: 60px 0;
    background-color: var(--bg-white);
}

@media (min-width: 768px) {
    .technical-indicators { padding: 80px 0; }
}

.block-headline {
    font-size: 28px;
    text-align: center;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .block-headline { font-size: 32px; }
}

.block-sub-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .matrix-grid { grid-template-columns: repeat(3, 1fr); }
}

.matrix-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: 4px;
    position: relative;
}

.matrix-box .icon-holder {
    font-size: 36px;
    font-weight: 900;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.matrix-box h3 {
    font-size: 19px;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.matrix-box p {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 20px;
}

.box-link {
    color: var(--navy-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.box-link:hover {
    text-decoration: underline;
}

/* Editorial Content Block (SEO-Longread Layout) */
.editorial-content {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .editorial-content { padding: 80px 0; }
}

.main-body-text h2 {
    font-size: 24px;
    color: var(--navy-dark);
    margin: 35px 0 20px 0;
    font-weight: 800;
}

@media (min-width: 768px) {
    .main-body-text h2 { font-size: 28px; }
}

.main-body-text h2:first-of-type {
    margin-top: 0;
}

.main-body-text h3 {
    font-size: 20px;
    color: var(--navy-dark);
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.main-body-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-dark);
    text-align: justify;
}

.main-body-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.main-body-text ul li {
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* Media handling inside content */
.in-content-media {
    margin: 30px 0;
    background-color: var(--bg-white);
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.article-graphic {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.img-caption {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.text-right-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .text-right-split {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
    }
}

.article-graphic-side {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* FAQ Accordion Layout */
.faq-accordion-zone {
    background-color: var(--navy-dark);
    color: var(--bg-light);
    padding: 60px 0;
}

@media (min-width: 768px) {
    .faq-accordion-zone { padding: 80px 0; }
}

.faq-header {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--bg-white);
}

@media (min-width: 768px) {
    .faq-header { font-size: 32px; }
}

.mini-container {
    max-width: 800px;
}

.qa-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qa-card {
    background-color: var(--navy-muted);
    border: 1px solid #334155;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
}

@media (min-width: 768px) {
    .qa-card { padding: 25px; gap: 20px; }
}

.qa-card .q-badge {
    background-color: var(--amber-warning);
    color: var(--navy-dark);
    width: 30px;
    height: 30px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.qa-content h4 {
    font-size: 17px;
    color: var(--bg-white);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .qa-content h4 { font-size: 18px; }
}

.qa-content p {
    color: #cbd5e1;
    font-size: 14px;
}

@media (min-width: 768px) {
    .qa-content p { font-size: 15px; }
}

/* Industrial Footer */
.industrial-footer {
    background-color: #090d16;
    color: var(--text-muted);
    padding: 50px 0;
    font-size: 14px;
    border-top: 4px solid var(--navy-dark);
}

.footer-meta-links {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-meta-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-meta-links a:hover {
    color: var(--amber-warning);
}

.legal-notice p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

.copyright-line {
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
}

/* Sticky Mobile Call Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--amber-warning);
    color: var(--navy-dark);
    z-index: 9999;
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border-top: 2px solid var(--navy-dark);
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sticky-icon {
    font-size: 24px;
    animation: pulse-bell 2s infinite;
}

.sticky-text {
    display: flex;
    flex-direction: column;
}

.sticky-text small {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--navy-muted);
}

.sticky-text strong {
    font-size: 18px;
    font-weight: 900;
}

@keyframes pulse-bell {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@media (max-width: 767px) {
    .mobile-sticky-bar {
        display: block;
    }
    body {
        padding-bottom: 75px; 
    }
}

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .form-group {
            text-align: left;
        }
        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: var(--navy-dark);
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        .form-control {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--border-light);
            border-radius: 4px;
            font-size: 15px;
            color: var(--navy-dark);
            outline: none;
            transition: border-color 0.2s;
        }
        .form-control:focus {
            border-color: var(--navy-dark);
        }
        .success-overlay {
            display: none;
            text-align: center;
            padding: 20px 10px;
        }
        .success-icon {
            font-size: 44px;
            margin-bottom: 15px;
            display: block;
        }
        .success-title {
            font-size: 20px;
            font-weight: 900;
            color: #16a34a;
            margin-bottom: 15px;
            text-transform: uppercase;
        }
        .success-notice {
            background-color: #fff9db;
            border: 2px dashed var(--amber-warning);
            padding: 15px;
            border-radius: 4px;
            color: #92400e;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
        }