/* Inner service pages — loaded after home.css, which holds the tokens, header, footer, buttons and form styles. */
.wrap { width: min(100% - 32px, var(--container)); margin-inline: auto; }
main { overflow-x: clip; }
main h1 em, main h2 em { font-style: normal; }
.text-link { color: inherit; }

/* Buttons used by the inner pages' markup */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.dark { background: var(--ink); color: #fff; }
.button.dark:hover { background: var(--ink-3); }

/* Hero: full-bleed dark band behind the .wrap container */
.detail-hero { position: relative; background: var(--ink); color: #fff; box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.detail-hero::after { content: ""; position: absolute; right: 0; bottom: -60%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(212, 246, 123, .14), transparent); pointer-events: none; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted-dark); margin-bottom: 36px; }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb span:last-child { color: #fff; }
.detail-hero .eyebrow { color: var(--lime); }
.detail-hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; max-width: 920px; }
.detail-hero h1 em { color: var(--lime); }
.detail-lead { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .74); max-width: 680px; margin: 26px 0 34px; }
.detail-hero .button.dark { background: var(--lime); color: var(--ink); }
.detail-hero .button.dark:hover { background: var(--lime-2); }
.detail-hero .text-link { color: var(--lime); }

/* Section rhythm */
.detail-scope, .package-assurances, .detail-body, .brief-download, .detail-cta, .newsletter-section, .related-services { margin-top: clamp(64px, 8vw, 104px); }
main h2 em { color: var(--muted); }

/* Scope: intro + checklist card */
.detail-scope { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.detail-scope > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 460px; }
.detail-scope > div:last-child { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.detail-scope h3 { font-size: 24px; letter-spacing: -0.02em; }
.detail-scope ul { list-style: none; padding: 22px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 13px; }
.detail-scope li { display: flex; gap: 12px; align-items: flex-start; }
.detail-scope li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%2314170f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.scope-note { margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--tint); font-size: 15px; color: var(--muted); }

/* Assurances: two highlight cards */
.package-assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.package-assurances article { border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); background: var(--ink); color: #fff; }
.package-assurances article:nth-child(2) { background: var(--lime); color: var(--ink); }
.package-assurances .eyebrow { color: var(--lime); margin-bottom: 14px; }
.package-assurances article:nth-child(2) .eyebrow { color: var(--ink); }
.package-assurances h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; margin-bottom: 12px; }
.package-assurances p { color: rgba(255, 255, 255, .72); }
.package-assurances article:nth-child(2) p { color: rgba(20, 23, 15, .78); }

/* Numbered body content */
.detail-body { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail-body article { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.detail-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 700 16px var(--display); }
.detail-body h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; margin-bottom: 12px; }
.detail-body p { color: var(--muted); max-width: 760px; }

/* FAQ (details with a <span>+</span> marker) */
.faq.section { background: var(--tint); margin-top: clamp(64px, 8vw, 104px); }
.faq-items { display: grid; gap: 12px; }
.faq-items details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: border-color .2s; }
.faq-items details[open] { border-color: var(--ink); }
.faq-items summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 600 18px/1.35 var(--body); }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); font-size: 20px; font-weight: 500; transition: transform .25s ease, background-color .2s; }
.faq-items details[open] summary span { transform: rotate(45deg); background: var(--lime); }
.faq-items details p { padding: 0 0 22px; color: var(--muted); max-width: 640px; }
.faq + .detail-cta { margin-top: clamp(48px, 6vw, 80px); }

/* Download banner (planning guide) */
.brief-download { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(26px, 3.4vw, 44px); border: 1.5px dashed #b9bdac; border-radius: var(--radius); }
.brief-download h2 { font-size: clamp(28px, 3.4vw, 42px); }
.brief-download p:not(.eyebrow) { color: var(--muted); margin-top: 14px; max-width: 560px; }
.brief-download .button { flex: none; }

/* Closing call to action */
.detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(32px, 5vw, 64px); border-radius: 26px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.detail-cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -240px; background: radial-gradient(closest-side, rgba(212, 246, 123, .16), transparent); pointer-events: none; }
.detail-cta > * { position: relative; }
.detail-cta .eyebrow { color: var(--lime); }
.detail-cta h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.04em; }
.detail-cta h2 em { color: var(--lime); }
.detail-cta p:not(.eyebrow) { color: rgba(255, 255, 255, .72); margin-top: 18px; max-width: 520px; }
.detail-cta .button.dark { flex: none; background: var(--lime); color: var(--ink); }
.detail-cta .button.dark:hover { background: var(--lime-2); }

/* Newsletter (email updates) */
.newsletter-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.newsletter-section > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 20px 0 24px; max-width: 440px; }
.newsletter-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 30px 60px -40px rgba(20, 23, 15, .4); }
.form-heading .eyebrow { margin-bottom: 12px; }
.form-heading h3 { font-size: 26px; letter-spacing: -0.02em; }
.form-heading p { color: var(--muted); font-size: 15px; margin: 8px 0 24px; }
.newsletter-card .project-form { grid-template-columns: 1fr; }

/* Related services: pill links */
.related-services { padding-top: 40px; border-top: 1px solid var(--line); margin-bottom: clamp(64px, 8vw, 104px); }
.service-directory { display: flex; flex-wrap: wrap; gap: 10px; }
.service-directory a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .2s, border-color .2s; }
.service-directory a:hover { background: var(--lime); border-color: var(--lime); }
.service-directory a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 960px) {
  .detail-scope, .newsletter-section { grid-template-columns: 1fr; gap: 32px; }
  .detail-cta, .brief-download { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .package-assurances { grid-template-columns: 1fr; }
  .detail-body article { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .detail-number { width: 44px; height: 44px; font-size: 14px; }
  .detail-cta .button, .brief-download .button, .detail-hero .button { width: 100%; }
  .faq-items summary { font-size: 17px; }
}