/* ===== Variables ===== */
:root {
  --color-fondo: #ffffff;
  --color-texto: #111111;
  --color-acento: #000000;
}

/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  background: var(--color-fondo);
  color: var(--color-texto);
}

/* ===== Página de inicio ===== */
.inicio {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px 9vh;
  overflow: hidden;
  text-align: center;
}

/* Logo de fondo, suave para que la leyenda se lea bien */
.inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("logo.png") center 28% / min(88vw, 70vh) no-repeat;
  opacity: 0.22;
  z-index: 0;
}

.leyenda {
  position: relative;
  z-index: 1;
  max-width: 900px;
  font-size: clamp(1.6rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px var(--color-fondo), 0 0 8px var(--color-fondo);
  animation: aparecer 1s ease-out both;
}

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

.aviso {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 20px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #f5f5f5;
  color: #444444;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  animation: aparecer 1s ease-out 0.4s both;
}

.leyenda span {
  border-bottom: 0.08em solid var(--color-acento);
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .leyenda,
  .aviso {
    animation: none;
  }
}
