/* About Page Container */
.about-page {
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 10px 70px;
}

/* Breadcrumbs */
.about-page__breadcrumbs {
    font-size: 12px;
    color: var(--color-text-gray);
    margin-top: 15px;
    margin-bottom: 60px;
}

.about-page__breadcrumbs a {
    color: var(--color-text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.about-page__breadcrumbs a:hover {
    color: var(--color-primary);
}

/* Title */
.about-page__title {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
}

/* Subtitle */
.about-page__subtitle {
    font-size: 54px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.2;
}

.about-page__description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 40px;
    text-align: center;
}

.about-page__services-title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    margin-bottom: 35px;
    text-align: center;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.about-card {
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.about-card--dark2.about-card--tall {
    grid-row: 1 / 3;
    grid-column: 4;
    padding-bottom: 0;
}

.about-card--green {
    background: #DEF3C2;
    padding-bottom: 0 !important;
}

.about-card--blue {
    background: #CFE9F6;
}

.about-card--dark {
    background: #2A2A2A;
}

.about-card--dark .about-card__title {
    color: var(--color-white);
}

.about-card--beige {
    background: #FAD8A8;
    padding-bottom: 0 !important;
}

.about-card--blue2 {
    background: #CFE9F6;
}

.about-card--green2 {
    background: #DEF3C2;
}

.about-card--dark2 {
    background: #2A2A2A;
}

.about-card--dark2 .about-card__title {
    color: var(--color-white);
}

.about-card__header {
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.about-card__title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    line-height: 1.3;
}

.about-card__image {
    position: absolute;
    z-index: 1;
}

.about-card__image--vending {
    position: relative;
    max-width: 350px;
    margin-top: auto;
}

.about-card__image--products {
    bottom: 0;
    right: 0;
}

.about-card__image--rating {
    position: relative;
    align-self: center;
    max-width: 285px;
    margin-top: 50px;
}

.about-card__image--vending2 {
    position: relative;
    max-width: 350px;
    margin-top: auto;
}

.about-card__image--online {
    bottom: 0;
    left: 0;
    max-width: 350px;
}

.about-card__image--products2 {
    bottom: 0;
    left: 0;
    max-width: 320px;
}

.about-card__image--vending3 {
    bottom: 0;
    right: 0;
    max-width: 240px;
}

.about-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-footer {
    text-align: center;
}

.about-footer__title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about-footer__text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about-footer__email {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-footer__email span {
    font-weight: 600;
}

.about-footer__email-icon {
    width: 24px;
    height: 24px;
}

.about-footer__logo {
    margin-bottom: 60px;
}

.about-footer__logo img {
    max-width: 390px;
    height: auto;
}

.about-footer__button {
    background: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    padding: 18px 45px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.about-footer__button:hover {
    background: #D02C00;
    border-color: #D02C00;
}

.about-footer__company-info {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--color-text);
}

.about-footer__company-details {
    display: flex;
    gap: 15px;
}

.about-footer__company-address {
    text-align: center;
}


/* Адаптив */
@media (max-width: 1360px) {
    .about-card {
        padding: 15px;
    }
    
    .about-card__title {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .about-page {
        padding: 0 15px 50px;
    }

    .about-page__breadcrumbs {
        font-size: 10px;
        margin: 15px 0 20px;
    }

    .about-page__br,
    .about-footer__br {
        display: none;
    }

    .about-page__title {
        font-size: 18px;
    }

    .about-page__subtitle {
        font-size: 36px;
    }

    .about-page__description {
        font-size: 15px;
    }

    .about-page__services-title {
        font-size: 15px;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .about-card {
        min-height: 350px;
    }

    .about-card--dark2.about-card--tall {
        grid-row: 3 / 5;
        grid-column: 2;
        min-height: auto;
    }

    /* Порядок блоков на мобилке */
    .about-card--green {
        order: 1;
    }

    .about-card--blue {
        order: 2;
    }

    .about-card--dark {
        order: 3;
    }

    .about-card--beige {
        order: 4;
    }

    .about-card--blue2 {
        order: 5;
    }

    .about-card--green2 {
        order: 7;
    }

    .about-card--dark2 {
        order: 6;
    }

    .about-card__image {
        align-self: center;
    }

    .about-footer__title {
        font-size: 15px;
    }

    .about-footer__text {
        font-size: 15px;
    }

    .about-footer__email {
        font-size: 15px;
    }

    .about-footer__email-icon {
        width: 20px;
        height: 20px;
    }

    .about-footer__logo img {
        max-width: 250px;
    }

    .about-footer__button {
        padding: 14px 30px;
        font-size: 15px;
    }

    .about-footer__company-info {
        flex-direction: column;
        font-size: 15px;
    }

    .about-footer__company-details {
        flex-direction: column;
        text-align: center;
    }

    .about-footer__company-address {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-page__title {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .about-page__subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .about-page__description {
        font-size: 12px;
        margin-bottom: 20px;
    }

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

    .about-cards {
        margin-bottom: 30px;
    }

    .about-card {
        min-height: 160px;
    }

    .about-card__title {
        font-size: 8px;
    }
    
    .about-card__image--online {
        max-width: 170px;
    }

    .about-card__image--products2 {
        max-width: 230px;
    }

    .about-card__image--rating {
        margin-top: 20px;
    }

    .about-footer__title {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .about-footer__text {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .about-footer__email {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .about-footer__email-icon {
        width: 20px;
        height: 20px;
    }

    .about-footer__logo {
        margin-bottom: 35px;
    }

    .about-footer__logo img {
        max-width: 210px;
    }

    .about-footer__button {
        padding: 14px 30px;
        font-size: 12px;
    }

    .about-footer__company-info {
        flex-direction: column;
        gap: 15px;
        margin-top: 55px;
        font-size: 15px;
        align-items: start;
        text-align: left;
    }

    .about-footer__company-details, .about-footer__company-address {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-card {
        min-height: 150px;
    }
    
    .about-card__image--online {
        max-width: 140px;
    }

    .about-card__image--products2 {
        max-width: 140px;
    }

    .about-card__image--rating {
        margin-top: 0;
    }
}