/* ==========================================================================
   AGRIMEDIA — landing provvisoria
   Stile ripreso dal progetto Figma "AGRIMEDIA 2026" (design Dexa)
   Scala: il design è a 1920px; 1rem = 10px a 1920 e scala in proporzione.
   Sotto i 960px il layout passa alla versione mobile.
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Token ---------- */
:root {
  --verde-scuro: #205045;      /* Pantone 7729 C */
  --verde-scuro-2: #00513f;
  --verde: #8dce67;            /* Pantone 7487 C */
  --verde-medio: #aee78d;
  --verde-pallido: #e0f6d1;
  --verde-card: #f4faf0;
  --lime: #e9fe53;
  --arancio: #e98d2c;
  --ink: #1f1f1f;
  --nero: #232222;
  --bianco: #ffffff;

  --f-display: "Aileron", "Helvetica Neue", Arial, sans-serif;
  --f-testo: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --raggio-pill: 3.4rem;
}

/* 1rem = 10px @1920, proporzionale altrove */
html { font-size: calc(100vw / 192); }
@media (max-width: 960px) { html { font-size: 10px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bianco);
  color: var(--ink);
  font-family: var(--f-testo);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.15;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

a, button, input, select, textarea, label { touch-action: manipulation; }

::selection { background: var(--lime); color: var(--ink); }

/* Focus visibile da tastiera: doppio anello, leggibile su qualsiasi sfondo */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--verde-scuro-2);
  border-radius: 4px;
}

/* Link "salta al contenuto" per chi naviga da tastiera */
.salta {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 200;
  background: var(--verde-scuro);
  color: #fff;
  font-family: var(--f-testo);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 30px;
  transition: top .2s;
}
.salta:focus { top: 14px; }

.solo-sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: absolute;
  top: 7rem; left: 5rem; right: 5rem;
  height: 7rem;
  display: flex;
  align-items: center;
  z-index: 40;
}
.header--pagina { position: relative; top: 0; left: 0; right: 0; margin: 7rem 5rem 0; }

.header__logo img { height: 4.2rem; width: auto; }

/* Il menu resta nella metà sinistra: la foto dell'hero ha una fascia
   bianca verticale fra il 66,7% e il 71,7% della larghezza, e un angolo
   tagliato oltre il 96,2%. Spostarlo più a destra lo farebbe finire lì sopra. */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4.4rem;
  margin-left: 26rem;
  font-family: var(--f-display);
  font-size: 1.7rem;
  letter-spacing: .015em;
  color: var(--ink);
  /* alone impercettibile: tiene le voci leggibili anche sui punti scuri della foto */
  text-shadow: 0 1px 3px rgba(255, 255, 255, .55);
}
.header__nav a {
  position: relative;
  white-space: nowrap;
  padding-bottom: .7rem;
  transition: color .2s;
}
/* sottolineatura che cresce da sinistra */
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--verde-scuro);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease-out;
}
.header__nav a:hover,
.header__nav a:focus-visible { color: var(--verde-scuro); }
.header__nav a:hover::after,
.header__nav a:focus-visible::after { transform: scaleX(1); }
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__nav .presto {
  position: relative;
  padding-bottom: .7rem;
  opacity: .5;
  pointer-events: none;
}

