/* ============================================================
   HERO V2 — SPLIT EDITORIAL
   ============================================================ */

.hero-v2 {
  background: #FAF5E6;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

/* Subtle warm grain */
.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Gold left accent line */
.hero-v2::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, #C9A84C 25%, #C9A84C 75%, transparent);
  z-index: 1;
}

.hero-v2 .container {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}

/* ---------- Grid ---------- */
.hero-v2__inner {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  gap: 64px;
  align-items: center;
  min-width: 0;
}

/* ---------- Content column ---------- */
.hero-v2__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px 6px 10px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6b1e;
  margin-bottom: 32px;
}
.hero-v2__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C9A84C;
  animation: badge-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-v2__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1.02;
  font-weight: 400;
  color: #0A0A0A;
  margin: 0 0 22px;
  letter-spacing: 0;
}
.hero-v2__title em {
  font-style: italic;
  color: #C9A84C;
}

.hero-v2__tagline {
  font-size: 16px;
  color: #6b6b6b;
  margin: 0 0 38px;
  line-height: 1.7;
  max-width: 420px;
}

/* Stats */
.hero-v2__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}
.hero-v2__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 18px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  text-align: center;
  gap: 3px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-v2__stat:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}
.hero-v2__stat-val {
  font-size: 13px;
  font-weight: 800;
  color: #C9A84C;
  line-height: 1;
  white-space: nowrap;
}
.hero-v2__stat-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  line-height: 1;
}

/* Actions */
.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-v2__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: #C9A84C;
  color: #0A0A0A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-btn, 0);
  transition: background 0.22s ease, transform 0.22s ease;
}
.hero-v2__btn-primary:hover { background: #b8963e; transform: translateY(-2px); }
.hero-v2__btn-primary svg { transition: transform 0.25s ease; flex-shrink: 0; }
.hero-v2__btn-primary:hover svg { transform: translateX(5px); }

.hero-v2__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: rgba(0,0,0,0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: var(--radius-btn, 0);
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.hero-v2__btn-secondary:hover {
  border-color: #0A0A0A;
  color: #0A0A0A;
  background: rgba(0,0,0,0.04);
}

/* Product proof */
.hero-v2__signature {
  align-self: flex-start;
  justify-items: start;
  margin: 0;
  text-align: start;
}
.hero-v2__signature .product-signature__ornament { justify-self: start; }
.hero-v2[dir="rtl"] .hero-v2__signature {
  align-self: flex-start;
  justify-items: start;
  margin: 0;
  text-align: start;
}
.hero-v2[dir="rtl"] .hero-v2__signature .product-signature__ornament { justify-self: start; }

/* ---------- Visuals column ---------- */
.hero-v2__visuals {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 10px;
  min-width: 0;
}

.hero-v2__img-main {
  grid-column: 1 / -1;
  aspect-ratio: 3/2;
  border-radius: 20px;
  overflow: hidden;
  background: #EDE5D0;
  border: 1px solid rgba(0,0,0,0.07);
  position: relative;
}
.hero-v2__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-v2__img-main:hover img { transform: scale(1.04); }

.hero-v2__img-secondary {
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #EDE5D0;
  border: 1px solid rgba(0,0,0,0.07);
  position: relative;
}
.hero-v2__img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-v2__img-secondary:hover img { transform: scale(1.06); }

/* Placeholder when no image */
.hero-v2__placeholder {
  width: 100%;
  height: 100%;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(0,0,0,0.2);
  font-size: 11px;
  text-align: center;
  padding: 20px;
}

/* Floating award chip on main image */
.hero-v2__award-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.35);
  color: #C9A84C;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

/* Floating ships pill */
.hero-v2__ships-pill {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #0A0A0A;
  color: #C9A84C;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
  animation: pill-float 3.5s ease-in-out infinite;
}
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* ---------- Scroll indicator ---------- */
.hero-v2__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.25);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-v2__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, #C9A84C, transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ---------- Entry animations ---------- */
.hero-v2__content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-v2__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-v2__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-v2__content > *:nth-child(3) { animation-delay: 0.22s; }
.hero-v2__content > *:nth-child(4) { animation-delay: 0.30s; }
.hero-v2__content > *:nth-child(5) { animation-delay: 0.38s; }
.hero-v2__content > *:nth-child(6) { animation-delay: 0.44s; }
@keyframes hero-fade-up {
  to { opacity: 1; transform: none; }
}

.hero-v2__visuals {
  opacity: 0;
  transform: translateX(32px);
  animation: hero-fade-right 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hero-fade-right {
  to { opacity: 1; transform: none; }
}

/* ---------- RTL ---------- */
/* pseudo-elements live on .hero-v2 itself, so we qualify the selector on the element */
.hero-v2[dir="rtl"]::after { left: auto; right: 0; }
/* In column-flex with dir=rtl, flex-start = inline-start = right side */
[dir="rtl"] .hero-v2__content { align-items: flex-start; }
[dir="rtl"] .hero-v2__tagline { text-align: right; }
[dir="rtl"] .hero-v2__award-chip { left: auto; right: 16px; }
[dir="rtl"] .hero-v2__ships-pill { right: auto; left: 12px; }
[dir="rtl"] .hero-v2__badge { letter-spacing: 0; }
[dir="rtl"] .hero-v2__btn-primary { letter-spacing: 0; }
[dir="rtl"] .hero-v2__btn-secondary { letter-spacing: 0; }
[dir="rtl"] .hero-v2__stat-lbl { letter-spacing: 0; }
[dir="rtl"] .hero-v2__visuals {
  transform: translateX(-32px);
  animation-name: hero-fade-left;
}
@keyframes hero-fade-left { to { opacity: 1; transform: none; } }

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-v2__inner { gap: 40px; }
  .hero-v2__title { font-size: clamp(36px, 4.5vw, 56px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .hero-v2 { padding: 80px 0 60px; min-height: unset; }
  .hero-v2__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-v2__visuals { order: -1; transform: none; animation: none; opacity: 1; }
  .hero-v2__content { align-items: center; text-align: center; }
  .hero-v2__tagline { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-v2__actions { justify-content: center; }
  .hero-v2__signature,
  .hero-v2[dir="rtl"] .hero-v2__signature {
    align-self: center;
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }
  .hero-v2__signature .product-signature__ornament,
  .hero-v2[dir="rtl"] .hero-v2__signature .product-signature__ornament { justify-self: center; }
  .hero-v2__stats { justify-content: center; }
  .hero-v2__img-main { aspect-ratio: 16/9; border-radius: 16px; }
  .hero-v2__img-secondary { border-radius: 12px; }
  [dir="rtl"] .hero-v2__content { align-items: center; }
  /* Override the higher-specificity RTL entry-animation on mobile */
  [dir="rtl"] .hero-v2__visuals { transform: none; animation: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__badge-dot,
  .hero-v2__ships-pill,
  .hero-v2__scroll-line,
  .hero-v2__content > *,
  .hero-v2__visuals {
    animation: none;
  }

  .hero-v2__content > *,
  .hero-v2__visuals {
    opacity: 1;
    transform: none;
  }

  .hero-v2__img-main img,
  .hero-v2__img-secondary img,
  .hero-v2__btn-primary,
  .hero-v2__btn-primary svg {
    transition: none;
  }
}
