/* ==========================================================================
   ZAWI HERO V2 — premium conversion-first hero
   Upload as: public/css/hero-v2.css
   ========================================================================== */

.hero-v2 {
  --hero-bg: #f4ebdf;
  --hero-espresso: #341510;
  --hero-cafe: #854520;
  --hero-gold: #d39857;
  --hero-cream: #f4ebdf;
  position: relative;
  min-height: clamp(650px, calc(100svh - 112px), 840px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 22%, rgba(211, 152, 87, 0.13), transparent 32rem),
    var(--hero-bg);
  color: var(--hero-espresso);
}

.hero-v2__grid {
  width: 100%;
  max-width: 1920px;
  min-height: inherit;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.hero-v2__copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.8rem, 6vw, 7rem) clamp(2.25rem, 5.5vw, 6.5rem);
  background: var(--hero-bg);
}

.hero-v2__eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1rem;
  padding: 0.62rem 1.2rem;
  border: 1px solid rgba(133, 69, 32, 0.75);
  border-radius: 999px;
  color: var(--hero-espresso);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.hero-v2__trust {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 1.45rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(211, 152, 87, 0.35);
  border-radius: 999px;
  background: rgba(244, 235, 223, 0.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  color: rgba(244, 235, 223, 0.86);
  font-size: 0.88rem;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero-v2__stars {
  color: var(--hero-gold);
  letter-spacing: 0.08em;
}

.hero-v2__trust strong {
  color: var(--hero-cream);
}

.hero-v2__sep {
  color: rgba(244, 235, 223, 0.35);
}

.hero-v2__title {
  max-width: 9.5ch;
  margin: 0;
  font-family: "ModernGarnata", Georgia, serif;
  font-size: clamp(3.7rem, 5.25vw, 6.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: var(--hero-espresso);
  text-shadow: none;
}

.hero-v2__title em {
  display: block;
  margin-top: 0.08em;
  color: var(--hero-gold);
  font-weight: 500;
  line-height: 0.95;
}

.hero-v2__subline {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--hero-cafe);
  font-family: "ModernGarnata", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.25rem);
  line-height: 1.25;
}

.hero-v2__lead {
  max-width: 36rem;
  margin: 1.55rem 0 0;
  color: var(--hero-cafe);
  font-family: "ModernGarnata", Georgia, serif;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}

.hero-v2__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.hero-v2__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.7rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hero-espresso);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  line-height: 1.1;
}

.hero-v2__fact-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hero-gold);
}

.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
  margin-top: 2rem;
}

.hero-v2__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.9rem 1.65rem;
  border: 3px solid var(--hero-cream);
  border-radius: 999px;
  background: var(--hero-gold);
  color: var(--hero-espresso);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 42px rgba(211, 152, 87, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-v2__primary:hover {
  transform: translateY(-2px);
  background: var(--hero-cream);
  box-shadow: 0 18px 48px rgba(211, 152, 87, 0.31);
}

.hero-v2__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3.55rem;
  padding: 0.9rem 1.65rem;
  border: 1px solid var(--hero-cafe);
  border-radius: 999px;
  background: var(--hero-gold);
  color: var(--hero-cream);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.hero-v2__secondary:hover {
  color: var(--hero-espresso);
  background: var(--hero-cream);
  transform: translateX(2px);
}

.hero-v2__price {
  margin: 1.4rem 0 0;
  color: rgba(244, 235, 223, 0.78);
  font-size: 0.94rem;
}

.hero-v2__price strong {
  color: var(--hero-cream);
  font-size: 1.04em;
}

.hero-v2__assurance {
  margin: 0.45rem 0 0;
  color: rgba(211, 152, 87, 0.92);
  font-size: 0.86rem;
}

.hero-v2__media {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  background: var(--hero-espresso);
}

.hero-v2__media picture,
.hero-v2__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-v2__media img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 43%;
  filter: brightness(0.92) contrast(1.04) saturate(0.95);
  transform: scale(1.01);
}

