/* ==========================================================================
   Service pages (body.page-service)
   Hero with summary, body with aside, FAQ, related services and the compact
   call to action. Every rule is scoped under body.page-service so nothing
   leaks into other pages. Tokens, header, footer, buttons and the enquiry
   pattern come from css/styles.css.
   ========================================================================== */

body.page-service {
  --svc-ink: #082750;
  --svc-deep: #041a37;
  --svc-accent: #e5a93d;
  --svc-accent-dark: #b87814;
  --svc-line: #d8dee7;
  --svc-soft: #e8f0f8;
}

/* 1. Shared pieces restyled for this template ---------------------------- */
body.page-service .eyebrow {
  display: inline-flex;
  gap: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--svc-accent-dark);
}

body.page-service .eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--svc-accent);
}

body.page-service .button {
  min-height: 48px;
  padding: 0 21px;
}

body.page-service .button-accent {
  min-height: 56px;
  padding: 0 27px;
  box-shadow: 0 12px 32px rgba(184, 120, 20, 0.22);
}

body.page-service .button-dark {
  box-shadow: 0 10px 28px rgba(8, 39, 80, 0.18);
}

body.page-service .button-outline {
  color: var(--svc-ink);
  border-color: rgba(8, 39, 80, 0.28);
}

body.page-service .breadcrumbs {
  column-gap: 7px;
  row-gap: 0;
  line-height: 23px;
  margin-bottom: 50px;
  font-size: 10px;
  color: #748296;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.page-service .breadcrumbs a {
  color: #748296;
}

body.page-service .breadcrumbs a:hover {
  color: var(--svc-ink);
}

body.page-service .breadcrumbs .icon {
  width: 13px;
  height: 24px;
}

body.page-service .section-heading {
  max-width: 760px;
}

body.page-service .section-heading h2 {
  margin: 18px 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* 2. Hero ---------------------------------------------------------------- */
body.page-service .service-hero {
  display: grid;
  grid-template-columns: 1.45fr 0.65fr;
  align-items: center;
  gap: 8vw;
  padding: 90px clamp(24px, 8vw, 130px);
  background: linear-gradient(135deg, #f7f4ed, #e7edf3);
}

body.page-service .service-hero-copy {
  min-width: 0;
}

body.page-service .service-hero h1 {
  max-width: 820px;
  margin: 22px 0 25px;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--svc-ink);
}

body.page-service .service-hero-copy > p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: #536274;
}

body.page-service .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 0;
}

body.page-service .service-summary {
  padding: 34px;
  color: #ffffff;
  background: var(--svc-ink);
  box-shadow: 24px 24px 0 rgba(8, 39, 80, 0.08);
  min-width: 0;
}

body.page-service .service-summary > span {
  display: inline;
  line-height: 15px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc-accent);
}

body.page-service .service-summary ul,
body.page-service .service-aside ul {
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

body.page-service .service-summary li,
body.page-service .service-aside li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.5;
  min-height: 49px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.page-service .service-summary li .icon,
body.page-service .service-aside li .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--svc-accent);
}

body.page-service .service-summary small {
  display: inline;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #aab9c9;
}

/* 3. Body: article and aside -------------------------------------------- */
body.page-service .service-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 9vw;
  padding: 110px clamp(24px, 8vw, 130px);
}

body.page-service .service-main {
  min-width: 0;
}

body.page-service .service-main h2 {
  margin: 25px 0 20px;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--svc-ink);
}

body.page-service .service-main > p {
  font-size: 16px;
  line-height: 1.8;
  color: #58687b;
}

body.page-service .outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 55px 0 80px;
  border: 1px solid var(--svc-line);
}

body.page-service .outcome-grid > div {
  min-height: 235px;
  padding: 25px;
  border-right: 1px solid var(--svc-line);
}

body.page-service .outcome-grid > div:last-child {
  border-right: 0;
}

body.page-service .outcome-grid .icon {
  width: 24px;
  height: 24px;
  color: var(--svc-accent-dark);
}

body.page-service .outcome-grid h3 {
  margin-top: 35px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--svc-ink);
}

body.page-service .outcome-grid p {
  font-size: 12px;
  line-height: 1.6;
  color: #6a7788;
}

body.page-service .service-steps {
  margin: 35px 0 55px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--svc-line);
}

body.page-service .service-steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--svc-line);
}

