
/* =========================================================
   BIOWOOD GREEN INDUSTRIAL CONCEPT
   Nuovo layer stilistico: non modifica i file CSS originali.
   Palette: verde tecnico, verde salvia, bianco caldo, accenti arancio.
   ========================================================= */
:root{
  --bw-green-950:#06241b;
  --bw-green-900:#0b3528;
  --bw-green-800:#124735;
  --bw-green-700:#176044;
  --bw-green-600:#25845b;
  --bw-green-500:#42a56f;
  --bw-green-100:#e9f4ec;
  --bw-green-050:#f5faf6;
  --bw-sage:#dce8dc;
  --bw-sand:#f7f4ed;
  --bw-orange:#f47a21;
  --bw-orange-dark:#cf5f10;
  --bw-ink:#1c2721;
  --bw-muted:#66746c;
  --bw-line:#d9e3db;
  --bw-white:#ffffff;
  --bw-shadow:0 18px 50px rgba(6,36,27,.13);
  --bw-shadow-soft:0 10px 30px rgba(6,36,27,.09);
  --bw-radius-xl:30px;
  --bw-radius-lg:22px;
  --bw-radius-md:14px;
  --bw-max:1180px;
}

html{scroll-behavior:smooth;}
body.bw-redesign{
  margin:0;
  color:var(--bw-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(66,165,111,.13), transparent 28rem),
    linear-gradient(180deg,#fbfcfa 0%,#f4f8f4 42%,#eff5ef 100%);
  font-family:'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight:400;
  letter-spacing:.01em;
  line-height:1.7;
  text-rendering:optimizeLegibility;
}
body.bw-redesign::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background-image:
    linear-gradient(rgba(11,53,40,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,53,40,.035) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.6),transparent 75%);
}
.bw-redesign img{max-width:100%;}
.bw-redesign a{color:inherit;}
.bw-redesign p{color:#33423a; font-size:1.035rem; line-height:1.78;}
.bw-redesign strong{font-weight:750; color:var(--bw-green-900);}
.bw-redesign ::selection{background:rgba(244,122,33,.24);}

/* Top strip */
.bw-top-strip{
  background:linear-gradient(90deg,var(--bw-green-950),var(--bw-green-800));
  color:#e8f3eb;
  font-size:.82rem;
  font-weight:650;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:.55rem 1rem;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.bw-top-strip__inner{
  max-width:var(--bw-max);
  width:calc(100% - 32px);
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:1.25rem;
  align-items:center;
}
.bw-top-strip__pill{
  color:#fff;
  background:rgba(244,122,33,.16);
  border:1px solid rgba(244,122,33,.46);
  border-radius:999px;
  padding:.25rem .7rem;
  white-space:nowrap;
}

/* Header */
.bw-redesign .bio-header{
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(18,71,53,.12);
  box-shadow:0 8px 26px rgba(6,36,27,.08);
}
.bw-redesign .bio-header > div{
  max-width:var(--bw-max)!important;
  width:calc(100% - 32px)!important;
  min-height:106px;
  margin:auto;
  padding:1.05rem 0!important;
  gap:2rem!important;
  justify-content:space-between;
  align-items:center;
}
.bw-redesign .bio-header img[src*="logo"]{
  max-height:82px!important;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 14px rgba(6,36,27,.08));
}
.bw-redesign .bio-header-promo{
  margin-left:0!important;
  padding-top:0!important;
  justify-content:flex-end;
  align-items:center;
  flex:1;
}
.bw-redesign .bio-header-promo img{
  max-height:88px!important;
  border-radius:18px;
  object-fit:cover;
  box-shadow:var(--bw-shadow-soft);
  border:1px solid rgba(18,71,53,.12);
}

/* Navigation */
.bw-redesign .menu{
  background:linear-gradient(90deg,var(--bw-green-900),var(--bw-green-700))!important;
  color:white;
  box-shadow:0 14px 32px rgba(6,36,27,.2);
  position:sticky;
  top:0;
  z-index:40;
}
.bw-redesign .menu > div{
  max-width:var(--bw-max)!important;
  width:calc(100% - 32px)!important;
  padding:0!important;
  gap:0!important;
  justify-content:center;
  flex-wrap:wrap;
}
.bw-redesign .menu a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 .78rem;
  color:#f4fbf5!important;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
  text-decoration:none!important;
  border-left:1px solid rgba(255,255,255,.08);
  transition:background .22s ease,color .22s ease, transform .22s ease;
}
.bw-redesign .menu a:hover,
.bw-redesign .menu a.bw-active{
  background:rgba(244,122,33,.18);
  color:#fff!important;
  transform:translateY(-1px);
}
.bw-redesign .menu a.bw-active{box-shadow:inset 0 -3px 0 var(--bw-orange);}

