/* CSS Document */

    :root {
      --page-width: 944px;
      --text: #333333;
      --muted: #777777;
      --accent: #35c0f0;
      --blue-block: #90d5ee;
      --border-light: #e5e5e5;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #f6f6f6;
      color: var(--text);
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .page-wrapper {
      max-width: var(--page-width);
      width: 100%;
      margin: 0 auto;
      background: #ffffff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }

    /* HEADER */

    .top-bar {
      background: #ffffff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06);
      position: relative;
      z-index: 10;
    }

    .top-bar-inner {
      width: 100%;
      max-width: calc(var(--page-width) - 48px);
      margin: 0 auto;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 0;
    }

    .logo img {
      height: 60px;
    }

    .top-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      font-size: 13px;
      color: #555555;
    }

    .top-menu a:hover {
      color: var(--accent);
    }

    /* HERO */

/* HERO CAROUSEL */

.hero-promo {
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
}

.hero-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* pallini hero */

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 16px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #cfdde8;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.hero-dot.hero-dot-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

    /* BLOCCO AZZURRO */

    .blue-block {
      background: var(--blue-block);
      padding: 32px 32px 32px 24px;
    }

    .blue-inner {
      display: flex;
      align-items: stretch;
      gap: 24px;
    }

    .blue-image {
      flex: 0 0 430px;
    }

    .blue-image img {
      width: 100%;
      border-radius: 12px;
    }

    .blue-text {
      flex: 1;
      padding-top: 28px;
      padding-right: 10px;
      color: #264859;
    }

    .blue-text h2 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .blue-text h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .blue-text p {
      font-size: 13px;
      line-height: 1.6;
    }

    /* PROMO BANNER */

    .promos-row {
      display: flex;
      width: 100%;
    }

    .promos-row .promo {
      flex: 1;
    }

    .promos-row img {
      width: 100%;
      height: auto;
    }

    /* STRISCIA ICONE */

    .icons-strip {
      padding: 22px 60px 24px;
      border-top: 1px solid var(--border-light);
      border-bottom: 1px solid var(--border-light);
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--muted);
      gap: 16px;
    }

    .icons-strip-item {
      display: flex;
      align-items: center;
      width: 30%;
    }

    .icons-strip-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid #cfcfcf;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      margin-right: 10px;
      color: #555555;
      flex-shrink: 0;
    }

    .icons-strip-text strong {
      display: block;
      font-size: 12px;
      color: var(--text);
      margin-bottom: 2px;
    }

    /* STEPS */

    .steps-section {
      padding: 40px 40px 24px;
      text-align: center;
    }

    .steps-title {
      font-size: 26px;
      font-weight: 700;
      color: #222222;
      margin-bottom: 4px;
    }

    .steps-subtitle {
      font-size: 14px;
      font-weight: 600;
      color: var(--accent);
    }

    .steps-grid {
      margin-top: 34px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: nowrap;
    }

    .step-card {
      width: 18.5%;
      border: 1px solid var(--border-light);
      padding: 18px 12px 16px;
      font-size: 11px;
      color: var(--muted);
    }

    .step-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid #cfcfcf;
      margin: 0 auto 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      color: #444444;
    }

    .step-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 4px;
    }

    /* BENEFITS (proporzioni desktop) */

    .benefits-section {
      padding: 26px 40px 10px;
    }

    .benefits-row {
      display: flex;
      gap: 24px;
      margin-bottom: 18px;
    }

    .benefits-row .benefit img {
      width: 100%;
      border-radius: 4px;
    }

    /* prima riga: 06 senza_stress (558x292) + 06 libera_tempo (458x292) */
    .benefits-row.row1 .benefit-left {
      flex: 558;
    }
    .benefits-row.row1 .benefit-right {
      flex: 458;
    }

    /* seconda riga: 07 libera_tempo (374x320) + 07 ritiro_e_riconsegna (620x320) */
    .benefits-row.row2 .benefit-left {
      flex: 374;
    }
    .benefits-row.row2 .benefit-right {
      flex: 620;
    }

    /* BOTTOM TEXT + CTA */

    .bottom-section {
      padding: 20px 40px 40px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
    }

    .bottom-text {
      width: 60%;
      font-size: 12px;
      color: var(--muted);
    }

    .bottom-text h3 {
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 4px;
    }

    .bottom-text p {
      margin-bottom: 8px;
      line-height: 1.5;
    }

    .bottom-text p strong {
      color: var(--accent);
    }

    .bottom-cta {
      margin-top: 14px;
    }

    .bottom-cta a {
      display: inline-block;
      padding: 8px 40px;
      font-size: 13px;
      font-weight: 600;
      border-radius: 20px;
      background: var(--accent);
      color: #ffffff;
    }

    .bottom-image {
      width: 32%;
    }

    .bottom-image img {
      width: 100%;
      border-radius: 4px;
    }

/* FOOTER */

