: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: 30px 20px 40px 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: 2.5rem; /* Tamaño grande para el título */
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
}

.impact-text {
    font-size: 1.1rem;
    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: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Espacio entre logos */
    flex-wrap: wrap; /* Para que bajen en móviles */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-item {
    flex: 0 1 auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-item img {
    max-width: 150px; /* Tamaño máximo de cada logo */
    height: auto;
    opacity: 0.9;
}

/* Efecto al pasar el mouse: los logos cobran color */
.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Ajustes para Celulares */
@media (max-width: 768px) {
    .brands-grid {
        gap: 30px;
    }
    .brand-item img {
        max-width: 120px;
    }
    .brands-title {
        font-size: 1.2rem;
    }
}

.general-services {
    background-color: #ffffff;
    padding: 60px 20px;
    color: #333333;
    line-height: 1.6;
}

.container-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left; /* Alineación a la izquierda como en la foto */
}

.intro-paragraph {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.benefits-list, .types-list {
    list-style: none; /* Quitamos los puntos por defecto */
    padding-left: 0;
    margin-bottom: 30px;
}

/* Estilo personalizado para los puntos de la lista */
.benefits-list li, .types-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.benefits-list li::before, .types-list li::before {
    content: "•"; /* Punto personalizado */
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.services-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 25px 0;
    color: #000;
}

/* 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;
    }
}
.ser-gg {
    white-space: nowrap;      /* Mantiene todo en una línea */
    display: block;
    width: 100%;              /* Ocupa el ancho del contenedor */
    text-align: center;       /* Lo mantiene centrado como en tu imagen */
    
    /* CONTROL DE TAMAÑO */
    font-size: clamp(1.2rem, 4vw, 1.8rem); /* Se encoge en celulares y crece en PC */
    font-weight: 800;         /* Le da ese toque robusto de la imagen */
    letter-spacing: -0.5px;   /* Reduce el espacio entre letras para que quepa mejor */
    
    /* OPCIONAL: Si aun así es muy largo, esto evita que rompa el diseño */
}

.logo img {
    width: 180px; /* Ajusta este valor a tu gusto */
    height: auto;  /* Mantiene la proporción para que no se vea estirado */
}