/* Hero */
.bw-redesign .banner,
.bw-redesign .bw-home-hero{
  position:relative;
  overflow:hidden;
  background:var(--bw-green-900);
  isolation:isolate;
}
.bw-redesign .banner{min-height:420px;}
.bw-redesign .bw-home-hero > div,
.bw-redesign .banner > img{
  height:500px!important;
  min-height:420px;
  width:100%;
  object-fit:cover!important;
  object-position:center;
  filter:saturate(.96) contrast(1.02);
}
.bw-redesign .home-page .bw-home-hero > div{height:610px!important;}
.bw-redesign .banner::after,
.bw-redesign .bw-home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(6,36,27,.88) 0%,rgba(6,36,27,.68) 38%,rgba(6,36,27,.16) 100%),
    linear-gradient(180deg,rgba(6,36,27,.08),rgba(6,36,27,.42));
}
.bw-hero-copy{
  position:absolute;
  z-index:3;
  left:max(2rem,calc((100vw - var(--bw-max))/2));
  bottom:clamp(2.5rem,7vw,6.5rem);
  width:min(690px,calc(100% - 4rem));
  color:white;
}
.bw-hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:#eaf7ed;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:.42rem .82rem;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.105em;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
}
.bw-hero-kicker::before{
  content:"";
  width:.58rem;
  height:.58rem;
  border-radius:999px;
  background:var(--bw-orange);
  box-shadow:0 0 0 7px rgba(244,122,33,.18);
}
.bw-hero-title{
  margin:.95rem 0 .65rem;
  font-size:clamp(2.35rem,5vw,4.85rem);
  line-height:.96;
  font-weight:900;
  letter-spacing:-.055em;
  text-wrap:balance;
  color:#fff;
}
.bw-hero-text{
  margin:0;
  max-width:620px;
  color:rgba(255,255,255,.88)!important;
  font-size:clamp(1rem,1.45vw,1.22rem)!important;
  line-height:1.62!important;
}
.bw-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  margin-top:1.45rem;
}
.bw-btn,
.bw-redesign button,
.bw-redesign a[class*="bg-blue"],
.bw-redesign .bg-blue-500,
.bw-redesign .bg-blue-700{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:44px;
  padding:.75rem 1.18rem!important;
  background:linear-gradient(135deg,var(--bw-orange),var(--bw-orange-dark))!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  font-size:.88rem!important;
  font-weight:850!important;
  letter-spacing:.02em;
  text-decoration:none!important;
  box-shadow:0 12px 24px rgba(244,122,33,.24);
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.bw-btn:hover,
.bw-redesign button:hover,
.bw-redesign a[class*="bg-blue"]:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(244,122,33,.3);
}
.bw-btn--ghost{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.3)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px);
}

