/* Testimonials — the logo mark speaks.

   A bubble grows out of the mark with the quote inside. Round profile
   buttons underneath switch between them. */

.lgs-tm {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw 110px;
}

.lgs-tm-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #d10a6f;
  margin-bottom: 16px;
}

.lgs-tm h2 {
  margin: 0 0 64px;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.lgs-tm h2 span { color: #d10a6f; }

/* ---------- the stage ---------- */
.lgs-tm-stage {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4%;
  align-items: center;
}

.lgs-tm-mark { position: relative; padding-bottom: 6px; }
.lgs-tm-mark svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---------- the bubble ---------- */
.lgs-tm-bubble { position: relative; }

.lgs-tm-shape {
  position: relative;
  background: #fff;
  border-radius: 32px;
  padding: 44px 48px 40px;
  box-shadow: 0 22px 50px rgba(26, 26, 26, 0.10);
  border: 1px solid rgba(26, 26, 26, 0.06);
  transform-origin: left center;
  /* height is locked in JS to whichever quote is tallest at this width, so
     the picker below never jumps. A fixed px value can't work — the tallest
     one changes as the text rewraps. */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* the tail, pointing back at the mark */
.lgs-tm-shape::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  margin-top: -16px;
  width: 34px;
  height: 34px;
  background: #fff;
  border-left: 1px solid rgba(26, 26, 26, 0.06);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  transform: rotate(45deg);
  border-bottom-left-radius: 6px;
}

.lgs-tm-headline {
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.lgs-tm-quote {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lgs-tm-headline .w, .lgs-tm-quote .w { display: inline-block; }

.lgs-tm-by { margin-top: 26px; font-size: 14.5px; line-height: 1.5; color: #55524d; }
.lgs-tm-by strong { display: block; color: #1a1a1a; }

/* ---------- who to read ---------- */
.lgs-tm-picker {
  display: flex;
  gap: 10px;
  margin-top: 34px;
  margin-left: calc(120px + 4%);
}

/* Round, so they read as profile pictures rather than buttons. */
.lgs-tm-dot {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #e6e2dc;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.3s ease, border-color 0.3s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 20px/1 'Poppins', sans-serif;
  color: #fff;
}
.lgs-tm-dot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* No photo: their initial on that testimonial's colour, so it reads as a
   choice rather than a missing image. */
.lgs-tm-dot.is-initial { background: var(--c); }

.lgs-tm-dot:hover { opacity: 0.85; transform: translateY(-2px); }
/* A dark ring reads against any of the service colours; a pink one
   disappears on the pink tile. */
.lgs-tm-dot.is-on { opacity: 1; border-color: #1a1a1a; transform: translateY(-3px); }

/* ---------- smaller screens ---------- */
@media (max-width: 860px) {
  .lgs-tm { padding-bottom: 80px; }
  .lgs-tm h2 { margin-bottom: 44px; }
  .lgs-tm-stage { grid-template-columns: 84px 1fr; gap: 5%; }
  .lgs-tm-shape { padding: 30px 26px 28px; border-radius: 26px; }
  .lgs-tm-picker { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lgs-tm-dot { transition: none; }
}
