/* ============================================================
   FERTIL GREEN — design system
   crema + verde brand, display Fredoka, corpo Montserrat
   ============================================================ */

:root {
  --verde: #009345;
  --verde-scuro: #1d7a3f;
  --foresta: #0b3d20;
  --notte: #082b16;
  --crema: #f2f0e9;
  --crema-scura: #e8e5da;
  --inchiostro: #14231a;
  --bianco: #ffffff;

  --font-display: "Fredoka", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --radius: 24px;
  --radius-lg: 36px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 12vw, 9.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--inchiostro);
  background: var(--crema);
  line-height: 1.65;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--verde);
  margin-bottom: 1rem;
}
.eyebrow--light { color: #7fd6a4; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--inchiostro);
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.section-title em,
.storia__text em,
.contatti__title em,
.hero__title em {
  font-style: normal;
  color: var(--verde);
}
.section-title--light { color: var(--crema); }
.section-title--light em { color: #6fe3a0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9em 1.9em;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-out), background 0.25s, color 0.25s, box-shadow 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--verde);
  color: var(--bianco);
  box-shadow: 0 8px 24px rgba(0, 147, 69, 0.35);
}
.btn--primary:hover { background: var(--verde-scuro); }

.btn--ghost {
  color: var(--bianco);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--bianco); }

.btn--nav {
  background: var(--verde);
  color: var(--bianco);
  font-size: 0.9rem;
  padding: 0.65em 1.5em;
}
.btn--nav:hover { background: var(--verde-scuro); }

.btn--big {
  background: var(--crema);
  color: var(--foresta);
  font-size: clamp(1.05rem, 0.8rem + 1.4vw, 1.6rem);
  padding: 1em 1.6em;
  overflow-wrap: anywhere;
}
.btn--big:hover { background: var(--bianco); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled {
  background: rgba(242, 240, 233, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(20, 35, 26, 0.08);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.8rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}
.nav__logo { border-radius: 50%; width: 44px; height: 44px; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--bianco);
  transition: color 0.35s;
}
.nav__name span { color: #6fe3a0; transition: color 0.35s; }
.nav.is-scrolled .nav__name { color: var(--inchiostro); }
.nav.is-scrolled .nav__name span { color: var(--verde); }

.nav__links {
  display: flex;
  gap: 1.8rem;
}
/* elementi del menu mobile: nascosti su desktop */
.nav__menu-label,
.nav__menu-cta,
.nav__menu-info,
.nav__menu-worm { display: none; }
.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s;
}
.nav__links a:hover { color: #6fe3a0; }
.nav.is-scrolled .nav__links a { color: var(--inchiostro); }
.nav.is-scrolled .nav__links a:hover { color: var(--verde); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--bianco);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s, background 0.35s;
}
.nav.is-scrolled .nav__burger span { background: var(--inchiostro); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 43, 22, 0.55) 0%, rgba(8, 43, 22, 0.25) 40%, rgba(8, 43, 22, 0.72) 100%),
    radial-gradient(ellipse at 25% 60%, rgba(8, 43, 22, 0.45), transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding: 7rem var(--gutter) 5rem;
}

.hero__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.7rem, 0.6rem + 0.5vw, 0.85rem);
  color: #8be8b2;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: lineUp 0.9s var(--ease-out) 0.05s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 1.8rem + 9vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--bianco);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero__title em { color: #6fe3a0; }
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(0.6em);
  animation: lineUp 0.9s var(--ease-out) forwards;
}

/* la riga "rinasce": il lombrico striscia tra le lettere.
   Lettere a z-index alternato (1/3), lombrico a z-index 2:
   passa davanti alle basse e dietro alle alte. */
.hero__line--worm { position: relative; }
.hero__line--worm .lt { position: relative; z-index: 1; }
.hero__line--worm .lt--hi { z-index: 3; }

.hero-worm {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 18%;
  width: 0.9em;
  opacity: 0;
  pointer-events: none;
  animation: heroWormCrawl 18s linear 3s infinite;
  filter: drop-shadow(0 0.02em 0.04em rgba(8, 43, 22, 0.35));
}
.hero-worm svg { display: block; width: 100%; height: auto; overflow: visible; }

