* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0A1B2B;
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow-x: hidden;
    width: 100%;
}

.about {
    position: relative;
    z-index: 5;
    padding: 100px 0 60px;
    width: 100%;
    overflow: hidden;
    background-color: #0A1B2B;
}

.about__container {
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-info {
    max-width: min(1400px, 95%);
    width: 100%;
    text-align: center;
}

/* H2 по шкале: 40→32→28→24→20 */
.about .section-title {
    font-weight: 500;
    font-size: 40px;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
}

/* Основной текст: на больших экранах 22px, далее по шкале 20→18→16 */
.about-text {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    overflow-wrap: break-word;
}

.about-text__accent {
    color: #A64200;
    font-weight: 500;
}

.about-text p:not(:last-child) {
    margin-bottom: 25px;
}

/* 1440: заголовок 32px, основной текст 20px; контейнер как на 1920 — padding 20px, margin auto */
@media (max-width: 1440px) {
    .about__container {
        padding: 0 20px;
        margin: 0 auto;
    }

    .about .section-title {
        font-size: 32px;
    }

    .about-text {
        font-size: 20px;
    }
}

/* 1280–1200: заголовок 28px, чтобы не совпадал с hero (32px) */
@media (max-width: 1279px) {
    .about .section-title {
        font-size: 28px;
    }
}

@media (max-width: 1200px) {
    .about .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .about-info {
        max-width: 95%;
    }

    .about .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .about-text {
        font-size: 18px;
        line-height: 1.4;
    }

    .about-text p:not(:last-child) {
        margin-bottom: 20px;
    }
}

/* Плавная адаптация отступов: 100/60 → … → 44/40 */
@media (max-width: 1440px) {
    .about { padding: 90px 0 58px; }
}
@media (max-width: 1280px) {
    .about { padding: 80px 0 56px; }
}
@media (max-width: 1024px) {
    .about { padding: 70px 0 54px; }
}
@media (max-width: 768px) {
    .about {
        padding: 60px 0 52px;
    }

    .about__container {
        padding: 0 16px;
    }

    .about-info {
        max-width: 100%;
    }

    .about .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about { padding: 52px 0 48px; }
    .about__container {
        padding: 0 16px;
    }

    .about .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 16px;
    }
}

@media (max-width: 425px) {
    .about { padding: 48px 0 44px; }
    .about .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 16px;
    }
}
@media (max-width: 375px) {
    .about { padding: 44px 0 40px; }
}

@media (max-width: 320px) {
    .about__container {
        padding: 0 16px; /* Минимальный паддинг для очень маленьких экранов */
    }
}
