/* Estilos generales */
:root {
    --primary-gradient: linear-gradient(135deg, #6b11cbcb 0%, #2574fcbe 100%);
    --secondary-gradient: linear-gradient(45deg, #ff0844 0%, #ffb199 100%);
    --text-color: #333;
    --light-text: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header y Navegación */
.header {
    background: var(--primary-gradient);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary-gradient);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: var(--light-text);
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover {
    color: #ffb199;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffb199;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Sección Hero */
.hero-section {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: 120px 20px 40px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Ajuste para páginas específicas */
.factibilidad-page,
.factura-page,
.contratar-page {
    padding: 120px 20px 40px;
    min-height: 100vh;
    background: var(--primary-gradient);
    overflow-x: hidden;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/network-waves.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.2; }
    50% { opacity: 0.4; }
    100% { opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sección Servicios */
.services-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.service-card {
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.service-card.fibra {
    background: linear-gradient(135deg, #2BCBBA, #45AAF2);
    color: rgb(0, 0, 0);
}

.service-card.antena {
    background: linear-gradient(135deg, #FF6B81, #45AAF2);
    color: rgb(0, 0, 0);
}

.service-card.tv-digital {
    background: linear-gradient(135deg, #2BCBBA, #FF6B81);
    color: rgb(8, 6, 6);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card h2 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.plan {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 117, 252, 0.3);
}

.plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(106, 17, 203, 0.05));
    transition: opacity 0.3s ease;
    opacity: 0;
}

.plan:hover::before {
    opacity: 1;
}

.plan h3 {
    font-size: 2.2rem;
    color: #2575fc;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.plan h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 2px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: #6a11cb;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.plan-features li {
    margin: 1rem 0;
    color: #666;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: '';
    display: none;
}

.plan-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
    background: linear-gradient(135deg, #2575fc, #6a11cb);
}

.contact-more {
    text-align: center;
    margin-top: 2rem;
    color: #ff0844;
    font-weight: 500;
}

/* Sección Contacto */
.contact-section {
    padding: 5rem 2rem;
    background: var(--secondary-gradient);
    color: var(--light-text);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffb199;
}

/* Footer */
.footer {
    background: #333;
    color: var(--light-text);
    text-align: center;
    padding: 2rem;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
        width: 100%;
    }

    .nav-container {
        padding: 0.8rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .plans {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .service-card {
        margin: 1rem;
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 1rem;
        gap: 0.8rem;
    }

    .hero-button {
        width: 100%;
        padding: 0.8rem 1.5rem;
        justify-content: center;
        font-size: 0.9rem;
    }

    .service-icons {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .social-buttons {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .social-button {
        width: 40px;
        height: 40px;
    }
}




.service-icons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Botones de redes sociales */
.social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInRight 0.5s ease-out forwards;
    opacity: 0;
}

.social-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    animation-delay: 0.1s;
}

.social-button.facebook {
    background: linear-gradient(45deg, #3b5998, #2f55a4);
    animation-delay: 0.2s;
}

.social-button.whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    animation-delay: 0.3s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-icon {
    color: #6a11cb;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-item:hover .service-icon {
    transform: scale(1.1);
    color: #2575fc;
}

.icon-item span {
    font-weight: 500;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .service-icons {
        gap: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.hero-button i {
    font-size: 1.2rem;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-button.contratar {
    background: linear-gradient(135deg, #2BCBBA, #45AAF2);
}

.hero-button.factibilidad {
    background: linear-gradient(135deg, #FF6B81, #45AAF2);
}

.hero-button.factura {
    background: linear-gradient(135deg, #2BCBBA, #FF6B81);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-button.contratar {
    background: linear-gradient(135deg, #2BCBBA, #45AAF2);
}

.hero-button.factibilidad {
    background: linear-gradient(135deg, #FF6B81, #45AAF2);
}

.hero-button.factura {
    background: linear-gradient(135deg, #2BCBBA, #FF6B81);
}

.icon-item:hover .service-icon {
    transform: scale(1.1);
    color: #2575fc;
}

.icon-item span {
    font-weight: 500;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .service-icons {
        gap: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}

.hero-content .institutional-text {
    font-size: 1.2rem;
    margin-top: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
    animation-delay: 0.3s;
}

@media (max-width: 768px) {
    .hero-section,
    .factibilidad-page,
    .factura-page,
    .contratar-page {
        padding: 100px 15px 30px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-top: 1rem;
        line-height: 1.3;
    }
    
    .hero-content .institutional-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
}
.additional-packs {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.8rem;
    color: rgb(8, 6, 6);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}