* {
  box-sizing: border-box;
}

:root {
  --bg: #0a1020;
  --text: #f7f4ee;
  --muted: rgba(247, 244, 238, .76);
  --gold: #e7c998;
  --line: rgba(231, 201, 152, .72);
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.parallax,
.grain,
.hero::after {
  position: absolute;
  inset: -3%;
  pointer-events: none;
}

.parallax {
  background-image: url("hero.jpg");
  background-position: center;
  background-size: cover;
  will-change: transform;
  transition: transform .18s ease-out;
}

.parallax--back {
  z-index: -4;
  filter: saturate(.88) contrast(1.05);
  transform: scale(1.04);
}

.parallax--mid {
  z-index: -3;
  opacity: .30;
  filter: blur(1px) saturate(.7);
  transform: scale(1.045);
}

.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 8, 18, .50) 0%, rgba(4, 8, 18, .08) 38%, rgba(4, 8, 18, .48) 100%),
    radial-gradient(circle at 50% 48%, rgba(10, 16, 32, .04), rgba(5, 8, 17, .40) 80%);
}

.grain {
  z-index: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 5vh, 58px) 24px 28px;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.92);
  letter-spacing: .34em;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: .8;
  font-weight: 500;
  letter-spacing: .02em;
}

.brand-name {
  font-size: 12px;
  font-weight: 500;
}

.brand small {
  font-size: 8px;
  letter-spacing: .42em;
  opacity: .75;
}

.copy {
  width: min(920px, 100%);
  margin: auto;
  transform: translateY(-1vh);
}

.eyebrow {
  margin: 0 0 13px;
  color: rgba(255,255,255,.88);
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 400;
  letter-spacing: .44em;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(74px, 10.6vw, 158px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.035em;
  text-shadow: 0 8px 45px rgba(0,0,0,.22);
}

.intro {
  width: min(760px, 100%);
  margin: 34px auto 42px;
  color: var(--muted);
  font-size: clamp(13px, 1.35vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

.whatsapp {
  width: min(470px, 100%);
  min-height: 82px;
  margin: 0 auto;
  padding: 13px 24px;
  display: grid;
  grid-template-columns: 48px 1fr 22px;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 27, .30);
  box-shadow:
    0 20px 60px rgba(0,0,0,.22),
    inset 0 0 30px rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}

.whatsapp:hover {
  transform: translateY(-4px);
  background: rgba(8, 13, 27, .46);
  box-shadow: 0 24px 70px rgba(0,0,0,.32), 0 0 40px rgba(231,201,152,.10);
}

.wa-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}

.wa-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp strong,
.whatsapp small {
  display: block;
}

.whatsapp strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
}

.whatsapp small {
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 300;
}

.arrow {
  color: var(--gold);
  font-size: 25px;
  transition: transform .3s ease;
}

.whatsapp:hover .arrow {
  transform: translateX(5px);
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  letter-spacing: .45em;
}

.mouse {
  width: 20px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 12px;
  position: relative;
}

.mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
  animation: scroll 1.7s infinite ease-in-out;
}

.wa-float {
  position: fixed;
  z-index: 10;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 38px);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.wa-float__text {
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(12, 16, 28, .72);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: .3s ease;
  pointer-events: none;
}

.wa-float:hover .wa-float__text {
  opacity: 1;
  transform: translateY(0);
}

.wa-float__button {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.35);
  animation: pulse 2.5s infinite;
  transition: transform .3s ease;
}

.wa-float:hover .wa-float__button {
  transform: scale(1.07);
}

.wa-float svg {
  width: 31px;
  height: 31px;
  fill: white;
}

.reveal {
  animation: reveal .9s both cubic-bezier(.2,.7,.2,1);
}

.brand { animation-delay: .05s; }
.eyebrow { animation-delay: .18s; }
h1 { animation-delay: .28s; }
.intro { animation-delay: .40s; }
.whatsapp { animation-delay: .52s; }
.scroll-cue { animation-delay: .7s; }

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.28); }
  50% { box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 0 0 13px rgba(37,211,102,0); }
}

@keyframes scroll {
  0%, 100% { opacity: .25; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 4px); }
}

@media (max-width: 640px) {
  .content {
    padding: 25px 18px 22px;
  }

  .brand {
    gap: 5px;
  }

  .brand-name {
    font-size: 9px;
  }

  .brand small {
    font-size: 6px;
  }

  .copy {
    transform: translateY(-3vh);
  }

  h1 {
    font-size: clamp(65px, 20vw, 110px);
    line-height: .78;
  }

  .intro {
    margin: 27px auto 30px;
    font-size: 12px;
    line-height: 1.55;
  }

  .whatsapp {
    min-height: 70px;
    grid-template-columns: 40px 1fr 16px;
    padding: 10px 17px;
    gap: 9px;
  }

  .wa-icon {
    width: 38px;
    height: 38px;
  }

  .wa-icon svg {
    width: 29px;
    height: 29px;
  }

  .whatsapp strong {
    font-size: 12px;
  }

  .whatsapp small {
    font-size: 9px;
  }

  .arrow {
    font-size: 20px;
  }

  .wa-float__text {
    display: none;
  }

  .wa-float__button {
    width: 56px;
    height: 56px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
