    :root {
      --color-primario: #1e3a8a;
      --color-secundario: #60a5fa;
      --color-fondo: #f1f5f9;
      --color-texto: #1e293b;
      --color-claro: #ffffff;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: var(--color-fondo);
      color: var(--color-texto);
      line-height: 1.6;
      display: flex;
      flex-direction:column;
      min-height: 100vh;
 
    }

    nav {
      background-color: var(--color-primario);
      color: white;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 1rem 2rem;
      align-items: center;
    }

    nav strong {
      font-size: 1.5rem;
    }

    nav a {
      color: white;
      margin-left: 1rem;
      text-decoration: none;
      font-weight: bold;
    }

    nav a:hover {
      text-decoration: underline;
    }

    section {
      display: none;
      padding: 2rem;
      flex-grow: 1;
    }

    section.active {
      display: block;
    }

    h1, h2 {
      margin-bottom: 1rem;
      color: var(--color-primario);
    }

    .producto {
      background: var(--color-claro);
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 1rem;
      margin: 1rem;
      width: 220px;
      text-align: center;
      transition: transform 0.2s ease-in-out;
    }

    .producto:hover {
      transform: translateY(-5px);
    }

    .producto img {
      width: 100%;
      border-radius: 6px;
      margin-bottom: 0.5rem;
    }

    .productos-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    form {
      max-width: 500px;
      margin-top: 1rem;
    }

    input, textarea {
      width: 100%;
      padding: 0.75rem;
      margin: 0.5rem 0 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
    }

    button {
      background-color: var(--color-primario);
      color: white;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
    }

    button:hover {
      background-color: var(--color-secundario);
    }

    #mensajeConfirmacion {
      margin-top: 1rem;
      color: green;
      display: none;
    }

    textarea#salidaXML {
      margin-top: 1rem;
      height: 150px;
    }

    footer {
      text-align: center;
      background-color: var(--color-primario);
      color: white;
      padding: 1rem;
      margin-top: auto;
    }

    @media (max-width: 600px) {
      nav {
        flex-direction: column;
        align-items: flex-start;
      }

      .producto {
        width: 90%;
      }
    }

.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primario);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

.intro h1 {
  color: white;
  font-size: 3rem;
  letter-spacing: 4px;
  animation: zoomOut 1s ease forwards;
}

@keyframes zoomOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.intro.hidden {
  opacity: 0;
  pointer-events: none;
}


