/* ================================================================
   SERVICE CHILD — TEMPLATE STYLES
   Figma: node 1474:5708 (desktop) · TBC (mobile)
         node 1474:5938 (S2 desktop)
   Depends on: ../../style.css (design tokens)
   ================================================================ */


/* ── S1 Hero Banner ─────────────────────────────────────────────── */

/* site-band provides 40px horizontal padding at desktop, 0 on mobile.
   20px top / flush bottom so the fold below can overlap.           */
.sc-hero {
  padding-top:    20px;
  padding-bottom: 0;
}

.sc-hero__card {
  position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(6, 15, 32, 0.89);
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-1);
    background-size: cover;
    background-position: center;
    padding: 60px 80px 120px;
  }

/* Blurred colour-glow overlay (Rectangle 11 in Figma)
   Extended with negative inset to hide blur fringe at card edges. */
.sc-hero__card::before {
  content: '';
    position: absolute;
    inset: -48px;
    z-index: 0;
    background: linear-gradient(0deg, rgba(7, 29, 73, 0.45) 0%, rgba(7, 29, 73, 0.45) 100%);
}

/* Inner content: eyebrow pill → H1, centred */
.sc-hero__inner {
  position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    width: 100%;
}

/* Eyebrow pill — uses --service-accent so each service area can
   override the colour via a parent-level custom property.         */
.sc-hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent, #b3cb92);
  color: var(--color-primary, #071d49);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  text-transform: uppercase;
  white-space: normal;
}

/* H1 heading — Playfair Display SemiBold, white */
.sc-hero__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h1, 54px);
  font-weight: var(--fw-h1, 600);
  line-height: var(--lh-h1, 1.16);
  letter-spacing: var(--ls-h1, 0.02em);
  color: #fff;
  margin: 0;
}


/* ── S2 Service Introduction (Split Layout) ────────────────────── */
/* Figma: node 1474:5938
   Left: fixed 492px text column · Right: flex-1 two-row card grid.
   Row 1 — 2 cards · Row 2 — up to 3 cards. gap 12px throughout.
   Overlaps the hero by 80px (same technique as sp-fold).           */

/* Section wrapper: sides 80px · bottom 40px · overlaps hero by 80px */
.sc-intro {
  padding: 0 80px var(--site-py-flush);
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

/* Outer rounded card — light grey background, flex row */
.sc-intro__card {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-stroke, #e8edf6);
  border-radius: 32px;
  padding: 64px;
  display: flex;
  gap: 32px;
  align-items: center;
}

/* ── Left column ────────── */
/* Fixed 492px width, centred vertically, internal gap 24px */
.sc-intro__left {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 24px;
 
}

/* Eyebrow pill + H2 wrapper — tighter 12px gap between them */
.sc-intro__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Eyebrow pill — uses --service-accent for per-service colour */
.sc-intro__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent, #b3cb92);
  color: var(--color-text, #1e153d);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  text-transform: uppercase;
  white-space: normal;
  align-self: flex-start;
}

/* H2 — Playfair SemiBold, text colour */
.sc-intro__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Body — Rubik Light 14px */
.sc-intro__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 14px);
  font-weight: var(--fw-body, 300);
  line-height: var(--lh-body, 1.40);
  letter-spacing: var(--ls-body, 0.01em);
  color: var(--color-text, #1e153d);
}

.sc-intro__body p { margin: 0; }
.sc-intro__body p + p { margin-top: 1em; }

/* CTA — solid navy pill, same spec as other sections */
.sc-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--color-primary, #071d49);
  color: #fff;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: var(--fw-action, 500);
  line-height: var(--lh-action, 1.00);
  letter-spacing: var(--ls-action, -0.01em);
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.sc-intro__cta svg { flex-shrink: 0; }
.sc-intro__cta:hover { opacity: 0.85; }

/* ── Right column ───────── */
/* Two rows of feature cards, flex column, 12px gap */
.sc-intro__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each row: feature cards side by side */
.sc-intro__row {
  display: flex;
  gap: 12px;
}

