:root {
    --primary-color: #0BB9D9;
    --primary-dark: #0a9cba;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --accent: #2980b9;
    --box-shadow: 0 10px 30px rgba(11, 185, 217, 0.15);
    --shadow-sm: 0 2px 8px rgba(11, 185, 217, 0.1);
    --shadow-md: 0 4px 12px rgba(11, 185, 217, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Mejorado */
.services-header {
    background: linear-gradient(135deg, var(--primary-color), #0a9cba);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

.services-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

/* Sección de Servicios - Versión Cuadrada */
.service-section {
    margin: 4rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid rgba(11, 185, 217, 0.1);
    overflow: hidden;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.service-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(11, 185, 217, 0.1), transparent);
}

.text-section {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding: 0.7rem 0 0.7rem 2rem;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(11, 185, 217, 0.08);
    transition: var(--transition);
}

.features-list li:hover {
    background: rgba(11, 185, 217, 0.03);
    padding-left: 2.2rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.7rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

/* Sección de Equipo */
.team-section {
    background: linear-gradient(135deg, #f8fdff, #e8f7fa);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(11, 185, 217, 0.1);
}

.team-content {
    text-align: center;
}

.team-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.team-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.team-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.team-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.team-feature {
    background: var(--white);
    padding: 1rem 1.8rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid rgba(11, 185, 217, 0.1);
}

.team-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.team-feature::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

/* Animaciones */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .services-header {
        padding: 4rem 0;
    }

    .services-header h1 {
        font-size: 2.5rem;
    }

    .services-header p {
        font-size: 1.1rem;
    }

    .service-section {
        margin: 2.5rem 0;
    }

    .service-image {
        height: 300px;
    }

    .text-section {
        padding: 2rem 1.5rem;
    }

    .service-title {
        font-size: 1.6rem;
    }

    .team-section {
        padding: 3rem 0;
    }

    .team-content h2 {
        font-size: 2rem;
    }

    .team-features {
        gap: 0.8rem;
    }

    .team-feature {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .service-title {
        font-size: 1.4rem;
    }

    .features-list li {
        font-size: 0.95rem;
        padding-left: 1.8rem;
    }

    .team-content h2 {
        font-size: 1.8rem;
    }

    .team-content p {
        font-size: 1rem;
    }
}