/* ═══════════════════════════════════════════════
   RUGI SRL
═══════════════════════════════════════════════ */

:root {
  --black:    #122314;
  --dark:     #122314;
  --forest:   #273f2b;
  --green:    #2d6a4f;
  --brand-green:#116938;
  --brand-red:#e22723;
  --mid:      #40916c;
  --bright:   #52b788;
  --mint:     #95d5b2;
  --lime:     #68ef3f;
  --cream:    #f2f5eb;
  --off-white:#ffffff;
  --white:    #ffffff;
  --gray:     #8a9490;
  --gray-d:   #3a4a3e;

  --font-d: 'Montserrat', 'Aptos Display', 'Segoe UI', Arial, sans-serif;
  --font-m: var(--font-b);
  --font-b: 'Noto Sans', 'Aptos', 'Segoe UI', Arial, sans-serif;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.76,0,.24,1);
}

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
}
.chi-value-name,
.perche-p-title,
.cert-name,
.footer-col-title {
  font-family: var(--font-d);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── UTILITY ────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 100%; padding: 0 60px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 100px;
}
.tag-lime  { color: var(--lime); border-color: rgba(200,241,101,.3); }
.tag-dark  { color: var(--gray); border-color: var(--gray-d); }
.tag-cream { color: var(--green); border-color: rgba(45,106,79,.3); background: rgba(45,106,79,.07); }

.clip-wrap { overflow: hidden; }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-b);
  font-size: .92rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::after { opacity: 1; }
.btn-lime {
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
}
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(200,241,101,.3); }
.btn-ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.btn-ghost-white:hover { border-color: var(--white); transform: translateY(-3px); }
.btn-ghost-dark {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.btn-ghost-dark:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }

/* ─── HERO ───────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,23,16,.42) 0%, rgba(11,23,16,.72) 58%, rgba(11,23,16,.9) 100%),
    radial-gradient(circle at 18% 78%, rgba(82,183,136,.5), transparent 42%);
  background-size: 100% 100%, 165% 165%;
  animation: gradientDrift 11s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

#hero > .container,
.rotating-badge,
.hero-scroll {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 8.5vw, 8.5rem);
  font-weight: 800;
  line-height: .80;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 48px;
}
.hero-title .line-wrap {
  overflow: hidden;
  display: block;
  padding: .04em .08em .06em 0;
  margin-right: -.08em;
}
.hero-title .word { display: block; }
.hero-title .accent { color: var(--lime); }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.hero-sub {
  font-size: clamp(.9rem,1.5vw,1.1rem);
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 400px;
  flex-shrink: 0;
}
.hero-ctas {
  display: flex; gap: 14px; flex-shrink: 0;
}

/* ─── CHI SIAMO ──────────────────────────────── */
#chi-siamo {
  background: var(--cream);
  color: var(--black);
  padding: 120px 0;
  overflow: hidden;
}
.chi-intro {
  border-bottom: 1px solid rgba(11,23,16,.12);
  padding-bottom: 64px;
  margin-bottom: 0;
}
.chi-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.chi-origin {
  font-family: var(--font-m);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.chi-headline {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  gap: 72px;
  align-items: start;
}
.chi-title {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--black);
}
.chi-copy {
  padding-top: 10px;
}
.chi-copy p {
  font-size: 1rem;
  color: #5a6b60;
  line-height: 1.8;
  margin-bottom: 16px;
}
.chi-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(11,23,16,.12);
  border-bottom: 1px solid rgba(11,23,16,.12);
}
.story-link-inline {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  font-family: var(--font-m);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid rgba(45,106,79,.28);
  padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.story-link-inline:hover {
  color: var(--black);
  border-color: var(--black);
}
.chi-value-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 34px 30px;
  border-right: 1px solid rgba(11,23,16,.1);
  transition: background .25s;
}
.chi-value-row:last-child {
  border-right: none;
}
.chi-value-icon {
  width: 42px; height: 42px;
  background: rgba(17,105,56,.1);
  color: var(--brand-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m);
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .25s, color .25s, transform .25s;
}
.chi-value-row:hover {
  background: rgba(255,255,255,.38);
}
.chi-value-row:hover .chi-value-icon {
  background: var(--brand-green);
  color: var(--white);
  transform: translateY(-3px);
}
.chi-value-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
}
.chi-value-desc {
  font-size: .9rem;
  color: #6a7a70;
  margin-top: 8px;
  line-height: 1.65;
}
.chi-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--forest);
  color: var(--white);
  margin: 0 0 54px;
}
.chi-stat {
  padding: 34px 30px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.chi-stat:last-child {
  border-right: none;
}
.chi-stat-val {
  font-family: var(--font-d);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--white);
}
.chi-stat-val span:last-child {
  color: var(--mint);
}
.chi-stat-label {
  margin-top: 12px;
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  line-height: 1.5;
}

