

/* Start:/local/templates/centr/components/bitrix/news.detail/solution_expert/style.css?17709810128631*/
/* ============================================================
   ENGINEERING HUB - SOLUTION EXPERT STYLES
   Inspired by Fire Calculator design
   ============================================================ */

:root {
    --eng-primary: #1a2a6c;
    --eng-accent: #c0392b;
    --eng-bg: #f8fafc;
    --eng-border: #e2e8f0;
    --eng-shadow: rgba(26, 42, 108, 0.08);
    --eng-risk: #fff5f5;
    --eng-risk-border: #feb2b2;
}

.solution-expert-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 0 40px 0;
    font-family: 'Ubuntu', sans-serif;
    color: #2d3748;
    line-height: 1.6;
}

/* pagetitle removed from DOM via HIDE_PAGETITLE page property in header.php */

.solution-expert-page .calc-hero h1 {
    display: block;
}

/* Keep our styled hero */

/* 1. HERO BLOCK */
.solution-hero {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border: 2px solid var(--eng-primary);
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px var(--eng-shadow);
    position: relative;
    overflow: hidden;
}

.hero-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--eng-primary);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.solution-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* 2. RISKS SECTION */
.solution-risks-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 25px;
}

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

.risk-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--eng-risk);
    border: 1px solid var(--eng-risk-border);
    border-radius: 12px;
    transition: transform 0.2s;
}

.risk-card:hover {
    transform: translateY(-3px);
}

.risk-icon {
    font-size: 24px;
}

.risk-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: #9b2c2c;
}

.risk-text {
    font-size: 14px;
    color: #742a2a;
}

/* 3. WIDGET SECTION */
.solution-widget-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid var(--eng-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.widget-header {
    text-align: center;
    margin-bottom: 30px;
}

.widget-badge {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.widget-header h2 {
    font-size: 24px;
    margin: 0;
}

/* 4. MAIN CONTENT */
.solution-main-content {
    margin-bottom: 60px;
}

.content-body {
    font-size: 16px;
    color: #4a5568;
}

.content-body h2,
.content-body h3 {
    color: #1a202c;
    margin-top: 40px;
}

/* --- TABLES inside content-body --- */
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    border: 1px solid var(--eng-border);
    border-radius: 8px;
    overflow: hidden;
}

.content-body thead th {
    background: var(--eng-primary);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 14px;
    text-align: left;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.content-body thead th:last-child {
    border-right: none;
}

.content-body tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    color: #2d3748;
    vertical-align: top;
}

.content-body tbody td:last-child {
    border-right: none;
}

.content-body tbody tr:last-child td {
    border-bottom: none;
}

.content-body tbody tr:nth-child(even) {
    background: #f7fafc;
}

.content-body tbody tr:hover {
    background: #ebf4ff;
}

/* First column — row header style */
.content-body tbody td:first-child {
    font-weight: 600;
    color: #1a202c;
    background: #f8fafc;
    white-space: nowrap;
}

.content-body tbody tr:nth-child(even) td:first-child {
    background: #f0f4f8;
}

.content-body tbody tr:hover td:first-child {
    background: #dbeafe;
}

/* colspan cells (full-width notes) */
.content-body tbody td[colspan] {
    text-align: center;
    font-style: italic;
    color: #718096;
    background: #fffbeb;
    white-space: normal;
}

/* Bold row (totals, summaries) */
.content-body tbody tr:last-child td b,
.content-body tbody td b {
    color: #1a202c;
}

/* Responsive wrapper */
.content-body .expert-content,
.content-body .article-content {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .content-body table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-body thead th,
    .content-body tbody td {
        padding: 8px 10px;
    }

    .content-body tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 120px;
    }
}

