
/* ======================= */
/* CONFIGURACIÓN GENERAL */
/* ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to bottom, #0d0d0d, #1a1a1a);
  color: #f1f1f1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.5;
  font-size: 16px;
}

/* ======================= */
/* NAVEGACIÓN */
/* ======================= */
header {
  background: rgba(0, 0, 0, 0.95);
  padding: 1rem 3rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(255, 255, 255, 0.07);
  user-select: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  justify-content: flex-start; /* alineación a la derecha */
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #f1f1f1;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a.active {
  color: #00ffe1;
}

nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #00ffe1;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* ======================= */
/* SECCIÓN CONTACTO */
/* ======================= */
.contacto {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  padding: 3rem 2rem;
  background: #121212;
  flex-wrap: wrap;
}

.mapa {
  flex: 1 1 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 255, 225, 0.1);
}

.informacion {
  flex: 1 1 300px;
  color: #ccc;
  font-size: 1.2rem;
  line-height: 1.6;
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 255, 225, 0.15);
  user-select: text;
}

/* ======================= */
/* CÓDIGOS QR */
/* ======================= */
.qr {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 2rem;
  background: #181818;
  flex-wrap: wrap;
}

.qr-item {
  background: #222;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  width: 220px;
  box-shadow: 0 6px 20px rgba(0, 255, 225, 0.2);
  transition: transform 0.3s ease;
}

.qr-item p {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #00ffe1;
  user-select: none;
}

.qr-item img {
  width: 180px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 255, 225, 0.15);
}

.qr-item:hover {
  transform: scale(1.05);
}

/* ======================= */
/* PIE DE PÁGINA */
/* ======================= */
footer {
  text-align: center;
  padding: 2rem;
  background: #0a0a0a;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #222;
  user-select: none;
}

/* ======================= */
/* RESPONSIVE */
/* ======================= */
@media (max-width: 900px) {
  .contacto {
    flex-direction: column;
    align-items: center;
  }
  .mapa, .informacion {
    flex: 1 1 100%;
    max-width: 500px;
  }
  .qr {
    flex-direction: column;
    align-items: center;
  }
  .qr-item {
    width: 80%;
    max-width: 320px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 1.2rem;
  }
  nav ul li a {
    font-size: 1rem;
  }
  .informacion {
    font-size: 1rem;
    padding: 1.5rem;
  }
  .qr-item img {
    width: 140px;
  }
}