/* Feature card — white by default, 24px radius */
.sc-intro__feature {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* Background variants */
.sc-intro__feature--blue     { background: var(--color-old-blue, #99c1dc); }
.sc-intro__feature--mid-blue { background: #ccd6e8; }
.sc-intro__feature--white    { background: #fff; }

/* Icon badge — 64×64 navy circle */
.sc-intro__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--color-primary, #071d49);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-intro__icon {
  width: 32px;
  height: 32px;
  display: block;
  color: var(--service-accent);
}

/* Text wrapper — groups heading + body so mobile can use flex-row on the card */
.sc-intro__feat-text {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* Card heading — Playfair Bold 24px */
.sc-intro__feat-heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h4, 24px);
  font-weight: var(--fw-h4);
  line-height: var(--lh-h4, 1.10);
  letter-spacing: var(--ls-h4);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Card body — Rubik Light 14px */
.sc-intro__feat-body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: var(--fw-body-s, 300);
  line-height: var(--lh-body-s, 1.40);
  letter-spacing: var(--ls-body-s, 0.01em);
  color: var(--color-text, #1e153d);
  margin: 0;
}


/* ── S3 Understanding Your Rights ──────────────────────────────── */
/* Figma: node 1474:5622 (desktop) · 1700:4792 (mobile)
   Two sub-sections:
     Sub-A — photo-left / text-right split, photo bleeds to viewport edge
     Sub-B — three white cards with image + heading + body             */

/* Sub-A: full-width flex row, no horizontal padding (photo bleeds) */
.sc-rights__split {
  display: flex;
  align-items: stretch;
  padding-bottom: var(--site-py-flush);
  padding-top: var(--site-py-flush);
}

/* Photo column — left half; photo fills via absolute inset */
.sc-rights__photo-col {
  flex: 0.5;
  min-height: 350px;
  position: relative;
  aspect-ratio: 16 / 9;
}

.sc-rights__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 32px 32px 0;
}

/* Text column — right half, content centred vertically */
.sc-rights__text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 818px;
  max-width: 840px;
  padding: 0 var(--site-px);
}

/* Eyebrow + H2 header group */
.sc-rights__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Eyebrow pill — service-accent colour */
.sc-rights__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent, #b3cb92);
  color: var(--color-text, #1e153d);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  text-transform: uppercase;
  white-space: normal;
  align-self: flex-start;
}

/* H2 — Playfair SemiBold 48px (Figma spec, between --fs-h1 and --fs-h2) */
.sc-rights__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Body — Rubik Light 18px (full-scale desktop body) */
.sc-rights__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text, #1e153d);
}

.sc-rights__body p { margin: 0; }
.sc-rights__body p + p { margin-top: 1em; }

/* CTA — hidden on desktop; mobile shows full-width navy pill */
.sc-rights__cta { display: none; }

/* Sub-B: card grid wrapper — flush top, site-px sides, full py bottom */
.sc-rights__lower {
  padding: var(--site-py-flush, 32px) var(--site-px, 80px) var(--site-py, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

/* Three-card flex row */
.sc-rights__cards {
  display: flex;
  gap: 24px;
}

/* Individual card — white, rounded, elevated */
.sc-rights__card {
  flex: 1 0 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Card image — 4:3 aspect ratio */
.sc-rights__card-img-wrap {
  width: 100%;
  aspect-ratio: 400 / 300;
  overflow: hidden;
}

.sc-rights__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card content */
.sc-rights__card-content {
  padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
    text-align: center;
}

/* Card heading — Playfair Bold 24px */
.sc-rights__card-heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h4, 24px);
  font-weight: var(--fw-h4);
  line-height: var(--lh-h4, 1.10);
  letter-spacing: var(--ls-h4);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Card body — Rubik Light 14px */
.sc-rights__card-body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: var(--fw-body-s, 300);
  line-height: var(--lh-body-s, 1.40);
  letter-spacing: var(--ls-body-s, 0.01em);
  color: var(--color-text, #1e153d);
  margin: 0;
}


/* ── S3b Value Propositions ─────────────────────────────────────── */
/* Figma: node 1474:5718 (desktop) · node 1700:4869 (mobile)
   Layout: text column left, stacked horizontal cards right.          */

.sc-vp { background: #fff; }

/* site-container provides max-width + horizontal padding;
   layout flex row is applied directly to the container element.      */
.sc-vp__layout {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: var(--site-py-flush, 64px);
  padding-bottom: var(--site-py, 64px);
}

.sc-vp__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sc-vp__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-vp__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent);
  color: #071d49;
  font-size: var(--fs-overhead);
  font-weight: var(--fw-overhead);
  line-height: var(--lh-overhead);
  letter-spacing: var(--ls-overhead);
  text-transform: uppercase;
  white-space: normal;
  align-self: flex-start;
}

.sc-vp__heading {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: #1e153d;
  margin: 0;
}

.sc-vp__body {
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text);
}

.sc-vp__body p          { margin: 0; }
.sc-vp__body p + p      { margin-top: 1em; }

.sc-vp__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #071d49;
  color: #fff;
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  line-height: var(--lh-action);
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.sc-vp__cta:hover { opacity: 0.82; color: #fff; }

.sc-vp__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sc-vp__card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
}

/* Green circle icon badge */
.sc-vp__icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--service-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-vp__icon {
  width: 36px;
  height: 36px;
  display: block;
  color: var(--color-primary);
}

.sc-vp__card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-vp__card-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h4);
  font-weight: var(--fw-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-h4);
  color: var(--color-text);
  margin: 0;
  /* text-transform: capitalize; */
}

