: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;
    }
}


.contact-sec {
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdfdfd;
}

.contact-sec__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

/* Columna Izquierda */
.contact-sec__info {
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
}

.contact-sec__title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.contact-sec__social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-sec__whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 0;
}

.contact-sec__map {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

/* Formulario */
.contact-sec__form-card {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
}

.contact-sec__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-sec__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.contact-sec__group label {
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: #555;
}

.contact-sec__group input, 
.contact-sec__group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
}

.contact-sec__submit {
  width: 100%;
  padding: 12px;
  background-color: #4b3e9a; /* Color morado de la imagen */
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-sec__submit:hover {
  background-color: #3a2f7a;
}

/* Responsivo */
@media (max-width: 768px) {
  .contact-sec__container {
    grid-template-columns: 1fr;
  }
}


.contact-sec__social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-sec__social-link {
  font-size: 24px; /* Tamaño del icono */
  color: #4b3e9a; /* El color morado de la marca */
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-sec__social-link:hover {
  opacity: 0.7;
}

.contact-sec__social-link.instagram:hover {
  color: #E1306C; /* Color característico de Instagram */
}
/* Color original de TikTok (Cian y Rojo) */
.contact-sec__social-link.tiktok:hover {
  color: #ff0050;
  text-shadow: 2px 0 #00f2ea;
}

/* Color original de X (Negro/Blanco) */
.contact-sec__social-link.x-twitter:hover {
  color: #000000;
}


.faq-sec {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.faq-sec__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-sec__title {
  text-align: center;
  font-family: sans-serif;
  color: #333;
  margin-bottom: 40px;
  font-size: 2rem;
}

.faq-sec__item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-sec__question {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4b3e9a; /* Tu color morado */
  cursor: pointer;
  text-align: left;
}

.faq-sec__icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-sec__answer {
  max-height: 0; /* Oculto por defecto */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: #666;
  line-height: 1.6;
}

/* Clase activa para el JS */
.faq-sec__item.active .faq-sec__answer {
  padding-bottom: 20px;
}

.faq-sec__item.active .faq-sec__icon {
  transform: rotate(45deg); /* El + se vuelve x */
}

.benefits-sec {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

.benefits-sec__container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.benefits-sec__title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 50px;
}

.benefits-sec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefits-sec__card {
  padding: 40px 30px;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 25px; /* Manteniendo tu estilo redondeado */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-sec__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: #4b3e9a; /* El morado de tu marca */
}

.benefits-sec__icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.benefits-sec__card-title {
  font-size: 1.4rem;
  color: #4b3e9a;
  margin-bottom: 15px;
}

.benefits-sec__card-text {
  color: #666;
  line-height: 1.6;
}

.contact-sec__header {
  text-align: center;
  width: 100%;
  margin-bottom: 40px; /* Espacio antes de las cajas de contacto */
}

.contact-sec__main-title {
  font-family: 'Segoe UI', sans-serif;
  font-size: 3rem; /* Tamaño grande y legible */
  color: #333;
  margin: 0;
  font-weight: 500;
}

.contact-sec__line {
  width: 60px;
  height: 4px;
  background-color: #4b3e9a; /* El morado que estamos usando */
  margin: 10px auto 0;
  border-radius: 10px;
}