/* ================================================
   SERVICIO DIFERENCIAL - ESTILOS PERSONALIZADOS
   ================================================ */

/* Sección de título principal */
.tourb2-ab-p-2 .spe-title h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Tarjetas de horarios */
.tourb2-ab-p3-1 {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.tourb2-ab-p3-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.tourb2-ab-p3-1 span {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    font-size: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tourb2-ab-p3-1:hover span {
    transform: rotate(360deg) scale(1.1);
}

.tourb2-ab-p3-1 h4 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 15px 0;
}

.tourb2-ab-p3-1 p {
    font-size: 16px;
    color: #666;
    margin: 10px 0 0;
}

.tourb2-ab-p3-1 p i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Sección de domingo con fondo diferente */
.tourb2-ab-p-3[style*="background: #f8f9fa"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Títulos de sección */
.tourb2-ab-p-3 .spe-title h3,
.tourb2-ab-p-4 .spe-title h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.tourb2-ab-p-3 .spe-title h3 i,
.tourb2-ab-p-4 .spe-title h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Tarjetas de unidades */
.tourb2-ab-p4-1 {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tourb2-ab-p4-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.tourb2-ab-p4-1 i.fa-bus {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tourb2-ab-p4-1:hover i.fa-bus {
    transform: scale(1.2);
    color: var(--secondary-color) !important;
}

.tourb2-ab-p4-text h4 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}

.tourb2-ab-p4-text p {
    font-size: 15px;
    color: #666;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .tourb2-ab-p3-1 h4 {
        font-size: 24px;
    }
    
    .tourb2-ab-p3-1 span {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }
    
    .tourb2-ab-p-3 .spe-title h3,
    .tourb2-ab-p-4 .spe-title h3 {
        font-size: 26px;
    }
    
    .tourb2-ab-p4-1 i.fa-bus {
        font-size: 40px !important;
    }
}

/* Animaciones adicionales */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.tourb2-ab-p3-1:hover,
.tourb2-ab-p4-1:hover {
    animation: pulse 2s infinite;
}

/* Efectos de glassmorphism en las tarjetas */
.tourb2-ab-p3-1::before,
.tourb2-ab-p4-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tourb2-ab-p3-1:hover::before,
.tourb2-ab-p4-1:hover::before {
    opacity: 1;
}

/* Posicionamiento relativo para los efectos */
.tourb2-ab-p3-1,
.tourb2-ab-p4-1 {
    position: relative;
    overflow: hidden;
}
