/* Layout */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: white; scroll-behavior: smooth; }
body { font-family: -apple-system, sans-serif; color: #1d1d1f; font-size: 17px; font-weight: 350; line-height: 25px; background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(225, 229, 237, 1) 100%); min-height: 100vh; background-attachment: fixed; }
a { color: #1d1d1f; text-decoration: none; }
span { color: #6e6e73; }
p { margin-bottom: 22px; }


/* Header */
header { text-align: center; }
    .language { background: #444; color: #eee; font-size: 12px; padding: 15px; line-height: 35px; }
        .language select { background: #666; color: white; font-size: 17px; border: none; border-radius: 8px; padding: 10px 14px; margin-left: 13px; }
        .language button { background: #f5f5f7; color: #000; border: none; border-radius: 8px; padding: 12px 16px; margin-left: 13px; font-size: 14px; cursor: pointer; }
    nav { background: white; }
      nav svg { fill: #06c; height: 25px; margin: 13px 0 5px 0; }
    h1 { font-size: 28px; font-weight: 500; margin: 50px 10px 20px 10px; line-height: 33px; }
    .button { background: #0071e3; color: white; padding: 8.5px 22.5px; border-radius: 9999px; font-size: 16px; letter-spacing: 0.2px; border: 1px solid #0071e3; display: inline-block; }
      .button:hover { background: #0071e3; color: white; }
      .outline { background: transparent; color: #0071e3; margin-left: 12px; }


/* Main */
main { width: 1024px; margin: auto; }

h2 { font-size: 22px; font-weight: 500; margin: 0 0 10px 0; padding-top: 50px; line-height: 28px; }
  h2.home { margin-left: 150px; }

section.choose-language { text-align: center; }
  .choose-language h1 { font-size: 19px; font-weight: 550; border-bottom: 1px solid #ccc; padding-bottom: 10px; }
  .choose-language a { display: block; color: #06c; font-size: 17px; line-height: 33px; }
    .choose-language a:hover { text-decoration: underline; }

.servizi { background: white; flex: 0 0 auto;
  width: 400px;
  height: 500px;
  transition: transform 0.3s ease; border-radius: 18px; padding: 30px; box-shadow: 2px 4px 12px #00000014; }
  .servizi svg { fill: #f8b137; height: 70px; margin-top: 30px; }
  .servizi:hover {
  transform: scale(1.015);
}
.servizi-small { background: white; flex: 0 0 auto;
  width: 313px;
  height: 240px;
  transition: transform 0.3s ease; border-radius: 18px; padding: 30px; box-shadow: 2px 4px 12px #00000014; }

  .servizi h3, .servizi-small h3 { font-size: 12px; font-weight: 600; margin-bottom: 5px; }
  .servizi h4, .servizi-small h4 { font-size: 23px; font-weight: 550; line-height: 30px; margin-bottom: 20px; }

  .title-gradient { background-image: linear-gradient(108deg, #0079d0 0, #9e52d8 22%, #da365c 44%, #d04901 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
 }
 .otherSites { background: white; border-radius: 8px; padding: 12px 30px; display: inline-block; margin: 30px; }
 .whatsapp { height: 42px; position: fixed; bottom: 17px; right: 17px; }


/* Footer */
footer { font-size: 12px; color: #6e6e73; width: 1024px; margin: 50px auto 0 auto; padding: 14px 0; border-top: 1px solid #ccc; letter-spacing: 0.25px; display: flex; justify-content: space-between; }
  footer a { color: #6e6e73; }


/* Mobile */
@media (max-width: 959px) {

    /* Header */
    .language { padding-top: 5px; }
    .button { padding: 5px 15px; font-size: 14px; }
      .outline { margin-left: 10px; }

    /* Main */
    main { width: 100%; }
    h2.home { margin-left: 20px; }
    .carousel { padding-left: 20px !important; }
    .whatsapp { bottom: 10px; right: 11px; }

    /* Footer */
    footer { width: 90%; display: block; padding-right: 50px; }
    
}



.carousel {
padding: 10px 50px 0 150px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
}

.item {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  transition: transform 0.3s ease;
}
.item img { object-fit: cover; width: 100%; height: 100%; border-radius: 18px; box-shadow: 2px 4px 12px #00000014; }
.item h3 { font-size: 12px; font-weight: 500; display: none; }
.item h4 { font-size: 22px; font-weight: 500; display: none; }
.item:hover {
  transform: scale(1.015);
}

