
body  {
    font-family: Arial, sans-serif;
    margin: 0;
  }
.boton-enviar {
  background-color: #2596be;
  color: white;
  padding: 14px 194px; /* Mucho más razonable */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}



.burbuja-inicio {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: #007bff;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burbuja-inicio:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}


/* Contenedor de la burbuja y mensaje */
.floating-container {
  position: fixed;
  left: 30px;
  bottom: 35px;
  display: flex;
  align-items: center;
  z-index: 1000;
}

/* Burbuja flotante */
.floating-bubble {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00618A, #00C7E0);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
}

.floating-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Mensaje de la burbuja */
.bubble-message {
  margin-left: 15px;
  background-color: #333;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.brands-menu {
  position: fixed;
  left: 30px;
  bottom: 105px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  width: 260px;
  /* Ancho fijo */
  height: 220px;
  /* Alto fijo */
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 999;
  resize: both;
  /* Opcional: permite redimensionar manualmente */
  cursor: grab;
  /* Cursor visual para indicar que se puede mover */
}


/* Mostrar el menú */
.brands-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Botones de marcas */
.brand-button {
  padding: 10px 15px;
  margin: 5px 0;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s;
}

.brand-button:hover {
  background: linear-gradient(135deg, #00618A, #00C7E0);
  color: white;
}

/* Barra de búsqueda */
.search-box {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

/* Lista de accesorios */
.accessory-list {
  display: none;
  flex-direction: column;
  margin-left: 15px;
  border-left: 2px solid #00618A;
  padding-left: 10px;
}

.accessory-list.show {
  display: flex;
}

/* Botón para cerrar */
.close-button {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #333;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.close-button:hover {
  color: red;
}

/* Título del menú */
.menu-title {
  margin: 5px 0 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #00618A;
  text-align: center;
}

/* Ocultar mensaje */
.message-hidden {
  opacity: 0;
  pointer-events: none;
}


.accessory-button {
  padding: 6px 10px;
  background-color: #f0f0f0;
  border: none;
  text-align: left;
  cursor: pointer;
  margin-bottom: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.accessory-button:hover {
  background-color: #ddd;
}
.highlighted {
  outline: 4px solid #007bff;
  outline-offset: 4px;
  border-radius: 8px;
  animation: fadeHighlight 2s ease-in-out;
}

@keyframes fadeHighlight {
  0% {
    outline-color: #007bff;
  }

  100% {
    outline-color: transparent;
  }
}








     /* Estilo básico para el mensaje de confirmación */
    #confirmation-message {
      display: none; /* Inicialmente oculto */
      background-color: #4CAF50;
      color: white;
      padding: 15px;
      margin-top: 20px;
      border-radius: 5px;
      text-align: center;
      font-size: 16px;
    }

    /* Estilo para cuando el mensaje se muestre */
    #confirmation-message.show {
      display: block;
    } 

.form-container {
    padding-top: 150px; /* Añade un padding superior solo al formulario */
}

/* Contenedor de los botones */
.social-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center; /* Centra horizontalmente */
  flex-wrap: wrap; /* Para que en móviles se acomode verticalmente */
}

/* Botón común para todos */
.social-btn {
  display: flex;
  align-items: center; /* Alinea verticalmente el texto y el icono */
  justify-content: center; /* Centra el texto y el icono */
  padding: 12px 20px; /* Asegura un tamaño uniforme */
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  height: 50px; /* Fuerza una altura uniforme en todos los botones */
  line-height: 50px; /* Alinea verticalmente el texto en el centro */
  vertical-align: middle; /* Asegura que los botones no se desalineen */
}

/* Botón WhatsApp */
.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

.whatsapp-icon {
  width: 20px; /* Tamaño uniforme para el icono */
  height: 20px;
  margin-right: 10px; /* Espacio entre el icono y el texto */
}

/* Botón Facebook */
.facebook-btn {
  background-color: #1877F2;
  color: white;
}

.facebook-btn:hover {
  background-color: #145dbf;
}

.facebook-icon {
  width: 20px; /* Tamaño uniforme para el icono */
  height: 20px;
  margin-right: 10px; /* Espacio entre el icono y el texto */
}

  /* Estilo general del contenedor */
/* Estilo general del contenedor */
/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 120px auto 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

form {
  max-width: 500px;
  margin: 20px auto; /* Espacio extra desde la parte superior */
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 8px 12px;
  margin: 8px 0 16px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  resize: vertical;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}



input[type="checkbox"] {
  margin-right: 8px;
}


.fieldset {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background-color: #fff;
}

.legend {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 10px;
}

/* Estilos de las etiquetas */
.label {
  font-size: 1em;
  color: #555;
  margin-bottom: 5px;
}

/* Estilos de los campos de entrada */
.input, .select, .textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  color: #333;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Estilos del área de texto */
.textarea {
  min-height: 100px;
  resize: vertical;
}

/* Campos condicionales */
.conditional-fields {
  margin-top: 10px;
  padding-left: 20px;
}

.conditional-fields input {
  margin-top: 10px;
}

/* Estilos de la casilla de verificación */
.checkbox-label {
  font-size: 0.9em;
  color: #555;
  display: flex;
  align-items: center;
}

.checkbox {
  margin-right: 10px;
}

/* Botón de envío */
.submit-button {
  padding: 12px 194px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#loader {
  margin-left: 8px;
}


.submit-button:hover {
  background-color: #0056b3;
}

/* Estilo para los enlaces */
a {
  color: #007BFF;
  text-decoration: none;
}



/* Estilos para la responsividad */
@media (max-width: 768px) {
  .form-container {
    padding: 15px;
  }

  .form-title {
    font-size: 1.8em;
  }

  .contact-form {
    gap: 15px;
  }

  .fieldset {
    padding: 15px;
  }

  .label, .input, .select, .textarea {
    font-size: 0.95em;
  }

  .submit-button {
    font-size: 1em;
  }
}


/* Tarjetas/categorías */
.category {
  width: 250px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Asegura que el contenido se distribuya bien */
  height: 400px; /* Asegura que las tarjetas tengan un tamaño consistente */
}

.category:hover {
  transform: scale(1.03);
}

/* Contenedor de imagen (clave para tamaño fijo) */
.img-container {
  width: 250px;
  height: 180px;
  position: relative; /* Necesario para apilar las imágenes */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #e0e0e0;
  overflow: hidden;
}

/* Imágenes (fade-in y tamaño fijo) */
.category .img {
  position: absolute; /* Apilar las imágenes */
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0; /* Comienza invisibles */
  transition: opacity 1s ease-in-out; /* Animación de fade */;
}


/* Icono de WhatsApp */
.whatsapp-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* Clase para hacer visible la imagen */
.category .img.visible {
  opacity: 1; /* Hace visible la imagen */
}

/* Efecto hover */
.category .img:hover {
  transform: scale(1.05); /* Efecto zoom al hover */
}

/* Títulos con color #2596be */
.category h3 {
  margin-top: 10px;
  color: #2596be; /* Color azul especificado */
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 10px;
  flex-grow: 1; /* Permite que el título crezca para ocupar espacio */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
  
  /* Lista de equipos */
  .category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
  }
  
  .category ul li {
    margin-bottom: 5px;
    font-size: 14px;
  }
  .Portada {
    position: relative;
    width: 100%;
    height: 620px;/*ALTURA DE PORTADA */
    overflow: hidden;
  }
  
  .Portada-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    opacity: 0;
    animation: fadeImages 15s infinite;
  }
  
  .Portada-img:nth-child(1) { animation-delay: 0s; }
  .Portada-img:nth-child(2) { animation-delay: 5s; }
  .Portada-img:nth-child(3) { animation-delay: 10s; }
  
  @keyframes fadeImages {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
  }
  
  /* --- Contenedor del texto CENTRADO --- */
  .contenido-Portada {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Reducido para permitir márgenes */
    max-width: 1200px;
    display: flex; /* Activamos flexbox */
    justify-content: space-between; /* Separa los elementos */
    align-items: center; /* Centra verticalmente */
    text-align: left; /* Alineación general */
}

