/*
 * Страница /about/ — «О нас»
 */

html.mw-about {
    --mw-about-accent: #EB4036;
    --mw-about-accent-hover: #d6362c;
    --mw-about-ink: #131a1e;
    --mw-about-muted: rgba(19, 26, 30, 0.62);
    --mw-about-line: rgba(19, 26, 30, 0.12);
    --primary-color-base: #EB4036;
    --primary-color-l-5: #d6362c;
    --primary-color-d-5: #c42e25;
}

html.mw-about,
html.mw-about body {
    overflow-x: hidden;
}

html.mw-about .mosaic-crumbs--u-il34i0uoy {
    margin-bottom: 16px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

html.mw-about .mosaic-crumbs__item_link--u-ik176n4nq {
    color: var(--mw-about-accent);
    opacity: 1;
    text-decoration: none;
}

html.mw-about .mosaic-crumbs__item_link--u-ik176n4nq:hover {
    color: var(--mw-about-accent-hover);
}

html.mw-about .mosaic-crumbs__last--u-id4cppw9k {
    color: var(--mw-about-ink);
    opacity: 1;
}

html.mw-about .page-title--u-id4ryxzo8 {
    color: var(--mw-about-ink);
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-bottom: 12px;
}

html.mw-about .mosaic-popup__close--u-izbayip7a,
html.mw-about .side-panel__button-close--u-iki0lgea4,
html.mw-about .side-panel__button-open--u-izkrt33zv {
    background-color: #EB4036 !important;
    background-image: none !important;
}

html.mw-about .div--u-i7w4ftx7p,
html.mw-about .mosaic-form--u-if8bri88i .div--u-i7w4ftx7p,
html.mw-about .div--u-ifqtfrgl2 {
    background-color: #EB4036 !important;
    background-image: none !important;
}

html.mw-about .div--u-ijdnwz0fa,
html.mw-about .div--u-i9r512qsz {
    background-color: #d6362c !important;
}

html.mw-about .mw-section-head--compact {
    margin-bottom: 16px;
}

html.mw-about .mw-section-head--compact .mw-section-head__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.mw-about-lead {
    margin: 0 0 32px;
    max-width: 44rem;
    color: var(--mw-about-muted);
    font-family: Rubik, sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

.mw-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 48px;
}

.mw-about-intro__text p {
    margin: 0 0 14px;
    color: var(--mw-about-muted);
    font-family: Rubik, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.mw-about-intro__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 8px !important;
}

.mw-about-intro__links a {
    color: var(--mw-about-accent);
    font-family: Rubik, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.mw-about-intro__links a:hover {
    border-bottom-color: var(--mw-about-accent);
    color: var(--mw-about-accent-hover);
}

.mw-about-intro__media {
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--mw-about-line);
    background: #e8e8e8;
    aspect-ratio: 4 / 3;
}

.mw-about-intro__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mw-about-block {
    margin-bottom: 48px;
}

.mw-about-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mw-about-card {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--mw-about-line);
    border-radius: 20px;
    box-sizing: border-box;
}

.mw-about-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(235, 64, 54, 0.1);
    color: var(--mw-about-accent);
    font-size: 24px;
}

.mw-about-card__title {
    margin: 0 0 10px;
    font-family: Unbounded, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--mw-about-ink);
    overflow-wrap: anywhere;
}

.mw-about-card__text {
    margin: 0;
    font-family: Rubik, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mw-about-muted);
}

.mw-about-cta {
    margin: 8px 0 48px;
    padding: 36px 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--mw-about-line);
    border-radius: 20px;
}

.mw-about-cta__title {
    margin: 0 0 10px;
    font-family: Unbounded, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 500;
    color: var(--mw-about-ink);
}

.mw-about-cta__text {
    margin: 0 0 22px;
    color: var(--mw-about-muted);
    font-family: Rubik, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.mw-about-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--mw-about-accent);
    color: #fff;
    font-family: Unbounded, sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.mw-about-cta__btn:hover {
    background: var(--mw-about-accent-hover);
}

.mw-about-cta__btn:active {
    transform: scale(0.98);
}

@media (max-width: 991px) {
    .mw-about-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-bottom: 40px;
    }

    .mw-about-intro__media {
        order: -1;
        max-height: 320px;
    }

    .mw-about-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .mw-about-lead {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .mw-about-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .mw-about-card,
    .mw-about-cta,
    .mw-about-intro__media {
        border-radius: 16px;
    }

    .mw-about-cta {
        padding: 28px 18px;
    }

    .mw-about-cta__btn {
        width: 100%;
        min-height: 48px;
    }

    .mw-about-lead {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .mw-about-block {
        margin-bottom: 36px;
    }
}
