/* Service detail pages (/services/*) - loads after styles.css + pages.css */

/* Hero */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero .hero-ctas { margin-top: 4px; }
.page-hero .eyebrow-green { color: var(--leaf); }

/* Intro split: copy + visual */
.sd-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.sd-intro h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 18px; }
.sd-intro .sd-copy > p { color: var(--muted); font-size: 1.08rem; }
.sd-intro .checklist { margin: 24px 0 0; }
.sd-intro .tv-wrap { padding-bottom: 20px; }

/* Feature grid */
.sd-features { background: var(--cream); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-soft); transition: transform .25s ease; }
.feature-grid li:hover { transform: translateY(-4px); }
.feature-grid h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-grid p { color: var(--muted); font-size: .95rem; margin: 0; }
.f-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--royal), var(--navy)); display: grid; place-items: center; margin-bottom: 18px; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sd-green .f-icon { background: linear-gradient(135deg, var(--leaf), var(--forest)); }
.sd-green .f-icon svg { stroke: var(--white); }
.sd-green.sd-features { background: linear-gradient(180deg, #F3F8EE, var(--cream)); }

/* Elevate panels */
.sd-panels .elevate-split { margin-top: 0; }
.sd-panels .ew-panel { scroll-margin-top: 100px; }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 1.3rem; font-weight: 600; background: var(--cream); color: var(--royal); transition: transform .25s ease, background-color .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq details p { color: var(--muted); margin: 0 0 22px; padding: 0 56px 0 4px; }
.faq details a { color: var(--royal); font-weight: 600; }

/* Related: reading + other services */
.sd-related { background: var(--cream); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related-grid.three { grid-template-columns: repeat(3, 1fr); }
.rel-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rel-card small { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.rel-card strong { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--navy); }
.rel-card span { color: var(--muted); font-size: .94rem; }
.rel-card.green small { color: var(--forest); }
.sd-related h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 28px; }
.sd-related .rel-block + .rel-block { margin-top: clamp(48px, 6vw, 72px); }

/* Learn-more links on /services */
.svc-more { display: inline-flex; margin-top: 28px; }

@media (max-width: 860px) {
  .sd-intro { grid-template-columns: 1fr; gap: 36px; }
  .sd-intro > .svc-visual { order: 2; }
  .feature-grid, .related-grid, .related-grid.three { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1060px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .faq details p { padding-right: 4px; }
  .page-hero .hero-ctas .btn { width: 100%; }
}
