/* service-page.css — shared layout for the service pages
 * (garage-floor-coating, concrete-coatings, basement-floor-coating, patio-pool-deck-coating,
 * the epoxy-floor-* pages and the keyword-cluster pages).
 * Loaded after style.css; uses its tokens (--color-navy, --color-volt, …).
 *
 * v2, 2026-10-08, after the owner's review of the first pages ("the hero is good, the text
 * sizing needs revisiting, one block of text to the left, one picture per page, blocks and
 * blocks"): one type scale for every section, photo columns in the answer block, step photos,
 * image-headed cards, mosaics, feature rows, a two-column FAQ and a photo CTA band. Every
 * old class still works without the new markup; the new pieces are opt-in.
 *
 * Type scale, v2.1 (2026-10-08, after the owner's second review: "text sizing is all over the
 * place"): seven sizes and nothing else. label 12px caps · caption 15px · body 18px ·
 * lead/question 20px · h3 24px · h2 36px (and the stat numbers) · h1 48px. Phones step each
 * one down in the mobile block at the end. Don't add a size: pick one of these. */

:root {
  --svc-label: 0.75rem;
  --svc-caption: 0.9375rem;
  --svc-body: 1.125rem;
  --svc-lead: 1.25rem;
  --svc-h3: 1.5rem;
  --svc-h2: 2.25rem;
  --svc-h1: 3rem;
}

/* ── Hero (unchanged) ──────────────────────────────── */
.svc-hero {
  background-color: var(--color-navy);
  color: #E2E8F0;
  padding: 2rem 0 4rem;
}

.svc-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--svc-caption);
  margin-bottom: 2.5rem;
  color: var(--color-wolf);
}

.svc-breadcrumb li + li::before {
  content: '›';
  margin-right: 0.4rem;
}

.svc-breadcrumb a {
  color: var(--color-wolf);
}

.svc-breadcrumb a:hover {
  color: var(--color-volt);
}

.svc-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.svc-eyebrow {
  display: inline-block;
  font-size: var(--svc-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-volt);
  border-left: 3px solid var(--color-volt);
  padding: 4px 12px;
  margin-bottom: 1.25rem;
}

.svc-hero h1 {
  color: #FFFFFF;
  font-size: var(--svc-h1);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.svc-lead {
  font-size: var(--svc-lead);
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 580px;
  margin-bottom: 2rem;
}

/* Links in the hero lead: readable on navy */
.svc-hero a:not(.btn) {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--color-volt);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.svc-hero a:not(.btn):hover {
  color: var(--color-volt);
}

.svc-hero .svc-breadcrumb a {
  text-decoration: none;
  color: var(--color-wolf);
}

.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.svc-btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.svc-btn-ghost:hover {
  border-color: var(--color-volt);
  color: var(--color-volt);
}

.svc-hero-media {
  margin: 0;
}

.svc-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

.svc-hero-media figcaption {
  font-size: var(--svc-caption);
  color: var(--color-wolf);
  margin-top: 0.6rem;
}

/* ── Facts strip ────────────────────────────────────── */
.svc-facts {
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.5rem 0;
}

.svc-facts ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.svc-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 600;
  font-size: var(--svc-body);
  color: var(--color-navy);
  line-height: 1.4;
}

.svc-facts li::before {
  content: '✓';
  color: var(--color-navy);
  background: var(--color-volt);
  border-radius: 50%;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--svc-label);
  font-weight: 900;
}

/* ── Sections and the type scale ───────────────────── */
.svc-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
}

.svc-section.alt {
  background: #F6F4EF;
}