/* ─── SERVIZI ─────────────────────────────────── */
#servizi {
  background: var(--off-white);
  color: var(--black);
  padding: 110px 0 76px;
}
.servizi-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 60px; gap: 40px;
}
.servizi-title {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--black);
  max-width: 560px;
}
.servizi-sub {
  font-size: .95rem;
  color: #6a7a70;
  line-height: 1.7;
  max-width: 320px;
  flex-shrink: 0;
}

/* Accordion */
.service-list { border-top: 1px solid rgba(0,0,0,.1); }
.service-row {
  border-bottom: 1px solid rgba(0,0,0,.1);
  position: relative;
  overflow: hidden;
}
.service-row::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.service-row:hover::before { transform: scaleX(1); }
.service-row-head {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  position: relative; z-index: 1;
}
.service-num {
  font-family: var(--font-m);
  font-size: .75rem;
  color: var(--gray);
  width: 36px;
  flex-shrink: 0;
  transition: color .25s;
}
.service-row:hover .service-num { color: rgba(11,23,16,.5); }
.service-name {
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--black);
  flex: 1;
  transition: color .25s;
}
.service-row:hover .service-name { color: var(--black); }
.service-icon-wrap {
  font-size: 1.5rem;
  width: 48px;
  text-align: center;
  flex-shrink: 0;
  transition: transform .4s var(--ease-out);
}
.service-row:hover .service-icon-wrap { transform: rotate(10deg) scale(1.15); }
.service-toggle {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .4s var(--ease-out), border-color .25s, background .25s;
}
.service-row:hover .service-toggle { border-color: rgba(11,23,16,.3); }
.service-row[open] .service-toggle { transform: rotate(45deg); background: var(--black); color: var(--white); border-color: var(--black); }
.service-row[open]:hover .service-toggle { background: var(--black); }
.service-row[open]::before { transform: scaleX(0); }

.service-body {
  overflow: hidden;

  position: relative; z-index: 1;
}
.service-body-inner {
  padding: 0 60px 36px;
  display: flex; align-items: flex-start; gap: 80px;
}
.service-desc {
  font-size: .95rem;
  color: #5a6b60;
  line-height: 1.8;
  max-width: 560px;
  flex: 1;
}
.service-cta {
  flex-shrink: 0;
  font-family: var(--font-m);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
  transition: gap .25s;
}
.service-cta:hover { gap: 16px; }

/* ─── NUMERI ──────────────────────────────────── */
#numeri {
  background: var(--black);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.numeri-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 80px; gap: 40px;
}
.numeri-title {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.numeri-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 300px;
  flex-shrink: 0;
}
.numeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}
.numero-item {
  padding: 60px 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  transition: background .35s;
}
.numero-item:last-child { border-right: none; }
.numero-item:hover { background: rgba(255,255,255,.03); }
.numero-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.numero-item:hover::after { transform: scaleX(1); }
.num-val {
  font-family: var(--font-d);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--white);
}
.num-val .suf { color: var(--lime); }
.num-unit {
  font-family: var(--font-m);
  font-size: .7rem;
  color: rgba(255,255,255,.25);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 8px;
}
.num-label {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  line-height: 1.5;
}

/* ─── NEWS ───────────────────────────────────── */
#news {
  --crescent-x: 24%;
  --crescent-y: -18%;
  --crescent-rot: 12deg;
  background: var(--dark);
  color: var(--white);
  padding: 110px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
#news::before {
  content: '';
  position: absolute;
  width: 760px;
  height: 760px;
  right: -220px;
  top: -280px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 72% 28%, transparent 0 34%, rgba(200,241,101,.12) 35%, rgba(82,183,136,.1) 48%, transparent 68%);
  filter: blur(62px);
  pointer-events: none;
  transform: translate3d(var(--crescent-x), var(--crescent-y), 0) rotate(var(--crescent-rot));
}
#news::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  left: -220px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149,213,178,.1) 0%, transparent 68%);
  filter: blur(70px);
  pointer-events: none;
  animation: glowPath 22s ease-in-out infinite alternate-reverse;
}
#news > .container {
  position: relative;
  z-index: 1;
}
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}
.news-header .tag {
  margin-bottom: 24px;
}
.news-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.news-sub {
  max-width: 380px;
  font-size: .98rem;
  line-height: 1.75;
  color: rgba(255,255,255,.52);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}
.news-card {
  min-height: 310px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
}
.news-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.075);
  border-color: rgba(149,213,178,.28);
}
.news-card-featured {
  background: rgba(17,105,56,.22);
}
.news-date {
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 28px;
}
.news-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 16px;
}
.news-card p {
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 34px;
}
.news-card .btn {
  margin-top: auto;
}

