/* ===== CARRUSEL FULLSCREEN ===== */
.fullscreen-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
}

.carousel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.7);
    transform: scale(1.06);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 80%);
}

.bg-layer.active {
    opacity: 1;
    animation: kenburns 7s ease-out both;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.14);
    }
}

.carousel-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    transition: opacity 0.25s ease;
}

.carousel-content.hidden {
    opacity: 0;
}

.carousel-content .card-title {
    font-family: var(--tipo-titulo);
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pergamino-claro);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.9rem;
}

.carousel-content .card-desc {
    font-family: var(--tipo-cuerpo);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--pergamino);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.carousel-content .card-btn {
    font-family: var(--tipo-acento);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pergamino-claro);
    background: linear-gradient(180deg, var(--rojo), var(--rojo-oscuro));
    border: 2px solid var(--dorado);
    border-radius: 6px;
    padding: 0.7rem 2.3rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-content .card-btn:hover {
    color: var(--dorado-brillante);
    border-color: var(--dorado-brillante);
    background: linear-gradient(180deg, #a23321, var(--rojo));
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(224, 182, 63, 0.45), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--marron);
    border: 2px solid var(--dorado);
    color: var(--dorado-brillante);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
    transition: all 0.25s ease;
}

.carousel-btn:hover {
    background: var(--dorado);
    color: var(--negro);
    box-shadow: 0 0 18px rgba(224, 182, 63, 0.55);
}

.carousel-btn.prev {
    left: 1.5rem;
}

.carousel-btn.next {
    right: 1.5rem;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dots .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid var(--dorado);
    background: rgba(201, 162, 39, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dots .dot:hover {
    background: var(--dorado-brillante);
    transform: scale(1.15);
}

.carousel-dots .dot.active {
    background: var(--dorado);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(224, 182, 63, 0.6);
}

.carousel-count {
    position: absolute;
    bottom: 1.8rem;
    right: 2rem;
    z-index: 3;
    font-family: var(--tipo-titulo);
    font-size: 1.15rem;
    letter-spacing: 2px;
    color: var(--dorado-brillante);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ===== RESPONSIVE DEL CARRUSEL ===== */
@media (max-width: 860px) {
    .fullscreen-carousel {
        min-height: 480px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 0.8rem;
    }

    .carousel-btn.next {
        right: 0.8rem;
    }

    .carousel-dots {
        bottom: 1.6rem;
    }

    .carousel-count {
        bottom: 1.4rem;
        right: 1.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-layer {
        transition: none;
    }

    .bg-layer.active {
        animation: none;
    }

    .carousel-content {
        transition: none;
    }
}