/* ============================================
   INTERNALIA.AI — Visual Enhancements
   Solo mejoras aditivas, no sobreescribe nada
   ============================================ */

/* --- 1. CARDS: Hover elevado con sombra progresiva --- */
.te-info-card.style-2 {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-info-card.style-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(35, 100, 119, 0.15),
                0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Zoom suave en imagen de tarjeta */
.te-info-card.style-2 .image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-info-card.style-2:hover .image img {
    transform: scale(1.06);
}

/* --- 2. BOTONES CTA: Gradiente teal→lima --- */
.te-theme-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.te-theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 211, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.te-theme-btn:hover::before {
    left: 100%;
}

.te-theme-btn:hover {
    box-shadow: 0 4px 20px rgba(35, 100, 119, 0.3);
    transform: translateY(-2px);
}

/* --- 3. SECCIONES SERVICE-DETAILS: Separador visual entre secciones --- */
.service-details + .service-details {
    border-top: 1px solid rgba(35, 100, 119, 0.1);
    padding-top: 60px;
}

/* --- 4. ICONOS de sección: Badge con fondo degradado --- */
.service-details .te-title-wrapper .title-inner .icon {
    background: linear-gradient(135deg, #236477 0%, #1a4d5c 100%);
    color: #C7D300;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(35, 100, 119, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-details .te-title-wrapper .title-inner .icon:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 25px rgba(35, 100, 119, 0.35);
}

/* --- 5. IMÁGENES en service-details: hover suave --- */
.service-details .row img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-details .row img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

/* --- 6. LISTA de features: Iconos check con color --- */
.service-details-overview .list-wrapper ul li::before {
    color: #236477;
}

/* --- 7. FADE-IN al scroll (usando WOW.js + animate.css ya incluidos) --- */
/* Clases auxiliares para stagger */
.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.2s; }
.fade-delay-3 { animation-delay: 0.3s; }
.fade-delay-4 { animation-delay: 0.4s; }

/* --- 8. TARJETAS HOME: Borde inferior con accent al hover --- */
.te-info-card.style-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #236477, #C7D300);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.te-info-card.style-2:hover::after {
    width: 60%;
}

/* --- 9. TÍTULO de tarjeta: transición de color al hover --- */
.te-info-card.style-2 .te-title-wrapper .title a {
    transition: color 0.3s ease;
}

.te-info-card.style-2:hover .te-title-wrapper .title a {
    color: #236477;
}

/* --- 10. SERVICE-DETAILS PAGE: Fondo sutil alterno --- */
.service-details:nth-child(even) {
    background: linear-gradient(135deg, rgba(35, 100, 119, 0.02) 0%, rgba(199, 211, 0, 0.02) 100%);
    border-radius: 20px;
    padding: 40px;
    margin-left: -40px;
    margin-right: -40px;
}

/* --- 11. OL numerada con estilo --- */
.service-details-overview .content ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.service-details-overview .content ol li {
    counter-increment: item;
    padding-left: 32px;
    position: relative;
    margin-bottom: 8px;
}

.service-details-overview .content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #236477, #1a4d5c);
    color: #C7D300;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Responsive: desactivar hover en móvil --- */
@media (max-width: 768px) {
    .te-info-card.style-2:hover {
        transform: none;
    }
    
    .service-details:nth-child(even) {
        margin-left: -15px;
        margin-right: -15px;
        padding: 20px;
    }
}
