.first_class {
    color:red;
}
h1 {
    color: white;
}
.fon_black {
    background-image: linear-gradient(90deg,#001628, #000000);
    padding-bottom: 40px;
}
.h_color {
    color: #5ca0fe
}
.h_big_red {
    color: #b30e86;
    font-size: 3rem;
    font-weight: bold;
}
.br {
    border-radius: 10px;
}
.button_red {
    background-color: #b30e86;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 5px rgba(122, 37, 112, 0.5);
    transition: all 0.2s ease-in-out;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.button_red:hover {
    background-color: #8a0a66;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.button_red:active {
    background-color: #610746;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

.button_red:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.main_fon {
    background-image: url('/static/img/main.jpg');
    /* background-size: auto; */
    
    /* width: 100%; */
    /* background-position: 50% 20%;  */
}
.h_white {
    color: white;
}
.img_proect:hover{
    transition: 0.8s;
    transform: scale(1.7, 1.7);
  }
.main_h {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}
.main_h_fon {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    font-size: 54px;
}
/* ШРИФТЫ */
.font_h {
    font-size: 54px;
    font-weight: 800;
}
.font_h2 {
    font-size: 44px;
    font-weight: 800;
}
.font_h3 {
    font-size: 24px;
    font-weight: 600;
}
.head {
    background-color: #001628;
    /* color:#4A9BB6; */
    color: #5ca0fe;
}
.head_lincs {
    color:#4A9BB6;
}
.logo_head {
    height: 100px;
    padding: 10px;
}
.r_24{
    font-size: 24px;
}
h1 {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    color: #fff;
    font-size: 44px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}
.hero-subtitle {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.88);
    font-size: 24px;
    line-height: 1.5;
    font-weight: 600;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(6, 24, 43, .88), rgba(4, 17, 31, .82));
    border: 1px solid rgba(126, 219, 210, .28);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .04);
    color: #edf9ff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 10px;
}
.hero-content-wide, .hero-panel {
    align-items: center;
}
@media (max-width: 991px) {
    .title_m {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .body_m {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .body_m_2 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .gap_20 {
        gap: 10px;
    }

    .pad_b_20 {
        padding-bottom: 10px;
    }

    .cta_m {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .stats_m {
        margin-top: 20px;
        margin-bottom: 10px;
        margin-left: 0;
        margin-right: 0;
    }

    .stats_m > .stats-item {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding-left: 0;
        padding-right: 0;
    }

    .thumbnail-container {
        gap: 10px;
    }

    .thumbnail-wrapper {
        flex: 1 1 0;
    }
}

@media (min-width: 992px) {
    .title_m {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .body_m {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .body_m_2 {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .gap_20 {
        gap: 20px;
    }

    .pad_b_20 {
        padding-bottom: 20px;
    }

    .cta_m {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .stats_m {
        margin-top: 40px;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .stats_m > .stats-item {
        flex: 1 1 0;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .services_m {
        overflow: hidden;
    }

    .project_m > .w-50 {
        width: calc(50% - 10px);
    }

    .gap_20 > .catalog-card {
        flex: 1 1 0;
        margin: 0;
    }

    .thumbnail-container {
        gap: 20px;
    }

    .thumbnail-wrapper {
        flex: 1 1 0;
    }
}

.breadcrumbs-wrap {
    position: relative;
    z-index: 2;
    margin-top: 0;
    margin-bottom: 18px;
}

.breadcrumbs-list {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid rgba(126,219,210,.22);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(6, 24, 43, .88), rgba(4, 16, 30, .82));
    box-shadow:
        0 10px 30px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(10px);
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.breadcrumbs-item + .breadcrumbs-item::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 1px;
    margin-right: 12px;
    background: linear-gradient(90deg, rgba(126,219,210,.15), rgba(126,219,210,.8));
    box-shadow: 0 0 12px rgba(126,219,210,.3);
}

.breadcrumbs-item a {
    color: rgba(169,217,255,.88);
    text-decoration: none;
    transition: color .25s ease, text-shadow .25s ease;
}

.breadcrumbs-item a:hover {
    color: #7edbd2;
    text-shadow: 0 0 12px rgba(126,219,210,.28);
}

.breadcrumbs-current {
    color: #dff7ff;
    font-weight: 600;
    letter-spacing: .06em;
}

@media (max-width: 768px) {
    .breadcrumbs-wrap {
        margin-bottom: 14px;
    }

    .breadcrumbs-list {
        display: flex;
        width: 100%;
        padding: 10px 14px;
        gap: 10px;
        border-radius: 18px;
    }

    .breadcrumbs-item {
        font-size: 11px;
        letter-spacing: .06em;
    }

    .breadcrumbs-item + .breadcrumbs-item::before {
        flex-basis: 12px;
        width: 12px;
        margin-right: 10px;
    }
}

.last_m {
    margin-bottom: 0;
}
