/* =========================================================
   HERO V2, SPLIT DIAGONALE CON SLIDER FOTOGRAFICO
   Pannello immagine dal bordo obliquo, dissolvenza automatica,
   overlay graduale per la leggibilità del testo
   ========================================================= */

.hero-v2 {
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  min-height: calc(100svh - var(--header-h) - var(--topbar-h));
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--graphite);
}

/* Pannello immagine con bordo obliquo, il taglio diagonale è la firma della V2 */
.hero-v2-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--offwhite);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 38% 100%);
}
@media (max-width: 900px) {
  .hero-v2-visual { clip-path: polygon(0 0, 100% 0, 100% 62%, 0 74%); }
}

.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.hero-slide.active { opacity: 1; }

/* Overlay: strong near the text (left) fading toward the photo (right) */
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(102deg,
    rgba(34,48,60,0.82) 0%,
    rgba(34,48,60,0.60) 24%,
    rgba(34,48,60,0.30) 46%,
    rgba(34,48,60,0.10) 66%,
    rgba(34,48,60,0.06) 100%);
}
.hero-v2-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,48,60,0.1), rgba(34,48,60,0.42) 100%);
}

.hero-v2-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(64px, 8vw, 100px);
  display: flex;
  align-items: center;
}
@media (max-height: 500px) {
  .hero-v2-content { padding-top: 90px; padding-bottom: 32px; }
}
.hero-v2-inner {
  max-width: 560px;
}
.hero-v2 .eyebrow { color: var(--white); margin-bottom: 22px; }
.hero-v2 .eyebrow::before { background: var(--orange); }
.hero-v2 .eyebrow .idx { color: rgba(255,255,255,0.55); }

.hero-v2-inner h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 26px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.hero-v2-inner h1 .accent { color: var(--orange); }

.hero-v2-inner .hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-cta-group { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 0; }
.hero-v2 .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero-v2 .btn-ghost:hover { color: var(--orange); border-color: var(--orange); }

/* Slide progress indicators */
.hero-v2-dots {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-v2-dots button {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.35);
  transition: background .4s var(--ease);
}
.hero-v2-dots button.active { background: var(--orange); }
@media (max-width: 600px) { .hero-v2-dots { display: none; } }

.hero-v2-scrollcue {
  position: absolute;
  left: var(--gutter);
  bottom: 32px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-v2-scrollcue .line { width: 30px; height: 1px; background: var(--orange); }