.footer {
  background: #f6f7f9;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 24px 40px 28px;
}

/* 4 colonne menu */

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 1 0;
  min-width: 160px;
  font-size: 12px;
}

.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #264859;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

/* parte bassa: social + copyright sulla stessa riga */

.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e3eef5;
  display: flex;
  justify-content: space-between; /* social a sx, testo a dx */
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

/* social */

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cfdde8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #264859;
  background: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social-icon span {
  line-height: 1;
}

/* hover colore “brand-ish” */

.si-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.si-instagram:hover {
  background: #e1306c;
  border-color: #e1306c;
  color: #ffffff;
}

.si-twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.si-youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

/* responsive footer */

@media (max-width: 900px) {
  .footer-inner {
    padding: 20px 40px 24px;
  }

  .footer-columns {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 18px 40px 22px;
  }

  .footer-columns {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
  }
}



    /* =========================
       RESPONSIVE
       ========================= */

    /* Tablet: stringe, ma mantiene 2 colonne dove possibile */
    @media (max-width: 900px) {
      .top-bar-inner {
        padding: 0 16px;
        height: auto;
        min-height: 70px;
      }

      .top-menu {
        gap: 20px;
        font-size: 12px;
      }

      .blue-block {
        padding: 24px 20px;
      }

      .blue-inner {
        flex-direction: column;
      }

      .blue-image {
        flex: none;
        width: 100%;
      }

      .blue-text {
        padding-top: 16px;
      }

      .icons-strip {
        padding: 18px 24px;
        flex-wrap: wrap;
      }

      .icons-strip-item {
        width: 100%;
      }

      .steps-section {
        padding: 32px 24px 20px;
      }

      .steps-grid {
        flex-wrap: wrap;
      }

      .step-card {
        width: calc(50% - 8px);
      }

      .benefits-section {
        padding: 24px 24px 10px;
      }

      .bottom-section {
        padding: 20px 24px 32px;
      }
    }

    /* Mobile: quasi tutto in colonna */
    @media (max-width: 600px) {

      .top-bar-inner {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 16px 10px;
      }

      .top-menu {
        gap: 16px;
        font-size: 11px;
        flex-wrap: wrap;
      }

      .blue-block {
        padding: 20px 16px;
      }

      .icons-strip {
        padding: 16px 16px 18px;
      }

      .steps-section {
        padding: 28px 16px 16px;
      }

      .steps-title {
        font-size: 22px;
      }

      .steps-grid {
        flex-direction: column;
      }

      .step-card {
        width: 100%;
      }

      .benefits-row {
        flex-direction: column;
      }

      .benefits-row.row1 .benefit-left,
      .benefits-row.row1 .benefit-right,
      .benefits-row.row2 .benefit-left,
      .benefits-row.row2 .benefit-right {
        flex: none;
      }

      .bottom-section {
        flex-direction: column;
        padding: 20px 16px 28px;
      }

      .bottom-text,
      .bottom-image {
        width: 100%;
      }

      .bottom-image {
        order: -1; /* se vuoi l'immagine sopra il testo sul mobile, altrimenti togli */
      }

      
    }

/* TESTIMONIANZE */

.testimonials-section {
  padding: 40px 40px 50px;
  background: #f9fcff; /* azzurrino molto chiaro, coerente con la pagina */
  border-top: 1px solid #e3eef5;
}

.testimonials-inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.testimonials-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.testimonials-carousel {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-viewport {
  overflow: hidden;
  flex: 1;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  flex: 0 0 auto;
  min-width: calc(33.333% - 16px); /* 3 card visibili su desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.testimonial-bubble {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  border: 1px solid #e3eef5;
}

.testimonial-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.testimonial-meta {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #e3eef5;
  margin-top: -32px; /* esce dalla nuvoletta */
  background: #ddd;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: #264859;
}

.testimonial-role {
  font-size: 11px;
  color: var(--muted);
}

/* frecce */

.testimonial-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cfdde8;
  background: #ffffff;
  color: #264859;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.testimonial-arrow:hover:not(:disabled) {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.testimonial-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

/* RESPONSIVE testimonianze */

@media (max-width: 900px) {
  .testimonials-section {
    padding: 32px 24px 40px;
  }

  .testimonial-card {
    min-width: calc(50% - 12px); /* 2 card visibili su tablet */
  }
}

@media (max-width: 600px) {
  .testimonials-section {
    padding: 28px 16px 34px;
  }

  .testimonials-carousel {
    gap: 8px;
  }

  .testimonial-card {
    min-width: 100%; /* 1 card visibile su mobile */
  }

  .testimonial-bubble {
    font-size: 12px;
  }
}
/* FIX: 3 testimonianze visibili su desktop, 2 su tablet, 1 su mobile */
.testimonials-track {
  display: flex;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}

/* tablet: 2 card per riga */
@media (max-width: 900px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

/* mobile: 1 card per riga */
@media (max-width: 600px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
