/* Landing page runtime styles: Google badge, reviews slider and review modal.
   Brand colours come from --lp-dark / --lp-accent, set per client by the builder. */
:root {
  --lp-gold: #f6bb06;
  --s: var(--scale, 1);
}

/* ---------------------------------------------------------------- Google badge */
.ca-badge {
  display: flex;
  font-family: Poppins, Arial, sans-serif;
  color: #000;
  text-decoration: none !important;
}
.ca-badge strong { font-weight: 600; }
.ca-badge .ca-google { display: block; height: auto; }
.ca-stars { color: var(--lp-gold); letter-spacing: 0; line-height: 1; }

.ca-badge--stacked {
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 14px;
  line-height: 20px;
}
.ca-badge--stacked .ca-badge__row { display: flex; align-items: center; gap: 7px; }
.ca-badge--stacked .ca-google { width: 62px; margin-top: 3px; }
.ca-badge--stacked .ca-stars { font-size: 19px; }

.ca-badge--pill {
  position: absolute;
  left: calc(13px * var(--s));
  right: calc(13px * var(--s));
  top: calc(30px * var(--s));
  height: calc(56px * var(--s));
  align-items: center;
  justify-content: center;
  gap: calc(6px * var(--s));
  background: #fff;
  border-radius: calc(10px * var(--s));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  font-size: calc(12.5px * var(--s));
}
.ca-badge--pill .ca-google { width: calc(54px * var(--s)); margin-top: calc(3px * var(--s)); }
.ca-badge--pill .ca-stars { font-size: calc(15px * var(--s)); }

