/* ==============================================
   Local Pack — Что такое Local Pack?
   ============================================== */

.lp {
    background: #0D0D0D;
    padding: 90px 0 100px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    overflow: hidden;
}

.lp__wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Badge ---------- */
.lp__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 26px;
    border: 2px solid rgba(219, 43, 43, 0.3);
    border-radius: 100px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
    line-height: 1;
    background: #141414;
}

/* ---------- Title ---------- */
.lp__heading {
    font-family: 'Wix Madefor Display', sans-serif;
    color: #FFFFFF;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
}

/* ---------- Sub ---------- */
.lp__sub {
    font-family: 'Wix Madefor Display', sans-serif;
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 50px;
    max-width: 600px;
}

/* ---------- Screen — max 1000px ---------- */
.lp__screen {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    text-align: left;
}

/* 1. Лого слева + поиск справа */
.lp__search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.lp__logo {
    height: auto;
    width: auto;
    max-height: 44px;
    flex-shrink: 0;
}

.lp__searchbar {
    height: auto;
    max-height: 44px;
    flex-shrink: 0;
}

/* 2. Табы — картинка на всю ширину */
img.lp__tabs {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

/* 3. Карточки + карта — в ряд */
.lp__content {
    display: flex;
    gap: 24px;
    width: 100%;
}

/* ---------- Карточки слева ---------- */
.lp__cards {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.lp-card {
    border-radius: 12px;
}

.lp-card__in {
    padding: 16px 20px;
    border-radius: 12px;
    background: #1C1C1C;
}

/* Featured — градиентная рамка #FF6565 → #3A3939 */
.lp-card--feat {
    padding: 2px;
    background: linear-gradient(180deg, #FF6565 0%, #3A3939 100%);
    border-radius: 14px;
}

.lp-card--feat .lp-card__in {
    background: #3A3A3A;
    border-radius: 12px;
}

.lp-card__name {
    font-family: 'Wix Madefor Display', sans-serif;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.lp-card--feat .lp-card__name {
    font-size: 18px;
}

.lp-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.lp-card__num {
    color: #F5A623;
    font-size: 14px;
    font-weight: 600;
}

.lp-card__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lp-card__star {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.lp-card__rev {
    font-family: 'Wix Madefor Display', sans-serif;
    color: #AAAAAA;
    font-size: 12px;
    font-weight: 400;
    margin: 4px 0 0;
    line-height: 1.4;
}

.lp-card__bar {
    margin-top: 10px;
    width: 60%;
    height: 6px;
    border-radius: 3px;
    background: #3A3A3A;
}

/* ---------- Карта справа ---------- */
.lp__map-wrap {
    flex: 0 0 42%;
    border-radius: 16px;
    overflow: hidden;
    align-self: stretch;
}

.lp__map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* ==============================================
   Анимации — GPU-only
   ============================================== */
.lp-anim {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lp-anim[data-delay="1"] { transition-delay: 0.15s; }
.lp-anim[data-delay="2"] { transition-delay: 0.3s; }
.lp-anim[data-delay="3"] { transition-delay: 0.45s; }
.lp-anim[data-delay="4"] { transition-delay: 0.6s; }
.lp-anim[data-delay="5"] { transition-delay: 0.75s; }

.lp-anim[data-anim="fadeLeft"]  { transform: translateX(-40px); }
.lp-anim[data-anim="fadeRight"] { transform: translateX(40px); }
.lp-anim[data-anim="fadeUp"]    { transform: translateY(30px); }

.lp-anim--visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ==============================================
   Tablet
   ============================================== */
@media (max-width: 1024px) {
    .lp__heading {
        font-size: 36px;
    }

    .lp__map-wrap {
        flex: 0 0 38%;
    }
}

/* ==============================================
   Mobile
   ============================================== */
@media (max-width: 768px) {
    .lp {
        padding: 60px 0 72px;
    }

    .lp__wrap {
        padding: 0 16px;
    }

    .lp__heading {
        font-size: 26px;
    }

    .lp__sub {
        font-size: 14px;
        margin-bottom: 36px;
    }

    /* Лого сверху по центру, поиск под ним на всю ширину */
    .lp__search-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        justify-content: center;
    }

    .lp__logo {
        max-height: 100%;
    }

    .lp__searchbar {
        max-height: none;
        width: 100%;
        max-width: 100%;
    }

  img.lp__tabs {
    display: block;
    width: 100%;
}

    /* Карточки в столбик */
    .lp__content {
        flex-direction: column;
        gap: 12px;
    }

    .lp__cards {
        flex: none;
        width: 100%;
    }

    /* Карта скрыта на мобилке */
    .lp__map-wrap {
        display: none;
    }
}