/* Service detail page — additional styles */

/* ── Detail hero (dark band, breadcrumb + title + art) ───────── */
.detail-hero {
  background: #0a0d12;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 140px 0 72px;
}
.detail-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 90% 100%, rgba(214,51,67,.18), transparent 60%),
    radial-gradient(40% 60% at 10% 0%, rgba(214,51,67,.12), transparent 60%);
  pointer-events: none;
}
.detail-hero .container { position: relative; }
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.detail-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.detail-crumb a { color: rgba(255,255,255,.7); transition: color .15s; }
.detail-crumb a:hover { color: #fff; }
.detail-crumb .sep { opacity: .35; }
.detail-crumb .active { color: #fff; }

.detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.02em;
}
.detail-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
}

.detail-hero h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.detail-summary {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  max-width: 560px;
}

.detail-hero-art {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.detail-hero-art svg { width: 100%; height: 100%; display: block; }
.detail-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ── Full-bleed photo hero variant (when service/category has heroImage) ── */
.detail-hero--photo {
  min-height: 560px;
  padding: 160px 0 96px;
  overflow: hidden;
}
.detail-hero--photo::before {
  display: none; /* the radial accent gradient is replaced by the dark tint over photo */
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.detail-hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* horizontal: dark on left where copy lives, fades right */
    linear-gradient(90deg, rgba(5,12,28,.92) 0%, rgba(5,12,28,.78) 30%, rgba(5,12,28,.45) 65%, rgba(5,12,28,.55) 100%),
    /* vertical: bookend nav (top) + below-content (bottom) */
    linear-gradient(180deg, rgba(5,12,28,.6) 0%, rgba(5,12,28,.15) 20%, rgba(5,12,28,.15) 60%, rgba(5,12,28,.7) 100%);
  pointer-events: none;
}
.detail-hero--photo .container { position: relative; z-index: 2; }
.detail-hero--photo .detail-hero-grid {
  grid-template-columns: minmax(0, 720px); /* single column, capped width */
}
.detail-hero--photo .detail-hero-copy { max-width: 720px; }

/* Subtle text shadows on photo heroes — an extra safety net over busy image regions */
.detail-hero--photo h1 {
  text-shadow: 0 2px 16px rgba(5, 12, 28, 0.45), 0 1px 2px rgba(5, 12, 28, 0.4);
}
.detail-hero--photo .detail-summary {
  text-shadow: 0 1px 6px rgba(5, 12, 28, 0.5);
}
.detail-hero--photo .detail-eyebrow,
.detail-hero--photo .detail-crumb {
  text-shadow: 0 1px 3px rgba(5, 12, 28, 0.6);
}

@media (max-width: 980px) {
  .detail-hero--photo { padding: 130px 0 64px; min-height: 480px; }
}

/* ── Photo hero variant: CENTERED + bottom-anchored (cinematic) ── */
.detail-hero--photo.detail-hero--centered {
  min-height: 720px;
  padding: 220px 0 88px;
  display: flex;
  align-items: flex-end;
}
.detail-hero--photo.detail-hero--centered .detail-hero-tint {
  /* Cinematic scrim — image breathes in upper-middle, deep dark at bottom where copy lives */
  background:
    linear-gradient(180deg,
      rgba(5,12,28,.72) 0%,    /* under the floating nav */
      rgba(5,12,28,.32) 14%,
      rgba(5,12,28,.20) 32%,   /* lightest band — image most visible */
      rgba(5,12,28,.45) 50%,
      rgba(5,12,28,.78) 68%,   /* H1 starts here */
      rgba(5,12,28,.92) 84%,   /* summary + CTAs */
      rgba(5,12,28,.96) 100%   /* trust line */
    ),
    /* extra side darkening so centered text always has contrast on busy images */
    linear-gradient(90deg, rgba(5,12,28,.25) 0%, rgba(5,12,28,0) 18%, rgba(5,12,28,0) 82%, rgba(5,12,28,.25) 100%);
}
.detail-hero--photo.detail-hero--centered .container {
  width: 100%;
}
.detail-hero--photo.detail-hero--centered .detail-hero-grid {
  grid-template-columns: 1fr;
}
.detail-hero--photo.detail-hero--centered .detail-hero-copy {
  max-width: 880px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}
.detail-hero--photo.detail-hero--centered .detail-crumb {
  justify-content: center;
}
.detail-hero--photo.detail-hero--centered .detail-eyebrow {
  justify-content: center;
}
.detail-hero--photo.detail-hero--centered h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.05;
  text-wrap: balance;
}
.detail-hero--photo.detail-hero--centered .detail-summary {
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}
.detail-hero--photo.detail-hero--centered .hero-ctas {
  justify-content: center;
  margin-top: 32px;
}
.detail-hero--photo.detail-hero--centered .hero-trust-line {
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .detail-hero--photo.detail-hero--centered { padding: 150px 0 72px; min-height: 560px; }
}