/* ─── NEWS MEDIA ─────────────────────────────── */
#news-media {
  background: var(--off-white);
  color: var(--black);
  padding: 120px 0;
}
.news-media-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.news-media-copy .tag {
  margin-bottom: 26px;
}
.news-media-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}
.news-media-copy p {
  color: #5a6b60;
  line-height: 1.8;
  max-width: 430px;
}
.news-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.news-photo-slot {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(45,106,79,.16), rgba(149,213,178,.2)),
    var(--white);
  border: 1px solid rgba(11,23,16,.08);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), z-index .1s;
}
.news-photo-slot:hover {
  transform: scale(1.06);
  z-index: 4;
  box-shadow: 0 22px 54px rgba(11,23,16,.18);
}
.news-photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .7s var(--ease-out);
  opacity: 1;
}
.news-photo-slot:hover img {
  transform: scale(1.08);
}
.news-photo-slot::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(45,106,79,.25);
  border-radius: 6px;
  display: none;
}
.news-photo-slot span {
  position: relative;
  z-index: 1;
  font-family: var(--font-m);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.news-photo-large {
  grid-row: span 2;
  min-height: 456px;
}

/* ─── PERCHÉ NOI ──────────────────────────────── */
#perche {
  background: var(--cream);
  color: var(--black);
  padding: 120px 0;
  overflow: hidden;
}
.perche-grid {
  display: block;
}
.perche-left {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
  gap: 34px 88px;
  align-items: end;
}
.perche-left .tag {
  grid-column: 1;
  width: fit-content;
  margin-bottom: 0;
}
.perche-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 0;
  grid-column: 1;
}
.perche-desc {
  font-size: .95rem;
  color: #5a6b60;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 420px;
  grid-column: 1;
}
.perche-left > .btn {
  grid-column: 1;
  width: fit-content;
}
.perche-card {
  grid-column: 2;
  grid-row: 1 / span 4;
  background: var(--forest);
  color: var(--white);
  border-radius: 20px;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.perche-card::after {
  content: '♻';
  position: absolute;
  font-size: 15rem;
  bottom: -60px; right: -30px;
  opacity: .06;
  line-height: 1;
}
.perche-card-quote {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.perche-card-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.perche-card-lime {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-m);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
  border-bottom: 1px solid rgba(200,241,101,.3);
  padding-bottom: 2px;
}

/* ─── CTA BANNER ─────────────────────────────── */
#cta-banner {
  background: var(--lime);
  color: var(--black);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}
#cta-banner::before,
.news-cta::before,
#ricambi-form::before {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(56px);
  animation: softGradientMove 10s ease-in-out infinite alternate;
  z-index: 0;
}
#cta-banner::before {
  display: none;
}
#cta-banner > .container {
  position: relative;
  z-index: 1;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px;
}
.cta-text .small {
  font-family: var(--font-m);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 16px;
}
.cta-text h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  max-width: 580px;
}
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; }
.btn-cta-dark {
  background: var(--black); color: var(--lime);
  padding: 16px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.btn-cta-dark:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(11,23,16,.2); }
.btn-cta-ghost {
  background: transparent;
  border: 1.5px solid rgba(11,23,16,.3);
  color: var(--black);
  padding: 16px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color .25s, background .25s, transform .3s;
}
.btn-cta-ghost:hover { border-color: var(--black); background: rgba(11,23,16,.07); transform: translateY(-3px); }

/* ─── CERTIFICAZIONI ─────────────────────────── */
#certificazioni {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.04);
}
.cert-header { margin-bottom: 48px; }
.cert-header .tag { margin-bottom: 20px; }
.cert-title {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}
.cert-grid {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.cert-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex; align-items: center; gap: 16px;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
}
.cert-card:hover {
  background: rgba(200,241,101,.08);
  border-color: rgba(200,241,101,.25);
  transform: translateY(-4px);
}
.cert-card:hover .cert-dl {
  opacity: 1;
  transform: translateY(0);
}
.cert-icon {
  min-width: 1.9rem;
  font-size: 1.4rem;
  font-family: var(--font-d);
  font-weight: 800;
  line-height: 1;
  color: var(--lime);
  text-align: center;
}
.cert-name { font-weight: 700; font-size: .9rem; }
.cert-sub  { font-size: .78rem; color: rgba(255,255,255,.35); margin-top: 2px; }
.cert-dl {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}

/* ─── LAVORA CON NOI ─────────────────────────── */
#candidature {
  background: var(--off-white);
  color: var(--black);
  padding: 120px 0;
}
.lavora-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: start;
}
.lavora-copy .tag {
  margin-bottom: 26px;
}
.lavora-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.04em;
}
.lavora-panel {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 8px;
  padding: clamp(30px, 4vw, 48px);
  box-shadow: 0 18px 52px rgba(11,23,16,.06);
}
.lavora-panel p {
  color: #5a6b60;
  line-height: 1.8;
  margin-bottom: 28px;
}
.lavora-points {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}
.lavora-points span {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(11,23,16,.1);
  font-weight: 700;
  color: var(--black);
}
.candidatura-main .lavora-points {
  margin-bottom: 0;
}
.candidatura-info p {
  color: #5a6b60;
  line-height: 1.75;
  font-size: .92rem;
}
.file-note {
  margin-top: 8px;
  font-size: .78rem;
  color: #6a7a70;
}

