/* ================================================
   MAIN.CSS - Estilos específicos para main.html
   Página principal de SIAM
   ================================================ */

/* ===== REGLA PARA OCULTAR IMAGEN CUANDO MENÚ MÓVIL ESTÁ ACTIVO ===== */
body:has(.mobile-menu.active) .objetivo-image {
    display: none !important;
}

/* Fallback para navegadores que no soportan :has() */
.mobile-menu.active ~ main .objetivo-image,
.mobile-menu-open .objetivo-image {
    display: none !important;
}

/* ===== SECCIÓN RESULTADOS ===== */
#resultados {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BD5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: white;
    position: relative;
}

.resultados-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#resultados h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

#resultados.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

#resultados p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: white;
    max-width: 900px;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

#resultados.animate p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.stat-card {
    background: transparent;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Animación contador */
.stat-card.animate .stat-number:not(.repse .stat-number) {
    counter-reset: number 0;
    animation: count 2s ease-out forwards;
}

.stat-card.repse.animate .stat-number {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideUpRepse 0.8s ease-out forwards;
    animation-delay: 0s;
}

@keyframes count {
    from { counter-increment: number 0; }
    to { counter-increment: number var(--target); }
}

@keyframes slideUpRepse {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-card.repse .stat-number {
    font-size: 1.8rem;
    color: white;
}

.stat-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: white;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
}

/* ===== SECCIÓN OBJETIVOS ===== */
#objetivo {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

/* Animaciones Objetivos */
.objetivo-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.objetivo-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

#objetivo.animate .objetivo-content {
    opacity: 1;
    transform: translateX(0);
}

#objetivo.animate .objetivo-image {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.objetivo-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.objetivo-content {
    flex: 1;
    max-width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.objetivo-image {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.objetivo-image img {
    width: 100%;
    max-width: 450px;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Estilos del contenido */
#objetivo h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

#objetivo > p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

#objetivo ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#objetivo ul li {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

#objetivo ul li i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    margin-right: 1rem;
}

.objetivo-item-content {
    flex: 1;
}

#objetivo ul li h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

#objetivo ul li p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets grandes */
@media (max-width: 1200px) {
    .objetivo-container {
        max-width: 1100px;
        gap: 3rem;
    }
    
    .objetivo-content {
        max-width: 55%;
        padding: 1.5rem;
    }
    
    .objetivo-image {
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .objetivo-image img {
        max-width: 380px;
        height: 450px;
    }
    
    #objetivo h2 {
        font-size: 2.4rem;
    }
    
    #objetivo > p {
        font-size: 1.3rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    #objetivo {
        padding: 3rem 1.5rem;
    }
    
    .objetivo-container {
        gap: 2.5rem;
        max-width: 900px;
    }
    
    .objetivo-content {
        max-width: 80%;
        padding: 1rem;
    }
    
    .objetivo-image {
        display: none;
    }
    
    .objetivo-image img {
        max-width: 320px;
        height: 400px;
    }
    
    #objetivo h2 {
        font-size: 2.2rem;
    }
    
    #objetivo > p {
        font-size: 1.2rem;
    }
}