@keyframes heroWormCrawl {
  0%   { left: -14%; top: 34%; opacity: 0; transform: rotate(4deg); }
  5%   { opacity: 1; }
  16%  { top: 12%; transform: rotate(-9deg); }
  30%  { top: 42%; transform: rotate(8deg); }
  46%  { top: 14%; transform: rotate(-7deg); }
  62%  { top: 44%; transform: rotate(9deg); }
  78%  { top: 16%; transform: rotate(-6deg); }
  94%  { opacity: 1; }
  100% { left: 50%; top: 32%; opacity: 0; transform: rotate(4deg); }
}
.hero__line:nth-child(1) { animation-delay: 0.15s; }
.hero__line:nth-child(2) { animation-delay: 0.3s; }
.hero__line:nth-child(3) { animation-delay: 0.45s; }
@keyframes lineUp { to { opacity: 1; transform: translateY(0); } }

.hero__sub {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  margin-bottom: 2.2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--verde);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--bianco);
  white-space: nowrap;
}
.marquee__track i { color: rgba(255, 255, 255, 0.65); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- storia ---------- */

.storia { padding-block: var(--section); }

.storia__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.1rem + 4.4vw, 4.2rem);
  line-height: 1.12;
  text-align: center;
  max-width: 20em;
  margin: 0 auto clamp(4rem, 9vw, 7rem);
  text-wrap: balance;
}
.storia__statement em { font-style: normal; color: var(--verde); }

.storia__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.storia__text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.storia__text p { margin-bottom: 1rem; }

.storia__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.storia__photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.storia__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.storia__photo:hover img { transform: scale(1.04); }
.storia__photo--tall { margin-top: 2.5rem; }
.storia__photo figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.2rem 1rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bianco);
  background: linear-gradient(transparent, rgba(8, 43, 22, 0.75));
}

/* ---------- stats ---------- */

.stats {
  background: var(--notte);
  color: var(--crema);
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
}
.stats .eyebrow { margin-bottom: 2.5rem; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat__num,
.stat__unit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 4.8rem);
  line-height: 1;
  color: #6fe3a0;
}
.stat__unit { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); margin-left: 0.15em; }
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(242, 240, 233, 0.75);
}

.stats__note {
  margin-top: 2.8rem;
  font-size: 0.8rem;
  color: rgba(242, 240, 233, 0.45);
}

/* ---------- benefici ---------- */

.benefici { padding-block: var(--section); }

.benefici__grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}

.beneficio {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  background: var(--bianco);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem) clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.beneficio:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 61, 32, 0.14);
}

.beneficio__icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(0, 147, 69, 0.1);
  color: var(--verde);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.beneficio__icon svg { width: 34px; height: 34px; }

.beneficio h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}
.beneficio p:last-child {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(20, 35, 26, 0.72);
}

/* watermark decorativo */
.beneficio__watermark {
  position: absolute;
  right: -2.2rem;
  bottom: -2.6rem;
  width: 200px;
  height: 200px;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out);
}
.beneficio:hover .beneficio__watermark { transform: rotate(-8deg) scale(1.06); }

/* card featured: verde, grande, con foto mani+humus */
.beneficio--featured {
  grid-column: span 4;
  background: var(--verde);
  color: var(--bianco);
  justify-content: flex-end;
  min-height: 340px;
}
.beneficio__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 38%;
  transition: transform 0.7s var(--ease-out);
}
.beneficio--featured:hover .beneficio__bg { transform: scale(1.03); }
.beneficio--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(94deg, var(--verde) 38%, rgba(0, 147, 69, 0.75) 62%, rgba(0, 147, 69, 0.18) 100%);
}
.beneficio--featured > .beneficio__icon,
.beneficio--featured > h3,
.beneficio--featured > p {
  position: relative;
  z-index: 1;
}
.beneficio--featured .beneficio__icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--bianco);
}
.beneficio--featured h3 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
}
.beneficio--featured p:last-child {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.02rem;
  max-width: 28rem;
  text-shadow: 0 1px 12px rgba(11, 61, 32, 0.35);
}
.beneficio--featured .beneficio__watermark { color: rgba(255, 255, 255, 0.14); }

