    :root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --accent: #00d2ff;
    --glass: rgba(255, 255, 255, 0.9);
}

html, body 
{margin: 0;
padding: 0;
overflow-x: hidden;}




.hero {
    position: relative;
   font-family: 'Helvetica Neue';
    min-height: 550px; 
    
    display: flex;
    align-items: center; 
    justify-content: center; 
    
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding: 80px 0;
}


.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(15, 23, 42, 0.55), rgba(37, 99, 235, 0.45));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.1;
    color: #ffffff;
    font-family: 'Helvetica Neue';
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: 'Helvetica Neue';
}
.accent-text {
    color: #042253; 
}

.badge {
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}







/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline { border: 2px solid white; color: white; margin-left: 15px; }
.btn-outline:hover { background: white; color: var(--dark); }

.wrapper 
{width: 80%;
margin: auto;}

/* Cards */
.card-glass {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    
    position: relative;
    z-index: 2;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
    padding-bottom: 100px;
}

.main-img {
    width: 100%;
    border-radius: 15px;
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark);
    font-family: 'Helvetica Neue';
    margin-bottom: 50px;
    margin-top: 50px;
}

.subtitle {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 40px;
    font-family: 'Helvetica Neue';
}

section
{height: 100%;
margin-top: 50px;
margin-bottom: 50px;}

.text-block 
{height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;}

/* Configuration Blocks */
.config-section { padding: 60px 0; }

.config-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.image-block {
    width: 100%;
    max-width: 1200px; 
    margin: 20px auto; 
    box-sizing: border-box;
}

.main-img {
    width: 100%;
    height: auto;     
    display: block;   
    object-fit: contain;
}

.config-item:hover { transform: translateY(-10px); }

.config-img {
    width: 100%;
    max-width: 800px; 
    margin: 20px auto; 
}

.config-img img {
    width: 100%;
    height: auto;     
    display: block;    
}

.config-text { padding: 25px; }

