/* ==========================================
   SERVICES HERO
========================================== */

.services-page .services-hero-wrap {
  background: #ffffff;
}

.services-page .services-hero-wrap .hero-grid {
  height: clamp(680px, 78vh, 860px);
  min-height: clamp(680px, 78vh, 860px);
}

.services-page .services-hero-wrap .hero-content {
  padding-top: 84px;
  padding-bottom: 33px;
}

.services-page .services-hero-wrap .hero-content h1 {
  max-width: 18ch;
}

.services-page .services-hero-wrap .hero-content p {
  max-width: 44ch;
  margin-bottom: 0;
}

.services-page .services-hero-wrap .hero-visual {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.services-page .services-hero-wrap .hero-image-shell {
  width: 100%;
  height: 100%;
}

.services-page .services-hero-wrap .hero-image {
  width: 100%;
  object-fit: contain;
  object-position: center center;
}

/* ==========================================
   SERVICES OVERVIEW
========================================== */

#services-overview {
  background: #f3f3f3;
}

#services-overview .services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

#services-overview .contact-cta-media {
  order: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#services-overview .services-copy {
  order: 2;
  max-width: 720px;
  padding-left: 32px;
}

#services-overview .contact-cta-image-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

#services-overview .contact-cta-image {
  display: block;
  width: 100%;
  height: 520px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
}

.services-intro {
  max-width: 46ch;
  margin: 0 0 28px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--text-body);
}

/* ==========================================
   SERVICES ACCORDION
========================================== */

.services-accordion {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.services-accordion-item {
  border: 1px solid rgba(36, 50, 70, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(36, 50, 70, 0.04);
  overflow: hidden;
}

.services-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #243246;
  cursor: pointer;
}

.services-accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.75);
}

.services-accordion-trigger:focus-visible {
  outline: 2px solid rgba(31, 47, 115, 0.18);
  outline-offset: -2px;
}

.services-accordion-label {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-icon {
  flex: 0 0 auto;
  width: 1.35em;
  display: inline-block;
  text-align: center;
  line-height: 1;
  font-size: 1.05em;
}

.service-text {
  min-width: 0;
  display: block;
}

.services-accordion-icon {
  flex: 0 0 18px;
  display: inline-block;
  margin-left: 12px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 400;
  color: var(--brand-primary);
}

.services-accordion-panel {
  overflow: hidden;
}

.services-accordion-panel-inner {
  padding: 0 22px 22px;
}

.services-accordion-panel-inner p,
.services-accordion-panel-inner li {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--text-body);
}

.services-accordion-panel-inner p {
  margin: 0 0 14px;
  max-width: 46ch;
}

.services-accordion-panel-inner ul {
  margin: 0;
  padding-left: 1.2rem;
}

.services-accordion-panel-inner li {
  margin-bottom: 4px;
  line-height: 1.65;
}

.services-accordion-panel-inner li:last-child {
  margin-bottom: 0;
}

/* ==========================================
   SERVICES IMPACT SECTION
========================================== */

#services-impact {
  background: #ffffff;
}

#services-impact .services-impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

#services-impact .services-impact-copy {
  max-width: 720px;
  padding-right: 32px;
}

#services-impact .services-impact-copy .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

#services-impact .services-impact-copy h2 {
  margin: 0 0 22px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-dark-blue);
  max-width: 12ch;
}

#services-impact .services-impact-copy p {
  margin: 0 0 16px;
  max-width: 44ch;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--text-body);
}

#services-impact .services-impact-copy p:last-child {
  margin-bottom: 0;
}

#services-impact .services-impact-media {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#services-impact .services-impact-image-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

#services-impact .services-impact-image {
  display: block;
  width: 100%;
  height: 520px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
}

/* ==========================================
   SERVICES IMPACT TABLET
========================================== */

@media (max-width: 1200px) {
  #services-impact .services-impact-grid {
    gap: 56px;
  }

  #services-impact .services-impact-copy {
    padding-right: 24px;
  }

  #services-impact .services-impact-image-wrap {
    max-width: 560px;
  }

  #services-impact .services-impact-image {
    height: 460px;
  }
}