/* Tablets medianos */
@media (max-width: 900px) {
    #objetivo h2 {
        font-size: 2rem;
    }
    
    #objetivo > p {
        font-size: 1.1rem;
        text-align: center;
        justify-content: center;
    }
    
    #objetivo ul li {
        margin-bottom: 0.8rem;
        padding: 1.2rem 0;
    }
    
    .objetivo-image {
        display: none;
    }
    
    .objetivo-content {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Tablets pequeños */
@media (max-width: 768px) {
    #objetivo {
        padding: 4rem 2rem;
        min-height: auto;
    }
    
    .objetivo-container {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        text-align: left;
    }
    
    .objetivo-content {
        max-width: 85%;
        flex: none;
        padding: 2rem;
        margin: 0 auto;
        order: 1;
    }
    
    .objetivo-image {
        display: none;
    }
    
    #objetivo h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .objetivo-content > p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #objetivo ul {
        text-align: left;
    }
    
    #objetivo ul li {
        margin-bottom: 1.5rem;
        padding: 1.5rem 0;
    }
    
    #objetivo ul li h3 {
        font-size: 1.1rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    #objetivo {
        padding: 3rem 1.5rem;
    }
    
    .objetivo-container {
        gap: 0;
    }
    
    .objetivo-content {
        max-width: 90%;
        padding: 2.5rem 1.5rem;
    }
    
    .objetivo-image {
        display: none;
    }
    
    #objetivo h2 {
        font-size: 1.5rem;
    }
    
    .objetivo-content > p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    #objetivo ul {
        margin-top: 2rem;
    }
    
    #objetivo ul li {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
    
    #objetivo ul li h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    #objetivo ul li p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ===== RESPONSIVE PARA SECCIÓN RESULTADOS ===== */

/* Tablets grandes */
@media (max-width: 1200px) {
    #resultados h2 {
        font-size: 2.4rem;
        margin-top: 2.5rem;
    }
    
    #resultados p {
        font-size: 1rem;
    }
    
    .stats-grid {
        gap: 1.5rem;
        max-width: 900px;
    }
    
    .stat-card {
        padding: 2rem 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
        color: white;
    }
    
    .stat-card.repse .stat-number {
        font-size: 1.6rem;
        color: white;
    }
    
    .stat-text {
        color: white;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    #resultados {
        height: 75vh;
        min-height: 550px;
        padding: 2.5rem 1.5rem;
    }
    
    #resultados h2 {
        font-size: 2.2rem;
        margin-top: 2rem;
    }
    
    #resultados p {
        font-size: 1rem;
        max-width: 750px;
    }
    
    .stats-grid {
        gap: 1.2rem;
    }
    
    .stat-card {
        padding: 1.8rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        color: white;
    }
    
    .stat-card.repse .stat-number {
        font-size: 1.4rem;
        color: white;
    }
    
    .stat-text {
        font-size: 0.85rem;
        color: white;
    }
}

/* Tablets medianos */
@media (max-width: 900px) {
    #resultados {
        height: 75vh;
        min-height: 550px;
        padding: 2.5rem 1.5rem;
    }
    
    .resultados-container {
        gap: 0.5rem;
    }
    
    #resultados h2 {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    
    #resultados p {
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }
    
    .stat-number {
        font-size: 1.8rem;
        color: white;
    }
    
    .stat-card.repse .stat-number {
        font-size: 1.4rem;
        color: white;
    }
    
    .stat-text {
        font-size: 0.85rem;
        color: white;
    }
}

/* Tablets pequeños */
@media (max-width: 768px) {
    #resultados {
        height: auto;
        min-height: 600px;
        padding: 3rem 1.5rem;
    }
    
    .resultados-container {
        gap: 2.5rem;
    }
    
    #resultados h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    
    #resultados p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        color: white;
    }
    
    .stat-card.repse .stat-number {
        font-size: 1.3rem;
        color: white;
    }
    
    .stat-text {
        font-size: 0.8rem;
        line-height: 1.4;
        color: white;
    }
}

/* Móviles */
@media (max-width: 480px) {
    #resultados {
        padding: 2.5rem 1rem;
        min-height: 650px;
    }
    
    .resultados-container {
        gap: 0.3rem;
    }
    
    #resultados h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        margin-top: 1.5rem;
    }
    
    #resultados p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        width: 80%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 280px;
    }
    
    .stat-card {
        padding: 1.5rem 1.2rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
        color: white;
    }
    
    .stat-card.repse .stat-number {
        font-size: 1.1rem;
        color: white;
    }
    
    .stat-text {
        font-size: 0.75rem;
        line-height: 1.4;
        color: white;
    }
} 

