/* =========================
   RESET & BASE
========================= */

* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #111;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  section {
    padding: 80px 10%;
  }
  
  h1, h2, h3 {
    margin-top: 0;
  }
  
  a {
    text-decoration: none;
  }
  
  /* =========================
     BOTTONI (COMPATTI)
  ========================= */
  
  .btn-primary {
    background: #2a8dbf;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    width: auto;          /* FONDAMENTALE */
    max-width: fit-content;
  }
  
  /* =========================
     HERO (50 / 50)
  ========================= */
  
  .hero {
    background: #d9744f;
    color: #fff;
    padding: 0;
  }
  
  .hero-layout {
    display: grid;
    grid-template-columns: 3fr 2fr; /* 60% testo / 40% immagine */
    min-height: 600px;
  }  
  
  .hero-left {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* evita stretch */
  }
  
  .hero-left h1 {
    font-size: 55px;
    margin-bottom: 30px;
  }
  
  .hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-right img {
    max-width: 85%;
  }
  
  /* =========================
     SERVIZI (50 / 50)
  ========================= */
  
  .services {
    padding: 0;
  }
  
  .services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }
  
  .services-left {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .services-left img {
    max-width: 70%;
  }
  
  .services-right {
    padding: 80px;
  }
  
  .services-right ul {
    margin-top: 30px;
    line-height: 2;
  }
  
  /* =========================
     PERCHÉ PASSARE DA NOI
  ========================= */
  
  .why-us {
    background: #2f7fa3;
    color: #fff;
    text-align: center;
  }
  
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
  }
  
  .why-item img {
    width: 64px;
    margin: 0 auto 20px;
  }
  
  .why-item h3 {
    margin-bottom: 10px;
  }
  
  /* =========================
     MAPPA (50 / 50)
  ========================= */
  
  .map-section {
    padding: 0;
  }
  
  .map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }
  
  .map-left {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .map-left img {
    max-width: 85%;
  }
  
  .map-right {
    padding: 80px;
  }
  
  .map-right p {
    margin: 20px 0 30px;
  }
  
  /* =========================
     RESPONSIVE TABLET
  ========================= */
  
  @media (max-width: 1024px) {
  
    section {
      padding: 60px 6%;
    }
  
    .hero-layout,
    .services-layout,
    .map-layout {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .hero-left,
    .services-right,
    .map-right {
      padding: 60px 20px;
      align-items: center;
    }
  
    .hero-left h1 {
      font-size: 34px;
    }
  
    .why-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 1024px) {

    /* HERO image */
    .hero-right img {
      max-width: 60%;
    }
  
    /* SERVIZI image */
    .services-left img {
      max-width: 50%;
    }
  
    /* MAPPA image */
    .map-left img {
      max-width: 65%;
    }
  
  }
  @media (max-width: 600px) {

    /* HERO image */
    .hero-right img {
      max-width: 70%;
      margin: 0 auto;
    }
  
    /* SERVIZI image */
    .services-left img {
      max-width: 60%;
      margin: 0 auto;
    }
  
    /* MAPPA image */
    .map-left img {
      max-width: 80%;
      margin: 0 auto;
    }
  
  }
  @media (max-width: 1024px) {

    .why-item img {
      width: 80px;
    }
  
  }
  @media (max-width: 600px) {

    .why-item img {
      width: 90px;
    }
  
  }  
  /* =========================
     RESPONSIVE SMARTPHONE
  ========================= */
  
  @media (max-width: 600px) {
  
    section {
      padding: 40px 20px;
    }
  
    h1 {
      font-size: 28px;
    }
  
    h2 {
      font-size: 22px;
    }
  
  }
  h2 {
    font-size: 50px;
    margin-bottom: 20px;
  }
  p, li {
    font-size: 18px;
    line-height: 1.7;
  }
  @media (max-width: 600px) {

    /* HERO: immagine prima del testo */
    .hero-layout {
      display: flex;
      flex-direction: column-reverse;
    }
  
    .hero-left {
      align-items: center;
      text-align: center;
      padding: 40px 20px;
    }
  
    .hero-right {
      padding-top: 30px;
    }
  
  }
  @media (max-width: 600px) {

    h2 {
      font-size: 45px;
    }
  
  }
  