.hero-v2__media::before {
  content: "";
  position: absolute;
  inset: 1.35rem;
  z-index: 2;
  border: 1px solid rgba(211, 152, 87, 0.32);
  pointer-events: none;
}

.hero-v2__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--hero-bg) 0%, rgba(42,16,13,0.73) 5%, rgba(42,16,13,0.18) 22%, transparent 42%),
    linear-gradient(0deg, rgba(20,7,5,0.38) 0%, transparent 34%),
    linear-gradient(180deg, rgba(20,7,5,0.16) 0%, transparent 28%);
  pointer-events: none;
}

.hero-v2__photo-label {
  position: absolute;
  right: 2.3rem;
  bottom: 2.25rem;
  z-index: 3;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(211, 152, 87, 0.45);
  border-radius: 999px;
  background: rgba(42,16,13,0.76);
  color: var(--hero-cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

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

  .hero-v2__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-v2__media {
    order: -1;
    height: clamp(145px, 22vw, 260px);
    min-height: 0;
  }

  .hero-v2__media img {
    object-position: 50% 48%;
  }

  .hero-v2__media::before {
    inset: 0.75rem;
  }

  .hero-v2__media::after {
    background: linear-gradient(180deg, rgba(20,7,5,0.08) 0%, transparent 35%);
  }

  .hero-v2__copy {
    align-items: center;
    padding: 2.1rem clamp(1.25rem, 5vw, 2rem) 0;
    text-align: center;
  }

  .hero-v2__eyebrow {
    width: min(100%, 36rem);
    padding-inline: 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.15rem;
  }

  .hero-v2__trust {
    margin-bottom: 1.15rem;
  }

  .hero-v2__title {
    max-width: 24ch;
    font-size: clamp(2.25rem, 7vw, 5.1rem);
    line-height: 1.05;
  }

  .hero-v2__lead {
    max-width: 42rem;
  }

  .hero-v2__facts {
    display: grid;
    justify-items: center;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-v2__fact {
    justify-content: center;
  }

  .hero-v2__actions {
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 1.7rem;
  }

  .hero-v2__actions > a {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.9rem;
    white-space: nowrap;
  }

  .hero-v2__photo-label {
    right: 1.3rem;
    bottom: 1.4rem;
  }
}

@media (max-width: 560px) {
  .hero-v2__media {
    height: min(54svh, 500px);
    min-height: 390px;
  }

  .hero-v2__media img {
    object-position: 50% 32%;
  }

  .hero-v2__trust {
    gap: 0.35rem;
    padding: 0.56rem 0.72rem;
    font-size: 0.78rem;
  }

  .hero-v2__title {
    max-width: 24ch;
    font-size: clamp(2.25rem, 9.4vw, 3.25rem);
    line-height: 1.05;
  }

  .hero-v2__lead {
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .hero-v2__subline {
    max-width: 100%;
    margin-top: 1rem;
    font-size: clamp(0.95rem, 5vw, 1.45rem);
    line-height: 1.25;
    white-space: nowrap;
  }

  .hero-v2__facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 1.5rem;
    width: 100%;
  }

  .hero-v2__fact {
    justify-content: center;
    text-align: center;
    min-height: 2.25rem;
    padding: 0.3rem 0.55rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero-v2__fact:last-child {
    grid-column: auto;
  }

  .hero-v2__actions {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    width: 100%;
    margin-top: 1.65rem;
  }

  .hero-v2__actions > a {
    min-height: 3rem;
    padding: 0.65rem 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .hero-v2__secondary {
    justify-content: center;
  }

  #reservas {
    padding-top: 3.25rem;
  }

  #reservas > div > p {
    max-width: 100%;
  }

  #reservas > div > h2 {
    margin-top: 0.55rem;
  }

  #reservas > div > p[data-i18n="home.bookingBody"] {
    margin-top: 0.8rem;
    max-width: 32rem;
    line-height: 1.5;
  }

  .hero-v2__price,
  .hero-v2__assurance {
    text-align: center;
  }

  .hero-v2__photo-label {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__primary,
  .hero-v2__secondary {
    transition: none;
  }
}
