:root{
  --bg: #ffffff;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #0b0b0b;
  --muted: rgba(11,11,11,.68);
  --line: rgba(11,11,11,.10);
  --shadow: 0 18px 55px rgba(28,26,23,.10);
  --shadow2: 0 10px 24px rgba(28,26,23,.10);
  --accent: #0b0b0b;
  --accent2: #0b0b0b;
  --radius: 18px;
  --radius2: 28px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  scroll-padding-top: 88px;
}
#top,
#prodotti,
#azienda,
#metodo,
#contatti{
  scroll-margin-top: 88px;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background: var(--bg);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 14px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  z-index:9999;
}
.skip-link:focus{ left: 12px; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  gap:14px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}
.brand-text{ min-width: 0; }
.brand-title, .brand-subtitle{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Logo PNG nativo 1606×1549 — rapporto ~1.037:1 */
.brand-mark{
  display: block;
  height: 36px;
  width: auto;
  max-width: min(168px, 42vw);
  aspect-ratio: 1606 / 1549;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(28,26,23,.08);
}
.footer .brand-mark{
  height: 30px;
  max-width: min(140px, 36vw);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-title{ font-weight: 760; letter-spacing:.2px; }
.brand-subtitle{ color:var(--muted); font-size: 12.5px; margin-top:2px; }

.nav{
  display:flex;
  flex-shrink: 0;
  gap:14px;
  padding: 8px 10px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  border-radius: 999px;
}
.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.nav a:hover{ background: rgba(182,107,56,.10); color: var(--text); }
@media (hover:hover){
  .nav a:hover{ background: rgba(11,11,11,.06); color: var(--text); }
}

.header-cta{ display:flex; gap:10px; }
.menu-toggle{
  display:none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px;
  cursor: pointer;
}
.menu-toggle span{
  display:block;
  width:100%;
  height:2px;
  background: #111;
  border-radius: 2px;
  margin: 4px 0;
}

.mobile-nav-overlay[hidden]{ display:none; }
.mobile-nav-overlay{
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11,11,11,.48);
  backdrop-filter: blur(2px);
  display:flex;
  justify-content:flex-end;
}
.mobile-nav-panel{
  width: min(88vw, 360px);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(11,11,11,.16);
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 16px;
}
.mobile-nav-head{
  display:flex;
  align-items:center;
  gap: 10px;
}
.menu-close{
  margin-left:auto;
  border:1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor:pointer;
}
.mobile-nav-links{
  display:grid;
  gap: 8px;
}
.mobile-nav-links a{
  padding: 12px 10px;
  border:1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
}
.mobile-nav-cta{
  margin-top:auto;
  display:grid;
  gap: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 760;
  font-size: 14px;
  letter-spacing: .2px;
  box-shadow: 0 12px 28px rgba(28,26,23,.06);
}
.btn-primary{
  border-color: rgba(11,11,11,.35);
  background: linear-gradient(180deg, rgba(11,11,11,.96), rgba(11,11,11,.88));
  color: #fff;
}
.btn-primary:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn-soft{
  background: rgba(255,255,255,.78);
  color: var(--text);
}
.btn-soft:hover{ background: rgba(255,255,255,.98); transform: translateY(-1px); }

.hero{
  padding: 52px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
h1{
  margin: 14px 0 8px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.accent{
  background: linear-gradient(90deg, rgba(11,11,11,1), rgba(11,11,11,.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slogan{
  margin: 0 0 14px;
  font-weight: 860;
  letter-spacing:.2px;
  color: rgba(28,26,23,.86);
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.hero-badges{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.hero-badges li{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.hero-visual{
  position: relative;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  padding: 14px;
}
.hero-visual > img{
  border-radius: calc(var(--radius2) - 10px);
  width:100%;
  height: auto;
  aspect-ratio: 820 / 640;
  object-fit: cover;
}
.hero-float{
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  font-weight: 820;
  color: rgba(28,26,23,.88);
}
.hero-float span{ font-size: 13px; }
.hero-float img{ border-radius: 12px; }
.hero-float-1{ left: 14px; top: 16px; }
.hero-float-2{ right: 14px; top: 64px; }
.hero-float-3{ left: 14px; bottom: 16px; }

.section{
  padding: 46px 0;
}
.section-milky{
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  display:flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
h2{
  margin:0;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.muted{ color: var(--muted); }

.grid{
  display:grid;
  gap: 14px;
}
.products-grid{
  grid-template-columns: repeat(12, 1fr);
}
.card{
  grid-column: span 4;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(28,26,23,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: 0 18px 48px rgba(28,26,23,.12); }
.card-media{
  padding:0;
  border:0;
  background: transparent;
  width:100%;
  cursor: zoom-in;
}
.card-media img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ffffff;
}
.card-body{ padding: 14px 14px 16px; }
.card h3{ margin: 2px 0 6px; font-size: 17px; letter-spacing: -0.2px; }
.card p{ margin: 0; line-height: 1.55; }

.farm-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items:center;
}
.info-cards{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.mini{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.80);
  border:1px solid var(--line);
  box-shadow: 0 12px 28px rgba(28,26,23,.06);
}
.mini-icon{
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(11,11,11,.06);
}
.mini-title{ margin: 0 0 4px; font-weight: 860; }
.mini p{ margin:0; }
.address-block{
  margin: 0;
  line-height: 1.55;
}

.farm-visual{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow:hidden;
}
.farm-photos{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 720px){
  .farm-photos{
    grid-template-columns: repeat(3, 1fr);
  }
}
.farm-photos img{
  border-radius: calc(var(--radius2) - 14px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(11,11,11,.10);
  background: #ffffff;
}
.farm-photo-logo-wrap{
  display: grid;
  place-items: center;
  border-radius: calc(var(--radius2) - 14px);
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(11,11,11,.10);
  background: #ffffff;
}
.farm-photo-logo-wrap .farm-photo-logo{
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.section-blog{
  background: #fbf7f2;
  border-top: 1px solid var(--line);
  padding: 56px 0 58px;
}
.section-head-blog{
  margin-bottom: 26px;
}
.blog-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.blog-card{
  padding: 28px 26px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(28,26,23,.07);
}
.blog-card h3{
  margin: 0 0 18px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.32;
  letter-spacing: -0.25px;
  font-weight: 820;
}
.blog-card p{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}
.blog-card p + p{
  margin-top: 1.1em;
}
.blog-card strong{
  color: var(--text);
  font-weight: 820;
}

.contact-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.contact-card{
  grid-column: span 4;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 36px rgba(28,26,23,.08);
}
.contact-card h3{ margin: 0 0 8px; letter-spacing: -0.2px; }
.cta-list{ display:flex; flex-direction:column; gap:10px; margin-top: 12px; }
.btn-whatsapp{
  border-color: rgba(18,140,126,.35);
  background: linear-gradient(180deg, rgba(37,211,102,.98), rgba(18,140,126,.98));
  color:#ffffff;
}
.btn-whatsapp:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.wa-icon{
  width: 28px;
  height: 28px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
}
.wa-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.05;
}
.wa-title{ font-weight: 920; }
.wa-number{ font-weight: 820; opacity: .92; margin-top: 4px; }
.checklist{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.details{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
  display:grid;
  gap: 10px;
}
.details{ font-size: 13.5px; }
.details li{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(28,26,23,.08);
}
.details span{ color: var(--muted); font-weight: 700; }
.details strong{
  font-weight: 860;
  text-align: right;
  max-width: 62%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.details a{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.details a.social-link{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  line-height: 1;
}

.map-card{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr .95fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  align-items:center;
}
.map-copy h3{ margin:0 0 8px; }
.map-copy p{ margin: 0 0 12px; }
.map-visual{
  border-radius: calc(var(--radius2) - 8px);
  overflow:hidden;
  border: 1px solid rgba(28,26,23,.10);
  background: #ffffff;
}
.map-visual iframe{ width:100%; height:320px; display:block; }

.footer{
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.92);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footer-title{ margin:0; font-weight: 920; letter-spacing: .2px; }
.footer-small{ margin:0; }

dialog.lightbox{
  width:min(980px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 36px 90px rgba(28,26,23,.22);
}
dialog::backdrop{ background: rgba(28,26,23,.55); }
.lightbox img{
  width:100%;
  height:auto;
  border-radius: 16px;
  border: 1px solid rgba(28,26,23,.10);
  background: linear-gradient(180deg, rgba(251,247,242,.95), rgba(255,255,255,.7));
}
.lightbox-close{
  appearance:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 820;
  cursor:pointer;
  margin-bottom: 10px;
}
.lightbox-close:hover{ background: rgba(255,255,255,1); }

@media (max-width: 980px){
  .nav{ display:none; }
  .menu-toggle{ display:block; }
  .brand{ min-width: unset; }
  .hero-grid{ grid-template-columns: 1fr; }
  .farm-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .map-card{ grid-template-columns: 1fr; }
  .card{ grid-column: span 6; }
  .contact-card{ grid-column: span 6; }
}
@media (max-width: 640px){
  .header-cta{ display:none; }
  .hero{ padding-top: 34px; }
  .card{ grid-column: span 12; }
  .contact-card{ grid-column: span 12; }
}

@media (max-width: 980px){
  .site-header{ padding: 0 18px; }
}
@media (max-width: 640px){
  .site-header{ padding: 0 16px; }
  .header-inner{ padding: 12px 0; }
}
