.carousel-wrapper {
    position: relative;
    animation: fade-in-right 0.8s ease 0.2s both;
}

/* Decoración alrededor del carrusel */
.carousel-wrapper::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(198, 113, 65, 0.2);
    border-radius: 24px;
    animation: rotate-border 8s linear infinite;
}

@keyframes rotate-border {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.3;
    }
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Track de imágenes */
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Overlay gradiente sobre imagen */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 30, 0.7) 0%, transparent 50%);
}

/* Label en imagen */
.slide-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slide-label span {
    background: rgba(198, 113, 65, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Controles personalizados */
.carousel-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.carousel-btn:hover {
    background: rgba(198, 113, 65, 0.7);
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 14px;
    height: 14px;
}

/* Puntos */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #c67141;
    width: 24px;
    border-radius: 4px;
}

/* Stat chips sobre el carrusel */
.stat-chips {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 6px 14px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.chip strong {
    color: #e8945a;
}

/* ===== ANIMACIONES ENTRADA ===== */
@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .general-fondo {
        grid-template-columns: 1fr;
        padding: 60px 24px;
    }

    .carousel-slide img {
        height: 280px;
    }
}