/* Trust strip */
.bw-proof-strip{
  margin:-32px auto 42px;
  max-width:var(--bw-max);
  width:calc(100% - 32px);
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  overflow:hidden;
  border-radius:22px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(18,71,53,.13);
  box-shadow:var(--bw-shadow);
}
.bw-proof-item{
  padding:1.15rem 1.1rem;
  border-right:1px solid var(--bw-line);
}
.bw-proof-item:last-child{border-right:0;}
.bw-proof-label{
  display:block;
  color:var(--bw-orange-dark);
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bw-proof-value{
  display:block;
  margin-top:.24rem;
  color:var(--bw-green-950);
  font-size:1rem;
  font-weight:800;
}

/* Layout */
.bw-redesign .w-\[1200px\]{
  max-width:var(--bw-max)!important;
  width:calc(100% - 32px)!important;
}
.bw-redesign .main-layout,
.bw-redesign .bw-layout{
  align-items:flex-start!important;
  gap:2.1rem!important;
  margin-top:3.5rem!important;
  margin-bottom:3.5rem!important;
}
.bw-content,
.bw-main-col{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(18,71,53,.12);
  box-shadow:var(--bw-shadow-soft);
  border-radius:var(--bw-radius-xl);
  padding:clamp(1.35rem,3vw,2.4rem)!important;
}
.bw-main-col > h1:first-child,
.bw-content h1:first-child{
  position:relative;
  margin-top:0!important;
}
.bw-redesign h1,
.bw-redesign h2,
.bw-redesign h3,
.bw-redesign h4{
  color:var(--bw-green-950);
  font-weight:900;
  letter-spacing:-.028em;
  line-height:1.12;
}
.bw-redesign h1{
  font-size:clamp(2.05rem,4vw,3.55rem);
  margin:0 0 1.2rem;
}
.bw-redesign h2{
  font-size:clamp(1.55rem,2.6vw,2.35rem);
  margin:2.1rem 0 .85rem;
}
.bw-redesign h3{
  font-size:1.25rem;
  margin:1.55rem 0 .55rem;
}
.bw-redesign h2::after,
.bw-redesign h1::after{
  content:"";
  display:block;
  width:74px;
  height:4px;
  margin:.72rem 0 0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--bw-orange),var(--bw-green-500));
}
.bw-redesign .bw-hero-title::after{display:none;}
.bw-redesign .bw-content img,
.bw-redesign .bw-main-col img,
.bw-redesign .usato-page img{
  border-radius:20px;
  box-shadow:0 14px 34px rgba(6,36,27,.13);
  border:1px solid rgba(18,71,53,.11);
  margin:1rem 0;
}
.bw-redesign ul{
  list-style:none!important;
  padding-left:0!important;
  margin:1rem 0 1.5rem!important;
}
.bw-redesign li{
  position:relative;
  padding:.46rem 0 .46rem 1.75rem;
  color:#33423a;
  line-height:1.6;
}
.bw-redesign li::before{
  content:"";
  position:absolute;
  left:.2rem;
  top:1.08rem;
  width:.58rem;
  height:.58rem;
  border-radius:999px;
  background:linear-gradient(135deg,var(--bw-green-600),var(--bw-orange));
  box-shadow:0 0 0 5px rgba(37,132,91,.12);
}
.bw-redesign .bg-gray-100,
.bw-redesign .bg-gray-200{
  background:linear-gradient(180deg,var(--bw-green-050),#fff)!important;
  border:1px solid rgba(18,71,53,.12)!important;
}

/* Homepage service cards */
.bw-service-card{
  overflow:hidden;
  border-radius:var(--bw-radius-xl);
  background:#fff;
  border:1px solid rgba(18,71,53,.12);
  box-shadow:var(--bw-shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}
.bw-service-card:hover{transform:translateY(-4px); box-shadow:var(--bw-shadow);}
.bw-service-card > div{min-height:100%;}
.bw-service-card img{
  height:100%!important;
  min-height:315px;
  object-fit:cover;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  border:0!important;
}
.bw-service-card h2{margin-top:0;}
.bw-service-card h2::after{width:56px;}
.bw-service-card [class*="basis-3/5"]{
  padding:clamp(1.4rem,3vw,2.5rem)!important;
}
.bw-home-intro{
  position:relative;
  background:linear-gradient(135deg,#fff,var(--bw-green-050));
  border:1px solid rgba(18,71,53,.12);
  border-radius:var(--bw-radius-xl);
  box-shadow:var(--bw-shadow-soft);
  padding:clamp(1.35rem,3vw,2.2rem);
}
.bw-home-intro::before{
  content:"";
  position:absolute;
  right:1.4rem;
  top:1.4rem;
  width:78px;
  height:78px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(37,132,91,.13),rgba(244,122,33,.16));
}

/* Product and grid cards */
.bw-redesign .grid > .bg-white,
.bw-redesign .grid > div,
.bw-product-card{
  border:1px solid rgba(18,71,53,.13)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff,var(--bw-green-050))!important;
  box-shadow:var(--bw-shadow-soft)!important;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}
.bw-redesign .grid > div:hover{transform:translateY(-4px); box-shadow:var(--bw-shadow)!important;}
.bw-redesign .grid img{
  background:linear-gradient(180deg,#eef6ef,#fff)!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  margin:0!important;
}
.bw-redesign .grid h3 a{
  color:var(--bw-green-950)!important;
  text-decoration:none!important;
}
.bw-redesign .grid h3 a:hover{color:var(--bw-orange-dark)!important;}

/* Forms / sidebar */
.bw-sidebar,
.bw-redesign div:has(> form#form-contatti){
  background:linear-gradient(180deg,var(--bw-green-900),var(--bw-green-800))!important;
  color:#fff;
  border-radius:var(--bw-radius-xl)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:var(--bw-shadow)!important;
  padding:1.45rem!important;
  position:sticky;
  top:84px;
}
.bw-sidebar p,
.bw-redesign div:has(> form#form-contatti) p{color:#eef7f0!important; font-weight:650;}
.bw-redesign label{color:#13271e!important; font-weight:750;}
.bw-redesign div:has(> form#form-contatti) label{color:#f1fbf3!important;}
.bw-redesign input,
.bw-redesign textarea,
.bw-redesign select{
  border:1px solid rgba(18,71,53,.18)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--bw-ink)!important;
  min-height:45px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.bw-redesign input:focus,
.bw-redesign textarea:focus{
  outline:3px solid rgba(244,122,33,.24)!important;
  border-color:var(--bw-orange)!important;
}
.bw-redesign input[type="checkbox"]{min-height:auto; width:1rem; height:1rem; accent-color:var(--bw-orange);}
.bw-redesign form a{color:#fff!important; text-decoration:underline!important;}

/* Footer */
.bw-redesign body > div.flex.items-center.justify-center.bg-gray-600,
.bw-redesign .bg-gray-600{
  background:
    radial-gradient(circle at 80% 20%,rgba(244,122,33,.12),transparent 18rem),
    linear-gradient(135deg,var(--bw-green-950),#0d2d23 58%,#061a14)!important;
  color:#dbe9de!important;
  margin-top:5rem!important;
  padding:3.2rem 1rem!important;
}
.bw-redesign .bg-gray-600 > div{
  max-width:var(--bw-max)!important;
  width:calc(100% - 32px)!important;
  gap:2rem!important;
}
.bw-redesign .bg-gray-600 p,
.bw-redesign .bg-gray-600 a,
.bw-redesign .bg-gray-600 strong{color:#eaf4ed!important;}
.bw-redesign .bg-gray-600 strong{font-size:1.15rem;}
.bw-redesign .bg-gray-600 img{
  background:white;
  padding:.35rem;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
}

/* Contact/privacy pages */
.bw-redesign .contatti-page .bw-content,
.bw-redesign .privacy-policy-page .bw-content{
  max-width:900px;
  margin:auto;
}

/* Mobile */
@media (max-width:1024px){
  .bw-redesign .bio-header > div{flex-direction:column; text-align:center;}
  .bw-redesign .bio-header-promo{justify-content:center;}
  .bw-redesign .menu{position:relative;}
  .bw-redesign .menu a{min-height:46px; font-size:.74rem; padding:0 .65rem;}
  .bw-proof-strip{grid-template-columns:repeat(3,1fr);}
  .bw-sidebar,.bw-redesign div:has(> form#form-contatti){position:relative; top:auto;}
}
@media (max-width:767px){
  .bw-top-strip__inner{flex-direction:column; align-items:flex-start; gap:.5rem;}
  .bw-redesign .bio-header img[src*="logo"]{max-height:70px!important;}
  .bw-redesign .bio-header-promo img{max-height:64px!important;}
  .bw-redesign .bw-home-hero > div,
  .bw-redesign .banner > img,
  .bw-redesign .home-page .bw-home-hero > div{height:470px!important; min-height:470px;}
  .bw-hero-copy{left:1.1rem; bottom:2rem; width:calc(100% - 2.2rem);}
  .bw-hero-title{font-size:2.2rem;}
  .bw-proof-strip{grid-template-columns:1fr; margin-top:-18px;}
  .bw-proof-item{border-right:0; border-bottom:1px solid var(--bw-line);}
  .bw-proof-item:last-child{border-bottom:0;}
  .bw-content,.bw-main-col{border-radius:22px; padding:1.15rem!important;}
  .bw-redesign .main-layout,.bw-redesign .bw-layout{gap:1.1rem!important; margin-top:2rem!important;}
  .bw-redesign .bg-gray-600 > div{flex-direction:column!important;}
  .bw-redesign .bg-gray-600 [class*="basis"]{width:100%;}
}

/* Fallback hero for pages without a visual banner */
.bw-simple-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(4.2rem,8vw,7rem) 1rem clamp(5rem,9vw,8rem);
  background:
    radial-gradient(circle at 80% 15%, rgba(244,122,33,.16), transparent 20rem),
    radial-gradient(circle at 15% 0%, rgba(66,165,111,.24), transparent 24rem),
    linear-gradient(135deg,var(--bw-green-950),var(--bw-green-800));
  color:#fff;
  isolation:isolate;
}
.bw-simple-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:42px 42px;
  opacity:.62;
}
.bw-simple-hero .bw-hero-copy{
  position:relative;
  left:auto;
  bottom:auto;
  width:min(760px,100%);
  max-width:var(--bw-max);
  margin:auto;
}
.bw-simple-hero + .bw-proof-strip{margin-top:-32px;}

/* === Hotfix 2026-06-05: menu readability === */
.bw-redesign .menu{
  background:#ffffff!important;
  border-top:1px solid rgba(18,71,53,.10)!important;
  border-bottom:1px solid rgba(18,71,53,.10)!important;
  box-shadow:0 10px 26px rgba(6,36,27,.08)!important;
}
.bw-redesign .menu > div{
  background:#ffffff!important;
  align-items:stretch!important;
}
.bw-redesign .menu > div > div{
  display:flex!important;
  align-items:stretch!important;
}
.bw-redesign .menu a{
  width:100%!important;
  min-height:64px!important;
  padding:0 1rem!important;
  color:var(--bw-green-900)!important;
  background:transparent!important;
  font-size:.92rem!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
  opacity:1!important;
  text-shadow:none!important;
  border-left:1px solid rgba(18,71,53,.08)!important;
}
.bw-redesign .menu a:hover{
  background:rgba(123,164,87,.14)!important;
  color:var(--bw-green-900)!important;
}
.bw-redesign .menu a.bw-active{
  background:var(--bw-green-700)!important;
  color:#ffffff!important;
  box-shadow:inset 0 -4px 0 var(--bw-orange)!important;
}
.bw-redesign .menu a:focus-visible{
  outline:3px solid rgba(244,122,33,.45)!important;
  outline-offset:-3px!important;
}
@media (max-width: 1200px){
  .bw-redesign .menu a{
    font-size:.84rem!important;
    padding:0 .8rem!important;
  }
}
@media (max-width: 991px){
  .bw-redesign .menu{
    background:#ffffff!important;
  }
  .bw-redesign .menu a{
    min-height:48px!important;
    justify-content:flex-start!important;
    padding:.75rem 1rem!important;
    font-size:.88rem!important;
    border-left:none!important;
    border-top:1px solid rgba(18,71,53,.08)!important;
  }
}


/* === Hotfix 2026-06-05 v3: desktop menu one-line order/readability === */
@media (min-width: 992px){
  .bw-redesign .menu{
    overflow:visible!important;
  }
  .bw-redesign .menu > div{
    max-width:1640px!important;
    width:calc(100% - 28px)!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:0!important;
  }
  .bw-redesign .menu > div > div{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
  }
  .bw-redesign .menu a{
    min-height:58px!important;
    padding:0 .62rem!important;
    font-size:.76rem!important;
    letter-spacing:.012em!important;
    white-space:nowrap!important;
    line-height:1.05!important;
  }
}

@media (min-width: 1200px){
  .bw-redesign .menu a{
    padding:0 .76rem!important;
    font-size:.80rem!important;
  }
}

@media (min-width: 1500px){
  .bw-redesign .menu a{
    padding:0 .95rem!important;
    font-size:.84rem!important;
  }
}

@media (min-width: 992px) and (max-width: 1180px){
  .bw-redesign .menu{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .bw-redesign .menu > div{
    justify-content:flex-start!important;
    width:max-content!important;
    min-width:100%!important;
  }
}


/* === Hotfix 2026-06-05 v4: home header brand === */
.bw-page-home .bw-hero-kicker{display:none!important;}
.bw-page-home .bio-header > div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1.5rem!important;
}
.bw-page-home .bio-header .flex.flex-wrap.sm\:flex-nowrap.w-full.md\:w-auto.items-center{
  flex:0 0 auto!important;
}
.bw-page-home .bw-header-brand{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-width:220px;
}
.bw-page-home .bw-header-brand span{
  display:inline-block;
  color:var(--bw-green-900);
  font-weight:900;
  font-size:clamp(1.2rem,2.1vw,2rem);
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:.4rem 1rem;
  border-top:2px solid rgba(18,71,53,.16);
  border-bottom:2px solid rgba(18,71,53,.16);
}
.bw-page-home .bio-header-promo{
  margin-left:0!important;
  flex:0 0 auto!important;
}
@media (max-width: 991px){
  .bw-page-home .bw-header-brand{order:3; width:100%; margin-top:.35rem;}
  .bw-page-home .bw-header-brand span{font-size:1rem; letter-spacing:.1em;}
}


/* === Hotfix 2026-06-05 v5: premium home header + stronger home hero === */
.bw-page-home .bio-header{
  background:linear-gradient(180deg,#f8faf7 0%, #f1f6f1 100%)!important;
}
.bw-page-home .bio-header > div{
  display:grid!important;
  grid-template-columns:minmax(150px,230px) minmax(280px,1fr) minmax(330px,430px)!important;
  align-items:center!important;
  gap:1.5rem 2rem!important;
  padding-top:1.2rem!important;
  padding-bottom:1.2rem!important;
}
.bw-page-home .bio-header .flex.flex-wrap.sm\:flex-nowrap.w-full.md\:w-auto.items-center{
  width:auto!important;
  justify-content:flex-start!important;
}
.bw-page-home .bio-header .w-full.sm\:w-auto img{
  max-height:106px!important;
  margin:0!important;
}
.bw-page-home .bw-header-brand{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 .35rem;
}
.bw-page-home .bw-header-brand__inner{
  position:relative;
  width:100%;
  min-height:104px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:1rem 1.4rem;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(237,245,239,.98));
  border:1px solid rgba(18,71,53,.12);
  box-shadow:0 18px 36px rgba(6,36,27,.08);
  overflow:hidden;
}
.bw-page-home .bw-header-brand__inner::before,
.bw-page-home .bw-header-brand__inner::after{
  content:"";
  position:absolute;
  top:50%;
  width:56px;
  height:2px;
  background:linear-gradient(90deg,rgba(244,122,33,0),rgba(244,122,33,.9));
}
.bw-page-home .bw-header-brand__inner::before{
  left:1rem;
}
.bw-page-home .bw-header-brand__inner::after{
  right:1rem;
  transform:scaleX(-1);
}
.bw-page-home .bw-header-brand strong{
  display:block;
  margin:0;
  color:var(--bw-green-900);
  font-size:clamp(1.45rem,2.15vw,2.2rem);
  font-weight:950;
  letter-spacing:.18em;
  line-height:1.05;
  text-transform:uppercase;
}
.bw-page-home .bw-header-brand small{
  display:block;
  margin-top:.5rem;
  color:rgba(18,71,53,.78);
  font-size:clamp(.64rem,.82vw,.78rem);
  font-weight:800;
  letter-spacing:.08em;
  line-height:1.4;
  text-transform:uppercase;
}
.bw-page-home .bio-header-promo{
  margin-left:0!important;
  padding-top:0!important;
  justify-content:flex-end!important;
}
.bw-page-home .bio-header-promo img{
  max-height:118px!important;
  width:auto!important;
}
.bw-page-home #default-carousel{
  position:relative;
  background:var(--bw-green-950);
}
.bw-page-home #default-carousel > .relative.h-\[400px\].md\:h-\[400px\].overflow-hidden.rounded-lg{
  height:clamp(430px,40vw,560px)!important;
  border-radius:0!important;
}
.bw-page-home #default-carousel .bw-hero-copy{
  width:min(760px,calc(100% - 3rem));
  padding:1.35rem 1.35rem 1.45rem;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(6,36,27,.78),rgba(6,36,27,.56));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 48px rgba(0,0,0,.22);
  backdrop-filter:blur(8px);
}
.bw-page-home #default-carousel .bw-hero-copy::before{
  content:"";
  position:absolute;
  left:1.35rem;
  top:1rem;
  width:76px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--bw-orange),#ffbe79);
}
.bw-page-home #default-carousel .bw-hero-title{
  margin-top:1.15rem;
  font-size:clamp(2.75rem,5.1vw,5.35rem);
}
.bw-page-home #default-carousel .bw-hero-text{
  max-width:58ch;
}
.bw-page-home .bw-proof-strip{
  margin-top:-42px;
  border-radius:24px;
  box-shadow:0 22px 44px rgba(6,36,27,.12);
}
.bw-page-home .bw-home-intro{
  position:relative;
  padding-left:1.35rem;
}
.bw-page-home .bw-home-intro::before{
  width:5px;
  background:linear-gradient(180deg,var(--bw-orange),var(--bw-green-600));
  border-radius:999px;
}
@media (max-width: 1199px){
  .bw-page-home .bio-header > div{
    grid-template-columns:minmax(140px,200px) minmax(240px,1fr) minmax(260px,360px)!important;
    gap:1.1rem!important;
  }
  .bw-page-home .bw-header-brand strong{
    letter-spacing:.13em;
  }
}
@media (max-width: 991px){
  .bw-page-home .bio-header > div{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:.85rem!important;
  }
  .bw-page-home .bw-header-brand{
    order:2;
    width:100%;
    padding:0;
  }
  .bw-page-home .bw-header-brand__inner{
    min-height:auto;
    padding:.95rem 1rem;
  }
  .bw-page-home .bw-header-brand__inner::before,
  .bw-page-home .bw-header-brand__inner::after{
    display:none;
  }
  .bw-page-home .bio-header-promo{
    order:3;
    width:100%;
    justify-content:center!important;
  }
  .bw-page-home .bio-header-promo img{
    max-height:82px!important;
  }
  .bw-page-home #default-carousel .bw-hero-copy{
    padding:1.1rem 1rem 1.2rem;
  }
  .bw-page-home #default-carousel .bw-hero-title{
    font-size:clamp(2rem,9vw,3rem);
  }
}


