/* DES Friûl di Mieç — homepage */

@font-face {
  font-family: "Reckless";
  src: url("../fonts/reckless-neue-trial-vf.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Reckless";
  src: url("../fonts/reckless-neue-trial-italic-vf.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Supreme";
  src: url("../fonts/supreme-vf.woff2") format("woff2");
  font-weight: 100 800; font-display: swap;
}

:root {
  /* Colori (le stesse variabili del Figma "Sito DES — colori") */
  --farina: #f2ece2;
  --crusca: #e7decf;
  --grano: #c9a88a;
  --castagna: #330e0e;
  --terra: #6f5847;
  --accento: #ff935d;
  --filetto: #cbbfae;
  --scuro-testo: #c9b5a6;
  --scuro-filetto: #5c3330;

  --serif: "Reckless", Georgia, "Times New Roman", serif;
  --sans: "Supreme", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 10.65vw, 184px);
  --max: 1360px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--farina);
  color: var(--castagna);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-weight: 500; /* testo corrente in Medium */
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--castagna); color: var(--farina);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--terra); text-align: center; }
.eyebrow--left { text-align: left; }
.eyebrow--grano { color: var(--grano); }
.eyebrow--ink { color: var(--castagna); }
.eyebrow--light { color: var(--farina); }
.h2 {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(38px, 3.24vw, 56px); line-height: 1.06; letter-spacing: -0.01em;
  text-align: center; max-width: 900px; margin: 20px auto 0;
}
.lead { font-size: 18px; color: var(--terra); text-align: center; max-width: 560px; margin: 24px auto 0; }
.lead--dark { color: var(--scuro-testo); }
.two-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 48px;
  justify-content: center; margin-top: 56px;
}

/* ---------- Pulsanti a pillola ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s, color .25s, transform .35s var(--ease);
}
.pill span { transition: transform .35s var(--ease); }
.pill:hover span { transform: translateX(4px); }
.pill:active { transform: scale(.98); }
.pill--light { background: var(--farina); color: var(--castagna); }
.pill--light:hover { background: #fff; }
.pill--ghost { border-color: var(--farina); color: var(--farina); }
.pill--ghost:hover { background: var(--farina); color: var(--castagna); }
.pill--dark { background: var(--castagna); color: var(--farina); }
.pill--dark:hover { background: #4a1a18; }
.pill--orange { background: var(--accento); color: var(--castagna); }
.pill--orange:hover { background: #ffa577; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; z-index: 100; top: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 48px;
  padding: 8px 8px 8px 24px;
  background: var(--farina); border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(51, 14, 14, .35);
  transition: transform .5s var(--ease);
}
.nav__links, .nav__right { display: flex; align-items: center; gap: 28px; }
.nav__right { gap: 20px; }
.nav a { font-size: 14px; text-decoration: none; }
.nav__links a, .nav__link-side { position: relative; }
.nav__links a::after, .nav__link-side::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__link-side:hover::after { transform: scaleX(1); }
.nav__logo img { width: 97px; }
.nav .pill { font-size: 15px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  height: max(640px, min(100svh, 57.87vw));
  min-height: 560px;
  display: grid; place-items: end center;
  color: var(--farina);
}
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51, 14, 14, .10) 0%, rgba(51, 14, 14, .70) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 28px;
  padding: 0 var(--gutter) clamp(64px, 5.8vw, 100px);
  text-align: center;
}
.hero__logo { width: clamp(220px, 19.1vw, 330px); }
.hero__title {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(44px, 5.56vw, 96px); line-height: 1; letter-spacing: -0.025em;
  max-width: 1100px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero__badge { position: absolute; left: 46px; bottom: 24px; width: 76px; z-index: 1; }

/* ---------- CHI SIAMO ---------- */
.intro { padding: clamp(120px, 12.7vw, 220px) 0; text-align: center; }
.intro__statement {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(30px, 3.47vw, 60px); line-height: 1.12; letter-spacing: -0.014em;
  margin-top: 36px;
}
.inline-photo {
  display: inline-block; vertical-align: middle;
  width: 2.2em; height: 1.067em; margin: -.12em .1em 0;
  border-radius: 999px; object-fit: cover;
}
.intro__text { font-size: 18px; color: var(--terra); max-width: 520px; margin: 48px auto 0; }
.intro__text--next { margin-top: 16px; }

