/* ========== ГЛАВНАЯ СТРАНИЦА ========== */

/* ========== ГЛАВНЫЙ ЭКРАН СО СЛАЙДЕРОМ ========== */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    padding: 0;
    background: none;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 29, 41, 0.85);
    z-index: 2;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 3;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero__title {
    font-size: 4.2rem;
    margin-bottom: 20px;
}

.hero__title span {
    color: var(--accent-primary);
    display: block;
    font-size: 3.5rem;
}

.hero__title br {
    display: none;
}

.hero__desc {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.hero__messengers {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero__messengers .btn--secondary {
    background: transparent;
    border: 2px solid var(--accent-secondary);
    color: var(--accent-secondary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__messengers .btn--secondary:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 167, 37, 0.3);
}

.coming-soon-badge {
    font-size: 10px;
    background: rgba(238, 167, 37, 0.2);
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 8px;
    font-weight: normal;
}

#max-link-hero {
    cursor: pointer;
}

/* ========== АКЦИИ ========== */
.promo {
    padding: 60px 0;
    background-color: var(--bg-secondary);
}

.promo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.promo-card {
    background: linear-gradient(45deg, rgba(11, 29, 41, 0.75), rgba(13, 20, 25, 0.65)), var(--card-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
    letter-spacing: 3px;
    min-height: 250px;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    outline: 2px solid var(--accent-secondary);
    outline-offset: -2px;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(11, 29, 41, 0.6);
    border-radius: 22px;
    z-index: 0;
    pointer-events: none;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(238, 167, 37, 0.6);
    background: linear-gradient(45deg, rgba(11, 29, 41, 0.55), rgba(13, 20, 25, 0.40)), var(--card-bg-image);
    background-size: cover;
    background-position: center;
}

.promo-card__badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--text-light);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-card h3,
.promo-card p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.promo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 20px;
}

.promo-card__btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--accent-secondary);
    border-radius: 30px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.promo-card__btn:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
}

/* ========== О КОМПАНИИ ========== */
.about {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-item {
    background: linear-gradient(145deg, rgba(15, 35, 48, 0.92), rgba(20, 40, 52, 0.85));
    border: 1px solid rgba(238, 167, 37, 0.25);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    clip-path: polygon(15% 0, 85% 0, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0 85%, 0 15%);
    height: 100%;
    backdrop-filter: blur(1px);
}

.about-item-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    color: inherit;
}

.about-item-link:hover {
    transform: translateY(-5px);
}

.about-item-link:hover .about-item {
    border-color: var(--accent-secondary);
    border-width: 1.5px;
    box-shadow: 0 12px 35px rgba(238, 167, 37, 0.45);
    background: linear-gradient(145deg, rgba(25, 55, 72, 0.96), rgba(30, 55, 70, 0.9));
}

.about-item__icon {
    font-size: 52px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(238, 167, 37, 0.5));
    display: inline-block;
    transition: transform 0.3s;
}

.about-item-link:hover .about-item__icon {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(238, 167, 37, 0.7));
}

.about-item h3 {
    color: var(--accent-secondary);
    margin-bottom: 15px;
    font-size: 1.8rem;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.about-item-link:hover .about-item h3 {
    text-shadow: 0 0 8px rgba(238, 167, 37, 0.5);
    letter-spacing: 2.5px;
}

.about-item p {
    color: #e6e6e6;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
    transition: all 0.3s;
}

.about-item-link:hover .about-item p {
    opacity: 1;
    color: #ffffff;
}

/* ========== АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА) ========== */
@media (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__title span {
        font-size: 1.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero {
        min-height: 400px;
    }

    .hero__container {
        min-height: 400px;
        padding: 40px 20px;
    }

    .hero__title {
        font-size: 1.8rem !important;
    }

    .hero__title span {
        font-size: 1.3rem !important;
    }

    .hero__desc {
        font-size: 0.9rem;
    }

    .hero__buttons .btn,
    .hero__messengers .btn--secondary {
        padding: 8px 16px;
        font-size: 12px;
    }

    .promo-card {
        padding: 20px;
        min-height: 200px;
    }

    .promo-card h3 {
        font-size: 1.2rem;
    }

    .promo-card p {
        font-size: 0.8rem;
    }

    .promo-card__btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .promo-card__badge {
        font-size: 12px;
        padding: 3px 10px;
        top: -8px;
        right: 15px;
    }

    .about-item {
        padding: 20px 15px;
    }

    .about-item h3 {
        font-size: 1.3rem;
    }

    .about-item p {
        font-size: 0.8rem;
    }

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

    .hero__title br.desktop-br {
        display: inline;
    }
}