.svc-section h2 {
  font-size: var(--svc-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.svc-section h3 {
  font-size: var(--svc-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.svc-section {
  font-size: var(--svc-body);
}

.svc-section p,
.svc-section li {
  line-height: 1.7;
  color: #334155;
  text-wrap: pretty;
}

/* <small> notes stay on the scale (the browser's "smaller" lands on 14.2px on phones) */
.svc-section small {
  font-size: var(--svc-caption);
}

/* No one-word last lines: headings balance, paragraphs and captions avoid orphans. */
.svc-hero h1,
.svc-section h2,
.svc-section h3,
.svc-cta h2,
.svc-faq summary,
.svc-related strong,
.svc-tiles strong {
  text-wrap: balance;
}

.svc-lead,
.svc-cta p,
.svc-hero figcaption,
.svc-section figcaption {
  text-wrap: pretty;
}

.svc-section .svc-kicker,
.svc-kicker {
  display: block;
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #935906;
  margin-bottom: 0.85rem;
}

/* Section intro: title on the left, the lead on the right (desktop). */
.svc-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.svc-intro p {
  color: #475569;
}

.svc-intro p + p {
  margin-top: 0.85rem;
}

.svc-prose {
  max-width: 760px;
}

.svc-prose p + p {
  margin-top: 1rem;
}

.svc-section a:not(.btn) {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-volt);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.svc-section a:not(.btn):hover {
  color: #935906;
}

/* Phone numbers never break across lines */
.svc-section a[href^="tel:"],
.svc-hero a[href^="tel:"],
.svc-cta a[href^="tel:"] {
  white-space: nowrap;
}

/* ── Answer block: text + photos ───────────────────── */
.svc-answer {
  max-width: 820px;
}

.svc-answer h2 {
  margin-bottom: 1rem;
}

.svc-answer p + p,
.svc-answer-text p + p {
  margin-top: 1rem;
}

.svc-answer-text > h2 + p {
  color: #1E293B;
}

.svc-answer-text h2:not(:first-child) {
  font-size: var(--svc-h3);
  margin-top: 2rem;
}

.svc-answer.has-media {
  max-width: none;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.svc-answer-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0;
}

.svc-answer-media figure {
  margin: 0;
  position: relative;
}

.svc-answer-media figure:first-child {
  grid-column: 1 / -1;
}

.svc-answer-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.svc-answer-media figure:first-child img {
  aspect-ratio: 4 / 3;
}

.svc-answer-media figcaption {
  font-size: var(--svc-caption);
  color: #59677C;
  margin-top: 0.5rem;
}

/* Big-number strip under an answer or an intro */
.svc-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
}

.svc-intro + .svc-stats {
  margin-top: 0;
}

.svc-stats + p {
  margin-top: 1.5rem;
}

.svc-prose ul + p,
.svc-prose ol + p {
  margin-top: 1rem;
}

/* Tables (style.css .post-table) on the shared scale */
.svc-section .post-table th,
.svc-section .post-table td,
.svc-section .post-table caption {
  font-size: var(--svc-caption);
}

.svc-stats li {
  border-left: 3px solid var(--color-volt);
  padding-left: 1rem;
  line-height: 1.3;
}

.svc-stats strong {
  display: block;
  font-size: var(--svc-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.svc-stats span {
  font-size: var(--svc-caption);
  line-height: 1.4;
  color: #475569;
}

/* ── Numbered steps: a timeline with a photo per step ── */
.svc-steps {
  list-style: none;
  counter-reset: svc-step;
  display: grid;
  gap: 0;
  max-width: none;
}

.svc-steps > li {
  counter-increment: svc-step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid #E2E8F0;
  align-items: start;
}

.svc-steps > li:first-child {
  border-top: 0;
  padding-top: 0;
}

.svc-section.alt .svc-steps > li {
  border-color: #E7E2D6;
}

.svc-steps > li::before {
  content: counter(svc-step, decimal-leading-zero);
  font-weight: 800;
  font-size: var(--svc-body);
  color: var(--color-navy);
  background: var(--color-volt);
  border-radius: 10px;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-steps > li > div {
  max-width: 640px;
}

.svc-steps p + p {
  margin-top: 0.6rem;
}

.svc-steps figure {
  margin: 0;
}

.svc-steps > li > figure {
  grid-column: 2;
}

.svc-steps figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.svc-steps figcaption {
  font-size: var(--svc-caption);
  color: #59677C;
  margin-top: 0.45rem;
}

/* Short steps: a row of photo-top cards (use for 3, 4 or 6 steps of one to four lines) */
.svc-steps.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.svc-steps.cards > li,
.svc-steps.cards > li:first-child {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding: 0;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  overflow: hidden;
}

.svc-section.alt .svc-steps.cards > li {
  border-color: #E7E2D6;
}

.svc-steps.cards > li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.svc-steps.cards > li > figure {
  order: -1;
}

.svc-steps.cards > li > figure img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.svc-steps.cards > li > div {
  max-width: none;
  padding: 1.25rem 1.5rem 1.6rem;
}

.svc-note {
  margin-top: 1.5rem;
  max-width: 900px;
  color: #475569;
}

/* ── Cards, with an optional photo header ──────────── */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  overflow: hidden;
}

.svc-section:not(.alt) .svc-card {
  background: #F8FAFC;
}

.svc-card > img {
  display: block;
  width: calc(100% + 3.5rem);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: -1.75rem -1.75rem 1.4rem;
}

.svc-card p + p {
  margin-top: 0.75rem;
}

.svc-section .svc-card-label,
.svc-card-label {
  display: block;
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #935906;
  margin-bottom: 0.5rem;
}

/* ── Two-sided panel (have ready / good to know, covered / not covered) ──
 * One rounded panel, a navy half and a sand half, numbered lines, no check marks,
 * no red/green. The first half is always the dark one, whatever its class. */
.svc-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  max-width: none;
  border-radius: 18px;
  overflow: hidden;
}

.svc-split > div {
  padding: 2.5rem 2.75rem 2.75rem;
  background: #F6F4EF;
}

.svc-section.alt .svc-split > div {
  background: #FFFFFF;
}

.svc-split > div:first-child,
.svc-section.alt .svc-split > div:first-child {
  background: var(--color-navy);
}

.svc-split > div:first-child h3 {
  color: #FFFFFF;
}

.svc-split > div:first-child p,
.svc-split > div:first-child li {
  color: #CBD5E1;
}

.svc-split h3 {
  margin-bottom: 0.5rem;
}

.svc-split ul {
  list-style: none;
  counter-reset: svc-split;
  margin: 1.25rem 0 0;
  padding: 0;
}

.svc-split li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.svc-split li + li {
  margin-top: 0;
}

.svc-split li::before {
  counter-increment: svc-split;
  content: counter(svc-split, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #935906;
}

.svc-split > div:first-child li::before {
  color: var(--color-volt);
}

.svc-split > div:first-child li {
  border-top-color: rgba(255, 255, 255, 0.14);
}

/* Links in the navy half: white with the volt underline, like the hero */
.svc-split > div:first-child a {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--color-volt);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.svc-split > div:first-child a:hover {
  color: var(--color-volt);
}

/* ── Feature row: text beside a photo ──────────────── */
.svc-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.svc-feature figure {
  margin: 0;
}

.svc-feature img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.svc-feature figcaption {
  font-size: var(--svc-caption);
  color: #59677C;
  margin-top: 0.5rem;
}

.svc-feature .svc-intro {
  margin-bottom: 0;
}

/* ── Question grid: numbered cards, no photos ──────── */
.svc-qgrid {
  list-style: none;
  counter-reset: svc-q;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.svc-section .svc-qgrid > li {
  counter-increment: svc-q;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem 2rem 1.9rem;
}

.svc-section.alt .svc-qgrid > li {
  background: #FFFFFF;
  border-color: #E7E2D6;
}

.svc-qgrid > li::before {
  content: counter(svc-q, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--color-volt);
  color: var(--color-navy);
  font-size: var(--svc-caption);
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ── Numbered list with hairlines (outside the two-sided panel) ── */
.svc-numlist {
  list-style: none;
  counter-reset: svc-num;
  margin: 1.5rem 0 0;
  padding: 0;
}

.svc-section .svc-numlist > li {
  counter-increment: svc-num;
  position: relative;
  padding: 1rem 0 1rem 2.75rem;
  border-top: 1px solid #E2E8F0;
}

.svc-section.alt .svc-numlist > li {
  border-color: #E7E2D6;
}

.svc-numlist > li::before {
  content: counter(svc-num, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #935906;
}

.svc-numlist strong {
  color: var(--color-navy);
}

/* Before/after sliders (style.css .comparison-*) inside a service section */
.svc-section .label-badge {
  font-size: var(--svc-label);
}

/* ── Service-area columns ──────────────────────────── */
.svc-areas {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.svc-section .svc-areas > li {
  margin: 0;
}

.svc-areas strong {
  display: block;
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #935906;
  margin-bottom: 0.6rem;
}

.svc-areas ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-section .svc-areas ul li {
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.9;
}

/* ── Photo mosaic ───────────────────────────────────── */
.svc-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  gap: 0.75rem;
  margin-top: 2rem;
}

.svc-mosaic figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #E2E8F0;
}

.svc-mosaic figure:first-child {
  grid-column: span 2;
}

.svc-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.svc-mosaic figure:hover img {
  transform: scale(1.03);
}

.svc-mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.9rem 0.7rem;
  font-size: var(--svc-caption);
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0));
}

/* Plain photo grid (older pages) */
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.svc-gallery figure {
  margin: 0;
}

.svc-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.svc-gallery figcaption {
  font-size: var(--svc-caption);
  color: #59677C;
  margin-top: 0.5rem;
}

/* ── FAQ: questions beside a sticky photo + call card ── */
.svc-faq-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.svc-faq {
  max-width: 860px;
}

.svc-faq details {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.svc-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 3rem 1.2rem 1.4rem;
  font-weight: 700;
  font-size: var(--svc-lead);
  color: var(--color-navy);
  position: relative;
  line-height: 1.4;
}

.svc-faq summary::-webkit-details-marker {
  display: none;
}

.svc-faq summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: #935906;
}

.svc-faq details[open] summary::after {
  content: '–';
}

.svc-faq summary:focus-visible {
  outline: 2px solid var(--color-volt);
  outline-offset: 2px;
}

.svc-faq details > p {
  padding: 0 1.4rem 1.3rem;
  color: #475569;
}

.svc-faq-aside {
  position: sticky;
  top: 6rem;
}

.svc-faq-aside figure {
  margin: 0;
}

.svc-faq-aside img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.svc-faq-aside figcaption {
  font-size: var(--svc-caption);
  color: #59677C;
  margin-top: 0.5rem;
}

.svc-aside-card {
  background: var(--color-navy);
  color: #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  margin-top: 1.25rem;
}

.svc-aside-card h3 {
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.svc-aside-card p {
  color: #CBD5E1;
  margin-bottom: 1.25rem;
}

.svc-section .svc-aside-card a:not(.btn) {
  color: #FFFFFF;
}

/* ── Related services ───────────────────────────────── */
.svc-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.svc-section .svc-related a {
  display: block;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.svc-section .svc-related a:hover {
  border-color: var(--color-volt);
  transform: translateY(-2px);
  color: var(--color-navy);
}

.svc-related strong {
  display: block;
  font-size: var(--svc-h3);
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 0.45rem;
}

.svc-related span {
  color: #475569;
  line-height: 1.6;
}

/* ── Image tiles linking to service pages ──────────── */
.svc-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.svc-section .svc-tiles a {
  display: block;
  text-decoration: none;
  color: var(--color-navy);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.svc-section .svc-tiles a:hover {
  transform: translateY(-3px);
  border-color: var(--color-volt);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  color: var(--color-navy);
}

.svc-tiles img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #E2E8F0;
}

.svc-section .svc-tiles a {
  display: flex;
  flex-direction: column;
}

.svc-tiles a > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
}

.svc-tiles strong {
  display: block;
  font-size: var(--svc-h3);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.svc-tiles span {
  display: block;
  color: #475569;
  line-height: 1.6;
}

.svc-tiles em {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.85rem;
  font-style: normal;
  font-weight: 700;
  font-size: var(--svc-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #935906;
}

/* ── Package comparison ─────────────────────────────── */
.svc-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.svc-package {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E7E2D6;
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
}

.svc-package.is-featured {
  border: 2px solid var(--color-volt);
}

.svc-section .svc-package-tag,
.svc-package-tag {
  position: absolute;
  top: -0.8rem;
  left: 2rem;
  background: var(--color-volt);
  color: var(--color-navy);
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.svc-package h3 {
  margin-bottom: 0.4rem;
}

.svc-package > p {
  color: #475569;
  margin-bottom: 1.25rem;
}

.svc-package ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.svc-package li {
  display: flex;
  gap: 0.6rem;
  color: #334155;
  line-height: 1.5;
}

.svc-package li::before {
  content: '✓';
  color: #935906;
  font-weight: 900;
  flex: 0 0 auto;
}

.svc-package li.is-addon::before {
  content: '+';
}

.svc-package-meta {
  border-top: 1px solid #E2E8F0;
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
  color: #475569;
  line-height: 1.6;
}

.svc-package-meta p {
  font-size: var(--svc-caption);
  line-height: 1.6;
}

/* ── Closing CTA, plain or over a photo ────────────── */
.svc-cta {
  background: var(--color-navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.svc-cta.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.86));
}

.svc-cta .container {
  position: relative;
}

.svc-cta h2 {
  color: #FFFFFF;
  font-size: var(--svc-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.svc-cta p {
  color: #CBD5E1;
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: var(--svc-lead);
  line-height: 1.6;
}

.svc-cta .svc-hero-actions {
  justify-content: center;
}


/* ── Before / after pair ────────────────────────────── */
.svc-ba {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.svc-ba figure {
  margin: 0;
  position: relative;
}

.svc-ba img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.svc-ba figcaption {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-navy);
  color: #FFFFFF;
  font-size: var(--svc-label);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.svc-ba figure.is-after figcaption {
  background: var(--color-volt);
  color: var(--color-navy);
}

/* FAQ answers written as <div class="accordion-content"> (sync-faq-schema markup) */
.svc-faq .accordion-content {
  padding: 0 1.4rem 1.3rem;
  color: #475569;
  font-size: var(--svc-body);
  line-height: 1.7;
}

/* ── Desktop ────────────────────────────────────────── */
@media (min-width: 900px) {
  .svc-hero {
    padding: 2.5rem 0 5rem;
  }

  .svc-hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }

  .svc-section {
    padding: 5.5rem 0;
  }

  .svc-intro {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 1rem 3.5rem;
    align-items: start;
    margin-bottom: 3rem;
  }

  .svc-intro:not(.stack) > h2 {
    margin-bottom: 0;
  }

  .svc-intro:not(.stack) > .svc-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .svc-intro > p + p {
    grid-column: 2;
  }

  .svc-intro.stack {
    display: block;
    max-width: 760px;
  }

  .svc-intro:not(:has(> p)) {
    display: block;
    max-width: 900px;
  }

  .svc-intro:not(.stack):not(:has(> p)) > .svc-kicker {
    margin-bottom: 0.85rem;
  }

  .svc-answer.has-media {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3.5rem;
    align-items: center;
  }

  /* plain and photo steps share one text column */
  .svc-steps > li {
    column-gap: 2rem;
  }

  /* A photo step: the text sets the row height and the photo fills it, so short text
     leaves no empty block and the text runs up to the photo. */
  .svc-steps:not(.cards) > li.has-figure,
  .svc-steps:not(.cards) > li:has(> figure) {
    grid-template-columns: 3.25rem minmax(0, 1fr) 340px;
    column-gap: 2rem;
  }

  .svc-steps:not(.cards) > li:has(> figure) > div {
    max-width: none;
  }

  .svc-steps:not(.cards) > li > figure {
    grid-column: 3;
    grid-row: 1;
    position: relative;
    align-self: stretch;
    min-height: 170px;
    border-radius: 12px;
    overflow: hidden;
  }

  .svc-steps:not(.cards) > li > figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .svc-steps:not(.cards) > li > figure figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 1.6rem 0.9rem 0.7rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0));
  }

  .svc-steps.cards:has(> li:nth-child(3):last-child),
  .svc-steps.cards:has(> li:nth-child(6):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .svc-steps.cards:has(> li:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .svc-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .svc-feature.reverse > figure {
    order: -1;
  }

  /* Tall feature: the photo fills the height of the text column. */
  .svc-feature.tall {
    align-items: stretch;
  }

  .svc-feature.tall > figure {
    position: relative;
    min-height: 420px;
  }

  .svc-feature.tall > figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .svc-feature.tall > figure figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 1.6rem 1rem 0.8rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0));
    border-radius: 0 0 14px 14px;
  }

  .svc-cards.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-cards.two-up .svc-card > img {
    aspect-ratio: 5 / 2;
  }

  .svc-qgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-qgrid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .svc-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 0.85rem;
  }

  .svc-mosaic figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .svc-mosaic figure:nth-child(n+6) {
    grid-column: span 2;
  }

  .svc-faq-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3.5rem;
  }

  .svc-faq-grid .svc-faq {
    max-width: none;
  }
}

/* Mosaic captions under the photos below desktop: overlaid on a small
   tile they covered most of the photo (owner, 2026-10-08) */
@media (max-width: 899px) {
  .svc-mosaic {
    grid-auto-rows: auto;
  }

  .svc-mosaic figure {
    overflow: visible;
    background: none;
    border-radius: 0;
  }

  .svc-mosaic img {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .svc-mosaic figure:first-child img {
    aspect-ratio: 16 / 9;
  }

  .svc-mosaic figure:hover img {
    transform: none;
  }

  .svc-mosaic figcaption {
    position: static;
    padding: 0.45rem 0 0;
    background: none;
    color: #59677C;
    font-weight: 500;
  }
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 600px) {
  :root {
    --svc-caption: 0.875rem;
    --svc-body: 1.0625rem;
    --svc-lead: 1.125rem;
    --svc-h3: 1.35rem;
    --svc-h2: 1.75rem;
    --svc-h1: 2.25rem;
  }

  .svc-section {
    padding: 3.25rem 0;
  }

  /* Steps keep the number beside the text: a smaller badge, no row of its own */
  .svc-steps > li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem 0.9rem;
    padding: 1.5rem 0;
  }

  .svc-steps > li::before {
    width: 2.5rem;
    height: 2.5rem;
    font-size: var(--svc-caption);
    border-radius: 8px;
  }

  /* Two-sided panel: room for the list text */
  .svc-split > div {
    padding: 1.75rem 1.25rem 2rem;
  }

  .svc-split li {
    padding-left: 2.25rem;
  }

  /* Stats: one per row, the number beside its label */
  .svc-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .svc-stats li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }

  .svc-stats strong {
    flex: 0 0 auto;
    font-size: var(--svc-h3);
    margin-bottom: 0;
  }

  .svc-section .svc-qgrid > li {
    padding: 1.5rem 1.25rem 1.6rem;
  }

  /* Opt-in: a table with class "stack" becomes one card per row on phones.
     Every td needs data-label="<column name>"; the first cell is the card title. */
  .svc-section .post-table.stack {
    display: flex;
    flex-direction: column;
  }

  .svc-section .post-table.stack thead {
    display: none;
  }

  .svc-section .post-table.stack tbody {
    display: grid;
    gap: 0.75rem;
    order: 1;
  }

  .svc-section .post-table.stack caption {
    order: 2;
    display: block;
    padding-top: 0.75rem;
  }

  .svc-section .post-table.stack tr {
    display: block;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
  }

  .svc-section .post-table.stack td {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.75rem;
    border: 0;
    padding: 0.3rem 0;
  }

  .svc-section .post-table.stack td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-navy);
  }

  .svc-section .post-table.stack td:first-child {
    display: block;
    font-weight: 800;
    color: var(--color-navy);
    padding: 0 0 0.35rem;
  }

  .svc-section .post-table.stack td:first-child::before {
    content: none;
  }

  .svc-hero-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .svc-card > img {
    width: calc(100% + 3.5rem);
  }
}