@media (max-width: 980px) {
  .detail-hero { padding: 120px 0 56px; }
  .detail-hero-grid { grid-template-columns: 1fr; }
}

/* ── Hero CTAs (call + get quote) ────────────────────────────── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  border: 0;
  font-family: var(--font-display);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .15s, border-color .15s;
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero:active { transform: translateY(0); }

.btn-hero-primary {
  color: #fff;
  box-shadow: 0 12px 30px rgba(214, 51, 67, 0.42);
}
.btn-hero-primary:hover { box-shadow: 0 18px 40px rgba(214, 51, 67, 0.52); }
.btn-hero-primary .btn-hero-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.btn-hero-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
}
.btn-hero-ghost .btn-hero-arrow {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.btn-hero-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.btn-hero-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: .78;
  letter-spacing: 0.01em;
  margin-top: 2px;
  font-family: var(--font-mono);
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-hero { justify-content: flex-start; }
}

/* ── Hero estimator teaser (low-friction alt CTA) ─────────────── */
.hero-estimator-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 16px 8px 8px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  transition: background .15s, transform .15s, border-color .15s;
  width: fit-content;
}
.hero-estimator-link:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateX(2px);
}
.hero-estimator-link-ic {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
}
.hero-estimator-link-ic svg { color: inherit; }
.hero-estimator-link > svg:last-child {
  opacity: 0.85;
  transition: opacity .15s, transform .15s;
}
.hero-estimator-link:hover > svg:last-child {
  opacity: 1;
  transform: translateX(2px);
}

/* ── Hero trust line (compact, inline) ───────────────────────── */
.hero-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust-item svg { color: rgba(255,255,255,.55); }
.hero-trust-sep {
  opacity: .35;
  user-select: none;
}
@media (max-width: 600px) {
  .hero-trust-sep { display: none; }
  .hero-trust-line { gap: 6px 14px; }
}

/* ── Quick-quote modal ───────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 12, 28, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: modal-fade-in .2s ease-out;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  animation: modal-slide-up .25s cubic-bezier(.2,.7,.2,1);
}
@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-2);
  color: var(--ink-3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg-3); color: var(--ink); }

.modal-head {
  margin-bottom: 22px;
}
.modal-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 8px;
}
.modal-head p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-field { display: flex; flex-direction: column; gap: 6px; }
.modal-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.modal-field label .optional {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-4);
  margin-left: 4px;
}
.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font: 14px var(--font-body);
  background: #fff;
  outline: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
  font-family: var(--font-body);
}
.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 51, 67, .15);
}
.modal-field textarea { resize: vertical; min-height: 72px; }
.modal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* City autocomplete (new Places API, self-rendered dropdown) */
.city-ac { position: relative; width: 100%; }
.city-ac-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100000;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(5, 29, 62, 0.14);
  max-height: 240px;
  overflow-y: auto;
}
.city-ac-item {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.city-ac-item.is-active,
.city-ac-item:hover { background: var(--bg-2, #f7f7f5); }

.modal-submit {
  width: 100%;
  height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  font: 600 15px var(--font-display);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(214, 51, 67, 0.32);
  transition: transform .15s, box-shadow .15s;
}
.modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(214, 51, 67, 0.42);
}
.modal-submit[disabled] {
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* Honeypot — visually hidden but still focusable for accessibility tests */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit error banner — appears above the submit button */
.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.modal-fineprint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  justify-content: center;
}
.modal-fineprint svg { color: var(--accent); }

/* Modal success state */
.modal-success {
  text-align: center;
  padding: 12px 4px;
}
.modal-success-ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px rgba(214, 51, 67, 0.32);
}
.modal-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.modal-success p {
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-3);
  margin: 0 0 20px;
}
.modal-call-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 600 14px var(--font-display);
  color: var(--ink);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.modal-call-back:hover {
  background: var(--bg-2);
  border-color: var(--ink-3);
}

