/* RYHA 3.2.0-beta34 — REAL full-width hero surface, with baked-in illustrative objects.
   Do not add a second stage, CTA overlay or remote photo requests. */
body.home .nph-page .nph-hero--agro {
  box-sizing:border-box!important;
  position:relative!important; isolation:isolate!important;
  left:50%!important; width:100vw!important; max-width:100vw!important;
  margin-left:-50vw!important; margin-right:-50vw!important;
  padding:46px 0 26px!important; min-height:578px!important;
  overflow:hidden!important; border:0!important; border-radius:0!important;
  background-color:#07160f!important;
  background-image:url('../images/ryha-agro-integrated-beta34.webp')!important;
  background-position:left center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.07)!important;
}
body.home .nph-page .nph-hero--agro::before {
  content:""!important; display:block!important;
  position:absolute!important; inset:0!important; z-index:0!important;
  background:linear-gradient(90deg,rgba(5,17,12,.92) 0%,rgba(6,20,14,.87) 29%,rgba(7,23,15,.38) 44%,transparent 60%)!important;
  filter:none!important; opacity:1!important; transform:none!important;
  width:auto!important; height:auto!important;
  pointer-events:none!important;
}
body.home .nph-page .nph-hero--agro::after{display:none!important;content:none!important;}
body.home .nph-hero--agro .nph-hero-grid{
  position:relative!important;z-index:2!important;
  width:min(1500px,calc(100% - 8vw))!important;max-width:1500px!important;
  min-height:506px!important;margin:0 auto!important;
  display:block!important;gap:0!important;
}
body.home .nph-hero--agro .nph-hero-copy{
  position:relative!important;z-index:3!important;
  width:49%!important; max-width:700px!important;min-width:0!important;
  padding:26px 0 12px!important;margin:0!important;
}
body.home .nph-hero--agro h1{
  max-width:720px!important;font-size:clamp(43px,4.05vw,66px)!important;
  line-height:1.06!important;letter-spacing:-2px!important;
}
body.home .nph-hero--agro .nph-hero-lead{
  max-width:610px!important;font-size:16px!important;line-height:1.58!important;
  margin:20px 0 24px!important;
}
body.home .nph-hero--agro .nph-search-live{max-width:620px!important;min-height:58px!important;}
body.home .nph-hero--agro .nph-hero-actions{gap:12px!important;margin-top:20px!important;}
body.home .nph-hero--agro .nph-btn{min-height:50px!important;}
/* Old stage is completely removed in PHP. This guard protects upgrades from cached fragments. */
body.home .nph-hero--agro .ryha-agro-hero-stage{display:none!important;}

/* Entire TRUST bar, not merely a centered row, spans the viewport. */
body.home .nph-page .nph-trust{
  box-sizing:border-box!important;position:relative!important;z-index:6!important;
  left:50%!important;width:100vw!important;max-width:100vw!important;
  margin:0 0 0 -50vw!important; padding:15px 0 17px!important;
  background:linear-gradient(180deg,#071710 0%,#091a12 100%)!important;
  border-top:1px solid rgba(98,212,117,.12)!important;
  border-bottom:1px solid rgba(98,212,117,.09)!important;
  border-radius:0!important; overflow:hidden!important;
}
body.home .nph-page .nph-trust .nph-container{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr)) minmax(358px,1.9fr)!important;
  align-items:stretch!important;gap:0!important;
  width:100%!important;max-width:none!important;margin:0!important;
  padding:0 0 0 max(24px,calc((100vw - 1500px)/2))!important;
}
body.home .nph-page .nph-trust-item{
  box-sizing:border-box!important;min-width:0!important;min-height:94px!important;
  display:flex!important;align-items:center!important;gap:11px!important;
  margin:0!important;padding:12px 15px!important;
  border:0!important;border-radius:0!important;
  border-right:1px solid rgba(160,224,171,.12)!important;
  background:transparent!important;box-shadow:none!important;
  transform:none!important;color:#f0fff2!important;
}
body.home .nph-page .nph-trust-item + .nph-trust-item{
  border-left:0!important;border-top:0!important;
}
body.home .nph-page .nph-trust-item:hover{transform:none!important;box-shadow:none!important;}
body.home .nph-page .nph-trust-item .nph-iconbox{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:43px!important;height:43px!important;flex:0 0 43px!important;
  background:rgba(42,147,62,.10)!important;
  border:1px solid rgba(103,212,117,.27)!important;border-radius:50%!important;
  color:#5ae175!important;
}
body.home .nph-page .nph-trust-item .nph-iconbox svg{width:22px!important;height:22px!important;}
body.home .nph-page .nph-trust-copy{min-width:0!important;}
body.home .nph-page .nph-trust-item .nph-trust-label,
body.home .nph-page .nph-trust-item strong{
  display:block!important;font-size:13px!important;line-height:1.25!important;
  font-weight:800!important;color:#f3fff4!important;white-space:normal!important;
}
body.home .nph-page .nph-trust-item .nph-trust-copy span{
  display:block!important;font-size:10.5px!important;line-height:1.4!important;
  color:#b6cbbc!important;overflow-wrap:normal!important;
}
/* Last column is the full-width help strip right up to the viewport edge. */
body.home .nph-page .nph-trust-item-help{
  min-width:0!important;grid-column:5!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:13px!important;align-items:center!important;
  padding:12px max(25px,calc((100vw - 1580px)/2)) 12px 22px!important;
  border:1px solid rgba(103,212,117,.22)!important;
  border-right:0!important;border-radius:18px 0 0 18px!important;
  background:rgba(3,22,12,.58)!important;
}
body.home .nph-page .nph-trust-item-help .nph-trust-help-main{
  display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;
  color:#f1fff3!important;text-decoration:none!important;
}
body.home .nph-page .nph-trust-item-help .nph-trust-copy strong{
  font-size:13.5px!important;line-height:1.32!important;
}
body.home .nph-page .nph-trust-item-help .nph-trust-copy span{
  font-size:10.8px!important;line-height:1.42!important;
}
body.home .nph-page .nph-trust-help-links{
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:7px!important;
  min-width:max-content!important;padding-left:15px!important;
  border-left:1px solid rgba(255,255,255,.13)!important;
}
body.home .nph-page .nph-trust-help-links a{
  display:block!important;font-size:11.6px!important;line-height:1.25!important;
  color:#e9f9ed!important;font-weight:700!important;
  text-decoration:none!important;white-space:nowrap!important;
}
body.home .nph-page .nph-trust-help-links a:hover{color:#73e787!important;}

@media (min-width:1101px) and (max-width:1360px){
  body.home .nph-hero--agro .nph-hero-copy{width:51%!important;}
  body.home .nph-hero--agro h1{font-size:clamp(41px,4.1vw,56px)!important;}
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(330px,2fr)!important;
    padding-left:18px!important;
  }
  body.home .nph-page .nph-trust-item{padding:10px 9px!important;gap:8px!important;}
  body.home .nph-page .nph-trust-item-help{padding-left:12px!important;padding-right:16px!important;gap:8px!important;}
  body.home .nph-page .nph-trust-item .nph-iconbox{width:38px!important;height:38px!important;flex-basis:38px!important;}
  body.home .nph-page .nph-trust-help-links{padding-left:8px!important;}
  body.home .nph-page .nph-trust-help-links a{font-size:10.5px!important;}
}

