.about-page {
    min-height: 70vh;
    overflow-x: hidden;
    background: #f7f4f2;
    color: #5a403a;
}

.about-page__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.about-page__intro {
    padding: 150px 0 72px;
    background: #efe9e5;
}

.about-page__heading {
    margin: 0 0 42px;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.05;
}

.about-page__lead {
    max-width: 900px;
}

.about-page__lead h2 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.18;
}

.about-page__lead p {
    max-width: 850px;
    margin: 0;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
}

.about-page__details {
    padding: 76px 0 96px;
}

.about-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-card {
    padding: 32px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.about-card--feature {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #eee6e1;
}

.about-card--compact {
    padding-top: 28px;
    padding-bottom: 28px;
}

.about-card h2 {
    margin: 0 0 17px;
    font-size: clamp(23px, 2.2vw, 31px);
    font-weight: 500;
    line-height: 1.25;
}

.about-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.62;
}

.about-card p + p {
    margin-top: 12px;
}

.about-card__note {
    font-size: 15px !important;
    opacity: 0.75;
}

.about-page__final {
    margin-top: 28px;
    padding: 48px;
    border-radius: 24px;
    background: #e9dfd8;
}

.about-page__final h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.15;
}

.about-page__final p {
    max-width: 820px;
    margin: 0;
    font-size: 18px;
    line-height: 1.62;
}

.about-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.about-page__button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid #5a403a;
    border-radius: 14px;
    background: #5a403a;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.about-page__button:hover {
    opacity: 0.82;
}

.about-page__button--secondary {
    background: transparent;
    color: #5a403a !important;
}

.about-page ~ footer,
.about-page + footer {
    margin-top: 0;
}

body.about-page-view .custom-logo {
    filter: brightness(0) saturate(100%) invert(25%) sepia(18%) saturate(905%) hue-rotate(321deg) brightness(88%) contrast(85%) !important;
}

body.about-page-view .menu-btn span {
    background-color: #5a403a !important;
}

@media (max-width: 807px) {
    .about-page__container {
        width: min(100% - 28px, 680px);
    }

    .about-page__intro {
        padding: 112px 0 54px;
    }

    .about-page__heading {
        margin-bottom: 28px;
        font-size: clamp(38px, 12vw, 52px);
    }

    .about-page__lead h2 {
        margin-bottom: 16px;
        font-size: 27px;
    }

    .about-page__lead p {
        font-size: 17px;
        line-height: 1.58;
    }

    .about-page__details {
        padding: 44px 0 64px;
    }

    .about-page__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-card,
    .about-card--compact,
    .about-card--feature {
        grid-row: auto;
        padding: 24px 21px;
        border-radius: 18px;
    }

    .about-card h2 {
        margin-bottom: 13px;
        font-size: 23px;
    }

    .about-card p {
        font-size: 16px;
        line-height: 1.58;
    }

    .about-page__final {
        margin-top: 18px;
        padding: 30px 22px;
        border-radius: 20px;
    }

    .about-page__final h2 {
        font-size: 30px;
    }

    .about-page__final p {
        font-size: 16px;
        line-height: 1.58;
    }

    .about-page__actions {
        flex-direction: column;
        margin-top: 24px;
    }

    .about-page__button {
        width: 100%;
        min-height: 54px;
        padding: 14px 16px;
    }
}

@media (max-width: 390px) {
    .about-page__container {
        width: calc(100% - 24px);
    }

    .about-page__intro {
        padding-top: 104px;
    }

    .about-card,
    .about-card--compact,
    .about-card--feature,
    .about-page__final {
        padding-right: 18px;
        padding-left: 18px;
    }
}
