/* ==========================================================================
   Pollicoltura Gordola SA — Bento design system
   ========================================================================== */

/* Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:           #f4f1ea;        /* panna chiara di fondo */
  --surface:      #ffffff;        /* card neutra */
  --cream:        #ede5d3;        /* card calda */
  --cream-deep:   #ddd0b1;        /* card panna più satura */
  --ink:          #0d0d0d;        /* card scura / testo */
  --green:        #1f3024;        /* card natura scura */
  --green-light:  #4a6b4f;        /* accent verde */

  /* Brand */
  --gold:         #c79f01;
  --gold-deep:    #8a6e00;
  --gold-light:   #e8c75f;

  /* Type */
  --text:         #0d0d0d;
  --text-soft:    #4a4640;
  --text-mute:    #7a7367;
  --text-invert:  #ffffff;
  --text-invert-soft: #c8c0ad;

  /* Lines */
  --border:       rgba(13,13,13,.08);
  --border-strong:rgba(13,13,13,.18);

  /* Fonts */
  --font-serif:   'Instrument Serif', 'Times New Roman', serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Geometry */
  --container: 1400px;
  --gap:       20px;
  --radius:    22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* Type system
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 400;
  line-height: 1;
}
.display-xl {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: .95;
}
.display-xl em { font-style: italic; color: var(--gold); }

.display-lg {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.6vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.display-sm {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.numeral {
  font-family: var(--font-serif);
  font-weight: 400;
  font-feature-settings: 'lnum';
  letter-spacing: -0.02em;
  line-height: .9;
}
.numeral em { font-style: italic; }

p { margin: 0; }
strong { color: var(--text); font-weight: 600; }

/* Layout container
   -------------------------------------------------------------------------- */
.shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* TOP BAR — sottile
   -------------------------------------------------------------------------- */
.topline {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--text-mute);
  padding: 14px 0 0;
}
.topline__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.topline__left, .topline__right {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.topline span { display: inline-flex; align-items: center; gap: .5rem; }
.topline svg { width: 13px; height: 13px; opacity: .7; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* HEADER — full-width sticky bar, contenuto allineato al bento
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 14px;
}
.brand img { height: 42px; width: auto; display: block; }

.nav {
  display: inline-flex;
  gap: 2px;
}
.nav a {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgba(13,13,13,.05); color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn--primary {
  background: var(--green);
  color: var(--text-invert);
}
.btn--primary:hover { background: var(--green-light); transform: translateY(-1px); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--ink); color: var(--text-invert); border-color: var(--ink); }
.btn--light {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--text-invert);
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: var(--text-invert); color: var(--ink); border-color: var(--text-invert); }
.btn svg { width: 14px; height: 14px; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--text-invert);
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }

/* BENTO HERO GRID — main layout
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  padding: var(--gap) 0;
}

.cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.cell--photo { padding: 0; border: 0; }
.cell--ink { background: var(--ink); color: var(--text-invert-soft); border: 0; }
.cell--ink h1, .cell--ink h2, .cell--ink h3 { color: var(--text-invert); }
.cell--green { background: var(--green); color: var(--text-invert-soft); border: 0; }
.cell--green h1, .cell--green h2, .cell--green h3 { color: var(--text-invert); }
.cell--cream { background: var(--cream); border: 0; }
.cell--gold { background: var(--gold); color: var(--ink); border: 0; }
.cell--gold h1, .cell--gold h2, .cell--gold h3 { color: var(--ink); }

.cell-pad { padding: clamp(1.5rem, 2.2vw, 2.25rem); }

/* Cell layout helpers */
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-12 { grid-column: span 12; }
.row-2  { grid-row: span 2; }

/* HERO cell — main photo card
   -------------------------------------------------------------------------- */
.hero-cell {
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-cell__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-cell__bg img,
.hero-cell__bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-cell__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,0) 30%, rgba(13,13,13,.55) 70%, rgba(13,13,13,.85) 100%);
}
.hero-cell__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  color: var(--text-invert);
}
.hero-cell__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-invert);
  margin-bottom: 1.25rem;
}
.hero-cell__title {
  color: var(--text-invert);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.hero-cell__title em { color: var(--gold-light); }
.hero-cell__sub {
  font-size: 1.0625rem;
  line-height: 1.5;
  max-width: 50ch;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
}
.hero-cell__cta {
  display: inline-flex;
  gap: .65rem;
  flex-wrap: wrap;
}

/* MARK card — brand intro on right
   -------------------------------------------------------------------------- */
.mark-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.mark-card__top svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 1rem; }
.mark-card__title { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.9vw, 1.875rem); color: var(--text); line-height: 1.1; margin-bottom: .65rem; }
.mark-card__title em { color: var(--gold); font-style: italic; }
.mark-card__text { font-size: .9375rem; color: var(--text-soft); line-height: 1.55; }
.mark-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.mark-card__bottom svg { width: 18px; height: 18px; color: var(--gold); }

/* STAT card
   -------------------------------------------------------------------------- */
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 220px;
}
.stat-card__num {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: .9;
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat-card--ink .stat-card__num { color: var(--text-invert); }
.stat-card--gold .stat-card__num { color: var(--ink); }
.stat-card__num sup {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  vertical-align: top;
  margin-left: .25rem;
  letter-spacing: 0;
}
.stat-card__label {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text-mute);
  line-height: 1.35;
  max-width: 22ch;
}
.stat-card--ink .stat-card__label { color: var(--text-invert-soft); }

/* PHOTO cell — pure image
   -------------------------------------------------------------------------- */
.photo-cell {
  min-height: 280px;
}
.photo-cell img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-cell__caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 8px 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.photo-cell__caption .dot { background: var(--gold); }

/* STORY card — Chi siamo
   -------------------------------------------------------------------------- */
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 100%;
}
.story-card__title { color: var(--text); }
.story-card__title em { font-style: italic; color: var(--gold); }
.story-card__body { color: var(--text-soft); font-size: .9375rem; line-height: 1.6; }
.story-card__body p + p { margin-top: .85rem; }

.signature {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.signature__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
}
.signature__meta { font-family: var(--font-display); font-size: .8125rem; line-height: 1.3; }
.signature__name { color: var(--text); font-weight: 500; display: block; }
.signature__role { color: var(--text-mute); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }

/* TIMELINE — la giornata
   -------------------------------------------------------------------------- */
.day-card { min-height: 100%; }
.day-card__head { margin-bottom: 1.75rem; }
.day-card__title { font-family: var(--font-serif); font-size: clamp(1.75rem, 2.5vw, 2.5rem); line-height: 1.05; color: var(--text-invert); margin-bottom: .65rem; }
.day-card__title em { color: var(--gold-light); font-style: italic; }
.day-card__sub { color: var(--text-invert-soft); font-size: .9375rem; max-width: 56ch; }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 1.5rem;
}
.tl {
  padding: 1.25rem 1rem;
  background: var(--green);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.tl__time {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  color: var(--gold-light);
  line-height: 1;
}
.tl__title { font-family: var(--font-display); font-size: .875rem; font-weight: 500; color: var(--text-invert); }
.tl__text { font-size: .75rem; line-height: 1.5; color: var(--text-invert-soft); }

/* LIST card with icons
   -------------------------------------------------------------------------- */
.list-card { min-height: 100%; }
.list-card h3 { margin-bottom: 1.25rem; font-family: var(--font-serif); font-size: 1.75rem; }
.list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .25rem;
}
.list li {
  display: flex;
  gap: .85rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  align-items: flex-start;
  color: var(--text-soft);
}
.list li:last-child { border-bottom: 0; }
.list svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--gold);
  margin-top: 2px;
}
.list strong { color: var(--text); }

/* CERT chips card
   -------------------------------------------------------------------------- */
.certs-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  gap: 1rem;
}
.certs-card__title { font-family: var(--font-serif); font-size: 1.625rem; color: var(--text-invert); line-height: 1.05; }
.certs-card__title em { color: var(--gold-light); font-style: italic; }
.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 7px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-invert);
  letter-spacing: -0.005em;
}
.chip svg { width: 13px; height: 13px; color: var(--gold-light); }

/* MARKS STRIP — certificazioni
   -------------------------------------------------------------------------- */
.marks-strip { display: flex; flex-direction: column; gap: 1.5rem; }
.marks-strip__head { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.marks-strip__head h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; }
.marks-strip__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.mark-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1.25rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  text-align: center;
  min-height: 110px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.mark-tile:hover { background: var(--cream-deep); transform: translateY(-2px); }
.mark-tile img { max-height: 56px; width: auto; object-fit: contain; }
.mark-tile--text .mark-tile__abbr {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.mark-tile--text .mark-tile__abbr sup {
  font-family: var(--font-display);
  font-size: .65em;
  font-weight: 500;
  vertical-align: top;
  margin-left: .15em;
}
.mark-tile__name {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-mute);
}

@media (max-width: 900px) {
  .marks-strip__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .marks-strip__row { grid-template-columns: repeat(2, 1fr); }
}

/* ALPACA quote card
   -------------------------------------------------------------------------- */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.quote-card__mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5rem;
  line-height: 0;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  margin-top: .5rem;
}
.quote-card__text {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  line-height: 1.25;
  color: var(--text);
  font-style: italic;
}
.quote-card__author {
  font-family: var(--font-display);
  font-size: .8125rem;
  color: var(--text-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* CONTACT cell
   -------------------------------------------------------------------------- */
.contact-card { min-height: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card h3 { font-family: var(--font-serif); font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.05; color: var(--text-invert); }
.contact-card h3 em { color: var(--gold-light); font-style: italic; }
.contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.contact-list .icon-bubble {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: var(--gold-light);
}
.contact-list svg { width: 16px; height: 16px; }
.contact-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
  font-weight: 500;
  margin-bottom: .15rem;
}
.contact-list a, .contact-list span {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text-invert);
  line-height: 1.3;
}
.contact-list a:hover { color: var(--gold-light); }

.contact-actions { display: inline-flex; gap: .65rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; }

/* MAP cell
   -------------------------------------------------------------------------- */
.map-cell {
  min-height: 100%;
  padding: 0;
  border: 2px solid var(--gold);
}
.map-cell iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(.85) contrast(.95);
}

/* CTA banner cell (full row)
   -------------------------------------------------------------------------- */
.cta-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
}
.cta-cell h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--ink);
  max-width: 22ch;
}
.cta-cell h2 em { font-style: italic; }

/* FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.footer__brand img { height: 48px; margin-bottom: 1.25rem; }
.footer__brand p { font-size: .875rem; color: var(--text-mute); max-width: 36ch; line-height: 1.55; }
.footer h5 {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 1.25rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .35rem 0; font-size: .9375rem; color: var(--text-soft); }
.footer a { color: var(--text-soft); }
.footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: .75rem;
  color: var(--text-mute);
}
.footer__bottom a:hover { color: var(--gold-deep); }

/* ==========================================================================
   COMPONENTI PAGINE INTERNE — sito a 4 pagine (AZIENDA·PRODUZIONE·FILIERA·VENDITA)
   ========================================================================== */

/* Active nav state */
.nav a.is-active { background: var(--ink); color: var(--text-invert); }
.nav a.is-active:hover { background: var(--ink); color: var(--text-invert); }
.nav.is-open a.is-active { background: transparent; color: var(--gold-deep); }

/* Section heading — vive dentro .shell, tra le bento rows */
.sec-head { padding: clamp(1.5rem, 3vw, 2.75rem) 0 0; max-width: 760px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3.2vw, 2.875rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-top: 1rem;
}
.sec-head h2 em { font-style: italic; color: var(--gold); }
.sec-head p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.55; color: var(--text-soft); max-width: 62ch; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

/* Hero compatto per pagine interne */
.hero-cell--compact { min-height: clamp(340px, 42vh, 460px); }

/* ICON CARD riusabile (sostenibilità, vendita, feature generiche) */
.icon-card { display: flex; flex-direction: column; gap: .9rem; min-height: 100%; }
.icon-card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(31,48,36,.08);
  color: var(--green);
  flex-shrink: 0;
}
.icon-card--gold .icon-card__icon { background: rgba(199,159,1,.14); color: var(--gold-deep); }
.icon-card__icon svg { width: 24px; height: 24px; }
.icon-card h4 { font-family: var(--font-serif); font-size: 1.375rem; color: var(--text); line-height: 1.12; }
.cell--green .icon-card h4 { color: var(--text-invert); }
.icon-card p { font-size: .9rem; color: var(--text-soft); line-height: 1.55; }
.cell--green .icon-card p { color: var(--text-invert-soft); }
.icon-card__fig {
  font-family: var(--font-serif); font-size: 2.75rem; color: var(--gold-deep);
  line-height: 1; letter-spacing: -0.02em;
}
.icon-card__fig sup { font-family: var(--font-display); font-size: .35em; font-weight: 500; vertical-align: top; margin-left: .15em; }

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.team-card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-align: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.team-card:hover { background: var(--cream-deep); transform: translateY(-3px); }
.team-card__photo { aspect-ratio: 1 / 1; background: var(--gold); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__body { padding: 1.1rem 1rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.team-card__name { font-family: var(--font-serif); font-size: 1.1875rem; color: var(--text); line-height: 1.12; }
.team-card__role { font-family: var(--font-display); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }

/* MEDIA CARD — foto + testo (sostenibilità, filiera, ecc.) */
.mediacard { display: flex; flex-direction: column; overflow: hidden; min-height: 100%; padding: 0; }
.mediacard__img { aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.mediacard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.mediacard:hover .mediacard__img img { transform: scale(1.04); }
.mediacard__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.mediacard__body .eyebrow { color: var(--gold-deep); }
.mediacard__body h4 { font-family: var(--font-serif); font-size: 1.375rem; color: var(--text); line-height: 1.12; }
.mediacard__body p { font-size: .9rem; color: var(--text-soft); line-height: 1.55; }
.mediacard__fig { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold-deep); line-height: 1; letter-spacing: -0.02em; }
.mediacard__fig sup { font-family: var(--font-display); font-size: .35em; font-weight: 500; vertical-align: top; margin-left: .15em; }

/* PARTNERS — loghi certificazioni (sezione in pagina) */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.partner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem;
  min-height: 150px;
  height: 100%;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.partner:hover { border-color: var(--gold); transform: translateY(-2px); }
.partner img { max-height: 96px; width: auto; max-width: 85%; object-fit: contain; }
.partner__label { font-family: var(--font-display); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-mute); text-align: center; line-height: 1.3; }

/* PARTNERS nel footer (compatti) */
.footer__partners {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem;
  padding-top: 2rem; margin-top: -2rem; margin-bottom: 2rem;
  border-top: 1px solid var(--border);
}
.footer__partners img { height: 40px; width: auto; object-fit: contain; }

/* ORG CHART — gruppo hobetGROUP */
.org { max-width: 1060px; margin: 0 auto; }
.org__node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.1rem 1.25rem;
  text-align: center;
}
.org__name { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text); line-height: 1.1; display: block; }
.org__role { font-family: var(--font-display); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-mute); margin-top: .4rem; display: block; line-height: 1.35; }
.org__site { font-family: var(--font-display); font-size: .72rem; color: var(--gold-deep); margin-top: .5rem; display: inline-block; }
.org__site:hover { text-decoration: underline; text-underline-offset: 3px; }
.org__node--holding { background: var(--green); border: 0; max-width: 320px; margin: 0 auto; }
.org__node--holding .org__name { color: var(--text-invert); font-size: 1.5rem; }
.org__node--holding .org__role { color: var(--gold-light); }
.org__node--holding .org__site { color: var(--gold-light); }
.org__node--current { border: 2px solid var(--gold); background: var(--cream); }
.org__node--current .org__role { color: var(--gold-deep); }

.org__stem { width: 2px; height: 30px; background: var(--border-strong); margin: 0 auto; }
.org__children {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  padding-top: 30px;
}
.org__children::before {
  content: '';
  position: absolute;
  top: 0; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--border-strong);
}
.org__child { position: relative; }
.org__child::before {
  content: '';
  position: absolute;
  top: -30px; left: 50%;
  width: 2px; height: 30px;
  background: var(--border-strong);
  transform: translateX(-50%);
}

/* HIGHLIGHT card (es. vendita 24h) */
.highlight { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 100%; }
.highlight__badge {
  align-self: flex-start;
  font-family: var(--font-serif); font-size: clamp(3rem, 5vw, 4.5rem); line-height: .9;
  letter-spacing: -0.02em;
}
.cell--green .highlight__badge { color: var(--gold-light); }
.cell--gold .highlight__badge { color: var(--ink); }

/* Reveal motion
   -------------------------------------------------------------------------- */
.cell { opacity: 0; transform: translateY(20px); }
.cell.is-visible { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cell:hover { border-color: rgba(13,13,13,.18); }
.photo-cell:hover img { transform: scale(1.03); transition: transform 1s var(--ease); }
.photo-cell img { transition: transform 1.2s var(--ease); }

/* ==========================================================================
   RESPONSIVE — 4 tier (laptop, tablet land, tablet portrait, mobile, small)
   ========================================================================== */

/* LAPTOP / SMALL DESKTOP — < 1200px
   ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  :root { --gap: 18px; }
  .stat-card__num { font-size: clamp(3rem, 5.5vw, 5rem); }
  .hero-cell__title { font-size: clamp(2.5rem, 6vw, 5rem); }
}

/* TABLET LANDSCAPE — 901-1100px
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  /* Bento: 12-col diventa più stretto, 3 e 4 raddoppiano */
  .col-3 { grid-column: span 6; }
  .col-4 { grid-column: span 6; }
  .col-5 { grid-column: span 6; }
  .col-7 { grid-column: span 5; }
  .col-6 { grid-column: span 12; }
  .col-8 { grid-column: span 12; }
  .col-9 { grid-column: span 12; }

  .row-2 { grid-row: span 1; }
  .hero-cell { min-height: 520px; }

  .timeline { grid-template-columns: repeat(5, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }

  /* Quote card più compatto */
  .quote-card__text { font-size: 1.375rem; }

  /* Marks strip (se mai riattivata) */
  .marks-strip__row { grid-template-columns: repeat(5, 1fr); gap: .75rem; }
}

/* TABLET PORTRAIT — 600-900px
   ------------------------------------------------------------------ */
@media (max-width: 900px) {
  :root { --gap: 16px; --radius: 20px; }

  /* Nav diventa drawer */
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    background: rgba(244, 241, 234, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 20px 1.25rem;
    box-shadow: 0 16px 32px -16px rgba(13,13,13,.18);
  }
  .nav.is-open a {
    padding: 14px 8px;
    border-radius: 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav.is-open a:hover { background: transparent; color: var(--gold-deep); }

  /* Topline: nascondi info secondari */
  .topline__left span:nth-child(3),
  .topline__right { display: none; }
  .topline { font-size: .7rem; }

  /* Bento: tutto su 2 o full row */
  .col-3 { grid-column: span 6; }
  .col-4 { grid-column: span 6; }
  .col-5 { grid-column: span 12; }
  .col-6 { grid-column: span 12; }
  .col-7 { grid-column: span 12; }
  .col-8 { grid-column: span 12; }
  .col-9 { grid-column: span 12; }
  .row-2 { grid-row: span 1; }

  /* Hero */
  .hero-cell { min-height: 540px; }
  .hero-cell__inner { padding: 2rem 1.5rem; }

  /* Stat card */
  .stat-card { min-height: 180px; }
  .stat-card__num { font-size: clamp(3rem, 7vw, 4.5rem); }

  /* Timeline: 2 colonne */
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .day-card__title { font-size: clamp(1.5rem, 4vw, 2rem); }

  /* Contact / Map equal columns full width */
  .contact-card { gap: 1.25rem; }
  .map-cell { min-height: 360px; }

  /* CTA */
  .cta-cell { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2rem; }
  .cta-cell h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }

  /* Footer */
  .footer { padding: 4rem 0 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}

/* MOBILE — < 600px
   ------------------------------------------------------------------ */
@media (max-width: 600px) {
  :root { --gap: 12px; --radius: 16px; --radius-sm: 12px; }

  body { font-size: 15px; }

  /* Topline */
  .topline { padding: 10px 0 0; }
  .topline__inner { gap: .5rem; }
  .topline__left { gap: 1rem; flex-wrap: wrap; }
  .topline__left span:nth-child(2) { display: none; }

  /* Header */
  .header__inner { gap: .75rem; padding-block: 12px; }
  .brand img { height: 34px; }
  .header .btn { padding: 9px 14px; font-size: .75rem; }
  .header .btn svg { width: 13px; height: 13px; }

  /* Tutti i col → span 12 */
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
  .row-2 { grid-row: span 1; }

  /* Cell padding più compatto */
  .cell-pad { padding: 1.5rem 1.25rem; }

  /* Hero */
  .hero-cell { min-height: 520px; }
  .hero-cell__inner { padding: 1.5rem 1.25rem; }
  .hero-cell__title { font-size: clamp(2.25rem, 9vw, 3.25rem); margin-bottom: 1rem; }
  .hero-cell__sub { font-size: .95rem; line-height: 1.45; margin-bottom: 1.25rem; }
  .hero-cell__eyebrow { font-size: .65rem; padding: 5px 12px 5px 9px; margin-bottom: 1rem; }
  .hero-cell__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .55rem;
  }
  .hero-cell__cta .btn { justify-content: center; padding: 12px 18px; font-size: .8125rem; }

  /* Mark card */
  .mark-card__title { font-size: 1.375rem; }

  /* Stat card */
  .stat-card { min-height: 150px; gap: .75rem; }
  .stat-card__num { font-size: clamp(2.75rem, 13vw, 4rem); }
  .stat-card__label { font-size: .75rem; }

  /* Story / split */
  .story-card { gap: 1rem; }
  .display-lg { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Photo cell */
  .photo-cell { min-height: 240px; }
  .photo-cell__caption { bottom: .75rem; left: .75rem; font-size: .7rem; padding: 6px 11px; }

  /* Day card */
  .day-card__head { margin-bottom: 1.25rem; }
  .day-card__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .day-card__sub { font-size: .875rem; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl { padding: 1rem 1.25rem; gap: .35rem; }
  .tl__time { font-size: 1.375rem; }

  /* Quote */
  .quote-card__mark { font-size: 3.5rem; }
  .quote-card__text { font-size: 1.125rem; line-height: 1.35; }

  /* List card */
  .list-card h3 { font-size: 1.375rem; }
  .list li { font-size: .875rem; padding: .6rem 0; }

  /* Certs card (green) */
  .certs-card__title { font-size: 1.375rem; }
  .chip { font-size: .7rem; padding: 6px 10px; }

  /* Filiera 4-step numerals */
  .numeral { font-size: 2rem !important; }

  /* Contact */
  .contact-card h3 { font-size: 1.625rem; }
  .contact-list a, .contact-list span { font-size: 1rem; }
  .contact-list .icon-bubble { width: 34px; height: 34px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { justify-content: center; }

  /* Map */
  .map-cell { min-height: 280px; border-width: 2px; }

  /* CTA */
  .cta-cell { padding: 1.75rem 1.5rem; gap: 1rem; }
  .cta-cell h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); line-height: 1.05; }
  .cta-cell > div { width: 100%; flex-direction: column; }
  .cta-cell > div .btn { justify-content: center; }

  /* Footer */
  .footer { padding: 3rem 0 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin-bottom: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { height: 42px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* SMALL MOBILE — < 420px
   ------------------------------------------------------------------ */
@media (max-width: 420px) {
  :root { --gap: 10px; }

  /* Topline ulteriormente ridotto */
  .topline__left span:nth-child(1) span { display: none; }
  .topline__info { font-size: .7rem; }

  /* Header CTA: solo numero senza icona, più compatto */
  .header .btn { padding: 8px 12px; }

  /* Hero ridotto */
  .hero-cell { min-height: 480px; }
  .hero-cell__title { font-size: clamp(2rem, 10vw, 2.75rem); }

  /* Stat */
  .stat-card { min-height: 130px; }

  /* Footer: 1 colonna */
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }

  /* Day card title */
  .day-card__title { font-size: clamp(1.375rem, 7vw, 1.75rem); }
}

/* Touch-friendly: hover disabilitato su touch devices
   ------------------------------------------------------------------ */
@media (hover: none) {
  .cell:hover { transform: none; border-color: var(--border); }
  .photo-cell:hover img { transform: none; }
  .btn:hover { transform: none; }
  .card:hover { transform: none; box-shadow: none; }
}

/* Reduced motion preference
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .cell { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE — componenti pagine interne
   ========================================================================== */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  /* Org chart → catena verticale */
  .org__children { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .org__children::before { display: none; }
  .org__child { padding-top: 16px; }
  .org__child::before { top: 0; height: 16px; }
  .org__node--holding { max-width: 100%; }
}
@media (max-width: 700px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__partners img { height: 32px; }
}
@media (max-width: 600px) {
  .icon-card__fig { font-size: 2.25rem; }
  .team-card__avatar { width: 64px; height: 64px; font-size: 1.5rem; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}