/* card dato: il numero è il protagonista */
.beneficio--dato { justify-content: flex-end; }
.beneficio__dato {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 2.2rem + 3.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--verde);
  margin-bottom: 1rem;
}

/* card scura */
.beneficio--scuro {
  background: var(--notte);
  color: var(--crema);
}
.beneficio--scuro .beneficio__icon {
  background: rgba(111, 227, 160, 0.14);
  color: #6fe3a0;
}
.beneficio--scuro p:last-child { color: rgba(242, 240, 233, 0.75); }
.beneficio--scuro .beneficio__watermark { color: rgba(111, 227, 160, 0.1); }

/* card fotografica a tutta larghezza */
.beneficio--foto {
  grid-column: span 6;
  padding: 0;
  min-height: 280px;
  justify-content: flex-end;
  background: var(--notte);
}
.beneficio--foto > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.7s var(--ease-out);
}
.beneficio--foto:hover > img { transform: scale(1.03); }
.beneficio__foto-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.8rem, 3.5vw, 2.6rem) clamp(1.5rem, 3vw, 2.4rem);
  background: linear-gradient(transparent, rgba(8, 43, 22, 0.88) 55%);
  color: var(--bianco);
  margin-top: auto;
}
.beneficio__foto-content h3 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
}
.beneficio__foto-content h3 em { font-style: normal; color: #6fe3a0; }
.beneficio--foto .beneficio__foto-content p:last-child {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
}

.benefici__problema {
  max-width: 40rem;
  color: rgba(20, 35, 26, 0.75);
}
.benefici__problema strong { color: var(--inchiostro); }

/* callout "è la cacca dei lombrichi" */
.chiarimento {
  margin-top: 1.8rem;
  max-width: 42rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: rgba(0, 147, 69, 0.07);
  border: 2px dashed rgba(0, 147, 69, 0.4);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
}
.chiarimento__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--bianco);
  display: grid;
  place-items: center;
}
.chiarimento__icon svg { width: 26px; height: 26px; }
.chiarimento p { font-size: 0.98rem; line-height: 1.6; color: rgba(20, 35, 26, 0.85); }
.chiarimento strong { font-family: var(--font-display); font-weight: 600; color: var(--verde-scuro); }

/* ---------- prodotto ---------- */

.prodotto {
  background: var(--bianco);
  padding-block: var(--section);
}

.prodotto__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.sacco {
  background: linear-gradient(160deg, var(--verde) 0%, var(--verde-scuro) 100%);
  border-radius: 28px 28px var(--radius-lg) var(--radius-lg);
  aspect-ratio: 3 / 4;
  max-width: 380px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 30px 70px rgba(11, 61, 32, 0.25), inset 0 2px 20px rgba(255, 255, 255, 0.18);
  position: relative;
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease-out);
}
.sacco:hover { transform: rotate(0deg) scale(1.02); }
.sacco::before {
  content: "";
  position: absolute;
  top: 12px;
  inset-inline: 18px;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
}
.sacco img { border-radius: 50%; width: 88px; height: 88px; box-shadow: 0 6px 18px rgba(0,0,0,0.2); }
.sacco__nome {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--bianco);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sacco__peso {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--bianco);
}
.sacco__peso span { font-size: 2rem; font-weight: 600; }

.prodotto__formati {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.3rem;
}
.prodotto__formati span {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(20, 35, 26, 0.55);
}
.prodotto__formati strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--verde-scuro);
  background: rgba(0, 147, 69, 0.1);
  border: 1.5px solid rgba(0, 147, 69, 0.35);
  border-radius: 999px;
  padding: 0.35em 0.95em;
}

.prodotto__preventivo {
  font-size: 0.95rem;
  color: rgba(20, 35, 26, 0.8);
  background: var(--crema);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.6rem;
}
.prodotto__preventivo strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--verde-scuro);
}

