/* Homepage-only. The shared landing styles stay in landing.css.
   Recent client websites use .lp-grid / .lp-work from landing.css. */

.home-rating-widget { width: 100%; flex-basis: 100%; }
.home-rating {
  margin: 22px 0 0;
  text-align: center;
}
.home-rating a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-width: calc(100% - 8px);
  padding: 7px 14px 7px 10px;
  background: #eef9fe;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: #454f57;
  font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}
.home-rating a:hover, .home-rating a:focus-visible { color: #1e8fc0; }
.home-g { flex: none; width: 15px; height: 15px; }
.home-stars { color: #43b8ea; letter-spacing: 1px; font-size: 13px; line-height: 1; }
.home-score {
  color: #101010;
  font-family: SpaceGrotesk-Bold, SpaceGrotesk, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
}
.home-gwords { white-space: nowrap; }

.home-reviews { margin-top: 8px; }
.hr-layout { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 28px; align-items: start; }
.hr-summary { position: sticky; top: 110px; background: #fff; border: 1px solid var(--lp-line); border-radius: 20px; padding: 28px 24px; text-align: center; box-shadow: 0 14px 34px rgba(16, 16, 16, 0.06); }
.hr-g { display: block; width: 36px; height: 36px; margin: 0 auto 10px; }
.hr-g svg { display: block; width: 100%; height: 100%; }
.hr-summary .hr-score { margin: 0; font-family: SpaceGrotesk-Bold, SpaceGrotesk, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 64px; line-height: 1; color: var(--lp-ink); }
.hr-stars { display: block; margin-top: 6px; color: #fbbc04; font-size: 22px; letter-spacing: 3px; line-height: 1; }
.hr-summary .hr-count { margin: 10px 0 0; font-weight: 700; color: var(--lp-ink); font-size: 16px; }
.hr-summary .hr-note { margin: 12px 0 20px; font-size: 15px; line-height: 1.5; color: var(--lp-text); }
.hr-summary .lp-btn { display: block; }
.hr-summary .lp-link { display: inline-block; margin-top: 14px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.hr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hr-grid .lp-rcard { margin: 0; break-inside: auto; text-align: left; }
.hr-grid .lp-rcard .lp-rtext, .hr-grid .lp-rcard .lp-rperson, .hr-grid .lp-rcard .lp-rperson strong, .hr-grid .lp-rcard .lp-rperson small { text-align: left; }
.hr-grid .lp-rcard .lp-rmore { display: block; }
.hr-grid .lp-rcard .lp-rtext.is-clamped { max-height: 120px; }
@media (max-width: 899px) {
  .hr-layout { grid-template-columns: 1fr; gap: 18px; }
  .hr-summary { position: static; padding: 22px 20px; }
  .hr-summary .hr-score { font-size: 52px; }
}
@media (max-width: 699px) {
  .hr-grid { grid-template-columns: 1fr; }
  .hr-grid .lp-rcard:nth-child(n+4) { display: none; }
}

.home-faq .lp-faq a { text-decoration: underline; text-underline-offset: 3px; }

.home-quiet { padding: 28px 0; }
.home-quiet p { margin: 0 auto; max-width: 720px; text-align: center; font-size: 17px; }
.home-quiet a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .home-rating a { transition: none; }
}

.elementor-2568 .elementor-element.elementor-element-96f7cda .elementor-heading-title {
  text-transform: none !important;
}
.elementor-2568 .elementor-element-616047a a {
  color: #43b8ea;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* One measure and one gap for the homepage grids. The offer block keeps its
   earlier layout. Other pages keep their own layout. */
.home .elementor-2568 .elementor-section-boxed:not(.elementor-element-e0af0a5) > .elementor-container {
  max-width: 1140px;
}
.home .elementor-2568 .elementor-element-7920ba03 > .elementor-container {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.home .elementor-2568 .elementor-element-7920ba03 .elementor-column > .elementor-widget-wrap {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home .elementor-2568 .elementor-element-7920ba03 .elementor-widget-betakit-button {
  margin-top: auto;
}

.home .elementor-2568 .elementor-element-7920ba03 > .elementor-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home .elementor-2568 .elementor-element-7920ba03 > .elementor-container > .elementor-column {
  width: auto !important;
  margin: 0 !important;
}
.home .elementor-2568 .elementor-element-7920ba03 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top center;
}

#recent-sites .lp-grid.lp-grid-4 {
  grid-auto-rows: auto;
  gap: 22px;
  align-items: start;
}
#recent-sites .lp-work { grid-row-end: auto !important; }

#free-audit .lp-audit-close {
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 22px;
}

@media (max-width: 900px) {
  .home .elementor-2568 .elementor-element-7920ba03 > .elementor-container {
    padding-left: 24px;
    padding-right: 24px;
    grid-template-columns: 1fr;
  }
  #free-audit .lp-audit-close {
    grid-template-columns: 1fr;
  }
}
.elementor-2568 .elementor-element-616047a a:hover,
.elementor-2568 .elementor-element-616047a a:focus-visible {
  color: #1e8fc0;
}

/* Service card photos: the link around each image was inline, which left a white strip under the photo. */
.elementor-element-71140a09 a, .elementor-element-3ce0b111 a, .elementor-element-1453e59a a { display: block; line-height: 0; }

/* "Recent Client Websites" gets the same light blue as the hero. */
#recent-sites.lp-section.alt { background: #eef9fe; }

/* Readable text on the blue and white buttons, and darker link blue on white. */
.home .elementor-widget-container > a { color: #0f6f9b; }
