/* Service-page layout sections (added 2026-05).
   Three patterns borrowed from Simply Security but rebuilt in Savvy's voice:
   1. .savvy-coverage — 2x2 card grid with left-edge accent bar per card
   2. .savvy-process  — numbered "how it works" steps list
   3. .savvy-deployment — image + bulleted contexts side-by-side
   All share Savvy's mono palette and the standard --container-max width. */


/* ─── ① Coverage cards ─────────────────────────────────────────── */

.savvy-coverage {
  background: var(--surface-base);
}
.savvy-coverage__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
}
.savvy-coverage__head {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--space-7);
  text-align: center;
}
.savvy-coverage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
.savvy-coverage__card {
  background: var(--surface-alt);
  border-left: 3px solid var(--brand-primary);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.savvy-coverage__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  margin: 0 0 var(--space-3);
}
.savvy-coverage__body {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--text-default);
  margin: 0;
}
@media (max-width: 768px) {
  .savvy-coverage__grid {
    grid-template-columns: 1fr;
  }
}


/* ─── ② Numbered process ───────────────────────────────────────── */

.savvy-process {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
}
.savvy-process__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
}
.savvy-process__head {
  font-size: var(--fs-2xl);
  color: var(--text-on-dark);
  margin: 0 0 var(--space-3);
}
.savvy-process__lede {
  font-size: var(--fs-md);
  color: var(--text-on-dark);
  opacity: 0.85;
  margin: 0 0 var(--space-7);
  max-width: 64ch;
}
/* Desktop: horizontal 5-step strip. Each step is a vertical card
   (number on top, name, description below). A thin horizontal rule
   sits behind the numbers to read as a connected timeline.
   Tablet/mobile (≤768px): collapses back to stacked numbered rows
   with the number tucked left of the copy. */
.savvy-process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  position: relative;
}
/* Subtle connector line behind the step numbers, top desktop only.
   Sits at the vertical centre of the number row so the digits look
   strung together rather than floating in space. */
.savvy-process__list::before {
  content: '';
  position: absolute;
  top: calc(var(--fs-2xl) / 2);
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}
.savvy-process__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}
.savvy-process__num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-on-dark);
  opacity: 0.5;
  line-height: 1;
  letter-spacing: -0.04em;
  /* small inline pill so the connector line breaks cleanly around it */
  background: var(--surface-inverse);
  padding-right: var(--space-3);
  align-self: start;
}
.savvy-process__name {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-on-dark);
  margin: 0;
  line-height: var(--lh-tight);
}
.savvy-process__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--text-on-dark);
  opacity: 0.8;
  margin: 0;
}
@media (max-width: 768px) {
  /* Collapse: back to the original stacked numbered rows. */
  .savvy-process__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .savvy-process__list::before { display: none; }
  .savvy-process__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--space-3) var(--space-5);
    align-items: start;
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .savvy-process__item:first-child {
    border-top: none;
    padding-top: 0;
  }
  .savvy-process__num {
    font-size: var(--fs-xl);
    background: transparent;
    padding-right: 0;
  }
  .savvy-process__name { font-size: var(--fs-lg); }
  .savvy-process__desc { font-size: var(--fs-base); line-height: var(--lh-loose); }
}


/* ─── ③ Deployment (image + list) ──────────────────────────────── */

.savvy-deployment {
  background: var(--surface-base);
}
.savvy-deployment__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
.savvy-deployment__media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border-default);
  aspect-ratio: 4 / 3;
  min-height: 280px;
}
.savvy-deployment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.savvy-deployment__head {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--space-3);
}
.savvy-deployment__lede {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
  max-width: 64ch;
}
.savvy-deployment__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.savvy-deployment__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-left: var(--space-4);
  border-left: 2px solid var(--brand-primary);
}
.savvy-deployment__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
}
.savvy-deployment__note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
@media (max-width: 820px) {
  .savvy-deployment__inner {
    grid-template-columns: 1fr;
  }
  .savvy-deployment__media {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }
}


/* ─── ④ Intro lead (text-left + image-right, 2-column) ─────────── */

.savvy-svc-lead {
  background: var(--surface-base);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}
.savvy-svc-lead__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
.savvy-svc-lead__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}
.savvy-svc-lead__head {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-default);
  margin: 0;
  line-height: var(--lh-tight);
}
.savvy-svc-lead__head::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-primary);
  margin-top: var(--space-3);
}
.savvy-svc-lead__text {
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--text-default);
  margin: 0;
  max-width: 56ch;
}
.savvy-svc-lead__media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border-default);
  aspect-ratio: 4 / 3;
  min-height: 280px;
}
.savvy-svc-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 820px) {
  .savvy-svc-lead__inner {
    grid-template-columns: 1fr;
  }
  .savvy-svc-lead__media {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }
}


/* ─── ⑤ Coverage cards dense variant (8-card 4×2 grid) ─────────── */

.savvy-coverage--dense .savvy-coverage__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.savvy-coverage--dense .savvy-coverage__card {
  padding: var(--space-4) var(--space-5);
}
.savvy-coverage--dense .savvy-coverage__title {
  font-size: var(--fs-base);
}
.savvy-coverage--dense .savvy-coverage__body {
  font-size: var(--fs-sm);
}
@media (max-width: 1024px) {
  .savvy-coverage--dense .savvy-coverage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .savvy-coverage--dense .savvy-coverage__grid {
    grid-template-columns: 1fr;
  }
}


/* ─── ⑥ "Who hires us" 3-column grid (static-guard variant) ──── */