/* ---------- TRE GESTI ---------- */
.gesti { padding: 40px 0 200px; }
.gesti__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 760px); gap: 40px; justify-content: space-between; }
.gesti__head { position: sticky; top: 140px; align-self: start; display: grid; gap: 20px; }
.gesti__title {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(40px, 3.7vw, 64px); line-height: 1.04; letter-spacing: -0.016em;
  max-width: 520px;
}
.gesti__list { display: grid; gap: 16px; }
.gesto {
  display: grid; grid-template-columns: 120px 1fr; gap: 40px; align-items: start;
  padding: 36px 40px 40px;
  border-top: 1px solid var(--filetto);
}
.gesto__icon { width: auto; height: 96px; justify-self: center; }
.gesto__body { display: grid; gap: 14px; }
.gesto__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.gesto__name { font-family: var(--serif); font-weight: 350; font-size: clamp(28px, 2.08vw, 36px); line-height: 1.1; }
.gesto__n { font-size: 14px; color: var(--terra); white-space: nowrap; }

/* ---------- LA STORIA ---------- */
.storia { background: var(--crusca); padding: 180px 0; }
.timeline {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px;
  margin-top: 140px;
}
.timeline li { border-top: 1px solid var(--castagna); padding-top: 24px; }
.timeline__year { font-family: var(--serif); letter-spacing: -0.012em; font-size: clamp(36px, 2.78vw, 48px); line-height: 1; }
.timeline__place { font-size: 14px; font-weight: 600; line-height: 1.3; margin-top: 18px; }
.timeline__text { font-size: 14px; color: var(--terra); margin-top: 6px; max-width: 166px; }
.numeri {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  max-width: 1265px; margin: 140px auto 0;
}
.numeri li { position: relative; translate: 0 var(--cy, 0%); rotate: var(--cr, 0deg);
  display: grid; align-content: start; justify-items: center; gap: 20px;
  padding: 40px 20px 36px; text-align: center;
  background: var(--farina); border-radius: 24px;
}
/* Colori dei riquadri come nel Figma: grano, farina, pesca, cotto, farina */
.numeri li:nth-child(1) { background: var(--grano); }
.numeri li:nth-child(3) { background: #ffc99e; }
.numeri li:nth-child(4) { background: #df7e67; }
.numeri__n { font-family: var(--serif); font-weight: 200; letter-spacing: -0.03em; font-size: clamp(72px, 6.02vw, 104px); line-height: 1; font-variant-numeric: tabular-nums; }
.numeri li p:last-child { font-size: 14px; line-height: 1.4; color: var(--terra); }
.statement {
  font-family: var(--serif); font-size: clamp(30px, 2.55vw, 44px); line-height: 1.15; letter-spacing: -0.006em;
  text-align: center; max-width: 960px; margin: 160px auto 0;
}
/* Una terra che torna al paese: tre paragrafi in tre colonne, letti in ordine */
.storia__cols { grid-template-columns: repeat(3, minmax(0, 360px)); }
.timeline__link { color: var(--castagna); font-weight: 600; text-underline-offset: 3px; }

/* ---------- FASCIA FOTO ---------- */
.band { height: clamp(360px, 47.45vw, 820px); overflow: hidden; }
.band__photo { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* ---------- COME CRESCE ---------- */
.modello {
  position: relative; overflow: hidden;
  background: var(--castagna); color: var(--farina);
  padding: 200px 0 260px;
}
.modello__spiral {
  position: absolute; left: 50%; bottom: -279px; width: 559px; max-width: none;
  margin-left: -248px; pointer-events: none;
}
.modello .wrap { position: relative; }
.modello__intro { display: grid; gap: 16px; max-width: 640px; margin: 32px auto 0; text-align: center; color: var(--scuro-testo); }
.modello__lead { font-size: 14px; color: var(--grano); margin-top: 120px; }
.passi { margin-top: 20px; border-top: 1px solid var(--scuro-filetto); }
.passi li {
  display: grid; grid-template-columns: 232px minmax(0, 568px) minmax(0, 560px);
  padding: 32px 0 36px; border-bottom: 1px solid var(--scuro-filetto);
}
.passi__n { font-family: var(--serif); font-size: 18px; color: var(--accento); padding-top: 10px; }
.passi__name { font-family: var(--serif); font-weight: 350; font-size: clamp(38px, 3vw, 52px); line-height: 1.05; letter-spacing: -0.012em; transition: transform .5s var(--ease); }
.passi li p { color: var(--scuro-testo); max-width: 440px; padding-top: 10px; }
.passi li:hover .passi__name { transform: translateX(12px); }
.modello__quote {
  font-family: var(--serif); font-size: clamp(30px, 2.55vw, 44px); line-height: 1.15; letter-spacing: -0.006em;
  text-align: center; max-width: 960px; margin: 160px auto 0;
}

/* ---------- LAVORO ---------- */
.lavoro { padding: 200px 0 160px; }
.lavoro__title { max-width: 1100px; }

/* ---------- BONDES ---------- */
.bondes { display: grid; grid-template-columns: 1fr 1fr; background: var(--accento); min-height: clamp(560px, 52vw, 900px); }
.bondes__media { overflow: hidden; }
.bondes__photo { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.bondes__text {
  display: grid; justify-items: center; align-content: center; gap: 28px;
  padding: 80px clamp(24px, 5.56vw, 96px); text-align: center;
}
.bondes__title { font-family: var(--serif); font-weight: 350; font-size: clamp(44px, 4.17vw, 72px); line-height: 1; letter-spacing: -0.02em; max-width: 680px; }
.bondes__text > p:not(.eyebrow) { max-width: 460px; }
.bondes .pill { margin-top: 4px; }

/* ---------- FILIERA ---------- */
.filiera { padding: 200px 0; }
.luoghi { margin-top: 124px; display: grid; justify-items: center; }
.luogo { display: grid; justify-items: center; }
.luogo__btn {
  display: inline-flex; align-items: flex-start; gap: 10px;
  color: var(--castagna); transition: color .4s var(--ease);
  text-align: left;
}
.luogo__btn sup { font-family: var(--serif); font-size: 16px; line-height: 1; padding-top: 14px; min-width: 28px; text-align: right; }
.luogo__name { font-family: var(--serif); font-size: clamp(56px, 6.48vw, 112px); line-height: 1.04; letter-spacing: -0.015em; }
.luogo__tag { font-size: 14px; line-height: 1; align-self: flex-end; padding-bottom: .9em; white-space: nowrap; }
/* Al passaggio: gli altri luoghi si spengono nel colore grano */
.luoghi.is-active .luogo__btn { color: var(--grano); }
.luoghi.is-active .luogo.is-open .luogo__btn { color: var(--castagna); }
.luogo__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.luogo.is-open .luogo__detail { grid-template-rows: 1fr; }
.luogo__inner {
  overflow: hidden; min-height: 0;
  display: flex; align-items: center; gap: 28px;
  max-width: 608px;
}
.luogo__inner > * { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.luogo.is-open .luogo__inner > * { opacity: 1; transform: none; transition-delay: .1s; }
.luogo__inner img { width: 200px; height: 128px; object-fit: cover; border-radius: 6px; margin: 12px 0 28px; flex: none; }
.luogo__inner p { max-width: 380px; padding: 12px 0 28px; }

/* Foto alternata: a sinistra nei luoghi dispari, a destra nei pari */
.luogo:nth-child(even) .luogo__inner { flex-direction: row-reverse; text-align: right; }

/* ---------- PRODOTTI ---------- */
.prodotti { background: var(--crusca); padding: 160px 0 200px; overflow: hidden; }
.prodotti__top { display: flex; justify-content: space-between; border-top: 1px solid var(--filetto); padding-top: 24px; }
.prodotti__title {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(56px, 8.68vw, 150px); line-height: 1.067; letter-spacing: -0.03em;
  margin-top: 48px;
}
.prodotti__title span { display: block; }
.prodotti__l1 { margin-left: -.05em; }
.prodotti__l2 { text-align: right; }
.prodotti__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  margin-top: 120px;
}
.prodotto--big { grid-column: 1 / span 7; }
.prodotti__side { grid-column: 9 / span 4; }
.prodotti__intro { font-size: 18px; line-height: 26px; }
.prodotti__side .prodotto { margin-top: 248px; }
.prodotto__frame { overflow: hidden; aspect-ratio: 783 / 980; }
.prodotto__frame--small { aspect-ratio: 437 / 560; }
.prodotto__frame img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.prodotto figcaption { margin-top: 28px; }
.prodotto__n { font-size: 14px; color: var(--terra); }
.prodotto__name { font-family: var(--serif); font-weight: 350; font-size: clamp(28px, 2.08vw, 36px); line-height: 1.22; margin-top: 11px; }
.prodotto__desc { color: var(--terra); line-height: 26px; margin-top: 10px; max-width: 437px; }
.link-big {
  display: flex; width: fit-content; margin: 170px 0 0 auto;
  align-items: baseline; gap: 20px;
  font-family: var(--serif); font-size: clamp(36px, 3.7vw, 64px); line-height: 1.125;
  text-decoration: none; position: relative; padding-bottom: 14px;
}
.link-big span { font-family: var(--sans); font-style: normal; font-size: .75em; transition: transform .35s var(--ease); }
.link-big::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 1.1em); height: 1px;
  background: var(--castagna); transform-origin: left; transition: transform .5s var(--ease);
}
.link-big:hover span { transform: translateX(8px); }
.link-big:hover::after { transform: scaleX(.6); }

/* ---------- PARTNER ---------- */
.partner { background: var(--accento) url("../img/partner-campo.webp") center / cover no-repeat; color: var(--farina); padding: 200px 0; text-align: center; }
.partner .wrap { display: grid; justify-items: center; gap: 28px; }
.partner__title { font-family: var(--serif); font-weight: 350; font-size: clamp(52px, 6.48vw, 112px); line-height: 1; letter-spacing: -0.015em; }
.partner .wrap > p:not(.eyebrow) { max-width: 640px; font-size: 22px; line-height: 1.4; } /* più grande: il testo sta sopra la foto */
.partner .pill { margin-top: 4px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--castagna); color: var(--farina); padding: 120px 0 64px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 520px) 1fr 250px 250px; gap: 24px; }
.footer__claim { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.15; grid-column: 1; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col { grid-column: 3; }
.footer__col--contatti { grid-column: 4; }
.footer__label { color: var(--grano); margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer__social { display: flex; gap: 18px; margin-top: 8px; }
.footer__social a { display: inline-flex; padding: 2px; transition: opacity .25s; }
.footer__social a:hover { opacity: .6; }
.footer__col a:hover, .footer__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__logo { width: 520px; margin-top: 140px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; }

/* ---------- BARRA DELLA RACCOLTA BONDES ---------- */
.dock {
  position: fixed; z-index: 90;
  left: 50%; bottom: 24px;
  width: min(820px, calc(100% - 48px));
  display: flex; align-items: center; gap: 32px;
  padding: 16px 16px 16px 28px;
  background: var(--castagna); color: var(--farina);
  border: 1px solid var(--scuro-filetto); border-radius: 28px;
  box-shadow: 0 30px 60px -24px rgba(51, 14, 14, .6);
  transform: translate(-50%, calc(100% + 40px)) scale(.94);
  opacity: 0;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s;
}
.dock[hidden] { display: flex; visibility: hidden; }
.dock.is-visible { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; }
.dock__sum { display: grid; gap: 4px; white-space: nowrap; }
.dock__amount { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.dock__label { font-size: 14px; line-height: 1.2; color: var(--grano); margin-bottom: 4px; }
.dock__of { font-size: 14px; line-height: 1.2; color: var(--scuro-testo); }
.dock .bar { background: rgba(242, 236, 226, .16); }
.dock :focus-visible { outline-color: var(--farina); }
.dock__bar { flex: 1; display: grid; gap: 8px; min-width: 0; }
.dock__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dock__pct { font-family: var(--serif); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.dock .pill { padding: 16px 26px; }
[data-raccolti], [data-percentuale] { display: inline-block; text-align: right; }
.bar { position: relative; height: 8px; border-radius: 999px; background: rgba(51, 14, 14, .12); overflow: hidden; }
.bar__fill {
  position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%);
  background: var(--accento); border-radius: inherit;
  transition: width 2.6s cubic-bezier(.16, 1, .3, 1);
}

/* Il serif del Figma è il Regular a peso 350 */
.timeline__year, .statement, .modello__quote, .passi__n, .luogo__btn, .link-big, .dock__amount, .dock__pct { font-weight: 350; }

/* Righe dei titoli che emergono da una maschera */
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- PROGETTO ADES E PARTNER ---------- */
.ades { background: var(--farina); padding: 160px 0; }
.ades__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 760px); gap: 40px; justify-content: space-between; }
.ades__head { display: grid; gap: 20px; align-content: start; }
.ades__title { font-family: var(--serif); font-weight: 350; font-size: clamp(40px, 3.24vw, 56px); line-height: 1.06; letter-spacing: -0.012em; }
.ades__sub { color: var(--terra); max-width: 420px; }
.ades__text { display: grid; gap: 16px; }
.ades__loghi {
  display: flex; align-items: center; flex-wrap: wrap; gap: 32px 64px;
  margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--filetto);
}
.ades__loghi img { height: 64px; width: auto; }
.ades__loghi .ades__psr { height: 60px; }
.ades__misura { flex-basis: 100%; font-size: 14px; color: var(--terra); }