.prodotto__punti {
  list-style: none;
  margin: 1.4rem 0 1.4rem;
  display: grid;
  gap: 0.8rem;
}
.prodotto__punti li {
  padding-left: 2.1rem;
  position: relative;
  font-weight: 500;
}
.prodotto__punti li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(0, 147, 69, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23009345" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 60% no-repeat;
}

/* ---------- ciclo ---------- */

.ciclo {
  background: var(--foresta);
  padding-block: var(--section);
  overflow: hidden;
}

.ciclo__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ciclo__nav { display: flex; gap: 0.7rem; }
.ciclo__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(242, 240, 233, 0.35);
  background: transparent;
  color: var(--crema);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.ciclo__btn:hover {
  background: var(--verde);
  border-color: var(--verde);
  transform: translateY(-2px);
}

.ciclo__track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 1.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.ciclo__track::-webkit-scrollbar { display: none; }
.ciclo__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* card nello stesso linguaggio delle card benefici/dosi:
   bianche, radius, hover lift, titolo Fredoka con accento verde */
.ciclo-card {
  flex: 0 0 auto;
  width: min(80vw, 520px);
  background: var(--bianco);
  border-radius: var(--radius);
  scroll-snap-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  transition: transform 0.4s var(--ease-out);
}
.ciclo-card:hover { transform: translateY(-6px); }

.ciclo-card__foto {
  position: relative;
  margin: 0;
}
/* fascia foto: il fondo dell'immagine card originale.
   height esplicita (width/3.7): aspect-ratio verrebbe ignorato dal flex layout */
.ciclo-card__foto img {
  display: block;
  width: 100%;
  height: calc(min(80vw, 520px) / 3.7);
  object-fit: cover;
  object-position: 50% 100%;
  -webkit-user-drag: none;
}

/* badge numerato: cerchio verde che richiama il logo, a cavallo tra foto e testo */
.ciclo-card__num {
  position: absolute;
  left: 1.7rem;
  bottom: 0;
  transform: translateY(50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--bianco);
  border: 3px solid var(--bianco);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ciclo-card__body {
  flex: 1;
  padding: 3rem 1.8rem 2rem;
}
.ciclo-card__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 1.9rem);
  line-height: 1.06;
  color: var(--inchiostro);
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.ciclo-card__body h3 em {
  font-style: normal;
  color: var(--verde);
}
.ciclo-card__body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(20, 35, 26, 0.75);
}

/* ---------- risultati / confronto ---------- */

.risultati { padding-block: var(--section); }

.risultati__intro { max-width: 32rem; margin-bottom: 2.5rem; color: rgba(20, 35, 26, 0.75); }

.confronto {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  max-height: 640px;
  width: 100%;
  touch-action: none;
  box-shadow: 0 24px 60px rgba(11, 61, 32, 0.18);
}
.confronto__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.confronto__img--dopo {
  clip-path: inset(0 0 0 var(--split, 50%));
}
.confronto__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 4px;
  margin-left: -2px;
  background: var(--crema);
  cursor: ew-resize;
}
.confronto__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--crema);
  color: var(--foresta);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.risultati__extra {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.risultati__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.risultati__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.risultati__card:hover img { transform: scale(1.04); }
.risultati__card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.2rem 1.2rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bianco);
  background: linear-gradient(transparent, rgba(8, 43, 22, 0.78));
}

/* ---------- dosi ---------- */

.dosi {
  background: var(--crema-scura);
  padding-block: var(--section);
}

.dosi__grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.dose {
  background: var(--bianco);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.dose:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 61, 32, 0.1);
}

.dose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}
.dose__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--verde);
  margin-bottom: 0.7rem;
}
.dose__num span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(20, 35, 26, 0.6);
}
.dose p:last-child { font-size: 0.92rem; color: rgba(20, 35, 26, 0.75); }

/* blocco professionale: dosi per ettaro */
.dosi__pro {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--bianco);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.dosi__pro-head { max-width: 44rem; margin-bottom: 1.8rem; }
.dosi__pro-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
}
.dosi__pro-head h3 em { font-style: normal; color: var(--verde); }
.dosi__pro-head p { font-size: 0.98rem; color: rgba(20, 35, 26, 0.75); }
.dosi__pro-head a { color: var(--verde); font-weight: 600; }