/* burger — solo mobile */
.header__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  position: relative;
  z-index: 60;
}
.header__burger span {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--ink);
  transition: transform .3s, opacity .3s, background .3s;
}
.header__burger span:nth-child(1) { top: 14px; }
.header__burger span:nth-child(2) { top: 21px; }
.header__burger span:nth-child(3) { top: 28px; }
body.menu-aperto .header__burger span { background: #fff; }
body.menu-aperto .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-aperto .header__burger span:nth-child(2) { opacity: 0; }
body.menu-aperto .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0;
  background: var(--verde-scuro);
  display: flex; flex-direction: column;
  justify-content: center; gap: 28px;
  padding: 40px;
  z-index: 50;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
body.menu-aperto .menu-mobile { opacity: 1; visibility: visible; }
.menu-mobile a {
  font-family: var(--f-display);
  font-size: 32px; color: #fff;
}
.menu-mobile a.presto { opacity: .4; pointer-events: none; }

/* ==========================================================================
   Bottoni pill (design: pill 7rem + cerchio freccia)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--f-testo);
}
.btn__pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 7rem; padding: 0 3.2rem;
  border-radius: var(--raggio-pill);
  font-weight: 700; font-size: 2.1rem;
  white-space: nowrap;
}
.btn__cerchio {
  width: 7rem; height: 7rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.btn__cerchio svg { width: 2rem; height: 2rem; }
.btn:hover .btn__cerchio svg { transform: translate(2px, -2px); }
.btn__cerchio svg { transition: transform .25s; }

.btn .btn__pill, .btn .btn__cerchio { transition: background-color .2s, color .2s; }
.btn:active { transform: scale(.98); }

.btn--outline .btn__pill,
.btn--outline .btn__cerchio { border: 2px solid var(--ink); color: var(--ink); }
.btn--outline:hover .btn__pill { background: rgba(31, 31, 31, .07); }
.btn--pieno .btn__pill,
.btn--pieno .btn__cerchio { background: var(--verde-scuro); color: #fff; }
.btn--pieno:hover .btn__pill,
.btn--pieno:hover .btn__cerchio { background: var(--verde-scuro-2); }
.btn--verde .btn__pill,
.btn--verde .btn__cerchio { background: var(--verde); color: var(--verde-scuro); }
.btn--verde:hover .btn__pill,
.btn--verde:hover .btn__cerchio { background: var(--verde-medio); }

.freccia { stroke: currentColor; stroke-width: 2; fill: none; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  height: 108.3rem;
  background: var(--bianco);
}
.hero__figura,
.hero__ombra {
  position: absolute;
  top: 0; bottom: 0;
  left: -2.5%; width: 102.5%;
}
.hero__figura { object-fit: cover; height: 100%; }
.hero__ombra {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.49));
  background-repeat: no-repeat;
  background-size: 71.6% 47.6%;
  background-position: left bottom;
  -webkit-mask-image: url("../assets/img/hero.webp");
  mask-image: url("../assets/img/hero.webp");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hero__titolo {
  position: absolute;
  left: 8.2rem; bottom: 11.6rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 7rem;
  line-height: 1.2;
  color: #fff;
  z-index: 2;
}
/* ==========================================================================
   Chi siamo
   ========================================================================== */
.chisiamo { padding: 17.4rem 0 0; }
.chisiamo__griglia {
  display: grid;
  grid-template-columns: 1fr 43rem;
  gap: 4rem;
  padding: 0 29rem 0 6.4rem;
  align-items: start;
}
.chisiamo__titolo {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 10.1rem;
  line-height: 1.119;
  letter-spacing: -.02em;
  text-align: right;
}
.evidenzia {
  display: inline-block;
  padding: 0 3.2rem;
  border-radius: 7.05rem;
  line-height: 1.32;
}
.evidenzia--lime { background: var(--lime); }
.evidenzia--verde { background: var(--verde); }

.chisiamo__colonna { padding-top: 15rem; }
.chisiamo__testo {
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.25;
  max-width: 36.1rem;
}
.chisiamo__cta { margin-top: 4.6rem; }

.sezione__etichetta {
  font-family: var(--f-display);
  font-size: 7rem;
  letter-spacing: -.02em;
  padding: 15rem 0 6rem 8.5rem;
}

/* ==========================================================================
   Categorie prodotti
   ========================================================================== */
.categorie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.5rem 1.8rem;
  padding: 0 3rem;
}
.categoria { display: flex; flex-direction: column; }
.categoria__foto {
  position: relative;
  height: 50.2rem;
  overflow: hidden;
}
.categoria__foto img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.categoria__pannello {
  position: relative;
  height: 29.6rem;
  padding: 6.2rem 5.5rem 0;
}
.categoria__pannello--foglia {
  border-radius: 13.5rem 14.8rem 0 13.4rem;
  padding-left: 6.6rem;
}
.categoria__nome {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 3.7rem;
  line-height: 1.054;
  text-transform: uppercase;
  min-height: 7.8rem;   /* allinea le descrizioni tra titoli a 1 e 2 righe */
}
.categoria__desc {
  margin-top: 4rem;
  font-size: 2rem;
  line-height: 1.15;
  max-width: 31.8rem;
}
.categoria__freccia {
  position: absolute;
  right: 5.8rem; bottom: 9.5rem;
  width: 4rem; height: 4rem;
}
.categoria__freccia .freccia { stroke-width: 3; width: 100%; height: 100%; }

