/* ==========================================================================
   KPGE single service detail page (e.g. Counselling). Loaded on top of
   theme.css + home.css (page carries the .home class for type + utilities).
   ========================================================================== */

.sd-crumb { font-family: var(--label); font-size: 0.85rem; color: var(--ink-faint); padding-top: 1.1rem; }
.sd-crumb a { color: var(--ink-soft); text-decoration: none; }
.sd-crumb a:hover { color: var(--crimson); }
.sd-crumb i { font-style: normal; margin: 0 0.5rem; }

/* --- Hero (photo bleeds to the top-right edge) ---------------------------- */
.sd-hero { position: relative; background: #faf4ee; overflow: hidden; }
.sd-hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; height: 100%; object-fit: cover; object-position: 62% center; z-index: 0; }
.sd-hero .shell { position: relative; z-index: 1; }
.sd-hero__content {
  max-width: 46%;
  min-height: clamp(420px, 42vw, 580px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0.5rem 0 clamp(2rem, 4vw, 3rem);
}
.sd-hero__content > .btn { align-self: flex-start; }
.sd-hero .home-eyebrow { color: var(--crimson); }
.sd-hero h1.display { font-size: clamp(2.6rem, 4.8vw, 4.2rem); margin: 0.4rem 0 1rem; }
.sd-hero__lede { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; max-width: 26rem; margin: 0 0 2rem; }
.sd-hero__feats { display: flex; gap: 0; margin-bottom: 2.2rem; }
.sd-feat { flex: 1; text-align: center; padding: 0 1rem; border-right: 1px solid var(--home-line); display: flex; flex-direction: column; align-items: center; }
.sd-feat:last-child { border-right: 0; }
.sd-feat__ic { width: 52px; height: 52px; margin: 0 auto 0.6rem; display: grid; place-content: center; border-radius: 50%; background: #fff; color: var(--crimson); box-shadow: 0 12px 26px -14px rgba(27,22,24,.45); }
.sd-feat__ic svg { width: 24px; height: 24px; }
.sd-feat__ic i { font-size: 1.35rem; }
.sd-feat > span:not(.sd-feat__ic) { font-family: var(--label); font-size: 0.86rem; font-weight: 600; color: var(--ink); line-height: 1.3; display: block; }

/* --- Section base --------------------------------------------------------- */
.sd-sec { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.sd-sec--tint { background: var(--home-sand); }

/* --- What we do ----------------------------------------------------------- */
.sd-do__grid { display: grid; grid-template-columns: 0.85fr 2.15fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
.sd-do__intro .home-eyebrow { color: var(--crimson); }
.sd-do__intro .display { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.sd-do__intro p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; margin: 1rem 0 0; }
.sd-do__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.sd-do-card { background: #fdfaf6; border: 1px solid var(--home-line); border-radius: 16px; padding: 2.2rem 1.3rem; text-align: center; }
.sd-do-card__ic { color: var(--crimson); font-size: 2.4rem; line-height: 1; margin-bottom: 1.2rem; }
.sd-do-card h3 { font-family: var(--label); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.7rem; color: var(--ink); }
.sd-do-card p { color: var(--ink-soft); font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* --- Process -------------------------------------------------------------- */
.sd-process { background: var(--home-cream); }
.sd-process__head { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: clamp(2rem, 3vw, 3rem); }
.sd-process__head .home-eyebrow { color: var(--crimson); }
.sd-process__head .display { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.sd-flight { width: min(340px, 38vw); height: auto; flex-shrink: 0; }
.sd-steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
.sd-steps::before { content: ""; position: absolute; top: 21px; left: 8%; right: 8%; height: 2px; background: var(--crimson); opacity: .4; z-index: 0; }
.sd-step { position: relative; z-index: 1; text-align: center; padding: 0 0.4rem; }
.sd-step__no { width: 42px; height: 42px; margin: 0 auto 1rem; display: grid; place-content: center; border-radius: 50%; background: var(--crimson); color: #fff; font-family: var(--label); font-weight: 700; font-size: 0.9rem; box-shadow: 0 0 0 5px var(--home-cream); }
.sd-step h3 { font-family: var(--label); font-weight: 700; font-size: 0.9rem; margin: 0 0 0.4rem; color: var(--ink); }
.sd-step p { color: var(--ink-soft); font-size: 0.78rem; line-height: 1.4; margin: 0; }

/* --- Why it matters ------------------------------------------------------- */
/* Full-bleed: override the .shell width so the photo reaches the viewport edge */
.sd-why__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; width: 100%; max-width: none; margin: 0; }
.sd-why__photo { position: relative; min-height: 480px; }
.sd-why__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd-why__content { padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.sd-why__content .btn { align-self: flex-start; margin-top: 1.9rem; }
.sd-why__content .home-eyebrow { color: var(--crimson); }
.sd-why__content .display { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.6rem; }
.sd-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.sd-checks li { display: flex; align-items: center; gap: 0.9rem; font-size: 0.96rem; color: var(--ink-soft); }
.sd-checks svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--crimson); }
.sd-checks i { flex-shrink: 0; font-size: 1.4rem; color: var(--crimson); }

/* --- CTA band ------------------------------------------------------------- */
.sd-cta { background: linear-gradient(145deg, #b0233a 0%, var(--crimson) 40%, var(--crimson-deep) 100%); color: #fff; }
.sd-cta__grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.8rem, 3vw, 2.6rem) 0; }
.sd-cta__left { display: flex; align-items: center; gap: 1.3rem; }
.sd-cta__ic { flex-shrink: 0; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--crimson); display: grid; place-content: center; }
.sd-cta__ic svg { width: 28px; height: 28px; }
.sd-cta__ic i { font-size: 1.6rem; }
.sd-cta__left h2 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; margin: 0 0 0.2rem; color: #fff; }
.sd-cta__left p { color: rgba(255,255,255,.85); margin: 0; font-size: 0.95rem; }

/* --- FAQ ------------------------------------------------------------------ */
.sd-faq__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sd-faq__head .home-eyebrow { color: var(--crimson); margin: 0; }
.sd-faq__viewall { font-family: var(--label); font-weight: 600; font-size: 0.85rem; color: var(--crimson); text-decoration: none; }
.sd-faq h2.display { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0.4rem 0 0; }
.sd-faq__list { margin-top: 1.8rem; max-width: 820px; }
.sd-faq__list details { background: #fff; border: 1px solid var(--home-line); border-radius: 10px; margin-bottom: 0.8rem; }
.sd-faq__list summary { list-style: none; cursor: pointer; padding: 1.05rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--label); font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.sd-faq__list summary::-webkit-details-marker { display: none; }
.sd-faq__list summary::after { content: "+"; color: var(--crimson); font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.sd-faq__list details[open] summary::after { content: "\2212"; }
.sd-faq__list details > div { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .sd-hero__bg { position: relative; width: 100%; height: 300px; }
  .sd-hero__content { max-width: 100%; min-height: 0; padding-top: 1.75rem; }
  .sd-do__grid { grid-template-columns: 1fr; }
  .sd-do__cards { grid-template-columns: 1fr 1fr; }
  .sd-process__head { flex-direction: column; align-items: flex-start; }
  .sd-flight { display: none; }
  .sd-steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .sd-steps::before { display: none; }
  .sd-why__grid { grid-template-columns: 1fr; }
  .sd-why__photo { min-height: 300px; }
  .sd-why__content { padding: 2.5rem 1.25rem; }
  .sd-cta__grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .sd-hero__feats { flex-wrap: wrap; gap: 1.2rem; }
  .sd-do__cards { grid-template-columns: 1fr; }
  .sd-steps { grid-template-columns: 1fr 1fr; }
}