.texto-Portada {
    width: 45%;
    color: white; /* Ancho reducido */
    text-align: right; /* Alineación a la derecha */
    padding-right: 30px; /* Espaciado interno */
}

.texto-Portada p {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: pulse 3s infinite;
}

.texto-Portada2 {
  width: 100%;
  max-width: 800px; /* Controla el ancho máximo */
  margin-left: 50px; /* Ajusta según tu diseño */
}

.texto-Portada2 p {
  font-size: 2.2rem; /* Tamaño aumentado (equivalente a ~35px) */
  line-height: 1.4;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
  padding: 0;
}

.texto-Portada2 strong {
  font-size: 2.5rem; /* Palabras clave un 15% más grandes */
  color: #2596be;
  font-weight: 700;
  letter-spacing: 0.5px; /* Mejor legibilidad */
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(37, 150, 190, 0.4); /* Efecto glow sutil */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes pulse-strong {
  0% { opacity: 0.9; }
  50% { opacity: 1; text-shadow: 0 0 8px rgba(37, 150, 190, 0.6); }
  100% { opacity: 0.9; }
}
@media (max-width: 768px) {
  .texto-Portada2 {
    margin-left: 20px;
    padding: 0 15px;
  }
  
  .texto-Portada2 p {
    font-size: 1.6rem; /* Reducción para móviles */
  }
  
  .texto-Portada2 strong {
    font-size: 1.8rem;
  }
}

.texto-Portada2 strong {
  animation: pulse-strong 3s infinite;
}
/* HEADER PRINCIPAL */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgb(168, 168, 168);
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.baner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  width: 100%;
}

