/* ============================================================
   VIAJAR — Home page styles
   ============================================================ */

/* ── Destinazioni ── */
.section-destinazioni {
  background: var(--cream);
}

/* ── Recensioni (Swiper) ── */
.section-recensioni {
  background: var(--white);
}

.recensioni-swiper {
  padding-bottom: var(--sp-10) !important;
}

.recensioni-swiper .swiper-pagination-bullet {
  background: var(--teal-muted);
  opacity: 0.4;
}

.recensioni-swiper .swiper-pagination-bullet-active {
  background: var(--teal);
  opacity: 1;
}

.recensioni-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.recensioni-prev,
.recensioni-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.recensioni-prev:hover { background: var(--teal); transform: scale(1.05); }
.recensioni-next:hover { background: var(--teal); transform: scale(1.05); }

/* ── USP ── */
.section-usp {
  background: var(--dark-usp);
}

/* ── Stats ── */
.section-stats {
  background: var(--black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid .stat-counter {
  position: relative;
}

.stats-grid .stat-counter + .stat-counter::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,.08);
}

/* ── Offerte ── */
.section-offerte {
  background: var(--white);
}

/* ── Blog ── */
.section-blog {
  background: var(--cream);
}

/* ── Preventivo ── */
.section-preventivo {
  background: var(--dark-section);
}

.preventivo-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .preventivo-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.preventivo-form-grid .form-field--full {
  grid-column: 1 / -1;
}

.preventivo-note {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}

.preventivo-note span {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

/* ── Newsletter ── */
.section-newsletter {
  background: var(--cream);
  padding-block: var(--sp-12);
  border-block: 1px solid var(--border);
}

.newsletter-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 480px;
  margin: var(--sp-5) auto 0;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
}

/* ── Partner ── */
.section-partner {
  background: var(--white);
  padding-block: var(--sp-8);
  border-block: 1px solid var(--border);
}

.partner-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.partner-logo {
  opacity: 0.35;
  filter: grayscale(100%);
  transition: opacity var(--transition-base), filter var(--transition-base);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  min-width: 100px;
  text-align: center;
}

.partner-logo:hover {
  opacity: 0.7;
  filter: grayscale(0%);
}

/* ── Countdown (home offerte) ── */
.countdown-inline {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.countdown-inline .countdown-unit {
  background: var(--black);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
