:root {
    --black-bg: #0a0a0a;
    --red-accent: #e62e2d;
    --white: #ffffff;
    --gray-text: #cccccc;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body { background-color: #111; overflow-x: hidden; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* TOP BAR */
.top-bar {
    background-color: var(--black-bg);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #333;
}
.top-info i { color: var(--red-accent); margin-right: 5px; }
.top-info span { margin-right: 20px; }
.top-social a { color: var(--white); margin-left: 15px; transition: 0.3s; }
.top-social a:hover { color: var(--red-accent); }

/* NAVBAR */
.navbar {
    background-color: var(--black-bg);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    
}
.logo img { height: 80px; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin: 0 15px; position: relative; }
.nav-links a {
    color: var(--white); text-decoration: none;
    font-weight: 600; font-size: 15px; transition: 0.3s;
}

/* BOTÓN TELÉFONO */
.btn-phone {
    border: 2px solid var(--white); color: var(--white);
    padding: 10px 25px; border-radius: 50px;
    text-decoration: none; font-weight: bold;
    display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-phone:hover { background-color: var(--white); color: var(--black-bg); }

/* DROPDOWN DESKTOP */
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background-color: #000; min-width: 250px;
    list-style: none; display: none; padding: 0;
    border: 1px solid #333; z-index: 1001;
}
.dropdown-menu li { margin: 0; width: 100%; }
.dropdown-menu li a {
    display: flex; justify-content: space-between;
    padding: 12px 20px; font-size: 14px;
}
.dropdown-menu li:hover > a { background-color: var(--red-accent); color: #fff; }

/* SUBMENÚ LATERAL */
.submenu-side {
    position: absolute; left: 100%; top: 0;
    background-color: #000; min-width: 230px;
    display: none; border-left: 1px solid #333;
}
.has-submenu:hover > .submenu-side { display: block; }
.dropdown:hover > .dropdown-menu { display: block; }

/* WHATSAPP FLOTANTE */
.wsp-float {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50px;
    text-align: center; font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; z-index: 2000;
    transition: 0.3s;
}
.wsp-float:hover { transform: scale(1.1); background-color: #20b358; }

/* --- RESPONSIVE --- */
.mobile-menu-icon { display: none; color: white; font-size: 24px; cursor: pointer; }

@media (max-width: 992px) {
    .nav-links {
        position: fixed; top: 125px; left: -100%;
        width: 100%; height: calc(100vh - 125px);
        background-color: #000; flex-direction: column;
        transition: 0.4s; padding: 20px; overflow-y: auto;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; width: 100%; }
    .nav-cta { display: none; }
    .mobile-menu-icon { display: block; }
    .top-text-desktop { display: none; }

    /* En móvil los submenús se despliegan hacia abajo */
    .dropdown-menu, .submenu-side {
        position: static; display: none;
        width: 100%; border: none; background-color: #111;
    }
    .dropdown.active > .dropdown-menu,
    .has-submenu.active > .submenu-side { display: block; }
}

.hero-impact {
    background-color: #000000; /* Fondo negro puro */
    color: #ffffff;
    padding: 100px 20px 150px 20px; /* Espaciado interno */
    text-align: center;
    position: relative;
    /* Crear el efecto de corte diagonal en el fondo */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-impact {
    max-width: 900px;
    margin: 0 auto;
}

.impact-title {
    font-size: 3.5rem; /* Tamaño grande para el título */
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
}

.impact-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-red {
    color: #e62e2d; /* El rojo exacto de tu marca */
    font-weight: bold;
    text-decoration: none;
}

.impact-call {
    font-size: 1.4rem;
    font-weight: bold;
}

/* Ajustes para Celulares */
@media (max-width: 768px) {
    .impact-title {
        font-size: 2.2rem;
    }
    
    .impact-text, .impact-call {
        font-size: 1.1rem;
    }
    
    .hero-impact {
        padding: 60px 20px 100px 20px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }
}

.services-summary {
    background-color: #ffffff; /* Fondo blanco */
    padding: 60px 20px; /* Espaciado arriba y abajo */
    text-align: center;
}

.summary-text {
    max-width: 850px; /* Limita el ancho para que se vea en tres líneas como en la imagen */
    margin: 0 auto;
    font-size: 1.15rem; /* Tamaño de fuente equilibrado */
    line-height: 1.8; /* Espaciado entre líneas para facilitar la lectura */
    color: #333333; /* Gris oscuro profesional */
    font-weight: 500;
}

/* Ajuste para que en móviles no se vea muy pegado a los bordes */
@media (max-width: 768px) {
    .services-summary {
        padding: 40px 15px;
    }
    .summary-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.services-grid {
 background-color: #ffffff;
    padding: 60px 0;
    /* Esto asegura que el contenido interno no toque los bordes */
    display: flex;
    justify-content: center;
}

.grid-layout {
display: flex;
    /* Centra las tarjetas horizontalmente */
    justify-content: center; 
    /* Alinea las tarjetas verticalmente si tienen alturas distintas */
    align-items: flex-start; 
    /* Espacio entre las dos tarjetas */
    gap: 40px; 
    /* Permite que en celulares se pongan una debajo de otra */
    flex-wrap: wrap; 
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    width: 450px; /* Ancho similar al de la captura */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra suave */
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Efecto al pasar el mouse */
}

.card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    display: block;
}

.card-content {
    padding: 40px 30px;
    text-align: center;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
    min-height: 60px; /* Alinea los botones aunque el texto varíe */
}

.btn-more {
    background-color: #0a0a0a; /* Negro como en la imagen */
    color: #fff;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px; /* Botón bien redondeado */
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.3s;
}

.btn-more:hover {
    background-color: #e62e2d; /* Cambia a rojo al pasar el mouse */
}

/* Línea roja decorativa en la parte inferior */
.card-border-bottom {
    height: 5px;
    background-color: #e62e2d;
    width: 100%;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .service-card {
        width: 100%;
        max-width: 380px;
    }
    .grid-layout {
        padding: 0 15px;
    }
}

.brands-section {
    background-color: #ffffff;
    padding: 60px 0 80px 0;
    text-align: center;
}

.brands-title {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* Responsive para que sea cómodo de leer en móviles */
@media (max-width: 768px) {
    .general-services {
        padding: 40px 15px;
    }
    .services-subtitle {
        font-size: 1.2rem;
    }
}

.main-footer {
    background-color: #0a0a0a; /* Negro profundo */
    color: #ffffff;
    padding: 60px 0 0 0;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
    gap: 40px;
    padding: 0 20px 60px 20px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.6;
    color: #ccc;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

/* El punto pequeño antes de los servicios */
.footer-list li::before {
    content: "•";
    color: #fff;
    position: absolute;
    left: 0;
}

.footer-list li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list li a:hover {
    color: #e62e2d; /* Rojo al pasar el mouse */
}

.footer-contact-info p {
    margin-bottom: 15px;
    color: #ccc;
}

.highlight-red {
    color: #e62e2d;
    font-weight: bold;
}

/* Barra inferior de copyright */
.footer-bottom {
    background-color: #000000;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #888;
}

/* Responsivo para tablets y celulares */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 columnas en tablets */
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 columna en celulares */
        text-align: center;
    }
    
    .footer-list li {
        padding-left: 0;
    }
    
    .footer-list li::before {
        display: none;
    }
}


/* Contenedor General */
.cableado-hero-section {
    width: 100%;
    background-color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.cableado-grid-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 550px;
}

/* Sección de Imagen */
.cableado-image-wrapper {
    flex: 1;
    min-width: 350px;
}

.cableado-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sección de Texto */
.cableado-text-content {
    flex: 1;
    min-width: 350px;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #000;
    color: #ffffff;
}

.cableado-category {
    color: #e30613; /* Rojo corporativo */
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.cableado-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.cableado-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 35px;
    max-width: 550px;
}

.cableado-description strong {
    color: #fff;
}

/* Línea de llamada a la acción secundaria */
.cableado-cta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: #ffffff;
    font-style: italic;
}

.cableado-icon {
    color: #e30613;
    font-size: 1.2rem;
}

/* Botón Blanco */
.cableado-btn-white {
    display: inline-block;
    width: fit-content;
    background-color: #ffffff;
    color: #000000;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cableado-btn-white:hover {
    background-color: #e30613;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Adaptación para móviles */
@media (max-width: 850px) {
    .cableado-grid-container {
        flex-direction: column;
    }
    
    .cableado-text-content {
        padding: 50px 30px;
        text-align: center;
    }

    .cableado-main-title {
        font-size: 2.5rem;
    }

    .cableado-cta-line {
        justify-content: center;
    }

    .cableado-btn-white {
        margin: 0 auto;
    }
}

.redes-exito-section {
    padding: 70px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.redes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Columna informativa */
.redes-info-col {
    padding-right: 15px;
}

.redes-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.redes-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 15px;
}

.redes-highlight {
    font-weight: 800;
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Botón con estilo de píldora negra */
.redes-btn-phone {
    display: inline-block;
    background-color: #0c0c0c;
    color: #fff;
    padding: 14px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.redes-btn-phone:hover {
    transform: translateY(-3px);
    background-color: #333;
}

/* Tarjetas de servicios de red */
.redes-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-bottom: 4px solid #d32f2f; /* Borde rojo característico */
    height: 100%;
}

.redes-card-img {
    width: 100%;
    height: 240px;
}

.redes-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.redes-card-footer {
    padding: 25px 15px;
    text-align: center;
}

.redes-card-footer p {
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 992px) {
    .redes-container {
        grid-template-columns: 1fr 1fr;
    }
    .redes-info-col {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .redes-container {
        grid-template-columns: 1fr;
    }
    .redes-info-col {
        grid-column: span 1;
    }
}

.networking-full-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.nw-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Columna Imagen */
.nw-image-side {
    flex: 1;
    position: sticky;
    top: 20px;
}

.nw-main-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Columna Texto */
.nw-text-side {
    flex: 1.2;
}

.nw-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* Subrayado curvado */
.nw-underline {
    position: relative;
    display: inline-block;
}

.nw-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 Q 50 10 100 5" stroke="red" stroke-width="4" fill="transparent" /></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.nw-intro {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: center;
}

/* Items de Servicio */
.nw-service-item {
    margin-bottom: 25px;
}

.nw-service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.nw-check {
    background: #000;
    color: #fff;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.nw-service-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.nw-sublist {
    list-style: none;
    padding-left: 32px;
}

.nw-sublist li {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
    position: relative;
}

.nw-sublist li::before {
    content: "•";
    position: absolute;
    left: -15px;
    font-weight: bold;
}

.nw-item-desc {
    padding-left: 32px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* Botón */
.nw-btn-black {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.nw-btn-black:hover {
    opacity: 0.8;
}

/* Responsivo */
@media (max-width: 900px) {
    .nw-container {
        flex-direction: column;
    }
    .nw-image-side {
        position: static;
        width: 100%;
    }
}