/* ---------- POP-UP ---------- */
.prodotto__more {
  display: inline-flex; gap: 8px; margin-top: 16px;
  font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px;
}
.prodotto__more span { transition: transform .35s var(--ease); }
.prodotto__more:hover span { transform: translateX(4px); }

.has-sheet { overflow: hidden; }
.sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(760px, 100%); height: 100dvh; max-height: none; max-width: none;
  padding: 36px 56px 72px; border: 0;
  background: var(--farina); color: var(--castagna);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet[open] { animation: sheet-in .6s cubic-bezier(.16, 1, .3, 1); }
.sheet::backdrop { background: rgba(51, 14, 14, .5); }
@keyframes sheet-in { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--filetto); border-radius: 999px; transition: background-color .25s;
}
.sheet__close:hover { background: var(--crusca); }
.sheet__title { font-family: var(--serif); font-weight: 350; font-size: clamp(40px, 3.24vw, 56px); line-height: 1.06; letter-spacing: -0.012em; margin-top: 28px; }
.sheet__sub { font-family: var(--serif); font-weight: 350; font-size: clamp(26px, 1.85vw, 32px); line-height: 1.15; margin-top: 80px; max-width: 560px; }

/* I due negozi DES, in evidenza */
.negozi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.negozio { background: var(--accento); border-radius: 24px; padding: 28px 28px 26px; display: grid; gap: 6px; align-content: start; }
.negozio__tipo { font-size: 14px; }
.negozio__nome { font-family: var(--serif); font-size: 32px; line-height: 1.1; font-weight: 350; margin-top: 8px; }
.negozio__luogo { font-size: 15px; }
.negozio__map { font-size: 14px; font-weight: 500; margin-top: 18px; text-decoration: underline; text-underline-offset: 4px; }