/* ─── FOOTER ──────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 40px;
}
.footer-logo {
  width: 136px;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-col-title {
  font-family: var(--font-d);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-row {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-row .ic { font-size: .9rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-row span {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.2);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-right { display: flex; align-items: center; gap: 4px; }
.footer-bottom-lime { color: var(--lime); }

/* ─── CONTATTI PAGE ───────────────────────────── */
.page-hero {
  --crescent-x: 24%;
  --crescent-y: -18%;
  --crescent-rot: 12deg;
  min-height: 60vh;
  display: flex; align-items: flex-end;
  padding-bottom: 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 780px;
  height: 780px;
  right: -240px;
  top: -280px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 72% 28%, transparent 0 34%, rgba(200,241,101,.11) 35%, rgba(82,183,136,.1) 49%, transparent 69%);
  filter: blur(66px);
  pointer-events: none;
  transform: translate3d(var(--crescent-x), var(--crescent-y), 0) rotate(var(--crescent-rot));
}
.page-hero-blob {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,241,101,.14) 0%, transparent 70%);
  filter: blur(60px);
  top: -100px; right: -100px;
  animation: blobFloat 14s ease-in-out infinite;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.page-hero-title {
  font-family: var(--font-d);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--white);
  margin-bottom: 28px;
}
.page-hero-title em {
  font-style: normal;
  color: var(--lime);
  display: block;
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 440px;
}