/* === Hotfix 2026-06-05 v6: home hero cleanup === */
.bw-page-home #default-carousel .bw-hero-copy{
  width:min(650px,calc(100% - 3rem))!important;
  padding:1.05rem 1.15rem 1.15rem!important;
  bottom:1.75rem!important;
}
.bw-page-home #default-carousel .bw-hero-copy::before{
  display:none!important;
}
.bw-page-home #default-carousel .bw-hero-text{
  margin-top:0!important;
}
.bw-page-home .bw-proof-strip{
  margin:18px auto 42px!important;
  position:relative;
  z-index:8;
}
@media (max-width: 991px){
  .bw-page-home #default-carousel .bw-hero-copy{
    bottom:1rem!important;
    width:calc(100% - 2rem)!important;
  }
  .bw-page-home .bw-proof-strip{
    margin:14px auto 28px!important;
  }
}


/* === Hotfix 2026-06-05 v7: remove green overlay box on home hero === */
.bw-page-home #default-carousel .bw-hero-copy{
  display:none !important;
}
.bw-page-home .bw-proof-strip{
  margin:22px auto 42px !important;
}
@media (max-width: 991px){
  .bw-page-home .bw-proof-strip{
    margin:16px auto 28px !important;
  }
}


/* === Hotfix 2026-06-05 v8: internal anchor for Shredders products === */
html{scroll-behavior:smooth;}
#prodotti{scroll-margin-top:96px;}

