/* =====================================================================
   FuturePsiche · Portada (index.html)
   Fondo: la imagen + un velo oscuro encima para que el texto se lea bien.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

.landing {
  margin: 0;
  min-height: 100vh;
  background: #1b1d22;          /* por si la imagen tarda en cargar */
  color: #ffffff;
  font-family: "Times New Roman", Georgia, serif;
  overflow-x: hidden;
}

/* ---------- Fondo ---------- */
.landing-fondo {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

/* La pieza por encima de la imagen: oscurece más a la izquierda, donde va el texto */
.landing-velo {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.82) 0%, rgba(10, 12, 18, 0.62) 55%, rgba(10, 12, 18, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.15) 0%, rgba(10, 12, 18, 0.55) 100%);
  pointer-events: none;
}

/* ---------- Barra superior ---------- */
.landing-barra {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 92px;
  padding: 0 2.25rem;
  background: #c8d0da;
  border-bottom: 2px solid #8a5cf6;
}

.landing-comenzar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18rem;
  height: 70px;
  padding: 0 2.5rem;
  background: #737373;
  border-radius: 999px;
  color: #111111;
  font-size: 2.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-comenzar:hover,
.landing-comenzar:focus-visible {
  background: #5f5f5f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  outline: none;
}

/* ---------- Contenido ---------- */
.landing-main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3.5rem 3.5rem 4rem;
}

.landing-hero {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 60rem);   /* el texto a la izquierda; a la derecha se ve el fondo */
}

.landing-marca {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0 0 2rem 7rem;
}

.landing-marca img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(138, 92, 246, 0.45));
}

.landing-marca h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

.landing-lema {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.landing-intro {
  max-width: 46rem;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ---------- ¿Por qué FuturePsiche? ---------- */
.landing-porque { margin-top: 4rem; max-width: 80rem; }

.landing-porque h2 {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.landing-porque dl {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.landing-porque dt {
  font-size: 1.4rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.landing-porque dd {
  margin: 0.2rem 0 0;
  padding-left: 0.4rem;
  color: #eceff4;
  font-size: 1.3rem;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ---------- Pantallas medianas y pequeñas ---------- */
@media (max-width: 1100px) {
  .landing-hero { grid-template-columns: 1fr; }
  .landing-marca { margin-left: 0; }
}

@media (max-width: 640px) {
  .landing-barra { height: 72px; padding: 0 1rem; }
  .landing-comenzar { min-width: 0; height: 52px; padding: 0 1.6rem; font-size: 1.5rem; }
  .landing-main { padding: 2rem 1.25rem 3rem; }
  .landing-marca { gap: 0.8rem; margin-bottom: 1.25rem; min-width: 0; }
  .landing-marca img { width: 60px; height: 60px; flex: none; }
  .landing-marca h1 { font-size: 2.3rem; min-width: 0; overflow-wrap: anywhere; }
  .landing-lema { font-size: 1.3rem; }
  .landing-intro, .landing-porque dd { font-size: 1.1rem; }
  .landing-porque dt { font-size: 1.2rem; }
  /* En el móvil el texto ocupa todo el ancho: velo uniforme */
  .landing-velo { background: rgba(10, 12, 18, 0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-comenzar { transition: none; }
}