/* ==========================================
   SERVICES IMPACT MOBILE
========================================== */

@media (max-width: 991px) {
  #services-impact {
    padding: 88px 0;
  }

  #services-impact .services-impact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #services-impact .services-impact-copy {
    order: 1;
    max-width: 100%;
    padding-right: 0;
  }

  #services-impact .services-impact-copy h2,
  #services-impact .services-impact-copy p {
    max-width: 100%;
  }

  #services-impact .services-impact-media {
    order: 2;
    justify-content: center;
  }

  #services-impact .services-impact-image-wrap {
    max-width: 620px;
    margin: 0 auto;
  }

  #services-impact .services-impact-image {
    height: auto;
  }
}

@media (max-width: 640px) {
  #services-impact {
    padding: 72px 0;
  }

  #services-impact .services-impact-copy p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1200px) {
  #services-overview .services-grid {
    gap: 56px;
  }

  #services-overview .services-copy {
    padding-left: 24px;
  }

  #services-overview .contact-cta-image-wrap {
    max-width: 560px;
  }

  #services-overview .contact-cta-image {
    height: 460px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991px) {
  .services-page .services-hero-wrap .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .services-page .services-hero-wrap .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 64px 24px 32px;
  }

  .services-page .services-hero-wrap .hero-content p {
    max-width: 100%;
  }

  .services-page .services-hero-wrap .hero-visual {
    height: auto;
    min-height: 0;
    padding: 0 24px 40px;
    overflow: visible;
  }

  .services-page .services-hero-wrap .hero-image-shell {
    max-width: 620px;
    height: auto;
    margin: 0 auto;
  }

  .services-page .services-hero-wrap .hero-image {
    width: 100%;
    height: auto;
    margin-top: 0;
    object-fit: contain;
  }

  #services-overview {
    padding: 88px 0;
  }

  #services-overview .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #services-overview .contact-cta-media {
    order: 2;
    justify-content: center;
  }

  #services-overview .services-copy {
    order: 1;
    max-width: 100%;
    padding-left: 0;
  }

  #services-overview .contact-cta-image-wrap {
    max-width: 620px;
    margin: 0 auto;
  }

  #services-overview .contact-cta-image {
    height: auto;
  }

  .services-intro,
  .services-accordion-panel-inner p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .services-page .services-hero-wrap .hero-content {
    padding: 52px 18px 28px;
  }

  .services-page .services-hero-wrap .hero-visual {
    padding: 0 18px 32px;
  }

  #services-overview {
    padding: 72px 0;
  }

  .services-intro,
  .services-accordion-panel-inner p,
  .services-accordion-panel-inner li {
    font-size: 1rem;
    line-height: 1.8;
  }

  .services-accordion-trigger {
    padding: 18px 18px;
    font-size: 0.98rem;
    gap: 14px;
  }

  .services-accordion-label {
    gap: 10px;
  }

  .service-icon {
    width: 1.25em;
  }

  .services-accordion-panel-inner {
    padding: 0 18px 18px;
  }
}
#services-impact .services-impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center; /* <-- dit was 'start' */
}
#services-impact .services-impact-copy {
  max-width: 720px;
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* <-- zorgt voor echte verticale balans */
}

/* ==========================================
   SERVICES IMAGES — ALWAYS VISIBLE
========================================== */

#services-overview .contact-cta-media,
#services-overview .contact-cta-image-wrap,
#services-overview .contact-cta-image,
#services-impact .services-impact-media,
#services-impact .services-impact-image-wrap,
#services-impact .services-impact-image,
.services-page .services-hero-wrap .hero-visual,
.services-page .services-hero-wrap .hero-image-shell,
.services-page .services-hero-wrap .hero-image {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
  animation: none !important;
}
/* ==========================================
   GLOBAL TEXT SCROLL REVEAL
   alleen tekst, alleen verticaal
========================================== */

