/* ============================================
   TECNOLOGÍA 
   ============================================ */
    .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;
}


/* ============================================
   HERO 
   ============================================ */
.tecnologia-hero {
    position: relative;
    margin-top: 90px;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Imagen de fondo */
.tecnologia-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../imagenes/20260318_0826_image.png');
    background-size: cover;
    background-position: center;
    animation: zoomBg 20s infinite alternate;
    z-index: 0;
}

@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}


.tecnologia-hero-content {
    position: relative;
    max-width: 900px;
    color: white;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,0.1);
}

.tecnologia-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);
}

.tecnologia-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.5);
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: -1;
}

.tecnologia-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}
/* 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);
}

/* ============================================
   CARRUSEL GRANDE DE PLATAFORMAS Y HERRAMIENTAS
   ============================================ */

.plataformas-carousel-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.plataformas-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 70px;
}

.plataformas-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
}

.plataformas-carousel-slide {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 0;
}


.plataforma-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-light);
}

.plataforma-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(26,86,157,0.2);
    border-color: var(--primary);
}

.plataforma-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.plataforma-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s ease;
    padding: 15px;
}

.plataforma-card:hover .plataforma-image img {
    transform: scale(1.1);
}

.plataforma-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,86,157,0.8) 0%, rgba(20,66,122,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.plataforma-card:hover .plataforma-overlay {
    opacity: 1;
}

.plataforma-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0);
    transition: transform 0.4s ease 0.1s;
}

.plataforma-card:hover .plataforma-overlay i {
    transform: scale(1);
}

.plataforma-content {
    padding: 20px 15px;
    text-align: center;
}

.plataforma-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

/* Flechas más grandes */
.plataformas-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 20;
}

.plataformas-carousel-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 20px 40px rgba(26,86,157,0.3);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Indicadores */
.plataformas-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.plataforma-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(26,86,157,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.plataforma-indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(26,86,157,0.5);
}

/* --------------------------------------------
   MÓDULO DE TEXTO
-------------------------------------------- */
.tecnologia-texto-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, #e6f0fa 100%);
}

.texto-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-light);
    max-width: 1000px;
    margin: 0 auto;
}

.texto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.texto-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.4s ease;
}

.texto-card:hover .texto-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(26,86,157,0.3);
}

.texto-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.texto-content p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-texto {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.btn-texto:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26,86,157,0.2);
}

.btn-texto i {
    transition: transform 0.3s ease;
}

.btn-texto:hover i {
    transform: translateX(5px);
}

/* --------------------------------------------
   CTA
-------------------------------------------- */
.tecnologia-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;
}

.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 ease;
    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);
}

/* ============================================
   AJUSTES RESPONSIVE
   ============================================ */

/* Tablets grandes */
@media screen and (max-width: 1200px) {
    .plataformas-carousel-slide {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Tablets grandes  */
@media screen and (max-width: 992px) {
    .tecnologia-hero {
        height: 70vh;
        min-height: 500px;
        margin-top: 80px;
    }
    
    .tecnologia-hero::before {
        background-position: 70% center;
    }
    
    .tecnologia-hero-content {
        max-width: 80%;
        padding: 35px 25px;
    }
    
    .tecnologia-hero-title {
        font-size: 3rem;
    }
    
    .tecnologia-hero-description {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .plataformas-carousel-slide {
        flex: 0 0 calc(50% - 15px);
    }
    
    .texto-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .texto-icon {
        margin: 0 auto;
    }
    
    .plataformas-carousel-container {
        padding: 0 60px;
    }
}

/* Tablets verticales */
@media screen and (max-width: 768px) {
    .tecnologia-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .tecnologia-hero::before {
        background-position: 65% center;
        animation: none;
        background-attachment: scroll;
    }
    
    .tecnologia-hero-content {
        max-width: 90%;
        padding: 30px 20px;
        backdrop-filter: blur(5px);
    }
    
    .tecnologia-hero-badge {
        font-size: 12px;
        padding: 6px 20px;
        margin-bottom: 20px;
    }
    
    .tecnologia-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-highlight::after {
        height: 6px;
        bottom: 3px;
    }
    
    .tecnologia-hero-description {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.6;
    }
    
    .tecnologia-texto-section,
    .tecnologia-cta-section {
        padding: 60px 0;
    }
    
    .plataformas-carousel-section {
        padding: 60px 0;
    }
    
    .plataformas-carousel-container {
        padding: 0 50px;
    }
    
    .plataformas-carousel-slide {
        flex: 0 0 100%;
    }
    
    .plataformas-carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .plataforma-image {
        height: 200px;
    }
    
    .plataforma-content h3 {
        font-size: 1.2rem;
    }
    
    .plataformas-carousel-indicators {
        margin-top: 35px;
        gap: 12px;
    }
    
    .plataforma-indicator {
        width: 12px;
        height: 12px;
    }
    
    .texto-card {
        padding: 35px 25px;
        margin: 0 15px;
    }
    
    .texto-content h3 {
        font-size: 1.6rem;
    }
    
    .texto-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .btn-texto {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }
    
    .section-badge {
        font-size: 11px;
        padding: 5px 16px;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .btn-cta {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 576px) {
    .tecnologia-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .tecnologia-hero::before {
        background-position: 60% center;
    }
    
    .tecnologia-hero-content {
        max-width: 95%;
        padding: 25px 15px;
    }
    
    .tecnologia-hero-badge {
        font-size: 10px;
        padding: 5px 16px;
        letter-spacing: 1px;
    }
    
    .tecnologia-hero-title {
        font-size: 2rem;
    }
    
    .tecnologia-hero-description {
        font-size: 0.95rem;
    }
    
    .plataformas-carousel-container {
        padding: 0 40px;
    }
    
    .plataforma-image {
        height: 180px;
    }
    
    .plataforma-content h3 {
        font-size: 1.1rem;
    }
    
    .plataformas-carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .texto-card {
        padding: 25px 20px;
    }
    
    .texto-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .texto-content h3 {
        font-size: 1.4rem;
    }
    
    .texto-content p {
        font-size: 0.9rem;
    }
    
    .btn-texto {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        padding: 0 15px;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .btn-cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* ============================================
   MENÚ RESPONSIVE MODERNO 
   ============================================ */
@media screen and (max-width: 992px) {
     .header-content {
        position: relative;
        padding: 10px 0;
    }


    .header {
        padding: 10px 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;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        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;
        font-family: 'Inter', sans-serif;
    }

    .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;
        font-family: 'Inter', sans-serif;
    }

    .nav-item.has-submenu > a {
        padding-right: 50px;
    }

    .submenu-toggle.active {
        transform: rotate(90deg);
    }

    .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;
        font-family: 'Inter', sans-serif;
    }

    .submenu a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 45px;
    }
}
