/* MASTER-PACK 0.7.110 — owner-approved RU/EN hero geometry + typography parity.
 * UA remains the visual reference. This late layer is scoped only to localized
 * selected homepages and leaves product rails/internal routes untouched.
 */

.mp-design-0799.mp-localized-home .mp-hero-copy-carousel {
    width: min(720px, calc(100vw - (2 * var(--mp-pad)))) !important;
    max-width: 720px !important;
    margin: 0 0 0 var(--mp-pad) !important;
    padding: 0 !important;
    justify-content: center;
}

.mp-design-0799.mp-localized-home #company .mp-hero-title {
    max-width: 670px !important;
    font-size: clamp(38px, 3.65vw, 56px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance;
}

.mp-design-0799.mp-localized-home #company .mp-hero-title-line {
    display: block;
}

.mp-design-0799.mp-localized-home #company .mp-lead {
    max-width: 620px;
    font-size: clamp(15px, 1.08vw, 18px);
    line-height: 1.55;
}

.mp-design-0799.mp-localized-home .mp-hero-controls {
    right: var(--mp-pad) !important;
    left: var(--mp-pad) !important;
    bottom: 36px;
    width: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mp-design-0799.mp-localized-home .mp-hero-controls .mp-hero-timer {
    flex: 1;
    height: 1px;
    margin-left: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.28);
    border-radius: 999px;
}

.mp-design-0799.mp-localized-home .mp-hero-controls .mp-hero-timer span {
    background: #fff;
}

.mp-design-0799.mp-localized-home .mp-hero-media-meta {
    right: var(--mp-pad);
    bottom: 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    padding: 0 0 8px;
    color: #fff;
}

.mp-design-0799.mp-localized-home .mp-hero-media-meta .mp-hero-location {
    padding: 11px 15px;
    color: rgba(255,255,255,.82);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.mp-design-0799.mp-localized-home .mp-hero-media-meta .mp-hero-count {
    padding: 7px 11px;
    color: rgba(255,255,255,.62);
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    font-size: 14px;
    font-weight: 800;
}

.mp-design-0799.mp-localized-home .mp-hero-media-meta .mp-hero-count strong {
    color: #fff;
    font-size: 30px;
}

@media (min-width: 761px) and (max-width: 1100px) {
    .mp-design-0799.mp-localized-home .mp-hero-copy-carousel {
        width: min(680px, 70vw) !important;
        max-width: 680px !important;
        transform: translateY(-150px);
    }

    .mp-design-0799.mp-localized-home #company .mp-hero-title {
        max-width: 670px !important;
        font-size: clamp(36px, 3.71vw, 42px) !important;
        line-height: 1.02 !important;
    }

    .mp-design-0799.mp-localized-home #company .mp-lead {
        max-width: 620px;
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .mp-design-0799.mp-localized-home .mp-hero-copy-carousel {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 20px 132px !important;
        justify-content: flex-end;
        transform: none;
    }

    .mp-design-0799.mp-localized-home #company .mp-hero-title {
        max-width: 350px !important;
        font-size: clamp(32px, 9.2vw, 41px) !important;
        line-height: 1.02 !important;
    }

    .mp-design-0799.mp-localized-home #company .mp-lead {
        max-width: 350px;
        font-size: 15px;
        line-height: 1.5;
    }

    .mp-design-0799.mp-localized-home #company .mp-hero-proof {
        display: none !important;
    }

    .mp-design-0799.mp-localized-home .mp-hero-controls {
        left: 20px !important;
        right: 20px !important;
        bottom: 24px;
        width: auto;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .mp-design-0799.mp-localized-home .mp-hero-controls .mp-hero-timer {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
    }

    .mp-design-0799.mp-localized-home .mp-hero-media-meta {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-design-0799.mp-localized-home #company .mp-hero-title-line {
        transition: none !important;
    }
}
