/* ============================================
   CLIENTES 
   ============================================ */

    .nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-left: auto;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 10px 5px;
    font-family: 'Inter', sans-serif;
}

.nav a:hover,
.nav a.active {
    color: var(--white);
}

.submenu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 50px;
    z-index: 2;
    font-family: 'Inter', sans-serif;
}

.submenu-toggle.active {
    transform: rotate(90deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary); 
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
    width: 100%;
}

.submenu a {
    color: #FFFFFF;
    padding: 12px 20px;
    font-size: 13px;
    transition: all 0.2s;
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.submenu a:hover {
    background: var(--accent-color); 
    color: var(--white);
    padding-left: 25px;
}

/* CTA Button */
.cta-button {
    background: var(--dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 89, 0.3);
}


/* --------------------------------------------
   HERO
   
-------------------------------------------- */
.clientes-hero {
    position: relative;
    margin-top: 90px;
    padding: 100px 0;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}


.clientes-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../../imagenes/nuestros-clientes.png');
    background-size: cover;        
    background-position: center;   
    background-repeat: no-repeat;  
    opacity: 0.25;                 
    z-index: 1;
    animation: zoomBg 20s infinite alternate; 
}


@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}


.clientes-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;        
    text-align: center;    
}


.clientes-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);  
    backdrop-filter: blur(10px);             
    -webkit-backdrop-filter: blur(10px);    
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);  
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);   
    text-align: center;
}


.clientes-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
  
    z-index: -1;
}

.clientes-hero-description {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;      
    text-align: center;
}


@media (max-width: 768px) {
    .clientes-hero-content {
        padding: 0 20px;
    }
    
    .clientes-hero-title {
        font-size: 2.5rem;
    }
    
    .clientes-hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .clientes-hero-title {
        font-size: 2rem;
    }
    
    .clientes-hero-badge {
        font-size: 12px;
        padding: 6px 18px;
    }
}

/* --------------------------------------------
   TEXTO DESTACADO 
-------------------------------------------- */
.clientes-texto-section {
    padding: 80px 0;
    background: var(--white);
}

.clientes-texto-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 40px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: transform 0.4s ease;
}

.clientes-texto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.clientes-texto-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.clientes-texto-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.clientes-texto-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* --------------------------------------------
   GRID DE CLIENTES 
-------------------------------------------- */
.clientes-grid-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, #e6f0fa 100%);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}


.cliente-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}


.cliente-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--white), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}


.cliente-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 7px var(--primary),
        0 25px 45px rgba(255, 255, 255, 0.4);
    border-color: transparent;
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
}

.cliente-card:hover::before {
    transform: scaleX(1);
}

.cliente-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.cliente-logo img {
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.cliente-card:hover .cliente-logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.20);
    filter: drop-shadow(0 0 15px rgba(26, 85, 157, 0.808));
}

.cliente-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.cliente-card:hover h3 {
    color: var(--primary-dark);
    text-shadow: 0 0 8px rgba(26, 86, 157, 0.3);
}

/* --------------------------------------------
   CTA
-------------------------------------------- */
.clientes-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid white;
}

.btn-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

/* --------------------------------------------
   SECTION HEADER 
-------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* --------------------------------------------
   RESPONSIVE
-------------------------------------------- */
@media (max-width: 992px) {
    .clientes-hero-title {
        font-size: 3rem;
    }
    
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .clientes-texto-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .clientes-hero {
        padding: 80px 0;
    }
    
    .clientes-hero-title {
        font-size: 2.5rem;
    }
    
    .clientes-hero-description {
        font-size: 1.1rem;
    }
    
    .clientes-texto-card {
        padding: 35px 25px;
    }
    
    .clientes-texto-card h2 {
        font-size: 1.8rem;
    }
    
    .clientes-texto-card p {
        font-size: 1rem;
    }
    
    .clientes-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 30px auto 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .clientes-hero-title {
        font-size: 2rem;
    }
    
    .clientes-hero-badge {
        font-size: 12px;
        padding: 6px 18px;
    }
    
    .btn-cta {
        padding: 14px 35px;
        font-size: 1rem;
    }
}



/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .contact-container { gap: 50px; }
    .hero-parallax-title { font-size: 42px; }
    .nav ul { gap: 15px; }
}

@media (max-width: 768px) {
    .container { width: 95%; }
    .header { padding: 20px 0; }
    .header-content { flex-direction: row; gap: 15px; min-height: auto; }
    .logo { height: 50px; }
    .logo img { width: 150px; height: 40px; }
    .mobile-menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        max-height: 0;
        overflow: hidden;
    }

    .nav.active { transform: translateY(0); opacity: 1; visibility: visible; max-height: 80vh; overflow-y: auto; }
    .nav ul { flex-direction: column; width: 100%; gap: 0; align-items: stretch; padding: 10px 0; }
    .nav-item { width: 100%; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; display: block; }
    .nav a { padding: 15px 20px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; z-index: 1; }
    .submenu-toggle { display: flex; position: absolute; right: 0; top: 0; height: 100%; align-items: center; justify-content: center; width: 50px; z-index: 2; margin: 0; }
    .nav-item.has-submenu > a { padding-right: 50px; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; box-shadow: none; background: rgba(0,0,0,0.1); width: 100%; margin: 0; padding: 0; display: block; }
    .submenu.active-mobile { max-height: 500px; }
    .submenu li { border-bottom: none; }
    .submenu a { padding: 12px 20px 12px 40px; font-size: 14px; background: rgba(0,0,0,0.1); position: relative; z-index: 1; }
    .submenu a:hover { background: rgba(255,255,255,0.1); padding-left: 45px; }
}