/* ===== SECCIÓN DIFERENCIADORES ===== */
#diferenciadores {
    width: 100%;
    min-height: 100vh;
    background: white;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferenciadores-container {
    width: 100%;
    max-width: 1400px;
    text-align: center;
}

#diferenciadores h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.3;
    text-align: center;
}

#diferenciadores p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.diferenciadores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.diferenciador-card {
    background: white;
    border-radius: 1rem;
    padding: 1.8rem 1.2rem;
    text-align: center;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
}

#diferenciadores.animate .diferenciador-card {
    animation: diferenciadorFadeIn 0.6s ease-out forwards;
}

#diferenciadores.animate .diferenciador-card:nth-child(1) { animation-delay: 0.1s; }
#diferenciadores.animate .diferenciador-card:nth-child(2) { animation-delay: 0.2s; }
#diferenciadores.animate .diferenciador-card:nth-child(3) { animation-delay: 0.3s; }
#diferenciadores.animate .diferenciador-card:nth-child(4) { animation-delay: 0.4s; }
#diferenciadores.animate .diferenciador-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes diferenciadorFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diferenciador-card:hover {
    transform: translateY(-8px);
    border-color: #4285F4;
    box-shadow: 0 8px 40px rgba(66, 133, 244, 0.15);
}

.diferenciador-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BD5 100%);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.diferenciador-icon i {
    font-size: 1.5rem;
}

.diferenciador-card:hover .diferenciador-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.3);
}

.diferenciador-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.diferenciador-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* ===== RESPONSIVE PARA DIFERENCIADORES ===== */

/* Tablets grandes */
@media (max-width: 1200px) {
    #diferenciadores {
        padding: 4rem 1.5rem;
    }
    
    #diferenciadores h2 {
        font-size: 2.6rem;
    }
    
    #diferenciadores p {
        font-size: 0.8rem;
    }
    
    .diferenciadores-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
    
    .diferenciador-card {
        padding: 1.8rem 1.2rem;
    }
    
    .diferenciador-card h3 {
        font-size: 1rem;
    }
    
    .diferenciador-card p {
        font-size: 0.75rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    #diferenciadores {
        padding: 3.5rem 1.5rem;
        min-height: 90vh;
    }
    
    #diferenciadores h2 {
        font-size: 2.2rem;
    }
    
    #diferenciadores p {
        font-size: 0.8rem;
        margin-bottom: 3rem;
    }
    
    .diferenciadores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    
    .diferenciador-card {
        padding: 1.8rem 1.2rem;
    }
    
    .diferenciador-icon {
        width: 70px;
        height: 70px;
    }
    
    .diferenciador-card h3 {
        font-size: 1.2rem;
    }
    
    .diferenciador-card p {
        font-size: 0.9rem;
    }
}

/* Tablets pequeños */
@media (max-width: 768px) {
    #diferenciadores {
        padding: 3rem 5rem;
        min-height: auto;
    }
    
    #diferenciadores h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    #diferenciadores p {
        font-size: 0.8rem;
        margin-bottom: 2.5rem;
    }
    
    .diferenciadores-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .diferenciador-card {
        padding: 1.5rem 1rem;
    }
    
    .diferenciador-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .diferenciador-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .diferenciador-card p {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* Móviles */
@media (max-width: 480px) {
    #diferenciadores {
        padding: 4rem 3rem;
    }
    
    #diferenciadores h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    #diferenciadores p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .diferenciadores-grid {
        gap: 1.5rem;
    }
    
    .diferenciador-card {
        padding: 1.2rem 0.8rem;
    }
    
    .diferenciador-icon {
        width: 50px;
        height: 50px;
    }
    
    .diferenciador-card h3 {
        font-size: 1rem;
    }
    
    .diferenciador-card p {
        font-size: 0.5rem;
    }
}

/* ===== SECCIÓN TESTIMONIOS ===== */
#testimonios {
    width: 100%;
    min-height: 60vh;
    background: #f8f9fa;
    padding: 3rem 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonios-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    position: relative;
}

#testimonios h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

#testimonios p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

