/* Home (index.html) — correções mobile do hero. Desktop (>=1024px) permanece inalterado. */

@media (max-width: 1023px) {
  .hero {
    height: min(64vh, 600px);
    min-height: 440px;
  }

  .hero-content {
    right: 20px;
    bottom: 28px;
    left: 20px;
    width: auto;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 0.66rem;
  }

  .hero-content h1 {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 8.5vw, 2.9rem);
    line-height: 1.02;
  }

  .hero-description {
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.66rem;
  }
}

@media (max-width: 430px) {
  .hero {
    height: min(60vh, 520px);
    min-height: 410px;
  }

  .hero-content {
    bottom: 22px;
  }

  .hero-content h1 {
    font-size: clamp(1.95rem, 9.5vw, 2.5rem);
  }

  .hero-description {
    font-size: 0.88rem;
  }
}

/* FIX MOBILE REALE: inquadratura Home meno ravvicinata senza cambiare desktop */
@media (max-width: 767px) {
  .home-page .hero {
    min-height: 500px;
    background: #071d33;
  }

  .home-page .hero-video-stack {
    background:
      linear-gradient(180deg, #071d33 0%, #061625 100%);
  }

  .home-page .bg-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #071d33;
  }
}

@media (max-width: 430px) {
  .home-page .hero {
    height: 520px;
    min-height: 500px;
  }
}