/* ── Bullet list (used inside content blocks) ────────────────── */
.detail-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.detail-bullet {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Service-area pills ──────────────────────────────────────── */
.detail-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.detail-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .15s, background .15s;
}
.detail-area-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Category landing — service cards ────────────────────────── */
.cat-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.cat-service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .25s, border-color .15s, box-shadow .25s;
}
.cat-service-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(5,29,62,.06);
}
.cat-service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.cat-service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cat-service-card p {
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.cat-service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.cat-service-card:hover .cat-service-link { color: var(--accent); }

@media (max-width: 700px) {
  .cat-services { grid-template-columns: 1fr; }
}

/* FAQ list inside detail body */
.detail-faqs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cross-link card to cost estimator (shows on install/replacement detail pages) */
.detail-estimator-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px 20px 28px;
  background: var(--bg-2);
  border: 1px solid var(--accent-soft);
  border-left-width: 4px;
  border-radius: 12px;
}
.detail-estimator-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.detail-estimator-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-estimator-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.detail-estimator-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}
.detail-estimator-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 16px rgba(214, 51, 67, 0.25);
}
.detail-estimator-card-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(214, 51, 67, 0.35);
}
@media (max-width: 720px) {
  .detail-estimator-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .detail-estimator-card-cta { justify-content: center; }
}

/* ── Detail body (main + sticky sidebar) ─────────────────────── */
.detail-body {
  background: var(--bg);
  padding: 80px 0 120px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.detail-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-width: 0; /* prevent overflow inside grid */
}
.detail-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.detail-h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.detail-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 640px;
  margin: 0;
}

/* What's included — 2-col card list */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.detail-list-ic {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(214,51,67,.12);
  display: grid; place-items: center;
  margin-top: 1px;
}

/* Process — numbered timeline */
.detail-process {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-process li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.detail-process li:last-child { border-bottom: 1px solid var(--line); }
.detail-process-n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: grid; place-items: center;
  border: 1px solid;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-self: start;
}
.detail-process h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink);
}
.detail-process p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}

/* Related services */
.detail-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, border-color .15s, box-shadow .25s;
}
.detail-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
}
.detail-related-thumb {
  aspect-ratio: 4/3;
  background: #d8cfbc;
  overflow: hidden;
}
.detail-related-thumb svg { width: 100%; height: 100%; display: block; }
.detail-related-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-related-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
.detail-related-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  transition: color .15s;
}
.detail-related-card:hover .detail-related-link { color: var(--accent); }

/* ── Sticky sidebar lead form ────────────────────────────────── */
.detail-side {
  position: sticky;
  top: 100px;
}
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(10,22,40,.06), 0 4px 12px rgba(10,22,40,.04);
}
.lead-form-head {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.lead-form-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.lead-form-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.15;
}
.lead-form-head p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

.lead-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.lead-form label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font: 14px var(--font-body);
  background: #fff;
  outline: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--ink-4); }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214,51,67,.15);
}
.lead-form textarea {
  min-height: 84px;
  resize: vertical;
  font-family: var(--font-body);
}
.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lead-form-submit {
  width: 100%;
  height: 50px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font: 600 15px var(--font-display);
  cursor: pointer;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 6px 20px rgba(214,51,67, 0.32);
}
.lead-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(214,51,67, 0.42);
}

.lead-form-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.lead-form-foot svg { color: var(--accent); flex-shrink: 0; }

.lead-form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--ink-4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.lead-form-divider::before,
.lead-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.lead-form-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 600 14px var(--font-display);
  color: var(--ink);
  transition: background .15s, border-color .15s;
}
.lead-form-call:hover {
  background: var(--bg-2);
  border-color: var(--ink-3);
}

/* Success state */
.lead-form-success {
  text-align: center;
  padding: 12px 4px 4px;
}
.lead-form-success-ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  margin: 0 auto 16px;
}
.lead-form-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.lead-form-success p {
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-3);
  margin: 0 0 20px;
}

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-side { position: static; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-related { grid-template-columns: 1fr; }
}
