/* Service pages (/our-services/*, /tile-grout-cleaning-services/).
   Tokens and shared components: styles.css. */

.why-title { margin-top: 1.75rem; }
.includes {
  padding: clamp(1.35rem, 1rem + 1.5vw, 2rem);
  background: var(--c-paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh);
}
.includes-kicker { font-size: var(--fs-h3); }
.includes-kicker b { font-weight: inherit; }
.includes-title { margin-top: 1.25rem; }
.includes .checklist p { margin: 0; }
.includes .btn { margin-top: 0.5rem; }
.band-lime .statement > div:first-child p { font-size: var(--fs-lead); line-height: 1.5; }
.coverage-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.75rem; }
.coverage-head h2, .coverage-head p { margin: 0; }
.area-list p { margin: 0; }

/* styles.css drops the top padding of a ground band that follows any band;
   that is only right after another ground band. After a colored band the
   ground band needs its full padding back. */

/* ---------------------------------------------------------- shared pieces */
.includes { color: var(--c-ink); }
.includes-lime { background: var(--c-lime); }
.coverage-cta { margin-top: 2rem; }
.statement-body > p:not(.lead):not(.subhead):not(.facts) { max-width: 66ch; }
.statement-body > .lead + p { margin-top: 1.1rem; }

/* A source paragraph that is only a bold line acts as a subheading. */
.subhead { margin: 2rem 0 0.6rem; font: 700 var(--fs-h3)/1.2 var(--f-display); letter-spacing: var(--tr-heading); text-wrap: balance; }
.subhead:first-child { margin-top: 0; }
.subhead b, .subhead strong { font-weight: inherit; }
/* A source paragraph that opens with a bold phrase: the phrase sits on its own line. */
.kicker-p > b:first-child { display: block; margin-bottom: 0.65rem; font: 700 var(--fs-h3)/1.2 var(--f-display); letter-spacing: var(--tr-heading); }

/* Photos framed wide in the source whose subject sits near the right edge. */
.pos-right img { object-position: 94% 50%; }
.pos-top img { object-position: 50% 22%; }

/* ---------------------------------------------------------- facts (one source paragraph, read as stacked rows) */
.facts {
  margin: 0; padding: 0.35rem 1.4rem;
  background: var(--c-paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh);
}
.facts > span { display: block; padding: 1rem 0 1.05rem 2.6rem; position: relative; border-top: var(--hair); font-size: var(--fs-lead); line-height: 1.45; }
.facts > span:first-child { border-top: 0; }
.facts > span::before {
  content: ""; position: absolute; left: 0; top: 1.25rem; width: 1.4rem; height: 1.4rem;
  border: 2px solid var(--c-ink); border-radius: 50%;
  background: var(--c-lime) radial-gradient(circle, var(--c-ink) 0 26%, transparent 28%);
}
.facts > span:last-child {
  margin: 0.35rem -1.4rem -0.35rem; padding-left: 4rem; padding-right: 1.4rem;
  background: var(--c-lime); border-top: var(--bd); border-radius: 0 0 calc(var(--r) - 3px) calc(var(--r) - 3px);
  font-weight: 700;
}
.facts > span:last-child::before { left: 1.4rem; background: var(--c-ink) radial-gradient(circle, var(--c-lime) 0 26%, transparent 28%); }

/* ---------------------------------------------------------- photo gallery (the live "Meet the Family" grids) */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.split .gallery .photo, .gallery .photo { aspect-ratio: 1; max-width: none; box-shadow: var(--sh); }
.gallery-3 .photo:first-child { grid-row: span 2; aspect-ratio: auto; }
.split-top { align-items: start; }
@media (min-width: 901px) {
  .split-top > .gallery, .split-top > .photo { position: sticky; top: 8.5rem; }
}

