/* Progressive frontend layer: preserves the existing green/orange identity while
   removing the rigid Foundation-era layout constraints on current browsers. */
:root {
  --susi-green-950: #163b24;
  --susi-green-800: #255c31;
  --susi-green-600: #438b4b;
  --susi-green-100: #eff8df;
  --susi-orange: #d97920;
  --susi-ink: #233029;
  --susi-muted: #68766d;
  --susi-surface: #ffffff;
  --susi-border: #dce7d8;
  --susi-shadow: 0 14px 34px rgba(28, 66, 35, .12);
  --susi-radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--susi-ink);
  background: #fbfdf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--susi-green-800); transition: color .2s ease, background-color .2s ease, transform .2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(217, 121, 32, .55); outline-offset: 3px; }

#primabarra {
  height: auto;
  min-height: 78px;
  padding: 12px 20px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--susi-border);
}
#primabarra > .row { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; }
#primabarra .columns { float: none; }
#primabarra img { display: block; max-height: 54px; width: auto; }
#primabarra .fb { color: var(--susi-green-800); }
#primabarra .fb:hover { color: var(--susi-orange); }

#barra { position: relative; z-index: 20; background: var(--susi-green-950); border-top: 0; }
#barra > .row { max-width: 1180px; }
#barra .top-bar { min-height: 52px; background: transparent; }
#barra .top-bar-section ul li > a { font-size: .82rem; letter-spacing: .035em; }
#barra .top-bar-section ul li > a:hover,
#barra .top-bar-section ul li > a:focus { background: var(--susi-green-800); }
#barra .top-bar-section .dropdown { background: var(--susi-green-800); box-shadow: var(--susi-shadow); }
#barra .top-bar-section .dropdown li a { white-space: nowrap; }
#sottobarra { height: 5px; background: linear-gradient(90deg, var(--susi-green-600), var(--susi-orange)); }