/* ---------------------------------------------------------------- reviews slider */
.ca-reviews {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 25px 40px 0;
  box-sizing: border-box;
  font-family: Poppins, Arial, sans-serif;
}
.ca-reviews__viewport { overflow: hidden; padding: 6px 0 12px; margin: -6px 0 0; }
.ca-reviews__track {
  display: flex;
  gap: 16px;
  transition: transform .45s ease;
  will-change: transform;
}
.ca-review {
  flex: 0 0 calc((100% - 32px) / 3);
  box-sizing: border-box;
  height: 210px;
  padding: 20px 22px;
  background: #f6f6f6;
  border-radius: 10px;
  color: #1c1c1c;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.ca-review__head { display: flex; align-items: center; gap: 12px; }
.ca-review__avatar {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ca-review__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ca-review__who strong { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-review__who small { font-size: 13px; color: #8a8a8a; }
.ca-g { flex: 0 0 21px; width: 21px; height: 21px; align-self: flex-start; }
.ca-review__stars { display: flex; align-items: center; gap: 6px; margin: 12px 0 8px; }
.ca-review__stars .ca-stars { font-size: 20px; }
.ca-verified { width: 17px; height: 17px; }
.ca-review__text {
  font-size: 15px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.ca-review__more {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: #8a8a8a;
  font: 500 13px Poppins, Arial, sans-serif;
  cursor: pointer;
}
.ca-review__more:hover { color: var(--lp-dark); text-decoration: underline; }
.ca-reviews__nav {
  position: absolute;
  top: 115px;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ca-reviews__nav svg { width: 22px; height: 22px; fill: #333; }
.ca-reviews__nav--prev { left: 24px; }
.ca-reviews__nav--next { right: 24px; }

/* Mobile: one card per view, sized with the page scale like the rest of the layout. */
@media only screen and (max-width: 600px) {
  .ca-reviews { padding: calc(14px * var(--s)) calc(14px * var(--s)) 0; }
  .ca-reviews__track { gap: calc(14px * var(--s)); }
  .ca-review {
    flex-basis: 100%;
    height: calc(222px * var(--s));
    padding: calc(18px * var(--s)) calc(18px * var(--s));
  }
  .ca-review__avatar { flex-basis: calc(38px * var(--s)); height: calc(38px * var(--s)); font-size: calc(17px * var(--s)); }
  .ca-review__head { gap: calc(10px * var(--s)); }
  .ca-review__who strong { font-size: calc(14px * var(--s)); }
  .ca-review__who small { font-size: calc(12px * var(--s)); }
  .ca-g { flex-basis: calc(20px * var(--s)); width: calc(20px * var(--s)); height: calc(20px * var(--s)); }
  .ca-review__stars { margin: calc(10px * var(--s)) 0 calc(8px * var(--s)); }
  .ca-review__stars .ca-stars { font-size: calc(19px * var(--s)); }
  .ca-verified { width: calc(16px * var(--s)); height: calc(16px * var(--s)); }
  .ca-review__text { font-size: calc(14px * var(--s)); line-height: calc(21px * var(--s)); -webkit-line-clamp: 4; }
  .ca-review__more { font-size: calc(12.5px * var(--s)); }
  .ca-reviews__nav { top: calc(124px * var(--s)); width: calc(30px * var(--s)); height: calc(30px * var(--s)); }
  .ca-reviews__nav--prev { left: calc(2px * var(--s)); }
  .ca-reviews__nav--next { right: calc(2px * var(--s)); }
}

/* ---------------------------------------------------------------- review modal */
.ca-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 13, 30, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ca-modal[hidden] { display: none; }
.ca-modal__box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 26px 26px 22px;
  box-sizing: border-box;
  font-family: Poppins, Arial, sans-serif;
  color: #1c1c1c;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.ca-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.ca-modal__body .ca-review__head { margin-right: 26px; }
.ca-modal__body p { font-size: 15px; line-height: 23px; margin: 0 0 12px; }
.ca-modal__source { font-size: 13px; color: #8a8a8a; }
.ca-modal__source a { color: var(--lp-dark); }

/* No review texts yet: a single card linking to the Google listing. */
.ca-reviews--empty { display: flex; justify-content: center; align-items: flex-start; }
.ca-review--cta {
  flex: 0 0 auto; width: 320px; height: auto; align-items: center; gap: 8px; text-align: center;
  text-decoration: none !important; color: #1c1c1c; padding: 26px 22px;
}
.ca-review--cta .ca-google { width: 92px; }
.ca-review--cta .ca-review__stars { margin: 0; }
.ca-review--cta strong { font-size: 18px; }
.ca-review--cta span:last-child { color: var(--lp-dark); font-weight: 600; font-size: 14px; }

/* Fewer reviews than fit in one view: centre them and drop the arrows. */
.ca-reviews--few .ca-reviews__track { justify-content: center; }
.ca-reviews--few .ca-reviews__nav { display: none; }

/* ---------------------------------------------------------------- lead form popup (Mauzy "Schedule your service") */
.lp-lead { position: fixed; inset: 0; z-index: 10001; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: 12px; }
.lp-lead[hidden] { display: none; }
.lp-lead__box { position: relative; width: 840px; max-width: 100%; max-height: 96vh; overflow: auto; background: var(--lp-accent); box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.lp-lead__close { position: absolute; top: 6px; right: 12px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lp-lead__form, .lp-lead__done { padding: 36px 98px 34px; color: #fff; font-family: Lato, Arial, sans-serif; }
.lp-lead__title { margin: 0 0 22px; text-align: center; font: italic 900 36px/38px Poppins, Arial, sans-serif; color: #fff; }
.lp-lead__form label { display: block; font-weight: 700; font-size: 18px; line-height: 20px; margin: 0 0 10px; }
.lp-lead__form input[type=text], .lp-lead__form input[type=tel], .lp-lead__form input[type=email], .lp-lead__form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 4px; height: 34px; padding: 0 8px; font: 15px Arial, sans-serif; color: #000;
  background: #fff; border: 1px solid #bbb; border-radius: 5px; box-shadow: inset 0 2px 3px #ddd; }
.lp-lead__form textarea { height: 73px; padding: 8px; line-height: 18px; resize: vertical; }
.lp-lead__form .lp-lead__consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 12px; line-height: 14px; margin: 4px 0 18px; }
.lp-lead__consent input { margin: 1px 0 0; flex: none; }
.lp-lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-lead__submit { display: block; margin: 0 auto; width: 185px; height: 41px; border: 0; border-radius: 100px; background: var(--lp-dark); color: #fff; font: 700 18px Poppins, Arial, sans-serif; cursor: pointer; }
.lp-lead__submit:hover { filter: brightness(1.15); }
.lp-lead__submit:disabled { opacity: .6; cursor: default; }
.lp-lead__msg { min-height: 18px; margin: 10px 0 0; text-align: center; font-size: 15px; }
.lp-lead__done { text-align: center; font-size: 18px; line-height: 1.5; padding-top: 60px; padding-bottom: 60px; }
.lp-lead__done a { color: #fff; font-weight: 700; }
@media only screen and (max-width: 600px) {
  .lp-lead { padding: 8px; }
  .lp-lead__form, .lp-lead__done { padding: 24px 22px 26px; }
  .lp-lead__title { font-size: 30px; line-height: 32px; margin-bottom: 16px; }
  .lp-lead__form label { font-size: 15px; line-height: 17px; }
  .lp-lead__form .lp-lead__consent { font-size: 10px; line-height: 12px; }
}
