 /* Enhanced Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Navigation */
.services-navigation {
    position: relative;
    background: white;
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.services-tabs-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.tab-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.tab-nav-btn.active::before {
    transform: translateY(0);
}

.tab-nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tab-nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
}

.nav-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.tab-nav-btn:hover .nav-icon {
    transform: scale(1.1) rotate(5deg);
}

.tab-nav-btn span {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

/* Service Content */
.services-content-wrapper {
    position: relative;
}

.service-tab-content {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.service-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Hero */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.service-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

.service-intro h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-intro h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 100px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 600;
}

/* Service Details Grid */
.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.details-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.details-card:hover {
    transform: translateY(-10px);
}

.details-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.card-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.card-header h4 {
    margin: 0;
    color: var(--secondary-color);
}

/* Features List */
.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.features-list li:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.features-list li:hover i {
    color: white;
}

.features-list li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.features-list li strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.features-list li p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.product-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.product-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.product-item:hover .product-icon {
    background: white;
    color: var(--primary-color);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.product-item h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.product-item p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.benefit {
    text-align: center;
    padding: 20px;
}

.benefit i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.benefit h5 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Technologies Grid */
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.tech-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.tech-item h5 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.tech-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Call to Action */
.service-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--light-color);
}

/* Animations */
.animated-clock {
    animation: clockAnimation 2s infinite;
}

