/* Service landing pages (public/<service>.html, built by scripts/build-services.mjs).
   Phone: photos, title, rating and form stacked, with a call / estimate bar
   fixed at the bottom. From 960px the photos and the form sit side by side. */

.svc-page { background: #fff; }

/* Header: the site header plus a call link at the right. */
.svc-call { position: absolute; right: calc(var(--gutter) + 34px); top: 50%; transform: translateY(-50%); font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1; font-weight: 600; color: #fff; background: var(--terracotta); padding: 10px 18px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.svc-call:hover { background: var(--terracotta-dark); }
.svc-call:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
@media (min-width: 1024px) { .svc-call { right: var(--gutter); } }
/* The menu sits after the logo instead of centered, so the call link has room. */
@media (min-width: 1024px) { .svc-page .site-header .container { justify-content: flex-start; } .svc-page .nav { margin-left: 150px; } .svc-page .nav a { padding-inline: 13px; } }
@media (min-width: 1024px) and (max-width: 1179px) { .svc-page .nav a { padding-inline: 7px; font-size: 14px; } .svc-call { font-size: 13px; padding: 9px 14px; } }
@media (max-width: 1023px) { .svc-call { right: calc(var(--gutter) + 40px); } }
@media (max-width: 360px) { .svc-call { font-size: 12px; padding: 8px 12px; } }

/* Gallery */
.svc-stage { position: relative; }
.svc-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.svc-carousel::-webkit-scrollbar { display: none; }
.svc-carousel:focus-visible { outline: 3px solid var(--terracotta); outline-offset: -3px; }
.svc-carousel img { flex: 0 0 100%; width: 100%; height: clamp(260px, 72vw, 420px); object-fit: cover; scroll-snap-align: start; display: block; }
.svc-label { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--deep-green); font: 600 11.5px/1.2 'Inter', sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; pointer-events: none; }
.svc-count { position: absolute; right: 12px; bottom: 12px; background: rgba(17,23,32,.72); color: #fff; font: 600 12px/1.2 'Inter', sans-serif; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.svc-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.svc-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.svc-dots i.on { background: #fff; }
.svc-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--deep-green); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.svc-arrow--prev { left: 14px; }
.svc-arrow--next { right: 14px; }
.svc-arrow:focus-visible, .svc-thumbs button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.svc-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: var(--ink-navy); scrollbar-width: none; }
.svc-thumbs::-webkit-scrollbar { display: none; }
.svc-thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.svc-thumbs button[aria-current] { border-color: #fff; opacity: 1; }
.svc-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Title, rating and form */
.svc-side { padding: 20px var(--gutter) 8px; font-family: 'Inter', sans-serif; }
.svc-side h1 { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.05; color: var(--forest); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 10px; text-wrap: balance; }
.svc-lede { margin: 0 0 14px; color: #3a4350; font-size: 15px; line-height: 1.5; }
.g-icon { width: 18px; height: 18px; flex: 0 0 auto; display: block; }
.g-stars { color: #fbbc04; letter-spacing: 1px; }
.svc-badge { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d9dde3; border-radius: 10px; background: #fff; text-decoration: none; color: inherit; }
.svc-badge:hover { border-color: #b9c0c9; }
.svc-badge .g-icon { width: 26px; height: 26px; }
.svc-badge__score { font-size: 22px; font-weight: 700; color: #1f2733; line-height: 1; }
.svc-badge__meta { display: grid; gap: 2px; font-size: 12px; color: #5b6472; line-height: 1.2; }
.svc-badge__meta .g-stars { font-size: 14px; }
.svc-badge__faces { display: flex; margin-left: auto; padding-left: 8px; }
.svc-badge__faces span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; }
.svc-form { margin-top: 16px; padding: 18px 16px 20px; border: 1px solid #d9dde3; border-radius: 12px; background: #fff; scroll-margin-top: 12px; }
.svc-form > h2 { font-family: 'Inter', sans-serif; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--deep-green); margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
/* The step bar shows from page 2 on; page 1 is just the four boxes. */
.svc-form .bk-steps { margin: 12px 0 6px; }
.svc-form .bk-steps:has(#bk-step-1.is-now) { display: none; }
.svc-form .form-card--compact .form-grid { margin-top: 12px; }
.svc-form .bk-pick { grid-template-columns: minmax(0, 1fr); }
.svc-form .bk-pick .es-visit.form-card--compact { padding: 18px 20px 20px; border: 1px solid #e3e5e8; border-radius: 12px; background: #fbfaf8; }
.svc-form .bk-picked { margin-bottom: 10px; }
.svc-form .bk-picked:empty { display: none; }
.svc-form .form-card .consent-note, .svc-form .consent-note { margin-top: 14px; }
.svc-quote { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin: 18px 0 0; padding: 10px 12px; background: var(--cream); border-radius: 8px; font: 400 13px/1.45 'Inter', sans-serif; color: #2b3440; text-decoration: none; }
.svc-quote .g-icon { width: 16px; height: 16px; margin-top: 2px; }
.svc-quote b { display: block; font-weight: 600; color: var(--deep-green); margin-top: 4px; font-size: 12px; }
.svc-quote:hover { background: #ebe6dd; }

/* Bands below the fold */
.svc-wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.svc-band { padding: 32px 0; font-family: 'Inter', sans-serif; }
.svc-band--cream { background: var(--cream); }
.svc-band h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--deep-green); margin: 0 0 10px; text-transform: none; letter-spacing: 0; }
.svc-band p { color: #3a4350; font-size: 15px; margin: 0 0 12px; }
.svc-band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.svc-band__head h2 { margin: 0; }
.svc-band__head a { font-size: 13.5px; font-weight: 600; color: var(--terracotta); text-decoration: none; white-space: nowrap; }
.svc-reviews { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
.svc-reviews::-webkit-scrollbar { display: none; }
.svc-review { flex: 0 0 84%; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; padding: 16px; border: 1px solid #d9dde3; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; }
.svc-review:hover { border-color: #b9c0c9; }
.svc-review__who { display: grid; grid-template-columns: 36px 1fr 18px; gap: 10px; align-items: center; }
.svc-review__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.svc-review__name { font-size: 14px; font-weight: 600; color: #1f2733; line-height: 1.2; }
.svc-review__name small { display: block; font-weight: 400; font-size: 12px; color: #5b6472; }
.svc-review__stars { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.svc-review__tag { font-size: 11.5px; font-weight: 600; color: var(--terracotta); background: #faf4f1; padding: 2px 8px; border-radius: 999px; }
.svc-review__text { font-size: 14px; line-height: 1.55; color: #1f2733; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.svc-reviews__foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0 !important; font-size: 12.5px !important; color: #5b6472 !important; }
.svc-reviews__foot .g-icon { width: 14px; height: 14px; }
.svc-cols { display: grid; gap: 28px; }
.svc-includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.svc-includes li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; color: #2b3440; }
.svc-includes li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--forest); }
.svc-how { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.svc-how li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; font-size: 15px; color: #2b3440; }
.svc-how li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--deep-green); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.svc-cards { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.svc-cards--wide { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.svc-cards--short { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.svc-cards li { background: #fff; border: 1px solid #e3ddd2; border-radius: var(--radius); padding: 12px 14px; font-size: 14.5px; color: #3a4350; }
.svc-band:not(.svc-band--cream) .svc-cards li { background: var(--offwhite); }
.svc-cards b { display: block; font-weight: 600; color: var(--deep-green); font-size: 15px; }
.svc-cards span { display: block; margin-top: 3px; }
.svc-cards a, .svc-related a { color: var(--terracotta); text-decoration: underline; }
.svc-band p.svc-note { margin: 12px 0 0; font-size: 14px; }
.svc-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; counter-reset: step; }
.svc-steps li { counter-increment: step; position: relative; padding: 2px 0 0 40px; min-height: 26px; font-size: 15px; color: #2b3440; }
.svc-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--deep-green); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.svc-steps b { color: var(--deep-green); font-weight: 600; }
.svc-steps a { color: var(--terracotta); text-decoration: underline; }
.svc-faq { display: grid; gap: 4px; margin-top: 8px; }
.svc-faq > div { border-bottom: 1px solid #e3ddd2; padding: 12px 0; }
.svc-faq > div:last-child { border-bottom: 0; }
.svc-faq h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: var(--deep-green); margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
.svc-band .svc-faq p { margin: 0; }
.svc-cta { background: var(--deep-green); color: #fff; padding: 26px 0; font-family: 'Inter', sans-serif; }
.svc-cta .svc-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; }
.svc-cta p { margin: 0; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; }
.svc-cta .svc-wrap > div { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.svc-cta .btn { font-weight: 600; letter-spacing: .04em; padding: 13px 22px; border-width: 0; }

/* Phone: call and estimate stay at the bottom until the form is on screen. */
.svc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); border-top: 1px solid #d9dde3; font-family: 'Inter', sans-serif; transition: transform .2s ease; }
.svc-sticky a { text-align: center; padding: 12px 6px; border-radius: 5px; font-weight: 600; font-size: 14px; text-decoration: none; }
.svc-sticky a:first-child { border: 1.5px solid var(--deep-green); color: var(--deep-green); }
.svc-sticky a:last-child { background: var(--terracotta); color: #fff; }
.svc-sticky.is-away { transform: translateY(110%); }
.svc-page .site-footer { padding-bottom: 90px; }
@media (prefers-reduced-motion: reduce) { .svc-sticky { transition: none; } }

@media (min-width: 700px) {
  .svc-review { flex-basis: 46%; }
}

@media (min-width: 960px) {
  .svc-hero { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 44px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .svc-stage { border-radius: 12px; overflow: hidden; }
  .svc-carousel img { height: 460px; }
  .svc-label { left: 14px; top: 14px; font-size: 12px; padding: 6px 12px; }
  .svc-count { right: 14px; bottom: 14px; }
  .svc-dots { display: none; }
  .svc-arrow { display: grid; place-items: center; }
  .svc-thumbs { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; padding: 8px 0 0; background: none; overflow: visible; }
  .svc-thumbs button { width: auto; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; opacity: .65; }
  .svc-thumbs button[aria-current] { border-color: var(--deep-green); opacity: 1; }
  .svc-side { padding: 0; }
  .svc-side h1 { font-size: 46px; line-height: 1.02; }
  .svc-form { padding: 20px 20px 22px; }
  .svc-band { padding: 44px 0; }
  .svc-band h2 { font-size: 24px; }
  .svc-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .svc-review { flex: none; }
  .svc-cols { grid-template-columns: 1fr 1fr; gap: 56px; }
  .svc-sticky { display: none; }
  .svc-page .site-footer { padding-bottom: 0; }
}
