/* EXKO HOME v17 | Lean commercial homepage on existing Satus components.
   Only homepage styles are scoped with .is-home.
   Footer topics are a navigable link area for all pages. */

/* Shared spacing: four content sections + existing global CTA. */
html body.is-home .site-main .content-zone > section:not(.home-hero) {
  margin-top: clamp(2.8rem, 5vw, 4.6rem) !important;
}
html body.is-home .site-main .content-zone > section > .container {
  max-width: var(--container-max);
}
html body.is-home .site-main .content-zone .section-eyebrow {
  color: #167282 !important;
  font-size: .76rem !important;
  font-weight: 780 !important;
  letter-spacing: .12em !important;
  line-height: 1.4 !important;
}
html body.is-home .site-main .content-zone :is(
  .service-outcome-map__title, .home-accreditation__title, .home-nationwide__title
) {
  color: #233b46 !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(1.95rem, 2.6vw, 2.65rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  line-height: 1.12 !important;
}

/* Hero: primary service, readable rather than crowded. */
html body.is-home .home-hero.home-hero--visual {
  min-height: clamp(29rem, 37vw, 36rem) !important;
  padding-block: clamp(3.3rem, 5vw, 5.2rem) !important;
  background-color: #f4f8fa !important;
  background-image: linear-gradient(90deg,
      #f6fafb 0%, rgba(246,250,251,.99) 23%,
      rgba(246,250,251,.92) 40%, rgba(246,250,251,.65) 52%,
      rgba(246,250,251,.13) 72%, transparent 100%),
    url('/_themes/default/images/home/hero-expertise.webp') !important;
  background-size: cover !important;
  background-position: center, center 51% !important;
  border-bottom: 1px solid #e2eaed !important;
}
html body.is-home .home-hero--visual .home-hero__inner {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important;
  gap: clamp(1.4rem, 3.6vw, 3.5rem) !important;
  min-height: 0 !important;
}
html body.is-home .home-hero--visual .home-hero__content { max-width: 43rem !important; }
html body.is-home .home-hero--visual .home-hero__eyebrow {
  margin-bottom: 1.2rem !important;
  color: #0b6776 !important;
  font-size: .78rem !important;
  font-weight: 780 !important;
  letter-spacing: .095em !important;
}
html body.is-home .home-hero--visual .home-hero__title {
  max-width: 23ch !important;
  margin: 0 !important;
  color: #203744 !important;
  font-size: clamp(2.5rem, 3.65vw, 3.95rem) !important;
  font-weight: 830 !important;
  line-height: 1.052 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
}
html body.is-home .home-hero--visual .home-hero__text {
  max-width: 35rem !important;
  margin-top: 1.3rem !important;
  color: #435c67 !important;
  font-size: clamp(1rem, 1.14vw, 1.13rem) !important;
  line-height: 1.63 !important;
}
html body.is-home .home-hero__actions {
  gap: .8rem !important;
  margin-top: 1.7rem !important;
}
html body.is-home .home-hero__actions .button {
  min-height: 2.95rem !important;
  padding: .77rem 1.25rem !important;
  border-radius: .6rem !important;
  font-size: .96rem !important;
  font-weight: 750 !important;
}
html body.is-home .home-hero__actions .button--primary,
html body.is-home .home-nationwide__link {
  color: #fff !important;
  background: #0b6b79 !important;
  border-color: #0b6b79 !important;
}
html body.is-home .home-hero__actions .button--outline {
  color: #0a5f6d !important;
  background: rgba(255,255,255,.85) !important;
  border: 1px solid #bad2d8 !important;
}
html body.is-home .home-hero__note {
  max-width: 35rem;
  margin: 1.25rem 0 0;
  color: #4b6470;
  font-size: .88rem;
  line-height: 1.48;
}

