  <style>
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
.negocio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}
.negocio img {
  flex: 1;
  max-width: 36%;
  height: auto;
  border-radius: 12px;
  align-self: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #ccc;
}
.negocio .texto {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}
.negocio:nth-child(even) {
  flex-direction: row-reverse;
}
.fixed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.fixed-header .logo img {
  height: 60px;
}

.fixed-header .menu-toggle {
  display: none; /* Se mostrará solo en móvil */
  font-size: 2rem;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  z-index: 1002;
}

.nav-links {
  display: flex;
  gap: 20px;
  justify-content: space-around; /* <-- Agregado */
  flex: 1; /* <-- Para que ocupe todo el espacio disponible */
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.nav-links a:hover {
  color: #003366;
  font-weight: 700;
}

.fixed-header nav a {
  color: black;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.fixed-header nav a:hover {
  color: #003366;
  font-weight: 700;
}

.fixed-header img {
  height: 80px;
}
.fixed-header h1 {
  flex: 1;
  text-align: center;
  font-size: 2.5rem;
  color: #003366;
  margin: 0;
}
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(rgba(0, 91, 150, 0.5), #003366);
  color: white;
}
header {
  text-align: center;
  padding: 40px 20px;
  padding-top: 160px;
}
header img {
  width: 120px;
}
h1 {
  margin: 20px 0 10px;
  font-size: 2.2rem;
}
.section {
  padding: 40px 20px;
  text-align: center;
}
.section h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}

.section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}


    .parrafo-destacado {
      font-size: 1.4rem;
      text-align: justify;
      display: block;
      margin: 20px auto;
      max-width: 1050px;
      padding: 0 20px; 
   }

.products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.product-card {
  background: white;
  color: #003366;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.product-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}
.product-card p {
  font-size: 0.95rem;
}
.video, .contacto {
  text-align: center;
  margin: 40px 0;
}
.cta-button {
  display: inline-block;
  margin-top: 20px;
  background-color: #00bcd4;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
}
footer {
  padding: 20px;
  font-size: 0.9rem;
  background: #002244;
  text-align: center;
}

/* Nueva sección inicio */
#inicio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto 60px;
  background-color: white; /* Fondo blanco */
  color: #003366; /* Texto azul oscuro */
  border-radius: 12px;
  font-family: 'Rubik', sans-serif;
}

#inicio .texto {
  flex: 1;
  font-size: 1.3rem;
  line-height: 1.5;
}

#inicio img {
  flex: 1;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Media queries */

@media (max-width: 768px) {
  /* Ajustes existentes */
  .negocio {
    flex-direction: column !important;
  }
  .negocio img {
    max-width: 100%;
  }
  .negocio .texto {
    text-align: center;
  }
.fixed-header {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
  .fixed-header h1 {
    font-size: 1.2rem;
    padding-top: 10px;
  }
  #inicio {
    flex-direction: column;
    padding: 30px 10px;
  }
  #inicio img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* NUEVO: Evitar tapado del header fijo sobre #nosotros */
  header#nosotros {
    padding-top: 200px !important;
  }

  /* Ya existente para #nosotros flex vertical */
  #nosotros > div {
    flex-direction: column !important;
  }
  #nosotros > div > div {
    flex-basis: 100% !important;
    min-width: auto !important;
    text-align: center !important;
    max-width: 100% !important;
  }
}

ul.parrafo-destacado {
  list-style: none;
  padding-left: 0;
  margin: 16px auto;
  max-width: 800px;
}

ul.parrafo-destacado li::before {
  content: "✔";
  color: #00bcd4;
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
}


.products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.product-card {
  width: 280px;
  height: 320px;
  perspective: 1000px;
}

.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
}

.product-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.card-front {
  background-size: cover;
  background-position: center;
}

.card-front::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #333333;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

.card-back {
  background-color: #ffffff;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  text-align: left;
  color: #003366;
}


.titulo-funcionalidades {
  text-align: center;
  font-size: 1.7rem !important;
  font-weight: bold;
  margin-bottom: 4px !important;
}

.card-back ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 5px;
}

.card-back ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 8px;
  line-height: 1.5;
}

.card-back ul li::before {
  content: "✅"; 
  position: absolute;
  left: 0;
  color: #00bcd4;
  font-weight: bold;
}

.contacto {
  background-color: #003366;
  color: white;
  padding: 60px 20px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fila {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fila input,
.fila textarea {
  flex: 1;
  padding: 12px;
  border: none;
  border-bottom: 2px solid white;
  background: transparent;
  color: white;
  font-size: 1rem;
  outline: none;
}

.fila textarea {
  resize: vertical;
}

.fila.centrado {
  justify-content: center;
}

button[type="submit"] {
  background-color: #00bcd4;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #009cb5;
}

.fila input::placeholder,
.fila textarea::placeholder {
  color: white;
  opacity: 1; /* para Firefox */
}

</style>



  @media (max-width: 768px) {
    #nosotros > div {
      flex-direction: column !important;
    }
    #nosotros > div > div {
      flex-basis: 100% !important;
      min-width: auto !important;
      text-align: center !important;
      max-width: 100% !important;
    }
  }

@media (max-width: 768px) {
  .fixed-header {
    justify-content: space-between;
  }

  .fixed-header .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
    display: none;
    width: 220px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 0 8px;
    z-index: 1001;
  }

  .nav-links.activo {
    display: flex;
  }

  .nav-links a {
    color: #003366;
  }
}


</style>