:root {
  --text: #fff8ec;
  --muted: rgba(255, 248, 236, 0.78);
  --gold: #f2c46d;
  --shadow: rgba(35, 10, 4, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #5e1f16;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: url("/img/sagrado-corazon.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center 28%, rgba(255, 210, 125, 0.08), transparent 26%),
    linear-gradient(to bottom, rgba(30, 8, 4, 0.06), rgba(30, 8, 4, 0.42)),
    linear-gradient(to top, rgba(80, 14, 8, 0.55), transparent 48%);
}

.content {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  padding: 2rem;
  margin-top: 16vh;
  text-align: center;
  text-shadow: 0 4px 28px var(--shadow);
  animation: fadeIn 1.4s ease-out both;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 6.8rem);
  line-height: 0.95;
  font-weight: 500;
}

.subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.divider {
  width: 84px;
  height: 1px;
  margin: 2rem auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.quote {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  color: rgba(255, 248, 236, 0.92);
}

.reference {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 248, 236, 0.62);
}

.footer p {
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .hero {
    background-position: center top;
  }

  .content {
    margin-top: 22vh;
    padding: 1.4rem;
  }

  .quote br {
    display: none;
  }

  .footer {
    bottom: 0.9rem;
    font-size: 0.7rem;
  }
}
