/*Fuentes*/
@font-face {
    font-family: "TrebuechetMS";
    src: url(fonts/TrebuchetMS.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue";
    src: url(fonts/BebasNeue.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WebSymbolsRegular";
    src: url(fonts/websymbols-regular-webfont.eot);
    src: url(fonts/websymbols-regular-webfont.eot?#iefix) format(embedded-opentype),
        url(fonts/websymbols-regular-webfont.woff) format(woff),
        url(fonts/websymbols-regular-webfont.ttf) format(truetype),
        url(fonts/websymbols-regular-webfont.svg#WebSymbolsRegular) format(svg);
    font-weight: normal;
    font-style: normal;
}

/*GENERAL*/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background: url(../img/pattern.png);
    font-family: "TrebuechetMS", sans-serif;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 15px;
}

.gear {
    font-family: WebSymbolsRegular;
    color: rgb(185, 27, 27);
}

.clearfix {
    float: none;
    clear: both;
}

/*CABECERA*/
#header {
    width: 100%;
    height: 70px;
    font-family: BebasNeue;
    background-color: black;
    color: white;
    position: relative;
}

#logo {
    float: left;
    width: 200px;
    background-color: #eb790f;
    text-align: center;
    margin-top: 8px;
    margin-left: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 300ms;
}

#logo .gear {
    display: block;
    float: left;
    font-size: 30px;
    margin-top: 8px;
    margin-left: 26px;
}

#logo h3 {
    display: block;
    float: right;
    font-size: 40px;
    margin-top: 5px;
    margin-right: 65px;
    transition: all 300ms;
}

#menu {
    float: right;
    height: 70px;
    background: transparent;
}

#menu ul li {
    font-size: 24px;
    display: inline-block;
    margin: 0px 20px 0px 20px;
    letter-spacing: 1px;
    line-height: 70px;
}

#menu ul li a {
    display: block;
    color: white;
    text-decoration: none;
    transition: all 200ms;
}

#menu ul li a:hover {
    color: #e9e511;
    transform: scale(1.2, 1.2);
}

/* ===== SECCIÓN SERVICIOS MEJORADA ===== */
#servicios {
    padding: 40px 0 60px;
}