/* Ricerca ed elenco dei punti vendita */
.cerca { display: block; margin-top: 24px; }
.cerca input {
  width: 100%; font: inherit; font-size: 16px; color: var(--castagna);
  padding: 14px 22px; border: 1px solid var(--filetto); border-radius: 999px; background: #fbf8f3;
}
.cerca input::placeholder { color: var(--terra); }
.cerca input:focus { outline: 2px solid var(--castagna); outline-offset: 2px; }
.punti__gruppo { margin-top: 36px; }
.punti__label { font-size: 14px; color: var(--terra); margin-bottom: 8px; }
.punti ul { border-top: 1px solid var(--filetto); }
.punti li a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--filetto); text-decoration: none;
  transition: padding .35s var(--ease), background-color .25s;
}
.punti li a:hover { background: var(--crusca); padding-inline: 12px; }
.punti__nome { font-size: 16px; font-weight: 600; }
.punti__luogo { font-size: 14px; color: var(--terra); grid-column: 1; }
.punti__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--terra); }
.punti__vuoto { margin-top: 24px; font-size: 15px; color: var(--terra); }

/* Le nostre farine */
.sheet__img { width: 100%; border-radius: 6px; margin-top: 32px; }
.sheet__text { display: grid; gap: 16px; margin-top: 32px; max-width: 600px; }
.sheet__lead { font-family: var(--serif); font-weight: 350; font-size: 26px; line-height: 1.2; margin-top: 16px; }
.sheet .pill { margin-top: 40px; }