.tag {
    display: inline-block;
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* CSS BAR CHARTS (Столбики) */
.charts-container {
    max-width: 800px;
    margin: 0 auto;
}

.chart-group {
    margin-bottom: 30px;
}

.chart-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.bar-row .label {
    width: 60px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.bar-container {
    flex-grow: 1;
    background: #edf2f7;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    transition: width 1.5s ease-in-out;
}

.bar-cas { background: var(--secondary); }
.bar-mbr { background: linear-gradient(90deg, var(--primary), var(--accent)); }


.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;    
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.benefit-card img
{max-width: 100%;}

.benefit-card:hover {
    border-bottom: 4px solid var(--primary);
    background: #f1f5f9;
}

.benefit-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.title-container {
            text-align: center;
            margin-bottom: 25px;
        }

   .title-container h2 {
            color: #1a428a;
            font-size: 24px;
            font-weight: normal;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .arrow-icon {
            color: #00a88f;
            font-size: 20px;
            font-weight: bold;
            line-height: 1;
        }

        .table-container {
            width: 100%;           
            border-radius: 12px;
            overflow:visible;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #dcdcdc;
            margin-bottom: 60px;
        }

        .table-container table {
            width: 100%;
            border-collapse: collapse;
            background-color: #ffffff;
            text-align: center;
            font-size: 14px;
        }

        .table-container table th {
            background-color: #012F8D;
            color: #ffffff;
            font-weight: 600;
            padding: 15px 10px;
            border: 1px solid #012F8D;
        }

        .table-container table th:first-child {
            width: 20%;
        }

        .table-container table td {
            padding: 15px 10px;
            border: 1px solid #e6f0ec;
            color: #111111;
        }

       

        .table-container table tr td
         {
            background-color: #ffffff;
        }

        .table-container table tr:hover td {
            background-color: #f4f8f6;
        }

        /* Выравнивание текста показателей по центру и жирность для значений */
        .table-container table td {
            font-weight: 500;
        }
        
        .table-container table tr td:first-child {
            font-weight: bold;
            color: #111111;
            background-color: #ffffff;
        }
.tech-info 
{margin-top: 80px;
}

.treatment-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px 20px; /* Увеличил вертикальный отступ для стрелки вниз */
    margin-top: 50px;
}

.flow-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Явное позиционирование второго ряда (справа налево) */
.step-6 { grid-column: 5; grid-row: 2; }
.step-7 { grid-column: 4; grid-row: 2; }
.step-8 { grid-column: 3; grid-row: 2; }
.step-9 { grid-column: 2; grid-row: 2; }
.step-10 { grid-column: 1; grid-row: 2; }

.flow-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

/* 1. Стрелки вправо (для шагов 1, 2, 3, 4) */
.step-1::after, .step-2::after, .step-3::after, .step-4::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 30%;
    font-size: 20px;
    color: var(--primary, #2563eb);
    font-weight: bold;
}

/* 2. Стрелка вниз (переход с 5 на 6 шаг) */
.step-5::after {
    content: "↓";
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--primary, #2563eb);
    font-weight: bold;
}

/* 3. Стрелки влево (для шагов 6, 7, 8, 9) */
.step-6::after, .step-7::after, .step-8::after, .step-9::after {
    content: "←";
    position: absolute;
    left: -20px;
    top: 30%;
    font-size: 20px;
    color: var(--primary, #2563eb);
    font-weight: bold;
}

        /* Tech Specs Card */
        .tech-def-card {
            background: #f1f5f9;
            padding: 25px;
            border-radius: 12px;
            height: 100%;
        }
        .tech-def-card h4 { color: var(--primary); margin-top: 0; }

        /* Tables Style */
        .table-container {
            width: 100%;           
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #dcdcdc;
            margin: 20px 0;
            min-height:100%;
        }
        .table-container table {
            width: 100%;
            border-collapse: collapse;
            background-color: #ffffff;
            text-align: center;
            font-size: 14px;
        }
        .table-container table th {
            background-color: #012F8D;
            color: #ffffff;
            font-weight: 600;
            padding: 15px 10px;
        }
        .table-container table td {
            padding: 15px 10px;
            border: 1px solid #e6f0ec;
        }
        .table-container table tr:nth-child(even) { background: #f8fafc; }

        .section-padding h3 
        {display: block;
        text-align: center;
        margin-top: 50px;
        margin-bottom: 50px;}

        .areas 
        {display: block;
        text-align: center;
        border-bottom: 4px solid #ffffff;
        border-radius: 20px;
    padding: 10px 20px;}

        .areas img 
        {max-width: 200px;}

        .areas h4 
        {font-size: 22px;}

        .areas:hover {
            border-bottom: 4px solid var(--primary);
            background: #f1f5f9;
        }

        /* Fouling Section */
        .fouling-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .fouling-item { padding: 20px; border-radius: 10px; border-left: 5px solid; }
        .fouling-danger { background: #F1F5F9; border-left-color: var(--danger); }
        .fouling-success { background: #F1F5F9; border-left-color: var(--success); }

        /* Charts */
        .charts-container { max-width: 800px; margin: 0 auto; }
        .chart-group { margin-bottom: 30px; }
        .bar-row { display: flex; align-items: center; margin-bottom: 10px; }
        .bar-row .label { width: 60px; font-size: 0.8rem; font-weight: 700; }
        .bar-container { flex-grow: 1; background: #edf2f7; height: 30px; border-radius: 15px; overflow: hidden; }
        .bar { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-right: 15px; color: white; font-size: 0.8rem; font-weight: bold; }
        .bar-cas { background: var(--secondary); }
        .bar-mbr { background: linear-gradient(90deg, var(--primary), var(--accent)); }

        /* Reuse Block */
        .reuse-box {
            background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
            color: white;
            padding: 40px;
            border-radius: 20px;
            text-align: center;
            margin: 60px 0;
        }

        /* CTA Form */
        .cta-section { background: #f1f5f9; padding: 60px; border-radius: 20px; margin-top: 60px; }
        .cta-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
        .cta-form input, .cta-form select { padding: 12px; border-radius: 8px; border: 1px solid #cbd5e1; }
        .btn-submit { background: var(--primary); color: white; border: none; padding: 15px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
        .btn-submit:hover { background: var(--primary-dark); }
        
        .tag { display: inline-block; background: #e2e8f0; padding: 4px 12px; border-radius: 15px; font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-top: 10px; }

@media (max-width: 768px) {
    /* 1. Перестраиваем сетку в одну колонку */
    .treatment-flow {
        grid-template-columns: 1fr;
        gap: 50px; /* Отступ между карточками, где будет стрелка */
    }

    /* 2. Сбрасываем ручное позиционирование второго ряда */
    .step-6, .step-7, .step-8, .step-9, .step-10 {
        grid-column: auto;
        grid-row: auto;
    }

    /* 3. Унифицируем все стрелки: делаем их стрелками вниз */
    .flow-card::after {
        content: "↓" !important; /* Заменяем → и ← на ↓ */
        position: absolute;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: -40px !important; /* Располагаем под карточкой */
        transform: translateX(-50%) !important;
        font-size: 24px;
    }

    /* 4. Скрываем стрелку у последней карточки */
    .flow-card:last-child::after,
    .no-arrow::after {
        content: none !important;
    }
}