.section-title {
    font-family: 'BebasNeue', sans-serif;
    font-size: 3rem;
    color: #eb790f;
    text-align: center;
    margin: 40px 0 50px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Contenedor de tarjetas */
.onda-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

/* Tarjetas */
.onda-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    min-height: 280px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.onda-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Colores y fondos */
.internet {
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    color: white;
}

.camaras {
    background: linear-gradient(135deg, #eb790f 0%, #c2610d 100%);
    color: white;
}

.soporte {
    background: linear-gradient(135deg, #4a4a4a 0%, #2c2c2c 100%);
    color: white;
}

/* Efecto de onda */
.onda-fondo {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="white"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="white"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="white"/></svg>') repeat-x;
    background-size: cover;
    opacity: 0.08;
    z-index: 1;
    animation: ondaAnimacion 20s linear infinite;
}

@keyframes ondaAnimacion {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

/* Contenido de tarjetas */
.onda-info {
    flex: 1;
    padding: 40px 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onda-imagen {
    flex: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
}

.icono-servicio {
    font-size: 4rem;
    opacity: 0.8;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Textos */
.onda-info h3 {
    font-family: 'BebasNeue', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: white;
}

.onda-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Paquetes */
.paquetes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.paquete {
    background: rgba(255,255,255,0.15);
    padding: 10px 18px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.paquete:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.velocidad {
    font-weight: bold;
    display: block;
    font-size: 1rem;
}

.precio {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Lista de beneficios */
.lista-beneficios {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.lista-beneficios li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    line-height: 1.4;
}

.lista-beneficios li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #eb790f;
    font-size: 1.2rem;
}

/* Botones */
.boton-onda {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'BebasNeue', sans-serif;
    letter-spacing: 1.5px;
    margin-top: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-align: center;
    align-self: flex-start;
}

.boton-onda:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FOOTER */
#footer {
    background-color: #000;
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.footer-section {
    text-align: center;
}

.logo-footer img {
    max-width: 150px;
    margin-bottom: 15px;
    border: 3px solid #eb790f;
    border-radius: 5px;
}

.logo-footer h4 {
    font-size: 1.2rem;
    color: #eb790f;
    font-family: "BebasNeue";
    letter-spacing: 1px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #eb790f;
    font-family: "BebasNeue";
    letter-spacing: 1px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #eb790f;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}
/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-family: "TrebuechetMS", sans-serif;
    font-weight: 600;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.whatsapp-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        padding: 12px 18px;
    }
}

@media (max-width: 360px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }
    
    .whatsapp-icon {
        margin-right: 0;
    }
}
/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .wrap {
        padding: 0 20px;
    }
    
    #menu ul li {
        margin: 0px 15px;
        font-size: 22px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .onda-card {
        min-height: 250px;
    }
    
    .onda-info h3 {
        font-size: 2rem;
    }
    
    .icono-servicio {
        font-size: 3.5rem;
    }
}

/* Tablet Pequeña (768px y menos) */
@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 10px 0;
    }
    
    #logo {
        float: none;
        margin: 0 auto;
        display: block;
    }
    
    #menu {
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-top: 15px;
    }
    
    #menu ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #menu ul li {
        font-size: 18px;
        line-height: 50px;
        margin: 0 10px;
    }
    
    /* Servicios Responsive */
    #servicios {
        padding: 30px 0 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin: 30px 0 40px;
    }
    
    .onda-container {
        gap: 30px;
    }
    
    .onda-card {
        flex-direction: column;
        min-height: auto;
        text-align: center;
    }
    
    .onda-info {
        padding: 30px 25px;
        order: 2;
    }
    
    .onda-imagen {
        order: 1;
        padding: 30px 20px 0;
    }
    
    .icono-servicio {
        font-size: 3rem;
    }
    
    .paquetes {
        justify-content: center;
    }
    
    .boton-onda {
        align-self: center;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .logo-footer img {
        max-width: 130px;
    }
}

/* Móvil (480px y menos) */
@media (max-width: 480px) {
    #header {
        padding: 8px 0;
    }
    
    #logo {
        width: 160px;
    }
    
    #logo .gear {
        font-size: 24px;
        margin-left: 20px;
        margin-top: 6px;
    }
    
    #logo h3 {
        font-size: 32px;
        margin-right: 50px;
        margin-top: 3px;
    }
    
    #menu ul {
        flex-wrap: wrap;
    }
    
    #menu ul li {
        font-size: 16px;
        margin: 0 8px;
        line-height: 45px;
    }
    
    /* Servicios Mobile */
    .section-title {
        font-size: 1.8rem;
        margin: 20px 0 30px;
    }
    
    .onda-container {
        gap: 25px;
    }
    
    .onda-info {
        padding: 25px 20px;
    }
    
    .onda-info h3 {
        font-size: 1.6rem;
    }
    
    .onda-info p {
        font-size: 1rem;
    }
    
    .icono-servicio {
        font-size: 2.5rem;
    }
    
    .paquetes {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .paquete {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .lista-beneficios li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .boton-onda {
        padding: 10px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 200px;
    }
    
    /* Footer Mobile */
    #footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .logo-footer img {
        max-width: 110px;
    }
    
    .logo-footer h4 {
        font-size: 1.1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .copyright {
        padding: 15px 0;
        font-size: 0.8rem;
    }
}

/* Móvil muy pequeño (360px y menos) */
@media (max-width: 360px) {
    #menu ul li {
        font-size: 14px;
        margin: 0 5px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .onda-info {
        padding: 20px 15px;
    }
    
    .onda-info h3 {
        font-size: 1.4rem;
    }
    
    .icono-servicio {
        font-size: 2rem;
    }
    
    .paquete {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}