/* assets/css/servicios.css */
/* Estilos específicos para la página de servicios - HERO IGUAL A CONTRATOS.CSS */

/* ===== HEADER DELGADO COMO CONTRATOS.CSS ===== */
.page-header {
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.05) 0%, rgba(87, 87, 86, 0.03) 100%);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(160, 0, 34, 0.1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.03) 0%, transparent 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.page-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(160, 0, 34, 0.2);
    border: none;
}

.page-title {
    font-size: 2.2rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.page-title span {
    color: var(--color-primary);
    position: relative;
}

.page-title span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), transparent);
    border-radius: 1.5px;
}

.page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-medium);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
}

/* ===== BOTONES MÁS PEQUEÑOS EN HEADER ===== */
.page-header .btn-telnetworks,
.page-header .btn-telnetworks-outline {
    padding: 10px 24px;
    font-size: 1rem;
}

/* ===== SECCIONES DE SERVICIOS (MANTENER LO EXISTENTE PERO AJUSTADO) ===== */
.service-section {
    padding: 4rem 0;
    position: relative;
}

.service-section:nth-child(even) {
    background-color: var(--gray-bg);
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(87, 87, 86, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    transition: width 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(160, 0, 34, 0.15);
}

.service-card:hover::before {
    width: 6px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(160, 0, 34, 0.2);
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--gray-lighter);
    padding-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: var(--gray-medium);
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1rem;
}

/* ===== CATEGORY TITLE EN PÁGINA DE SERVICIOS ===== */
.category-title-alt {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

.category-title-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* ===== CTA SECTION ESPECÍFICO PARA SERVICIOS ===== */
.cta-servicios {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-accent) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* ===== RESPONSIVE PARA SERVICIOS ===== */
@media (max-width: 1200px) {
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-header::before {
        width: 40%;
        opacity: 0.2;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .page-badge {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .service-section {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .category-title-alt::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-servicios {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 3.5rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .service-section {
        padding: 2.5rem 0;
    }
    
    .service-card {
        padding: 1.8rem;
    }
}

/* ===== FRANJA ROJA EN PARTE SUPERIOR DE service-section (IGUAL QUE software-section) ===== */
.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}