/* Service pages (generated by scripts/build-services.mjs). Uses home.css tokens, header, menu, buttons,
   FAQ, request form, footer and phone dock; this file only lays out the service-specific sections. */

/* hero: light editorial title + one wide photo with before / after tabs */
.sv-hero { padding: calc(var(--hdr-h) + clamp(12px, 3vh, 36px)) 0 clamp(56px, 6vw, 88px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 clamp(20px, 3vh, 32px); padding: 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line-2); }
.crumbs a { position: relative; display: inline-block; padding: 6px 0; color: var(--muted); transition: color 0.3s; }
.crumbs a::after { content: ''; position: absolute; inset: -8px -6px; }
.crumbs a:hover { color: var(--red-text); }
.crumbs [aria-current] { color: var(--ink); }
.sv-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.sv-h { margin: 0; font: 400 clamp(30px, 3.7vw, 58px)/1.05 var(--f-display); text-transform: uppercase; color: #3a4042; text-wrap: balance; }
.sv-h .soft { color: #a2a7a8; }
.sv-side .lead { margin-top: 0; }
.sv-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.sv-plate { position: relative; margin: clamp(32px, 4vw, 52px) 0 0; aspect-ratio: 16 / 8; border-radius: var(--r-xl); overflow: hidden; background: var(--paper-2); }
.sv-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease); }
.sv-plate img.is-on { opacity: 1; }
.sv-plate-cap { position: absolute; left: 18px; bottom: 18px; z-index: 1; max-width: calc(100% - 36px); padding: 9px 15px; border-radius: 999px; background: rgba(17, 21, 21, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.06em; }
.sv-tabs { position: absolute; right: 14px; top: 14px; z-index: 1; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.sv-tabs button { min-width: 72px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font: 600 13.5px/1 var(--f-sans); color: var(--muted); cursor: pointer; transition: background-color 0.35s var(--ease), color 0.35s; }
.sv-tabs button:hover { color: var(--ink); }
.sv-tabs button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.sv-tabs button:focus-visible { outline: none; box-shadow: var(--focus); }

/* overview + what's included */
.sv-intro { padding-top: 0; }
.sv-head { align-items: start; }
.sv-prose p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.sv-prose p:last-child { margin-bottom: 0; }
.sv-prose strong { color: var(--ink); font-weight: 600; }
.sv-prose .sv-lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--ink); }
.sv-sub { margin: clamp(48px, 5vw, 72px) 0 18px; font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sv-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sv-cards li { padding: 26px 26px 28px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sv-n { display: block; margin-bottom: 18px; font: 500 12.5px/1 var(--f-mono); color: var(--red-text); }
.sv-cards h4 { margin: 0; font: 600 17px/1.3 var(--f-sans); }
.sv-cards p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* photo + text rows */
.sv-split { padding-top: 0; }
.sv-split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.sv-split-rev .sv-photo { order: 2; }
.sv-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.sv-photo img { width: 100%; height: 100%; object-fit: cover; }
.sv-split .h2 { margin-bottom: 20px; }
.sv-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.sv-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.sv-checks .ic { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--ink); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sv-split .sv-ctas { margin-top: 28px; }

/* process */
.sv-process { padding-bottom: clamp(80px, 9vw, 128px); }
.sv-process-card { padding: clamp(36px, 5vw, 72px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.sv-process-card .h2 { max-width: 20ch; }
.sv-steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.sv-steps li { padding: 22px 22px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.sv-steps li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.sv-steps span { font: 500 12.5px/1 var(--f-mono); color: #ff6b72; }
.sv-steps h3 { margin-top: 14px; font: 600 18px/1.3 var(--f-sans); }
.sv-steps p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.66); }

/* FAQ + related */
.sv-faq { padding-top: 0; }
.sv-faq .faq-side .sec-intro { margin: 20px 0 22px; }
.sv-related { padding-bottom: clamp(64px, 7vw, 104px); }
.sv-related .sv-sub { margin-top: 0; }
.sv-rel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sv-rel-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; min-height: 64px; padding: 14px 14px 14px 22px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: box-shadow 0.35s, color 0.35s; }
.sv-rel-list a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sv-rel-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); transition: background-color 0.35s, color 0.35s; }
.sv-rel-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-rel-list a:hover .sv-rel-ic { background: var(--red); color: #fff; }

/* request: the same 3-step form as the homepage, on a dark panel */
.sv-request { padding-bottom: clamp(64px, 7vw, 104px); }
.sv-request-card { padding: clamp(36px, 5vw, 80px) clamp(24px, 5vw, 80px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.fs-title { margin: 0 0 12px; font: 400 clamp(20px, 1.7vw, 24px)/1.15 var(--f-display); }

@media (max-width: 1240px) {
  .sv-rel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .sv-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-steps { grid-template-columns: minmax(0, 1fr); }
  .sv-steps li, .sv-steps li + li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-left: 0; }
  .sv-steps span { grid-row: span 2; padding-top: 4px; }
  .sv-steps h3 { margin-top: 0; }
  .sv-steps p { margin-top: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .sv-split-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-split-rev .sv-photo { order: 0; }
  .sv-rel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* never wider than the screen: cap the size by the heading's longest word (--lw, in characters) */
  .sv-h { font-size: min(clamp(27px, 8vw, 38px), calc((100vw - 2 * var(--gut)) / var(--lw, 10) / 1.03)); }
  .sv-fit { font-size: min(28px, calc((100vw - 2 * var(--gut)) / var(--lw, 10) / 1.03)); }
  .sv-plate { aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); }
  .sv-plate-cap { left: 12px; bottom: 12px; max-width: calc(100% - 24px); font-size: 11.5px; }
  .sv-tabs { left: 12px; right: auto; top: 12px; }
  .sv-ctas .btn { flex: 1 1 auto; }
  /* on phones the included items read as a light list, not six stacked boxes */
  .sv-cards { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .sv-cards li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 8px; padding: 16px 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--line); }
  .sv-n { grid-row: span 2; margin: 3px 0 0; }
  .sv-cards h4 { font-size: 16px; }
  .sv-cards p { margin-top: 2px; font-size: 14.5px; }
  .sv-sub { margin-top: 40px; }
  .sv-photo { border-radius: var(--r-lg); }
  .sv-process-card, .sv-request-card { border-radius: var(--r-lg); }
  .sv-request-card { padding: 32px 16px 16px; }
  .sv-request-card .contact-copy { padding: 0 6px; }
  .sv-request .form-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .sv-rel-list { grid-template-columns: minmax(0, 1fr); }
  .sv-rel-list a { min-height: 58px; }
}
