/* =============================================
   DESKTOP HERO - Full width + offerte + form
   Solo schermi >= 1024px
   ============================================= */

@media (min-width: 1024px) {
  /* Banner CTA sotto header */
  header::after {
    content: 'Chiama ora 02 8127 6155 per parlare con un consulente';
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
  }

  /* Hero a tutta larghezza schermo */
  section#banner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
    display: block !important;
    text-align: left !important;
  }

  section#banner > .max-w-7xl {
    width: 100% !important;
    max-width: min(1400px, calc(100vw - 4rem)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Grid 2 colonne: offerte | form */
  section#banner .grid.lg\:grid-cols-2 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px) !important;
    gap: 2.5rem !important;
    align-items: start !important;
    width: 100% !important;
  }

  /* Nascondi immagine hero */
  section#banner .window-rounded,
  section#banner div[class*='aspect-'] {
    display: none !important;
  }

  /* Colonna sinistra: titolo e prezzi */
  section#banner .grid.lg\:grid-cols-2 > div:first-child {
    width: 100% !important;
    max-width: none !important;
  }

  section#banner h1 {
    text-align: left !important;
    max-width: none !important;
    margin: 0 0 1.5rem !important;
    font-size: clamp(2rem, 2.4vw, 2.75rem) !important;
    line-height: 1.05 !important;
  }

  /* Price cards */
  section#banner .grid.grid-cols-2 {
    max-width: 520px !important;
  }

  div.bg-enel-magenta,
  div[class*='bg-enel-magenta'] {
    min-width: 0 !important;
    width: 100% !important;
    padding: 1.25rem 1.5rem !important;
  }

  /* Form nella colonna destra */
  .ec-hero-form-slot {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    align-self: start !important;
    border: 1px solid rgba(219, 39, 119, 0.12) !important;
  }

  .ec-hero-form-slot form {
    gap: 1rem !important;
  }

  /* Nasconde sezione consulenza originale (form spostato) */
  .ec-consulenza-hidden-desktop {
    display: none !important;
  }
}
