/* ========================================
   ОБЩИЙ ФАЙЛ ДЛЯ БАННЕРОВ
   ======================================== */

.banners-section {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: #f8f9fa;
}

/* Контейнер баннеров */
.banners-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Одиночный баннер */
.banner-single {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Swiper для множественных баннеров */
.banners-swiper {
    border-radius: 18px;
    overflow: hidden;
}

.banners-swiper .swiper-slide {
    border-radius: 18px;
    overflow: hidden;
}

/* Элемент баннера */
.banner-item {
    position: relative;
    background: linear-gradient(135deg, #ec6830 0%, #d55a29 100%);
    padding: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2rem);
    min-height: clamp(220px, 20vw, 260px);
    box-sizing: border-box;
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.3;
    pointer-events: none;
}

/* Контент баннера */
.banner-content {
    flex: 1;
    z-index: 2;
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 600;
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-title {
    font-family: 'PT Serif', serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
    line-height: 1.2;
}

.banner-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.5;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #ec6830;
    padding: clamp(0.7rem, 1.8vw, 0.9rem) clamp(1.2rem, 2.5vw, 1.8rem);
    border-radius: 18px;
    border: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #ec6830;
    text-decoration: none;
}

/* Изображение в баннере */
.banner-image {
    flex-shrink: 0;
    width: clamp(150px, 18vw, 200px);
    aspect-ratio: 1 / 1;
    z-index: 2;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Адаптив */
@media (max-width: 768px) {
    .banner-item {
        flex-direction: column;
        text-align: center;
        padding: clamp(1.5rem, 4vw, 2rem);
        min-height: auto;
    }
    
    .banner-item::before {
        width: 60%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .banner-image {
        max-width: 120px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .banners-section {
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }
    
    .banner-item {
        padding: 1.5rem 1rem;
    }
    
    .banner-title {
        font-size: 1.3rem;
    }
}

/* ===== ПАГИНАЦИЯ КАРУСЕЛИ БАННЕРОВ ===== */
.banners-pagination {
    position: relative !important; /* сбрасываем position: absolute, навязанный Swiper JS */
    margin-top: 16px;
    text-align: center;
    line-height: 1;
}

.banners-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c0c0c0;
    opacity: 1;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.banners-pagination .swiper-pagination-bullet-active {
    background: #ec6830;
    transform: scale(1.35);
}