/* === Hotfix 2026-06-05 v9: align hero copy on Intermediazione, Biomasse and Usato === */
.bw-page-rifiuti-pericolosi-categoria-8 .banner .bw-hero-copy,
.bw-page-commercio-biomasse .banner .bw-hero-copy,
.bw-page-usato .banner .bw-hero-copy{
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
}
.bw-page-rifiuti-pericolosi-categoria-8 .banner .bw-hero-title,
.bw-page-commercio-biomasse .banner .bw-hero-title{
  font-size:clamp(2.15rem,3.35vw,3.35rem)!important;
  line-height:1.03!important;
  letter-spacing:-.035em!important;
}
@media (max-width:767px){
  .bw-page-rifiuti-pericolosi-categoria-8 .banner .bw-hero-copy,
  .bw-page-commercio-biomasse .banner .bw-hero-copy,
  .bw-page-usato .banner .bw-hero-copy{
    top:auto!important;
    bottom:2rem!important;
    transform:none!important;
  }
  .bw-page-rifiuti-pericolosi-categoria-8 .banner .bw-hero-title,
  .bw-page-commercio-biomasse .banner .bw-hero-title{
    font-size:2rem!important;
    line-height:1.08!important;
  }
}


/* === Hotfix 2026-06-05 v10: premium header replicated on every page === */
.bw-redesign .bio-header{
  background:linear-gradient(180deg,#f8faf7 0%, #f1f6f1 100%)!important;
  border-bottom:1px solid rgba(18,71,53,.09)!important;
}
.bw-redesign .bio-header > div{
  max-width:var(--bw-max)!important;
  width:calc(100% - 32px)!important;
  display:grid!important;
  grid-template-columns:minmax(150px,230px) minmax(280px,1fr) minmax(330px,430px)!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1.5rem 2rem!important;
  padding-top:1.2rem!important;
  padding-bottom:1.2rem!important;
}
.bw-redesign .bio-header .flex.flex-wrap.sm\:flex-nowrap.w-full.md\:w-auto.items-center{
  width:auto!important;
  justify-content:flex-start!important;
  flex:0 0 auto!important;
}
.bw-redesign .bio-header .w-full.sm\:w-auto img,
.bw-redesign .bio-header img[src*="logo_biowood"]{
  max-height:106px!important;
  margin:0!important;
}
.bw-redesign .bw-header-brand{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 .35rem;
  min-width:0;
}
.bw-redesign .bw-header-brand__inner{
  position:relative;
  width:100%;
  min-height:104px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:1rem 1.4rem;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(237,245,239,.98));
  border:1px solid rgba(18,71,53,.12);
  box-shadow:0 18px 36px rgba(6,36,27,.08);
  overflow:hidden;
}
.bw-redesign .bw-header-brand__inner::before,
.bw-redesign .bw-header-brand__inner::after{
  content:"";
  position:absolute;
  top:50%;
  width:56px;
  height:2px;
  background:linear-gradient(90deg,rgba(244,122,33,0),rgba(244,122,33,.9));
}
.bw-redesign .bw-header-brand__inner::before{left:1rem;}
.bw-redesign .bw-header-brand__inner::after{right:1rem; transform:scaleX(-1);}
.bw-redesign .bw-header-brand strong{
  display:block;
  margin:0;
  color:var(--bw-green-900);
  font-size:clamp(1.45rem,2.15vw,2.2rem);
  font-weight:950;
  letter-spacing:.18em;
  line-height:1.05;
  text-transform:uppercase;
}
.bw-redesign .bw-header-brand small{
  display:block;
  margin-top:.5rem;
  color:rgba(18,71,53,.78);
  font-size:clamp(.64rem,.82vw,.78rem);
  font-weight:800;
  letter-spacing:.08em;
  line-height:1.4;
  text-transform:uppercase;
}
.bw-redesign .bio-header-promo{
  margin-left:0!important;
  padding-top:0!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
}
.bw-redesign .bio-header-promo img{
  max-height:118px!important;
  width:auto!important;
  border-radius:20px!important;
}
@media (max-width: 1199px){
  .bw-redesign .bio-header > div{
    grid-template-columns:minmax(140px,200px) minmax(240px,1fr) minmax(260px,360px)!important;
    gap:1.1rem!important;
  }
  .bw-redesign .bw-header-brand strong{letter-spacing:.13em;}
}
@media (max-width: 991px){
  .bw-redesign .bio-header > div{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:.85rem!important;
  }
  .bw-redesign .bw-header-brand{
    order:2;
    width:100%;
    padding:0;
  }
  .bw-redesign .bw-header-brand__inner{
    min-height:auto;
    padding:.95rem 1rem;
  }
  .bw-redesign .bw-header-brand__inner::before,
  .bw-redesign .bw-header-brand__inner::after{display:none;}
  .bw-redesign .bio-header-promo{
    order:3;
    width:100%;
    justify-content:center!important;
  }
  .bw-redesign .bio-header-promo img{max-height:82px!important;}
}

