/**
 * Мегаменю «Акции» — featured-карточки как у «Все проекты».
 *
 * Зачем: топ-4 активных actions_elements в шапке.
 * Изоляция: все селекторы только под .dropdown-menu--promo.
 * Разметка: left_menu.php (ветка isPromoMega).
 */

.nav--top .dropdown-menu.dropdown-menu--promo {
    padding: 28px 40px 24px;
}

.dropdown-menu--promo .laserwar-promo-menu {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.dropdown-menu--promo ul.promo-featured {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.dropdown-menu--promo ul.promo-featured > li {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    display: block;
}

.dropdown-menu--promo .promo-featured__card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 402 / 324;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    animation-name: navbar-dropdown-drop-in-delayed;
    animation-duration: 200ms;
    animation-fill-mode: backwards;
    animation-timing-function: ease-out;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.dropdown-menu--promo .promo-featured__card:hover,
.dropdown-menu--promo .promo-featured__card:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.dropdown-menu--promo .promo-featured__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dropdown-menu--promo .promo-featured__card:hover .promo-featured__bg {
    transform: scale(1.05);
}

.dropdown-menu--promo .promo-featured__shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.dropdown-menu--promo .promo-featured__content {
    position: absolute;
    z-index: 2;
    left: 6%;
    right: 6%;
    bottom: 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.dropdown-menu--promo .promo-featured__title {
    display: block;
    font-family: "Proxima Nova", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.dropdown-menu--promo .promo-featured__desc {
    display: block;
    font-family: "Proxima Nova", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    opacity: 0.92;
}

.dropdown-menu--promo ul.promo-utility {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu--promo ul.promo-utility > li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.dropdown-menu--promo ul.promo-utility a {
    font-family: "Proxima Nova", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.dropdown-menu--promo ul.promo-utility a:hover {
    color: #e30613;
    text-decoration: none;
}

.dropdown-menu--promo ul.promo-utility > li > span[class^="icon-"],
.dropdown-menu--promo ul.promo-utility > li > span[class*=" icon-"] {
    font-size: 18px;
    color: #e30613;
}

.dropdown-menu--promo .animation-delay-0 { animation-delay: 0ms; }
.dropdown-menu--promo .animation-delay-1 { animation-delay: 50ms; }
.dropdown-menu--promo .animation-delay-2 { animation-delay: 100ms; }
.dropdown-menu--promo .animation-delay-3 { animation-delay: 150ms; }
