* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body,
html {
  height: 100%;
  overflow-x: hidden;
}

body.lock-scroll {
  overflow: hidden;
}

/* CONTENEDOR PRINCIPAL */
.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.main-cards {
  flex: 1;
}
/* FONDO PILETA */
.bg {
  position: fixed;
  inset: 0;
  background: url("../img/loader1.jpg") center/cover no-repeat;
  z-index: -2;
}

/* OVERLAY INICIAL BLUR */
.overlay-blur {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.295);
  z-index: -1;
  transition:
    backdrop-filter 1s ease,
    background 1s ease;
}

/* LOGO */
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.8);
  width: clamp(180px, 30vw, 320px);
  transition: all 1s ease;
  z-index: 10;
}

/* LOGO FINAL */
.logo.final {
  top: 35px;
  transform: translateX(-50%) scale(1);
}

/* TEXTO */
.welcome-text {
  margin-top: 170px;
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 0 20px;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(-25px);
  transition: all 1s ease;
}

/* TARJETAS */
.main-cards {
  margin-top: 40px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
}

/* GLASS CARD */
.glass-card {
  display: block;
  text-align: center;
  padding: 25px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(-20px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

/* ===========================
   MODAL UBICACIÓN
=========================== */

.location-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.479);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 9999;
}

.location-modal.active {
  opacity: 1;
  visibility: visible;
}

.location-modal-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  text-align: center;
  color: #fff;
  position: relative;
  transform: translateY(40px);
  transition: 0.4s ease;
}

.location-modal.active .location-modal-content {
  transform: translateY(0);
}

.location-modal h2 {
  margin-bottom: 15px;
}

.modal-intro {
  margin-bottom: 25px;
  font-size: 15px;
  opacity: 0.9;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.go-button {
  display: inline-block;
  padding: 12px 30px;
  background: #0f305b;
  border: .5px solid #807f7f;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s ease;
  font-weight: 500;
}

.go-button:hover {
  background: #174a8b;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* Solo Figles destacado */
.footer a:not(.admin-link) {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.footer a:not(.admin-link):hover {
  text-decoration: underline;
}

/* Admin totalmente camuflado */
.admin-link {
  color: inherit;
  text-decoration: none;
  font-weight: normal;
  cursor: default;
}

/* TABLET Y PC */
@media (min-width: 768px) {
  .main-cards {
    max-width: 500px;
  }
}
