html,
body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

 .js-loading body { opacity: 0; }
.packages-container,
.entertainment-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.hero-sectionResidenciales {
    background-image: linear-gradient(rgba(24, 8, 29, 0.7), rgba(62, 11, 90, 0.9)), url('../public/images/pyme.webp');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: flex-start; 
    color: white;
    padding-top: 100px; 
    clip-path: ellipse(150% 100% at 50% 0%);
    box-sizing: border-box; 
}

.hero-contentResidenciales {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%; 
}

.hero-main-title {
    font-size: clamp(1.2rem, 4.2vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.price-label {
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 700;
}

.price-main-value {
    display: flex;
    align-items: flex-start;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.8;
}

.price-decimal-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.price-cents {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
}

.price-currency {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-top: 5px;
}

.pyme-main-color-bg {
    background-color: #7d199f;
}

.hero-sectionIPTV {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    overflow: hidden;
    background-color: #0c001a;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-sectionIPTV::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../public/images/FONDO1.webp');
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero-sectionIPTV::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #7d199f 0%, rgba(125, 25, 159, 0.8) 30%, transparent 100%);
    z-index: 2;
}

.hero-contentIPTV {
    position: relative;
    z-index: 10;
    max-width: 600px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-subtitle-small {
    font-size: 1.5em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
}

.hero-description {
    font-size: 1.1em;
    line-height: 1.5;
    color: white;
    margin-bottom: 30px;
}

.btn-more-info {
    display: inline-flex;
    align-items: center;
    background: #F17016;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    gap: 15px;
    transition: transform 0.3s ease;
}

.btn-more-info .plus-icon {
    background: white;
    color: #F17016;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.btn-more-info:hover {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-contentIPTV>* {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.entertainment-section {
    background-color: #7d199f;
    border-radius: 20px;
    padding: 20px;
    color: white;
    max-width: 1000px;
    margin: 50px auto;
}

.entertainment-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.entertainment-content {
    flex: 1;
    max-width: 50%;
}

.entertainment-image-container {
    flex: 1;
    max-width: 50%;
    display: block;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.entertainment-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.entertainment-title {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
}

.entertainment-text {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.btn-channel-list {
    display: inline-flex;
    align-items: center;
    background-color: #F17016;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 10px;
}

.btn-channel-list:hover {
    background-color: #F17016;
    transform: scale(1.03);
}

.premium-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, #030303 0%, #3e0b5a 60%, #5a166f 100%);
    color: #ffffff;
    font-family: Arial, sans-serif;
    text-align: center;
}

.premium-header {
    margin-bottom: 40px;
}

.header-line {
    width: 60px;
    margin: 0 auto 10px;
    border: none;
    border-top: 3px solid #d130d1;
}

.premium-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: -0.5px;
}

.packages-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.package-card {
    width: 350px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(209, 48, 209, 0.6);
}

.package-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.hbo-image {
    background-color: #400d72;
    background-image: url('../public/images/hbo2.webp');
}

.venus-image {
    background-color: #090333;
    background-image: url('../public/images/venus.webp');
    background-size: 100% 100%;
}

.package-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    height: 100%;
}

.hbo-card .package-info { background-color: #400d72; }
.venus-card .package-info { background-color: #090333; }

.more-info-btn {
    background-color: #F17016;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    width: 100%;
}

.coverage-premium {
    padding: 80px 10%;
    background: #ffffff;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}



.coverage-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
    padding: 40px 20px;
}

.coverage-tag {
    color: #ff6d00;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.coverage-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: #ff6d00;
}


.coverage-main-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #2e004d;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(46, 0, 77, 0.08);
}

.coverage-main-title span { 
    color: #6a1b9a;
    position: relative;
    display: inline-block;
}


.coverage-main-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ff6d00, #ff9800);
    opacity: 0.3;
    border-radius: 3px;
    z-index: -1;
}

.coverage-description {
    color: #555;
    font-size: 1.15rem;
    max-width: 520px;
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 400;
}


.coverage-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.coverage-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 22px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.06);
    border: 2px solid rgba(106, 27, 154, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.coverage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 109, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.coverage-item:hover::before {
    left: 100%;
}

.coverage-item:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.15);
    border-color: rgba(255, 109, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #fef5f1 100%);
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #6a1b9a 0%, #8e24aa 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 2px solid #6a1b9a;
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.coverage-item:hover .icon-wrapper {
    transform: rotate(8deg) scale(1.1);
    background: linear-gradient(135deg, #ff6d00 0%, #ff9800 100%);
    box-shadow: 0 8px 25px rgba(255, 109, 0, 0.4);
}

.coverage-item strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2e004d;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.coverage-item:hover strong {
    color: #ff6d00;
}

.coverage-item span {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.coverage-item:hover span {
    color: #555;
}

.network-map-canvas-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px; 
    background: radial-gradient(circle at 30% 50%, #fef5f1 0%, #ffffff 50%, #ffffff 100%);
    border-radius: 40px;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none;
}

.trust-bar-container { 
    padding: 60px 10%; 
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.trust-bar-content { 
    display: flex; 
    justify-content: space-around; 
    gap: 30px; 
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-card {
    text-align: center;
    flex: 1;
    min-width: 220px;
    padding: 35px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(106, 27, 154, 0.08);
    border-bottom: 4px solid #ff6d00;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 27, 154, 0.05), transparent);
    transition: left 0.6s ease;
}

.trust-card:hover::before {
    left: 100%;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(106, 27, 154, 0.15);
    border-bottom-color: #6a1b9a;
}

.trust-card i { 
    font-size: 2.5rem; 
    color: #6a1b9a; 
    margin-bottom: 18px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-card:hover i {
    transform: scale(1.15) rotate(5deg);
    color: #ff6d00;
}

.trust-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2e004d;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.trust-card:hover h3 {
    color: #6a1b9a;
}

.trust-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.trust-card:hover p {
    color: #555;
}
@media (max-width: 768px) {
    .coverage-wrapper { 
        grid-template-columns: 1fr; 
        gap: 40px;
        padding: 30px 15px;
    }
    
    .coverage-main-title { 
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }
    
    .coverage-description {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }
    
    .network-map-canvas-wrapper {
        min-height: 380px !important;
        height: 380px !important;
        border-radius: 25px;
        margin: 20px 0 !important;
    }
    
    .coverage-item {
        padding: 18px 20px;
    }
    
    .coverage-item:hover {
        transform: translateX(0) translateY(-3px);
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .coverage-item strong {
        font-size: 1.1rem;
    }
    
    .trust-bar-container {
        padding: 40px 5%;
    }
    
    .trust-card {
        min-width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .coverage-main-title { 
        font-size: 2rem;
    }
    
    .coverage-tag {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .network-map-canvas-wrapper {
        min-height: 320px !important;
        height: 320px !important;
        border-radius: 20px;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coverage-item {
    animation: slideInUp 0.6s ease-out backwards;
}

.coverage-item:nth-child(1) { animation-delay: 0.1s; }
.coverage-item:nth-child(2) { animation-delay: 0.2s; }
.coverage-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.coverage-main-title span {
    background: linear-gradient(90deg, #6a1b9a 25%, #ff6d00 50%, #6a1b9a 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}