.service-page { background: var(--paper); }
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 5.5rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(119,172,226,.24), transparent 35%),
    radial-gradient(circle at 72% 90%, rgba(207,149,207,.2), transparent 32%),
    var(--ink);
  color: var(--white);
}
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: auto -10rem -22rem auto;
  width: 42rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.breadcrumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; color: rgba(255,255,255,.52); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.subpage-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.subpage-hero h1 { max-width: 12ch; margin-bottom: 1.3rem; font-size: clamp(3.1rem, 6.6vw, 6.2rem); }
.subpage-lead { max-width: 44rem; margin-bottom: 1.8rem; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.subpage-media { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 1.5rem; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.subpage-media img { width: 100%; min-height: 27rem; object-fit: cover; }
.subpage-media figcaption { position: absolute; inset: auto 1rem 1rem; padding: .65rem .85rem; border-radius: .65rem; background: rgba(5,22,37,.76); color: var(--white); font-size: .74rem; font-weight: 800; backdrop-filter: blur(8px); }
.service-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.service-facts div { padding: 1.45rem; text-align: center; }
.service-facts div + div { border-left: 1px solid var(--line); }
.service-facts strong { display: block; color: var(--green); font-size: 1rem; }
.service-facts span { color: var(--muted); font-size: .76rem; }
.service-content { background: var(--paper); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.prose-block + .prose-block { margin-top: 3.5rem; }
.prose-block h2 { max-width: 13ch; margin-bottom: 1.35rem; font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
.prose-block > p { max-width: 50rem; color: var(--muted); font-size: 1.02rem; }
.service-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.service-list-grid article { padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.service-list-grid h3 { margin-bottom: .45rem; font-size: 1rem; }
.service-list-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.service-list-grid span { display: inline-grid; width: 2.2rem; height: 2.2rem; place-items: center; margin-bottom: .9rem; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: .7rem; font-weight: 900; }
.service-aside { position: sticky; top: 7rem; padding: 1.6rem; border-radius: var(--radius); background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.service-aside > span { color: var(--green-bright); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.service-aside h2 { margin: .8rem 0 1rem; font-family: inherit; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; text-transform: none; }
.service-aside p { color: rgba(255,255,255,.64); font-size: .88rem; }
.service-aside .button { width: 100%; margin-top: .35rem; }
.coverage-list { margin: 1.2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.coverage-list li { padding: .22rem 0; color: rgba(255,255,255,.72); font-size: .82rem; }
.coverage-list li::before { content: "•"; margin-right: .55rem; color: var(--green-bright); }
.process-list { margin: 1.8rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.process-list li { display: grid; grid-template-columns: 2.7rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); counter-increment: steps; }
.process-list li::before { content: "0" counter(steps); color: var(--green); font-size: .75rem; font-weight: 900; }
.process-list h3 { margin-bottom: .25rem; font-size: 1rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .88rem; }
.notice-panel { margin-top: 1.6rem; padding: 1.3rem 1.4rem; border-left: 4px solid var(--green-bright); border-radius: 0 .9rem .9rem 0; background: #edf5fa; color: var(--muted); font-size: .88rem; }
.faq-list { margin-top: 1.5rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.15rem 2.2rem 1.15rem 0; cursor: pointer; font-weight: 800; }
.faq-list p { max-width: 50rem; padding: 0 0 1.2rem; color: var(--muted); font-size: .9rem; }
.related-services { background: var(--white); }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.related-heading h2 { max-width: 12ch; font-size: clamp(2.2rem, 4.5vw, 4rem); }
.related-heading a { color: var(--green); font-size: .85rem; font-weight: 900; text-decoration: none; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-grid a { min-height: 10rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.related-grid a:hover { transform: translateY(-3px); border-color: rgba(37,107,157,.45); }
.related-grid span { color: var(--green); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.related-grid strong { display: block; margin-top: .8rem; font-size: 1.05rem; }
.subpage-contact { background: linear-gradient(130deg, #091f35, #176b9f 70%, #705577); color: var(--white); }
.subpage-contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.subpage-contact h2 { max-width: 11ch; margin-bottom: .9rem; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.subpage-contact p { max-width: 42rem; margin: 0; color: rgba(255,255,255,.68); }
.subpage-contact .contact-actions { justify-content: flex-end; }
.service-page .footer-grid { grid-template-columns: 8rem 1fr auto; }
.service-page .footer-grid img { width: 7rem; }

@media (max-width: 980px) {
  .subpage-hero-grid, .content-grid { grid-template-columns: 1fr; }
  .subpage-media { max-width: 42rem; }
  .service-aside { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .subpage-contact-grid { grid-template-columns: 1fr; }
  .subpage-contact .contact-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .subpage-hero { padding: 8rem 0 4rem; }
  .subpage-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .subpage-media img { min-height: 21rem; }
  .service-facts { grid-template-columns: 1fr; }
  .service-facts div + div { border-top: 1px solid var(--line); border-left: 0; }
  .service-list-grid, .related-grid { grid-template-columns: 1fr; }
  .related-heading { align-items: flex-start; flex-direction: column; }
  .subpage-contact .contact-actions, .subpage-contact .button { width: 100%; }
  .service-page .footer-grid { grid-template-columns: 1fr; }
}