.sc-vp__card-body {
  font-size: var(--fs-body-s);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body-s);
  letter-spacing: var(--ls-body-s);
  color: var(--color-text);
  margin: 0;
}


/* ── S7 alt layout — Photo Split (sc_vp_layout toggle) ───────────
   Figma: node 2905:3822. Visually mirrors S3 (.sc-rights__split), but
   kept under its own class names so future edits to either section can't
   accidentally bleed into the other. Unlike S3's CTA, this one is visible
   on desktop by design. */

.sc-vp-split {
  display: flex;
  align-items: stretch;
  padding-top: var(--site-py-flush);
  padding-bottom: var(--site-py-flush);
}

.sc-vp-split__photo-col {
  flex: 0.5;
  min-height: 350px;
  position: relative;
  aspect-ratio: 16 / 9;
}

.sc-vp-split__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 32px 32px 0;
}

.sc-vp-split__text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 840px;
  padding: 0 var(--site-px);
}

.sc-vp-split__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-vp-split__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent, #b3cb92);
  color: var(--color-text, #1e153d);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
}

.sc-vp-split__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

.sc-vp-split__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text, #1e153d);
}

.sc-vp-split__body p { margin: 0; }
.sc-vp-split__body p + p { margin-top: 1em; }

/* Visible on desktop (S3's equivalent CTA is desktop-hidden — this one isn't) */
.sc-vp-split__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--color-primary, #071d49);
  color: #fff;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: var(--fw-action, 500);
  line-height: var(--lh-action, 1.00);
  letter-spacing: var(--ls-action, -0.01em);
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.sc-vp-split__cta:hover { opacity: 0.85; color: #fff; }
.sc-vp-split__cta svg   { flex-shrink: 0; }

/* ── Responsive — tablet + mobile ≤1024px ────────────────────────── */
@media (max-width: 1024px) {
  .sc-vp-split { flex-direction: column-reverse; padding: 0 0 var(--site-py-flush); }
  .sc-vp__right { width: 100%; }
  .sc-vp-split__photo-col { min-height: 280px; flex: none; width: 100%;}
  .sc-vp-split__photo     { border-radius: 0 50px 0 0; }

  .sc-vp-split__text-col {
    gap: 20px;
    padding: var(--site-py) var(--site-px) var(--site-py);
    max-width: none;
  }

  .sc-vp-split__cta { width: 100%; justify-content: center; }
}


/* ── S4 Other Services (Siblings) ──────────────────────────────── */
/* Figma: node 1474:5831 — mirrors sp-services on the parent page.
   Cards are auto-populated from WP siblings (no ACF repeater).     */

/* Section: grey background; site-container provides horizontal padding */
.sc-siblings {
  background: var(--color-stroke, #e8edf6);
  padding-top: var(--site-py);
  padding-bottom: var(--site-py);
}

/* Inner wrapper: column, centred, 53px gap between header and grid */
.sc-siblings__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 53px;
}

/* Header block: pill+H2 group + optional intro text */
.sc-siblings__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Pill + H2 — tighter 12px gap between them */
.sc-siblings__header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Eyebrow pill — service-accent colour */
.sc-siblings__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent, #b3cb92);
  color: var(--color-text, #1e153d);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  text-transform: uppercase;
  white-space: normal;
}

/* H2 — Playfair SemiBold 44px, centred */
.sc-siblings__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
  text-align: center;
}