/* Logo */
#logo {
  display: flex;
  align-items: center;
  margin-right: auto; /* Empuja el logo a la izquierda */
}

#logo img {
  height: 50px;
  width: auto;
  max-width: 240px;
  min-width: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Estilos del botón hamburguesa */
.menu-toggle {
  display: none; /* Oculto en desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  order: 2; /* Posición en el flexbox */
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Menú principal */
.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Estilos para móvil */
@media (max-width: 768px) {
  .baner {
    justify-content: space-between;
    padding: 10px;
  }
  
  .menu-toggle {
    display: block; /* Mostrar solo en móvil */
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(168, 168, 168);
    flex-direction: column;
    padding: 10px 0;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .e-barra {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
  
  .dropdown-grid {
    display: none;
    position: static;
    width: 90%;
    margin: 0 auto;
  }
  
  .dropdown.active .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navegación principal */
.main-nav {
  display: flex;
  gap: 0px;
  align-items: center;
  transition: all 0.3s ease;
}

/* Elementos del menú */
.e-barra {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
  padding: 10px 12px;
  white-space: nowrap;
  display: inline-block;
}

.e-barra:hover {
  color: #045b85;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-grid {
  display: none;
  position: absolute;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1001;
  grid-template-columns: repeat(4, 1fr); /*4 por fila*/
  gap: 10px;
  width: 90vw;
  max-width: 700px;/*tamaño de la cajita gris*/
  left: 100%;
  transform: translateX(-50%);
  
}

.dropdown:hover .dropdown-grid {
  display: grid;
}

.dropdown-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #a8a8a8;
  padding: 15px 10px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 5px;
  position: relative;
  overflow: hidden;
}
/*sombreado*/
.dropdown-grid a:hover {
  background-color: #e0f4ff;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.dropdown-grid i {
  font-size: 24px;
  margin-bottom: 10px;
  color: #2596be;
  transition: all 0.3s ease;
}

.dropdown-grid span {
  font-size: 12px;
  font-weight: bold;
  color: #FFFFFF;
  transition: all 0.3s ease;
  position: relative;
}

/* Cambios de color al hacer hover */
.dropdown-grid a:hover i,
.dropdown-grid a:hover span {
  color: #045b85;
}

.dropdown-grid a.rayox {
  grid-column: span 2; /* Hace que ocupe todo el ancho de la grilla */
  font-size: 18px;      /* Aumenta el tamaño del texto */
  padding: 20px 15px;   /* Más espacio alrededor */
  background-color: #a8a8a8; /* Fondo diferente si quieres destacarlo */
  
  display: flex;           /* Usamos flexbox para centrar contenido */
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
  text-align: center;      /* Asegura que el texto esté centrado */
}

.dropdown-grid a.rayox:hover {
  background-color: #e0f4ff;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.dropdown-grid a.rayox span {
  font-size: 16px;
}

.dropdown-grid a.rayox i {
  font-size: 32px;
}

.dropdown-grid a.rayox1 {
  grid-column: span 4;
  /* Hace que ocupe todo el ancho de la grilla */
  font-size: 18px;
  /* Aumenta el tamaño del texto */
  padding: 20px 15px;
  /* Más espacio alrededor */
  background-color: #a8a8a8;
  /* Fondo diferente si quieres destacarlo */

  display: flex;
  /* Usamos flexbox para centrar contenido */
  justify-content: center;
  /* Centra horizontalmente */
  align-items: center;
  /* Centra verticalmente */
  text-align: center;
  /* Asegura que el texto esté centrado */
}

.dropdown-grid a.rayox1:hover {
  background-color: #e0f4ff;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.dropdown-grid a.rayox1 span {
  font-size: 16px;
}

.dropdown-grid a.rayox1 i {
  font-size: 32px;
}


/* Estilos solo para el dropdown de refacciones */
.dropdown-grid.dropdown-grid-refacciones {
  display: none;
  position: absolute;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  grid-template-columns: repeat(2, 1fr); /* 2 por fila */
  gap: 8px;
  width: 40vw; /* Reducido el ancho */
  max-width: 400px; /* Tamaño máximo reducido */
  left: 50%;
  transform: translateX(-50%);
}

.dropdown:hover .dropdown-grid.dropdown-grid-refacciones {
  display: grid;
}

.dropdown-grid.dropdown-grid-refacciones a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #a8a8a8;
  padding: 10px 8px; /* Menos padding */
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 5px;
  position: relative;
  overflow: hidden;
}

.dropdown-grid.dropdown-grid-refacciones a:hover {
  background-color: #e0f4ff;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.dropdown-grid.dropdown-grid-refacciones i {
  font-size: 20px; /* Íconos más pequeños */
  margin-bottom: 8px;
  color: #2596be;
  transition: all 0.3s ease;
}

.dropdown-grid.dropdown-grid-refacciones span {
  font-size: 14px; /* Texto más pequeño */
  font-weight: bold;
  color: #FFFFFF;
  transition: all 0.3s ease;
  position: relative;
}

/* Efecto hover para cambiar el color del texto e icono */
.dropdown-grid.dropdown-grid-refacciones a:hover i,
.dropdown-grid.dropdown-grid-refacciones a:hover span {
  color: #045b85;
}

/* Media Queries para responsividad */
@media (max-width: 1024px) {
  .e-barra {
    padding: 10px 8px;
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .baner {
    justify-content: space-between;
  }
  
  .main-nav {
    gap: 5px;
  }
  
  .e-barra {
    font-size: 14px;
    padding: 10px 6px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgb(168, 168, 168);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .main-nav.active {
    max-height: 100vh;
    padding: 10px 0;
    overflow-y: auto;
  }
  
  .e-barra {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .dropdown {
    width: 100%;
  }
  
  .dropdown-grid {
    display: none;
    position: static;
    grid-template-columns: 1fr;
    width: 90%;
    margin: 10px auto;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
  }
  
  .dropdown.active .dropdown-grid {
    display: grid;
  }
  
  .dropdown-grid a {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
  }
  
  #logo img {
    height: 40px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .baner {
    padding: 8px;
  }

  #logo img {
    height: 35px;
    max-width: 180px;
  }

  .e-barra {
    font-size: 14px;
  }
  
  .main-nav {
    top: 60px;
  }
}
  
  .textoPortada {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    color: white;
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('imagenesdeReparaciondeEquipo/REPARACION_DE_EQUIPOS/REPARACION\ DE\ EQUIPOS.jpg') center/cover no-repeat;
    border-radius: 20px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }
  
  .textoPortada:hover {
    transform: scale(1.01);
  }
  
  .textoPortada h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    font-weight: 700;
  }

/* Contenedor del laboratorio */
.container_laboratorio {
  max-width: 1000px;
  margin: 60px auto 30px auto;
  padding: 0 15px;
  position: relative;
}

/* Categoría del laboratorio */
.category_laboratorio {
  width: 100%;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.category_laboratorio:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Contenedor del carrusel */
.carrusel-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: center; /* Centrado horizontal */
  align-items: center; /* Centrado vertical */
}



/* Estilos de las imágenes */
.img_laboratorio {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 8px;
  object-fit: cover; /* Recorta excedentes pero llena todo */
  top: 0;
  left: 0;
}

/* Animación para el fade */
@keyframes fadeImages {
  0%, 100% {
    opacity: 0; /* Desvanecida al principio y al final */
  }
  33% {
    opacity: 1; /* Imagen visible a la mitad de la animación */
  }
  66% {
    opacity: 0; /* Desaparece otra vez antes de pasar a la siguiente */
  }
}

/* Animación del carrusel */
.img_laboratorio:nth-child(1) {
  animation: carrusel 9s infinite;
}

.img_laboratorio:nth-child(2) {
  animation: carrusel 9s infinite 3s;
}

.img_laboratorio:nth-child(3) {
  animation: carrusel 9s infinite 6s;
}
@keyframes carrusel {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

/* Título con letras azules */
.category_laboratorio h3 {
  color: #2596be;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .container_laboratorio {
    margin: 40px auto 20px auto;
  }
  
  .carrusel-container {
    height: 200px;
  }
  
  .category_laboratorio h3 {
    font-size: 1.1rem;
  }
}

/* Efecto hover: agrandar la imagen al pasar el ratón */
.category_laboratorio:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.category_laboratorio .img_laboratorio:hover {
  transform: scale(1.05); /* Se agranda un poco */
  transition: transform 0.3s ease-in-out;
}

/* Versión responsive */
@media (max-width: 768px) {
  .container_laboratorio {
    margin: 40px auto 20px auto;
  }

  .img_laboratorio {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .img_laboratorio {
    height: 200px;
    border-radius: 8px; /* Bordes redondeados más pequeños en pantallas pequeñas */
  }
}
  
  .logo-carrusel {
  overflow: hidden;
  width: 100%;
  background: #fff;
  padding: 20px 0;
  position: relative;
  }
  
  .logo-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  gap: 40px;
  }

/* Duplica los logos para crear un efecto de bucle continuo */
.logo-track::before {
  content: "";
  display: flex;
  gap: 40px;
}

  .menu-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
  padding: 10px 12px;
  white-space: nowrap;
  display: inline-block;
}

.menu-link:hover {
  color: #045b85;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.dropdown-grid-small {
  grid-template-columns: repeat(2, 1fr) !important;
}
  
  /* Diseño General */
  .mantenimientosPyC {
    padding: 0.5rem 1rem; /* Casi sin espacio arriba */
    margin-top: 0; /* Por si había margen */
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
  }
  
  .container.mantenimiento-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start; /* Hace que los elementos estén arriba */
  }
  
  .mantenimiento {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem; /* Un poco menos de padding interno */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 400px;
    max-width: 500px;
    text-align: center;
  }
  
  .mantenimiento h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0077b6;
  }
  
  .mantenimiento p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem; /* Más compacto */
  }
  
  /* Contenedor de Imágenes */
  .fade-container-mantenimiento {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0.8rem;
  }
  
  /* Imágenes */
  .fade-container-mantenimiento img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  /* Imagen activa */
  .fade-container-mantenimiento img.active {
    opacity: 1;
  }
  
  .logo-track img {
    height: 100px;
    margin-right: 40px;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  .textoPortada p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .textoPortada .img {
    display: none; /* Ocultamos la imagen ya que ahora es fondo */
  }
  .encabezado {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: white;
    border-radius: 20px;
    margin: 120px auto 40px auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
  }
  
  .encabezado:hover {
    transform: scale(1.01);
  }
  
  .encabezado h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
  }
  
  .encabezado p {
    font-size: 1.3rem;
    max-width: 800px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }

.titulo-empresas {
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #045b85;
  margin-bottom: 30px;
  margin-top: -80px; /* Puedes ajustar según el diseño */
}

  .titulo-empresas2 {
    text-align: center;
    color: #045b85; /* azul elegante */
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
  }
  #whatsapp-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  #whatsapp-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  #whatsapp-logo:hover img {
    transform: scale(1.1);
  }
  
  /* Estilo base */
.logo-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: 'Arial', sans-serif;
}

.logo-container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.logo-logo img {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

/* Globo de texto - Visible inicialmente */
.speech-bubble {
  position: absolute;
  right: 70px;
  background: white;
  padding: 10px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  width: max-content;
  max-width: 180px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}

/* Menú de opciones */
.contact-options {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 180px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.contact-option:hover {
  background: #f5f5f5;
  transform: translateX(-5px);
}

.contact-option img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  object-fit: contain;
}

.whatsapp-option {
  color: #075E54;
}

.facebook-option {
  color: #1877F2;
}

/* Estados interactivos */
.logo-container:hover .logo-logo img {
  transform: scale(1.1);
}

.logo-container.active .contact-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-container.active .speech-bubble {
  opacity: 0; /* Oculta el mensaje al activar */
}

.logo-container.active .logo-logo img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .logo-float {
    bottom: 20px;
    right: 20px;
  }

  .logo-logo img {
    width: 50px;
    height: 50px;
  }

  .speech-bubble {
    font-size: 13px;
    right: 60px;
    max-width: 150px;
    padding: 8px 12px;
  }

  .contact-options {
    width: 160px;
    bottom: 70px;
  }
}

