/* iCan Reach App — страница продукта */

/* Две визуальные зоны: белая под app-showcase (телефон не «обрубается» у серого), серая ниже */
.page-reach .page-reach__main {
    padding: 0;
    background: transparent;
}

.page-reach .reach-zone {
    width: 100%;
    box-sizing: border-box;
}

.page-reach .reach-zone--showcase {
    background-color: #fff;
    padding: 36px 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.page-reach .reach-zone--rest {
    background-color: #f2f2f2;
    padding: 40px 20px 48px;
}

.page-reach .reach-zone--rest .reach-block3 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .page-reach .reach-zone--showcase {
        padding-bottom: 0;
    }

    .page-reach .reach-zone--rest {
        padding-top: 32px;
        padding-bottom: 40px;
    }
}

.page-reach .main-header .logo {
    display: block;
}

.page-reach .main-header .logo img {
    height: 32px;
}

.reach-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reach-banner__picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.reach-banner__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (min-width: 769px) {
    .reach-banner__img {
        aspect-ratio: 810 / 368;
        object-position: center 40%;
    }
}

@media (max-width: 768px) {
    .reach-banner__img {
        aspect-ratio: 4 / 3;
        object-position: 70% center;
    }
}

.reach-banner__content {
    position: absolute;
    left: 5%;
    top: 22%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    max-width: 46%;
    z-index: 2;
}

@media (min-width: 769px) {
    .reach-banner__content {
        left: 6%;
        top: 26%;
        max-width: 42%;
    }
}

.reach-banner__brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2em 0.45em;
    margin-bottom: 12px;
    line-height: 1.05;
}

.reach-banner__ican {
    font-weight: 800;
    font-size: clamp(26px, 3.8vw, 40px);
    color: #c11920;
    letter-spacing: -0.02em;
}

.reach-banner__reach {
    font-weight: 800;
    font-size: clamp(20px, 2.9vw, 32px);
    color: #333;
}

.reach-banner__tagline {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 600;
    color: #333;
    line-height: 1.45;
    max-width: 400px;
}

@media (max-width: 768px) {
    .reach-banner__content {
        left: 5%;
        top: 18%;
        max-width: 88%;
    }

    .reach-banner__brand-row {
        margin-bottom: 8px;
    }

    .reach-banner__tagline {
        font-size: clamp(13px, 3.8vw, 16px);
        max-width: 100%;
    }
}

/* Секция 3 — как i6-block--1: фото слева, красная панель справа (без слайдера) */
.page-reach .reach-block3 {
    width: 80%;
    max-width: 920px;
    margin: 40px auto 0;
    position: relative;
}

.page-reach .reach-block3__row {
    display: flex;
    width: 100%;
    min-height: 560px;
    position: relative;
}

.page-reach .reach-block3__img-wrap {
    flex: 0 0 50%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 30px;
    isolation: isolate;
}

.page-reach .reach-block3__img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: block;
    object-fit: cover;
    object-position: center;
    box-sizing: border-box;
    border-radius: 30px;
}

.page-reach .reach-block3__text {
    flex: 0 0 65%;
    flex-shrink: 0;
    margin-left: -5%;
    margin-bottom: 5%;
    margin-top: 5%;
    background-color: rgb(193, 25, 32);
    padding: 72px 40px 140px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    border-radius: 30px;
    color: rgb(255, 255, 255);
    font-family: Roboto, "Helvetica Neue", Helvetica, Tahoma, sans-serif;
    line-height: 24px;
    background-image:
        radial-gradient(ellipse 75% 75% at 100% 100%, rgba(0, 0, 0, 0.14) 0%, transparent 62%),
        radial-gradient(ellipse 50% 45% at 100% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.page-reach .reach-block3__title {
    margin: 0 0 20px 0;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: rgb(255, 255, 255);
    line-height: 1.25;
}

.page-reach .reach-block3__p {
    margin: 0 0 14px 0;
    font-size: clamp(14px, 1.2vw, 16px);
    color: rgb(255, 255, 255);
    line-height: 1.45;
}

.page-reach .reach-block3__p--intro {
    margin-top: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.page-reach .reach-block3__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-reach .reach-block3__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: clamp(14px, 1.2vw, 16px);
    color: rgb(255, 255, 255);
    line-height: 1.45;
}

.page-reach .reach-block3__list li::before {
    content: '—';
    position: absolute;
    left: 0;
}

.page-reach .reach-block3__list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-reach .reach-block3 {
        width: 90%;
        margin-top: 32px;
    }

    .page-reach .reach-block3__row {
        flex-direction: column;
        min-height: auto;
    }

    .page-reach .reach-block3__img-wrap {
        flex: none;
        width: 100%;
        height: 300px;
        min-height: 300px;
        border-radius: 30px 30px 0 0;
        z-index: 1;
    }

    .page-reach .reach-block3__img {
        width: 100%;
        height: 100%;
        min-height: 300px;
        border-radius: 0;
    }

    .page-reach .reach-block3__text {
        flex: none;
        width: calc(100% - 24px);
        margin: -40px 12px 0 12px;
        padding: 48px 24px 60px;
        border-radius: 30px;
        z-index: 2;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Блок 2 — как app-showcase на главной: макет reach2sect по центру, 4 карточки по углам */
.page-reach .reach-section-features {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

.page-reach .reach-section-features .app-section__title {
    margin: 36px 0 8px;
    font-size: clamp(26px, 3vw, 34px);
    color: #333;
}

.page-reach .reach-showcase {
    max-width: 1000px;
    min-height: 500px;
    margin: 12px auto 0;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
}

.page-reach .reach-showcase .app-showcase__phone {
    width: min(100%, 460px);
    z-index: 1;
}

.page-reach .reach-showcase .app-showcase__phone img {
    display: block;
    width: 100%;
    height: auto;
}

.page-reach .reach-showcase .app-card {
    max-width: 260px;
}

@media (min-width: 769px) {
    .page-reach .reach-showcase .app-card--top-left {
        top: 8%;
        left: 0;
    }

    .page-reach .reach-showcase .app-card--top-right {
        top: 22%;
        right: 0;
    }

    .page-reach .reach-showcase .app-card--bottom-left {
        bottom: 16%;
        left: 0;
    }

    .page-reach .reach-showcase .app-card--bottom-right {
        bottom: 20%;
        right: 0;
    }
}

@media (max-width: 768px) {
    .page-reach .reach-showcase .app-showcase__phone {
        transform: none;
        width: min(100%, 420px);
        margin-bottom: 12px;
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
    }

    .page-reach .reach-section-features .app-section__title {
        margin-top: 28px;
        margin-bottom: 12px;
    }

    .page-reach .reach-showcase {
        min-height: auto;
    }
}

.page-reach .reach-main {
    width: 80%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    padding-bottom: 48px;
    box-sizing: border-box;
}

.page-reach .reach-main .apps-store-card__qr-frame,
.page-reach .reach-main .apps-store-card__qr {
    max-width: 200px;
}

.page-reach .reach-main .apps-store-cards {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .page-reach .reach-main {
        width: 90%;
        margin-top: 32px;
        padding-bottom: 40px;
    }

    .page-reach .reach-main .apps-store-card__qr-frame,
    .page-reach .reach-main .apps-store-card__qr {
        max-width: min(200px, 70vw);
    }
}