.contatti-main {
  background: var(--off-white);
  color: var(--black);
  padding: 100px 0;
}
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.info-block {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.info-block h2, .info-block h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.c-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 20px;
}
.c-item:last-child { margin-bottom: 0; }
.c-icon {
  width: 38px; height: 38px;
  background: rgba(45,106,79,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.c-label {
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3px;
}
.c-val { font-size: .95rem; font-weight: 600; color: var(--black); line-height: 1.4; }

.map-ph {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-top: 8px;
  border: 1px solid rgba(45,106,79,.15);
}
.map-ph iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.form-wrap > h2, .form-wrap h3 {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.form-wrap > p {
  font-size: .9rem;
  color: #6a7a70;
  margin-bottom: 36px;
  line-height: 1.6;
}
.privacy-note {
  font-size: .86rem !important;
  line-height: 1.6;
  color: #5d6b62 !important;
  background: rgba(17,105,56,.07);
  border: 1px solid #d9deca;
  padding: 12px 14px;
  margin: -18px 0 26px !important;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 20px; }
.f-group label {
  display: block;
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: .93rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(64,145,108,.1);
}
.f-group input[type="file"] {
  padding: 8px;
  cursor: pointer;
  color: #5a6b60;
}
.f-group input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  color: var(--lime);
  font-family: var(--font-d);
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .25s, transform .25s var(--ease-out);
}
.f-group input[type="file"]:hover::file-selector-button,
.f-group input[type="file"]:focus::file-selector-button {
  background: var(--forest);
  transform: translateY(-1px);
}
.f-group textarea { min-height: 130px; resize: vertical; }
.f-check {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 28px;
}
.f-check input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; margin-top: 3px; }
.f-check label { font-size: .82rem; color: #6a7a70; line-height: 1.5; }
.f-check a { color: var(--green); text-decoration: underline; }
.btn-form {
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: var(--lime);
  border: none;
  border-radius: 10px;
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease-out), box-shadow .3s;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.btn-form:hover {
  background: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11,23,16,.2);
}
.form-ok { display: none; text-align: center; padding: 60px 20px; }
.form-ok .ok-icon { font-size: 3rem; margin-bottom: 20px; }
.form-ok h3, .form-ok h4 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.form-ok p { color: #6a7a70; font-size: .9rem; }

/* ─── STORIA PAGE ────────────────────────────── */
.story-hero {
  min-height: 68vh;
}
.story-hero .container {
  padding-top: 110px;
  padding-bottom: 72px;
}
.story-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1fr);
  gap: 64px;
  align-items: center;
}
.story-hero-copy {
  min-width: 0;
}
.story-hero-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
  gap: 18px;
  width: 100%;
  margin-top: 0;
}
.story-hero-photo {
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.story-hero-photo-large {
  min-height: 340px;
}
.story-hero-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.story-main {
  background: var(--off-white);
  color: var(--black);
  padding: 110px 0;
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 760px);
  gap: 96px;
  align-items: start;
}
.story-aside {
  position: sticky;
  top: 120px;
}
.story-aside .tag {
  margin-bottom: 28px;
}
.story-aside h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 22px;
}
.story-aside p {
  font-size: .95rem;
  color: #5a6b60;
  line-height: 1.75;
}
.story-article {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  padding: clamp(34px, 5vw, 64px);
  box-shadow: 0 18px 60px rgba(11,23,16,.06);
}
.story-article p {
  font-size: 1rem;
  color: #425348;
  line-height: 1.9;
  margin-bottom: 24px;
}
.story-article .story-lead {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
  color: var(--green);
  margin-bottom: 34px;
}
.story-signature {
  margin-top: 46px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(0,0,0,.1);
  background: transparent;
  color: var(--black);
}
.story-signature span {
  display: block;
  font-family: var(--font-m);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.story-signature strong {
  font-family: var(--font-d);
  font-size: 1.6rem;
  color: var(--black);
}

/* ─── KEYFRAMES ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .numeri-grid { grid-template-columns: 1fr 1fr; }
  .chi-headline { grid-template-columns: 1fr; gap: 34px; }
  .chi-stats { grid-template-columns: 1fr 1fr; }
  .chi-values { grid-template-columns: 1fr; }
  .chi-value-row { border-right: none; border-bottom: 1px solid rgba(11,23,16,.1); }
  .chi-value-row:last-child { border-bottom: none; }
  .perche-grid { grid-template-columns: 1fr; gap: 60px; }
  .perche-left {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .perche-left .tag,
  .perche-title,
  .perche-desc,
  .perche-left > .btn,
  .perche-card {
    grid-column: 1;
  }
  .perche-card {
    grid-row: auto;
    min-height: auto;
    margin-top: 12px;
  }
  .news-header { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
  .news-media-layout { grid-template-columns: 1fr; gap: 44px; }
  .lavora-grid { grid-template-columns: 1fr; gap: 44px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .service-body-inner { gap: 40px; flex-direction: column; }
  .story-hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .story-hero-photos { max-width: 760px; }
}

@media (max-width: 768px) {
  .rotating-badge { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .servizi-header { flex-direction: column; align-items: flex-start; }
  .numeri-header { flex-direction: column; align-items: flex-start; }
  .numeri-grid { grid-template-columns: 1fr 1fr; }
  .numero-item { padding: 40px 24px; }
  .contatti-grid { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; gap: 44px; }
  .story-aside { position: static; }
  .story-hero-photos { grid-template-columns: 1fr; }
  .story-hero-photo,
  .story-hero-photo-large { min-height: 260px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-inner { align-items: flex-start; }
  .cta-actions { flex-wrap: wrap; }
  .f-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  .hero-scroll { display: none; }
  .cur-dot, .cur-ring { display: none; }
}
@media (max-width: 480px) {
  .numeri-grid { grid-template-columns: 1fr; }
  .chi-kicker { align-items: flex-start; flex-direction: column; }
  .chi-stats { grid-template-columns: 1fr; }
  .chi-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .chi-stat:last-child { border-bottom: none; }
  .news-card { min-height: auto; padding: 28px; }
  .news-photo-grid { grid-template-columns: 1fr; }
  .news-photo-large { min-height: 280px; }
  .lavora-panel { padding: 28px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════════
   PRATICHE AUTO PAGE
═══════════════════════════════════════════════ */

/* Hero dedicato pratiche */
.pratiche-hero { position: relative; overflow: hidden; }
.pratiche-hero::before {
  background: radial-gradient(circle, rgba(200,241,101,.15) 0%, rgba(149,213,178,.13) 42%, transparent 72%);
}

/* Amianto: stessi colori, spazi e gerarchie delle pagine del sito. */
.amianto-hero .container { width: 100%; }
.amianto-hero .page-hero-sub { max-width: 580px; }
.amianto-strip { background: var(--forest); color: var(--white); padding-block: 24px; }
.amianto-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 14px; }
#amianto-servizi { background: var(--off-white); color: var(--black); padding-block: 96px; }
.amianto-section-head { max-width: 720px; margin-bottom: 56px; }
.amianto-section-title { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 24px; }
.amianto-section-title em { font-style: normal; color: var(--brand-green); }
.amianto-section-sub, .amianto-service-desc { color: var(--gray-d); line-height: 1.7; max-width: 65ch; }
.amianto-service-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; padding-block: 36px; border-top: 1px solid #d9deca; }
.amianto-service-row:last-child { border-bottom: 1px solid #d9deca; }
.amianto-service-title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 600; }
.amianto-service-body { min-width: 0; }
.amianto-service-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block: 20px; color: var(--gray-d); font-size: 14px; }
.amianto-service-list li::before { content: '\2713'; color: var(--brand-green); margin-right: 8px; }
.amianto-service-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-green); font-weight: 600; font-size: 14px; }
.amianto-service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
#amianto-form { background: var(--cream); color: var(--black); padding-block: 96px; }
#amianto-form .pratiche-form-info h2 { margin-top: 0; }
#amianto-form .pratiche-form-info p, #amianto-form .f-check label { color: var(--gray-d); }
#amianto-form .pratiche-form-wrap { box-shadow: none; border: 1px solid #d9deca; }
.amianto-form-hint { color: var(--gray-d); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
#amianto-form .f-group label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--black); }
#amianto-form .f-group input, #amianto-form .f-group select, #amianto-form .f-group textarea { font-size: 16px; min-width: 0; }
#amianto-form input::placeholder, #amianto-form textarea::placeholder { color: #57604e; opacity: 1; }
#amianto-form .f-group :focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
#amianto-form .f-check label { font-size: 14px; }
#amianto-form .btn-form { background: var(--lime); color: var(--black); border-radius: 28px; }
#amianto-form .btn-form:hover { transform: none; box-shadow: none; background: var(--mint); }
#amianto-form .btn-form:disabled { opacity: .7; cursor: wait; }
#amianto-form .pratiche-c-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .amianto-strip ul { grid-template-columns: repeat(2, 1fr); }
  .amianto-service-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  #amianto-servizi, #amianto-form { padding-block: 64px; }
  .amianto-section-head { margin-bottom: 32px; }
  .amianto-strip ul { gap: 16px; }
  #amianto-form .f-row { grid-template-columns: 1fr; gap: 0; }
}
.pratiche-hero-deco {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(6rem, 14vw, 12rem);
  opacity: .06;
  pointer-events: none;
  user-select: none;
}
.page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* Strip informazioni rapide */
.pratiche-strip {
  background: var(--lime);
  padding: 18px 0;
}
.pratiche-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.pratiche-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px;
  color: var(--black);
  font-weight: 600;
  font-size: .88rem;
}
.pratiche-strip-icon { font-size: 1.1rem; }
.pratiche-strip-sep {
  width: 1px;
  height: 24px;
  background: rgba(11,23,16,.2);
}

