/* ============================================
   HERO SLIDER - Frontend Styles
   ============================================ */

.hero-slider-block {
    position: relative;
    width: 100%;
}

.hero-slider-block .swiper {
    width: 100%;
    height: var(--hero-slider-height, 600px);
    position: relative;
    overflow: hidden;
}

.hero-slider-block .swiper-wrapper {
    height: 100%;
}

/* Слайд */
.hero-slider-block .swiper-slide,
.hero-slider-block .hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--color-primary);
    overflow: hidden;
}

/* Overlay */
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Контейнер-обёртка */
.hero-slide__container {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 40px;
    box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
}

/* Позиционирование */
.hero-slide--pos-top-left    .hero-slide__container { align-items: flex-start; justify-content: flex-start; }
.hero-slide--pos-top-center  .hero-slide__container { align-items: flex-start; justify-content: center; }
.hero-slide--pos-top-right   .hero-slide__container { align-items: flex-start; justify-content: flex-end; }
.hero-slide--pos-center-left   .hero-slide__container { align-items: center; justify-content: flex-start; }
.hero-slide--pos-center-center .hero-slide__container { align-items: center; justify-content: center; }
.hero-slide--pos-center-right  .hero-slide__container { align-items: center; justify-content: flex-end; }
.hero-slide--pos-bottom-left   .hero-slide__container { align-items: flex-end; justify-content: flex-start; }
.hero-slide--pos-bottom-center .hero-slide__container { align-items: flex-end; justify-content: center; }
.hero-slide--pos-bottom-right  .hero-slide__container { align-items: flex-end; justify-content: flex-end; }

/* Контент */
.hero-slide__content {
    max-width: 800px;
    box-sizing: border-box;
    position: relative;
}

.hero-slide__content.text-left   { text-align: left; }
.hero-slide__content.text-center { text-align: center; }
.hero-slide__content.text-right  { text-align: right; }

.hero-slide__subtitle {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.hero-slide__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.hero-slide__descr {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.5;
}

/* Кнопки */
.hero-slide__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-slide__content.text-center .hero-slide__buttons { justify-content: center; }
.hero-slide__content.text-right  .hero-slide__buttons { justify-content: flex-end; }

.hero-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.hero-slide__btn--primary {
    background: var(--color-accent);
    color: var(--color-primary);
    border: 0;
}
.hero-slide__btn--primary:hover {
    background: var(--color-accent-dark);
    color: var(--color-primary);
}

.hero-slide__btn--secondary {
    background: transparent;
    color: var(--theme-palette-color-3);
    border: 2px solid var(--theme-palette-color-3);
}
.hero-slide__btn--secondary:hover {
    background: var(--theme-palette-color-3);
    color: var(--color-primary);
}

/* ============================================
   СВОИ СТИЛИ
   ============================================ */
.dark-hero .btn-primary {
	
}
.dark-hero .btn-secondary {
	
}
.gold-hero .hero__title {
	color: var(--color-primary);
}

.gold-hero .hero__descr {
	color: var(--color-primary);
}

.gold-hero .btn-primary {
	color: var(--color-accent);
	background: var(--color-primary);
}
.gold-hero .btn-primary:hover {
	color: var(--color-accent);
	background: #0e465d;
}
.gold-hero .btn-secondary {
	background: transparent;
	color: #0e465d;
	border: 2px solid #0e465d;
}
.gold-hero .btn-secondary:hover {
	background: #0e465d;
	color: var(--color-accent);
}

/* ============================================
   СТРЕЛКИ
   ============================================ */
.hero-slider-block .swiper-button-prev,
.hero-slider-block .swiper-button-next {
    color: var(--color-accent);
    width: 34px;
    height: 34px;
    background: rgba(8, 42, 56, 0);
    border-radius: 50%;
    transition: opacity 0.3s ease, background 0.3s ease;
    margin-top: -17px;
}

.hero-slider-block .swiper-button-prev:hover,
.hero-slider-block .swiper-button-next:hover {
    color: var(--theme-palette-color-3);
}

.hero-slider-block .swiper-button-prev::after,
.hero-slider-block .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

/* Стрелки только при наведении */
.hero-slider--arrows-hover .swiper-button-prev,
.hero-slider--arrows-hover .swiper-button-next {
    opacity: 0;
    pointer-events: none;
}

.hero-slider--arrows-hover:hover .swiper-button-prev,
.hero-slider--arrows-hover:hover .swiper-button-next {
    opacity: 1;
    pointer-events: auto;
}

/* На тач-устройствах всегда показываем */
@media (hover: none) {
    .hero-slider--arrows-hover .swiper-button-prev,
    .hero-slider--arrows-hover .swiper-button-next {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ============================================
   БУЛЛЕТЫ
   ============================================ */
.hero-slider-block .swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.hero-slider-block .swiper-pagination-bullet:hover {
    background: var(--color-accent);
}

.hero-slider-block .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-accent);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   АДАПТИВ
   ============================================ */
@media (max-width: 768px) {
    .hero-slider-block .swiper {
		height: 600px;
	}
	.hero-slide__container {
        padding: 40px 20px;
    }
    .hero-slide__content {
        max-width: 100%;
    }
    .hero-slider-block .swiper-button-prev,
    .hero-slider-block .swiper-button-next {
        width: 34px;
        height: 34px;
        margin-top: -17px;
    }
    .hero-slider-block .swiper-button-prev::after,
    .hero-slider-block .swiper-button-next::after {
        font-size: 14px;
    }
	.hero-slide__subtitle {
		font-size: 12px;
	}
	.hero-slide__title {
		font-size: 28px;
		line-height: 1.15;
	}
	.hero-slide__descr {
		font-size: 18px;
		line-height: 1.25;
	}
	.hero-slide__btn {
		font-size: 15px;
	}
}
@media (max-width: 480px) {
    .hero-slider-block .swiper-button-prev,
    .hero-slider-block .swiper-button-next {
        opacity: 0;
		pointer-events: none;
    }
	.hero-slide__subtitle {
		font-size: 11px;
	}
	.hero-slide__title {
		
	}
	.hero-slide__descr {
		font-size: 16px;
		line-height: 1.2;
	}
	.hero-slide__btn {
		font-size: 14px;
	}
}