  :root{
    --hero-overlay-color: #0f1115;
    --hero-overlay-opacity: 0.45;
    --hero-text-color: #ffffff;
    --hero-accent-color: #c9a24b;
    --hero-font-display: "Helvetica Neue", Arial, sans-serif;
    --hero-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  *{ box-sizing: border-box; }
  html, body{ margin:0; padding:0; height:100%; }
  body{ font-family: var(--hero-font-body); }

  /* ---------- HERO ---------- */
  .hero{
    position: relative;
    width: 100%;
    height: 100svh; /* usa lo spazio visibile reale su mobile, evita salti con la barra indirizzi */
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000; /* colore visibile mentre il video/poster carica */
  }

  .hero-video,
  .hero-poster{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* attivati via JS in base alla configurazione */
  }

  .hero-overlay{
    position: absolute;
    inset: 0;
    background: var(--hero-overlay-color);
    opacity: var(--hero-overlay-opacity);
    pointer-events: none;
  }

  .hero-aigenerated{
    position: relative;
    inset: 0;
    background: var(--hero-overlay-color);
    opacity: var(--hero-overlay-opacity);
    pointer-events: none;
  }

  .hero-content{
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 24px;
    color: var(--hero-text-color);
  }

  .hero-content h1{
    font-family: var(--hero-font-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 5vw + 1rem, 4rem);
    line-height: 1.08;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
  }

  .hero-content p{
    font-size: clamp(1rem, 1.4vw + 0.6rem, 1.3rem);
    line-height: 1.5;
    opacity: 0.92;
    margin: 0 0 32px;
  }

  .hero-cta{
    display: inline-block;
    padding: 14px 34px;
    border-radius: 999px;
    background: var(--hero-accent-color);
    color: #14171c;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .hero-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
  }

  .scroll-indicator{
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: none;
    border: 2px solid var(--hero-text-color);
    color: var(--hero-text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    animation: bounce 2.2s infinite;
  }
  @media (prefers-reduced-motion: reduce){
    .scroll-indicator{ animation: none; }
  }
  @keyframes bounce{
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
  }

  .placeholder-section{
    padding: 96px 24px;
    background: #fff;
    color: #14171c;
  }
  .placeholder-section .container{
    max-width: 860px;
    margin: 0 auto;
  }
  .placeholder-section h2{
    font-family: var(--hero-font-display);
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
    margin: 0 0 16px;
  }
  .placeholder-section p{
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4f57;
  }