.footer {
  background-color: #1c1c1c;
  background-image: url('../ImagenesBrochureBiomedic/IMGENES_FOOTER/FONDO_FOOTER.jpg'); /* Cambia esto por la ruta real */
  background-size: cover; /* Ajusta la imagen para cubrir todo el área */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  color: #f1f1f1;
  padding: 10px 20px; /* antes era 5px 20px */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-empresa {
  margin-top: 100px; /* Baja un poco la imagen */
}
  
.footer-empresa img {
  max-width: 500px;  /* Más ancho */
  max-height: 600px; /* Más alto */
  transition: all 0.3s ease;
  border-radius: 8px;
}

.footer-empresa img:hover {
  box-shadow: 0 8px 16px rgba(0, 216, 255, 0.3);
  transform: scale(1.02);
}

.footer-info {
  flex: 1 1 250px;
}

.footer-info h4 {
  margin-bottom: 15px;
  color: #00d8ff;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}

.footer-info h4:hover {
  box-shadow: 0 4px 8px rgba(0, 216, 255, 0.3);
  background-color: rgba(0, 216, 255, 0.1);
}

.footer-info p{
  margin: 4px 0;
  transition: all 0.3s ease;
  padding: 4px 6px;  
  border-radius: 4px;
}

.footer-info p:hover {
  box-shadow: 0 4px 8px rgba(0, 216, 255, 0.2);
  background-color: rgba(0, 216, 255, 0.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 5px;
  font-size: 13px;
  color: #a8a8a8;
  flex-wrap: wrap; /* para que se acomode en móviles */
}

.footer-bottom .footer-diseñador,
.footer-bottom .footer-creador {
  flex: 1;
  text-align: left;
}

.footer-bottom .footer-creador {
  text-align: right;
}

.footer-info i {
  margin-right: 10px;
  color: #00d8ff;
}
  
  .facebook-link {
    color: #00d8ff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .facebook-link:hover {
    color: #4267B2;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-empresa img {
      margin-bottom: 20px;
    }
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  