@keyframes clockAnimation {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

.animated-bolt {
    animation: boltAnimation 1.5s infinite;
}

@keyframes boltAnimation {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
/* Estilos para las nuevas secciones */

/* Hero - Divisiones Showcase */
.divisions-showcase {
    background: white;
    padding: 40px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.division-card {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.division-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
    color: white;
}

.division-icon.energy {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.division-icon.health {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
}

.division-icon.automation {
    background: linear-gradient(135deg, #20BF55 0%, #01BAEF 100%);
}

.division-icon.mechanics {
    background: linear-gradient(135deg, #7B68EE 0%, #6A5ACD 100%);
}

.division-icon.technology {
    background: linear-gradient(135deg, #FF9A00 0%, #FF5E00 100%);
}

.division-card h4 {
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.division-card p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

/* About Section */
.about-section {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-item p {
    color: var(--gray-color);
}

.about-mission-vision {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mission-vision-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mission-vision-card.mission {
    border-top: 5px solid var(--primary-color);
}

.mission-vision-card.vision {
    border-top: 5px solid var(--accent-color);
}

.mission-vision-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.mission-vision-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.equipment-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.equipment-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.equipment-item:hover i {
    color: white;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.brand-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.brand-logo {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.brand-item:hover .brand-logo {
    background: white;
    color: var(--primary-color);
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.solution-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.solution-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.solution-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.solution-item:hover i {
    color: white;
}

.solution-item h5 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.solution-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.certification {
    text-align: center;
    padding: 20px;
}

.certification i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.certification h5 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.certification p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}/* Provisión y Venta de Equipos */
.provision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.provision-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

/* Estadísticas */
.provision-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-content p {
    color: var(--gray-color);
    font-weight: 600;
    margin: 0;
}

/* Navegación por categorías */
.categories-navigation {
    margin: 50px 0 30px;
}

.categories-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 5px;
    scrollbar-width: none;
}

.categories-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-tab:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 95, 180, 0.3);
}

.category-tab i {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.category-tab span {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Carrusel de marcas */
.brands-section {
    margin: 50px 0;
    position: relative;
    padding: 30px 0;
}

.brands-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.brands-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brands-track {
    display: flex;
    gap: 20px;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brands-carousel:hover .brands-track {
    animation-play-state: paused;
}

.brand-item {
    background: white;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.brand-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 10px;
}

.brand-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.2;
}

.brand-category {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-weight: 600;
    text-align: center;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Contenido por categoría */
.categories-content {
    margin: 50px 0;
}

.category-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.category-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-header h3 i {
    color: var(--primary-color);
}

.category-header p {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.spec i {
    font-size: 0.9rem;
}

.product-features {
    list-style: none;
    margin-top: auto;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.product-features span {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Servicios adicionales */
.additional-services {
    margin: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.service-item h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-item p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.95rem;
}

/* CTA */
.provision-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.provision-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: var(--light-color);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 35px;
    font-weight: 600;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .provision-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-tabs {
        justify-content: flex-start;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .category-tab {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .category-tab i {
        font-size: 1.5rem;
    }
    
    .brand-item {
        min-width: 160px;
    }
    
    .provision-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .provision-stats {
        grid-template-columns: 1fr;
    }
    
    .categories-tabs {
        gap: 5px;
    }
    
    .category-tab {
        min-width: 90px;
        padding: 12px 8px;
    }
    
    .category-tab span {
        font-size: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls {
        display: none;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .equipment-grid,
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid,
    .brands-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    
    .about-item {
        flex-direction: column;
        text-align: center;
    }
    
    .about-icon {
        margin: 0 auto;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-image {
        height: 300px;
    }
    
    .services-tabs-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .services-navigation {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
        margin: 0;
        padding: 0;
        border-radius: 50px;
        background: var(--floating-nav-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: var(--floating-nav-shadow);
        z-index: 1000;
        opacity: 1;
        visibility: visible;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        height: var(--floating-nav-height);
        overflow: hidden;
    }
    
    /* Cuando la navegación está expandida */
    .services-navigation.expanded {
        height: auto;
        max-height: 400px;
        border-radius: 20px;
        padding: 10px;
    }
    
    /* Cuando está oculta temporalmente */
    .services-navigation.hidden {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
        visibility: hidden;
    }
    
    /* Cuando está fija en el header */
    .services-navigation.fixed-top {
        top: 0;
        bottom: auto;
        width: 100%;
        max-width: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        height: var(--nav-height-mobile);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background: white;
    }
    
    /* Contenedor de tabs */
    .services-tabs-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 100%;
        padding: 0 15px;
        gap: 0;
        transition: all 0.3s ease;
        overflow: hidden;
    }
    
    .services-navigation.expanded .services-tabs-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 8px;
    }
    
    .services-navigation.fixed-top .services-tabs-nav {
        flex-direction: row;
        justify-content: space-around;
        padding: 0 10px;
    }
    
    /* Botones en modo flotante */
    .tab-nav-btn {
        flex: 1;
        min-width: 0;
        padding: 12px 8px;
        border: none;
        border-radius: 25px;
        background: transparent;
        margin: 0 2px;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 50px;
    }
    
    .services-navigation.expanded .tab-nav-btn {
        flex: none;
        height: 45px;
        margin: 0;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.8);
    }
    
    .services-navigation.fixed-top .tab-nav-btn {
        flex: 1;
        height: 40px;
        padding: 8px 5px;
    }
    
    /* En modo fijo-top, ocultar texto y solo mostrar iconos */
    .services-navigation.fixed-top .tab-nav-btn span {
        display: none;
    }
    
    .services-navigation.fixed-top .nav-icon {
        margin: 0;
        font-size: 1.2rem;
    }
    
    /* Iconos en modo flotante */
    .nav-icon {
        font-size: 1.3rem;
        margin-bottom: 4px;
        transition: all 0.3s ease;
    }
    
    .services-navigation.expanded .nav-icon {
        margin-bottom: 6px;
        font-size: 1.4rem;
    }
    
    /* Texto en modo flotante */
    .tab-nav-btn span {
        font-size: 0.7rem;
        font-weight: 500;
        text-align: center;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }
    
    .services-navigation.expanded .tab-nav-btn span {
        font-size: 0.8rem;
        max-width: 100%;
    }
    
    /* Botón para expandir */
    .nav-expand-btn {
        display: none;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1001;
    }
    
    .services-navigation .nav-expand-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .services-navigation.expanded .nav-expand-btn {
        transform: translateY(-50%) rotate(180deg);
        background: var(--primary-dark);
    }
    
    /* Indicador de scroll para móvil */
    .mobile-scroll-indicator {
        display: none;
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 3px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
        overflow: hidden;
    }
    
    .services-navigation.expanded .mobile-scroll-indicator {
        display: block;
    }
    
    .scroll-track {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .scroll-thumb {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 33.33%;
        background: var(--primary-color);
        border-radius: 2px;
        transition: transform 0.1s ease;
    }
}

/* Para móviles más pequeños */
@media (max-width: 576px) {
    .services-navigation {
        width: 95%;
        bottom: 10px;
        height: 60px;
    }
    
    .tab-nav-btn {
        padding: 10px 5px;
        height: 45px;
    }
    
    .nav-icon {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .tab-nav-btn span {
        font-size: 0.65rem;
        max-width: 70px;
    }
    
    .services-navigation.fixed-top {
        height: 55px;
    }
    
    .services-navigation.fixed-top .nav-icon {
        font-size: 1.1rem;
    }
}

/* Para tablets en orientación horizontal */
@media (min-width: 768px) and (max-width: 992px) and (orientation: landscape) {
    .services-navigation {
        width: 80%;
        max-width: 600px;
    }
    
    .tab-nav-btn {
        padding: 12px 10px;
    }
    
    .tab-nav-btn span {
        font-size: 0.75rem;
    }
}

/* Animaciones */
@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.services-navigation.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-navigation.slide-down {
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ============================================
   NAVEGACIÓN FLOTANTE PARA TABLET Y MÓVIL
   ============================================ */

/* Solo se aplica en tablet y móvil */
@media (max-width: 992px) {
    /* Convertir la navegación en flotante */
    .services-navigation {
        width: 92% !important;
        bottom: 15px !important;
        height: 60px !important;
    }
    
    
    /* Cuando está expandida */
    .services-navigation.expanded {
        height: auto !important;
        max-height: 350px !important;
        border-radius: 20px !important;
        padding: 15px !important;
    }
    
    /* Cuando está oculta */
    .services-navigation.hidden {
        transform: translateX(-50%) translateY(100px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Cuando se fija en el top al hacer scroll */
    .services-navigation.fixed-top {
        position: fixed !important;
        top: 70px !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        background: white !important;
        height: 55px !important;
        animation: slideDownFloating 0.3s ease !important;
    }
    
    /* Contenedor de tabs flotante */
    .services-tabs-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        height: 100% !important;
        padding: 0 15px !important;
        gap: 0 !important;
        transition: all 0.3s ease !important;
        overflow: hidden !important;
    }
    
    /* Cuando está expandida */
    .services-navigation.expanded .services-tabs-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px !important;
        gap: 10px !important;
    }
    
    /* Cuando está fija en top */
    .services-navigation.fixed-top .services-tabs-nav {
        flex-direction: row !important;
        justify-content: space-around !important;
        padding: 0 10px !important;
    }
    
    /* Botones en modo flotante */
    .tab-nav-btn {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 12px 8px !important;
        border: none !important;
        border-radius: 25px !important;
        background: transparent !important;
        margin: 0 2px !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 50px !important;
        cursor: pointer !important;
    }
    
    /* Cuando está expandida */
    .services-navigation.expanded .tab-nav-btn {
        flex: none !important;
        height: 45px !important;
        margin: 0 !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        background: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Cuando está fija en top */
    .services-navigation.fixed-top .tab-nav-btn {
        flex: 1 !important;
        height: 40px !important;
        padding: 8px 5px !important;
    }
    
    /* En modo fijo-top, solo íconos */
    .services-navigation.fixed-top .tab-nav-btn span {
        display: none !important;
    }
    
    .services-navigation.fixed-top .nav-icon {
        margin: 0 !important;
        font-size: 1.3rem !important;
    }
    
    /* Iconos en modo flotante */
    .nav-icon {
        font-size: 1.4rem !important;
        margin-bottom: 4px !important;
        color: #080d3a !important;
        transition: all 0.3s ease !important;
    }
    
    .services-navigation.expanded .nav-icon {
        margin-bottom: 6px !important;
        font-size: 1.5rem !important;
    }
    
    /* Texto en modo flotante */
    .tab-nav-btn span {
        font-size: 0.7rem !important;
        font-weight: 500 !important;
        text-align: center !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 80px !important;
        color: #333 !important;
    }
    
    .services-navigation.expanded .tab-nav-btn span {
        font-size: 0.85rem !important;
        max-width: 100% !important;
        font-weight: 600 !important;
    }
    
    /* Botón para expandir */
    .nav-expand-btn {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #070c49, #3936fdc5) !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        z-index: 10001 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
    }
    
    .services-navigation.expanded .nav-expand-btn {
        transform: translateY(-50%) rotate(180deg) !important;
        background: linear-gradient(135deg, #4b1cb9, #9326dc) !important;
    }
    
    .services-navigation.fixed-top .nav-expand-btn {
        display: none !important;
    }
    
    /* Indicador de scroll para móvil */
    .mobile-scroll-indicator {
        position: absolute !important;
        bottom: 5px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80% !important;
        height: 3px !important;
        background: rgba(0, 0, 0, 0.1) !important;
        border-radius: 2px !important;
        overflow: hidden !important;
        display: none !important;
    }
    
    .services-navigation.expanded .mobile-scroll-indicator {
        display: block !important;
    }
    
    .scroll-track {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }
    
    .scroll-thumb {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        height: 100% !important;
        width: 33.33% !important;
        background: linear-gradient(to right, #dc2626, #ef4444) !important;
        border-radius: 2px !important;
        transition: transform 0.1s ease !important;
    }
}

/* ============================================
   RESPONSIVE ADICIONAL
   ============================================ */

/* Móviles pequeños */
@media (max-width: 576px) {
    .services-navigation {
        width: 92% !important;
        bottom: 15px !important;
        height: 60px !important;
    }
    
    .services-navigation.fixed-top {
        top: 70px !important;
        height: 55px !important;
    }
    
    .tab-nav-btn {
        padding: 10px 6px !important;
        height: 45px !important;
    }
    
    .nav-icon {
        font-size: 1.3rem !important;
        margin-bottom: 3px !important;
    }
    
    .tab-nav-btn span {
        font-size: 0.65rem !important;
        max-width: 70px !important;
    }
    
    .services-navigation.fixed-top {
        top: 60px !important;
        height: 50px !important;
    }
    
    .services-navigation.fixed-top .nav-icon {
        font-size: 1.2rem !important;
    }
    
    .nav-expand-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
}

/* Tablets en horizontal */
@media (min-width: 768px) and (max-width: 992px) and (orientation: landscape) {
    .services-navigation {
        width: 85% !important;
        max-width: 600px !important;
        bottom: 25px !important;
    }
    
    .tab-nav-btn {
        padding: 12px 10px !important;
    }
    
    .tab-nav-btn span {
        font-size: 0.75rem !important;
        max-width: 100px !important;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes slideDownFloating {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpFloating {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.services-navigation.slide-up {
    animation: slideUpFloating 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.services-navigation.slide-down {
    animation: slideDownFloating 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ============================================
   COMPORTAMIENTO HOVER Y ACTIVE
   ============================================ */

@media (max-width: 992px) {
    .tab-nav-btn:hover {
        background: rgba(220, 38, 38, 0.05) !important;
        transform: translateY(-2px) !important;
    }
    
    .tab-nav-btn.active {
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.1)) !important;
        border-color: rgba(220, 38, 38, 0.3) !important;
        color: #dc2626 !important;
    }
    
    .tab-nav-btn.active .nav-icon {
        color: #dc2626 !important;
        transform: scale(1.1) !important;
    }
    
    .nav-expand-btn:hover {
        transform: translateY(-50%) scale(1.1) !important;
        box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4) !important;
    }
}