/* ---------------------------------------------------------- spec list (bold term + description) */
.spec {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 0 1.75rem; padding: 0; list-style: none;
  background: var(--c-paper); color: var(--c-ink); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden;
}
.spec > li { position: relative; margin: 0; padding: 1.1rem 1.35rem 1.2rem 3.6rem; border-top: var(--hair); }
.spec > li:nth-child(-n + 2) { border-top: 0; }
.spec > li:nth-child(odd) { border-right: var(--hair); }
.spec > li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.spec > li::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.25rem; width: 1.4rem; height: 1.4rem;
  border: 2px solid var(--c-ink); border-radius: 50%;
  background: var(--c-lime) radial-gradient(circle, var(--c-ink) 0 26%, transparent 28%);
}
.spec p { margin: 0; }
.spec b { display: block; margin-bottom: 0.2rem; font: 700 1rem/1.3 var(--f-display); }
@media (max-width: 700px) {
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec > li, .spec > li:nth-child(odd) { border-right: 0; }
  .spec > li:nth-child(2) { border-top: var(--hair); }
}
.spec-title { margin: 1.75rem 0 1rem; }

/* ---------------------------------------------------------- two-column section: heading + copy | card */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--gap); align-items: start; }
.duo-wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); }
@media (max-width: 900px) { .duo, .duo-wide { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------- on the ink band */
.band-ink .lead { color: var(--c-ground); }
.band-ink .subhead { color: var(--c-lime); }
.band-ink .kicker-p > b:first-child { color: var(--c-lime); }

/* ---------------------------------------------------------- reviews */
.svc-reviews-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.svc-reviews-head h2, .svc-reviews-head p { margin: 0; }
.svc-reviews-head .tag b { font-weight: inherit; }
.svc-reviews-title { font: 800 var(--fs-h2)/1.06 var(--f-display); letter-spacing: var(--tr-display); }

/* ---------------------------------------------------------- services hub */
.hub-intro .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
.hub-photo { aspect-ratio: 3 / 4; transform: rotate(-1.25deg); }
.hub-photo img { object-position: 50% 35%; }
.hub-copy h2:not(.tag) { margin-bottom: 1.25rem; }
.hub-copy .lead a { font-weight: 700; text-decoration-color: var(--c-lime-deep); text-decoration-thickness: 3px; }
.hub-copy .lead a:hover { background: var(--c-lime-pale); }
.hub-copy .btn { margin-top: 1rem; }
@media (max-width: 900px) {
  .hub-intro .split { grid-template-columns: minmax(0, 1fr); }
  .hub-photo { aspect-ratio: 4 / 3; transform: none; }
}

/* duo with a third block: copy | card spanning two rows, then more copy under the first column */
@media (min-width: 901px) {
  .duo-3 { grid-template-rows: auto 1fr; row-gap: 1.5rem; }
  .duo-3 > :nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .duo-3 > :nth-child(3) { grid-column: 1; grid-row: 2; }
}
.duo-3 > :nth-child(3) .subhead { margin-top: 0; }
.duo .btn { margin-top: 0.75rem; }

/* cards on the ink band cast a light shadow so the block still reads */
.band-ink .includes, .band-ink .spec, .band-ink .facts { border-color: var(--c-ground); box-shadow: 7px 7px 0 var(--c-lime); }
.band-ink .includes-lime { box-shadow: 7px 7px 0 var(--c-ground); }
.includes-lime .checklist li::before { background-color: var(--c-paper); }
.includes-after { margin-top: 1.75rem; }

/* ---------------------------------------------------------- "includes" band: intro row, spec list, closing row */
.subhead-lg { margin: 0; font-size: clamp(1.4rem, 1.05rem + 1.45vw, 2.2rem); line-height: 1.1; letter-spacing: var(--tr-display); }
.spec-wrap { margin-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.spec-wrap .spec { margin-bottom: 0; }
.spec-wrap .spec-title { margin-top: 0; }
.kicker-lg { max-width: 62ch; font-size: var(--fs-lead); line-height: 1.5; }
.kicker-lg > b:first-child { margin-bottom: 1rem; font-size: clamp(1.4rem, 1.05rem + 1.45vw, 2.2rem); line-height: 1.1; letter-spacing: var(--tr-display); }
.includes-narrow { max-width: 52rem; }
.why-title-top { margin-top: 0; }