/* === Biowood custom trituratori edge promo 2026-06-06 === */
.menu a.bw-menu-new-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(92, 184, 92, .85);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(235, 255, 235, .95), rgba(255, 255, 255, .95));
  color: #1f6b2a !important;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(92, 184, 92, .18), 0 0 18px rgba(92, 184, 92, .42);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.menu a.bw-menu-new-link:hover,
.menu a.bw-menu-new-link.bw-active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ffffff, #e9ffe8);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, .22), 0 0 26px rgba(92, 184, 92, .58);
}

.bw-menu-new-badge {
  position: absolute;
  top: -.85rem;
  right: -.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .15rem .38rem;
  border-radius: 999px;
  background: #ff8a00;
  color: #ffffff;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 138, 0, .36);
}

.bio-header-promo span {
  display: block;
}

.bw-edge-promo-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(420px, 42vw);
  min-height: 126px;
  padding: 1rem 1.15rem;
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(10, 47, 28, .94), rgba(53, 130, 58, .88));
  box-shadow: 0 14px 34px rgba(13, 59, 35, .22);
}

.bw-edge-promo-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .10));
  z-index: 1;
}

.bw-edge-promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.03);
}

.bw-edge-promo-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  max-width: 210px;
  padding: .65rem .85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: #1f6b2a;
  font-weight: 900;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.08;
  text-align: right;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

@media (max-width: 900px) {
  .bw-edge-promo-link {
    width: min(92vw, 420px);
    min-height: 110px;
    justify-content: flex-end;
  }

  .bw-edge-promo-text {
    max-width: 190px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .bio-header-promo {
    margin-left: 0 !important;
    padding-top: .75rem !important;
    width: 100%;
    justify-content: center;
  }

  .bw-edge-promo-link {
    width: min(94vw, 360px);
    min-height: 96px;
    border-radius: 18px;
  }
}
