/* ==========================================================
   SECCIÓN INTERNET - TELECABLE URUAPAN
   (Módulo aislado e independiente con prefijo .netx-)
   ========================================================== */

:root {
    --netx-primary: #a0f42a;
    --netx-secondary: #86ff05;
    --netx-dark: #000000;
}

.netx-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    overflow: hidden;
    padding: 5rem 0;
}

/* Partículas y orbes decorativos */
.netx-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.netx-particle {
    position: absolute;
    background-color: var(--netx-primary);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(8px);
    z-index: 1;
}

.netx-p1 {
    width: 15px;
    height: 15px;
    top: 15%;
    left: 10%;
    animation: netxFloat 20s ease-in-out infinite;
}

.netx-p2 {
    width: 25px;
    height: 25px;
    top: 60%;
    left: 5%;
    animation: netxFloat 25s ease-in-out infinite reverse;
    animation-delay: 2s;
}

.netx-p3 {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 30%;
    animation: netxFloat 18s ease-in-out infinite;
    animation-delay: 1s;
}

.netx-p4 {
    width: 20px;
    height: 20px;
    top: 70%;
    left: 40%;
    animation: netxFloat 22s ease-in-out infinite reverse;
    animation-delay: 3s;
}

.netx-p5 {
    width: 15px;
    height: 15px;
    top: 20%;
    right: 15%;
    animation: netxFloat 24s ease-in-out infinite;
    animation-delay: 2.5s;
}

.netx-p6 {
    width: 30px;
    height: 30px;
    top: 65%;
    right: 10%;
    animation: netxFloat 28s ease-in-out infinite reverse;
    animation-delay: 1.5s;
}

@keyframes netxFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(30px, -30px);
    }

    50% {
        transform: translate(0, -60px);
    }

    75% {
        transform: translate(-30px, -30px);
    }
}

.netx-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.netx-grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(160, 244, 42, 0.1), transparent);
    opacity: 0.2;
}

.netx-h {
    width: 100%;
    height: 1px;
    left: 0;
}

.netx-v {
    width: 1px;
    height: 100%;
    top: 0;
}

.netx-h1 {
    top: 25%;
    animation: netxPulseGrid 8s ease-in-out infinite;
}

.netx-h2 {
    top: 50%;
    animation: netxPulseGrid 8s ease-in-out infinite;
    animation-delay: 2s;
}

.netx-h3 {
    top: 75%;
    animation: netxPulseGrid 8s ease-in-out infinite;
    animation-delay: 4s;
}

.netx-v1 {
    left: 25%;
    animation: netxPulseGrid 8s ease-in-out infinite;
    animation-delay: 1s;
}

.netx-v2 {
    left: 50%;
    animation: netxPulseGrid 8s ease-in-out infinite;
    animation-delay: 3s;
}

.netx-v3 {
    left: 75%;
    animation: netxPulseGrid 8s ease-in-out infinite;
    animation-delay: 5s;
}

@keyframes netxPulseGrid {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

.netx-glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 244, 42, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.5;
    z-index: 0;
    animation: netxPulseOrb 10s ease-in-out infinite;
}

@keyframes netxPulseOrb {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

/* Layout Desktop */
.netx-container {
    max-width: 1850px;
    width: 98%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 4.5rem;
    position: relative;
    z-index: 2;
}

.netx-content {
    flex: 1;
    order: 1;
    position: relative;
    z-index: 2;
    padding: 4rem 3.5rem 4rem 7.5rem;
}

.netx-visual {
    flex: 1.25;
    order: 2;
    position: sticky;
    top: 2rem;
    height: calc(100vh - 1.5rem);
    min-height: calc(100vh - 2.5rem);
    align-self: flex-start;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
    margin-right: -45px;
}

.netx-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
    transition: all 0.5s ease;
}

.netx-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

/* Badge */
.netx-badge {
    display: inline-flex !important;
    width: max-content !important;
    max-width: fit-content !important;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    background: rgba(160, 244, 42, 0.1);
    border: 1px solid rgba(160, 244, 42, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--netx-primary);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.netx-section.in-view .netx-badge,
.netx-content.active .netx-badge {
    opacity: 1;
    transform: translateY(0);
}

.netx-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 244, 42, 0.3), transparent);
    animation: netxBadgeShine 3s linear infinite;
}

@keyframes netxBadgeShine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Título */
.netx-title {
    font-size: clamp(3.8rem, 5.5vw, 4.85rem) !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.06s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
}

.netx-section.in-view .netx-title,
.netx-content.active .netx-title {
    opacity: 1;
    transform: translateY(0);
}

.netx-highlight {
    color: var(--netx-primary);
    display: inline-block;
}

/* Descripción */
.netx-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.netx-section.in-view .netx-description,
.netx-content.active .netx-description {
    opacity: 1;
    transform: translateY(0);
}

/* Dispositivos */
.netx-devices {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(160, 244, 42, 0.15);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    margin-bottom: 2.2rem;
    width: fit-content;
    max-width: 100%;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.16s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
}

.netx-section.in-view .netx-devices,
.netx-content.active .netx-devices {
    opacity: 1;
    transform: translateY(0);
}

.netx-device-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.netx-device-icons i {
    font-size: 1.15rem;
    color: rgb(255, 255, 255);
    transition: all 0.35s ease-out;
}

.netx-device-icons i:hover {
    color: var(--netx-primary);
    transform: translateY(-3px);
}

