/* EBW V6.2.1 – hotfix for V6.2 visual pass */
:root{
  --ebw-brand-primary:#8DC63F;
  --ebw-brand-secondary:#8DC63F;
  --ebw-brand-deep:#0C9444;
  --ebw-accent:#8DC63F;
  --ebw-shell:1440px;
}

/* IMPORTANT: accent text only – never paint text backgrounds */
body.ebw-v6-active .ebw-kicker,
body.ebw-v6 .ebw-kicker,
body.ebw-v6-active .ebw-kicker--light,
body.ebw-v6 .ebw-kicker--light,
body.ebw-v6-active .ebw-hero h1 span,
body.ebw-v6 .ebw-hero h1 span,
body.ebw-v6-active .ebw-text-link,
body.ebw-v6 .ebw-text-link,
body.ebw-v6-active .ebw-service-card__copy a,
body.ebw-v6 .ebw-service-card__copy a,
body.ebw-v6-active .ebw-nav a:hover,
body.ebw-v6-active .ebw-nav a.is-active,
body.ebw-v6 .ebw-nav a:hover,
body.ebw-v6 .ebw-nav a.is-active{
  color:var(--ebw-accent)!important;
  background:transparent!important;
}
body.ebw-v6-active .ebw-hero h1 span,
body.ebw-v6 .ebw-hero h1 span{display:inline!important;padding:0!important;box-shadow:none!important}
body.ebw-v6-active .ebw-kicker,
body.ebw-v6 .ebw-kicker{display:block!important;width:auto!important;max-width:none!important;padding:0!important}
body.ebw-v6-active .ebw-nav a.is-active:after,
body.ebw-v6 .ebw-nav a.is-active:after{background:var(--ebw-accent)!important;color:transparent!important}

/* One dominant CTA in hero; header stays quiet */
body.ebw-v6-active .ebw-header,
body.ebw-v6 .ebw-header{
  grid-template-columns:240px 1fr!important;
  padding-right:30px!important;
  width:min(calc(100% - 72px),1500px)!important;
  border-radius:28px!important;
  box-shadow:0 22px 52px rgba(10,22,16,.18)!important;
}
body.ebw-v6-active .ebw-header__cta,
body.ebw-v6 .ebw-header__cta{display:none!important}
body.ebw-v6-active .ebw-nav,
body.ebw-v6 .ebw-nav{justify-content:flex-end!important;padding-right:4px!important}

/* Hero – more breathing room and closer to the mockup proportions */
body.ebw-v6-active .ebw-hero,
body.ebw-v6 .ebw-hero{min-height:850px!important;padding-bottom:112px!important}
body.ebw-v6-active .ebw-hero__content,
body.ebw-v6 .ebw-hero__content{width:min(calc(100% - 72px),1500px)!important;padding-top:196px!important}
body.ebw-v6-active .ebw-hero h1,
body.ebw-v6 .ebw-hero h1{font-size:clamp(58px,5.2vw,86px)!important;max-width:900px!important}
body.ebw-v6-active .ebw-hero__lead,
body.ebw-v6 .ebw-hero__lead{max-width:790px!important;font-size:17.5px!important}
body.ebw-v6-active .ebw-hero__image,
body.ebw-v6 .ebw-hero__image{filter:saturate(.95) contrast(1.06) brightness(.97)!important;object-position:center center!important}
body.ebw-v6-active .ebw-hero__overlay,
body.ebw-v6 .ebw-hero__overlay{
  background:
    linear-gradient(90deg,rgba(9,15,13,.85) 0%,rgba(9,16,14,.69) 31%,rgba(10,20,22,.31) 57%,rgba(21,40,61,.08) 100%),
    linear-gradient(180deg,rgba(25,48,78,.13) 0%,rgba(7,12,10,0) 43%,rgba(7,12,10,.18) 100%)!important;
}

/* Contact dock – stronger separation from photography */
body.ebw-v6-active .ebw-contact-dock,
body.ebw-v6 .ebw-contact-dock{
  width:min(calc(100% - 72px),1260px)!important;
  bottom:-68px!important;
  border-radius:30px!important;
  background:rgba(255,255,255,.99)!important;
  border:1px solid rgba(222,229,223,.98)!important;
  box-shadow:0 34px 82px rgba(14,29,20,.22),0 5px 16px rgba(14,29,20,.08)!important;
}
body.ebw-v6-active .ebw-contact-dock>a,
body.ebw-v6 .ebw-contact-dock>a{min-height:122px!important;padding:24px 30px!important;background:#fff!important}
body.ebw-v6-active .ebw-contact-dock strong,
body.ebw-v6 .ebw-contact-dock strong{font-size:16px!important}
body.ebw-v6-active .ebw-icon-chip,
body.ebw-v6 .ebw-icon-chip{width:52px!important;height:52px!important;border-radius:17px!important}

/* Trust + icons */
body.ebw-v6-active .ebw-icon-chip,
body.ebw-v6 .ebw-icon-chip,
body.ebw-v6-active .ebw-trust__item>span,
body.ebw-v6 .ebw-trust__item>span,
body.ebw-v6-active .ebw-service-card__icon,
body.ebw-v6 .ebw-service-card__icon,
body.ebw-v6-active .ebw-process__grid article>span,
body.ebw-v6 .ebw-process__grid article>span,
body.ebw-v6-active .ebw-about__facts span,
body.ebw-v6 .ebw-about__facts span{
  color:var(--ebw-accent)!important;
  background:#F5FAEE!important;
  border-color:#E2EED3!important;
}

/* Section separation */
body.ebw-v6-active .ebw-trust,
body.ebw-v6 .ebw-trust{background:#fff!important;padding-top:106px!important}
body.ebw-v6-active .ebw-services,
body.ebw-v6 .ebw-services{background:linear-gradient(180deg,#F5F7F3 0%,#F2F5F0 100%)!important}
body.ebw-v6-active .ebw-focus,
body.ebw-v6 .ebw-focus{background:#fff!important;padding-top:88px!important;padding-bottom:98px!important}
body.ebw-v6-active .ebw-focus__card,
body.ebw-v6 .ebw-focus__card{background:linear-gradient(135deg,#191D1B,#242925)!important;border-radius:28px!important;box-shadow:0 28px 68px rgba(13,22,18,.15)!important}
body.ebw-v6-active .ebw-process,
body.ebw-v6 .ebw-process{background:#FAFBF9!important}
body.ebw-v6-active .ebw-offers,
body.ebw-v6 .ebw-offers{background:linear-gradient(180deg,#EEF3EB 0%,#F6F8F4 100%)!important}
body.ebw-v6-active .ebw-about,
body.ebw-v6 .ebw-about{background:linear-gradient(135deg,#153525,#17281F 28%,#20362A 70%,#122219 100%)!important}
body.ebw-v6-active .ebw-region,
body.ebw-v6 .ebw-region{background:#F7F8F5!important}
body.ebw-v6-active .ebw-final__card,
body.ebw-v6 .ebw-final__card{background:linear-gradient(135deg,#1D201E,#2A2928)!important}

/* Remove any accidental green bar leftovers */
body.ebw-v6-active .ebw-services__head>div:first-child:before,
body.ebw-v6 .ebw-services__head>div:first-child:before,
body.ebw-v6-active .ebw-process__head>div:first-child:before,
body.ebw-v6 .ebw-process__head>div:first-child:before,
body.ebw-v6-active .ebw-about__copy:before,
body.ebw-v6 .ebw-about__copy:before,
body.ebw-v6-active .ebw-region__copy:before,
body.ebw-v6 .ebw-region__copy:before,
body.ebw-v6-active .ebw-final__card>div:first-child:before,
body.ebw-v6 .ebw-final__card>div:first-child:before{display:none!important;content:none!important}

/* Cards / media */
body.ebw-v6-active .ebw-service-card,
body.ebw-v6 .ebw-service-card,
body.ebw-v6-active .ebw-offer-card,
body.ebw-v6 .ebw-offer-card,
body.ebw-v6-active .ebw-process__grid article,
body.ebw-v6 .ebw-process__grid article{border-color:#E4E9E1!important;box-shadow:0 18px 42px rgba(19,37,27,.075)!important}
body.ebw-v6-active .ebw-service-card__media img,
body.ebw-v6 .ebw-service-card__media img,
body.ebw-v6-active .ebw-offer-card__media img,
body.ebw-v6 .ebw-offer-card__media img{filter:saturate(.92) contrast(1.04) brightness(.99)!important}
body.ebw-v6-active .ebw-focus__media img,
body.ebw-v6 .ebw-focus__media img{filter:saturate(.80) contrast(1.07)!important}

/* Real buttons only */
body.ebw-v6-active .ebw-btn--primary,
body.ebw-v6 .ebw-btn--primary,
body.ebw-v6-active .ebw-final__card .ebw-btn,
body.ebw-v6 .ebw-final__card .ebw-btn{
  background:var(--ebw-accent)!important;
  color:#172018!important;
  box-shadow:0 13px 30px rgba(141,198,63,.24)!important;
}
body.ebw-v6-active .ebw-btn--primary:hover,
body.ebw-v6 .ebw-btn--primary:hover,
body.ebw-v6-active .ebw-final__card .ebw-btn:hover,
body.ebw-v6 .ebw-final__card .ebw-btn:hover{background:var(--ebw-brand-deep)!important;color:#fff!important}
body.ebw-v6-active .ebw-region__center,
body.ebw-v6 .ebw-region__center{background:var(--ebw-accent)!important;color:#172018!important}

@media(max-width:1180px){
  body.ebw-v6-active .ebw-header,body.ebw-v6 .ebw-header{width:calc(100% - 48px)!important}
  body.ebw-v6-active .ebw-hero__content,body.ebw-v6 .ebw-hero__content{width:calc(100% - 48px)!important}
  body.ebw-v6-active .ebw-contact-dock,body.ebw-v6 .ebw-contact-dock{width:calc(100% - 48px)!important}
}
@media(max-width:980px){
  body.ebw-v6-active .ebw-header,body.ebw-v6 .ebw-header{grid-template-columns:1fr auto!important;padding-right:14px!important;width:calc(100% - 28px)!important}
  body.ebw-v6-active .ebw-hero,body.ebw-v6 .ebw-hero{min-height:870px!important;padding-bottom:135px!important}
  body.ebw-v6-active .ebw-hero__content,body.ebw-v6 .ebw-hero__content{width:calc(100% - 36px)!important;padding-top:158px!important}
  body.ebw-v6-active .ebw-contact-dock,body.ebw-v6 .ebw-contact-dock{width:calc(100% - 36px)!important;bottom:-96px!important}
}
@media(max-width:700px){
  body.ebw-v6-active .ebw-hero,body.ebw-v6 .ebw-hero{min-height:980px!important;padding-bottom:270px!important}
  body.ebw-v6-active .ebw-hero__content,body.ebw-v6 .ebw-hero__content{width:calc(100% - 24px)!important}
  body.ebw-v6-active .ebw-contact-dock,body.ebw-v6 .ebw-contact-dock{width:calc(100% - 24px)!important}
}