.cat--verde   { background: var(--verde); color: var(--ink); }
.cat--arancio { background: var(--arancio); color: var(--ink); }
.cat--scuro   { background: var(--verde-scuro); color: #fff; }
.cat--lime    { background: var(--lime); color: var(--ink); }
.cat--pallido { background: var(--verde-pallido); color: var(--ink); }
.cat--medio   { background: var(--verde-medio); color: var(--ink); }

/* ==========================================================================
   Soluzioni per settore
   ========================================================================== */
.soluzioni {
  position: relative;
  background: var(--verde-scuro);
  min-height: 114.4rem;
  margin-top: 12rem;
  padding: 27.2rem 0 8rem;
  overflow: hidden;
}
.soluzioni__griglia {
  display: grid;
  grid-template-columns: 55rem 61rem 1fr;
  padding: 0 5rem 0 8.6rem;
  align-items: start;
}
.soluzioni__titolo {
  font-family: var(--f-display);
  font-size: 7rem;
  line-height: 1.1;
  color: var(--verde);
  margin-top: -2rem;
}
.soluzioni__lista {
  list-style: none;
  margin: 32rem 0 0; padding: 0;
  position: relative;
}
.soluzioni__lista li { position: relative; padding: 0 0 3.5rem 6rem; }
.soluzioni__lista li:last-child { padding-bottom: 0; }
.soluzioni__lista li::before {           /* pallino */
  content: "";
  position: absolute; left: 0; top: .9rem;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  border: 1px solid var(--verde);
}
.soluzioni__lista li::after {            /* linea verticale */
  content: "";
  position: absolute; left: .7rem; top: 3.2rem; bottom: .9rem;
  width: 1px; background: rgba(141, 206, 103, .5);
}
.soluzioni__lista li:last-child::after { display: none; }
.soluzioni__lista button {
  font-family: var(--f-display);
  font-size: 3.4rem;
  line-height: 1;
  color: #97c67b;
  opacity: .65;
  padding: .4rem 0;
  transition: opacity .2s;
}
.soluzioni__lista li.attivo button,
.soluzioni__lista button:hover,
.soluzioni__lista button:focus-visible { opacity: 1; }
.soluzioni__lista li.attivo::before { background: var(--verde); border-color: var(--verde); }

.soluzioni__foto {
  width: 60.9rem; height: 80rem;
  object-fit: cover;
  margin-top: 8.8rem;
}
.soluzioni__pannello {
  position: relative;
  width: 60.9rem; height: 80rem;
  margin-left: 1rem;
  background: var(--verde);
  border-radius: 0 20rem 0 20rem;
  padding: 7.2rem 8rem 0;
  color: var(--verde-scuro);
  overflow: hidden;
}
.soluzioni__pannello h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 3.7rem;
  line-height: 1.054;
}
.soluzioni__pannello p {
  margin-top: 2.5rem;
  font-size: 2rem;
  line-height: 1.15;
  max-width: 38.8rem;
}
.soluzioni__deco { position: absolute; pointer-events: none; }
.soluzioni__deco--1 { width: 22.9rem; left: 18.6rem; top: 30.8rem; }
.soluzioni__deco--2 { width: 24rem; left: 19rem; top: 68rem; transform: rotate(-60deg); }
.soluzioni__deco--3 { width: 24.5rem; left: -1rem; top: 59rem; transform: rotate(-52deg); }

/* ==========================================================================
   Impegno
   ========================================================================== */
.impegno {
  position: relative;
  text-align: center;
  padding: 19rem 0 17rem;
}
.impegno__titolo {
  font-family: var(--f-display);
  font-size: 10.1rem;
  line-height: 1.119;
  letter-spacing: -.02em;
  margin: 0 auto;
  max-width: 130rem;
}

/* ==========================================================================
   Guida alla scelta (split)
   ========================================================================== */
