/* =========================================
   TRUSTPILOT – HOME SECTION (NO FRECCE)
   File: home-trustpilot.css
   Namespace: .vr-tp*
========================================= */

.vr-tp {
  background: #1b1a1b; /* nuovo background */
  padding: 48px 16px;
  border-top: 10px solid #00b67a;
  border-bottom: 10px solid #00b67a;
}

.vr-tp__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.vr-tp__header {
  text-align: center;
  margin: 0 0 clamp(28px, 4vw, 40px);
  color: #fff; /* testo chiaro su sfondo scuro */
}

.vr-tp__eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8c8c8; /* miglior contrasto */
  margin-bottom: 6px;
}

.vr-tp__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  margin: 0 0 8px;
  color: #ffffff; /* chiaro */
}

.vr-tp__subtitle {
  margin: 0;
  font-size: 16px;
  color: #d0d0d0; /* chiaro */
}

.vr-tp__title_3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
  text-align: center !important;
  padding: 0 0 18px;
  margin: 0;
  color: #ffffff; /* chiaro */
}

.vr-tp__title_3.pb {
  padding-bottom: 45px !important;
}

.trustpilot-cta {
  padding-top: 70px;
  text-align: center;
}

.trustpilot-cta-btn {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  padding: 12px 40px;
  color: #000;
  background: var(--accent);
  border-radius: 999px;
  text-decoration: none;
  transition: .15s ease;
}

.trustpilot-cta-btn:hover {
  color: #fff;
  background-color: var(--accent_h);
  transform: translateY(-15px) !important;
}

/* Brand row (stars + logo) */
.vr-tp__brandwrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #2a292a; /* scuro ma contrastato */
  border: 1px solid #3b3b3b;
}

.vr-tp__stars {
  font-size: 18px;
  color: #00b67a;
  letter-spacing: 2px;
}

.vr-tp__brand {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

/* =========================================
   CAROSELLO SENZA FRECCE
   – scroll orizzontale nativo
========================================= */

.vr-tp__carousel-wrapper {
  margin: 0 auto;
  max-width: 1600px;
}

/* Track orizzontale */
.vr-tp__carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  cursor: grab;
  /* scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vr-tp__carousel:active {
  cursor: grabbing;
}

.vr-tp__carousel::-webkit-scrollbar {
  display: none;
}

/* Slide */
.vr-tp__slide {
  flex: 0 0 auto;
  width: min(340px, 80vw);
  scroll-snap-align: center;
}

.vr-tp__link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff; /* le card restano chiare per simulare screenshot */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid #333;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vr-tp__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.vr-tp__image {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA sotto il carosello */
.vr-tp__cta {
  text-align: center;
  margin-top: clamp(24px, 4vw, 32px);
}

.vr-tp__btn {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background: #fff;
  color: #000;
  transition: .15s ease;
  font-weight: 700;
}

.vr-tp__btn a {
  line-height: 1 !important;
}

.vr-tp__btn:hover {
  color: #fff;
  background: #00b67a;
}

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

/* ≥ 1200px */
@media (min-width: 1200px) {
  .vr-tp__carousel-wrapper {
    max-width: 1600px;
  }
}

/* 900–1199px */
@media (max-width: 1199px) and (min-width: 900px) {
  .vr-tp {
    padding: 56px 0;
  }

  .vr-tp__carousel-wrapper {
    max-width: 1600px;
  }
}

/* 600–899px – tablet */
@media (max-width: 899px) and (min-width: 600px) {
  .vr-tp {
    padding: 48px 0;
  }

  .vr-tp__carousel-wrapper {
    max-width: 100%;
  }
}

/* < 600px – mobile */
@media (max-width: 599px) {
  .vr-tp {
    padding: 40px 0;
  }

  .vr-tp__header {
    margin-bottom: 24px;
  }

  .vr-tp__title {
    font-size: 24px;
  }

  .vr-tp__subtitle {
    font-size: 14px;
  }

  .vr-tp__brandwrap {
    margin-top: 12px;
    padding: 5px 12px;
  }

  .vr-tp__carousel {
    gap: 14px;
  }

  .vr-tp__slide {
    width: 78vw;
  }

  .vr-tp__btn {
    font-size: 13px;
    padding: 11px 20px;
  }
}

/* =========================================
   OVERLAY HOVER – TRUSTPILOT
========================================= */

.vr-tp__link {
  position: relative;
}

.vr-tp__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity .25s ease;
}

.vr-tp__link:hover .vr-tp__overlay {
  opacity: 1;
  pointer-events: auto;
}
