:root {
  --fg: #f4f4f4;
  --fg-muted: rgba(244, 244, 244, 0.8);
  --bg-dark: #060606;
  --overlay: rgba(0, 0, 0, 0.26);
  --whatsapp: #25d366;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg-dark);
  color: var(--fg);
  font-family: "Montserrat", sans-serif;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  background-image: url("landing.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), var(--overlay));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  padding: 1.2rem 1.2rem 2rem;
}

.brand {
  margin: 0;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 3rem);
  letter-spacing: 0.25em;
  font-weight: 600;
}

h1 {
  margin: clamp(7rem, 30vh, 20rem) auto 0;
  max-width: 14ch;
  color: var(--fg);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 5.6rem);
  line-height: 0.95;
  text-wrap: balance;
}

.contact {
  min-height: 28vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--bg-dark);
  padding: 2rem 1rem 3rem;
}

.contact-link {
  position: relative;
  color: var(--fg-muted);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 2.7vw, 4rem);
  font-weight: 400;
  transition: color 180ms ease;
}

.contact-link::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 0.65rem auto 0;
  background: rgba(244, 244, 244, 0.22);
  transition: width 180ms ease, background-color 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
}

.contact-link:hover::after,
.contact-link:focus-visible::after {
  width: 5rem;
  background: rgba(244, 244, 244, 0.48);
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: var(--whatsapp);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
}

@media (max-width: 980px) {
  .hero {
    min-height: 64vh;
  }

  h1 {
    margin-top: clamp(5rem, 26vh, 11rem);
    line-height: 1.02;
  }

  .contact {
    min-height: 36vh;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 58vh;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 1.5rem;
  }

  .brand {
    letter-spacing: 0.18em;
  }

  h1 {
    max-width: 11ch;
  }

  .whatsapp-float {
    width: 3.45rem;
    height: 3.45rem;
    right: 0.9rem;
    bottom: 0.9rem;
  }
}