/* Intro — Rubik Light 14px, centred, constrained to 598px */
.sc-siblings__intro {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: var(--fw-body-s, 300);
  line-height: var(--lh-body-s, 1.40);
  letter-spacing: var(--ls-body-s, 0.01em);
  color: var(--color-text, #1e153d);
  text-align: center;
  max-width: 598px;
  margin: 0;
}

/* 3-column card grid — full width of site-container */
.sc-siblings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

/* Card: white, 16px radius, soft drop-shadow, text centred */
.sc-siblings__card {
  background: var(--color-accent, #fff);
  border-radius: 16px;
  box-shadow: var(--shadow-2, 0 0 28px rgba(0, 0, 0, 0.10));
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  justify-content: space-between;
}

.sc-siblings__card-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card title — Playfair SemiBold 32px */
.sc-siblings__card-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h4, 32px);
  font-weight: var(--fw-h4, 600);
  line-height: var(--lh-h4, 1.10);
  letter-spacing: var(--ls-h4, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
  width: 100%;
}

/* Card description — Rubik Light 14px */
.sc-siblings__card-desc {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: var(--fw-body-s, 300);
  line-height: var(--lh-body-s, 1.40);
  letter-spacing: var(--ls-body-s, 0.01em);
  color: var(--color-text, #1e153d);
  margin: 0;
  width: 100%;
}

/* "Find out More" inline link — centred, with diagonal arrow */
.sc-siblings__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: var(--fw-action, 500);
  line-height: var(--lh-action, 1.00);
  letter-spacing: var(--ls-action, -0.01em);
  color: var(--color-text, #1e153d);
  text-decoration: none;
  width: 100%;
  transition: opacity 0.2s ease;
}

.sc-siblings__card-link:hover { opacity: 0.65; }
.sc-siblings__arrow { flex-shrink: 0; }


/* ── S5 William CTA ─────────────────────────────────────────────── */
/* Figma: node 1474:5876
   Rounded photo card, text left, Ask William button at bottom.
   Structure identical to sp-william on the service-parent page.    */

/* site-band provides 40px horizontal padding; section adds vertical */
.sc-william {
  padding-top:    var(--site-py, 64px);
  padding-bottom: var(--site-py-flush, 32px);
}

/* Rounded card with photo background */
.sc-william__card {
  position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow-2);
    padding: 120px 80px;
}

.sc-william__card .gradient-outline-pill.dark-text {
    background: #ffffff8a;
}

/* Background layer — absolutely fills the card */
.sc-william__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sc-william__bg img {
  object-fit: cover;
  object-position: 20% 20%;
  width: 100%;
  height: 100%;
}

/* Gradient: blue tint left, fades right revealing the photo */
.sc-william__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(153, 193, 220, 0.70) 9%,  rgba(153, 193, 220, 0) 99%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.83) 12.5%, rgba(255, 255, 255, 0) 64%);
}

/* Content: above background, max-width centred */
.sc-william__content {
  position: relative;
  z-index: 1;
  max-width: 1204px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Text block: heading + desc + button, constrained width */
.sc-william__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 628px;
}

/* H2 — Playfair SemiBold 40px (Figma spec) */
.sc-william__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--color-primary, #071d49);
  margin: 0;
}

/* Desc — Rubik Light 14px */
.sc-william__desc {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: var(--fw-body-s, 300);
  line-height: var(--lh-body-s, 1.40);
  letter-spacing: var(--ls-body-s, 0.01em);
  color: var(--color-text, #1e153d);
  margin: 0;
}


/* ── S6 Google Reviews Carousel ─────────────────────────────────── */
/* Shortcode [reviews_carousel_v5b] handles all internal layout.
   This wrapper only provides the section's vertical rhythm.         */
.sc-reviews {
  padding-top:    var(--site-py-flush, 32px);
  padding-bottom: var(--site-py, 64px);
}


/* ── S8 FAQ Accordion ────────────────────────────────────────────── */
/* Figma: node 1474:5759. Mirrors sp-faq on page-service-parent.php.
   Grey background, centred header, bordered/filled accordion items.  */

.sc-faq {
  background: var(--color-stroke, #e8edf6);
  padding-top:    var(--site-py, 64px);
  padding-bottom: var(--site-py-flush, 32px);
}

.sc-faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--site-py-flush, 32px);
}

/* ── Centred header ── */
.sc-faq__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 778px;
  text-align: center;
}

.sc-faq__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--service-accent);
  color: var(--color-primary, #071d49);
  font-size: var(--fs-overhead);
  font-weight: var(--fw-overhead);
  line-height: var(--lh-overhead);
  letter-spacing: var(--ls-overhead);
  text-transform: uppercase;
  white-space: normal;
}

.sc-faq__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--color-primary, #071d49);
  margin: 0;
}