/* Header sezione servizi pratiche */
#pratiche-servizi {
  background: var(--off-white);
  padding: 100px 0;
}
.pratiche-header {
  text-align: center;
  margin-bottom: 64px;
}
.pratiche-title {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--black);
  margin: 16px 0 20px;
  line-height: 1.2;
}
.pratiche-sub {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid cards pratiche */
.pratiche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pratica-card {
  background: var(--white);
  border: 1px solid rgba(45,106,79,.12);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.pratica-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(17,105,56,.12);
}
.pratica-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.pratica-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 12px;
}
.pratica-desc {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 20px;
}
.pratica-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-green);
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pratica-link:hover { gap: 8px; }

/* Processo pratiche */
#pratiche-processo {
  background: var(--black);
  padding: 100px 0;
}
.pratiche-proc-header {
  text-align: center;
  margin-bottom: 64px;
}
.pratiche-proc-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-top: 16px;
  line-height: 1.2;
}
.pratiche-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pratiche-step {
  background: var(--forest);
  border: 1px solid rgba(200,241,101,.1);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
}
.ps-num {
  font-family: var(--font-d);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(200,241,101,.12);
  line-height: 1;
  margin-bottom: 16px;
}
.ps-emoji { font-size: 2rem; margin-bottom: 14px; }
.ps-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ps-desc {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.7;
}

/* Form pratiche */
#pratiche-form {
  background: var(--cream);
  padding: 100px 0;
}
.pratiche-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.pratiche-form-info { padding-top: 8px; }
.pratiche-form-info h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--black);
  margin: 16px 0 20px;
  line-height: 1.2;
}
.pratiche-form-info p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
}
.pratiche-contact-rows { display: flex; flex-direction: column; gap: 14px; }
.pratiche-c-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--black);
}
.pratiche-c-icon { font-size: 1.1rem; }
.pratiche-form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 8px 48px rgba(17,105,56,.08);
}

/* ═══════════════════════════════════════════════
   NEWS PAGE
═══════════════════════════════════════════════ */

/* Barra filtri */
.news-filter-bar {
  background: var(--off-white);
  border-bottom: 1px solid rgba(45,106,79,.1);
  padding: 0;
  position: sticky;
  top: 70px;
  z-index: 100;
}
.news-filters {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news-filters::-webkit-scrollbar { display: none; }
.news-filter-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-family: var(--font-b);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.news-filter-btn:hover { color: var(--brand-green); }
.news-filter-btn.active {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}

/* Featured news */
.news-page-featured {
  background: var(--off-white);
  padding: 64px 0 48px;
}
.news-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 52px 56px;
  border: 1px solid rgba(45,106,79,.1);
}
.news-featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.news-featured-date {
  font-size: .8rem;
  color: var(--gray);
  font-weight: 500;
}
.news-featured-title {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 16px;
}
.news-featured-desc {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 32px;
}
.news-img-placeholder {
  background: var(--off-white);
  border-radius: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  border: 2px dashed rgba(45,106,79,.15);
  font-size: 3rem;
}
.news-img-placeholder small {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.news-img-placeholder.sm { min-height: 180px; font-size: 2rem; }
.news-featured-img,
.npc-img-wrap {
  position: relative;
  overflow: hidden;
}

/* Griglia news */
.news-page-grid-section {
  background: var(--off-white);
  padding: 24px 0 100px;
}
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-page-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(45,106,79,.08);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.news-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(17,105,56,.1);
}
.npc-body { padding: 28px; }
.npc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.npc-date { font-size: .78rem; color: var(--gray); }
.npc-title {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 10px;
}
.npc-desc {
  font-size: .86rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 20px;
}
.npc-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.npc-link:hover { gap: 8px; }

