.flange {
    padding-top: 50px;
    padding-bottom: 80px;
    background: #f7f7f7;
    margin-bottom: 60px;
}

.flange__top {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.flange__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    margin-bottom: 20px;
    border-radius: 50px;
    background-color: #f52a2a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.flange__title {
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    color: #111;
}

.flange__subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #4a4a4a;
}

.flange__info,
.flange__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 90px;
}

.flange__image {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}


.flange__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.flange__image:hover img {
    transform: scale(1.03);
}

.flange__image-1 {
    height: 520px;
}

.flange__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.flange__image:hover img {
    transform: scale(1.03);
}

.flange__content-title {
    margin-bottom: 25px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
}

.flange__text {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
    color: #4a4a4a;
}

.flange__warning {
    margin-top: 35px;
    padding: 25px;
    border-left: 4px solid #ff5673;
    border-radius: 20px;
    background: #fff;
    font-size: 17px;
    line-height: 1.7;
    color: #222;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.flange__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 90px;
}


.flange__card {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 20px;
    padding: 22px 28px;
    border-radius: 30px;
    background: #fff;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.flange__card-content {
    display: grid;
    gap: 10px;
}

.flange__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.flange__card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #1e8190;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.flange__card-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
}

.flange__card-text {
    font-size: 16px;
    line-height: 1.5;
    color: #4a4a4a;
}

.flange__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.flange__list-item {
    position: relative;
    padding-left: 38px;
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

.flange__list-item::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d90429;
}

.flange__recommend {
    margin-top: 20px;
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    font-size: 17px;
    line-height: 1.7;
    color: #222;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.flange__bottom {
    position: relative;
    overflow: hidden;
    padding: 60px 50px;
    border-radius: 40px;
    background-image: url("../images/pages/balansirovka/flange-3.avif");
    background-position: 50% 82%;
    background-size: cover;
    background-repeat: no-repeat;
}

.flange__bottom-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.55) 0%,
            rgba(4, 4, 4, 0.65) 100%
        );
}

.flange__bottom-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.flange__bottom-title {
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 42px;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;

    text-shadow:
        0 4px 20px rgba(0,0,0,.35);
}

.flange__bottom-text {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,.8);
    text-shadow:
        0 2px 10px rgba(0,0,0,.35);
}

.flange__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    border-radius: 14px;
    background-color: #f52a2a;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .3s ease,
        background .3s ease;
}

.flange__btn:hover {
    transform: translateY(-3px);
    background: #ef233c;
}

.flange__method {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.flange__method-title {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    color: #111;
}

.flange__method-text {
    font-size: 18px;
    color: #4a4a4a;
}

.flange__benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.flange__benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #1e8190;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}


.flange__recommend-title {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.flange__recommend-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
}

.flange__cta-text {
    margin-top: 35px;
    padding: 30px;
    border-radius: 24px;
    background: #111;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

.flange__benefit-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.flange__benefit-title {
    margin-bottom: 4px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
}

.flange__benefit-text {
    font-size: 16px;
    line-height: 1.5;
    color: #4a4a4a;
}

.flange__cta-text {
    margin-top: 30px;
    padding: 24px;
    border-radius: 22px;
    background: #111;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    color: #fff;
}
