.homepage-hero {
    position: relative;
    width: 100%;
    height: 96vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.homepage-swiper {
    width: 100%;
    height: 95%;
}

.homepage-hero__slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.homepage-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.homepage-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.homepage-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 36, 0.45) 0%,
        rgba(45, 90, 61, 0.4) 50%,
        rgba(26, 58, 36, 0.4) 100%
    );
    z-index: 1;
}

.homepage-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    color: #fff;
}

.homepage-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.homepage-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 24px;
    color: #fff;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.homepage-hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-hero-dark);
    background: #fff;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.homepage-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: #fff;
    color: var(--color-accent);
}

.homepage-hero__cta svg {
    transition: transform var(--transition-fast);
}

.homepage-hero__cta:hover svg {
    transform: translateX(4px);
}

.homepage-swiper__nav {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
    transform: translateY(50%);
}

.homepage-swiper__prev,
.homepage-swiper__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: auto;
}

.homepage-swiper__prev:hover,
.homepage-swiper__next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.homepage-swiper__prev:focus,
.homepage-swiper__next:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.homepage-swiper__pagination {
    position: absolute;
    left: 50% !important;
    bottom: 40px !important;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.homepage-swiper__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: all var(--transition-base);
}

.homepage-swiper__pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

.homepage-swiper__pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
}

.homepage-hero__fallback {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--color-hero-dark) 0%,
        var(--color-hero-light) 50%,
        var(--color-hero-dark) 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .homepage-hero {
        height: 85vh;
        min-height: 500px;
    }

    .homepage-swiper__nav {
        display: none;
    }

    .homepage-hero__content {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .homepage-hero {
        height: 80vh;
        min-height: 480px;
        max-height: 700px;
    }

    .homepage-hero__title {
        font-size: 2.25rem;
    }

    .homepage-hero__subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .homepage-hero__cta {
        padding: 14px 28px;
        font-size: 14px;
    }

    .homepage-swiper__pagination {
        bottom: 24px !important;
        gap: 10px;
    }

    .homepage-swiper__pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .homepage-hero {
        height: 75vh;
        min-height: 420px;
    }

    .homepage-hero__content {
        padding: 0 20px;
    }

    .homepage-hero__badge {
        padding: 6px 16px;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .homepage-hero__title {
        font-size: 1.875rem;
        margin-bottom: 16px;
    }

    .homepage-hero__subtitle {
        font-size: 0.9375rem;
        margin-bottom: 28px;
    }

    .homepage-hero__cta {
        padding: 12px 24px;
        font-size: 13px;
        gap: 8px;
    }
}
