/* Featured Circuits Header */
.featured-circuits-header {
    padding: 2rem 1rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-bottom: 1rem;
}

.featured-circuits-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.5px;
}

.featured-circuits-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Card Wrapper */
.featured-circuit-card-wrapper {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Card Container */
.featured-circuit-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.featured-circuit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-circuit-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image Section */
.featured-circuit-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.featured-circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    transition: background 0.3s ease;
}

.featured-circuit-card:hover .featured-circuit-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.featured-circuit-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #be7694 0%, #b71155 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
}

/* Content Section */
.featured-circuit-content {
    padding: 1rem;
}

.featured-circuit-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing Section */
.featured-circuit-pricing {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    text-align: center;
}

.featured-circuit-price-label {
    display: block;
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.featured-circuit-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.featured-circuit-currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0284c7;
}

.featured-circuit-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0284c7;
    line-height: 1;
}

.featured-circuit-price-note {
    display: block;
    font-size: 0.65rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Duration */
.featured-circuit-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.featured-circuit-duration i {
    color: #f59e0b;
}

/* Services Icons */
.featured-circuit-services {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.75rem;
}

.featured-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f0f9ff;
    border-radius: 50%;
    color: #0284c7;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.featured-service-icon:hover {
    background: #0284c7;
    color: #fff;
    transform: scale(1.1);
}

/* CTA Button */
.featured-circuit-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.featured-circuit-card:hover .featured-circuit-cta {
    transform: translateX(2px);
}

.featured-cta-text {
    flex: 1;
    text-align: center;
}

.featured-circuit-cta i {
    transition: transform 0.3s ease;
}

.featured-circuit-card:hover .featured-circuit-cta i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .featured-circuits-title {
        font-size: 1.5rem;
    }
    
    .featured-circuits-subtitle {
        font-size: 0.85rem;
    }
    
    .featured-circuit-image {
        height: 140px;
    }
    
    .featured-circuit-name {
        font-size: 0.9rem;
        min-height: 2.4rem;
    }
    
    .featured-circuit-amount {
        font-size: 1.3rem;
    }
}


/* ============================================================
   Carrusel de productos (Swiper) — estándar del proyecto
   ============================================================ */
.home-swiper {
    position: relative;
    padding: 8px 4px 46px;
    /* contiene las cards dentro del ancho del .container */
}

/* Slides de igual altura: la card estira al alto del slide más alto */
.home-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.home-swiper .swiper-slide > article {
    width: 100%;
    height: 100%;
}

/* Flechas de navegación con color de marca (visibles en tablet/desktop) */
.home-swiper .swiper-button-next,
.home-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3e71b7;
    color: #fff;
    box-shadow: 0 4px 12px rgba(62, 113, 183, 0.35);
    transition: background .2s ease, transform .2s ease;
    margin-top: -28px; /* compensa el espacio inferior de paginación */
}

.home-swiper .swiper-button-next:hover,
.home-swiper .swiper-button-prev:hover {
    background: #2d5896;
    transform: scale(1.06);
}

.home-swiper .swiper-button-next::after,
.home-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.home-swiper .swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* En mobile no se muestran flechas: se navega con swipe */
@media (max-width: 767.98px) {
    .home-swiper .swiper-button-next,
    .home-swiper .swiper-button-prev {
        display: none;
    }
}

/* Paginación */
.home-swiper .swiper-pagination {
    bottom: 12px;
}

.home-swiper .swiper-pagination-bullet {
    background: #b9c6dd;
    opacity: 1;
}

.home-swiper .swiper-pagination-bullet-active {
    background: #3e71b7;
}

/* Respeto a usuarios con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .home-swiper .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

