 body {
      margin: 0;
      font-family: 'Cinzel', serif;
      color: #ffffff;
      background: linear-gradient(120deg, #0f0f0f, #1a1a2e);
    }

    header {
        border-bottom: 2px solid #FFD700; /* Dorado */
      background-color: #1d1d1d;
      color: white;
      padding: 20px 0;
      text-align: center;
    }

    .logo-area img {
      width: 80px;
      margin-bottom: 10px;
    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 30px;
      padding: 0;
      margin: 10px 0 0 0;
    }

    nav a {
      color: #ccc;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s;
    }

    nav a:hover {
      color: white;
    }

    main {
      padding: 40px 20px;
      text-align: center;
    }

    h1 {
      font-size: 32px;
      margin-bottom: 20px;
    }

    h2 {
      font-size: 20px;
      font-weight: normal;
      max-width: 800px;
      margin: 0 auto 40px auto;
      line-height: 1.6;
    }

    .tarjetas-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }

    .tarjeta {
      background-color: rgb(238, 172, 4);
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      width: 240px;
      padding: 20px;
      transition: transform 0.3s;
      animation-name: mapa;
      animation-delay: 0s;
      animation-iteration-count: infinite;
      
    }


    .tarjeta:hover {
      transform: translateY(-5px);
    }

    .imagen-cascada {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 140px;
  animation: ola 3s ease-in-out infinite;
}


    .tarjeta h3 {
      margin-top: 15px;
      font-size: 20px;
    }

    .tarjeta p {
      font-size: 14px;
      margin: 10px 0 20px;
    }

    .tarjeta a {
      text-decoration: none;
      color: #0057b7;
      font-weight: bold;
    }

  /* FOOTER */
.footer-buttons {
  margin-top: 10px;
}

.footer-buttons button {
  margin: 5px;
  padding: 8px 14px;
  background-color: #1e1e1d;
  color: #ffee00;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

footer {
  background-color: #12121f;
  text-align: center;
  padding: 15px 0;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 2px solid #FFD700;
}

/* Modal ya está definido en tu CSS, pero agrego por claridad */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  color: black;
  border-radius: 10px;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
}

.contenido-scrollable {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.redes-sociales {
  margin-top: 15px;
}

.redes-sociales a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 8px;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.redes-sociales a:hover {
  color: #FFD700;
  transform: scale(1.2);
}
