/* Testimonials page (scoped) */
.gsm-testimonials {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.2rem;
}

.gsm-testimonials .hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gsm-testimonials .hero h1 {
  font-size: 2.3rem;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.5px;
}

.gsm-testimonials .hero p {
  max-width: 780px;
  margin: 0.25rem auto 1.25rem auto;
  color: #444;
  line-height: 1.7;
}

.gsm-testimonials .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.gsm-testimonials .btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gsm-testimonials .btn-primary {
  background: #007bff;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gsm-testimonials .btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.gsm-testimonials .btn-ghost {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  color: #111;
}

.gsm-testimonials .btn-ghost:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.gsm-testimonials .grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .gsm-testimonials .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .gsm-testimonials .grid { grid-template-columns: 1fr; }
}

.gsm-testimonials .card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.gsm-testimonials .card-head {
  display: flex;
  gap: 14px;
  padding: 16px 16px 10px 16px;
  align-items: center;
}

.gsm-testimonials .avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,0.06);
}

.gsm-testimonials .who {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gsm-testimonials .who .name {
  font-weight: 800;
  color: #111;
}

.gsm-testimonials .who .title {
  color: #666;
  font-size: 0.95rem;
}

.gsm-testimonials .stars {
  margin-left: auto;
  color: #111;
  font-size: 0.95rem;
  opacity: 0.85;
}

.gsm-testimonials .body {
  padding: 0 16px 16px 16px;
  color: #333;
  line-height: 1.65;
}

.gsm-testimonials .meta {
  margin-top: auto;
  padding: 12px 16px 16px 16px;
  color: #777;
  font-size: 0.9rem;
}

.gsm-testimonials .empty {
  text-align: center;
  color: #555;
  background: #fff;
  border: 1px dashed rgba(0,0,0,0.2);
  padding: 22px;
  border-radius: 14px;
  margin-top: 2rem;
}

/* Submit form */
.gsm-testimonials .form-wrap {
  max-width: 760px;
  margin: 2rem auto 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 18px;
}

.gsm-testimonials .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 700px) {
  .gsm-testimonials .form-row { grid-template-columns: 1fr; }
}

.gsm-testimonials label {
  display: block;
  font-weight: 700;
  margin: 10px 0 6px 0;
}

.gsm-testimonials input,
.gsm-testimonials textarea,
.gsm-testimonials select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}

.gsm-testimonials textarea {
  min-height: 140px;
  resize: vertical;
}

.gsm-testimonials .hint {
  color: #666;
  font-size: 0.92rem;
  margin-top: 6px;
  line-height: 1.5;
}

.gsm-testimonials .success {
  display: none;
  max-width: 760px;
  margin: 2rem auto 0 auto;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}