/* 
 * Estilos específicos para la página de Inteligencia de Negocio y Automatización
 * AgencyaTech - 2024
 */

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, var(--color-blue) 0%, #001a5c 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="chart-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><rect x="10" y="30" width="5" height="15" fill="rgba(255,255,255,0.03)"/><rect x="20" y="20" width="5" height="25" fill="rgba(255,255,255,0.03)"/><rect x="30" y="25" width="5" height="20" fill="rgba(255,255,255,0.03)"/><circle cx="25" cy="10" r="2" fill="rgba(236,97,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23chart-pattern)"/></svg>');
    pointer-events: none;
}

.service-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.5);
}

/* Hero Title and Subtitle */
.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero .subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
}

/* Statistics Section con temática de datos */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-orange);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafb 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-blue) 100%);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid - Usando exactamente el mismo estilo del index */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    opacity: 1;
    transform: translateX(0);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 30px;
    color: var(--color-white);
}

.service-card:hover .service-icon {
    background-color: rgba(0, 59, 149, 0.8);
}

.service-title {
    font-size: 1.5em;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.service-description {
    color: var(--color-gray-medium);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--color-blue);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-top: auto;
}

.service-btn:hover {
    background-color: rgba(0, 59, 149, 0.8);
    transform: scale(1.05);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-card {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.process-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon i {
    font-size: 1.8rem;
    color: white;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 15px;
}

.process-description {
    color: var(--color-gray-medium);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, #e8f4f8 100%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,59,149,0.1);
    border: 1px solid rgba(0,59,149,0.1);
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(236,97,0,0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(236,97,0,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
        width: 100%;
        margin: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-container {
        margin: 0 15px;
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        gap: 15px;
        padding: 15px 0;
    }
    
    .service-card {
        padding: 18px 12px;
    }
} 