.netx-device-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Tarjetas Features */
.netx-features {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.netx-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 1.1rem 1.4rem 1.1rem 1.6rem;
    border: 1px solid rgba(160, 244, 42, 0.2);
}

.netx-section.in-view .netx-feature:nth-child(1),
.netx-content.active .netx-feature:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.netx-section.in-view .netx-feature:nth-child(2),
.netx-content.active .netx-feature:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
}

.netx-section.in-view .netx-feature:nth-child(3),
.netx-content.active .netx-feature:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
}

.netx-feature:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(160, 244, 42, 0.45);
    box-shadow: 0 0 20px rgba(160, 244, 42, 0.08);
    transform: translateY(-3px);
}

.netx-icon-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    border-radius: 50%;
    background: #040803;
    border: 1.5px solid rgba(160, 244, 42, 0.35);
    box-shadow: inset 0 0 12px rgba(160, 244, 42, 0.2), 0 0 15px rgba(160, 244, 42, 0.15);
    transition: all 0.3s ease;
}

.netx-feature:hover .netx-icon-wrapper {
    border-color: rgba(160, 244, 42, 0.6);
    box-shadow: inset 0 0 15px rgba(160, 244, 42, 0.3), 0 0 20px rgba(160, 244, 42, 0.25);
}

.netx-icon-wrapper i {
    font-size: 1.35rem;
    color: var(--netx-primary);
    filter: drop-shadow(0 0 8px rgba(134, 255, 5, 0.8));
    transition: all 0.3s ease;
}

.netx-feature:hover .netx-icon-wrapper i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) !important;
    transform: scale(1.1);
}

.netx-feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0.35rem;
}

.netx-feature-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #fff;
    line-height: 1.2;
}

.netx-feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* Botón CTA */
.netx-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.netx-section.in-view .netx-cta,
.netx-content.active .netx-cta {
    opacity: 1;
    transform: translateY(0);
}

.netx-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, var(--netx-primary), var(--netx-secondary));
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(160, 244, 42, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
}

.netx-btn svg {
    transition: transform 0.3s ease;
}

.netx-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(160, 244, 42, 0.4);
}

.netx-btn:hover svg {
    transform: translateX(4px);
}


/* ==========================================================
   RESPONSIVE DESIGN (MÓVIL Y TABLETS) - SECCIÓN INTERNET
   ========================================================== */
@media (max-width: 992px) {
    .netx-section {
        padding: 3.5rem 0 2rem 0 !important;
    }

    .netx-container {
        flex-direction: column !important;
        gap: 2.5rem !important;
        width: 100% !important;
    }

    .netx-visual {
        order: 1 !important;
        position: relative !important;
        top: 0 !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        width: 100% !important;
        border-radius: 16px !important;
    }

    .netx-video {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
        object-fit: cover !important;
    }

    .netx-content {
        order: 2 !important;
        padding: 1.5rem 2rem 2.5rem 2rem !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .netx-features {
        width: 100%;
        max-width: 550px;
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 768px) {
    .netx-section {
        padding: 4.5rem 0 5rem 0 !important;
    }

    .netx-container {
        gap: 2rem !important;
    }

    .netx-content {
        padding: 1.25rem 1.25rem 2rem 1.25rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .netx-badge {
        font-size: 0.82rem !important;
        padding: 0.35rem 0.85rem !important;
        margin-bottom: 1.25rem !important;
    }

    .netx-title {
        font-size: clamp(2.5rem, 8.2vw, 3.5rem) !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.12 !important;
        text-align: center !important;
        letter-spacing: -0.5px !important;
    }

    .netx-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.85rem !important;
        max-width: 320px !important;
        text-align: center !important;
    }

    .netx-devices {
        margin: 0 auto 2rem auto !important;
        padding: 0.55rem 1.25rem !important;
        gap: 1rem !important;
    }

    .netx-features {
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto 2rem auto !important;
        gap: 1.15rem !important;
    }

    .netx-feature {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.1rem 1.1rem !important;
        border-radius: 14px !important;
        gap: 1rem !important;
    }

    .netx-icon-wrapper {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .netx-icon-wrapper i {
        font-size: 1.18rem !important;
    }

    .netx-feature-text {
        padding-left: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .netx-feature-text h3 {
        font-size: 1rem !important;
        margin-bottom: 0.35rem !important;
    }

    .netx-feature-text p {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }

    .netx-cta {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
    }

    .netx-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: 90% !important;
        min-width: 260px !important;
        padding: 0.95rem 1.75rem !important;
        font-size: 0.98rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        border-radius: 12px !important;
        margin: 0 auto !important;
        gap: 0.75rem !important;
    }

    .netx-btn span {
        white-space: nowrap !important;
    }

    .netx-btn svg {
        flex-shrink: 0 !important;
    }
}

@media (max-width: 576px) {
    .netx-badge {
        font-size: 0.78rem !important;
        padding: 0.3rem 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .netx-title {
        font-size: clamp(2.1rem, 9vw, 2.65rem) !important;
        margin-bottom: 1rem !important;
        line-height: 1.12 !important;
    }

    .netx-description {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    .netx-devices {
        flex-direction: column !important;
        gap: 0.45rem !important;
        border-radius: 16px !important;
        padding: 0.5rem 0.9rem !important;
        margin-bottom: 1.6rem !important;
    }

    .netx-features {
        gap: 1rem !important;
        margin-bottom: 1.75rem !important;
    }

    .netx-btn {
        min-width: 240px !important;
        padding: 0.9rem 1.4rem !important;
        font-size: 0.92rem !important;
    }
}