/* Badge categorie */
.news-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.news-image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background-color: rgba(253,252,249,.92);
  box-shadow: 0 10px 28px rgba(11,23,16,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.news-cat-comunicazione { background: rgba(17,105,56,.1); color: var(--brand-green); }
.news-cat-azienda       { background: rgba(200,241,101,.2); color: #3d6b00; }
.news-cat-ambiente      { background: rgba(82,183,136,.15); color: #1a6b45; }
.news-cat-pratiche      { background: rgba(226,39,35,.08); color: var(--brand-red); }

/* Messaggio "nessun risultato" */
.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 0;
  color: var(--gray);
  font-size: 1rem;
}
.news-empty span { font-size: 2.5rem; }

/* CTA newsletter */
.news-cta {
  background: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.news-cta::before {
  left: -180px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(82,183,136,.34) 0%, rgba(200,241,101,.16) 45%, transparent 72%);
}
.news-cta > .container {
  position: relative;
  z-index: 1;
}
.news-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.news-cta-text h2 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 8px;
}
.news-cta-text p { color: var(--gray); font-size: .95rem; }

/* Sezione ricambi: sfondo alternato per distinguerla */
#ricambi-form {
  background: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#ricambi-form::before {
  right: -220px;
  top: 10%;
  background: radial-gradient(circle, rgba(45,106,79,.38) 0%, rgba(200,241,101,.16) 44%, transparent 72%);
}
#ricambi-form > .container {
  position: relative;
  z-index: 1;
}
#ricambi-form .pratiche-form-info h2 { color: var(--white); }
#ricambi-form .pratiche-form-info p  { color: var(--gray); }
#ricambi-form .pratiche-form-info .tag { color: var(--lime); border-color: rgba(200,241,101,.3); background: none; }
#ricambi-form .pratiche-c-row { color: rgba(255,255,255,.7); }

/* Etichetta separatore sezioni nel form */
.f-section-label {
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17,105,56,.15);
}
.f-section-label:first-child { margin-top: 0; }

/* ─── RESPONSIVE NUOVE PAGINE ────────────────── */
@media (max-width: 1024px) {
  .pratiche-grid { grid-template-columns: repeat(2, 1fr); }
  .pratiche-steps { grid-template-columns: 1fr; gap: 24px; }
  .pratiche-form-grid { grid-template-columns: 1fr; gap: 48px; }
  .news-featured-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .news-page-grid { grid-template-columns: repeat(2, 1fr); }
  .news-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .pratiche-strip-inner { gap: 0; justify-content: flex-start; overflow-x: auto; }
  .pratiche-strip-sep { display: none; }
  .pratiche-grid { grid-template-columns: 1fr; }
  .news-page-grid { grid-template-columns: 1fr; }
  .news-filter-bar { top: 60px; }
  .pratiche-form-wrap { padding: 32px 24px; }
  .page-hero-ctas { flex-direction: column; }
  .page-hero-ctas .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .news-featured-card { padding: 24px; }
}