.dosi__tabella-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.dosi__tabella {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.dosi__tabella th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde-scuro);
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 2px solid var(--verde);
}
.dosi__tabella td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(20, 35, 26, 0.08);
  vertical-align: top;
}
.dosi__tabella tr:last-child td { border-bottom: 0; }
.dosi__tabella td:first-child { font-weight: 600; }
.dosi__tabella td:nth-child(2) {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--verde);
  white-space: nowrap;
}
.dosi__tabella td:nth-child(2) span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(20, 35, 26, 0.6);
  white-space: normal;
}
.dosi__tabella td:last-child { color: rgba(20, 35, 26, 0.75); }

.dosi__note {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dosi__note p {
  font-size: 0.88rem;
  color: rgba(20, 35, 26, 0.75);
  background: var(--crema);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
}
.dosi__note strong { color: var(--verde-scuro); }

.dose--cta {
  background: var(--verde);
  color: var(--bianco);
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
}
.dose--cta h3 { color: var(--bianco); }
.dose--cta p { color: rgba(255, 255, 255, 0.9) !important; }
.dose--cta .btn {
  background: var(--crema);
  color: var(--foresta);
  box-shadow: none;
  margin-top: 0.5rem;
}
.dose--cta .btn:hover { background: var(--bianco); }

/* ---------- qualità ---------- */

.qualita {
  background: var(--notte);
  color: var(--crema);
  padding-block: var(--section);
}

.qualita__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.qualita__text > p { color: rgba(242, 240, 233, 0.8); }

.qualita__checks {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}
.qualita__checks li {
  padding-left: 2.2rem;
  position: relative;
  font-weight: 500;
}
.qualita__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--verde) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 60% no-repeat;
}

.qualita__table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(242, 240, 233, 0.04);
  border: 1px solid rgba(242, 240, 233, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.qualita__table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding-bottom: 0.9rem;
  color: #7fd6a4;
}
.qualita__table td {
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid rgba(242, 240, 233, 0.1);
  font-size: 0.95rem;
}
.qualita__table tr:last-child td { border-bottom: 0; }
.qualita__table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  color: #6fe3a0;
}

.qualita__legal {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, 0.45);
}

/* ---------- faq ---------- */

.faq { padding-block: var(--section); }

.faq__list {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 46rem;
  display: grid;
  gap: 0.9rem;
}

.faq__item {
  background: var(--bianco);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 35, 26, 0.06);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--verde);
  transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary { color: var(--verde); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.95rem;
  color: rgba(20, 35, 26, 0.78);
}

/* ---------- sticky cta (mobile) ---------- */

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.8rem var(--gutter) calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(242, 240, 233, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 24px rgba(11, 61, 32, 0.12);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
  display: none;
}
.sticky-cta .btn { display: block; text-align: center; }
.sticky-cta.is-visible { transform: translateY(0); }

/* ---------- contatti ---------- */

.contatti {
  background: var(--verde);
  color: var(--bianco);
  padding-block: var(--section);
  text-align: center;
}

.contatti__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 6vw, 6.5rem);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.contatti__title em { font-style: normal; color: var(--notte); }

.contatti__sub {
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.4rem;
}