.home-page { max-width: 1320px; margin: 0 auto; overflow: hidden; }
.home-page .plant-selector-background,
.home-page .plant-selector-background-mid { padding: 0; }
.home-page .plant-selector-background { background: #f3fcdd; }
.home-page .plant-selector-background-mid { background: #dff0aa; }
.home-page .plant-selector-background > .row { display: block; }
.home-page .plant-selector-background > .row > .large-2-5 { float: left; width: 20%; }
.home-page .plant-selector-background-mid > .row { display: block; }

/* The legacy selector reserves a fixed-height middle band. Let the central
   photograph define the row height so no empty panel remains below it. */
.home-page .plant-selector-background-mid {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
}

.home-page .plant-selector-background-mid > .row,
.home-page .plant-selector-background-mid > .row > * {
  min-height: 0 !important;
}
.home-page .plant-selector-background-mid > .row > .large-2-5,
.home-page .plant-selector-background-mid > .row > .large-7-6 {
  float: left;
}
.home-page .plant-selector-background-mid .large-12.columns {
  float: left;
  width: 100%;
}
.home-page .plant-selector-background-mid .bigi img { display: block; width: 100%; height: auto; }
.home-page .plant-box { overflow: visible; background: #ccc; border: 0; margin: 0; padding: 0; }
.home-page .roll { display: inline; opacity: .4; }
.home-page .roll:hover, .home-page .roll:focus, .home-page .roll.is-active { opacity: 1; }
.home-page .t_img { display: block; width: 100%; height: auto; margin-bottom: -25px; object-fit: initial; }
.home-page .t_home { height: 25px; min-height: 25px; padding: 0; background: #afca93; font-weight: 700; line-height: 1.5; }
.home-page .t_home a { color: var(--susi-green-800); font-size: .78rem; font-weight: 800; letter-spacing: .045em; }
.home-page .bigi { display: block; width: 100%; height: auto; }
.home-page .bigi.hide { display: none; }
.home-page .home-slider { position: relative; overflow: hidden; margin: 28px 0 0; border-radius: var(--susi-radius); background: var(--susi-green-950); box-shadow: var(--susi-shadow); }
.home-page .home-slider > div { display: none; }
.home-page .home-slider > div.is-active { display: block; animation: susi-fade-in .55s ease both; }
.home-page .home-slider img { display: block; width: 100%; aspect-ratio: 2.8 / 1; object-fit: cover; }
.home-page .home-info-block-1,
.home-page .home-info-block-2,
.home-page .home-info-block-3 { height: auto; min-height: 250px; margin-top: 18px; padding: 32px 24px; border-radius: var(--susi-radius); box-shadow: var(--susi-shadow); }
.home-page .home-info-block-1 { background: #e6f6d3; }
.home-page .home-info-block-2 { background: #d7edbf; }
.home-page .home-info-block-3 { background: #c6dfb2; }
.home-page .home-info-block-1 h3,
.home-page .home-info-block-2 h3,
.home-page .home-info-block-3 h3 { color: var(--susi-green-950); letter-spacing: .06em; }
.home-page .barra-novita { margin: 28px 0; padding: 24px; background: var(--susi-surface); border: 1px solid var(--susi-border); border-radius: var(--susi-radius); box-shadow: var(--susi-shadow); }
.home-page .barra-novita table { width: 100%; background: transparent; border: 0; }
.home-page .barra-novita td, .home-page .barra-novita th { padding: 10px; }

@keyframes susi-fade-in { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 767px) {
  #primabarra { padding: 10px 14px; }
  #primabarra > .row { display: flex; margin: 0; }
  #primabarra img { max-width: min(72vw, 260px); max-height: 46px; }
  #primabarra .fb i { font-size: 2rem; }
  #barra .top-bar { min-height: 48px; }
  #barra .top-bar-section ul li > a { min-height: 46px; padding: 13px 18px; }
  #barra .top-bar-section .dropdown { box-shadow: none; }
  .home-page .plant-selector-background-mid > .row { display: block; }
  .home-page .plant-selector-background > .row > .large-2-5 { width: 100%; }
  .home-page .show-for-small-only { display: block !important; }
  .home-page .show-for-small-only .button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin: 8px 0; padding: 12px 16px; border-radius: 10px; background: var(--susi-green-800); color: #fff; font-weight: 700; }
  .home-page .home-slider { margin-top: 18px; border-radius: 10px; }
  .home-page .home-slider img { aspect-ratio: 1.65 / 1; }
  .home-page .home-info-block-1, .home-page .home-info-block-2, .home-page .home-info-block-3 { min-height: 0; margin-top: 12px; padding: 24px 18px; }
  .home-page .barra-novita { margin: 18px 0; padding: 14px; }
  .home-page .barra-novita table { font-size: .92rem; }
}


/* Modern site chrome */
.modern-submenu-toggle { display: none; }
#barra .top-bar-section .has-dropdown > a { padding-right: 15px; }
.site-header {
  position: relative;
  z-index: 50;
  background: #fff;
}
.site-header > div:first-child {
  background: linear-gradient(135deg, rgba(239,248,223,.96), rgba(255,255,255,.98));
}
#primabarra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  min-height: 82px;
  margin: 0 auto;
  padding: 14px 24px;
  background: transparent;
  border: 0;
}
#primabarra > .columns { float: none; width: auto; padding: 0; }
#primabarra > .columns:first-child { flex: 1 1 auto; }
#primabarra > .columns:nth-child(2) { display: none; }
#primabarra img { width: auto; max-width: min(70vw, 300px); max-height: 56px; }
#primabarra .fb { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #255c31; border: 1px solid #cbdcc5; border-radius: 50%; }
#primabarra .fb:hover { color: #fff; background: #255c31; }
#barra { background: #163b24; border: 0; box-shadow: 0 5px 18px rgba(22,59,36,.16); }
#barra > .row { width: min(1180px, 100%); margin: 0 auto; }
#barra .top-bar { min-height: 56px; padding: 0; background: transparent; }
#barra .top-bar-section ul { background: transparent; }
#barra .top-bar-section ul li { background: transparent; }
#barra .top-bar-section ul li > a { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 15px; color: #f4faef; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
#barra .top-bar-section ul li > a:hover, #barra .top-bar-section ul li > a:focus { color: #fff; background: #255c31; }
#barra .top-bar-section .dropdown { min-width: 220px; padding: 8px 0; background: #fff; border: 1px solid #dce7d8; border-radius: 0 0 10px 10px; box-shadow: 0 16px 30px rgba(22,59,36,.2); }
#barra .top-bar-section .dropdown li { background: transparent; }
#barra .top-bar-section .dropdown li a { min-height: 38px; color: #255c31; font-size: .76rem; letter-spacing: .035em; }
#barra .top-bar-section .dropdown li a:hover, #barra .top-bar-section .dropdown li a:focus { color: #163b24; background: #eff8df; }
#barra .top-bar-section .dropdown .dropdown { top: -8px; }
#barra .top-bar-section .has-dropdown > a:after { border-color: rgba(244,250,239,.75) transparent transparent; }
#barra .top-bar-section .dropdown .has-dropdown > a:after { border-color: transparent transparent transparent #255c31; }
#barra .top-bar .toggle-topbar.menu-icon { right: 12px; top: 0; height: 56px; }
#barra .top-bar .toggle-topbar.menu-icon a { width: 54px; height: 56px; padding: 0; }
#barra .top-bar .toggle-topbar.menu-icon a span { right: 12px; width: 25px; color: transparent; border-top: 2px solid #fff; }
#barra .top-bar .toggle-topbar.menu-icon a span:after, #barra .top-bar .toggle-topbar.menu-icon a span:before { width: 25px; background: #fff; }
#sottobarra { height: 4px; background: linear-gradient(90deg, #438b4b, #d97920); }

.footer, .under-footer { float: none; width: 100%; }
.footer { margin: 0; padding: 56px 24px 42px; color: #e9f3e6; background: #163b24; }
.footer > .row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 42px; width: min(1180px, 100%); margin: 0 auto; }
.footer-section { float: none; width: auto; min-height: 210px; padding: 0 28px 0 0; font-size: .92rem; line-height: 1.7; }
.footer-section + .footer-section { padding-left: 28px; border-left: 1px solid rgba(233,243,230,.24); }
.footer-section:first-child img { width: auto; max-width: 230px; max-height: 54px; margin-bottom: 24px; }
.footer address { margin: 0 0 18px; font-style: normal; }
.footer a { color: #e9f3e6; }
.footer a:hover { color: #f2a35e; }
.footer-section b { display: block; margin-bottom: 12px; color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-section .footer-link { display: block; padding: 3px 0; }
.socials { width: min(1180px, 100%); margin: 28px auto 0; padding: 0; text-align: left; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(233,243,230,.3); border-radius: 50%; }
#sottobarra3 { height: 4px; background: linear-gradient(90deg, #d97920, #438b4b); }
.under-footer { padding: 18px 24px; color: #d7e5d1; background: #102c1c; font-size: .78rem; line-height: 1.6; text-align: center; }
.under-footer img { max-height: 24px; width: auto; vertical-align: middle; }

@media (max-width: 767px) {
  #primabarra { min-height: 68px; padding: 10px 16px; }
  #primabarra img { max-width: min(68vw, 250px); max-height: 44px; }
  #primabarra .fb { width: 36px; height: 36px; margin-right: 52px; }
  #barra .top-bar { min-height: 52px; }
  #barra .top-bar.expanded { min-height: 52px; }
  #barra .top-bar-section { padding: 8px 0 12px; background: #163b24; }
  #barra .top-bar-section ul { padding: 0 12px; }
  #barra .top-bar-section ul li > a { min-height: 46px; padding: 0 14px; border-bottom: 1px solid rgba(233,243,230,.1); font-size: .82rem; }
  #barra .top-bar-section .dropdown { display: none; position: static; min-width: 0; padding: 0 0 0 12px; border: 0; border-radius: 0; box-shadow: none; background: rgba(37,92,49,.5); }
  #barra .top-bar-section .has-dropdown.m-menu-open > .dropdown { display: block; }
  #barra .top-bar-section .dropdown li a { min-height: 42px; color: #eff8df; }
  #barra .top-bar-section .dropdown .dropdown { padding-left: 12px; background: rgba(22,59,36,.45); }
  #barra .top-bar-section .has-dropdown > a:after { display: none; }
  #barra .top-bar-section .has-dropdown > a { display: inline-flex; width: calc(100% - 48px); }
  #barra .top-bar-section .modern-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 46px; margin-left: -4px; padding: 0; border: 0; color: #eff8df; background: transparent; }
  #barra .top-bar-section .modern-submenu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  #barra .top-bar-section .modern-submenu-toggle i { transition: transform .2s ease; }
  .footer { padding: 40px 20px 30px; }
  .footer > .row { display: block; }
  .footer-section, .footer-section + .footer-section { min-height: 0; margin: 0; padding: 0 0 28px; border: 0; }
  .footer-section + .footer-section { padding-top: 26px; border-top: 1px solid rgba(233,243,230,.2); }
  .socials { margin-top: 4px; }
  .under-footer { padding: 16px 18px; }
}


/* Fully independent modern navigation */
.modern-header { position: relative; z-index: 100; background: #fff; }
.modern-header__top { background: linear-gradient(135deg, #eff8df, #fff); }
.modern-header__inner, .modern-navigation__inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.modern-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.modern-brand { display: block; line-height: 0; }
.modern-brand img { display: block; width: auto; max-width: min(70vw, 300px); max-height: 58px; }
.modern-header__actions { display: flex; align-items: center; gap: 14px; }
.modern-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #255c31; border: 1px solid #cbdcc5; border-radius: 50%; }
.modern-social:hover { color: #fff; background: #255c31; }
.modern-menu-toggle { display: none; align-items: center; gap: 8px; padding: 10px 14px; color: #fff; background: #255c31; border: 0; border-radius: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.modern-navigation { background: #163b24; box-shadow: 0 5px 18px rgba(22,59,36,.16); }
.modern-navigation__inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 56px; }
.modern-menu, .modern-submenu { list-style: none; margin: 0; padding: 0; }
.modern-menu { display: flex; align-items: stretch; }
.modern-menu > li { position: relative; display: flex; align-items: stretch; }
.modern-menu a { color: #f4faef; text-decoration: none; }
.modern-menu > li > a, .modern-menu__link-row > a { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 15px; color: #f4faef; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.modern-menu > li > a:hover, .modern-menu > li > a:focus, .modern-menu__link-row > a:hover, .modern-menu__link-row > a:focus { background: #255c31; }
.modern-menu__link-row { display: flex; align-items: stretch; }
.modern-menu__link-row > a { flex: 1 1 auto; }
.modern-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; padding: 0; color: #f4faef; background: transparent; border: 0; cursor: pointer; }
.modern-menu > li > .modern-menu__link-row > .modern-submenu-toggle { min-height: 56px; }
.modern-submenu-toggle:hover, .modern-submenu-toggle:focus-visible { background: #255c31; }
.modern-submenu { position: absolute; top: 100%; left: 0; z-index: 10; display: none; min-width: 245px; padding: 8px 0; background: #fff; border: 1px solid #dce7d8; border-radius: 0 0 10px 10px; box-shadow: 0 16px 30px rgba(22,59,36,.2); }
.modern-menu__item--parent:hover > .modern-submenu, .modern-menu__item--parent:focus-within > .modern-submenu { display: block; }
.modern-submenu li { position: relative; display: block; }
.modern-submenu a { display: flex; align-items: center; min-height: 40px; padding: 8px 16px; color: #255c31; font-size: .76rem; font-weight: 700; letter-spacing: .035em; }
.modern-submenu a:hover, .modern-submenu a:focus { color: #163b24; background: #eff8df; }
.modern-submenu .modern-submenu { top: -9px; left: 100%; border-radius: 10px; }
.modern-submenu .modern-menu__link-row > a { min-height: 40px; color: #255c31; }
.modern-submenu .modern-submenu-toggle { width: 36px; color: #255c31; }
.modern-submenu .modern-menu__link-row:hover, .modern-submenu .modern-menu__link-row:focus-within { background: #eff8df; }
.modern-search { display: flex; align-items: center; align-self: center; width: 190px; margin-left: 20px; }
.modern-search input { width: 100%; height: 36px; margin: 0; padding: 0 40px 0 13px; color: #233029; background: #fff; border: 0; border-radius: 7px; box-shadow: none; }
.modern-search button { width: 38px; height: 36px; margin-left: -38px; color: #255c31; background: transparent; border: 0; }
.modern-header__accent { height: 4px; background: linear-gradient(90deg, #438b4b, #d97920); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.modern-footer { color: #e9f3e6; background: #163b24; }
.modern-footer__main { padding: 56px 20px 42px; }
.modern-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 42px; width: min(1180px, 100%); margin: 0 auto; }
.modern-footer section, .modern-footer nav { min-height: 220px; padding-right: 28px; border-right: 1px solid rgba(233,243,230,.22); }
.modern-footer section:last-child { border-right: 0; }
.modern-footer h2 { margin: 0 0 18px; color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.modern-footer address { margin: 26px 0 16px; font-style: normal; line-height: 1.7; }
.modern-footer p { line-height: 1.7; }
.modern-footer a { color: #e9f3e6; text-decoration: none; }
.modern-footer a:hover { color: #f2a35e; }
.modern-footer nav a { display: block; padding: 4px 0; }
.modern-footer__logo img { max-width: 230px; max-height: 54px; }
.modern-footer__social { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 12px; }
.modern-footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 17px 20px; color: #d7e5d1; background: #102c1c; font-size: .78rem; line-height: 1.6; text-align: center; }
.modern-footer__bottom img { max-height: 24px; vertical-align: middle; }
@media (max-width: 900px) and (min-width: 768px) { .modern-menu > li > a, .modern-menu__link-row > a { padding: 0 9px; font-size: .7rem; } .modern-search { width: 140px; margin-left: 8px; } }
@media (max-width: 767px) {
  .modern-header__inner, .modern-navigation__inner { width: calc(100% - 28px); }
  .modern-header__inner { min-height: 70px; }
  .modern-brand img { max-width: min(67vw, 245px); max-height: 46px; }
  .modern-header__actions { gap: 8px; }
  .modern-social { width: 36px; height: 36px; }
  .modern-menu-toggle { display: inline-flex; }
  .modern-navigation { display: none; box-shadow: none; }
  .modern-navigation.is-open { display: block; }
  .modern-navigation__inner { display: block; padding: 8px 0 14px; }
  .modern-menu { display: block; }
  .modern-menu > li { display: block; border-bottom: 1px solid rgba(233,243,230,.12); }
  .modern-menu > li > a, .modern-menu__link-row > a { min-height: 46px; padding: 0 12px; font-size: .82rem; }
  .modern-menu__link-row { min-height: 46px; }
  .modern-menu__link-row > a { width: 100%; }
  .modern-menu__item--parent > .modern-menu__link-row > .modern-submenu-toggle { width: 48px; min-height: 46px; }
  .modern-submenu { position: static; min-width: 0; padding: 0 0 4px 12px; border: 0; border-radius: 0; box-shadow: none; background: rgba(37,92,49,.55); }
  .modern-menu__item--parent:hover > .modern-submenu, .modern-menu__item--parent:focus-within > .modern-submenu { display: none; }
  .modern-menu__item--parent.is-open > .modern-submenu { display: block; }
  .modern-submenu .modern-submenu { background: rgba(16,44,28,.35); }
  .modern-submenu a, .modern-submenu .modern-menu__link-row > a { min-height: 42px; color: #eff8df; font-size: .78rem; }
  .modern-submenu .modern-submenu-toggle { width: 42px; color: #eff8df; }
  .modern-search { width: 100%; margin: 12px 0 0; }
  .modern-search input { height: 42px; }
  .modern-search button { height: 42px; }
  .modern-footer__main { padding: 40px 20px 30px; }
  .modern-footer__grid { display: block; }
  .modern-footer section, .modern-footer nav { min-height: 0; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid rgba(233,243,230,.2); }
  .modern-footer nav, .modern-footer section + section { padding-top: 26px; }
  .modern-footer section:last-child { border-bottom: 0; }
  .modern-footer__bottom { display: block; padding: 16px 18px; }
  .modern-footer__bottom span { display: block; margin: 4px 0; }
}
