: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: 50px; }
.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: 50px;
    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 principal */
.ins-elec-section {
    width: 100%;
    background-color: #000000 !important; /* Fondo negro total */
    margin: 0;
    padding: 0;
}

.ins-elec-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 550px;
}

.ins-elec-col-img {
    flex: 1 1 50%;
}

.ins-elec-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Columna de texto */
.ins-elec-col-text {
    flex: 1 1 50%;
    background-color: #000000 !important; /* Aseguramos fondo negro */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
}

/* --- ESTILOS DE TEXTO CON PRIORIDAD --- */

.ins-elec-subtitle {
    color: #ff0000 !important; /* Rojo vibrante forzado */
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    text-transform: none !important;
    display: block !important;
}

.ins-elec-main-title {
    color: #ffffff !important; /* Blanco puro forzado */
    font-size: clamp(30px, 5vw, 50px) !important;
    font-weight: 700 !important;
    margin: 0 0 25px 0 !important;
    line-height: 1.1 !important;
    font-family: Arial, sans-serif !important;
}

.ins-elec-description {
    color: #ffffff !important; /* Texto en blanco para que se vea */
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 35px !important;
    opacity: 1 !important; /* Por si acaso había una transparencia */
}

/* Resaltado dentro del texto */
.ins-elec-description strong {
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* Botón */
.ins-elec-btn {
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 16px 45px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ins-elec-container { flex-direction: column; }
    .ins-elec-col-img { height: 300px; }
}


.sol-elec-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sol-elec-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr; /* Texto pequeño, tarjetas grandes */
    gap: 40px;
    align-items: center;
}

/* Estilos de la columna de texto */
.sol-elec-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sol-elec-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

.sol-elec-btn {
    display: inline-block;
    background-color: #0f0f0f;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.sol-elec-btn:hover {
    transform: scale(1.05);
}

/* Estilos de las tarjetas */
.sol-elec-cards {
    display: flex;
    gap: 25px;
}

.sol-elec-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-bottom: 4px solid #cc0000; /* Línea roja de la base */
    transition: translateY 0.3s ease;
}

.sol-elec-card:hover {
    transform: translateY(-5px);
}

.sol-elec-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.sol-elec-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sol-elec-card-footer {
    padding: 20px;
    text-align: center;
}

.sol-elec-card-footer span {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

/* Ajuste para tablets y móviles */
@media (max-width: 992px) {
    .sol-elec-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sol-elec-info {
        max-width: 600px;
        margin: 0 auto;
    }
    .sol-elec-cards {
        flex-direction: column;
    }
}

.serv-list-section {
    width: 100%;
    background-color: #ffffff !important;
    padding: 60px 0;
    font-family: Arial, sans-serif;
}

.serv-list-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Columna Imagen */
.serv-list-image {
    flex: 1 1 45%;
    padding: 20px;
}

.serv-list-image img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* Columna Texto */
.serv-list-content {
    flex: 1 1 50%;
    padding: 20px 40px;
}

.serv-list-title {
    color: #000000 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    text-align: center;
}

/* El subrayado rojo curvo de la imagen */
.serv-list-underline {
    width: 120px;
    height: 4px;
    background-color: #ff0000;
    margin: 0 auto 25px auto;
    border-radius: 10px;
}

.serv-list-intro {
    color: #444444 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 25px !important;
    text-align: center;
}

/* Lista de ítems */
.serv-list-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

.serv-list-items li {
    color: #333333 !important;
    font-size: 14px !important;
    padding: 6px 0 6px 20px !important;
    position: relative;
    line-height: 1.2;
}

/* El punto de la lista (bullet) */
.serv-list-items li::before {
    content: "•";
    color: #444;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Botón Negro */
.serv-list-btn {
    display: block;
    width: fit-content;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    margin: 0 auto; /* Centrado */
    transition: transform 0.2s ease;
}

.serv-list-btn:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 850px) {
    .serv-list-container {
        flex-direction: column;
    }
    .serv-list-content {
        padding: 20px;
    }
}

.serv-list-items {
    list-style: none; /* Quitamos los puntos por defecto */
    padding-left: 0;
}

.serv-list-items li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Línea divisoria tenue */
    padding-bottom: 5px;
}

/* Icono elegante antes de cada servicio */
.serv-list-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db; /* Azul agua */
    font-weight: bold;
}

/* Animación de pulso para el botón de contacto */
.serv-list-btn {
    animation: pulse-button 3s infinite;
}

@keyframes pulse-button {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.logo img {
    width: 180px; /* Ajusta este valor a tu gusto */
    height: auto;  /* Mantiene la proporción para que no se vea estirado */
}