.hero {
  min-height: max(720px, 100svh);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px 40px;
}

.hero__image, .hero__image picture, .hero__image picture img, .hero__image-wash {
  position: absolute;
  inset: 0;
}

.hero__image { z-index: -2; background: #ddd1c0; }
.hero__image picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__image-wash { background: linear-gradient(270deg, rgba(250,247,240,.94) 0%, rgba(250,247,240,.7) 31%, rgba(250,247,240,.08) 58%, rgba(250,247,240,.06) 100%); }
.hero__watermark {
  position: absolute;
  bottom: 84px;
  left: 5.4%;
  width: clamp(110px, 13vw, 190px);
  opacity: .34;
  filter: invert(1);
}

.nav {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 50%;
  width: var(--container);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  padding: 9px 14px 9px 20px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 5px 18px rgba(55, 39, 22, .045);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav__brand { display: block; width: 170px; height: 64px; }
.nav__brand img { display: block; max-width: 100%; height: 100%; object-fit: contain; filter: none; transition: filter 0.35s ease; }
.nav__links { display: flex; gap: 34px; margin-inline: auto 62px; font-size: 13px; font-weight: 600; color: var(--ink); transition: color 0.35s ease; }
.nav__links a { opacity: .78; transition: opacity .2s ease, color .2s ease; }
.nav__links a:hover, .nav__links .is-active { color: #8a7258; opacity: 1; }
.nav__menu { width: 44px; height: 44px; padding: 0; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.28); cursor: pointer; transition: background 0.35s ease, border-color 0.35s ease; }
.nav__menu span { display: block; width: 16px; height: 1px; background: var(--ink); transition: background 0.35s ease; }

/* Scrolled state: Dark Glassmorphism */
.nav.is-scrolled {
  background: rgba(30, 28, 24, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 12px 36px rgba(18, 15, 10, 0.32);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.nav.is-scrolled .nav__brand img { filter: invert(1); }
.nav.is-scrolled .nav__links { color: #f7f3ec; }
.nav.is-scrolled .nav__links a:hover, .nav.is-scrolled .nav__links .is-active { color: #d5c6b2; opacity: 1; }
.nav.is-scrolled .nav__menu { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.12); }
.nav.is-scrolled .nav__menu span { background: #f7f3ec; }

.hero__content { margin-block: auto; padding-top: 0; direction: rtl; text-align: right; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 10px; letter-spacing: .02em; font-weight: 600; }
.eyebrow span { display: block; width: 30px; height: 1px; background: var(--ink); }
h1 { margin: 0; font-size: clamp(48px, 6.3vw, 96px); line-height: 1.26; letter-spacing: -.075em; font-weight: 500; }
.hero__description { max-width: 355px; margin: 22px 0 29px; font-size: 14px; line-height: 2; font-weight: 400; color: rgba(36,35,31,.75); }
.hero__actions { display: flex; align-items: center; gap: 23px; }
.button { display: inline-flex; align-items: center; gap: 15px; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; }
.button--primary { padding: 16px 20px; color: #fff; background: var(--ink); box-shadow: 0 10px 26px rgba(36,35,31,.13); transition: transform .2s ease, background .2s ease; }
.button--primary:hover { background: #414038; transform: translateY(-2px); }
.button__icon { width: 18px; height: 18px; flex: 0 0 auto; }
.button--whatsapp { padding: 15px 20px; color: var(--ink); border: 1px solid rgba(36,35,31,.28); background: rgba(255,255,255,.48); backdrop-filter: blur(8px); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button--whatsapp:hover { background: rgba(255,255,255,.78); border-color: rgba(36,35,31,.45); transform: translateY(-2px); }
.button--text { padding: 0; background: transparent; color: var(--ink); }
.play-icon { display: grid; place-items: center; width: 25px; height: 25px; font-style: normal; font-size: 8px; border: 1px solid rgba(36,35,31,.55); border-radius: 50%; }

.hero__footer {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  font-size: 10px;
  font-weight: 500;
}
.hero__footer p { margin: 0; color: rgba(36,35,31,.68); }
.hero__scroll { display: grid; place-items: center; gap: 9px; color: var(--ink); }
.hero__scroll span { font-size: 9px; }
.hero__scroll b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; font-weight: 400; transition: transform .2s ease; }
.hero__scroll:hover b { transform: translateY(3px); }
.hero__count { justify-self: end; display: flex; align-items: center; gap: 8px; direction: ltr; font-family: "DM Mono", monospace; font-size: 10px !important; }
.hero__count i { width: 33px; height: 1px; background: rgba(36,35,31,.4); }

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 16px 24px;
  }
  .hero > header { min-height: 50px; }
  .nav { top: 12px; }
  .hero__image picture img { object-position: center top; }
  .hero__image-wash {
    background: linear-gradient(180deg, rgba(250,247,240,.1) 0%, rgba(250,247,240,.35) 30%, rgba(250,247,240,.88) 58%, rgba(250,247,240,.98) 85%);
  }
  .nav__brand { width: 128px; height: 50px; }
  .nav__links { display: none; }
  .hero__content {
    margin-top: auto;
    margin-bottom: clamp(55px, 8vh, 85px);
    padding-top: 0;
    padding-bottom: 0;
  }
  h1 { font-size: clamp(34px, 9.5vw, 44px); line-height: 1.25; }
  .hero__description { max-width: 320px; font-size: 13px; margin: 12px 0 20px; line-height: 1.8; }
  .hero__watermark { display: none; }
  .hero__footer { font-size: 9px; }
  .hero__footer > p:first-child { display: none; }
  .hero__footer { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__scroll { justify-self: start; }
}

@media (max-width: 420px) {
  .hero__actions { gap: 16px; }
  .button--primary { padding: 14px 18px; }
  .button--text { font-size: 11px; }
}
