/* Service landing pages: readable server-rendered content, no extra scripts. */
.service-hero { padding: 2rem 0 3.5rem; background: linear-gradient(115deg, #edf6fa, var(--paper) 65%); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: 2.6rem; }
.service-hero h1 { max-width: 24ch; color: var(--ink); font: 800 var(--text-h1)/var(--lh-h1) var(--font-display); letter-spacing: var(--ls-h1); }
.service-detail-lead { max-width: 65ch; margin-top: 1.5rem; font-size: var(--text-p); line-height: var(--lh-body); }
.service-location { margin-top: 1.3rem; font-size: .92rem; }
.service-hero .hero-actions { margin-top: 1.6rem; }
.service-brief { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 16px; background: var(--ink); color: #cbd9e2; border-top: 3px solid var(--gold); }
.service-brief > .service-icon { width: 42px; height: 42px; margin-bottom: 1.5rem; color: #82cce8; }
.service-brief .eyebrow { color: #82cce8; font-size: .75rem; }
.service-brief h2 { color: #fff; font: 700 var(--text-h4)/var(--lh-h4) var(--font-display); letter-spacing: var(--ls-h4); margin-bottom: 1rem; }
.service-brief > p:not(.eyebrow) { font-size: 1rem; line-height: 1.7; }
.service-brief > a { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.4rem; padding-block: 1rem; border-block: 1px solid var(--line-dark); color: #fff; font-weight: 600; }
.service-brief-note { display: block; margin-top: 1rem; font-size: .85rem; }
.service-jump { padding-block: 1.15rem; border-block: 1px solid var(--line); background: #fff; }
.service-jump > div { display: flex; flex-wrap: wrap; gap: .7rem 2rem; }
.service-jump a { font-size: var(--text-link); font-weight: 600; }
.service-detail-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.service-detail-section h2 { color: var(--ink); font: 700 var(--text-h2)/var(--lh-h2) var(--font-display); letter-spacing: var(--ls-h2); max-width: 35ch; }
.service-detail-section h2 + p, .service-scope-grid p + p { margin-top: 1.2rem; line-height: 1.7; }
.service-scope-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.service-scope-grid > div { max-width: 70ch; }
.service-scope-list { list-style: none; padding: 1.5rem 1.8rem; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.service-scope-list li { display: flex; align-items: baseline; gap: .8rem; padding-block: .7rem; }
.service-scope-list .led { flex-shrink: 0; }
.service-planning { background: #fff; border-block: 1px solid var(--line); }
.service-planning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.service-planning-card { padding: clamp(1.3rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.service-step { font: 600 .8rem var(--font-body); color: var(--accent-dark); }
.service-planning-card h3 { margin: 1.3rem 0 .8rem; color: var(--ink); font: 600 var(--text-h5)/var(--lh-h5) var(--font-display); letter-spacing: var(--ls-h5); }
.service-planning-card p { font-size: .95rem; line-height: 1.8; }
.service-questions-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); }
.service-questions details { border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
.service-questions details:first-child { border-top: 1px solid var(--line); }
.service-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.3rem .2rem; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; transition: color .2s ease; }
.service-questions summary::-webkit-details-marker { display: none; }
.service-questions summary:hover, .service-questions details[open]:not(.is-closing) summary { color: var(--accent-dark); }
.service-questions summary span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 1.35rem; line-height: 1; flex-shrink: 0; color: var(--ink); }
.service-questions summary:hover span { background: #eaf5fa; color: var(--accent-dark); }
.service-questions details[open]:not(.is-closing) summary span { transform: rotate(45deg); background: #eaf5fa; color: var(--accent-dark); }
.service-questions .service-answer { padding: 0 1.6rem 1.4rem .2rem; line-height: 1.8; will-change: height, opacity, transform; }
.service-questions .service-answer p + p { margin-top: .85rem; }
.service-related { background: #fff; border-top: 1px solid var(--line); }
.service-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin-top: 1.7rem; }
.service-related-grid a { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.service-related-grid a > span:first-of-type { flex: 1; }
.service-related-grid .service-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--accent); }
.service-related-grid a:hover { border-color: var(--accent); color: var(--accent-dark); }
/* Articles about the service: title, first lines and reading time. */
.service-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.service-articles-grid a { display: flex; flex-direction: column; gap: .55rem; height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.service-article-meta { font: .72rem/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.service-article-title { font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.service-article-excerpt { color: var(--ink-soft); font-size: .94rem; line-height: 1.6; }
.service-articles-grid a:hover { border-color: var(--accent); }
.service-articles-grid a:hover .service-article-title { color: var(--accent-dark); }
.service-detail a:focus-visible, .service-detail summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
    .service-brief { animation: service-arrive .45s ease both; }
    .service-related-grid a, .service-articles-grid a { transition: border-color .2s ease, transform .2s ease; }
    .service-related-grid a:hover, .service-articles-grid a:hover { transform: translateY(-3px); }
    .service-questions summary span { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, color .2s ease; }
    .service-questions details[open]:not(.is-animated) .service-answer { animation: service-arrive .28s cubic-bezier(.22, 1, .36, 1) both; }
    @keyframes service-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 960px) { .service-hero-grid { gap: 2rem; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); } .service-questions-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .service-hero-grid, .service-scope-grid, .service-planning-grid { grid-template-columns: 1fr; } .service-hero-grid { margin-top: 1.8rem; } .service-brief { max-width: 40rem; } .service-jump > div { gap: .8rem 1.2rem; } }
/* A long address or word typed in Admin → Services wraps instead of widening the page. */
.service-detail { overflow-wrap: anywhere; }