.contatti__info {
  margin-top: 2.4rem;
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* ---------- footer ---------- */

.footer {
  background: var(--notte);
  color: rgba(242, 240, 233, 0.6);
  padding-top: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 13.5vw, 12.5rem);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--verde);
  white-space: nowrap;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(242, 240, 233, 0.12);
  font-size: 0.82rem;
}
.footer__top {
  color: #7fd6a4;
  text-decoration: none;
  font-weight: 600;
}
.footer__top:hover { color: #6fe3a0; }

/* ---------- ancore: compensa la navbar fissa ---------- */
section[id] { scroll-margin-top: 78px; }

/* ---------- toast feedback (click sui mailto) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 200%);
  z-index: 200;
  background: var(--notte);
  color: var(--crema);
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.85rem 1.4rem;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  max-width: min(92vw, 30rem);
  text-align: center;
  transition: transform 0.45s var(--ease-out);
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast strong { color: #6fe3a0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav__links > a, .nav__menu-label, .nav__menu-info { transition: none !important; }
  .hero__img { animation: none; transform: none; }
  .hero__line { animation: none; opacity: 1; transform: none; }
  .hero-worm { display: none; }
  .marquee__track { animation: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .dosi__grid { grid-template-columns: repeat(2, 1fr); }
  .benefici__grid { grid-template-columns: repeat(2, 1fr); }
  .beneficio { grid-column: span 1; }
  .beneficio--featured, .beneficio--foto { grid-column: span 2; }
  .storia__grid, .qualita__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--notte);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.9rem;
    padding: 6rem var(--gutter) 2.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s, visibility 0s 0.35s;
    z-index: -1;
    overflow: hidden;
    counter-reset: voce;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s;
    z-index: 99;
  }

  /* voci: grandi, numerate, entrata sfalsata */
  .nav__links > a:not(.nav__menu-cta) {
    color: var(--crema) !important;
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    counter-increment: voce;
  }
  .nav__links > a:not(.nav__menu-cta)::before {
    content: counter(voce, decimal-leading-zero);
    font-size: 0.85rem;
    font-weight: 500;
    color: #6fe3a0;
    letter-spacing: 0.08em;
  }
  .nav__links > a,
  .nav__menu-label,
  .nav__menu-info {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  }
  .nav__links.is-open > a,
  .nav__links.is-open .nav__menu-label,
  .nav__links.is-open .nav__menu-info {
    opacity: 1;
    transform: none;
  }
  .nav__links.is-open > a:nth-of-type(1) { transition-delay: 0.08s; }
  .nav__links.is-open > a:nth-of-type(2) { transition-delay: 0.14s; }
  .nav__links.is-open > a:nth-of-type(3) { transition-delay: 0.2s; }
  .nav__links.is-open > a:nth-of-type(4) { transition-delay: 0.26s; }
  .nav__links.is-open > a:nth-of-type(5) { transition-delay: 0.32s; }
  .nav__links.is-open .nav__menu-cta { transition-delay: 0.4s; }
  .nav__links.is-open .nav__menu-info { transition-delay: 0.48s; }

  .nav__menu-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(242, 240, 233, 0.5);
    margin-bottom: 0.6rem;
  }

  .nav__menu-cta {
    display: inline-block;
    margin-top: 1.4rem;
    font-size: 1.05rem !important;
    color: var(--bianco) !important;
  }

  .nav__menu-info {
    display: grid;
    gap: 0.2rem;
    margin-top: auto;
  }
  .nav__menu-info a {
    color: #7fd6a4 !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    text-decoration: none;
  }
  .nav__menu-info span {
    font-size: 0.8rem;
    color: rgba(242, 240, 233, 0.55);
  }

  .nav__menu-worm {
    display: block;
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
  }

  .nav__burger { display: block; position: relative; z-index: 100; }
  .nav__brand { position: relative; z-index: 100; }
  .btn--nav { display: none; }
  body.menu-open { overflow: hidden; }

  /* a menu aperto la barra si fonde con l'overlay scuro */
  body.menu-open .nav {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.menu-open .nav__name { color: var(--crema); }
  body.menu-open .nav__name span { color: #6fe3a0; }
  body.menu-open .nav__burger span { background: var(--crema); }

  .benefici__grid, .dosi__grid, .risultati__extra { grid-template-columns: 1fr; }
  .beneficio, .beneficio--featured, .beneficio--foto { grid-column: span 1; }
  .beneficio--featured { min-height: 260px; }
  .dosi__note { grid-template-columns: 1fr; }
  .prodotto__grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .storia__photos { grid-template-columns: 1fr 1fr; }
  .storia__photo--tall { margin-top: 1.5rem; }
  .confronto { aspect-ratio: 3 / 4; }
  .ciclo__head { flex-direction: column; align-items: flex-start; }
  .ciclo-card { width: 86vw; }
  .ciclo-card__foto img { height: calc(86vw / 3.7); }
  .footer__bottom { justify-content: center; text-align: center; }
}
