/* Estilos específicos para index.html */

/* Hero Section */
.hero {
    /* background-color: #f4f4f4; */
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

/* [data-theme="dark"] .hero {
    background-color: var(--bg-tertiary);
} */

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Carrusel */
.carousel-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

[data-theme="dark"] .carousel-container {
    box-shadow: 0 15px 30px var(--shadow-color);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.4;
}

[data-theme="dark"] .hero-text h2,[data-theme="dark"] .hero-text h1 {
    color: var(--text-primary);
}
/* [data-theme="dark"] .hero-text h1 {
    color: var(--text-primary);
} */

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #555;
    max-width: 90%;
}

[data-theme="dark"] .hero-text p {
    color: var(--text-secondary);
}

/* Services Highlight */
.services-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 70px;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .service-item {
    background: var(--card-bg);
}

.service-item:hover {
    height: 140px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-item:hover {
    box-shadow: 0 10px 25px var(--shadow-color);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary);
    transition: var(--transition);
}

.service-item:hover::before {
    width: 8px;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1.2rem;
    min-width: 50px;
    text-align: center;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    text-align: left;
}

[data-theme="dark"] .service-title {
    color: var(--text-primary);
}

.service-desc {
    display: none;
    font-size: 0.95rem;
    color: #666;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    line-height: 1.4;
    text-align: left;
}

[data-theme="dark"] .service-desc {
    color: var(--text-secondary);
}

.service-item:hover .service-title {
    height: auto;
    margin-bottom: 0.8rem;
}

.service-item:hover .service-desc {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/**/
.image-ratio {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.image-ratio img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/**/

/* Tabs */
.tabs-container {
    margin-top: 2rem;
}

.tabs-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-link {
    background: transparent;
    border: none;
    border-bottom: 3px solid #e0e0e0;
    border-radius: 0;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

[data-theme="dark"] .tab-link {
    border-bottom-color: var(--border-color);
}

.tab-link:hover {
    border-bottom-color: var(--accent);
    background-color: rgba(33, 158, 188, 0.05);
}

[data-theme="dark"] .tab-link:hover {
    background-color: rgba(33, 158, 188, 0.1);
}

.tab-link.active {
    border-bottom-color: var(--secondary);
    background-color: rgba(251, 133, 0, 0.05);
}

[data-theme="dark"] .tab-link.active {
    background-color: rgba(251, 133, 0, 0.1);
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    transform: translateY(0);
}

[data-theme="dark"] .stat-item {
    background-color: var(--bg-tertiary);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    border: 2px solid var(--accent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    color: var(--highlight);
    transform: scale(1.1);
}

.stat-text {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.stat-item:hover .stat-text {
    color: var(--accent);
}

/* Responsive Index */
@media (max-width: 992px) {
    .hero {
        padding-top: 85px;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .service-title {
        justify-content: center;
        text-align: center;
    }
    
    .service-desc {
        text-align: center;
    }

    .carousel-container {
        width: 110%;
    }

    .carousel-nav, .carousel-dots {
        display: none;
    }

    .carousel {
        height: 350px;
    }

    .tabs-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .service-item {
        height: 65px;
    }
    
    .service-item:hover {
        height: 130px;
    }

    .carousel {
        height: 300px;
    }

    .tabs-menu {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/*documnentcion */
/* Sección de Procesos Documentados */


.processes-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.processes-badge {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(2, 48, 71, 0.15);
}

.processes-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

[data-theme="dark"] .processes-title {
    color: var(--text-primary);
}

.processes-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

[data-theme="dark"] .processes-description {
    color: var(--text-secondary);
}

.processes-description strong {
    color: var(--secondary);
    font-weight: 600;
}

.processes-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.process-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    min-width: 150px;
}

[data-theme="dark"] .process-feature {
    background: var(--card-bg);
}

.process-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .process-feature:hover {
    box-shadow: 0 10px 25px var(--shadow-color);
}

.process-feature i {
    font-size: 2rem;
    color: var(--accent);
}

.process-feature span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.3;
}

[data-theme="dark"] .process-feature span {
    color: var(--text-primary);
}

/* Botón outline */
.button-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.button-outline:hover {
    background: var(--secondary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .processes-title {
        font-size: 1.5rem;
    }
    
    .processes-description {
        font-size: 1rem;
    }
    
    .processes-features {
        gap: 1rem;
    }
    
    .process-feature {
        min-width: 120px;
        padding: 1rem;
    }
    
    .process-feature i {
        font-size: 1.5rem;
    }
    
    .process-feature span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .processes-features {
        flex-direction: column;
        align-items: center;
    }
    
    .process-feature {
        width: 200px;
    }
}
/*fin documnentcion */

/*Botones quejas*/
.processes-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 480px) {
    .processes-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .processes-actions .button {
        min-width: 200px;
    }
}
/*Fin botones quejas*/