/* =============================================
   TIFFANY CHARTER - CAROSELLO RECENSIONI
   ============================================= */

.tc-carousel-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* --- CAROSELLO --- */
.tc-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.tc-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.tc-carousel-slide {
  min-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

/* --- CARD --- */
.tc-review-card {
  background: #ffffff;
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 8px 30px rgba(0, 31, 63, 0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tc-quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.15);
  line-height: 0.6;
  position: absolute;
  top: 24px;
  right: 32px;
  pointer-events: none;
}

/* Testo grande */
.tc-review-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  font-style: italic;
  margin-bottom: 28px;
  flex: 1;
}

/* Footer */
.tc-review-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
}

.tc-review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #001F3F;
  flex-shrink: 0;
}

.tc-review-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tc-review-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #001F3F;
}

.tc-review-location {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #888;
}

.tc-review-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.tc-star { font-size: 1rem; }
.tc-star.filled { color: #D4AF37; }
.tc-star.empty  { color: #ddd; }

/* --- FRECCE --- */
.tc-carousel-prev,
.tc-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #001F3F;
  color: #D4AF37;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  outline: none;
}

.tc-carousel-prev { left: 12px; }
.tc-carousel-next { right: 12px; }

.tc-carousel-prev:hover,
.tc-carousel-next:hover {
  background: #D4AF37;
  color: #001F3F;
  transform: translateY(-50%) scale(1.1);
}

/* --- DOTS --- */
.tc-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 31, 63, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
  outline: none;
}

.tc-dot.active {
  background: #D4AF37;
  transform: scale(1.3);
}

/* --- CTA --- */
.tc-review-cta {
  text-align: center;
  margin-top: 24px;
}

.tc-btn-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #001F3F;
  color: #D4AF37;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tc-btn-review:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 31, 63, 0.25);
  color: #D4AF37;
}

/* =============================================
   FORM RECENSIONE
   ============================================= */
.tc-review-form-wrap {
  background: #ffffff;
  border: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 31, 63, 0.08);
  max-width: 680px;
  margin: 0 auto;
}

.tc-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tc-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.tc-form-group label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #001F3F;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tc-required { color: #D4AF37; }

.tc-form-group input,
.tc-form-group textarea {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #333;
  border: 1.5px solid rgba(0, 31, 63, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
  width: 100%;
  box-sizing: border-box;
}

.tc-form-group input:focus,
.tc-form-group textarea:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: #ffffff;
}

.tc-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Stelle cliccabili */
.tc-star-picker {
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.tc-star-pick {
  font-size: 2.4rem;
  color: #ddd;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
  user-select: none;
}

.tc-star-pick:hover,
.tc-star-pick.selected {
  color: #D4AF37;
  transform: scale(1.15);
}

/* Submit */
.tc-form-submit {
  width: 100%;
  background: #001F3F;
  color: #D4AF37;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  margin-top: 8px;
  outline: none;
}

.tc-form-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 31, 63, 0.25);
}

.tc-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Messaggi */
.tc-form-error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #c0392b;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.tc-form-success-msg {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 24px;
  color: #001F3F;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 600px) {
  .tc-form-row-2 { grid-template-columns: 1fr; }
  .tc-review-form-wrap { padding: 24px 20px; }
  .tc-review-card { padding: 28px 24px; }
  .tc-review-text { font-size: 1rem; }
  .tc-carousel-prev { left: 4px; }
  .tc-carousel-next { right: 4px; }
}

/* ── DIVISORE ── */
.tc-reviews-divider {
  text-align: center;
  margin: 40px 0 32px;
  position: relative;
}
.tc-reviews-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0,31,63,0.1);
}
.tc-reviews-divider span {
  position: relative;
  background: inherit;
  padding: 0 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #D4AF37;
  letter-spacing: 0.1em;
  background: #fff;
}