.guida { display: grid; grid-template-columns: 1fr 1fr; }
.guida__sx {
  background: var(--lime);
  padding: 12.3rem 6rem 8rem 9.4rem;
  position: relative;
}
.guida__titolo {
  font-family: var(--f-display);
  font-size: 7rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.guida__foto {
  width: 32.4rem; height: 37rem;
  object-fit: cover;
  margin-top: 5rem;
}
.guida__numero {
  font-family: var(--f-display);
  font-size: 12rem;
  line-height: .95;
  letter-spacing: -.02em;
  margin-top: 4.5rem;
}
.guida__cosa {
  font-family: var(--f-display);
  font-size: 3.4rem;
  letter-spacing: -.02em;
  margin-top: .5rem;
}
.guida__testo {
  font-family: var(--f-display);
  font-size: 3.4rem;
  line-height: 1.09;
  letter-spacing: -.02em;
  margin-top: .8rem;
  max-width: 56rem;
}
.guida__cta { margin-top: 8.5rem; }
.guida__dx img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Barra loghi partner
   ========================================================================== */
.partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4.5rem 2rem 4.8rem;
  border-top: 1px solid #e8e8e8;
}
.partner > * {
  flex: 0 0 auto;
  opacity: .5;
  filter: grayscale(1) sepia(.35) hue-rotate(100deg) saturate(.55);
}
.partner img { max-height: 5.9rem; width: auto; }
.partner__dtect img { height: 3.2rem; }
.partner__bachmann img { height: 1.2rem; }
.partner__jiffy img { height: 4.9rem; }
.partner__epla img { height: 5.1rem; }
.partner__desch img { height: 4rem; }

/* Greenworld: logo composto (pezzi esportati da Figma) */
.partner__greenworld {
  position: relative;
  width: 13.9rem; height: 6.9rem;
}
.partner__greenworld img { position: absolute; max-height: none; height: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  background: var(--verde);
  color: var(--ink);
  padding: 8.9rem 0 0;
  overflow: hidden;
  min-height: 60rem;
}
.footer__brand {
  font-family: var(--f-display);
  font-size: 5.7rem;
  letter-spacing: -.02em;
  padding-left: 6.6rem;
}
.footer__cta { margin-top: 4rem; padding-left: 6.3rem; }

.footer__colonne {
  position: absolute;
  top: 8.9rem; right: 6rem;
  display: flex;
  gap: 6rem;
  font-size: 1.4rem;
  line-height: 1.29;
}
.footer__col h4 {
  margin: 0 0 .2rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
}
.footer__col p, .footer__col a { display: block; font-weight: 400; margin: 0; }
.footer__col a:hover { text-decoration: underline; }
.footer__legal a { display: block; font-weight: 700; }
.footer__legal a:hover { text-decoration: underline; }
.footer__credit { margin-top: 5rem; font-family: var(--f-display); }

.footer__dati {
  margin: 6rem 0 0 6.6rem;
  font-size: 1.4rem;
  line-height: 1.29;
  position: relative;
  z-index: 2;
}
.footer__dati p + p { margin-top: 1.8rem; }
.footer__dati a:hover { text-decoration: underline; }

.footer__wordmark {
  display: block;
  width: 75%;
  aspect-ratio: 1520 / 233;   /* riserva lo spazio: niente salti di layout */
  height: auto;
  margin: 4rem 1rem -3.5% auto;
  pointer-events: none;
}

/* ==========================================================================
   CONTATTI
   ========================================================================== */

/* barra ticker */
.ticker {
  background: rgba(141, 207, 103, .1);
  height: 5.7rem;
  overflow: hidden;
  position: relative;
}
.ticker__scorri {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 6rem;
  width: max-content;
  animation: ticker 40s linear infinite;
  padding-left: 2rem;
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__voce {
  display: inline-flex; align-items: center; gap: 1.6rem;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--verde-scuro);
  white-space: nowrap;
}
.ticker__voce svg { width: 2.8rem; height: 2.8rem; flex: 0 0 auto; }

.briciole {
  padding: 6rem 0 0 15.8rem;
  font-weight: 400;
  font-size: 1.6rem;
}
.briciole b { font-weight: 700; }

