
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      color: #2c3e50;
    }

    a {
      color: #3498db;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    a:hover {
      color: #2980b9;
      
    }

    /* HEADER DESKTOP */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      background: #ffffff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      min-height: 60px;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    header nav {
      display: flex;
      align-items: center;
    }

    header nav a {
      font-size: 1em;
      white-space: nowrap;
    }

    .hero {
      background: linear-gradient(135deg, #006633 0%, #34495e 100%);
      color: white;
      text-align: center;
      padding: 60px 20px;
    }

    .hero h1 {
      margin: 0 0 20px;
      font-size: 2.4em;
    }

    /*BOTTONE DOVESIAMO*/
    .hero .dovesiamo {
      background: #efece8;
      color: white;
      padding: 12px 24px;
      font-size: 1.1em;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
    }

    .hero .dovesiamo:hover {
      background: #edd5c4;
      transform: translateY(-2px);
    }

    /*BOTTONE PRENOTA*/
    .hero .btn {
      margin-bottom: 0px;
      background: #e67e22;
      color: white;
      padding: 12px 24px;
      font-size: 1.1em;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .hero .btn:hover {
      background: #d35400;
      transform: translateY(-2px);
    }

    
    nav a{
      margin: 20px;
      display: flex;
      justify-content: center;
    }

    .services-wrapper {
      background: #ecf0f1;
      padding-top: 1px; /* evita il margin collapse */
    }

    .label_inizio_sezione {
      text-align: center;
      font-size: 1.5em;
      margin: 40px 0 10px;
      color: #34495e;
      font-weight: bold;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
      padding: 20px 40px 40px 40px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .service {
      padding: 20px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-top: 4px solid #3498db;
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
    }

    .service:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .service:nth-child(2) {
      border-top-color: #3498db;
    }

    .service:nth-child(3) {
      border-top-color: #27ae60;
    }

    .service:nth-child(4) {
      border-top-color: #9b59b6;
    }

    .service img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 8px;
      background: #bdc3c7;
    }

    .service h3 {
      margin: 16px 0 8px;
      font-size: 1.2em;
      color: #2c3e50;
      min-height: 2.4em; /* per mantenere l'altezza costante anche con titoli più corti */
    }

    .service p {
      color: #7f8c8d;
      line-height: 2.5;
      margin-top: auto;
    }

    /*Link servizi*/
    .service-link {
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .service-link:hover .service {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }

    /*tolgo la cornice nera che il browser mette quando clicco su un link*/
    .service-link:focus {
  outline: none;
}

/*scrolla in automatico di x pixel quando vado al link, in questo caso applicandolo a service-link funziinerà con le card servizi*/
.service-link {
  scroll-margin-top: 80px;
}
    /* fine Link servizi*/

    footer {
      background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
      color: white;
      padding: 30px 20px;
      text-align: center;
      font-size: 1em;
    }

    footer a {
      color: #3498db;
    }

    footer a:hover {
      color: #5dade2;
    }

    footer table {
      color: #ecf0f1;
    }

    footer p:first-child::before {
      content: "📍";
      margin-right: 8px;
    }

    footer p:nth-child(2)::before {
      content: "✉️";
      margin-right: 8px;
    }

    /* MEDIA QUERY PER MOBILE - HEADER MIGLIORATO */
      @media (max-width: 728px) {

                header {
                  flex-direction: column;
                  align-items: center;
                }

                header .logo {
                  width: 100%;
                  display: flex;
                  justify-content: center;
                }

                header .logo svg {
                  max-width: 280px;
                }
                header nav {
                  width: 100%;
                  justify-content: center;
                }

              header nav a {
                font-size: 0.9em;
                padding: 6px 12px;
                background: #f8f9fa;
                border-radius: 4px;
                color: #006633;
              }

              .hero h1 {
                font-size: 1.8em;
              }

              .services {
                grid-template-columns: 1fr;
                padding: 20px;
              }
        }