:root {
  --text-reveal-distance: 18px;
  --text-reveal-duration: 760ms;
  --text-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.section-copy,
.contact-cta-copy,
.quote-section-copy,
.contact-overview-copy,
.focus-areas-band .section-copy,
.services-copy,
.services-impact-copy,
.services-page .services-hero-wrap .hero-content,
.site-footer .footer-compact {
  opacity: 0;
  transform: translate3d(0, var(--text-reveal-distance), 0);
  transition:
    opacity var(--text-reveal-duration) var(--text-reveal-ease),
    transform var(--text-reveal-duration) var(--text-reveal-ease);
  will-change: opacity, transform;
}

.section-copy.is-visible,
.contact-cta-copy.is-visible,
.quote-section-copy.is-visible,
.contact-overview-copy.is-visible,
.focus-areas-band .section-copy.is-visible,
.services-copy.is-visible,
.services-impact-copy.is-visible,
.services-page .services-hero-wrap .hero-content.is-visible,
.site-footer .footer-compact.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .section-copy,
  .contact-cta-copy,
  .quote-section-copy,
  .contact-overview-copy,
  .focus-areas-band .section-copy,
  .services-copy,
  .services-impact-copy,
  .services-page .services-hero-wrap .hero-content,
  .site-footer .footer-compact {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.services-page .services-hero-wrap .hero-grid {
  height: clamp(760px, 84vh, 940px);
  min-height: clamp(760px, 84vh, 940px);
}

.services-page .services-hero-wrap .hero-visual {
  min-height: 0;
}

.services-page .services-hero-wrap .hero-image-shell {
  height: clamp(760px, 84vh, 940px);
}

.services-page .services-hero-wrap .hero-image {
  width: 108%;
  height: 108%;
  object-fit: contain;
  object-position: center;
  margin-top: 0;        /* reset */
}
/* ==========================================
   SERVICES MOBILE FIXES
========================================== */

@media (max-width: 991px) {
  /* HERO: image full width */
  .services-page .services-hero-wrap .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .services-page .services-hero-wrap .hero-content {
    padding: 64px 24px 32px;
  }

  .services-page .services-hero-wrap .hero-visual {
    padding: 0;            /* geen zijkanten meer */
    height: auto;
    overflow: visible;
  }

  .services-page .services-hero-wrap .hero-image-shell {
    width: 100%;
    max-width: none;       /* belangrijk */
    height: auto;
    margin: 0;
  }

  .services-page .services-hero-wrap .hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;     /* full width gevoel */
    object-position: center;
    margin: 0;
  }

  /* SERVICES IMPACT: onder elkaar i.p.v. 2 kolommen */
  #services-impact .services-impact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
    align-items: start;
  }

  #services-impact .services-impact-copy {
    order: 1;
    max-width: 100%;
    padding-right: 0;
    display: block;
  }

  #services-impact .services-impact-media {
    order: 2;
    justify-content: center;
  }

  #services-impact .services-impact-image-wrap {
    max-width: 100%;
    margin: 0 auto;
  }

  #services-impact .services-impact-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .services-page .services-hero-wrap .hero-content {
    padding: 52px 18px 28px;
  }

  .services-page .services-hero-wrap .hero-visual {
    padding: 0;
  }
}
/* SERVICES IMPACT IMAGE = zelfde rounding als overview */

#services-impact .services-impact-image-wrap {
  border-radius: 20px;   /* of wat je boven gebruikt */
  overflow: hidden;      /* belangrijk! */
}

#services-impact .services-impact-image {
  border-radius: 20px;   /* optioneel, voor zekerheid */
}
@media (max-width: 991px) {
  /* OVERVIEW image */
  #services-overview .contact-cta-media {
    margin-top: 20px;
  }

  /* IMPACT image */
  #services-impact .services-impact-media {
    margin-top: 20px;
  }
}
@media (max-width: 991px) {
  .services-page .services-hero-wrap .hero-content h1 {
    max-width: none !important;
    width: 100% !important;
  }
}
@media (max-width: 991px) {
  #services-overview {
    padding-top: 50px;
  }
}
@media (max-width: 991px) {
  #services-impact .services-impact-media {
    margin-bottom: 24px;
  }
}
@media (min-width: 992px) {
  #services-overview .services-accordion {
    transform: translateY(-20px);
  }
}