/* Reset básico de estilos para evitar diferencias entre navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Estilos generales del cuerpo de la página */
  body {
    font-family: Arial, sans-serif; /* Fuente general */
    background: rgb(255, 255, 255); /* Color de fondo gris claro */
  }
  
  /* Estilos para la barra de navegación */
  .navbar {
    display: flex; /* Alineación horizontal de los elementos internos */
    align-items: center; /* Centrado vertical de los elementos */
    justify-content: space-between; /* Espacio entre logo y enlaces */
    padding: 10px 20px; /* Espaciado interno */
    background-color: #ffffff; /* Fondo claro */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Sombra inferior sutil */
    position: sticky; /* Mantener fija arriba al hacer scroll */
    top: 0;
    z-index: 1000; /* Prioridad alta para superponer sobre otros elementos */
  }
  
  /* Estilos para el logo */
  .logo img {
    height: 40px; /* Altura del logo */
  }
  
  /* Contenedor de los enlaces de navegación */
  .nav-links {
    display: flex; /* Enlaces en línea horizontal */
    gap: 20px; /* Espacio entre los enlaces */
  }
  
  /* Estilos de los enlaces de navegación */
  .nav-links a {
    text-decoration: none; /* Sin subrayado */
    color: #333; /* Color oscuro */
    font-weight: 500; /* Peso medio */
    transition: color 0.3s ease; /* Transición de color al pasar el cursor */
  }
  
  /* Color al pasar el mouse sobre los enlaces */
  .nav-links a:hover {
    color: #007bff; /* Azul al pasar el mouse */
  }
  
  /* Ícono hamburguesa para móviles */
  .hamburger {
    display: none; /* Oculto por defecto */
    font-size: 24px; /* Tamaño del ícono */
    cursor: pointer; /* Cambiar cursor al pasar */
  }
  
  /* Contenedor del logo con texto */
  .logo {
    display: flex; /* Alineación horizontal */
    align-items: center; /* Centrado vertical */
    gap: 8px; /* Espacio entre ícono y texto */
  }
  
  /* Texto al lado del logo */
  .logo-text {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
  }
  
  /* Estilos para pantallas pequeñas (móviles) */
  @media (max-width: 768px) {
    .nav-links {
      display: none; /* Ocultar menú por defecto */
      flex-direction: column; /* Enlaces uno debajo del otro */
      position: absolute;
      top: 60px;
      right: 20px;
      background: white;
      padding: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Sombra más visible */
    }
  
    .nav-links.active {
      display: flex; /* Mostrar menú cuando se activa */
    }
  
    .hamburger {
      display: block; /* Mostrar hamburguesa en móviles */
    }
  }
  
  /* Barra superior para contacto o avisos */
  .barra-contacto {
    width: 100%;
    background-color: #251616; /* Fondo oscuro */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    position: relative;
    z-index: 999;
  }
  
  /* CONTENEDOR de los botones dobles de acción (WhatsApp y Llamar) */
  .botones-dobles {
    display: flex;               /* Mostrar los botones en fila */
    gap: 10px;                   /* Espacio entre los botones */
    justify-content: center;    /* Centrado horizontal */
    padding: 20px;              /* Espaciado alrededor */
    flex-wrap: wrap;            /* Permitir que pasen a la siguiente línea si no entran */
  }
  
  /* Estilos para cada botón de contacto */
  .botones-dobles .boton-contactar {
    flex: 1 1 200px;             /* Que ocupe al menos 200px pero se adapte */
    max-width: 300px;           /* No más de 300px de ancho */
    min-height: 45px;           /* Altura mínima para uniformidad */
    margin-bottom: 10px;        /* Espacio inferior entre filas en móviles */
    display: flex;              /* Activar flexbox interno */
    align-items: center;        /* Centrar verticalmente el texto */
    justify-content: center;    /* Centrar horizontalmente el texto */
    border-radius: 50px;        /* Bordes redondeados estilo pill */
    padding: 10px 20px;         /* Espaciado interno */
    background-color: #c58815;  /* Fondo dorado */
    color: rgb(255, 255, 255);               /* Texto negro */
    text-decoration: none;      /* Sin subrayado */
    font-weight: bold;          /* Texto en negrita */
    box-shadow: none;           /* Sin sombra */
    border: 2px solid #c58815;  /* Borde dorado */
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  /* Efecto al pasar el mouse por el botón */
  .botones-dobles .boton-contactar:hover {
    background-color: #a46f10;  /* Dorado más oscuro */
    color: white;               /* Texto blanco */
  }
  
  .info-seccion {
    text-align: center; /* Centra el texto horizontalmente */
    padding: 40px 20px; /* Espaciado interior opcional */
  }
  
  .info-seccion {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
    text-align: center; /* Centra el texto */
    padding: 40px 30px;
  }
  
  .titulo {
    font-family: 'Inter', sans-serif;
    font-size: 1.0 rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .texto {
    font-family: 'Inter', sans-serif;
    font-size: 0.9 rem; /* Tamaño cómodo para leer (18px aprox) */
    color: #444444d5; /* Gris oscuro para buena legibilidad */
    line-height: 1.6; /* Espaciado entre líneas */
    max-width: 800px; /* Limita el ancho para que no se vea tan largo */
    margin: 0 auto; /* Centrado horizontal */
    text-align: center; /* Centrado del texto */
    padding: 0 20px; /* Un poco de espacio a los costados en pantallas pequeñas */
  }
  
  .btncontactar {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }
  
  .btncontactar:hover {
    background-color: #0056b3;
  }
  
  
  .servicios-destacados {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 10px;
  }
  
  .card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
  }
  
  .card-titulo {
    font-size: 9.0 rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .card-texto {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
  }
  .productos-seccion {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10 px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 6.5 rem;
    color: #3f3d3d;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .titulo-productos {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10 px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.20rem;
    color: #3f3d3d;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .espacio {
    margin-top: 40px; /* Espacio arriba */
    margin-bottom: 60px; /* Espacio abajo */
  }
  
  .espacio1 {
    margin-top: 20px; /* Espacio arriba */
    margin-bottom: 20px; /* Espacio abajo */
  }
  
  /* Estilos generales */
  body {
  font-family: Arial, sans-serif;
  }
  
  /* Botón flotante */
  #chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  }
  
  /* Widget del chat */
  #chat-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  height: 400px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index: 999;
  }
  
  /* Área del chat */
  #chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
  background-color: #fff;
  }
  
  /* Formulario */
  #chat-form {
  display: flex;
  border-top: 1px solid #ccc;
  }
  
  #chat-form input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  }
  
  #chat-form button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  }
  
  /* Mensajes */
  .message {
  margin-bottom: 10px;
  }
  
  .message .user {
  font-weight: bold;
  color: #007bff;
  }
  
  .message .bot {
  font-weight: bold;
  color: #28a745;
  }
  
  
  .ia-solutions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 10px;
  font-family: Arial, sans-serif;
  }
  
  .solution {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  }
  
  .solution-title {
  flex: 1;
  }
  
  .solution-title h3 {
  color: #1a73e8;
  margin-bottom: 0.5rem;
  }
  
  .solution-products {
  flex: 1;
  }
  
  .solution-products ul {
  list-style-type: none;
  padding: 0;
  }
  
  .solution-products li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5rem;
  }
  
  .solution-products li::before {
  content: "✔";
  color: green;
  position: absolute;
  left: 0;
  }
  
  /* Contenedor centrado */
  .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  }
  
  /* Estilo general de las soluciones */
  .ia-solutions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  }
  
  /* Estilo para cada solución */
  .solution {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 40px;
  flex-wrap: wrap; /* permite adaptarse en móviles */
  }
  
  .solution-title,
  .solution-products {
  flex: 1 1 45%; /* ancho flexible y adaptable */
  }
  
  .solution-products ul {
  list-style: none;
  padding: 0;
  margin: 0;
  }
  
  .solution-products li::before {
  content: "✔️ ";
  color: green;
  margin-right: 5px;
  }
  
  /* Responsivo para pantallas pequeñas */
  @media screen and (max-width: 768px) {
  .solution {
    flex-direction: column;
  }
  .solution-title,
  .solution-products {
    flex: 1 1 100%;
  }
  }
  
  .cta-box {
  max-width: 600px;
  margin: 40px auto;
  background-color: #e8f0fe;
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  }
  
  .cta-box h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #202124;
  }
  
  .cta-box p {
  font-size: 1rem;
  color: #5f6368;
  margin-bottom: 20px;
  }
  
  .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1a73e8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
  background-color: #1669c1;
  }
  
  @media (max-width: 480px) {
  .cta-box {
    padding: 20px 15px;
  }
  
  .cta-box h2 {
    font-size: 1.25rem;
  }
  
  .cta-box p {
    font-size: 0.95rem;
  }
  }