/* Carrusel Hero */
.hero-swiper {
    width: 100%;
    height: 60vh;
    position: relative;
}

/* Slides */
.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro sobre la imagen */
.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Contenido del slide */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #E2E8F0;
}

/* Botones del slide */
.slide-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: white;
    color: #0EA5E9;
}

.btn-secondary {
    background: #0EA5E9;
    color: white;
    padding: 12px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid #0EA5E9;
}

.btn-secondary:hover {
    background: #0284C7;
    border-color: #0284C7;
}

/* Flechas de navegación */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* Paginación (dots) */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;
    width: 30px;
    border-radius: 6px;
}


/*

======== PROVIDERS ========

*/


.providers-section {
    padding: 80px 0;
    background: #ffffff; /* Fondo blanco limpio */
}

.providers-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.providers-section .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #475569;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.providers-swiper {
    width: 100%;
    padding: 20px 0 60px;
    position: relative;
    height: auto;
}

.providers-swiper .swiper-wrapper {
    align-items: center;
}


.provider-card {
    background: white;
    border-radius: 16px;
    padding: 20px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    height: auto;
    min-height: 120px;
    max-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: visible;
    cursor: pointer;
    border: solid 0.5px #d9dde2;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.provider-card .provider-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    background: transparent;
}

.provider-card:hover .provider-logo {
    transform: scale(1.05);
}

.provider-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.3;
    overflow: hidden;
}

.provider-card:hover .provider-name {
    color: #0EA5E9;
}

/* Paginación para proveedores */
.providers-swiper .swiper-pagination {
    bottom: 20px !important;
}

.providers-swiper .swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
}

.providers-swiper .swiper-pagination-bullet-active {
    background: #0EA5E9;
    width: 24px;
    border-radius: 6px;
}

@media (max-width: 1149px) {
    .provider-card h3 {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero-swiper {
        height: 50vh;
    }

    .slide-content {
        left: 5%;
        max-width: 90%;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slide-buttons {
        flex-direction: column;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

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