﻿.about-section {
    background: #f8f9fa;
}

    .about-section:nth-child(even) {
        background: #ffffff;
    }

.about-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
}

    .about-title::after {
        content: "";
        width: 60px;
        height: 4px;
        background: #0d6efd;
        display: block;
        margin-top: 15px;
        border-radius: 2px;
    }

.about-text {
    max-width: 540px;
}

.about-content {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.about-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .about-image-wrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 45px rgba(0,0,0,0.15);
    }

.about-image {
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

/**/

/* ===== Разделение блоков ===== */


/* ===== Адаптив ===== */

@media (max-width: 991px) {

    .about-title {
        font-size: 26px;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
        text-align: center;
    }

    .about-content {
        font-size: 16px;
    }

    .about-image-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {

    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 22px;
    }

    .about-content {
        font-size: 15px;
    }
}
.about-text {
    max-width: 540px; /* уже есть */
    word-wrap: break-word; /* перенос длинных слов */
    overflow-wrap: break-word;
}