/* Services: four image-backed choices, always 2+2 on desktop. */
html body.is-home .service-outcome-map--home-visual .service-outcome-map__header {
  max-width: 53rem !important;
  margin-bottom: 1.7rem !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__text {
  max-width: 46rem !important;
  margin-top: .65rem !important;
  color: #506671 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 1.1rem !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  padding: 0 0 1.35rem !important;
  background: #fff !important;
  border: 1px solid #dce7ea !important;
  border-radius: .95rem !important;
  box-shadow: 0 8px 28px rgba(23,56,69,.035) !important;
  overflow: hidden !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 34px rgba(23,56,69,.09) !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-media {
  width: 100% !important;
  height: clamp(12.7rem, 18vw, 16.4rem) !important;
  margin: 0 0 1.12rem !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 48% !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-label {
  top: .9rem !important;
  left: .9rem !important;
  width: fit-content !important;
  margin: 0 !important;
  padding: .35rem .7rem !important;
  border: 1px solid rgba(216,231,235,.85) !important;
  border-radius: 100px !important;
  color: #135967 !important;
  background: rgba(255,255,255,.95) !important;
  font-size: .75rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-title {
  margin: 0 1.3rem !important;
  color: #223b47 !important;
  font-size: clamp(1.19rem, 1.38vw, 1.38rem) !important;
  line-height: 1.21 !important;
  font-weight: 800 !important;
  letter-spacing: -.022em !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-text {
  margin: .56rem 1.3rem .9rem !important;
  color: #516975 !important;
  font-size: .95rem !important;
  line-height: 1.55 !important;
}
html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-link {
  display: inline-flex !important;
  align-items: center !important;
  margin: auto 1.3rem .1rem !important;
  color: #086877 !important;
  font-size: .92rem !important;
  font-weight: 780 !important;
}
html body.is-home .home-services-more { margin: 1.35rem 0 0; text-align: right; }
html body.is-home .home-services-more a {
  color: #0a6573;
  font-weight: 760;
  font-size: .94rem;
  text-decoration: none;
}
html body.is-home .home-services-more a::after { content: ' →'; }
html body.is-home .home-services-more a:hover { text-decoration: underline; }

/* Accreditation: proof is compact and attributed to correct legal entity. */
html body.is-home .home-accreditation > .container {
  padding: clamp(1.35rem, 3vw, 2.35rem) !important;
  background: #fff !important;
  border: 1px solid #dbe7ea !important;
  border-radius: 1.05rem !important;
  box-shadow: 0 9px 26px rgba(29,57,70,.025) !important;
}
html body.is-home .home-accreditation__heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1.3rem !important;
  margin-bottom: 1.1rem !important;
}
html body.is-home .home-accreditation__intro { max-width: 52rem !important; }
html body.is-home .home-accreditation__lead {
  max-width: 48rem !important;
  margin-top: .65rem !important;
  color: #516974 !important;
  font-size: .96rem !important;
  line-height: 1.58 !important;
}
html body.is-home .home-accreditation__overview {
  flex-shrink: 0 !important;
  color: #0b6675 !important;
  font-size: .91rem !important;
  font-weight: 750 !important;
}
html body.is-home .home-accreditation__media-layout {
  display: grid !important;
  grid-template-columns: minmax(8.5rem, .4fr) minmax(0, 1.6fr) !important;
  gap: 1.05rem !important;
  margin: 0 !important;
}
html body.is-home .home-accreditation__documents {
  min-height: 13rem !important;
  margin: 0 !important;
  padding: .65rem !important;
  border-radius: .85rem !important;
  background: #eaf3f4 !important;
}
html body.is-home .home-accreditation__documents img {
  max-height: 12.2rem !important;
  width: auto !important;
  object-fit: contain !important;
}
html body.is-home .home-accreditation__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem !important;
}
html body.is-home .home-accreditation__item {
  min-height: 100% !important;
  padding: 1.13rem !important;
  border: 1px solid #dbe8eb !important;
  border-radius: .75rem !important;
  background: #f1f7f8 !important;
}
html body.is-home .home-accreditation__item .home-accreditation__card-body { min-width: 0 !important; }
html body.is-home .home-accreditation__eyebrow {
  color: #0b7080 !important;
  font-size: .75rem !important;
  font-weight: 780 !important;
  letter-spacing: .035em !important;
}
html body.is-home .home-accreditation__card-title {
  margin-top: .5rem !important;
  color: #223b47 !important;
  font-size: 1.04rem !important;
  font-weight: 790 !important;
  line-height: 1.26 !important;
}
html body.is-home .home-accreditation__order {
  margin: .7rem 0 .62rem !important;
  color: #45616c !important;
  font-size: .86rem !important;
  line-height: 1.48 !important;
}
html body.is-home .home-accreditation__item a {
  color: #0a6473 !important;
  font-size: .87rem !important;
  font-weight: 760 !important;
}
html body.is-home .home-accreditation__disclaimer {
  margin: 1rem 0 0 !important;
  color: #667883 !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

/* Nationwide: one clear paragraph with supporting photo. */
html body.is-home .home-nationwide > .container {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr) !important;
  overflow: hidden !important;
  border: 1px solid #d9e6e9 !important;
  border-radius: 1.05rem !important;
  background: #fff !important;
}
html body.is-home .home-nationwide__content {
  align-self: center !important;
  padding: clamp(1.6rem, 3.15vw, 2.8rem) !important;
}
html body.is-home .home-nationwide__title { max-width: 22ch !important; }
html body.is-home .home-nationwide__text {
  max-width: 30rem !important;
  margin-top: .85rem !important;
  color: #506873 !important;
  font-size: 1rem !important;
  line-height: 1.66 !important;
}
html body.is-home .home-nationwide__link {
  display: inline-flex !important;
  margin-top: 1.25rem !important;
  border-radius: .6rem !important;
  padding: .76rem 1.1rem !important;
  font-size: .93rem !important;
  font-weight: 760 !important;
}
html body.is-home .home-nationwide__image,
html body.is-home .home-nationwide__image img {
  min-height: 19.5rem !important;
  height: 100% !important;
}
html body.is-home .home-nationwide__image img {
  width: 100% !important;
  object-fit: cover !important;
}

/* Global CTA is already injected after main content by Satus template. */
.site-footer__topics {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.2rem;
  padding: 0 0 1.3rem;
  color: rgba(255,255,255,.73);
}
.site-footer__topics-label {
  font-size: .78rem;
  font-weight: 740;
  letter-spacing: .025em;
  color: rgba(255,255,255,.85);
}
.site-footer__topics a {
  color: rgba(255,255,255,.68);
  font-size: .79rem;
  text-decoration: none;
}
.site-footer__topics a:hover,
.site-footer__topics a:focus-visible { color: #fff; text-decoration: underline; }

@media (min-width: 1081px) {
  html body.is-home .site-header .site-nav a { font-size: .875rem !important; }
}
@media (max-width: 1050px) {
  html body.is-home .home-hero--visual .home-hero__title { font-size: clamp(2.25rem, 4.4vw, 3.4rem) !important; }
  html body.is-home .home-accreditation__media-layout { grid-template-columns: 1fr !important; }
  html body.is-home .home-accreditation__documents { display: none !important; }
}
@media (max-width: 767px) {
  html body.is-home .site-main .content-zone > section:not(.home-hero) {
    margin-top: 2.8rem !important;
  }
  html body.is-home .home-hero.home-hero--visual {
    min-height: 0 !important;
    padding: 2.55rem 0 3rem !important;
    background-image: linear-gradient(180deg,
      rgba(246,250,251,.98) 0%,rgba(246,250,251,.95) 38%,
      rgba(246,250,251,.86) 65%,rgba(246,250,251,.42) 100%),
      url('/_themes/default/images/home/hero-expertise.webp') !important;
    background-position: center, 66% center !important;
  }
  html body.is-home .home-hero--visual .home-hero__inner {
    display: block !important;
  }
  html body.is-home .home-hero--visual .home-hero__aside { display: none !important; }
  html body.is-home .home-hero--visual .home-hero__title {
    max-width: 19ch !important;
    font-size: clamp(2.26rem, 7.5vw, 3rem) !important;
    line-height: 1.06 !important;
  }
  html body.is-home .home-hero--visual .home-hero__text {
    max-width: 35rem !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  html body.is-home .home-hero__actions .button { font-size: .9rem !important; }
  html body.is-home .service-outcome-map--home-visual .service-outcome-map__grid {
    grid-template-columns: 1fr !important;
    gap: .95rem !important;
  }
  html body.is-home .service-outcome-map--home-visual .service-outcome-map__item-media {
    height: clamp(11.8rem, 52vw, 16rem) !important;
  }
  html body.is-home .home-accreditation__heading { display: block !important; }
  html body.is-home .home-accreditation__overview { display: inline-block; margin-top: .8rem; }
  html body.is-home .home-accreditation__grid { grid-template-columns: 1fr !important; }
  html body.is-home .home-nationwide > .container { grid-template-columns: 1fr !important; }
  html body.is-home .home-nationwide__image,
  html body.is-home .home-nationwide__image img { min-height: 12.5rem !important; max-height: 16rem; }
  html body.is-home .home-nationwide__content { order: 1; padding: 1.4rem !important; }
  html body.is-home .home-nationwide__image { order: 2; }
  .site-footer__topics { padding-top: .1rem; gap: .55rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html body.is-home .service-outcome-map--home-visual .service-outcome-map__item { transition: none !important; }
}