/* ---------- SCHERMI MEDI ---------- */
@media (max-width: 1100px) {
  .ades__grid { grid-template-columns: 1fr; gap: 32px; }
  .nav { gap: 28px; }
  .nav__links { gap: 20px; }
  .gesti__grid { grid-template-columns: 1fr; gap: 48px; }
  .gesti__head { position: static; }
  .gesti__title { max-width: 640px; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; }
  .numeri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .passi li { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .footer__top { grid-template-columns: 1fr 200px 200px; }
  .footer__col { grid-column: 2; }
  .footer__col--contatti { grid-column: 3; }
}

/* ---------- TELEFONO ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .intro__statement { font-size: 28px; }
  .nav { top: 12px; width: auto; gap: 22px; padding: 6px 6px 6px 22px; } /* compatto e centrato: logo e pulsante vicini */
  .nav__links, .nav__link-side { display: none; }
  .nav__logo { flex: none; }
  .nav__logo img { width: 104px; max-width: none; }
  .hero { height: 100svh; min-height: 600px; }
  .hero__content { gap: 22px; padding-bottom: 72px; }
  .hero__badge { width: 56px; left: 16px; bottom: 16px; }
  .br-d { display: none; }
  /* Telefono: due regole.
     Centrati i momenti di apertura e chiusura: hero, Chi siamo, le frasi-manifesto e l'invito finale ai partner.
     A sinistra le sezioni di contenuto, con titolo e testi. */
  .eyebrow, .h2, .lead, .modello__intro, .bondes__text { text-align: left; }
  .h2, .lead, .modello__intro, .two-cols { margin-left: 0; margin-right: 0; }
  .bondes__text { justify-items: start; }
  .intro .eyebrow, .partner .eyebrow { text-align: center; }
  .intro { padding: 120px 0; }
  .two-cols { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .gesti { padding: 0 0 120px; }
  .gesto { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 30px; }
  .gesto__icon { justify-self: start; height: 72px; }
  .gesto__body p:not(.gesto__n) { font-size: 15px; }
  .storia { padding: 120px 0; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; margin-top: 80px; }
  .numeri { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 80px; }
  .numeri li { padding: 28px 12px 24px; }
  .numeri li:last-child { grid-column: 1 / -1; }
  .statement, .modello__quote { margin-top: 100px; }
  .modello { padding: 120px 0 200px; }
  .modello__spiral { width: 360px; margin-left: -160px; bottom: -180px; }
  .modello__lead { margin-top: 80px; }
  .passi li { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 24px 0 28px; }
  .passi__n { padding-top: 8px; }
  .passi li p { grid-column: 2; padding-top: 4px; font-size: 15px; }
  .lavoro { padding: 120px 0 100px; }
  .bondes { grid-template-columns: 1fr; }
  .bondes__media { aspect-ratio: 4 / 3; }
  .bondes__text { padding: 72px var(--gutter) 88px; }
  .filiera { padding: 120px 0; }
  .luoghi { margin-top: 64px; justify-items: stretch; }
  .luogo { justify-items: stretch; border-bottom: 1px solid var(--filetto); }
  .luogo__btn { padding: 14px 0; flex-wrap: wrap; column-gap: 8px; }
  .luogo__btn sup { min-width: 0; padding-top: 8px; }
  .luogo__name { font-size: clamp(40px, 11vw, 56px); }
  .luogo__tag { flex-basis: 100%; padding: 6px 0 0; color: var(--terra); }
  .luoghi.is-active .luogo__tag { color: inherit; }
  .luogo__inner { flex-direction: column; align-items: flex-start; gap: 0; max-width: none; }
  .luogo__inner img { width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 4px 0 14px; }
  .luogo__inner p { padding: 0 0 22px; font-size: 15px; }
  .luogo:nth-child(even) .luogo__inner { flex-direction: column; text-align: left; }
  .prodotti { padding: 100px 0 120px; }
  .prodotti__title { margin-top: 32px; }
  .prodotti__grid { grid-template-columns: 1fr; margin-top: 56px; }
  .prodotto--big, .prodotti__side { grid-column: 1; }
  .prodotti__side { display: grid; margin-top: 64px; }
  .prodotti__side .prodotto { margin-top: 32px; width: 78%; justify-self: start; }
  .prodotti__intro { order: 0; }
  .link-big { margin-top: 96px; }
  .partner { padding: 120px 0; }
  .partner__title { font-size: 40px; line-height: 1.06; }
  .partner .wrap > p:not(.eyebrow) { font-size: 18px; }
  .footer { padding: 88px 0 calc(130px + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer__claim { grid-column: 1 / -1; font-size: 26px; }
  .footer__col { grid-column: 1; }
  .footer__col--contatti { grid-column: 2; }
  .footer__logo { width: 100%; max-width: 360px; margin-top: 80px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .ades { padding: 100px 0; }
  .ades__grid { grid-template-columns: 1fr; gap: 28px; }
  .ades__loghi { margin-top: 64px; gap: 28px 36px; }
  .ades__loghi img { height: 48px; }
  .ades__loghi .ades__psr { height: 52px; }
  .sheet { padding: 20px 20px 56px; }
  .negozi { grid-template-columns: 1fr; }
  .negozio { padding: 22px 22px 20px; }
  .negozio__nome { font-size: 28px; }
  .sheet__sub { margin-top: 56px; }

  .dock {
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px;
    padding: 14px 14px 14px 18px; border-radius: 22px;
  }
  .dock__sum { display: grid; gap: 2px; }
  .dock__amount { font-size: 24px; }
  .dock__of { font-size: 13px; }
  .dock__bar { grid-column: 1 / -1; grid-row: 2; gap: 6px; }
  .dock__pct { font-size: 18px; }
  .bar { height: 6px; }
  .dock .pill { min-height: 44px; padding: 10px 16px; }
}

/* Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar__fill, .dock, .pill, .luogo__detail, .luogo__inner > *, .passi__name { transition: none; }
}