body.page-service .service-steps > li > span {
  font-size: 11px;
  font-weight: 900;
  color: var(--svc-accent-dark);
}

body.page-service .service-steps h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--svc-ink);
}

body.page-service .service-steps p {
  margin: 0;
  line-height: 1.65;
  color: #667487;
}

body.page-service .important-note {
  padding: 27px 30px;
  background: #f8f3e8;
  border-left: 4px solid var(--svc-accent);
}

body.page-service .important-note strong {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc-deep);
}

body.page-service .important-note p {
  margin-bottom: 0;
  line-height: 1.65;
  color: #5d6979;
}

body.page-service .service-aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

body.page-service .service-aside > div {
  margin-bottom: 14px;
  padding: 25px;
  border: 1px solid var(--svc-line);
}

body.page-service .service-aside h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--svc-ink);
}

body.page-service .service-aside li {
  color: #5e6e81;
  border-color: var(--svc-line);
}

body.page-service .service-aside .service-coverage > .icon {
  width: 22px;
  height: 22px;
  color: var(--svc-accent-dark);
}

body.page-service .service-aside p {
  font-size: 13px;
  line-height: 1.6;
  color: #627185;
}

body.page-service .service-aside > .button {
  width: 100%;
}

/* 4. FAQ ----------------------------------------------------------------- */
body.page-service .faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 9vw;
  padding: 100px clamp(24px, 8vw, 130px);
  background: var(--svc-soft);
}

body.page-service .faq-list details {
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid #c6d1dc;
}

body.page-service .faq-list details:last-child {
  border-bottom: 1px solid #c6d1dc;
}

body.page-service .faq-list summary {
  gap: 20px;
  padding: 22px 0;
  font-size: 20px;
  line-height: 30px;
  color: var(--svc-ink);
}

body.page-service .faq-list summary > span {
  font-family: inherit;
  font-size: inherit;
  color: var(--svc-accent-dark);
}

body.page-service .faq-list details p {
  max-width: none;
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #5e6d80;
}

/* 5. Related services ---------------------------------------------------- */
body.page-service .related-services {
  padding: 100px clamp(24px, 8vw, 130px);
}

body.page-service .related-services > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 45px;
}

body.page-service .related-services > div:last-child > a {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--svc-line);
  color: var(--svc-deep);
  text-decoration: none;
}

body.page-service .related-services > div:last-child > a:hover {
  background: #ffffff;
  color: var(--svc-ink);
}

body.page-service .related-services a > span {
  line-height: 15px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--svc-accent-dark);
}

body.page-service .related-services h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--svc-ink);
}

body.page-service .related-services p {
  font-size: 13px;
  line-height: 1.6;
  color: #687689;
}

body.page-service .related-services strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 11px;
  text-transform: uppercase;
}

body.page-service .related-services .icon {
  width: 16px;
  height: 16px;
}

/* 6. Compact final call to action ---------------------------------------- */
body.page-service .final-cta.compact {
  padding: 82px 24px;
}

body.page-service .final-cta h2 {
  margin: 18px auto;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

body.page-service .final-cta p {
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #bbc7d5;
}

body.page-service .final-cta .button-accent {
  margin-top: 0;
}

/* 7. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  body.page-service .service-hero,
  body.page-service .service-body,
  body.page-service .faq-section {
    grid-template-columns: 1fr;
  }

  body.page-service .service-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    position: static;
  }

  body.page-service .service-aside > .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.page-service .service-hero {
    padding-block: 65px;
  }

  body.page-service .service-summary {
    box-shadow: 12px 12px 0 rgba(8, 39, 80, 0.08);
  }

  body.page-service .service-body,
  body.page-service .faq-section,
  body.page-service .related-services {
    padding-block: 70px;
  }

  body.page-service .outcome-grid,
  body.page-service .related-services > div:last-child,
  body.page-service .service-aside {
    grid-template-columns: 1fr;
  }

  body.page-service .outcome-grid > div {
    min-height: 200px;
    border-right: 0;
    border-bottom: 1px solid var(--svc-line);
  }

  body.page-service .outcome-grid > div:last-child {
    border-bottom: 0;
  }

  body.page-service .service-aside > .button {
    grid-column: auto;
  }

  body.page-service .hero-actions .button {
    width: 100%;
  }

  body.page-service .button {
    padding: 12px 15px;
  }
}
