/* Luckey Locksmith — testimonials section. Self-contained, LCP-safe (no JS, no web fonts, no images).
   Mobile-overflow guards: every track/card carries min-width:0 + max-width:100% and the grid uses
   minmax(min(100%, 320px), 1fr) so a card can never force horizontal scroll on a 390px viewport. */

.lk-tm {
  box-sizing: border-box;
  max-width: 1120px;
  width: 100%;
  margin: 48px auto;
  padding: 8px 20px 4px;
  min-width: 0;
  font-family: inherit;
  color: #1a1a1a;
}
.lk-tm *, .lk-tm *::before, .lk-tm *::after { box-sizing: border-box; }

.lk-tm__head { text-align: center; margin-bottom: 28px; }
/* heading/subhead sit on the site's dark page bg -> light text for AA contrast */
.lk-tm__heading {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 700;
  color: #ffffff;
}
.lk-tm__sub { color: #d4d4d4; font-size: 1rem; margin: 12px 0 0; }

/* white trust card: groups the Google-reviews aggregate + the BBB Accredited seal (home only).
   dark text lives on the white card, so it stays readable regardless of the dark page bg. */
.lk-tm__trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  max-width: 100%;
  min-width: 0;
  padding: 14px 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
}
.lk-tm__agg {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.lk-tm__agg-val { font-size: 1.5rem; font-weight: 800; color: #111; }
.lk-tm__agg-count { color: #555; font-size: .95rem; }
.lk-tm__sep { width: 1px; align-self: stretch; min-height: 34px; background: #e3e3e3; }
.lk-tm__bbb {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #1a1a1a;
}
.lk-tm__bbb img { height: 46px; width: auto; display: block; }
.lk-tm__bbb-txt { display: inline-flex; flex-direction: column; line-height: 1.18; text-align: left; }
.lk-tm__bbb-txt b { font-size: 1.05rem; color: #0077bf; }
.lk-tm__bbb-txt span { font-size: .78rem; color: #666; }
.lk-tm__bbb:hover .lk-tm__bbb-txt b { text-decoration: underline; }

.lk-tm__angi {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #1a1a1a;
}
.lk-tm__angi img { height: 52px; width: auto; display: block; }
.lk-tm__angi-txt { display: inline-flex; flex-direction: column; line-height: 1.18; text-align: left; }
.lk-tm__angi-txt b { font-size: 1.05rem; color: #ff5a48; }
.lk-tm__angi-txt span { font-size: .78rem; color: #666; }
.lk-tm__angi:hover .lk-tm__angi-txt b { text-decoration: underline; }

.lk-tm__stars { color: #f5a623; letter-spacing: 1px; font-size: 1.05rem; line-height: 1; }
.lk-tm__agg .lk-tm__stars { font-size: 1.3rem; }

.lk-tm__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.lk-tm__card {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.lk-tm__quote {
  margin: 0;
  border: 0;
  padding: 0;
  font-size: .98rem;
  line-height: 1.6;
  color: #2a2a2a;
  white-space: pre-line;           /* keep reviewers' line breaks, verbatim */
  overflow-wrap: break-word;
  word-break: break-word;
  quotes: none;
}

.lk-tm__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: .85rem;
  color: #666;
}
.lk-tm__author { font-weight: 700; color: #111; }
.lk-tm__src { color: #4285f4; }
.lk-tm__date { color: #999; }

.lk-tm__cta { text-align: center; margin: 26px 0 0; }
.lk-tm__call {
  display: inline-block;
  padding: 12px 26px;
  background: #c0392b;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}
.lk-tm__call:hover { background: #a83224; }

@media (max-width: 640px) {
  .lk-tm { margin: 36px auto; padding: 8px 14px 4px; }
  .lk-tm__grid { gap: 14px; }
  .lk-tm__card { padding: 18px 16px 16px; }
}
