:root {
  --orange: #f7941d;
  --white: #f6f3ec;
  --muted: rgba(246, 243, 236, 0.72);
}

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

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

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--white);
  background-color: #0a1608;
  background-image:
    linear-gradient(105deg, rgba(4, 12, 3, 0.72) 0%, rgba(4, 12, 3, 0.38) 42%, rgba(4, 12, 3, 0.18) 100%),
    url("../images/banner_pasto.jpg");
  background-size: cover;
  background-position: 68% center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: max(clamp(1.4rem, 4vw, 2.8rem), env(safe-area-inset-top));
  padding-right: max(clamp(1.25rem, 5vw, 4.5rem), env(safe-area-inset-right));
  padding-bottom: max(clamp(1.4rem, 4vw, 2.8rem), env(safe-area-inset-bottom));
  padding-left: max(clamp(1.25rem, 5vw, 4.5rem), env(safe-area-inset-left));
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: min(168px, 42vw);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 38rem;
  padding: 2.4rem 0;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.2rem, 6.5vw, 4.4rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.rule {
  width: 3.2rem;
  height: 2px;
  background: var(--orange);
  margin: 1.45rem 0 1.35rem;
}

.lede {
  max-width: 28rem;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}

.soon {
  margin-top: 2.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--white);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  align-items: baseline;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--muted);
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--white);
}

.sep {
  opacity: 0.45;
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
    background-position: 78% 30%;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 3, 0.62);
    pointer-events: none;
    z-index: 0;
  }

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

  main {
    justify-content: flex-end;
    padding-bottom: 2.6rem;
  }

  footer {
    flex-direction: column;
    gap: 0.25rem;
  }

  .sep {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  main,
  footer {
    animation: rise 0.9s ease both;
  }

  main { animation-delay: 0.12s; }
  footer { animation-delay: 0.24s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