/* 5. CTA BLOCK */
.solution-cta-block {
    background: linear-gradient(135deg, #1a2a6c, #2a48bc);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 15px 35px rgba(26, 42, 108, 0.2);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-info h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #fff;
}

.cta-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.cta-button {
    background: var(--eng-accent);
    color: #fff !important;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background: #a93226;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
    font-size: 22px;
}

/* 6. PRODUCTS SLIDER */
.solution-linked-products {
    background: #fdfdfd;
    padding: 20px 0;
}

.products-slider-wrap {
    margin-top: 30px;
}

/* 7. RELATED CASES */
.solution-related-cases {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--eng-border);
}

.solution-related-cases .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.case-card-mini {
    display: block;
    background: #fff;
    border: 1px solid var(--eng-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.case-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--eng-shadow);
    border-color: var(--eng-primary);
}

.case-card-mini .case-thumb {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #f7fafc;
}

.case-card-mini .case-info {
    padding: 15px;
}

.case-card-mini .case-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 8px;
}

.case-card-mini .case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #718096;
}

.cases-more {
    text-align: center;
}

.cases-more-link {
    display: inline-block;
    padding: 12px 28px;
    color: var(--eng-primary);
    border: 2px solid var(--eng-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.cases-more-link:hover {
    background: var(--eng-primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .solution-hero {
        padding: 40px 20px;
    }

    .solution-hero h1 {
        font-size: 28px;
    }

    .solution-widget-section {
        padding: 25px 15px;
    }

    .cta-info h3 {
        font-size: 22px;
    }
}
/* End */


/* Start:/local/components/local/engineering.calc.ballast/templates/.default/style.css?177115655512365*/
/* ============================================
   BALLAST CALCULATOR STYLES (Namespaced)
   ============================================ */

.ballast-calc-page {
    --ballast-primary: #1976d2;
    --ballast-primary-light: #42a5f5;
    --ballast-primary-dark: #1565c0;
    --ballast-accent: #e67e22;
    --ballast-success: #2e7d32;
    --ballast-bg: #f5f9fc;
    --ballast-border: #d0e4f5;
}

.ballast-calc-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Ubuntu', Arial, sans-serif;
}

/* Hero */
.ballast-calc-hero {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 2px solid var(--ballast-primary);
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ballast-hero-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ballast-calc-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.ballast-hero-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Wizard Container */
.ballast-calc-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #eee;
}

/* Progress */
.ballast-wizard-progress {
    display: flex;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.ballast-wizard-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #eee;
    opacity: 0.5;
    transition: all 0.3s;
}

.ballast-wizard-step.ballast-active {
    opacity: 1;
    border-color: var(--ballast-primary);
}

.ballast-wizard-step.ballast-completed {
    opacity: 1;
    border-color: var(--ballast-success);
    background: #f0fff0;
}

.ballast-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.ballast-wizard-step.ballast-active .ballast-step-num {
    background: var(--ballast-primary);
    color: #fff;
}

.ballast-wizard-step.ballast-completed .ballast-step-num {
    background: var(--ballast-success);
    color: #fff;
}

.ballast-step-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.ballast-wizard-step.ballast-active .ballast-step-label {
    color: #333;
}

/* Panels */
.ballast-wizard-panel {
    display: none;
    padding: 30px;
}

.ballast-wizard-panel.ballast-active {
    display: block !important;
    animation: fadeInBallast 0.3s ease;
}

@keyframes fadeInBallast {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ballast-wizard-panel h2 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: #333;
}

.ballast-step-hint {
    color: #666;
    margin: 0 0 25px 0;
    font-size: 15px;
}

/* Form */
.ballast-form-row {
    margin-bottom: 25px;
}

.ballast-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.ballast-select,
.ballast-input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.ballast-select:focus,
.ballast-input:focus {
    outline: none;
    border-color: var(--ballast-primary);
}

.ballast-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ballast-input-group .ballast-input {
    flex: 1;
}

.ballast-unit {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ballast-form-hint {
    font-size: 13px;
    color: #888;
    margin: 10px 0;
}

/* Navigation */
.ballast-wizard-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.ballast-btn-wizard {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ballast-btn-back {
    background: #f5f5f5;
    color: #666;
}

.ballast-btn-back:hover {
    background: #eee;
}

.ballast-btn-next {
    background: var(--ballast-primary);
    color: #fff;
}

.ballast-btn-next:hover {
    background: var(--ballast-primary-dark);
}

/* Visualization */
.ballast-ugv-visual-section {
    margin-top: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--ballast-border);
}

.ballast-ugv-container {
    height: 250px;
    position: relative;
    border: 3px solid #8d6e63;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
}

.ballast-visual-water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(33, 150, 243, 0.5), rgba(33, 150, 243, 0.2));
    transition: height 0.5s ease;
    z-index: 10;
    border-top: 2px solid #2196f3;
}

.ballast-visual-tank {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 1 / 1;
    /* Keep proper geometry */
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    border: 3px solid var(--ballast-primary);
    border-radius: 6px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--ballast-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ballast-visual-tank::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(25, 118, 210, 0.2);
    border-radius: inherit;
}

.ballast-visual-tank.ballast-cylinder {
    border-radius: 50%;
    /* Aspect ratio inherited, height controlled by JS */
}

.ballast-ugv-labels {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 10px;
}

.ballast-label-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.ballast-color-box {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

/* Results */
.ballast-result-section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
}

.ballast-result-section h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
}

