/* Premium Testimonials Section Redesign (Masonry Layout) */

.testimonials-hero {
  background: var(--bg-cream);
  padding: 120px 0 60px;
  text-align: center;
}

/* Testimonials Grid */
.testimonials-grid-section {
  padding: 4rem 0 8rem 0;
  background: var(--bg-cream);
  position: relative;
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 2rem;
  margin-top: 2rem;
}

/* Base Card Styling */
.t-card {
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.t-card:hover {
  transform: translateY(-10px);
  z-index: 2;
}

/* Giant Watermark Quote Icon */
.quote-icon {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  opacity: 0.05;
  z-index: 0;
  transform: rotate(-10deg);
  pointer-events: none;
}

/* Content wrapper above watermark */
.t-header, .t-stars, .t-text {
  position: relative;
  z-index: 1;
}

.t-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.t-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid rgba(255,255,255,0.5);
}

.t-author h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.t-author p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.t-stars {
  margin-bottom: 1.5rem;
  color: #F59E0B; /* Vibrant Gold/Orange */
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.t-text {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}


/* --- Card Themes (Masonry Layout) --- */

/* 1. Flagship Navy (Spans 2 cols) */
.t-card.flagship-navy {
  grid-column: span 2;
  background: var(--primary);
  color: white;
  box-shadow: 0 15px 35px rgba(26, 43, 76, 0.2);
}
.t-card.flagship-navy:hover {
  box-shadow: 0 25px 50px rgba(26, 43, 76, 0.4);
}
.t-card.flagship-navy .quote-icon { color: white; opacity: 0.08; }
.t-card.flagship-navy .t-author h4 { color: white; }
.t-card.flagship-navy .t-text { color: rgba(255,255,255,0.9); }

/* 2. Flagship Coral (Spans 2 cols) */
.t-card.flagship-coral {
  grid-column: span 2;
  background: var(--gradient-cta);
  color: white;
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.2);
}
.t-card.flagship-coral:hover {
  box-shadow: 0 25px 50px rgba(249, 115, 22, 0.4);
}
.t-card.flagship-coral .quote-icon { color: white; opacity: 0.15; }
.t-card.flagship-coral .t-author h4 { color: white; }
.t-card.flagship-coral .t-text { color: rgba(255,255,255,0.95); }

/* 3. Glass Light (Spans 1 col) */
.t-card.glass-light {
  grid-column: span 1;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.02);
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.t-card.glass-light:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-top-color: var(--accent);
}
.t-card.glass-light:nth-child(even) {
  border-top-color: var(--accent);
}
.t-card.glass-light:nth-child(even):hover {
  border-top-color: var(--primary);
}
.t-card.glass-light .quote-icon { color: var(--primary); opacity: 0.05; }
.t-card.glass-light .t-author h4 { color: var(--text-dark); }
.t-card.glass-light .t-author p { color: var(--text-body); }
.t-card.glass-light .t-text { color: var(--text-body); }
.t-card.glass-light .t-logo { background: var(--bg-snow); border-color: rgba(0,0,0,0.05); }

/* Make the last card span the full width to form a perfect box */
.t-card.glass-light:last-child {
  grid-column: span 3;
}


/* Responsive Layout */
@media (max-width: 992px) {
  .t-grid { grid-template-columns: 1fr; }
  .t-card.flagship-navy,
  .t-card.flagship-coral,
  .t-card.glass-light {
    grid-column: span 1; /* Full width on mobile */
  }
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background: var(--bg-cream);
}