/* Archivio PDF: elenco leggibile, azioni native di consultazione e download. */
.documents-section { background: var(--off-white); color: var(--black); padding: 72px 0 96px; }
.documents-heading { margin-bottom: 32px; }
.documents-heading h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; margin-bottom: 12px; }
.documents-heading p, .document-info p, .documents-empty p { color: #57604e; line-height: 1.65; }
.document-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; border-top: 1px solid #d9deca; }
.document-row:last-child { border-bottom: 1px solid #d9deca; }
.document-info { min-width: 0; }
.document-info h3 { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; margin-bottom: 8px; }
.document-info p { font-size: 14px; }
.document-actions { display: flex; gap: 12px; flex-shrink: 0; }
.documents-empty { padding: 36px; border-radius: 20px; background: var(--cream); }
.documents-empty h3 { font-size: 22px; line-height: 1.4; margin-bottom: 12px; }
.documents-empty p { max-width: 65ch; }
.documents-empty a { color: var(--brand-green); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .documents-section { padding-block: 48px 64px; }
  .document-row { align-items: flex-start; flex-direction: column; gap: 20px; }
  .document-actions { flex-wrap: wrap; }
  .documents-empty { padding: 24px; }
}

/* DESIGN.md — navigazione diretta, superfici calme, un solo accento. */
html { scroll-padding-top: 112px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand-green); outline-offset: 5px; }
#navbar :focus-visible, #mobileNav :focus-visible { outline-color: var(--lime); }
.container { max-width: 1280px; }
#navbar {
  position: fixed; top: 24px; left: 24px; right: 24px; z-index: 1000;
  max-width: 1200px; margin-inline: auto; padding: 8px 10px 8px 24px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 28px;
  background: #27352a; box-shadow: 0 8px 32px rgba(0,0,0,.16);
}
.nav-inner { display: flex; align-items: center; gap: 24px; padding: 0; }
.nav-logo { width: 96px; flex-shrink: 0; margin-right: auto; }
.nav-logo img { width: 100%; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a, .nav-more summary { font-size: 14px; font-weight: 500; color: #d9deca; }
.nav-links > li > a, .nav-more summary { display: block; padding-block: 12px; }
.nav-links a:hover, .nav-links [aria-current] { color: var(--lime); }
.nav-more { position: relative; }
.nav-more summary { cursor: pointer; }
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0; width: 224px;
  padding: 8px; background: #27352a; border: 1px solid #526052;
  border-radius: 20px; box-shadow: 0 8px 24px #12231433;
}
.nav-dropdown a { display: block; padding: 12px 16px; border-radius: 12px; }
.nav-dropdown a:hover { background: #364b38; }
.nav-cta, .hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 28px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  color: var(--black); background: var(--lime);
}
.hamburger { display: none; background: transparent; color: white; border: 1px solid #7e8371; }
.mobile-nav {
  position: fixed; top: 96px; left: 20px; right: 20px; z-index: 1000;
  max-height: calc(100dvh - 116px); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px; background: #27352a; border: 1px solid #526052; border-radius: 20px;
  box-shadow: 0 12px 32px #12231433;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 12px 16px; min-height: 44px; font-size: 16px; }
.mobile-nav a:hover, .mobile-nav [aria-current] { color: var(--lime); background: #364b38; border-radius: 8px; }
#hero { min-height: 740px; padding: 168px 0 96px; justify-content: center; }
#hero > .container { width: 100%; text-align: center; }
.hero-intro { color: #d9deca; margin-bottom: 32px; font-size: 15px; }
.hero-title { max-width: 1000px; margin: 0 auto 32px; font-size: clamp(44px, 6.2vw, 80px); line-height: 1.06; letter-spacing: -.035em; }
.hero-title .accent { color: var(--lime); }
.hero-bottom { flex-direction: column; align-items: center; gap: 32px; }
.hero-sub { max-width: 600px; color: #d9deca; font-size: 18px; line-height: 1.6; flex-shrink: 1; }
.hero-ctas { justify-content: center; }
.hero-bg-overlay { background: rgba(18,35,20,.78); animation: none; }
.btn { min-height: 44px; border-radius: 28px; padding: 12px 24px; }
.btn:hover, .nav-cta:hover { transform: translateY(-1px); box-shadow: none; }
.btn-ghost-white { border-color: #b7bda5; }
.page-hero { min-height: 0; padding: 160px 0 72px; }
.page-hero-title { font-size: clamp(40px, 6vw, 80px); line-height: 1.06; }
.page-hero-sub, .news-sub, .footer-tagline, .news-cta-text p { color: #b7bda5; }
.page-hero-blob, .page-hero::before, #news::before, #news::after,
#cta-banner::before, .news-cta::before, #ricambi-form::before { display: none; }
.tag { font-size: 13px; text-transform: none; letter-spacing: 0; }
.servizi-title, .chi-title, .perche-title { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.08; }
.service-row::before { display: none; }
.service-row-head { padding: 24px 8px; list-style: none; }
.service-row-head::-webkit-details-marker { display: none; }
.service-row:hover { background: #f2f5eb; }
.service-name { font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; }
.service-body-inner { padding: 0 8px 28px; }
.service-cta { font-size: 14px; text-transform: none; letter-spacing: 0; }
#processo { background: var(--black); padding: 96px 0; }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-layout h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.025em; }
.process-layout p { color: #b7bda5; line-height: 1.65; max-width: 65ch; }
.process-layout > div > p { margin: 24px 0 32px; }
.process-steps { list-style: none; }
.process-steps li { padding: 24px 0; border-top: 1px solid #435344; }
.process-steps li:first-child { padding-top: 0; border-top: 0; }
.process-label { display: block; font-size: 14px; color: var(--lime); margin-bottom: 8px; }
.process-steps h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }
.pratica-card:hover, .news-page-card:hover { transform: translateY(-1px); box-shadow: none; }
.pratiche-sub, .pratica-desc, .news-featured-desc, .npc-desc, .npc-date,
.news-featured-date, .pratiche-form-info p, .news-filter-btn { color: #57604e; }
.news-filter-bar { top: 96px; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .nav-inner { gap: 8px; }
  .process-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  #navbar { top: 12px; left: 12px; right: 12px; padding-left: 16px; }
  .nav-logo { width: 72px; }
  .nav-cta, .hamburger { padding-inline: 14px; }
  .mobile-nav { top: 84px; left: 12px; right: 12px; }
  #hero { min-height: 0; padding: 144px 0 72px; }
  .hero-title { font-size: clamp(36px, 9.4vw, 56px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  #processo, #servizi, #chi-siamo { padding-block: 64px; }
  .page-hero { padding-top: 132px; }
  .news-filter-bar { top: 80px; }
}