/* ── Additions for the keyword-cluster pages (2026-10-08) ─── */
.svc-section .post-sources {
  list-style: none;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
  color: #475569;
  line-height: 1.6;
  font-size: var(--svc-caption);
}

.svc-section .post-sources li::before {
  content: '↗ ';
  color: #935906;
}

.svc-section .post-table-wrap {
  max-width: none;
  margin-top: 1.5rem;
}

.svc-prose ul:not(.svc-stats):not(.svc-areas),
.svc-prose ol {
  margin: 0.75rem 0 0 1.1rem;
  color: #334155;
  line-height: 1.8;
}

.svc-prose li + li {
  margin-top: 0.35rem;
}

.svc-prose h3 {
  margin-top: 2rem;
}

/* Flake swatch grid (colors page) */
.svc-swatches {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.svc-swatches li {
  text-align: center;
}

.svc-swatches img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  display: block;
}

.svc-swatches strong {
  display: block;
  margin-top: 0.6rem;
  color: var(--color-navy);
}

.svc-swatches span {
  display: block;
  font-size: var(--svc-caption);
  color: #59677C;
  line-height: 1.45;
}

/* Verdict / ranking strip */
.svc-verdict {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
  margin-top: 1.5rem;
}

.svc-verdict > div {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 1rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.svc-verdict b {
  font-size: var(--svc-h3);
  font-weight: 800;
  color: var(--color-navy);
  background: var(--color-volt);
  border-radius: 8px;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-verdict strong {
  display: block;
  color: var(--color-navy);
}

.svc-verdict small {
  display: block;
  color: #475569;
  line-height: 1.5;
}

.svc-verdict em {
  font-style: normal;
  font-size: var(--svc-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #935906;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .svc-verdict > div {
    grid-template-columns: 2.75rem 1fr;
  }

  .svc-verdict em {
    grid-column: 2;
  }
}

/* ── Page directory: one photo per group beside a two-column link list ──
 * Four links per group. Same look as the guide directory on /seattle. */
.svc-dir {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.svc-dir-group {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
}

.svc-section:not(.alt) .svc-dir-group {
  background: #F8FAFC;
}

.svc-dir-group img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-dir-group > div {
  align-self: center;
  padding: 1.5rem 1.75rem 1.25rem;
}

.svc-section .svc-dir-group h3 {
  font-size: var(--svc-lead);
  margin-bottom: 0.35rem;
}

.svc-dir-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  column-gap: 2rem;
}

.svc-dir-group li {
  border-top: 1px solid #E2E8F0;
}

.svc-dir-group li:nth-child(2n+1) {
  border-top: 0;
}

.svc-section .svc-dir-group li a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
  text-decoration: none;
}

.svc-section .svc-dir-group li a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-volt);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 899px) {
  .svc-dir-group {
    grid-template-columns: 220px 1fr;
  }

  .svc-dir-group ul {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .svc-dir-group li:nth-child(2n+1) {
    border-top: 1px solid #E2E8F0;
  }

  .svc-dir-group li:first-child {
    border-top: 0;
  }
}

@media (max-width: 600px) {
  .svc-dir-group {
    grid-template-columns: 1fr;
  }

  .svc-dir-group img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .svc-dir-group > div {
    padding: 1.25rem 1.25rem 1rem;
  }
}