/* On tablet/mobile the SAME section background flows behind text; photo continues below the CTAs. */
@media (max-width:1100px){
  body.home .nph-page .nph-hero--agro{
    min-height:0!important;
    padding:34px 0 340px!important;
    background-image:linear-gradient(180deg,#06150e 0%,#071811 63%,#071a10 100%)!important;
    background-position:center!important;
  }
  body.home .nph-page .nph-hero--agro::before{
    z-index:0!important;inset:auto 0 0!important;height:330px!important;
    background:
      linear-gradient(180deg,#071811 0%,rgba(7,24,17,.05) 22%,rgba(7,24,17,0) 68%,#071710 100%),
      url('../images/hero-stage-beta33.webp') center center / cover no-repeat!important;
    opacity:1!important;
  }
  body.home .nph-hero--agro .nph-hero-grid{
    width:min(780px,calc(100% - 38px))!important;max-width:780px!important;
    min-height:0!important;display:block!important;margin:auto!important;
  }
  body.home .nph-hero--agro .nph-hero-copy{
    width:100%!important;max-width:780px!important;
    padding:0!important;
  }
  body.home .nph-hero--agro h1{font-size:clamp(38px,5.6vw,55px)!important;}
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:0!important;row-gap:0!important;
    padding:10px 20px!important;
  }
  body.home .nph-page .nph-trust-item{min-height:75px!important;border-bottom:1px solid rgba(255,255,255,.08)!important;}
  body.home .nph-page .nph-trust-item-help{
    grid-column:1 / -1!important;min-height:86px!important;
    border:1px solid rgba(103,212,117,.22)!important;border-radius:15px!important;
    padding:12px 18px!important;
  }
}
@media (max-width:600px){
  body.home .nph-page .nph-hero--agro{padding:28px 0 250px!important;}
  body.home .nph-page .nph-hero--agro::before{height:240px!important;}
  body.home .nph-hero--agro .nph-hero-grid{width:calc(100% - 28px)!important;}
  body.home .nph-hero--agro h1{font-size:clamp(32px,8.5vw,40px)!important;letter-spacing:-1.2px!important;}
  body.home .nph-hero--agro .nph-hero-lead{font-size:14px!important;margin:16px 0 20px!important;}
  body.home .nph-page .nph-trust .nph-container{grid-template-columns:1fr!important;padding:8px 14px!important;}
  body.home .nph-page .nph-trust-item{min-height:62px!important;border-right:0!important;padding:8px 10px!important;}
  body.home .nph-page .nph-trust-item-help{grid-column:1!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:14px!important;}
  body.home .nph-page .nph-trust-help-links{
    border-left:0!important;border-top:1px solid rgba(255,255,255,.12)!important;
    padding:9px 0 0!important;
  }
}
@media (prefers-reduced-motion:reduce){body.home .nph-hero--agro .nph-btn{transition:none!important;}}