#testimonios.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

#testimonios.animate p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Indicadores arriba */
.testimonios-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

#testimonios.animate .testimonios-indicators {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.testimonios-indicators .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonios-indicators .dot.active {
    background: #4285F4;
    transform: scale(1.2);
    border-color: rgba(66, 133, 244, 0.3);
}

.testimonios-indicators .dot:hover {
    background: #4285F4;
    transform: scale(1.1);
}

/* Carrusel mejorado */
.testimonios-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

#testimonios.animate .testimonios-carousel {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.testimonios-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.testimonio-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.testimonio-card {
    background: white;
    border-radius: 1.5rem;
    padding: 4rem 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.testimonio-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem auto;
    border: 4px solid #4285F4;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}

.testimonio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonio-card blockquote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    font-weight: 400;
}

.testimonio-card blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #4285F4;
    position: absolute;
    top: -20px;
    left: -15px;
    line-height: 1;
    opacity: 0.7;
    font-family: 'Georgia', serif;
}

.testimonio-author h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonio-author p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Controles del carrusel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid #f0f0f0;
}

.carousel-nav:hover {
    background: #4285F4;
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
    border-color: #4285F4;
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav i {
    font-size: 1.3rem;
}

/* ===== RESPONSIVE PARA TESTIMONIOS ===== */

/* Tablets grandes */
@media (max-width: 1200px) {
    #testimonios {
        padding: 4rem 1.5rem 3rem 1.5rem;
    }
    
    #testimonios h2 {
        font-size: 2.6rem;
    }
    
    #testimonios p {
        font-size: 1.1rem;
    }
    
    .testimonio-card {
        padding: 3rem 2.5rem;
        max-width: 600px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
    }
    
    .carousel-nav.prev {
        left: 8px;
    }
    
    .carousel-nav.next {
        right: 8px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    #testimonios {
        padding: 3.5rem 1.5rem 3rem 1.5rem;
        min-height: 80vh;
    }
    
    #testimonios h2 {
        font-size: 2.2rem;
    }
    
    #testimonios p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonios-indicators {
        margin-bottom: 2.5rem;
    }
    
    .testimonio-card {
        padding: 2.5rem 2rem;
        max-width: 550px;
    }
    
    .testimonio-card blockquote {
        font-size: 1rem;
    }
    
    .carousel-nav {
        width: 45px;
        height: 45px;
    }
    
    .carousel-nav.prev {
        left: 5px;
    }
    
    .carousel-nav.next {
        right: 5px;
    }
}

/* Tablets pequeños */
@media (max-width: 768px) {
    #testimonios {
        padding: 3rem 2rem 3rem 2rem;
        min-height: auto;
    }
    
    #testimonios h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    #testimonios p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonios-indicators {
        margin-bottom: 2rem;
        gap: 0.6rem;
    }
    
    .testimonios-indicators .dot {
        width: 12px;
        height: 12px;
    }
    
    .testimonio-card {
        padding: 2.2rem 1.8rem;
        max-width: 100%;
    }
    
    .testimonio-image {
        width: 75px;
        height: 75px;
        margin-bottom: 1.5rem;
    }
    
    .testimonio-card blockquote {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav.prev {
        left: 5px;
    }
    
    .carousel-nav.next {
        right: 5px;
    }
    
    .carousel-nav i {
        font-size: 1.1rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    #testimonios {
        padding: 2.5rem 1rem 2.5rem 1rem;
    }
    
    #testimonios h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    #testimonios p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonios-indicators {
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }
    
    .testimonios-indicators .dot {
        width: 10px;
        height: 10px;
    }
    
    .testimonio-slide {
        padding: 0 0.5rem;
    }
    
    .testimonio-card {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }
    
    .testimonio-image {
        width: 65px;
        height: 65px;
        margin-bottom: 1.2rem;
        border-width: 3px;
    }
    
    .testimonio-card blockquote {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }
    
    .testimonio-card blockquote::before {
        font-size: 3rem;
        top: -15px;
        left: -10px;
    }
    
    .testimonio-author h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .testimonio-author p {
        font-size: 0.85rem;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav.prev {
        left: 2px;
    }
    
    .carousel-nav.next {
        right: 2px;
    }
    
    .carousel-nav i {
        font-size: 1rem;
    }
}

