/* ==========================================================================
   Single service page (design A), one template for all 10 services.
   Reuses home-1.css (.sec-head, .h2, .pair, .steps, .project-cap) + inner.css.
   ========================================================================== */
.svp-h2 { font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.9rem); }

/* What's included: list on the left, a photo or the client's before/after on the right */
.svp-main { padding-bottom: clamp(48px, 6vw, 88px); }
.svp-grid { display: grid; gap: 36px; }
.inc-list { list-style: none; margin-top: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--line-strong); }
.inc-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; line-height: 1.4; }
.inc-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.svp-more { margin-top: 18px; color: var(--muted); max-width: 46ch; }
.svp-figure { margin: 0; }
.svp-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--stone); }
.svp-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.svp-figure figcaption::before { content: ""; width: 18px; height: 1px; background: var(--accent); flex: none; transform: translateY(-4px); }
.svp-pair .project-cap { border-bottom-color: var(--line); }
.svp-project-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-strong);
}
.svp-project-link:hover { text-decoration-color: var(--accent); }
.svp-project-link .icon { width: 16px; height: 16px; color: var(--accent); }
.svp-pair .svp-project-link { margin-left: auto; }
@media (min-width: 1000px) {
  .svp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .svp-pair .pair-cell { aspect-ratio: 4 / 5; }
  /* no photo (electrical): heading and note on the left, the list on the right in two columns */
  .svp-grid-text { grid-template-columns: minmax(0, 1fr); }
  .svp-grid-text .svp-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .svp-grid-text .svp-h2 { grid-column: 1; grid-row: 1; }
  .svp-grid-text .svp-more { grid-column: 1; grid-row: 2; }
  .svp-grid-text .inc-list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; columns: 2; column-gap: 32px; border-top: 0; }
  .svp-grid-text .inc-list li { break-inside: avoid; border-top: 1px solid var(--line-strong); border-bottom: 0; }
}

/* Full house page: more photos of the same job */
.svp-gallery { padding-top: 0; }
.svp-gal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.svp-shots {
  display: flex; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.svp-shots::-webkit-scrollbar { display: none; }
.svp-shot { flex: 0 0 min(82%, 340px); margin: 0; scroll-snap-align: start; }
.svp-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.svp-shot figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); }
@media (min-width: 768px) {
  .svp-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
}

/* How it works: the homepage steps on a light band */
.svp-steps { background: #EBE7E0; }
.svp-inline { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--accent); white-space: nowrap; }

/* Other services: plain links */
.svp-others-sec { padding-bottom: clamp(48px, 6vw, 88px); }
.svp-others { list-style: none; display: grid; border-top: 1px solid var(--line-strong); }
.svp-others a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.15rem; line-height: 1.2;
}
.svp-others .icon { width: 18px; height: 18px; color: var(--accent); }
.svp-others a:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (min-width: 640px) { .svp-others { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1000px) { .svp-others { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }
