/* ============================
   DOP&IGP — Osservatorio MEIA
   Desktop-first (1440 → 1024 → 768 → 375)
   ============================ */

/* ---- Variables ---- */
:root {
  --c-green: #2d4a2d;
  --c-black: #1a1a18;
  --c-olive: #899065;
  --c-light: #d9d9d7;
  --c-beige: #edede9;
  --c-input: #f4f4f0;
  --c-white: #ffffff;

  --ff: 'Inter', system-ui, -apple-system, Arial, sans-serif;

  --gutter: 30px;
  --gap-x: 12px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.625;
  letter-spacing: -0.002em;
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea { font: inherit; color: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--c-black); }
.h1 {
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.h2 {
  font-size: 56px;
  line-height: 58px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.h3 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.h4 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-weight: 700;
}
.eyebrow { /* h5 / T2 — uppercase tag */
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow--sm {
  font-size: 10px;
  letter-spacing: 0.18em;
}
.text { font-size: 16px; line-height: 1.625; letter-spacing: -0.002em; font-weight: 500; }

/* ---- Text color helpers ---- */
.t-green { color: var(--c-green); }
.t-olive { color: var(--c-olive); }
.t-white { color: var(--c-white); }
.br-mb { display: none; }

/* ---- Heading reveal mask ---- */
.reveal-line {
  display: block;
  overflow: hidden;
  /* запас, чтобы хвостики букв g, y, p не подрезались маской */
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  max-width: 100%;
}
.reveal-line__inner {
  display: inline-block;
  will-change: transform;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid var(--c-green);
  color: var(--c-black);
  background: transparent;
  border-radius: 0;
  transition: background .2s ease;
}
.btn:hover { background: var(--c-beige); color: var(--c-black); }

.btn--solid { background: var(--c-green); color: var(--c-white); border-color: var(--c-green); }
.btn--solid:hover { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }

.btn--light { border-color: var(--c-light); }

/* ---- Tag chip ---- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--c-light);
  font-size: 12px;
  line-height: 1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-black);
}
.chip--on-dark { background: rgba(255,255,255,.12); color: var(--c-white); }

/* ---- Link with arrow + animated underline ---- */
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--c-green);
  transition: opacity .25s ease;
}
.link-arrow__icon {
  width: 10px; height: 10px;
  display: block;
}
.link-arrow::before,
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.link-arrow::before {
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .25s ease .25s;
}
.link-arrow::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.link-arrow:hover { opacity: .6; }
.link-arrow:hover::before {
  transform: scaleX(0);
  transition-delay: 0s;
}
.link-arrow:hover::after {
  transform: scaleX(1);
  transition-delay: .25s;
}
.link-arrow--light { color: var(--c-white); }
.link-arrow--light .link-arrow__icon { filter: brightness(0) invert(1); }

/* ---- Section heading row: line above + chip below ---- */
.section-head {
  display: flex;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--c-light);
  margin-bottom: 48px;
}
.section-head--center { justify-content: center; }

body.no-scroll { overflow: hidden; }

/* ============================
   HEADER
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid #e9e9e8;
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.header__left { display: flex; align-items: center; gap: 40px; }
.header__logo { display: inline-flex; align-items: center; }
.header__logo-img { height: 36px; width: auto; display: block; }
.header__nav { display: flex; align-items: center; gap: 24px; }
.header__nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-black);
  line-height: 1;
  transition: color .2s;
}
.header__nav a:hover { color: var(--c-green); }
.header__nav .nav-only-mobile { display: none; }
.caret {
  width: 8px; height: auto;
  display: block;
  transition: transform .25s ease;
}
.header__nav-item.has-sub:hover .caret { transform: rotate(180deg); }
.header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.header__submenu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 240px;
  padding: 12px;
  margin-top: 12px;
  background: var(--c-white);
  border: 1px solid #e9e9e8;
  display: flex; flex-direction: column;
  gap: 4px;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1;
}
.header__submenu a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.header__submenu a:hover { background: var(--c-beige); color: var(--c-black); }
.header__nav-item.has-sub:hover .header__submenu,
.header__nav-item.has-sub:focus-within .header__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.header__cta { white-space: nowrap; }
.header__burger {
  display: none;
  width: 50px; height: 50px;
  border: 1px solid #d8d0bf;
  border-radius: 50%;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
}
.header__burger span {
  display: block; width: 20px; height: 1px;
  background: #1f1d18;
  transition: transform .25s ease, opacity .2s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero { padding: 80px 0 0; }
.hero--page { padding: 40px 0 0; }
.hero__title { max-width: 1500px; margin: 0 0 32px; }
.hero__cta { margin-bottom: 32px; }
.hero__media {
  position: relative;
  height: 540px;
  background-color: var(--c-light);
  overflow: hidden;
}
.hero__media-img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* ============================
   INTRO — Sul progetto
   ============================ */
.intro { padding: 96px 0 0; }
.intro__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro__chip { margin-bottom: 52px; transform: rotate(-4deg); }
.intro__title {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
}
.intro__text {
  margin: 0 0 52px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.625;
  letter-spacing: -0.002em;
}

/* ============================
   PRODOTTI — 4 cards
   ============================ */
.prodotti { padding: 120px 0 0; }

.prodotti__slider { overflow: hidden; margin-bottom: 60px; }
.prodotti__slider .swiper-wrapper { align-items: stretch; }
.prodotti__slider .swiper-slide.prodotto:not(:last-child) {
  border-right: 1px solid var(--c-light);
}

.prodotto {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prodotto__img {
  display: block;
  background: var(--c-white) center / contain no-repeat;
  width: 100%;
  height: 230px;
  flex-shrink: 0;
}
.prodotto__title { margin: 0; font-size: 44px; line-height: 1; letter-spacing: -0.034em; font-weight: 600; max-width: 90%; }
.prodotto__sub   { margin: 0; color: var(--c-olive); font-size: 16px; line-height: 1.625; }

/* unified layout: header (title+sub) → image → actions */
a.prodotto__row,
a.prodotto__row:hover,
a.prodotto__row:visited { color: inherit; text-decoration: none; }
.prodotto__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: flex-start;
  column-gap: 10px;
  row-gap: 0;
  flex-shrink: 0;
  min-height: 145px;
}
.prodotto__img {
  display: block;
  width: 100%;
  height: 202px;
  flex-shrink: 0;
  background: var(--c-white) center / contain no-repeat;
  margin: 24px 0;
}
.prodotto__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-shrink: 0;
  margin-top: auto;
}

.prodotti__controls { display: flex; gap: 12px; justify-content: center; }
.arrow.is-disabled { opacity: .35; pointer-events: none; }

/* CTA "Scopri di più" под карточкой — только мобилка */
.prodotto__cta { display: inline-flex; }
.arrow {
  width: 40px; height: 40px;
  padding: 0;
  background: url('../img/arrow_bg-base.svg') center / contain no-repeat;
  transition: background-image .2s ease;
}
.arrow:hover,
.arrow:focus-visible {
  background-image: url('../img/arrow_bg-active.svg');
}
.arrow--prev { transform: scaleX(-1); }

/* ============================
   STRATEGIE — green block
   ============================ */
.strategie { padding: 80px 0 0; }
.strategie__inner {
  position: relative;
  height: 750px;
  background-color: var(--c-green);
  color: var(--c-white);
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.strategie__bg {
  position: absolute;
  left: 0; top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: transform;
}
.strategie__inner > *:not(.strategie__bg) { position: relative; z-index: 1; }
.strategie__title { color: var(--c-white); margin: 0 auto 24px; max-width: 820px; }
.strategie__text  { margin: 0 auto 40px; max-width: 640px; font-size: 16px; line-height: 1.625; }
.strategie__cta { color: var(--c-white); }

/* ============================
   ESPERTI
   ============================ */
.esperti { padding: 80px 0 0; }
.esperti__slider { overflow: hidden; }
.esperti__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}
.esperti__controls { display: flex; gap: 12px; }
.esperto h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 4px; max-width: 84%; }
.esperto p { margin: 0; color: var(--c-black); font-size: 14px; }
.esperto__img {
  display: block;
  height: auto;
  aspect-ratio: 3 / 4;
  background: var(--c-light) center/cover no-repeat;
  margin-bottom: 16px;
}
.esperto__img--placeholder {
  background-color: var(--c-beige);
  background-image: url('../img/people.svg');
  background-size: 48px 48px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================
   FAQ
   ============================ */
.faq {
  padding: 160px 0 96px;
  position: relative;
  overflow: hidden;
}
.faq__bg {
  position: absolute;
  left: -80px;
  bottom: -30px;
  width: 475px;
  height: auto;
  display: block;
  pointer-events: none;
}
.faq__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
  align-items: start;
}
.faq__aside { grid-column: span 4; position: relative; z-index: 2; }
.faq__aside .chip { transform: rotate(-4deg); }
.faq__list  { grid-column: 5 / -1; }
.faq__list { border-top: 1px solid var(--c-light); position: relative; z-index: 2; }
.faq__bg { z-index: 0; }
.faq__item { border-bottom: 1px solid var(--c-light); }
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: url('../img/arrow_border-base.svg') center / contain no-repeat;
  transition: transform .25s ease;
}
.faq__item summary:hover .faq__toggle,
.faq__item[open] .faq__toggle {
  background-image: url('../img/arrow_border-active.svg');
}
.faq__item[open] .faq__toggle {
  transform: rotate(90deg);
}
.faq__item[open] summary .h4 { color: var(--c-green); }
.faq__answer { color: var(--c-black); }
.faq__answer p { margin: 0; padding: 0 0 24px; }

/* ============================
   NOTIZIE
   ============================ */
.notizie { padding: 96px 0 0; }
.swipe-hint {
  display: none;
  justify-content: flex-end;
  margin: 0 0 0 auto;
}
.swipe-hint__icon {
  display: block;
  width: 32px;
  height: auto;
  animation: swipeFinger 1.6s ease-in-out infinite;
}
@keyframes swipeFinger {
  0%, 100% { transform: translateX(0) rotate(0); }
  50%      { transform: translateX(-30px) rotate(-12deg); }
}
.notizie__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(356px, 1fr);
  gap: var(--gap-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.notizie__grid > .news { scroll-snap-align: start; }
.news__img {
  display: block;
  height: auto;
  aspect-ratio: 452 / 256;
  background: var(--c-light) center/cover no-repeat;
  margin-bottom: 12px;
}
.news__date { color: var(--c-green); display: block; margin-bottom: 12px; }
.news__title { margin: 0 0 4px; }
.news__title a { transition: color .2s; }
.news__title a:hover { color: var(--c-green); }
.news p { margin: 0; }
.is-clickable { cursor: pointer; }
@media (hover: hover) {
  .is-clickable,
  .is-clickable * { cursor: none; }
}

/* ---- Custom cursor (hover на интерактивных карточках) ---- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 88px; height: 88px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  will-change: transform;
}
.cursor img {
  width: 100%; height: 100%;
  display: block;
}
@media (hover: none) {
  .cursor { display: none; }
}

/* ============================
   CONTATTI / form
   ============================ */
.contatti { padding: 120px 0 96px; }
.contatti__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
  align-items: start;
}
.contatti__left { grid-column: span 4; }
.contatti__form {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: subgrid;
  row-gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--name  { grid-column: span 4; grid-row: 1; }
.field--email { grid-column: span 4; grid-row: 2; }
.field--msg   { grid-column: 5 / span 4; grid-row: 1 / span 2; }
.field--msg textarea { flex: 1; min-height: 147px; }
.field--consent { grid-column: 1 / -1; margin-top: 8px; }
.contatti__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
  padding-left: 0;
  padding-right: 0;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field input, .field textarea {
  background: var(--c-input);
  border: 0;
  padding: 16px 20px;
  font-size: 16px;
  resize: vertical;
  outline: none;
  transition: box-shadow .2s;
  font-family: var(--ff);
}
.field input { height: 53px; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--c-green); }

/* ---- Custom checkbox ---- */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.58;
  cursor: pointer;
}
.check input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.check__box {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 2.5px;
  background: var(--c-olive);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  transition: background-color .2s;
}
.check input:checked + .check__box {
  background-image: url('../img/check.svg');
}
.check input:focus-visible + .check__box {
  outline: 2px solid var(--c-green);
  outline-offset: 2px;
}
.check__text { flex: 1; }

/* ============================
   FOOTER
   ============================ */
.footer {
  padding: 30px 0;
}
.footer a { transition: opacity .2s; }
.footer a:hover { opacity: .7; }

.footer__inner {
  background: var(--c-olive);
  color: var(--c-white);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
}
.footer__partner {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  margin-bottom: 40px;
}
.footer__partner > .footer__label { grid-column: span 1; }
.footer__partner > .footer__logos { grid-column: span 7; }
.footer__label { color: var(--c-white); display: block; }
.footer__partner > .footer__label { margin-left: -16px; }
.footer__logos {
  display: flex;
  gap: var(--gap-x);
  flex-wrap: nowrap;
}
.footer__logos li {
  background: var(--c-white);
  flex: 1 1 0;
  min-width: 0;
  max-width: 109px;
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer__logos img { max-height: 32px; width: auto; object-fit: contain; }

.footer__grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  padding-top: 32px;
  padding-bottom: 56px;
  border-top: 1px solid var(--c-light);
  border-bottom: 1px solid var(--c-light);
  margin-bottom: 24px;
}
.footer__brand { grid-column: span 8; }
.footer__grid > .footer__col { grid-column: span 2; }
.footer__logo-img {
  height: 96px; width: auto; display: block;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.footer__col li { line-height: 1em; }
.footer__col a { font-size: 13px; }

.footer__bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  font-size: 12px;
  align-items: center;
}
.footer__bottom > :nth-child(1) { grid-column: 1 / span 8; }
.footer__bottom > :nth-child(2) { grid-column: span 2; }
.footer__bottom > :nth-child(3) { grid-column: span 2; text-align: right; }
.footer__top { font-weight: 600; letter-spacing: 0.06em; }

/* ============================
   PAGE: Frontiera della Conoscenza — Esempi
   ============================ */
.page-hero { padding: 40px 0 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 70px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--c-light); transition: color .2s; }
.breadcrumb a:hover { color: var(--c-black); }
.breadcrumb__sep { color: var(--c-light); opacity: .5; }
.breadcrumb__current { color: var(--c-olive); }

.page-hero__title { margin: 0 0 40px; }

/* ============================
   PAGE: Calcolatore
   ============================ */
.page-hero--center { text-align: center; }
.page-hero--center .breadcrumb { justify-content: center; }
.page-hero--center .page-hero__title { max-width: 980px; margin: 0 auto 16px; }
.page-hero__sub {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.625;
  color: var(--c-black);
}
.page-hero__cta { display: inline-flex; }
.page-hero--center .page-hero__cta { margin-top: 4px; }

.calc { padding: 60px 0 96px; }
.calc__board {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 16px;
  row-gap: 16px;
  background: #f5f5f4;
  padding: 24px;
  border-radius: 12px;
  justify-items: center;
}
.calc__board.is-result-shown {
  grid-template-columns: 1fr 1fr;
  justify-items: stretch;
}
.calc__card {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.calc__board > .calc__card {
  width: 100%;
  max-width: 500px;
}
.calc__board.is-result-shown > .calc__card { max-width: none; }
.calc__card--result {
  background: #ecfdf5; /* emerald-50 */
  display: none;
}
.calc__board.is-result-shown .calc__card--result { display: flex; }
.calc__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937; /* gray-800 */
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc__field { display: flex; flex-direction: column; gap: 6px; }
.calc__field label {
  font-size: 13px;
  font-weight: 500;
  color: #374151; /* gray-700 */
}
.calc__field input,
.calc__field select {
  background: #ffffff;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--ff);
  color: #111827;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.calc__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 32px;
}
.calc__field input:focus,
.calc__field select:focus {
  border-color: #2563eb; /* blue-600 */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

/* Risk block */
.calc__risk {
  background: #eff6ff; /* blue-50 */
  border: 1px solid #bfdbfe; /* blue-200 */
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc__risk-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d4ed8; /* blue-700 */
}
.calc__slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc__slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc__slider-head label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}
.calc__slider-head output {
  font-size: 16px;
  font-weight: 700;
  color: #2563eb; /* blue-600 */
}
.calc__slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #bfdbfe; /* blue-200 */
  border-radius: 2px;
  outline: none;
}
.calc__slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.calc__slider input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: 0;
}
.calc__slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280; /* gray-500 */
}

.calc__submit {
  margin-top: 4px;
  align-self: stretch;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  background: #059669; /* emerald-600 */
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.calc__submit:hover { background: #047857; }
.calc__error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c; /* red-700 */
  min-height: 1.2em;
}

/* Result */
.calc__price { text-align: center; padding: 8px 0 16px; }
.calc__price-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857; /* emerald-700 */
  margin-bottom: 8px;
}
.calc__price-value {
  display: block;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #047857;
}
.calc__price-unit {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #047857;
}

.calc__breakdown {
  display: flex;
  flex-direction: column;
  background: #d1fae5; /* emerald-100 (lighter) */
  background: rgba(16, 185, 129, .08);
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 14px 16px;
  gap: 4px;
}
.calc__breakdown-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #065f46; /* emerald-800 */
  padding-bottom: 4px;
}
.calc__bd-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #a7f3d0; /* emerald-200 */
}
.calc__bd-row b { font-weight: 700; }
.calc__bd-row--mute {
  color: #6b7280; /* gray-500 */
  border-bottom: 0;
  font-size: 12px;
  padding: 2px 0;
}
.calc__bd-detail {
  background: #eff6ff; /* blue-50 */
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0;
  color: #1e3a8a; /* blue-900 */
}
.calc__bd-detail div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.calc__bd-detail b { color: #1e3a8a; font-weight: 700; }
.calc__tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-left: 6px;
}
.calc__tag--normale { background: #dcfce7; color: #166534; } /* green */
.calc__tag--lieve   { background: #fef3c7; color: #854d0e; } /* yellow */
.calc__tag--grave   { background: #ffedd5; color: #9a3412; } /* orange */
.calc__tag--estremo { background: #fee2e2; color: #991b1b; } /* red */

.esempi { padding: 0 0 80px; }
.esempi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gap-x);
  row-gap: var(--gap-x);
}
.esempio {
  display: flex;
  flex-direction: column;
  min-height: 161px;
  padding: 20px;
  background: var(--c-beige);
}
.esempio__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-black);
}
.esempio__text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.002em;
  color: var(--c-black);
}
.esempio .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}
.esempi__pagination { display: none; margin-top: 40px; }

/* ============================
   PAGE: News & Blog (archive)
   ============================ */
.news-archive { padding: 0 0 80px; }
.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--gap-x);
  row-gap: 60px;
  margin-bottom: 80px;
}
.news-archive__grid .news { display: flex; flex-direction: column; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--c-white);
  border: 1px solid var(--c-light);
  color: var(--c-black);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination__item:hover { border-color: var(--c-green); color: var(--c-green); }
.pagination__item.is-current {
  background: var(--c-white);
  border-color: var(--c-green);
  color: var(--c-green);
  pointer-events: none;
}
.pagination__item--next { min-width: auto; padding: 0 16px; }

/* ============================
   PAGE: News article
   ============================ */
.article { padding: 0 0 80px; }
.article__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
}
.article__inner > * { grid-column: 4 / span 6; }
.article__title { margin: 0 0 20px; }
.article__lead { margin: 0 0 40px; font-size: 16px; line-height: 1.625; }
.article__figure { margin: 0 0 56px; }
.article__figure img { width: 100%; height: auto; display: block; }
.article__h2 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
}
.article p { margin: 0 0 24px; font-size: 16px; line-height: 1.625; }
.article p:last-child { margin-bottom: 0; }

.article__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding-top: 0;
}
.article__date {
  color: var(--c-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================
   PAGE: Contatti
   ============================ */
.contatti-info {
  padding: 0 0 120px;
  position: relative;
  overflow: hidden;
}
.contatti-info__deco {
  position: absolute;
  right: -200px;
  top: 120px;
  width: 712px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.contatti-info__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
  align-items: start;
}
.contatti-info__map  { grid-column: 1 / span 6; }
.contatti-info__data { grid-column: 8 / -1; }
.contatti-info__map img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 376px;
  object-fit: cover;
}
.contatti-info__data {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contatti-info__row { display: flex; flex-direction: column; gap: 4px; }
.contatti-info__label {
  color: var(--c-green);
  font-size: 16px;
  line-height: 1.625;
}
.contatti-info__value {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
  transition: color .2s;
}
a.contatti-info__value:hover { color: var(--c-green); }
.contatti-info__value--sm { font-size: 20px; line-height: 1.2; max-width: 280px; }

/* Social */
.social { padding: 0; }
.social__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
  align-items: start;
}
.social__title       { grid-column: span 4; margin: 0; }
.social__list--a     { grid-column: span 3; }
.social__list--b     { grid-column: span 5; }
.social__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.social__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
  transition: color .2s;
}
.social__link:hover { color: var(--c-green); }
.social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-input);
  flex-shrink: 0;
}
.social__icon img { width: 40px; height: 40px; display: block; }

/* ============================
   PAGE: Domande (FAQ con categorie)
   ============================ */
.domande { padding: 0; position: relative; overflow: hidden; }
.domande__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
  align-items: start;
  position: relative;
}
.domande__aside { grid-column: 1 / span 4; grid-row: 1; position: relative; }
.domande__deco  { grid-column: 1 / span 4; grid-row: 2; }
.domande__list  { grid-column: 5 / -1; grid-row: 1 / span 2; }

.cats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cats__link {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-light);
  transition: color .2s;
}
.cats__link:hover { color: var(--c-black); }
.cats__link.is-active { color: var(--c-green); }

.domande__deco {
  display: block;
  width: 442px;
  max-width: none;
  height: auto;
  margin-top: 80px;
  margin-left: -92px;
}

.domande__list .faq__item:first-child { border-top: 1px solid var(--c-light); }

/* ============================
   PAGE: Esperti (grid)
   ============================ */
.esperti-page { padding: 0 0 40px; }
@media (max-width: 768px) {
  .esperti-page { padding: 0 0 80px; }
}
.esperti-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gap-x);
  row-gap: 48px;
}
.esperti-page .esperto__img {
  height: auto;
  aspect-ratio: 3 / 4;
}
.esperti-page .esperto { display: flex; flex-direction: column; }
.esperti-page .esperto p { margin: 0 0 16px; }
.esperti-page .esperto__cta { align-self: flex-start; }

/* ============================
   PAGE: Pagina dell'esperto
   ============================ */
.exp-hero { padding: 0 0 96px; }
.exp-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap-x);
  align-items: start;
}
.exp-hero__name     { grid-column: span 6; margin: 0; max-width: 480px; overflow-wrap: normal; word-break: normal; hyphens: none; }
.exp-hero__photo    { grid-column: span 3; }
.exp-hero__contacts { grid-column: span 3; }
.exp-hero__photo { aspect-ratio: 336 / 447; }
.exp-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.exp-hero__contacts { display: flex; flex-direction: column; gap: 32px; }
.exp-hero__row { display: flex; flex-direction: column; gap: 4px; }
.exp-hero__label { color: var(--c-green); font-size: 16px; line-height: 1.625; }
.exp-hero__value {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-black);
  transition: color .2s;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
a.exp-hero__value:hover { color: var(--c-green); }
.exp-hero__meta { display: flex; flex-direction: column; gap: 4px; }
.exp-hero__meta p { margin: 0; font-size: 16px; line-height: 1.625; }

/* Qualifica */
.exp-qualifica { padding: 0; }
.exp-qualifica__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap-x);
  align-items: start;
}
.exp-qualifica__media {
  position: relative;
  margin-left: -60px;
  aspect-ratio: 528 / 347;
  max-width: 512px;
}
.exp-qualifica__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.exp-qualifica__heading {
  margin: 0 0 32px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.exp-qualifica__heading strong,
.exp-qualifica__heading b { color: var(--c-green); font-weight: inherit; }
.exp-qualifica__body .link-arrow { align-self: flex-start; }

/* Attività scientifica — 2 photo cards with overlay */
.exp-attivita { padding: 0 0 96px; }
.exp-attivita__title { margin: 0 0 56px; }
.exp-attivita__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap-x);
  row-gap: 48px;
}
.exp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exp-card__img {
  width: 100%;
  height: 374px;
  background-color: var(--c-beige);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 16px;
}
.exp-card__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.exp-card p { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.625; }
.exp-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Partecipazione */
.exp-partecipazione { padding: 0 0 20px; position: relative; overflow: hidden; }
.exp-partecipazione__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap-x);
  align-items: start;
}
.exp-partecipazione__deco {
  width: 110%;
  max-width: 400px;
  height: auto;
  margin-left: -60px;
  display: block;
}
.exp-partecipazione__heading {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.exp-partecipazione__body p { margin: 0; font-size: 16px; line-height: 1.625; }

/* Consulenza */
.exp-consulenza { padding: 0; position: relative; overflow: hidden; }
.exp-consulenza__heading {
  margin: 0 0 30px;
  max-width: 820px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.exp-consulenza__grid {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.exp-consulenza__grid .exp-tags { width: 100%; }
.exp-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.exp-tags li {
  background: var(--c-beige);
  padding: 20px;
  min-height: 64px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-green);
  display: flex;
  align-items: center;
}
.exp-consulenza__deco {
  width: 100%;
  max-width: 392px;
  height: auto;
  margin: 24px 0 0 auto;
  display: block;
}

/* ============================
   PAGE: Sul progetto
   ============================ */

/* AICOT */
.aicot {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.aicot__deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 452px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.aicot__deco--left  { left: -159px; }
.aicot__deco--right { right: -159px; top: auto; bottom: -100px; transform: none; }
.aicot__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aicot__logo {
  width: 137px;
  height: auto;
  margin-bottom: 56px;
}
.aicot__title { margin: 0 0 24px; }
.aicot__text  { margin: 0 0 40px; max-width: 640px; }

/* CIBO — 4 issue cards 2x2 */
.cibo { padding: 80px 0; }
.cibo__title { margin: 0 0 30px; }
.cibo__slider { overflow: hidden; }
.cibo__controls {
  display: none;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
@media (min-width: 769px) {
  .cibo__slider .swiper-wrapper.cibo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gap-x);
    row-gap: 60px;
    transform: none !important;
  }
  .cibo__slider .swiper-slide { width: auto !important; margin: 0 !important; }
}
.issue { display: flex; flex-direction: column; }
.issue__img {
  height: 374px;
  background: var(--c-light) center/cover no-repeat;
  margin-bottom: 12px;
}
.issue__title { margin: 0 0 4px; }
.issue__sub {
  margin: 0 0 8px;
  color: #989897;
  font-size: 14px;
  line-height: 1.6;
}
.issue__text {
  margin: 0 0 20px;
  max-width: 560px;
}
.issue .link-arrow { align-self: flex-start; }

/* IL PROGETTO — bg_block image with centered intro */
.progetto { padding: 80px 0; }
.progetto__inner {
  position: relative;
  height: 756px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.progetto__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.progetto__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.progetto__chip { margin-bottom: 52px; transform: rotate(-4deg); background: var(--c-white); }
.progetto__heading {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
  max-width: 740px;
}
.progetto__text {
  margin: 0 0 12px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.625;
}
.progetto__text:last-child { margin-bottom: 0; }
.progetto__cta { margin-top: 40px; }
/* Светлая версия — текст и ссылки белые (используем поверх тёмной фотоплашки) */
.progetto--light .progetto__heading,
.progetto--light .progetto__text { color: var(--c-white); }
/* Короткая плашка (540px), контент сверху */
.progetto--short { padding: 0; }
.progetto--short .progetto__inner {
  height: 700px;
  align-items: flex-start;
  padding-top: 80px;
}

/* PIATTAFORMA — heading + 3 cards (image + title below) */
.piattaforma { padding: 80px 0; }
.piattaforma__heading {
  margin: 0 auto 40px;
  max-width: 720px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-align: center;
}
.piattaforma__slider { overflow: hidden; }
.piattaforma__controls {
  display: none;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 32px;
}
/* Десктоп: grid 3 колонки (Swiper здесь destroyed) */
@media (min-width: 769px) {
  .piattaforma__slider .swiper-wrapper.piattaforma__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--gap-x);
    transform: none !important;
  }
  .piattaforma__slider .swiper-slide { width: auto !important; margin: 0 !important; }
}
.piatta { display: flex; flex-direction: column; }
.piatta__img {
  height: 256px;
  background: var(--c-light) center/cover no-repeat;
  margin-bottom: 12px;
}
.piatta__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-green);
  max-width: 380px;
}

/* COSA — Analizza / Supporta / Monitora */
.cosa { padding: 0 0 160px; }
.cosa__slider { overflow: hidden; }
.cosa__controls {
  display: none;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
@media (min-width: 769px) {
  .cosa__slider .swiper-wrapper.cosa__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    transform: none !important;
  }
  .cosa__slider .swiper-slide { width: auto !important; margin: 0 !important; }
}
.cosa__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 36px;
}
.cosa__col:first-child { padding-left: 0; }
.cosa__col:last-child  { padding-right: 0; }
.cosa__col + .cosa__col { border-left: 1px solid var(--c-light); }
@media (max-width: 768px) {
  /* В мобилке порядок: title → text → image, всё центрировано */
  .cosa__col,
  .cosa__col--top,
  .cosa__col--bottom {
    padding: 0;
    border-left: 0 !important;
    text-align: center;
    align-items: center;
  }
  .cosa__col .cosa__img { order: 3; }
  .cosa__col .cosa__title { order: 1; }
  .cosa__col .cosa__text { order: 2; max-width: none; }
}
.cosa__title {
  margin: 0;
  font-size: 56px;
  line-height: 1.0357;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--c-olive);
}
.cosa__text {
  margin: 0 0 20px;
  max-width: 340px;
  font-size: 16px;
  line-height: 1.625;
}
.cosa__img {
  width: 100%;
  height: 266px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.cosa__col--bottom .cosa__text { margin: 0; }

/* SCENARIO GLOBALE — text + big image */
.scenario {
  padding: 0;
  border-top: 1px solid var(--c-light);
  position: relative;
}
.scenario > .container > .section-head { position: relative; z-index: 2; }
.scenario__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  align-items: stretch;
  min-height: 756px;
  position: relative;
}
.scenario__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 0 100px;
  max-width: 650px;
  position: relative;
  z-index: 2;
}
.scenario__title { margin: 0 0 20px; }
.scenario__text  { margin: 0 0 12px; }
.scenario__cta   { align-self: flex-start; }
.scenario__media {
  overflow: hidden;
  height: 756px;
  margin-right: calc(var(--gutter) * -1);
  position: relative;
  z-index: 0;
}
.scenario__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}
.scenario__img--flip { transform: scaleX(-1); }
/* Tablet: уменьшаем высоту медиа scenario до 400px */
@media (max-width: 1024px) and (min-width: 769px) {
  .scenario__inner { min-height: 0; }
  .scenario__media { height: 400px; align-self: start; }
}

/* ERROR 404 — split: text left, image right */
.error404-block { border-top: 1px solid var(--c-light); }
.error404-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap-x);
  align-items: stretch;
  min-height: 700px;
}
.error404-block__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 0 100px;
  max-width: 560px;
}
.error404-block__title {
  margin: 0 0 20px;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.0375em;
  font-weight: 600;
  color: var(--c-green);
}
.error404-block__text { margin: 0 0 40px; max-width: 560px; }
.error404-block__cta { align-self: flex-start; }
.error404-block__media {
  overflow: hidden;
  height: 700px;
  margin-right: calc(var(--gutter) * -1);
}
.error404-block__img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) and (min-width: 769px) {
  .error404-block__inner { min-height: 0; }
  .error404-block__media { height: 400px; align-self: start; }
}
@media (max-width: 768px) {
  .error404-block__inner { grid-template-columns: 1fr; min-height: 0; }
  .error404-block__left { padding: 40px 0 0; }
  .error404-block__title { font-size: 48px; }
  .error404-block__text { margin: 0 0 30px; }
  .error404-block__media { height: 220px; margin-top: 32px; margin-right: 0; }
}

/* STRATEGIE — reverse split (image left, text right) */
.scenario--reverse .scenario__media {
  margin-right: 0;
  margin-left: calc(var(--gutter) * -1);
}
.scenario--reverse .scenario__left { padding-left: 24px; }
.strat__title {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.027em;
  font-weight: 700;
  color: var(--c-black);
}
.scenario__left:has(.strat__title) .scenario__cta { margin-top: 20px; }
.strat__title.t-green { color: var(--c-green); }

/* STRATEGIE — 4-card grid with bg image + label */
.strat-cards { padding: 80px 0; }
.strat-cards__title { margin: 0 0 16px; }
.strat-cards__lead { margin: 0 0 40px; max-width: 700px; font-size: 16px; line-height: 1.625; }
.strat-cards:not(.strat-cards--dark-labels) .strat-cards__lead { margin-bottom: 20px; }
.strat-cards--lg-top { padding-top: 120px; }
.strat-cards__slider { overflow: hidden; }
.strat-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.strat-cards__controls {
  display: none;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.strat-card {
  position: relative;
  min-height: 183px;
  padding: 20px;
  background: var(--c-beige) center/cover no-repeat;
  display: flex;
  align-items: flex-start;
}
/* Чередование позиции текста: чётные карточки — текст снизу */
.strat-cards__grid .strat-card:nth-child(even) { align-items: flex-end; }
.strat-card__label {
  margin: 0;
  max-width: 60%;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--c-green);
}
.strat-card--stacked .strat-card__label { max-width: none; }
.strat-cards--dark-labels .strat-card__label { color: var(--c-black); }
/* Stacked-вариант: картинка сверху, текст отдельным блоком снизу */
.strat-card--stacked {
  background: none;
  padding: 0;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.strat-cards__grid .strat-card--stacked:nth-child(even) { align-items: stretch; }
.strat-card__img {
  width: 100%;
  height: 183px;
  background: var(--c-beige) center/cover no-repeat;
}
@media (min-width: 769px) {
  .strat-cards__slider .swiper-wrapper.strat-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    transform: none !important;
  }
  .strat-cards__slider .swiper-slide { width: auto !important; margin: 0 !important; }
}

/* AGENDA 2030 */
.agenda { padding: 80px 0; position: relative; }
.agenda .container { position: relative; }
.agenda__apple {
  position: absolute;
  top: 80px;
  right: var(--gutter);
  width: 406px;
  height: auto;
  display: block;
  z-index: 0;
}
.agenda__heading {
  margin: 0 0 32px;
  max-width: 680px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
}
.agenda__text {
  margin: 0 0 80px;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.625;
}
.agenda__sub {
  margin: 0 0 32px;
  max-width: 680px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
}
.agenda__slider { overflow: hidden; }
.agenda__controls {
  display: none;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
@media (min-width: 769px) {
  .agenda__slider .swiper-wrapper.agenda__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--gap-x);
    transform: none !important;
  }
  .agenda__slider .swiper-slide { width: auto !important; margin: 0 !important; }
}
.ogni { display: flex; flex-direction: column; }
.ogni__img {
  height: 256px;
  background: var(--c-light) center/cover no-repeat;
  margin-bottom: 12px;
}
.ogni__title {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-green);
}
.ogni__text {
  margin: 0;
  max-width: 320px;
  font-size: 16px;
  line-height: 1.625;
}

/* CARATTERI — slider with bg-color #EDEDE9 + image overlay */
.caratteri { padding: 0 0 80px; }
.caratteri__heading {
  margin: 0 0 24px;
  max-width: 700px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.caratteri__text { margin: 0 0 48px; max-width: 700px; }
.caratteri__slider { overflow: hidden; margin-bottom: 30px; }
.caratteri__slider .swiper-wrapper { align-items: stretch; }

.cara-card {
  position: relative;
  min-height: 374px;
  height: auto;
  background-color: var(--c-beige);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.caratteri__slider .swiper-slide { height: auto; }
.cara-card__num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-black);
  opacity: .85;
}
.cara-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 65%;
}
.cara-card__title {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-green);
}
.cara-card__title--sm { font-size: 20px; line-height: 1.2; letter-spacing: -0.025em; }
.cara-card p { margin: 0; font-size: 16px; line-height: 1.625; }
.cara-card .link-arrow { margin-top: auto; align-self: flex-start; }

.cara-card--dark {
  background-color: var(--c-black);
  background-image: none;
  color: var(--c-white);
}
.cara-card--dark .cara-card__title { color: var(--c-white); }
.cara-card--dark .cara-card__num { color: var(--c-white); }

.caratteri__controls {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

/* FINALITÀ */
.finalita { padding: 0 0 80px; position: relative; overflow: hidden; }
.finalita--top { padding-top: 80px; }
.finalita--top .finalita__deco { width: 420px; right: 0; }
.finalita--nuts { padding-top: 80px; }
.finalita--nuts .finalita__deco { width: 560px; right: 0; transform: translateY(-50%) scaleX(-1); }
.finalita .container { position: relative; z-index: 1; }
.finalita__heading {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.finalita__text { margin: 0 0 32px; max-width: 700px; position: relative; z-index: 1; }
.finalita .link-arrow { align-self: flex-start; position: relative; z-index: 1; }
.finalita .section-head { position: relative; z-index: 1; }
.finalita__deco {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 720px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

/* VERSO LA QUALITÀ TOTALE */
.qualita { padding: 80px 0; }
.qualita__heading {
  margin: 0 0 32px;
  max-width: 820px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.qualita__text { margin: 0 0 28px; max-width: 700px; }
.qualita__slider { overflow: hidden; margin-bottom: 32px; }
.qualita__slider .swiper-wrapper { align-items: stretch; }
.qualita__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}
.qualita__note {
  margin: 0 0 0 auto;
  text-align: right;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-light);
}
.meia-card {
  position: relative;
  height: 247px;
  padding: 20px;
  background-color: var(--c-beige);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
}
.meia-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-green);
  max-width: 380px;
}
/* чередование положения: чётные слайды — текст внизу */
.meia-card:nth-child(even) { align-items: flex-end; }

/* ============================
   POPUP / overlay form
   ============================ */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
.popup.is-open { visibility: visible; pointer-events: auto; }

.popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(179, 179, 179, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  /* при закрытии backdrop исчезает после того, как панель уехала */
  transition: opacity .35s ease .35s;
}
.popup.is-open .popup__backdrop {
  opacity: 1;
  /* при открытии backdrop появляется сразу */
  transition-delay: 0s;
}

.popup__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  max-width: none;
  background: var(--c-white);
  color: var(--c-black);
  padding: 30px 32px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  /* при закрытии панель уезжает сразу */
  transition: transform .5s cubic-bezier(.7, 0, .3, 1) 0s;
}
.popup.is-open .popup__panel {
  transform: translateX(0);
  /* при открытии панель выезжает после backdrop */
  transition-delay: .35s;
}

.popup__close {
  position: absolute;
  top: 30px;
  right: 32px;
  width: 20px; height: 20px;
  color: var(--c-black);
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1;
  transition: opacity .2s;
}
.popup__close:hover { opacity: .6; }
.popup__close svg { display: block; }

.popup__title { margin: 0 0 40px; max-width: 380px; }

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.popup__form .check { margin-top: 8px; }
.popup__submit {
  align-self: flex-start;
  margin-top: 16px;
  padding-left: 0;
  padding-right: 0;
}

/* Content popup variant (без формы) */
.popup--content .popup__panel { background: #f7f7f7; width: 720px; max-width: 50%; padding: 64px 56px; }
.popup--content .popup__close { top: 30px; right: 32px; }
.popup--content .popup__title { font-size: 32px; line-height: 32px; margin: 0 0 10px; max-width: none; }
.popup__sub { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: rgba(26,26,24,.45); }
.popup__content { display: flex; flex-direction: column; gap: 18px; }
.popup__content p { margin: 0; font-size: 16px; line-height: 1.625; letter-spacing: -.01em; }
.popup__content h4 { margin: 14px 0 0; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.popup__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.popup__list li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.625; }
.popup__list li::before { content: "•"; position: absolute; left: 4px; top: 0; }
.popup__list b { font-weight: 700; }

@media (min-width: 1441px) {
  .popup__panel { width: 40%; }
}
@media (max-width: 1024px) {
  .popup--content .popup__panel { width: 100%; max-width: 100%; padding: 56px 32px; }
}
@media (max-width: 768px) {
  .popup__panel { width: 100%; padding: 24px 20px 32px; }
  .popup__close { top: 24px; right: 20px; }
  .popup__title { font-size: 32px; }
  .popup--content .popup__panel { padding: 56px 20px 32px; }
}

/* ============================
   DIETA MEDITERRANEA — intro (chip + centered heading + paragraph)
   ============================ */
.dieta-intro { padding: 120px 0 40px; }
.dieta-intro .section-head {
  margin-bottom: 32px;
  padding-top: 0;
  border-top: 0;
}
.dieta-intro .chip { transform: rotate(-4deg); }
.dieta-intro__title {
  margin: 0 auto 24px;
  max-width: 880px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--c-black);
  text-align: center;
}
.dieta-intro__text {
  margin: 0 auto;
  max-width: 710px;
  font-size: 16px;
  line-height: 1.625;
  text-align: center;
  color: var(--c-black);
}
.dieta-intro__text + .dieta-intro__text,
.dieta-intro__list + .dieta-intro__text { margin-top: 16px; }
.dieta-intro__list {
  margin: 16px auto 0;
  max-width: 710px;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  color: var(--c-black);
}
.dieta-intro--lg-bottom { padding-bottom: 120px; }
.dieta-intro__actions { margin-top: 32px; text-align: center; }
.dieta-intro__list li { margin: 0 0 6px; }
.dieta-intro__list li:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .dieta-intro { padding: 80px 0 0; }
  .dieta-intro--lg-bottom { padding-bottom: 48px; }
  .dieta-intro .chip { transform: none; }
  .dieta-intro__title { font-size: 24px; }
}

/* ============================
   RESPONSIVE — desktop-first
   ============================ */
@media (max-width: 1280px) {
  :root { --gutter: 24px; }
  .h1 { font-size: 64px; }
  .h2 { font-size: 48px; line-height: 1.05; }
  .contatti-info__deco { display: none; }
}
@media (max-width: 1220px) {
  .finalita__deco {
    position: relative;
    top: auto; right: auto;
    transform: none;
    width: 100%;
    max-width: 720px;
    margin: 32px 0 0;
  }
  .finalita--nuts .finalita__deco {
    position: relative;
    top: auto; right: auto;
    transform: scaleX(-1);
    width: 100%;
    max-width: 720px;
    margin: 32px 0 0;
  }
}
@media (max-width: 1024px) {
  .header__nav {
    position: fixed; inset: 80px 0 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 30px 20px 30px;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    z-index: 40;
    transition: transform .35s ease, opacity .25s ease, visibility .35s;
    overflow-y: auto;
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .header__nav .nav-only-desktop { display: none; }
  .header__nav .nav-only-mobile  { display: inline-flex; }
  .header__nav a:not(.btn) {
    font-size: 16px;
    line-height: 1.375;
    color: var(--c-black);
    padding: 0;
    border: 0;
  }
  .header__nav a.is-active { color: var(--c-green); }
  .header__nav-cta {
    align-self: flex-start;
    margin-top: 20px;
  }
  .header__nav-copy {
    margin: auto 0 0;
    padding-top: 30px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--c-black);
  }
  .header__burger { display: inline-flex; order: 3; }
  .header__cta { display: none; }
  .body.no-scroll { overflow: hidden; }

  .h1 { font-size: 56px; }
  .h2 { font-size: 40px; line-height: 1.1; }
  .hero__media { height: 420px; }

  .prodotti__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .esempi__grid { grid-template-columns: 1fr 1fr; }
  .news-archive__grid { grid-template-columns: 1fr 1fr; }
  .calc__board { grid-template-columns: 1fr; }

  .aicot__deco { display: none; }
  .faq__aside { grid-column: 1 / -1; margin-bottom: 24px; }
  .faq__list  { grid-column: 1 / -1; }
  .faq { overflow: visible; padding: 160px 0 20px; }
  .faq__bg {
    position: relative;
    left: -40px;
    bottom: auto;
    width: 80%;
    max-width: 300px;
    margin: 32px 0 0;
    grid-column: 1 / -1;
  }
  .notizie { padding: 0; }
  .contatti__left { grid-column: 1 / -1; margin-bottom: 30px; }
  .contatti__form { grid-column: 1 / -1; }
  .field--name  { grid-column: 1 / span 6; }
  .field--email { grid-column: 1 / span 6; }
  .field--msg   { grid-column: 7 / span 6; }

  .footer__partner { grid-column: 1 / -1; }
  .footer__brand { grid-column: span 12; margin-bottom: 20px; }
  .footer__grid > .footer__col { grid-column: span 6; }
  .footer__bottom > :nth-child(1) { grid-column: 1 / -1; }
  .footer__bottom > :nth-child(2) { grid-column: span 6; }
  .footer__bottom > :nth-child(3) { grid-column: span 6; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding: 64px 0; }
  .intro__chip,
  .faq__aside .chip { transform: none; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 24px; }
  .h3 { font-size: 24px; }

  .hero__tags { flex-direction: column; gap: 8px; }
  .hero__media { height: 320px; }

  /* Prodotti — без слайдера, сетка 2 в ряд, последний центрируется */
  .prodotti__controls { display: none; }
  .prodotti__slider { overflow: visible; margin-bottom: 0; }
  .prodotti__slider .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gap-x);
    row-gap: 40px;
    transform: none !important;
    width: 100%;
  }
  .prodotti__slider .swiper-slide {
    width: auto !important;
    margin: 0 !important;
    text-align: center;
  }
  .prodotti__slider .swiper-slide.prodotto { height: auto; border-right: 0 !important; }
  .prodotto__cta { margin-top: 20px; }
  .prodotti__slider .swiper-slide:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
  }
  .prodotto__img {
    height: 126px;
    margin: 16px 0 0;
    background-size: contain;
    background-position: center;
  }
  .prodotto__row {
    justify-content: center;
    text-align: center;
  }
  .prodotto__title { font-size: 24px; line-height: 1.2; margin: 0 0 4px; }
  .prodotto__sub   { color: var(--c-olive); margin: 0 0 16px; }
  .prodotto__cta { display: inline-flex; align-self: center; margin: 20px auto 0; }

  .field--name, .field--email, .field--msg { grid-column: 1 / -1; grid-row: auto; }
  .field--msg textarea { min-height: 120px; }

  .faq { padding-top: 120px; padding-bottom: 20px; }
  .aicot { padding: 80px 0 0; }
  .aicot__logo { width: 137px; height: auto; margin-bottom: 32px; }
  .aicot__title { font-size: 24px; }
  .cibo { padding-bottom: 0; }
  .cibo__slider .swiper-slide.issue { width: 100%; flex-shrink: 0; }
  .cibo__controls { display: flex; }
  .issue__img { height: 233px; }
  .cosa__slider .swiper-slide.cosa__col { width: 100%; flex-shrink: 0; }
  .cosa__controls { display: flex; }
  .cosa__title { font-size: 24px; }
  .cosa__text { width: 80%; max-width: 80%; }
  .progetto { padding-bottom: 0; }
  .progetto .container { padding-left: 0; padding-right: 0; }
  .agenda { padding-bottom: 0; }
  /* все секционные h3-заголовки на мобилке 24px */
  .intro__title,
  .progetto__heading,
  .agenda__heading,
  .agenda__sub,
  .caratteri__heading,
  .cara-card__title,
  .scenario__title,
  .finalita__heading,
  .qualita__heading,
  .piattaforma__heading,
  .exp-qualifica__heading,
  .exp-partecipazione__heading,
  .exp-consulenza__heading,
  .exp-card__title { font-size: 24px; }
  .scenario { padding: 40px 0 0; }
  .scenario__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .scenario__left { padding: 0; }
  .scenario__media { height: 220px; margin-top: 32px; margin-right: 0; align-self: stretch; }
  .scenario__media .scenario__img { object-position: bottom; }
  .scenario--no-border-mb { border-top: 0; }
  .scenario--reverse .scenario__media { margin-left: 0; margin-top: 32px; order: 2; }
  .scenario--reverse .scenario__left { margin-left: 0; padding-left: 0; }
  .scenario:has(.strat__title) { padding-top: 56px; }
  .strat__title { font-size: 32px; margin: 0 0 12px; }
  .strat-cards { padding: 56px 0; }
  .strat-cards__lead { margin: 0 0 24px; }
  .strat-cards__slider .swiper-wrapper.strat-cards__grid { display: flex; }
  .strat-cards__slider .swiper-slide.strat-card { width: 100%; flex-shrink: 0; }
  .strat-cards__controls { display: flex; }
  .cosa { padding: 80px 0 160px; }
  .scenario__title { margin: 0 0 12px; }
  .scenario__text { margin: 0 0 30px; }
  .agenda__heading { margin: 0 0 12px; }
  .agenda__sub { margin: 0 0 20px; }
  .caratteri { padding-top: 80px; }
  .caratteri__heading { margin: 0 0 12px; }
  .caratteri__controls { justify-content: center; }
  .cara-card__body { max-width: 100%; }
  .finalita { padding-top: 80px; }
  .finalita__heading { margin: 0 0 12px; }
  .qualita__heading { margin: 0 0 12px; }
  .qualita__controls { justify-content: center; }
  .qualita__note { display: none; }
  .intro { padding-top: 80px; }
  .prodotti { padding-top: 80px; }
  .notizie { padding-top: 0; }
  .hero { padding-top: 30px; }
  .hero__cta { margin-bottom: 60px; }
  .hero__media { height: 220px; }
  .h1 { font-size: 32px; }
  .intro__title { font-size: 24px; }
  .esperto h3 { font-size: 18px; }
  .esperti .esperto__img { height: auto; aspect-ratio: 3 / 4; }
  .strategie .container { padding-left: 0; padding-right: 0; }
  .strategie__inner { height: 500px; padding-left: 20px; padding-right: 20px; }
  .contatti { padding: 120px 0 80px; }
  .br-md { display: none; }
  .br-mb { display: inline; }
  .header { border-bottom: 0; }
  .section-head { margin-bottom: 30px; }
  .swipe-hint { display: flex; }

  /* Sul progetto — apple image goes to natural flow */
  .agenda__apple {
    position: relative;
    top: auto; right: auto;
    width: 100%;
    max-width: 406px;
    margin: 32px 0;
  }

  /* Caratteri: на мобилке убираем фоновые картинки слайдов */
  .cara-card { background-image: none !important; }
  .piattaforma { padding-top: 0; }
  .piattaforma__heading { margin: 0 auto 32px; text-align: left; }
  .piattaforma__slider .swiper-slide { width: 100%; flex-shrink: 0; }
  .piattaforma__controls { display: flex; }
  .agenda__slider .swiper-slide { width: 100%; flex-shrink: 0; }
  .agenda__controls { display: flex; }
  /* Frontiera Esempi — карточки в 1 колонку */
  .esempi__grid { grid-template-columns: 1fr; }
  .calc__board { padding: 16px; row-gap: 16px; }
  .calc__card { padding: 20px; }
  .calc__price-value { font-size: 44px; }
  .esempio { min-height: 161px; }
  .breadcrumb { margin-bottom: 40px; }
  .page-hero__title { margin-bottom: 40px; }

  /* News archive */
  .news-archive__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .esempi__pagination { display: flex; }

  /* News article — full width on mobile */
  .article__inner { grid-template-columns: 1fr; }
  .article__inner > * { grid-column: 1 / -1; }
  .article__h2 { font-size: 24px; }

  /* Esperto page mobile tweaks */
  .exp-qualifica { padding-bottom: 0; }
  .exp-qualifica__heading { font-size: 24px; }
  .exp-qualifica__body  { order: 1; }
  .exp-qualifica__media {
    order: 2;
    margin-left: -20px;
    margin-top: 32px;
  }
  .progetto__heading { font-size: 24px; }
  .exp-attivita { padding-top: 80px; }
  .exp-partecipazione { padding: 0 0 40px; }
  .exp-partecipazione__body { order: 1; }
  .exp-partecipazione__deco {
    order: 2;
    margin-left: -20px;
    margin-top: 32px;
  }
  .exp-consulenza__deco { display: none; }
  .article__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .article__back { order: 1; }
  .article__date { order: 2; }

  /* Contatti */
  .contatti-info { padding-bottom: 0; }
  .contatti-info__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-bottom: 80px;
  }
  .contatti-info__map,
  .contatti-info__data { grid-column: 1 / -1; }
  .contatti-info__data { order: 1; }
  .contatti-info__map  { order: 2; }
  .contatti-info__deco { display: none; }
  .contatti-info__value { font-size: 24px; }
  .social__title { grid-column: 1 / -1; margin-bottom: 24px; }
  .social__list--a { grid-column: 1 / span 6; }
  .social__list--b { grid-column: 7 / span 6; }
  .social__link { font-size: 18px; }
  .social__icon { width: 40px; height: 40px; }
  .social__icon img { width: 40px; height: 40px; }

  /* Domande */
  .domande__aside { grid-column: 1 / -1; grid-row: auto; margin-bottom: 32px; order: 1; }
  .cats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
  }
  .cats li { flex-shrink: 0; }
  .cats__link { white-space: nowrap; }
  .domande__list  { grid-column: 1 / -1; grid-row: auto; order: 2; }
  .domande__deco {
    grid-column: 1 / -1; grid-row: auto; order: 3;
    width: 80%;
    max-width: 442px;
    margin: 32px 0 0 -40px;
  }

  /* Esperti page */
  .esperti-page__grid { grid-template-columns: 1fr 1fr; }

  /* Pagina dell'esperto */
  .exp-hero__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .exp-hero__name,
  .exp-hero__photo,
  .exp-hero__contacts { grid-column: 1 / -1; }
  .exp-qualifica__grid,
  .exp-attivita__grid,
  .exp-partecipazione__grid,
  .exp-consulenza__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .exp-tags { grid-template-columns: 1fr; }
  .exp-card__img { height: 240px; margin-bottom: 0; }
  .exp-card .link-arrow { margin-top: 20px; }
  .exp-consulenza__heading { margin: 0 0 32px; }
  .finalita__deco {
    position: relative;
    top: auto; right: auto;
    transform: scaleX(-1);
    width: 100%;
    max-width: 500px;
    margin-top: 32px;
  }
  .footer { padding: 0; }
  .footer .container { padding-left: 0; padding-right: 0; }
  .footer__inner { padding: 20px; grid-template-columns: 1fr; text-align: left; }
  .footer__partner,
  .footer__grid,
  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
  }
  .footer__partner { margin-bottom: 30px; }
  .footer__bottom { gap: 20px; }
  .footer__col a { font-size: 16px; }
  .footer__partner > .footer__label { margin-left: 0; }
  .footer__logos { justify-content: flex-start; flex-wrap: nowrap; gap: 4px; width: 100%; }
  .footer__logos li { flex: 1 1 0; min-width: 0; width: auto; }
  .footer__grid { padding-bottom: 30px; }
  .footer__grid .footer__col:first-of-type ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .footer__grid .footer__col + .footer__col { padding-top: 16px; }
  .footer__bottom > :nth-child(3) { text-align: left; align-self: flex-start; }
  .footer__logo-img { height: auto; width: 200px; }
  .header__logo-img { height: auto; width: 156px; }
}
/* ---- Wide desktops 1441+ ---- */
@media (min-width: 1441px) {
  .cara-card {
    background-position: center right;
    background-size: contain;
  }
}

/* ---- Large desktops 1920+ ---- */
@media (min-width: 1920px) {
  body { font-size: 18px; line-height: calc(26 / 18); }
  .h1 { font-size: 100px; }
  .h2 { font-size: 75px; line-height: 74px; }
  .h3 { font-size: 40px; line-height: 1; }
  .h4 { font-size: 26px; line-height: calc(24 / 26); }
  .eyebrow { font-size: 16px; }
  .eyebrow--sm { font-size: 14px; }
  .text { font-size: 18px; line-height: calc(26 / 18); }

  .btn { font-size: 14px; }
  .link-arrow { font-size: 16px; }

  .header__nav a { font-size: 16px; letter-spacing: 0.02em; }
  .header__submenu a { font-size: 16px; }

  .prodotto__title { font-size: 56px; }
  .prodotto__sub,
  .esperto p,
  .news p,
  .strategie__text,
  .intro__text,
  .faq__answer { font-size: 18px; }

  .intro__title { font-size: 40px; }
  .field input, .field textarea { font-size: 18px; }
  .check, .check__text, .field__consent { font-size: 14px; }
  .footer__col a, .footer__bottom { font-size: 14px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .h1 { font-size: 36px; letter-spacing: -0.02em; }
  .h2 { font-size: 24px; }
  .hero { padding-top: 48px; }
  .hero__title { margin-bottom: 32px; }
  .hero__media { height: 240px; }

  .footer__logos li { width: auto; }
}

@media (max-width: 768px) {
  .footer__col .br-mb { display: none; }
}

@media (max-width: 520px) {
  .footer__col .br-mb { display: inline; }
}

/* CTA link su blocchi Sul Progetto (Il Progetto usa già progetto__cta) */
.cibo__cta { margin-top: 20px; }
.caratteri__cta { margin-top: 24px; }
.agenda__cta { margin-top: 24px; }