.ballast-physics-block {
    background: #f0f7ff;
    border: 1px solid #cce0f5;
}

.ballast-physics-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ballast-physics-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.ballast-physics-row.ballast-highlight {
    background: var(--ballast-primary);
    color: #fff;
    border-color: var(--ballast-primary-dark);
}

.ballast-slab-block {
    background: #fff8e1;
    border: 1px solid #ffe082;
}

.ballast-slab-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid var(--ballast-accent);
}

.ballast-slab-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--ballast-accent);
}

/* Products */
.ballast-products-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.ballast-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ballast-product-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #eee;
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.ballast-product-card:hover {
    border-color: var(--ballast-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ballast-product-img {
    width: 80px;
    height: 80px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.ballast-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ballast-product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.ballast-product-link {
    font-size: 12px;
    color: var(--ballast-primary);
}

/* Result Actions */
.ballast-result-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.ballast-btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ballast-btn-pdf {
    background: #0073aa;
    color: #fff;
}

.ballast-btn-consult {
    background: var(--ballast-primary);
    color: #fff;
}

/* Modal */
.ballast-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ballast-modal-overlay.ballast-visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.ballast-modal {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInBallast 0.3s ease;
}

.ballast-modal h3 {
    margin-top: 0;
    color: var(--ballast-primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.ballast-legal-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0;
    cursor: pointer;
    background: #fcfcfc;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.ballast-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.ballast-modal-buttons button {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

.ballast-btn-cancel {
    background: #eee;
    color: #333;
}

.ballast-btn-proceed {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ballast-btn-proceed:hover:not(:disabled) {
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.4);
    transform: translateY(-1px);
}

.ballast-btn-proceed:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Info Cards */
.ballast-info-block {
    margin-bottom: 40px;
}

.ballast-info-block h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
}

.ballast-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ballast-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.ballast-info-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

/* CTA */
.ballast-cta {
    background: #fff;
    border: 2px solid var(--ballast-primary);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.ballast-cta h3 {
    font-size: 24px;
    color: var(--ballast-primary);
    font-weight: bold;
    margin: 0 0 10px 0;
}

.ballast-button {
    background: #B8FA2C !important;
    color: #000 !important;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(184, 250, 44, 0.4);
}

@media (max-width: 768px) {

    .ballast-info-grid,
    .ballast-products-grid {
        grid-template-columns: 1fr;
    }

    .ballast-wizard-progress {
        flex-direction: column;
    }

    .ballast-result-actions {
        flex-direction: column;
    }
}
/* End */
/* /local/templates/centr/components/bitrix/news.detail/solution_expert/style.css?17709810128631 */
/* /local/components/local/engineering.calc.ballast/templates/.default/style.css?177115655512365 */