/* hero contatti */
.contatti-hero {
  position: relative;
  padding: 6rem 0 8rem;
  display: grid;
  grid-template-columns: 60rem 1fr;
}
.contatti-hero__recapiti { padding-left: 7.5rem; }
.contatti-hero__recapiti .nome { font-weight: 700; font-size: 2rem; }
.contatti-hero__recapiti .via { font-weight: 400; font-size: 2rem; line-height: 1.5; margin-top: .5rem; }
.recapito {
  display: flex; align-items: center; gap: 1.4rem;
  height: 7rem;
  width: 29.4rem;
  border-radius: var(--raggio-pill);
  padding: 0 2.6rem;
  font-weight: 700; font-size: 2.1rem;
  margin-top: 2.2rem;
  transition: transform .2s, background-color .2s;
}
.recapito:first-of-type { margin-top: 3.4rem; }
.recapito:hover { transform: translateY(-2px); }
.recapito--mail { background: #fff; border: 2px solid var(--verde-scuro-2); }
.recapito--tel { background: var(--verde-scuro-2); color: #fff; }
.recapito--tel .prefisso { opacity: .5; }
.recapito img, .recapito svg { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; }

.contatti-hero__titolo {
  font-family: var(--f-display);
  font-size: 10.1rem;
  line-height: 1.19;
  letter-spacing: -.02em;
  padding-top: 4rem;
}
.contatti-hero__titolo .evidenzia { line-height: 1.22; padding: 0 4rem; }

/* form */
.form-sezione {
  background: var(--verde-scuro);
  color: #fff;
  padding: 6.6rem 15.8rem 10rem;
}
.form-sezione__titolo {
  font-family: var(--f-display);
  font-size: 7rem;
  letter-spacing: -.02em;
  color: var(--verde);
  text-align: center;
  margin-bottom: 8rem;
}
.form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6.5rem 3.5rem; }
.campo { display: flex; flex-direction: column; }
.campo--2 { grid-column: span 2; }
.campo--4 { grid-column: span 4; }
.campo label {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.campo input, .campo select, .campo textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-family: var(--f-testo);
  font-weight: 300;
  font-size: 2rem;
  padding: 0 0 1.6rem;
  outline: none;
  border-radius: 0;
}
.campo select option { color: var(--ink); }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(255,255,255,.85); }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-bottom-color: var(--verde); }
.campo textarea { resize: vertical; min-height: 9rem; }

/* validazione inline: sottolineatura arancio dopo che l'utente ha interagito */
.campo input:user-invalid, .campo textarea:user-invalid { border-bottom-color: var(--arancio); }

.consensi {
  grid-column: span 4;
  display: flex; flex-wrap: wrap; gap: 3rem 12rem;
  margin-top: 1rem;
}
.consenso { display: flex; align-items: flex-start; gap: 1.8rem; font-size: 2rem; }
.consenso input {
  appearance: none;
  width: 1.7rem; height: 1.8rem;
  min-width: 14px; min-height: 14px;
  border: 1px solid #fff;
  border-radius: .5rem;
  margin-top: .3rem;
  cursor: pointer;
  position: relative;
}
.consenso input:checked { background: var(--verde); border-color: var(--verde); }
.consenso a { text-decoration: underline; }

.form__invia { grid-column: span 4; justify-self: center; margin-top: 2rem; }
.form__invia .btn__pill { padding: 0 4.4rem; }
.form__esito {
  grid-column: span 4;
  text-align: center;
  font-size: 1.8rem;
  color: var(--verde);
  min-height: 1.2em;
}

/* ==========================================================================
   Responsive — mobile / tablet (≤960px)
   ========================================================================== */