/* ===== SECCIÓN LOGOS DE CLIENTES (SLIDER INFINITO) ===== */
#clientes-logos {
    width: 100%;
    background: white;
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

.logos-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.logos-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    color: #333;
    margin-bottom: 6rem;
    line-height: 1.3;
}

.logos-track {
    display: flex;
    align-items: center;
    animation: logoSlide 30s linear infinite;
    width: 300%; /* 3 conjuntos de logos */
    will-change: transform;
    transform: translateZ(0); /* Forzar aceleración hardware */
}

.logos-track img {
    height: 60px;
    width: auto;
    margin: 0 2rem;
    object-fit: contain;
    filter: grayscale(0);
    flex-shrink: 0;
    /* Asegurar que cada logo tenga el mismo ancho base */
    min-width: calc(100% / 18); /* 18 logos total (3 conjuntos de 6) */
}

@keyframes logoSlide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-33.333%, 0, 0); /* Usar transform3d para mejor rendimiento */
    }
}

/* ===== SECCIÓN SERVICIOS INTEGRALES ===== */
#servicios-integrales {
    padding: 8rem 2rem 5rem 2rem;
    background: #ffffff;
    position: relative;
    /* Optimización de rendimiento */
    contain: layout style;
    will-change: auto;
}

.servicios-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

#servicios-integrales h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

#servicios-integrales p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 4rem auto;
    line-height: 1.7;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.servicio-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #f8f9fa;
    /* Optimización de rendimiento */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.servicio-card:hover {
    border-color: #4285F4;
}

.servicio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servicio-card:hover .servicio-image img {
    transform: none;
}

.servicio-content {
    padding: 2rem;
    text-align: left;
}

.servicio-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.servicio-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #4285F4;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.servicio-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.servicio-puntos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servicio-puntos li {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.servicio-puntos li i {
    color: #4285F4;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.servicio-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BD5 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.servicio-cta:hover {
    background: linear-gradient(135deg, #5B9BD5 0%, #4285F4 100%);
}

.servicio-cta i {
    font-size: 0.8rem;
}

.servicio-cta:hover i {
    transform: none;
}

/* Sin animaciones para las tarjetas individuales - solo hover effects */

/* ===== RESPONSIVE PARA SERVICIOS INTEGRALES ===== */

@media (max-width: 1200px) {
    #servicios-integrales {
        padding: 4rem 1.5rem;
    }
    
    #servicios-integrales h2 {
        font-size: 2.8rem;
    }
    
    #servicios-integrales p {
        font-size: 1.1rem;
    }
    
    .servicios-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    #servicios-integrales {
        padding: 3.5rem 2.5rem;
    }
    
    #servicios-integrales h2 {
        font-size: 2.4rem;
    }
    
    #servicios-integrales p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .servicios-grid {
        gap: 2rem;
    }
    
    .servicio-image {
        height: 220px;
    }
    
    .servicio-content {
        padding: 1.8rem;
    }
    
    .servicio-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    #servicios-integrales {
        padding: 3rem 3rem;
    }
    
    #servicios-integrales h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    #servicios-integrales p {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .servicio-image {
        height: 200px;
    }
    
    .servicio-content {
        padding: 1.5rem;
    }
    
    .servicio-content h3 {
        font-size: 1.3rem;
    }
    
    .servicio-puntos li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #servicios-integrales {
        padding: 2.5rem 2rem;
    }
    
    #servicios-integrales h2 {
        font-size: 1.6rem;
    }
    
    #servicios-integrales p {
        font-size: 0.9rem;
    }
    
    .servicio-image {
        height: 180px;
    }
    
    .servicio-content {
        padding: 1.2rem;
    }
    
    .servicio-content h3 {
        font-size: 1.2rem;
    }
    
    .servicio-subtitle {
        font-size: 0.9rem;
    }
    
    .servicio-description {
        font-size: 0.9rem;
    }
    
    .servicio-puntos li {
        font-size: 0.9rem;
        gap: 0.6rem;
    }
}

