/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Tipografía y colores */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0e0e0e;
    color: #ffffff;
    line-height: 1.6;
  }
  
  /* Encabezado */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1a1a1a;
  }
  
  .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #00ffff;
  }
  .logo img {
  height: 60px; /* Ajusta según el tamaño que quieras */
  width: auto;
}

  
  nav ul {
    list-style: none;
    display: flex;
  }
  
  nav ul li {
    margin-left: 20px;
  }
  
  nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: #00ffff;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00ffff;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .btn:hover {
    background-color: #00cccc;
  }
  
    h2 {
  text-align: center;
  color: #00ffff;
  margin-bottom: 40px;
 }
  /* Secciones */
  section {
    padding: 60px 20px;
  }
  

  
  /* Tarjetas de servicios */
  .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  /* Lista de productos */
  .product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .product {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
  }
  
  .product a {
    display: inline-block;
    margin-top: 10px;
    color: #00ffff;
    text-decoration: none;
  }
  
  .product a:hover {
    text-decoration: underline;
  }
  
  /* Formulario de contacto */
  form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  form input,
  form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
  }
  
  form button {
    padding: 10px;
    background-color: #00ffff;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  form button:hover {
    background-color: #00cccc;
  }
  
  /* Pie de página */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: #ffffff;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .cards,
    .product-list {
      flex-direction: column;
      align-items: center;
    }
  }
  .circuit-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.05;
  }
  
  .circuit-animation svg {
    width: 100%;
    height: 100%;
  }
  
  .path {
    fill: none;
    stroke: #00ffff;
    stroke-width: 0.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw 5s linear infinite;
  }
  
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  .circuit-animation {
    transform: translateY(0);
    transition: transform 0.1s linear;
    will-change: transform;
  }
  .path {
    fill: none;
    stroke: #00ffff;
    stroke-width: 0.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw 5s linear infinite;
    filter: drop-shadow(0 0 2px #00ffff) drop-shadow(0 0 4px #00ffff);
  }
  .circuit-title {
    position: relative;
    display: inline-block;
    color: #00ffff;
    cursor: pointer;
    padding-bottom: 10px;
  }
  
  .circuit-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #00ffff, #00cccc, #00ffff);
    border-radius: 2px;
    transition: width 0.4s ease-in-out;
  }
  
  .circuit-title:hover::before,
  .circuit-title:focus::before,
  .circuit-title.active::before {
    width: 100%;
  }
  
  .hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.hero h1 {
  text-align: center; /* o el estilo que prefieras */
  color: #00ffff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Asegura que la imagen se escale y recorte para cubrir todo el contenedor */
  object-position: center; /* Centra la imagen dentro del contenedor */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: brightness(0.5);
}

.bg-img.active {
  opacity: 0.3;
}

.hero-content {
  z-index: 1;
  animation: fadeSlideUp 1s ease-out forwards;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.whatsapp {
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    z-index:100;
  }
  
  .whatsapp-icon {
    margin-top:13px;
  }