.savvy-svc-hires {
  background: var(--surface-alt);
}
.savvy-svc-hires__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
}
.savvy-svc-hires__head {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--space-7);
  text-align: center;
}
.savvy-svc-hires__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.savvy-svc-hires__card {
  background: var(--surface-base);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--brand-primary);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.savvy-svc-hires__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  margin: 0;
}
.savvy-svc-hires__body {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  color: var(--text-default);
  margin: 0;
  flex: 1;
}
.savvy-svc-hires__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.savvy-svc-hires__link:hover {
  text-decoration: underline;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .savvy-svc-hires__grid {
    grid-template-columns: 1fr;
  }
}

/* Unified 10-sector "who hires us" list (Hardeep round-1, 2026-07-01). */
.savvy-svc-hires__sectors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.savvy-svc-hires__sector {
  background: var(--surface-base);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--brand-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-default);
}
.savvy-svc-hires__sector-link {
  color: var(--brand-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.savvy-svc-hires__sector-link:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .savvy-svc-hires__sectors {
    grid-template-columns: 1fr;
  }
}


/* ─── ⑦ Emergency band (urgent conversion lever) ──────────────── */

.savvy-svc-emergency {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
}
.savvy-svc-emergency__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}
.savvy-svc-emergency__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--text-on-dark);
  opacity: 0.7;
  margin: 0 0 var(--space-3);
}
.savvy-svc-emergency__figure {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  flex-wrap: wrap;
}
.savvy-svc-emergency__figure-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw + 1rem, 4rem);
  font-weight: var(--fw-bold);
  color: var(--text-on-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.savvy-svc-emergency__figure-unit {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--text-on-dark);
  opacity: 0.7;
  line-height: 1;
}
.savvy-svc-emergency__caption {
  font-size: var(--fs-base);
  color: var(--text-on-dark);
  opacity: 0.85;
  margin: 0 0 var(--space-6);
  max-width: 50ch;
  line-height: var(--lh-loose);
}
.savvy-svc-emergency__cta-text {
  font-size: var(--fs-md);
  color: var(--text-on-dark);
  margin: 0 0 var(--space-4);
}
.savvy-svc-emergency__chips-head {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--text-on-dark);
  opacity: 0.7;
  margin: 0 0 var(--space-4);
}
.savvy-svc-emergency__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.savvy-svc-emergency__chip {
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  line-height: 1.3;
}
@media (max-width: 820px) {
  .savvy-svc-emergency__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* Stacked variant — chips-only inside this section. The tailored-solutions
   closing block now lives in its own .savvy-svc-tailored section (white
   background) directly below this one so the two read as a problem →
   solution pair across a dark/light divide. */
.savvy-svc-emergency--stacked .savvy-svc-emergency__inner {
  grid-template-columns: 1fr;
  align-items: stretch;
  /* Tighter vertical rhythm for the chips-only stacked variant — full
     --space-9 padding (the default) leaves too much air above a single
     small heading + one row of chips. */
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.savvy-svc-emergency--stacked .savvy-svc-emergency__chips-block {
  text-align: center;
}
.savvy-svc-emergency--stacked .savvy-svc-emergency__chips-block .savvy-svc-emergency__chips {
  justify-content: center;
}

/* Tailored-solutions section — sits directly under the chips band, white
   background, centered text and CTA. The CTA uses the default .btn--primary
   styling (black bg + white text) which reads correctly on this light bg
   — no inversion override needed. */
.savvy-svc-tailored {
  background: var(--surface-base);
}
.savvy-svc-tailored__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
  text-align: center;
}
.savvy-svc-tailored__head {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-default);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.02em;
}
.savvy-svc-tailored__body {
  font-size: var(--fs-md);
  color: var(--text-default);
  margin: 0 auto var(--space-6);
  max-width: 56ch;
  line-height: var(--lh-loose);
}
.savvy-svc-tailored__cta {
  display: flex;
  justify-content: center;
}

/* Phone CTA inside the emergency band — the global .btn--primary uses
   brand-accent background which resolves to black in the mono palette,
   making the button invisible on the dark band. Force a high-contrast
   inverted style for buttons in this section. */
.savvy-svc-emergency__cta .btn,
.savvy-svc-emergency__cta a.btn {
  background-color: var(--text-on-dark);
  color: var(--brand-primary);
  border: 1px solid var(--text-on-dark);
  font-size: var(--fs-md);
  padding: var(--space-3) var(--space-5);
}
.savvy-svc-emergency__cta .btn:hover,
.savvy-svc-emergency__cta a.btn:hover {
  background-color: transparent;
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
}


/* ─── ⑧ Pricing callout ───────────────────────────────────────── */

/* Pricing callout — flattened 2026-06 so it reads as a continuation of the
   surrounding section rhythm rather than a floating card with visible edges.
   Removed the inner --surface-alt card + radius treatment; now sits flush
   inside its own light-grey section band. */
.savvy-svc-pricing {
  background: var(--surface-alt);
}
.savvy-svc-pricing__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
.savvy-svc-pricing__head {
  font-size: var(--fs-xl);
  margin: 0 0 var(--space-3);
}
.savvy-svc-pricing__body {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--text-default);
  margin: 0;
}
.savvy-svc-pricing__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.savvy-svc-pricing__note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 820px) {
  .savvy-svc-pricing__inner {
    grid-template-columns: 1fr;
  }
}


/* ─── ⑨ Trust footer one-line band ────────────────────────────── */

.savvy-svc-trust-foot {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}
.savvy-svc-trust-foot__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-4) var(--container-padding);
}
.savvy-svc-trust-foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
}
.savvy-svc-trust-foot__item {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--text-muted);
}