/* ===== SECCIÓN AIDLINK INFO ===== */
#aidlink-info {
    position: relative;
    padding: 0;
    margin: 0;
    background-image: url('assets/tech1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animaciones de entrada */
#aidlink-info .aidlink-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

#aidlink-info.animate .aidlink-content {
    opacity: 1;
    transform: translateY(0);
}

#aidlink-info .aidlink-content h2 {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out 0.3s;
}

#aidlink-info.animate .aidlink-content h2 {
    opacity: 1;
    transform: translateX(0);
}

#aidlink-info .aidlink-content p {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out 0.5s;
}

#aidlink-info.animate .aidlink-content p {
    opacity: 1;
    transform: translateX(0);
}

#aidlink-info .aidlink-content button {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.7s ease-out 0.7s;
}

#aidlink-info.animate .aidlink-content button {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.aidlink-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.aidlink-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.aidlink-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.aidlink-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.aidlink-content button {
    background: linear-gradient(135deg, #4285F4, #5B9BD5);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    margin-bottom: 0;
}

.aidlink-content button:hover {
    background: linear-gradient(135deg, #5B9BD5, #4285F4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.5);
}

/* ===== RESPONSIVE PARA AIDLINK INFO ===== */

/* Escritorio grande - Mayor altura para el contenedor */
@media (min-width: 1441px) {
    #aidlink-info {
        min-height: 85vh;
    }
}

/* Escritorio estándar - Altura optimizada */
@media (max-width: 1440px) and (min-width: 1201px) {
    #aidlink-info {
        min-height: 80vh;
    }
}

/* ===== RESPONSIVE PARA LOGOS ===== */

/* Tablets grandes */
@media (max-width: 1200px) {
    #clientes-logos {
        padding: 3rem 0;
    }
    .logos-container h2 {
        font-size: 2.5rem;
    }
    
    .logos-track img {
        height: 70px;
        margin: 0 2.5rem;
    }
    .aidlink-content h2 {
        font-size: 2.2rem;
        margin-top: 0;
    }
    .aidlink-content p {
        font-size: 1.2rem;
    }
    .aidlink-content button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        margin-bottom: 0;
    }

}

/* Tablets */
@media (max-width: 1024px) {
    #clientes-logos {
        padding: 2.5rem 0;
    }
    
    .logos-track img {
        height: 60px;
        margin: 0 2rem;
    }
    
    .aidlink-content h2 {
        font-size: 2.2rem;
        margin-top: 0;
    }
    
    .aidlink-content p {
        font-size: 0.96rem;
    }
    
    .aidlink-content button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        margin-bottom: 0;
    }
}

/* Tablets pequeños */
@media (max-width: 768px) {
    #clientes-logos {
        padding: 2rem 0;
    }
    
    .logos-track img {
        height: 50px;
        margin: 0 1.5rem;
    }
    
    .aidlink-content {
        padding: 0 1.5rem;
    }
    
    .aidlink-content h2 {
        font-size: 1.6rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .aidlink-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .aidlink-content button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        margin-bottom: 0;
    }
}

/* Móviles */
@media (max-width: 480px) {
    #clientes-logos {
        padding: 1.5rem 0;
    }
    .logos-container h2 {
        margin-bottom: 3rem;
    }
    
    .logos-track img {
        height: 40px;
        margin: 0 1rem;
    }

   
    
    .aidlink-content {
        padding: 0 1rem;
    }
    
    .aidlink-content h2 {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-top: 0;
    }
    
    .aidlink-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .aidlink-content button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        margin-bottom: 0;
    }
}