/* ── Accordion list ── */
.sc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Closed: bordered outline */
.sc-faq__item {
  border: 2px solid #ccd6e8;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Open: filled background, border colour blends */
.sc-faq__item.is-open {
  background: #ccd6e8;
  border-color: #ccd6e8;
}

/* Trigger: full-width row, question + icon */
.sc-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 24px 40px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.sc-faq__question {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-h5);
  font-weight: var(--fw-h5);
  line-height: var(--lh-h5);
  letter-spacing: var(--ls-h5);
  color: var(--color-text, #1e153d);
}

/* Icon rotates 45deg (+ → ×) when open */
.sc-faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sc-faq__item.is-open .sc-faq__icon {
  transform: rotate(45deg);
}

/* Panel: grid-row animation — no JS height measurement required */
.sc-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.sc-faq__item.is-open .sc-faq__panel {
  grid-template-rows: 1fr;
}

/* Answer: outer div is the grid item — NO padding here, padding leaks
   through the collapsed track. Inner div carries all the padding.      */
.sc-faq__answer {
  overflow: hidden;
  min-height: 0;
}

.sc-faq__answer-inner {
  padding: 0 40px 24px;
  font-family: var(--font-body);
  font-size: var(--fs-body, 18px);
  font-weight: var(--fw-body, 300);
  line-height: var(--lh-body, 1.40);
  color: var(--color-text, #1e153d);
  margin: 0;
}


/* ── S9 Team Banner ──────────────────────────────────────────────── */
/* Figma: node 1518:498. Fields inherited from the parent page.
   Mirrors sp-team on page-service-parent.php.                        */

.sc-team {
  background: var(--color-stroke, #e8edf6);
  padding-top:    var(--site-py-flush, 32px);
  padding-bottom: var(--site-py, 64px);
}

/* Rounded card: overflow hidden clips the portrait photo */
.sc-team__card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-2, 0 0 28px rgba(0,0,0,0.10));
  padding: 100px 80px;
  min-height: 392px;
}

/* ── Background layers (photo + frosted overlay) ── */
.sc-team__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sc-team__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White + pale-blue frost; matches Figma two-layer gradient */
.sc-team__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(184, 212, 230, 0.15), rgba(184, 212, 230, 0.15)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.60));
}

/* ── Left-side content ── */
.sc-team__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--site-px, 80px);
}

/* Cap text width so it doesn't collide with the portrait */
.sc-team__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 608px;
}

.sc-team__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
    font-weight: var(--fw-h2, 600);
    line-height: var(--lh-h2, 1.10);
    letter-spacing: var(--ls-h2, 0.03em);
    color: var(--color-text, #1e153d);
  margin: 0;
}