@media (max-width: 960px) {
  body { font-size: 17px; line-height: 1.4; }

  /* header */
  .header { top: 18px; left: 20px; right: 20px; height: 48px; }
  .header--pagina { margin: 18px 20px 0; }
  .header__logo img { height: 34px; }
  .header__nav { display: none; }
  .header__burger { display: block; }

  .btn__pill { height: 54px; padding: 0 24px; font-size: 17px; }
  .btn__cerchio { width: 54px; height: 54px; }
  .btn__cerchio svg { width: 16px; height: 16px; }

  /* hero */
  .hero { height: 78vh; min-height: 480px; }
  .hero__figura, .hero__ombra { left: 0; width: 100%; }
  .hero__figura { object-position: 18% center; }
  .hero__ombra {
    -webkit-mask-image: none; mask-image: none;
    background-size: 100% 60%;
  }
  .hero__titolo { left: 20px; right: 20px; bottom: 96px; font-size: 30px; }

  /* chi siamo */
  .chisiamo { padding-top: 70px; }
  .chisiamo__griglia { grid-template-columns: 1fr; padding: 0 20px; gap: 28px; }
  .chisiamo__titolo { font-size: 34px; text-align: left; }
  .evidenzia { padding: 0 14px; border-radius: 40px; }
  .chisiamo__colonna { padding-top: 0; }
  .chisiamo__testo { max-width: none; font-size: 17px; }
  .chisiamo__cta { margin-top: 24px; }
  .sezione__etichetta { font-size: 34px; padding: 60px 20px 24px; }

  /* categorie */
  .categorie { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .categoria__foto { height: 62vw; max-height: 420px; }
  .categoria__pannello { height: auto; padding: 26px 24px 72px; }
  .categoria__pannello--foglia { border-radius: 60px 66px 0 60px; padding-left: 28px; }
  .categoria__nome { font-size: 24px; min-height: 0; }
  .categoria__desc { margin-top: 14px; font-size: 16px; max-width: none; }
  .categoria__freccia { right: 22px; bottom: 22px; width: 26px; height: 26px; }

  /* soluzioni */
  .soluzioni { min-height: 0; margin-top: 34px; padding: 60px 0; }
  .soluzioni__griglia { grid-template-columns: 1fr; padding: 0 20px; gap: 30px; }
  .soluzioni__titolo { font-size: 34px; margin-top: 0; }
  .soluzioni__lista { margin-top: 10px; }
  .soluzioni__lista li { padding: 0 0 22px 34px; }
  .soluzioni__lista li::before { width: 12px; height: 12px; top: 6px; }
  .soluzioni__lista li::after { left: 6px; top: 24px; bottom: 6px; }
  .soluzioni__lista button { font-size: 22px; }
  .soluzioni__foto { width: 100%; height: 56vw; max-height: 420px; margin-top: 0; }
  .soluzioni__pannello { width: 100%; height: auto; margin: 0; padding: 34px 28px 46px; border-radius: 0 90px 0 90px; }
  .soluzioni__pannello h3 { font-size: 24px; }
  .soluzioni__pannello p { font-size: 16px; max-width: 75%; }
  .soluzioni__deco--1 { width: 110px; right: 10px; bottom: 10px; }
  .soluzioni__deco--2, .soluzioni__deco--3 { display: none; }

  /* impegno */
  .impegno { padding: 70px 20px 70px; }
  .impegno__titolo { font-size: 32px; }

  /* guida */
  .guida { grid-template-columns: 1fr; }
  .guida__sx { padding: 50px 20px; }
  .guida__titolo { font-size: 32px; }
  .guida__foto { width: 180px; height: 205px; margin-top: 26px; }
  .guida__numero { font-size: 64px; margin-top: 26px; }
  .guida__cosa, .guida__testo { font-size: 22px; }
  .guida__cta { margin-top: 34px; }
  .guida__dx { height: 60vw; max-height: 480px; }

  /* partner */
  .partner { flex-wrap: wrap; justify-content: center; gap: 26px 34px; padding: 30px 20px; }
  .partner img { max-height: 34px; }
  .partner__dtect img { height: 22px; }
  .partner__bachmann img { height: 10px; }
  .partner__jiffy img { height: 30px; }
  .partner__epla img { height: 30px; }
  .partner__desch img { height: 24px; }
  .partner__greenworld { transform: scale(.62); margin: -10px -24px; }

  /* footer */
  .footer { padding-top: 44px; min-height: 0; }
  .footer__brand { font-size: 30px; padding-left: 20px; }
  .footer__cta { padding-left: 20px; margin-top: 22px; }
  .footer__colonne {
    position: static;
    padding: 36px 20px 0;
    flex-wrap: wrap;
    gap: 26px 40px;
    font-size: 14px;
  }
  .footer__col h4 { font-size: 14px; }
  .footer__credit { margin-top: 10px; }
  .footer__dati { margin: 30px 0 0 20px; font-size: 14px; }
  .footer__wordmark { width: 96%; margin: 26px 0 -4% auto; }

  /* contatti */
  .ticker__voce { font-size: 12px; }
  .ticker__voce svg { width: 20px; height: 20px; }
  .briciole { padding: 22px 0 0 20px; }
  .contatti-hero { grid-template-columns: 1fr; padding: 10px 0 40px; }
  .contatti-hero__titolo { font-size: 38px; padding: 26px 20px 0; order: -1; }
  .contatti-hero__titolo .evidenzia { padding: 0 18px; }
  .contatti-hero__recapiti { padding: 30px 20px 0; }
  .recapito { width: 100%; max-width: 320px; height: 56px; font-size: 17px; }
  .form-sezione { padding: 44px 20px 60px; }
  .form-sezione__titolo { font-size: 32px; margin-bottom: 40px; }
  .form { grid-template-columns: 1fr; gap: 34px; }
  .campo--2, .campo--4, .consensi, .form__invia, .form__esito { grid-column: span 1; }
  .consensi { gap: 18px; }
  .consenso { font-size: 15px; }
}

@media (min-width: 961px) and (max-width: 1240px) {
  .footer__colonne { gap: 3.4rem; }
}

/* ==========================================================================
   Riduzione del movimento (accessibilità)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker__scorri { animation: none; }
}
