* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(#272a2cc9, #272a2cc9),
              url("bg.jpg") center / cover no-repeat;
  color: #fff;
}

.landing {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2rem;
}

/* HEADER */
.landing-header {
  text-align: center;
}

.landing-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 1px;
}

/* LINKS */
.landing-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* 🔑 mismo tamaño siempre */
  background: #000;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔑 recorta sin deformar */
}

.card {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: scale(1.05);
  z-index: 5;
  box-shadow: 0 25px 50px rgba(0,0,0,.45);
}

/* FOOTER */
.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}

.landing-footer img {
  height: 80px;
}

.landing-footer a {
  color: #fff;
  text-decoration: none;
  font-size: large;
}
.landing-footer small {
  color: #fff;
  text-decoration: none;
  font-size: large;
}
/* MOBILE */
@media (max-width: 768px) {
  .landing-links {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 768px) {

  /* Espacio debajo del título */
  .landing-header {
    margin-bottom: 2rem;
  }

  /* Espacio arriba del footer */
  .landing-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

}
