/* =========================================================
   ԿՈՆՏԵՅՆԵՐԱՅԻՆ ԲԵՌՆԱՓՈԽԱԴՐՈՒՄՆԵՐԻ ՈՃԵՐ (container-freight.css)
   Բոլոր դասերը սկսվում են scr-cont- նախածանցով
========================================================= */

.scr-cont-main-wrapper {
    font-family: var(--font-main, 'Arial', sans-serif);
    background-color: #f8fafc;
    color: #334155;
}

/* --- Hero Section --- */
.scr-cont-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/images/freight-bg.jpg');
}

.scr-cont-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 82, 120, 0.95) 0%, rgba(0, 82, 120, 0.5) 100%);
    z-index: 1;
}

.scr-cont-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 40px;
}

.scr-cont-title-main {
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
}

.scr-cont-subtitle {
    color: #e2e8f0;
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Section Headings --- */
.scr-cont-section-heading {
    color: #005278;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.scr-cont-center-text {
    text-align: center;
}

/* --- Block Train Highlight Section --- */
.scr-cont-block-train {
    padding: 80px 0;
    background: #ffffff;
}

.scr-cont-highlight-box {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #f1f5f9;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.scr-cont-highlight-text {
    flex: 1.2;
}

.scr-cont-badge {
    display: inline-block;
    background: #e20001;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.scr-cont-description {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 30px;
}

.scr-cont-stats-inline {
    display: flex;
    gap: 40px;
}

.scr-cont-stat-mini {
    display: flex;
    flex-direction: column;
}

.scr-cont-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #005278;
}

.scr-cont-stat-label {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

/* Route Graphic Visualizer */
.scr-cont-route-visual {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 82, 120, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 250px;
    border-left: 4px solid #005278;
}

.scr-cont-route-node {
    display: flex;
    flex-direction: column;
}

.scr-cont-route-node span {
    font-size: 18px;
    font-weight: 700;
    color: #005278;
}

.scr-cont-route-node small {
    color: #64748b;
    font-size: 13px;
}

.scr-cont-route-line {
    position: relative;
    margin: 20px 0;
    padding-left: 20px;
}

.scr-cont-route-line::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -20px;
    bottom: -20px;
    width: 2px;
    border-left: 2px dashed #cbd5e1;
}

.scr-cont-route-duration {
    background: #e20001;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

/* --- Conditions & Features Grid --- */
.scr-cont-conditions {
    padding: 80px 0;
    background: #f8fafc;
}

.scr-cont-features-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.scr-cont-feat-card {
    flex: 1;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(148, 163, 184, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.scr-cont-feat-card:hover {
    transform: translateY(-5px);
}

.scr-cont-feat-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 82, 120, 0.06);
    color: #005278;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.scr-cont-feat-title {
    font-size: 20px;
    font-weight: 700;
    color: #005278;
    margin-bottom: 12px;
}

.scr-cont-feat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

/* --- Split Layout: Approach & Contact --- */
.scr-cont-footer-layout {
    padding: 80px 0;
    background: #ffffff;
}

.scr-cont-split-grid {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.scr-cont-approach-box {
    flex: 1.3;
    padding-right: 20px;
}

.scr-cont-approach-icon {
    color: #e20001;
    margin-bottom: 20px;
}

.scr-cont-approach-title {
    font-size: 26px;
    font-weight: 800;
    color: #005278;
    margin-bottom: 20px;
}

.scr-cont-approach-text {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
}

/* Contact Box (Corporate Blue Card) */
.scr-cont-card-box {
    flex: 1;
    background: #005278;
    color: #ffffff;
    padding: 45px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.scr-cont-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.scr-cont-card-subtitle {
    font-size: 15px;
    color: #93c5fd;
    margin-bottom: 25px;
}

.scr-cont-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 35px;
}

.scr-cont-media-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.scr-cont-media-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scr-cont-media-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scr-cont-media-data a {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.scr-cont-media-data a:hover {
    color: #93c5fd;
}

.scr-cont-btn-action {
    display: block;
    background: #e20001;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s ease, transform 0.2s ease;
}

.scr-cont-btn-action:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* --- Responsive Settings --- */
@media (max-width: 992px) {
    .scr-cont-highlight-box, .scr-cont-split-grid {
        flex-direction: column;
    }
    .scr-cont-features-grid {
        flex-direction: column;
        gap: 20px;
    }
    .scr-cont-route-visual {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .scr-cont-title-main {
        font-size: 32px;
    }
    .scr-cont-highlight-box {
        padding: 30px;
    }
    .scr-cont-stats-inline {
        gap: 20px;
    }
}



/* --- Responsive Design --- */

/* Պլանշետներ և փոքր նոութբուքեր (մինչև 992px) */
@media (max-width: 992px) {
    .scr-cont-highlight-box, 
    .scr-cont-split-grid {
        flex-direction: column;
        gap: 30px;
        padding-left: 25px;
    }
    
    .scr-cont-features-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .scr-cont-route-visual {
        width: 100%;
        min-height: auto;
    }
}

/* Մոբայլ սարքեր (մինչև 768px) */
@media (max-width: 768px) {
    /* 1. Հերո հատված */
    .scr-cont-hero {
        height: 35vh;
        min-height: 300px;
    }
    .scr-cont-title-main {
        font-size: 28px;
    }
    .scr-cont-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    /* 2. Ընդհանուր Padding-ներ */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .scr-cont-block-train, 
    .scr-cont-conditions, 
    .scr-cont-footer-layout {
        padding: 40px 0;
    }

    /* 3. Հատուկ առաջարկի բլոկ */
    .scr-cont-highlight-box {
        padding: 20px;
        border-radius: 16px;
    }
    .scr-cont-section-heading {
        font-size: 24px;
    }
    .scr-cont-stats-inline {
        flex-direction: row;
        gap: 20px;
    }
    .scr-cont-stat-value {
        font-size: 24px;
    }

    /* 4. Կոնտակտային քարտ */
    .scr-cont-card-box {
        padding: 25px 20px;
        border-radius: 16px;
    }
    .scr-cont-btn-action {
        width: 100%;
        padding: 14px;
    }
}

/* Փոքր սմարթֆոններ (մինչև 576px) */
@media (max-width: 576px) {
    .scr-cont-stat-value {
        font-size: 20px;
    }
    .scr-cont-stat-label {
        font-size: 12px;
    }
    .scr-cont-feat-card {
        padding: 25px 20px;
    }
    .scr-cont-media-item {
        margin-bottom: 20px;
    }
}