/* Service pages (a document with `Layout: service`, built by scripts/lib/service-page.mjs). Loaded only where the page
   sets serviceAssets and scoped by the lp-service-page body class, so no other route is affected. It sits on top of the
   landing-page system (lp.css, seo-page.css) and uses the same dark palette and fonts. Bump
   business.versions.serviceCss in src/_data/business.json when this file changes. */

/* ---------- icons ---------- */

.lp-service-page .svc-ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- hero: a shop photo behind the text ---------- */

.lp-service-page .lp-hero.lp-hero-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 74vh, 760px);
  display: flex;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 64px;
}

.lp-service-page .svc-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.lp-service-page .svc-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

/* The dark overlay keeps the text readable on any photo. */
.lp-service-page .lp-hero.lp-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.94) 0%, rgba(5, 6, 7, 0.78) 48%, rgba(5, 6, 7, 0.5) 100%),
    linear-gradient(0deg, #050607 0%, rgba(5, 6, 7, 0) 28%);
}

.lp-service-page .lp-hero.lp-hero-bg > .w-container { width: 100%; }

.lp-service-page .lp-hero .inner-container {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.lp-service-page .lp-hero .text-center { text-align: left; }
.lp-service-page .lp-hero .lp-cta-row { justify-content: flex-start; }
.lp-service-page .lp-hero h1 { text-wrap: balance; }
.lp-service-page .lp-hero .subtitle-wrapper.center {
  width: auto;
  max-width: 680px;
  margin-left: 0;
  margin-right: auto;
  justify-content: flex-start;
  text-align: left;
}

.lp-service-page .lp-hero .lp-answer { margin: 0; color: #e6e8ed; text-align: left; text-wrap: pretty; }

.lp-service-page .lp-hero .hero-proof {
  display: block;
  margin-top: 20px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  color: #aeb3be;
  font-size: 14px;
  line-height: 1.6;
  text-wrap: balance;
}
.lp-service-page .lp-hero .mg-top-default { margin-top: 28px; }
.lp-service-page .svc-breadcrumb { margin: 0 0 24px; }
.lp-service-page .svc-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.lp-service-page .svc-breadcrumb li { display: flex; gap: 10px; color: #c7cbd4; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; }
.lp-service-page .svc-breadcrumb li + li::before { content: "/"; color: #737a87; }
.lp-service-page .svc-breadcrumb a { color: #aeb3be; text-decoration: none; }
.lp-service-page .svc-breadcrumb a:hover { color: #fff; }
.lp-service-page .lp-review-section h2 { scroll-margin-top: 112px; }
.lp-service-page .svc-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 6, 7, 0.6);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.lp-service-page .svc-hero-rating > span { flex: none; white-space: nowrap; }
.lp-service-page .svc-rating-avatars { display: flex; padding-right: 2px; }
.lp-service-page .svc-rating-avatars img { width: 32px; height: 32px; object-fit: cover; border: 2px solid #101113; border-radius: 50%; }
.lp-service-page .svc-rating-avatars img + img { margin-left: -12px; }
.lp-service-page .svc-breadcrumb a:focus-visible,
.lp-service-page .svc-hero-rating:focus-visible,
.lp-service-page .svc-stats a:focus-visible,
.lp-service-page .svc-toc ol a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- overview + estimate card ---------- */

.lp-service-page .svc-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.lp-service-page .svc-overview-main h2 { margin: 0 0 20px; text-wrap: balance; }

.lp-service-page .svc-copy p {
  margin: 0 0 16px;
  color: #c7cbd4;
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.lp-service-page .svc-copy p:first-child { color: #e6e8ed; font-size: 20px; }

.lp-service-page .svc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.lp-service-page .svc-stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #0e1013;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.lp-service-page .svc-stats strong { color: #fff; font-size: 30px; font-weight: 600; line-height: 1.1; }
.lp-service-page .svc-stats span { color: #fff; font-size: 15px; font-weight: 500; }
.lp-service-page .svc-stats small { color: #9aa0ab; font-size: 13px; line-height: 1.4; }

.lp-service-page .svc-stats-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.lp-service-page .svc-stats-rating .brand-ico { width: 14px; height: 14px; flex: none; }
.lp-service-page .svc-stats a { color: #aeb3be; font-size: 14px; line-height: 1.5; text-underline-offset: 3px; }
.lp-service-page .svc-estimate {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
}
.lp-service-page .svc-estimate h3 { margin: 0; color: #fff; font-size: 26px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.lp-service-page .svc-estimate-sub { margin: 0; color: #b4b9c4; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.lp-service-page .svc-estimate-list { margin: 6px 0 12px; padding: 0; list-style: none; }
.lp-service-page .svc-estimate-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: #d8dce4; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.lp-service-page .svc-estimate-list .svc-ico { width: 18px; height: 18px; margin-top: 3px; color: #fff; }
.lp-service-page .svc-estimate .primary-button,
.lp-service-page .svc-estimate .lp-btn-call { width: 100%; justify-content: center; }
.lp-service-page .svc-estimate-caption { margin: 0; color: #9aa0ab; text-align: center; font-size: 13px; line-height: 1.5; }

/* ---------- brands ---------- */

.lp-service-page .svc-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-service-page .svc-logo-link:hover { transform: translateY(-2px); }
.lp-service-page .svc-logo-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.lp-service-page .seo-logo:has(.svc-logo-link) { transition: border-color 0.2s ease; }
.lp-service-page .seo-logo:has(.svc-logo-link):hover { border-color: rgba(255, 255, 255, 0.4); }

/* ---------- process: numbered columns ---------- */

.lp-service-page .svc-steps {
  display: grid;
  grid-template-columns: repeat(var(--svc-steps, 5), minmax(0, 1fr));
  gap: 0 28px;
  max-width: 1100px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
}

.lp-service-page .svc-step {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lp-service-page .svc-step-num {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  transition: color 0.4s ease;
}

.lp-service-page .svc-step:hover .svc-step-num { color: #fff; }

.lp-service-page .svc-step h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.lp-service-page .svc-step p { margin: 0; color: #b4b9c4; font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* ---------- the SEO article ---------- */

.lp-service-page .svc-article-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.lp-service-page .svc-toc {
  position: sticky;
  top: 96px;
  padding-top: 6px;
}

.lp-service-page .svc-toc-title {
  margin: 0 0 14px;
  color: #9aa0ab;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-service-page .svc-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid rgba(255, 255, 255, 0.12); }

.lp-service-page .svc-toc ol a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  color: #aeb3be;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lp-service-page .svc-toc ol a:hover { color: #fff; }
.lp-service-page .svc-toc ol a[aria-current="true"] { color: #fff; border-left-color: #fff; }

.lp-service-page .svc-toc-action { margin-top: 24px; }
.lp-service-page .svc-article-card { min-width: 0; padding: 36px; background: #0b0c0e; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 22px; }

.lp-service-page .svc-article-sec { scroll-margin-top: 96px; padding-bottom: 12px; }
.lp-service-page .svc-article-sec + .svc-article-sec { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.09); }

.lp-service-page .svc-article h2 { margin: 0 0 16px; color: #fff; font-size: 30px; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.lp-service-page .svc-article h3 { margin: 26px 0 8px; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.3; }
.lp-service-page .svc-article h4 { margin: 20px 0 6px; color: #fff; font-size: 17px; font-weight: 600; }

.lp-service-page .svc-article p {
  margin: 0 0 14px;
  color: #c7cbd4;
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.lp-service-page .svc-article strong { color: #fff; font-weight: 600; }
.lp-service-page .svc-article a { color: #fff; text-underline-offset: 3px; }

.lp-service-page .svc-article ul,
.lp-service-page .svc-article ol { margin: 0 0 16px; padding-left: 22px; color: #c7cbd4; font-size: 17px; line-height: 1.65; }
.lp-service-page .svc-article li { margin: 0 0 8px; padding-left: 4px; }
.lp-service-page .svc-article li::marker { color: #8b919d; }
.lp-service-page .svc-article li > ul,
.lp-service-page .svc-article li > ol { margin: 8px 0 0; }

.lp-service-page .svc-table-wrap { margin: 0 0 18px; overflow-x: auto; }
.lp-service-page .svc-article table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lp-service-page .svc-article th,
.lp-service-page .svc-article td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #c7cbd4; vertical-align: top; }
.lp-service-page .svc-article th { color: #fff; font-weight: 600; background: #0e1013; }

/* ---------- why choose us + rating pills ---------- */

.lp-service-page .svc-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}

.lp-service-page .svc-why-card {
  padding: 26px 22px 24px;
  background: #0e1013;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.lp-service-page .svc-why-card:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }

.lp-service-page .svc-why-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.lp-service-page .svc-why-card h3 { margin: 0 0 8px; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.lp-service-page .svc-why-card p { margin: 0; color: #b4b9c4; font-size: 15px; line-height: 1.55; text-wrap: pretty; }

.lp-service-page .svc-ratings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.lp-service-page .svc-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: #0e1013;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: border-color 0.2s ease;
}

.lp-service-page .svc-rating:hover { border-color: rgba(255, 255, 255, 0.4); }
.lp-service-page .svc-rating-stars { color: #f5b301; letter-spacing: 1px; }
.lp-service-page .svc-rating .brand-ico { width: 18px; height: 18px; }

/* ---------- related services: centred cards, no list numbers ---------- */

.lp-service-page .seo-grid-services {
  grid-template-columns: repeat(auto-fit, minmax(240px, 340px));
  justify-content: center;
}

.lp-service-page .seo-grid-services .seo-num { display: none; }

/* ---------- scroll reveal (script adds .svc-js; without it everything is visible) ---------- */

/* Whole sections rise and fade in as they come into view. */
.svc-js .svc-sec { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.svc-js .svc-sec.is-in { opacity: 1; transform: none; }
/* Keep sticky navigation and native fragment positions stable while the article fades in. */
.svc-js .svc-article-section.svc-sec { transform: none; }

.svc-js .svc-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--svc-delay, 0s); }
.svc-js .svc-reveal.is-in { opacity: 1; transform: none; }

/* ---------- small screens ---------- */

@media (max-width: 1023px) {
  .lp-service-page .svc-overview-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-service-page .svc-estimate { position: static; }
  .lp-service-page .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .lp-service-page .svc-article-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-service-page .svc-toc { position: static; }
  .lp-service-page .svc-toc-action .primary-button { width: 100%; }
  .lp-service-page .svc-toc ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .lp-service-page .svc-toc ol a { margin: 0; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; font-size: 14px; }
  .lp-service-page .svc-toc ol a[aria-current="true"] { border-color: #fff; }
}

@media (max-width: 767px) {
  /* Use the shared landing hero action geometry for estimate actions in every section. */
  .lp-service-page .primary-button { padding: 14px 18px; font-size: 17px; white-space: nowrap; gap: 18px; }
  .lp-service-page .primary-button .item-icon-right { margin-left: 0; }
  .lp-service-page .lp-hero.lp-hero-bg { min-height: 0; padding-top: 104px; padding-bottom: 48px; }
  .lp-service-page .lp-hero.lp-hero-bg::before {
    background: linear-gradient(180deg, rgba(5, 6, 7, 0.8) 0%, rgba(5, 6, 7, 0.88) 60%, #050607 100%);
  }
  .lp-service-page .lp-hero .inner-container { padding-left: 20px; padding-right: 20px; }
  .lp-service-page .lp-hero .subtitle-wrapper.center { padding-left: 0; padding-right: 0; }
  .lp-service-page .lp-hero .lp-cta-row { width: 100%; margin-left: 0; margin-right: 0; }
  .lp-service-page .lp-hero .lp-kicker,
  .lp-service-page .lp-hero .mg-top-default { text-align: left; }
  .lp-service-page .lp-hero .lp-cta-row { flex-direction: column; align-items: stretch; }
  .lp-service-page .lp-hero .primary-button,
  .lp-service-page .lp-hero .lp-btn-call { justify-content: center; }
  .lp-service-page .svc-stats { grid-template-columns: 1fr; }
  .lp-service-page .svc-stats li { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .lp-service-page .svc-stats small { flex-basis: 100%; }
  .lp-service-page .svc-steps { grid-template-columns: 1fr; }
  .lp-service-page .svc-article h2 { font-size: 26px; }
  .lp-service-page .svc-copy p:first-child { font-size: 18px; }
  .lp-service-page .svc-estimate { padding: 20px; }
  .lp-service-page .svc-article-card { padding: 22px 20px; }
}


@media (max-width: 479px) {
  .lp-service-page .svc-hero-rating { gap: 6px; padding: 8px; font-size: 12px; }
  .lp-service-page .svc-rating-avatars img { width: 26px; height: 26px; }
  .lp-service-page .svc-rating-avatars img + img { margin-left: -10px; }
  .lp-service-page .svc-hero-rating .svc-rating-stars { font-size: 11px; letter-spacing: 0; }
}

@media (max-width: 359px) {
  .lp-service-page .lp-hero .inner-container { padding-left: 12px; padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-js .svc-sec,
  .svc-js .svc-reveal { opacity: 1; transform: none; transition: none; }
  .lp-service-page .svc-why-card,
  .lp-service-page .svc-logo-link,
  .lp-service-page .svc-step-num { transition: none; }
}