.sc-team__body p {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: var(--fw-body, 300);
  line-height: var(--lh-body, 1.40);
  letter-spacing: var(--ls-body, 0.01em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* CTA — solid navy pill */
.sc-team__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--color-primary, #071d49);
  color: #fff;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
    font-weight: var(--fw-action, 500);
    line-height: var(--lh-action, 1.00);
    letter-spacing: var(--ls-action, -0.01em);
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.sc-team__cta:hover { opacity: 0.85; color: #fff; }

/* Portrait photo — absolutely positioned; right edge bleeds slightly */
.sc-team__photo {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  width: auto;
  height: auto;
  right: -100px;
  top:   -45px;
  z-index: 1;
}


/* ── S10 Insights Carousel ───────────────────────────────────────── */
/* Mirrors sp-insights on page-service-parent.php.
   The [insights_carousel] shortcode handles its own CSS/JS enqueue.  */

.sc-insights { background: #fff; }

/* ── Header row: heading left, prev/next arrows right ── */
.sc-insights__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.sc-insights__header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

/* Eyebrow pill — uses --service-accent so it inherits the page colour */
.sc-insights__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--service-accent, #b3cb92);
  border-radius: 99px;
 font-size: var(--fs-overhead, 16px);
    font-weight: var(--fw-overhead, 500);
    line-height: var(--lh-overhead, 0.96);
    letter-spacing: var(--ls-overhead, 0.03em);
  color: var(--color-primary, #071d49);
  text-transform: uppercase;
  width: fit-content;
}

.sc-insights__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
 font-size: var(--fs-h2, 44px);
    font-weight: var(--fw-h2, 600);
    line-height: var(--lh-h2, 1.10);
    letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* ── Prev / Next nav buttons ── */
.sc-insights__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.sc-insights__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary, #071d49);
  transition: opacity 0.2s ease;
}

.sc-insights__nav-btn:hover { opacity: 0.5; }

.sc-insights__nav-btn.swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* ── Carousel wrapper tweaks ── */

/* Let card shadows breathe outside the wrapper */
.sc-insights .insights-carousel-wrapper { overflow: visible; }

/* Swiper still clips the slide track */
.sc-insights .insights-carousel-swiper { overflow: hidden; }

/* Remove max-height that would clip tall cards */
.sc-insights .insights-carousel-swiper-wrapper { max-height: none; }


.sc-insights .insights-department-pill { font-weight: 500; }

/* Hide bullet pagination — nav arrows serve that role */
.sc-insights .insights-carousel-pagination { display: none; }


/* ================================================================
   S11 — GET IN TOUCH CTA BANNER
   Figma: node 1474:5803
   ================================================================ */

/* ── Section outer ─────────────────────────────────────────────── */

.sc-cta { background: var(--color-stroke, #e8edf6); }

/* ── Inner card ────────────────────────────────────────────────── */

.sc-cta__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
}

/* ── Background layers ─────────────────────────────────────────── */

.sc-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Solid dark base */
.sc-cta__bg-dark {
  position: absolute;
  inset: 0;
  background: #060f20;
  opacity: 0.89;
}

/* Blurred teal → navy gradient overlay */
.sc-cta__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    129deg,
    var(--color-teal, #4fbebe) 24%,
    var(--color-primary, #071d49) 70%,
    var(--color-text, #1e153d) 94%
  );
  opacity: 0.35;
  filter: blur(37px);
}

/* ── Content ───────────────────────────────────────────────────── */

.sc-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  width: 100%;
}

/* ── Eyebrow pill ──────────────────────────────────────────────── */

.sc-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--color-teal, #4fbebe);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: 1.1;
  letter-spacing: var(--ls-overhead, 0.03em);
  color: var(--color-text, #1e153d);
  text-transform: uppercase;
}

/* ── Text group ────────────────────────────────────────────────── */

.sc-cta__text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  max-width: 808px;
}

.sc-cta__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
 font-size: var(--fs-h2);
    font-weight: var(--fw-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-h2); 
  color: #fff;
  margin: 0;
}

.sc-cta__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: var(--ls-body-s, 0.01em);
  color: rgba(255, 255, 255, 0.80);
  margin: 0;
  max-width: 628px;
}

/* ── Action row ────────────────────────────────────────────────── */

.sc-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* "Book An Appointment" light pill */
.sc-cta__btn-appt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-stroke, #e8edf6);
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-text, #1e153d);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.sc-cta__btn-appt:hover { opacity: 0.8; }
.sc-cta__btn-appt svg  { flex-shrink: 0; }

/* "Ask William" — teal glowing border pill */
.sc-cta__btn-william {
  position: relative;
  width: 161px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.sc-cta__william-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--color-teal, #4fbebe);
  opacity: 0.3;
  box-shadow:
    -6px 0 15px var(--color-teal, #4fbebe),
     6px 0 15px #4d4eb9;
}

.sc-cta__william-border {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--color-teal, #4fbebe);
}

/* Transparent inner so dark card bleeds through */
.sc-cta__william-inner {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

.sc-cta__william-icon {
  flex-shrink: 0;
  width: 18px;
  height: 16px;
}


/* ================================================================
   MEDIA QUERIES
   ================================================================ */


/* ── Laptop ≤ 1366px ────────────────────────────────────────────── */
/* Tokens: --site-px: 80px · --site-py: 64px · --site-py-flush: 32px */

@media (max-width: 1366px) {

  .sc-intro__card {
    padding: 64px 32px;
}

  .sc-intro__left {
    flex: 0.6;
  }

  /* ── S3 Understanding Your Rights ── */

.sc-rights__photo-col {

    flex: 1;
}
}
/* ── Tablet ≤ 1024px ────────────────────────────────────────────── */
/* Tokens: --site-px: 40px (--site-py unchanged at 64px)             */

@media (max-width: 1024px) {

  /* ── S1 Hero ── */

  .sc-hero {
    padding: 0;
  }

  .sc-hero__card { border-radius: 0; }
  /* Tighten inner padding further */


  /* ── S2 Service Introduction ── */

  /* Section side padding drops to match --site-px: 40px */
  .sc-intro { padding: 0; }

  /* Card: reduce padding, stack columns vertically */
  .sc-intro__card {
    padding: var(--site-py) var(--site-px);
    flex-direction: column;
    align-items: flex-start;
    border-radius: 32px 32px 0 0;
  }

  /* Left col: full width, no vertical padding needed when stacked */
  .sc-intro__left {
    flex: none;
    width: 100%;
    padding: 0;
  }

  /* Right col: full width — card rows spread across full width */
  .sc-intro__right { width: 100%; }


  /* ── S3b Value Propositions ── */

    .sc-vp__layout {
    padding-top: var(--site-py);
    flex-direction: column;
}

  /* ── S8 FAQ Accordion ── */
.sc-faq {
padding-bottom: var(--site-py);
}
  /* Layout stays the same; minor trigger padding reduction */

  .sc-faq__trigger { padding: 20px 32px; }
  .sc-faq__answer-inner { padding: 0 32px 20px; }


  /* ── S9 Team Banner ── */

  /* Card goes edge-to-edge; photo drops to relative flow */
  .sc-team { padding: 0; }

  .sc-team__card {
    border-radius: 0;
    box-shadow: none;
    padding: var(--site-py) var(--site-px);
    min-height: 0;
  }

  .sc-team__bg-img { object-position: 0%; }
  .sc-team__content { padding: 0; text-align: center; }
  .sc-team__text { max-width: 100%; }
  .sc-team__cta { align-self: center; }

  /* Photo becomes relative so it sits below the text at tablet */
  .sc-team__photo {
    position: relative;
    top: unset;
    right: 0;
    width: auto;
    height: auto;
  }


  /* ── S10 Insights Carousel ── */



  .sc-insights .site-container {
    padding-right: 0;
}

.sc-insights__header {
    padding-right: var(--site-px);
}

  /* ── S4 Other Services (Siblings) ── */

  /* Drop to 2-column grid at tablet */
  .sc-siblings__grid { grid-template-columns: repeat(2, 1fr); }


  /* ── S5 William CTA ── */

  .sc-william { padding: 0px; }
  .sc-william__card { padding: var(--site-py) var(--site-px); box-shadow: none; border-radius: 0;}
  /* Increase opacity of right-side white fade so text stays legible at narrower widths */
  .sc-william__bg-overlay {
    background:
      linear-gradient(90deg, rgba(153, 193, 220, 0.70) 9%, rgba(153, 193, 220, 0) 99%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.83) 12.5%, rgba(255, 255, 255, 0.50) 64%);
  }
  .sc-william__text { max-width: 100%; text-align: center; align-items: center; }


  /* ── S3 Understanding Your Rights ── */

  /* Stack split vertically — photo on top, text below */
  .sc-rights__split { flex-direction: column; padding: 0;}

  /* Photo: fixed height when stacked; round bottom corners */
  .sc-rights__photo-col { min-height: 360px; background: var(--color-stroke); }

  .sc-rights__photo { border-radius: 0 50px 0 0; }

  /* Text col: full width, side padding matches --site-px: 40px */
  .sc-rights__text-col {
    padding: var(--site-py) var(--site-px);
        max-width: 100%;
  }



  /* Card grid: side padding matches --site-px */
  .sc-rights__lower {
    padding: 0 var(--site-px) var(--site-py);
  }


  /* ── S11 Get In Touch CTA ── */

   .sc-cta.site-band.site-section {
    padding: 0;
}

  .sc-cta__card    { padding: var(--site-py) var(--site-px); border-radius: 0;}
  
}


/* ── Mobile ≤ 767px ─────────────────────────────────────────────── */

@media (max-width: 767px) {

  /* ── S1 Hero ── */

  /* Card fills edge-to-edge — site-band already drops to 0 padding */
  .sc-hero { padding-top: 0; }

  /* Flatten card, replace glow overlay with flat two-layer gradient */
  .sc-hero__card {
    min-height: 0;
    padding: var(--site-py) var(--site-px) 72px;
  }


  /* ── S2 Service Introduction ── */
  /* Figma node 1700:4727                                            */

  /* Remove side padding — card fills edge to edge */
  .sc-intro {
    padding: 0;
    margin-top: -32px;
  }

  /* Card: full-width, rounded top corners only, columns stacked */
  .sc-intro__card {
    border-radius: 32px 32px 0 0;
    padding: 48px 20px;
    flex-direction: column;
    gap: 24px;
  }

  /* Left: full width, no vertical padding */
  .sc-intro__left {
    flex: none;
    width: 100%;
    padding: 0;
  }

  /* CTA: full-width centred pill */
  .sc-intro__cta {
    width: 100%;
    justify-content: center;
    align-self: stretch;
    font-weight: 500;
  }

  /* Right: full width */
  .sc-intro__right { width: 100%; }

  /* Rows: 2-column grid — cards stay side by side on mobile */
  .sc-intro__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Last card in a row that lands in an odd grid position (e.g. card 5
     in a 3-item row) spans both columns for a full-width treatment.  */
  .sc-intro__row .sc-intro__feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    /* Switch to horizontal layout: icon left, text right */
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  /* Inside the horizontal card: tighten heading↔body gap */
  .sc-intro__row .sc-intro__feature:last-child:nth-child(odd) .sc-intro__feat-text {
    gap: 4px;
    justify-content: center;
  }

  /* All cards: reduce padding and radius on mobile */
  .sc-intro__feature {
    padding: 12px;
    border-radius: 16px;
  }

  /* Icon badge: shrinks from 64px → 30px */
  .sc-intro__icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .sc-intro__icon {
    max-width: 18px;
    max-height: 18px;
  }

  /* ── S3b Value Propositions ── */

  /* Stack columns, centre all text */
  .sc-vp__layout {
    flex-direction: column;
    gap: 32px;
   
  }

  .sc-vp__left {
    flex: none;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  /* Pill centres from parent text-align */
  .sc-vp__pill {
    align-self: center;
  }

  /* CTA becomes full-width pill */
  .sc-vp__cta {
    align-self: stretch;
    justify-content: center;
  }

  

  .sc-vp__card {
    padding: 24px;
    border-radius: 16px;
    gap: 12px;
    align-items: center;
  }

  .sc-vp__icon-wrap {
    width: 30px;
    height: 30px;
  }

  .sc-vp__icon { width: 18px; }

  .sc-vp__card-text { gap: 8px; }




  /* ── S8 FAQ Accordion ── */

 
  .sc-faq__trigger  { padding: 20px 24px; gap: 16px; }
  .sc-faq__answer-inner { padding: 0 24px 20px;}
  .sc-faq__icon     { width: 24px; height: 24px; }


  /* ── S9 Team Banner ── */

  .sc-team { padding: 0; }

  .sc-team__card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
  }

  /* Overlay fades top→transparent so photo peeks from below */
  .sc-team__bg-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.83) 45%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(90deg, rgba(153, 193, 220, 0.26), rgba(153, 193, 220, 0.26));
  }

  .sc-team__content { align-items: center; text-align: center; }
  .sc-team__text    { max-width: none; }
  .sc-team__cta     { align-self: auto; }


  /* ── S10 Insights Carousel ── */

  /* Stack header vertically; hide arrow nav (swipe takes over) */
  .sc-insights__header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .sc-insights__nav { display: none; }

  /* Restore bullet pagination on mobile */
  .sc-insights .insights-carousel-pagination {
    display: flex;
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 24px;
    bottom: auto;
    left: auto;
  }


  /* ── S4 Other Services (Siblings) ── */

  /* Single column on mobile, tighter inner gap */
  .sc-siblings__inner { gap: 32px; }
  .sc-siblings__grid  { grid-template-columns: 1fr; }


  /* ── S5 William CTA ── */

  .sc-william__card {
    box-shadow: none;
    padding: 60px 20px;
  }

 

  .sc-william__bg img { object-position: 75% 20%; }

  .sc-william__content {
    max-width: none;
    align-items: center;
    text-align: center;
  }


  /* ── S3 Understanding Your Rights ── */

  /* Stack split vertically */
  .sc-rights__split { flex-direction: column; }

  /* Photo: fixed 280px height, top-right corner rounded only */
  .sc-rights__photo-col {
    min-height: 280px;
    flex: none;       
    width: 100%;        
    aspect-ratio: unset;
  }

  .sc-rights__photo { border-radius: 0 50px 0 0; }

  /* Text col: white background, flush bottom (lower continues the panel) */
  .sc-rights__text-col {
    gap: 20px;
  }

  /* CTA: visible on mobile, full-width navy pill */
  .sc-rights__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--color-primary, #071d49);
    color: #fff;
    font-family: var(--font-body, 'Rubik', sans-serif);
    font-size: var(--fs-action, 16px);
    font-weight: var(--fw-action, 500);
    line-height: var(--lh-action, 1.00);
    letter-spacing: var(--ls-action, -0.01em);
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .sc-rights__cta:hover { opacity: 0.85; }
  .sc-rights__cta svg   { flex-shrink: 0; }



  /* Cards: stacked single column */
  .sc-rights__cards {
    flex-direction: column;
    gap: 16px;
  }

  .sc-rights__card {
    flex: 1;
}

  /* Fixed height instead of aspect-ratio on mobile */
  .sc-rights__card-img-wrap {
    aspect-ratio: unset;
    height: 180px;
  }

  /* Tighter internal padding on mobile */
  .sc-rights__card-content { padding: 24px; }

  /* ── S11 Get In Touch CTA ── */

  .sc-cta__text-group { gap: 16px; }

  .sc-cta__actions {
    flex-direction: column;
    width: 70%;
    gap: 12px;
  }

  .sc-cta__btn-appt {
    width: 100%;
    justify-content: center;
  }

  .sc-cta__btn-william {
    width: 100%;
  }

  .sc-cta__actions .gradient-outline-pill.white-text,.sc-cta__actions button.ask-william-btn  {
    width: 100%;
}

  .sc-cta__william-inner {
    justify-content: center;
  }
}


/* ── Business theme overrides ────────────────────────────────────── */

body.service-business .sc-faq { background: #fff; padding-top: var(--site-py-flush); padding-bottom: var(--site-py); }
body.service-business .sc-faq__item { border-color: var(--color-stroke, #e8edf6); }
body.service-business .sc-faq__item.is-open { background: var(--color-stroke, #e8edf6); border-color: var(--color-stroke, #e8edf6); }
body.service-business .sc-team { padding-top: var(--site-py); }
body.service-business .sc-vp__layout {padding-bottom: var(--site-py-flush);}
body.service-business .sc-insights {padding-top: var(--site-py-flush);}

body.service-property .sc-faq { background: #fff; padding-top: var(--site-py-flush); }
body.service-property .sc-faq__item { border-color: var(--color-stroke, #e8edf6); }
body.service-property .sc-faq__item.is-open { background: var(--color-stroke, #e8edf6); border-color: var(--color-stroke, #e8edf6); }
body.service-property .sc-vp__layout {padding-bottom: var(--site-py-flush);}
body.service-property .sc-insights {padding-top: var(--site-py-flush);}