:root {
  /* Palette ispirata al logo: verde, bianco, rosso */
  --night: #07110c;
  --night-2: #0c1a13;
  --night-3: #12261b;
  --green: #009246;
  --green-2: #007a3a;
  --green-l: #3fcf7d;
  --red: #ce2b37;
  --red-l: #ff5c66;
  --it-green: #009246;
  --it-red: #ce2b37;
  --white: #ffffff;
  --text: #dfe9e3;
  --muted: #93a89c;
  --line: rgba(255, 255, 255, .09);
  --paper: #fbfaf6;
  --ink: #0f1c15;
  --ink-2: #4b5d53;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--green); color: var(--night); }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-dark { background: var(--night); color: var(--text); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.head p:last-child { color: var(--ink-2); font-size: 1.1rem; }
.section-dark .head p:last-child { color: var(--muted); }
h2 em, h1 em { color: var(--green-l); }
.section:not(.section-dark) h2 em { color: var(--green-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c, var(--green-2));
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.section-dark .eyebrow { color: var(--c, var(--green-l)); }

/* ---------- Bottoni ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green); color: var(--white);
  font: 600 1rem var(--sans); text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(0, 146, 70, .7);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, #00a651, #1fb35e 50%, var(--green-2));
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0, 146, 70, .9); }
.btn:hover::before { transform: none; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost::before { background: rgba(255, 255, 255, .1); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--night); transition: opacity .6s, visibility .6s;
}
.loader-mark { width: 74px; background: #fff; border-radius: 50%; animation: spin 1.4s var(--ease) infinite; }
body.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

.progress {
  position: fixed; top: 0; left: 0; z-index: 120; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--it-green), var(--white), var(--it-red));
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.cursor-glow {
  position: fixed; z-index: 0; width: 460px; height: 460px; left: 0; top: 0; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(0, 146, 70, .14), transparent 65%);
  transform: translate(var(--mx, -999px), var(--my, -999px)) translate(-50%, -50%);
  transition: opacity .4s; mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(16px, 4vw, 44px); color: var(--white);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.scrolled { background: rgba(7, 17, 12, .84); backdrop-filter: blur(14px); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-l), var(--white), var(--red-l)); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.langs button {
  font: 600 .72rem var(--sans); letter-spacing: .06em; color: inherit; background: none; border: 0;
  padding: 5px 8px; border-radius: 999px; cursor: pointer; opacity: .65; transition: background .25s, opacity .25s, color .25s;
}
.langs button:hover { opacity: 1; }
.langs button[aria-pressed="true"] { background: var(--green); color: var(--white); opacity: 1; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.burger span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 60px; background: var(--night); color: var(--text);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-green { width: 520px; height: 520px; background: var(--it-green); top: -160px; left: -140px; animation: drift 14s ease-in-out infinite alternate; }
.orb-red { width: 420px; height: 420px; background: var(--it-red); bottom: -180px; right: -80px; opacity: .35; animation: drift 16s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.1); } }
.hero-mark {
  position: absolute; width: min(70vw, 760px); right: -14%; top: 50%; translate: 0 -50%;
  opacity: .07; animation: spin 90s linear infinite;
}
.grid-lines {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr .9fr; gap: 50px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 8px 16px 8px 12px;
  border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-l); background: rgba(0, 146, 70, .14); box-shadow: inset 0 0 0 1px rgba(63, 207, 125, .35);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-l); box-shadow: 0 0 0 0 rgba(0, 146, 70, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(0, 146, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 146, 70, 0); } }
.hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.9rem); color: var(--white); margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > * { display: inline-block; transform: translateY(110%); }
body.loaded .hero h1 .line > * { animation: up 1s var(--ease) forwards; }
body.loaded .hero h1 .line:nth-child(2) > * { animation-delay: .1s; }
body.loaded .hero h1 .line:nth-child(3) > * { animation-delay: .2s; }
@keyframes up { to { transform: none; } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-text > .pill, .hero-text > .lead, .hero-text > .hero-cta { opacity: 0; transform: translateY(20px); }
body.loaded .hero-text > .pill { animation: fade .8s var(--ease) forwards; }
body.loaded .hero-text > .lead { animation: fade .8s .35s var(--ease) forwards; }
body.loaded .hero-text > .hero-cta { animation: fade .8s .5s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; height: clamp(380px, 46vw, 540px); }
.hv { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .12); opacity: 0; }
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv-1 { width: 74%; height: 56%; right: 0; top: 0; }
.hv-2 { width: 58%; height: 50%; left: 0; bottom: 4%; }
.hv-3 { width: 40%; height: 36%; right: 6%; bottom: 0; }
body.loaded .hv-1 { animation: pop 1s .3s var(--ease) forwards; }
body.loaded .hv-2 { animation: pop 1s .45s var(--ease) forwards; }
body.loaded .hv-3 { animation: pop 1s .6s var(--ease) forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
.hv-badge {
  position: absolute; left: 6%; top: 18%; z-index: 2; display: grid; gap: 2px;
  padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .95); color: var(--ink);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); opacity: 0;
}
.hv-badge b { font-size: 1.6rem; line-height: 1; color: var(--green); }
.hv-badge span { font-size: .8rem; color: var(--ink-2); max-width: 140px; line-height: 1.3; }
body.loaded .hv-badge { animation: pop 1s .9s var(--ease) forwards, float 6s 2s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.stats {
  position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 26px 20px 0 0; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; color: var(--white); line-height: 1.1; }
.stat b small { color: var(--green-l); font-size: .7em; }
.stat span { font-size: .92rem; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .4); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: none; } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Striscia certificazioni ---------- */
.trust { overflow: hidden; background: var(--night-2); border-block: 1px solid var(--line); padding: 18px 0; }
.trust-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.trust:hover .trust-track { animation-play-state: paused; }
.trust-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.trust-set img { height: 38px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .8; transition: filter .3s, opacity .3s; }
.trust-set img:hover { filter: none; opacity: 1; }
.trust-set i { color: var(--red-l); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Realtà ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 rgba(13, 27, 38, .06), 0 18px 40px -26px rgba(13, 27, 38, .45);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease) !important;
}
.brand-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--c); opacity: 0; transition: opacity .35s;
}
.brand-card:hover { box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--c) 55%, transparent); }
.brand-card:hover::after { opacity: 1; }
.bc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.brand-card:hover .bc-img img { transform: scale(1.07); }
.bc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.bc-tag {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent);
}
.bc-body h3 { font-size: 1.18rem; }
.bc-body p { margin: 0 0 14px; color: var(--ink-2); font-size: .95rem; }
.bc-body ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .9rem; }
.bc-body li { padding-left: 22px; position: relative; }
.bc-body li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-weight: 700; }
.bc-link { margin-top: auto; font-weight: 600; color: var(--c); display: inline-flex; gap: 6px; }
.bc-link i { font-style: normal; transition: transform .35s var(--ease); }
.brand-card:hover .bc-link i { transform: translateX(6px); }

/* ---------- Percorso ---------- */
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.path::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 38px; height: 2px;
  background: linear-gradient(90deg, var(--it-green), var(--white), var(--it-red));
  transform: scaleX(var(--line-p, 0)); transform-origin: left; transition: transform 1.6s var(--ease);
}
.path.drawn::before { --line-p: 1; }
.step { position: relative; padding: 0 6px; }
.step-n {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px;
  border-radius: 50%; font-weight: 700; font-size: 1.3rem; color: var(--white);
  background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 8px var(--night);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.step:hover .step-n { background: var(--green); color: var(--white); transform: scale(1.08); }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Approfondimenti ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; margin-bottom: clamp(80px, 10vw, 140px); }
.feature:last-child { margin-bottom: 0; }
.feature-rev .f-media { order: 2; }
.f-media { position: relative; padding: 0 12% 12% 0; }
.feature-rev .f-media { padding: 0 0 12% 12%; }
.f-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(13, 27, 38, .5); }
.f-media img.f-contain { object-fit: contain; background: var(--white); padding: 8%; }
.f-small {
  position: absolute; width: 46% !important; right: 0; bottom: 0; aspect-ratio: 1 !important;
  border: 6px solid var(--paper); transition: transform .8s var(--ease);
}
.feature-rev .f-small { right: auto; left: 0; }
.feature:hover .f-small { transform: translateY(-10px) rotate(-2deg); }
.f-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.f-text > p { color: var(--ink-2); font-size: 1.07rem; }
.f-text blockquote {
  margin: 26px 0 30px; padding: 20px 24px; border-left: 3px solid var(--c, var(--green));
  background: var(--white); border-radius: 0 16px 16px 0; box-shadow: 0 10px 30px -24px rgba(13, 27, 38, .5);
}
.feature:nth-of-type(1) { --c: #e52826; }
.feature:nth-of-type(2) { --c: #1cc691; }
.feature:nth-of-type(3) { --c: #f5a524; }
.feature:nth-of-type(4) { --c: #5aa9ff; }
.f-text blockquote p { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.f-text blockquote cite { font-style: normal; font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.f-text blockquote:not(:has(cite)) p { margin: 0; }

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--night-3), var(--night-2)); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.review:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(0, 146, 70, .5); }
.stars { color: #ffcc4d; letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--white); flex: 1; }
.review figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.av { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--white); background: linear-gradient(135deg, var(--green), var(--red)); }
.review figcaption b { color: var(--white); }
.review figcaption small { color: var(--muted); }
.g-score { text-align: center; margin: 40px 0 0; color: var(--muted); }
.g-score b { color: var(--white); font-size: 1.3rem; margin-right: 6px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 120px) 0; color: var(--white); text-align: center;
  background: radial-gradient(ellipse at 20% 0%, rgba(0, 146, 61, .55), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(229, 40, 38, .45), transparent 55%), var(--night); }
.cta-inner { max-width: 760px; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: var(--text); font-size: 1.15rem; margin-bottom: 30px; }
.cta-inner .hero-cta { justify-content: center; }
.cta-mark { width: 64px; margin: 0 auto 24px; background: #fff; border-radius: 50%; animation: spin 24s linear infinite; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.c-list { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 16px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--white); box-shadow: 0 8px 20px -14px rgba(13, 27, 38, .6); }
.c-list a { font-weight: 600; text-decoration: none; padding-top: 9px; }
.c-list a:hover { color: var(--green-2); }
.map-box {
  min-height: 300px; border-radius: var(--radius); display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: 28px; text-align: center; color: var(--ink-2); font-size: .92rem;
  background: repeating-linear-gradient(45deg, #edf1ef 0 12px, #e5ebe8 12px 24px);
}
.map-box p { max-width: 320px; margin: 0; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
.c-form {
  display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius);
  background: var(--white); box-shadow: 0 30px 60px -36px rgba(13, 27, 38, .55);
}
.c-form h3 { font-size: 1.6rem; margin: 0; }
.c-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.c-form input, .c-form select, .c-form textarea {
  font: 400 1rem var(--sans); color: var(--ink); padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid #dbe3df; background: #fbfcfb; transition: border-color .25s, box-shadow .25s;
}
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 146, 70, .18); }
.fm-hint { margin: 0; font-size: .82rem; color: var(--ink-2); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--muted); padding: 70px 0 30px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.f-logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--white); margin: 0 0 14px; font-size: 1rem; }
.f-grid a { display: block; text-decoration: none; padding: 4px 0; transition: color .25s; }
.f-grid p a { display: inline; }
.f-grid a:hover { color: var(--green-l); }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.f-bottom p { margin: 0; }
.powered { text-decoration: none; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, color .3s; }
.powered b { color: var(--white); }
.powered:hover { box-shadow: inset 0 0 0 1px var(--green-l); color: var(--white); }

/* ---------- Animazioni allo scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.brand-card.reveal.visible { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hv, .hv-badge, .hero-text > * { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > * { transform: none; }
  .path::before { --line-p: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .brands { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 18px; }
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 auto; z-index: -1; flex-direction: column; gap: 4px; margin: 0;
    padding: 84px 20px 26px; background: rgba(7, 17, 12, .97); backdrop-filter: blur(14px);
    transform: translateY(-110%); transition: transform .5s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px; font-size: 1.05rem; }
  .langs { margin-top: 10px; }
  .langs button { font-size: .9rem; padding: 10px 14px; }
  .hero-inner, .feature, .contact { grid-template-columns: 1fr; }
  .feature-rev .f-media { order: 0; }
  .hero-visual { height: 360px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .path { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .path::before { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brands, .path { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-visual { height: 300px; }
  .hv-badge { top: auto; bottom: 46%; left: 0; }
  .f-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; text-align: center; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Tocchi tricolore ---------- */
.hero h1 em {
  background: linear-gradient(90deg, var(--green-l), #ffffff 45%, var(--red-l) 90%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flag 6s ease-in-out infinite alternate;
}
body.loaded .hero h1 .line > em { animation: up 1s .2s var(--ease) forwards, flag 6s 1.2s ease-in-out infinite alternate; }
@keyframes flag { to { background-position: 100% 0; } }
.section:not(.section-dark) h2 em { color: var(--green); }
#realta h2 em, #chi-siamo h2 em { color: var(--red); }
.head::after, .cta-inner::after {
  content: ""; display: block; width: 84px; height: 4px; margin: 26px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 33%, #fff 33% 66%, var(--red) 66%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
  transform: scaleX(0); transition: transform 1s .3s var(--ease);
}
.head.visible::after, .cta-inner.visible::after { transform: none; }
.section-dark .head::after { box-shadow: none; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--green) 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%);
}
.trust { background: var(--night-2); }
.cta-band { background: radial-gradient(ellipse at 15% 0%, rgba(0, 146, 70, .6), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(206, 43, 55, .5), transparent 55%), var(--night); }
.btn-red { background: var(--red); box-shadow: 0 10px 30px -10px rgba(206, 43, 55, .7); }
.btn-red::before { background: linear-gradient(110deg, #e23a46, var(--red-l)); }
@media (prefers-reduced-motion: reduce) { .head::after, .cta-inner::after { transform: none; } }

/* =========================================================
   VERSIONE PROFESSIONALE CHIARA (come la Scuola Tao v3)
   Verde del logo come colore principale, rosso solo per accenti
   ========================================================= */
:root {
  --green: #00923d; --green-2: #006b2d; --green-l: #19b05a; --green-50: #effaf3; --green-100: #dcf2e4;
  --red: #e52826; --red-l: #e52826;
  --night: #0b2b1a; --night-2: #0e331f; --night-3: #134027;
  --ink: #142019; --ink-2: #44524a; --muted: #7b8780; --paper: #f6f8f7;
  --sans: "Inter", system-ui, sans-serif; --serif: "Plus Jakarta Sans", system-ui, sans-serif;
  --grad: linear-gradient(135deg, #00a347, #00923d 45%, #007a33);
  --tricolor: linear-gradient(90deg, #00923d 33.3%, #fff 33.3% 66.6%, #e52826 66.6%);
  --shadow: 0 2px 4px rgba(20, 32, 25, .04), 0 24px 50px -24px rgba(20, 32, 25, .28);
}
body { background: #fff; font-size: 16.5px; }
h1, h2, h3, .stat b { font-family: "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.03em; }
em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.cursor-glow { display: none; }
.loader { background: #fff; }

/* Header sempre verde scuro: il logo bianco resta leggibile */
.nav { background: var(--night); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); padding-block: 12px; }
.nav.scrolled { background: rgba(11, 43, 26, .96); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tricolor); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.nav.scrolled::after { transform: scaleX(1); }
.nav-links a::after { background: var(--green-l); }
.langs button[aria-pressed="true"] { background: var(--grad); }
.btn-red { background: var(--red); box-shadow: 0 8px 20px -10px rgba(229, 40, 38, .8); }

/* Bottoni */
.btn { background: var(--grad); color: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 10px 22px -12px rgba(0, 146, 61, .8); }
.btn::before { background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent); width: 40%; left: -60%; right: auto; transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover::before { left: 130%; transform: skewX(-20deg); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #dbe3df; }
.btn-ghost::before { display: none; }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px #c3d0c8; }
.cta-band .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }

/* Intestazione chiara */
.hero { background: radial-gradient(900px 520px at 90% 10%, rgba(0, 146, 61, .16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(229, 40, 38, .07), transparent 60%), linear-gradient(180deg, #f2fbf5, #fff 85%); color: var(--ink); padding-top: 120px; }
.hero h1 { color: var(--ink); font-size: clamp(2.4rem, 4.6vw, 3.9rem); letter-spacing: -.035em; }
.hero h1 em { background: linear-gradient(90deg, #00a347, #00923d 50%, #0f7a3c); -webkit-background-clip: text; background-clip: text; color: transparent; animation: none; }
body.loaded .hero h1 .line > em { animation: up 1s .2s var(--ease) forwards; }
.lead { color: var(--ink-2); }
.pill { background: #fff; color: var(--green-2); box-shadow: 0 4px 14px -6px rgba(20, 32, 25, .2); letter-spacing: .08em; }
.dot { background: var(--red); }
.orb-green { opacity: .18; }
.orb-red { opacity: .08; }
.hero-mark { opacity: .06; }
.grid-lines { opacity: .5; background-image: linear-gradient(rgba(0, 146, 61, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 146, 61, .06) 1px, transparent 1px); }
.hv { border: 0; box-shadow: var(--shadow); }
.hv-badge b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats { border-top-color: #e3e9e5; }
.stat b { color: var(--ink); }
.stat b small { color: #f5b301; }
.stat:nth-child(odd) b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); }
.scroll-cue { border-color: rgba(20, 32, 25, .3); }
.scroll-cue span { background: var(--green); }
.hero::after { height: 3px; }

/* Striscia certificazioni chiara */
.trust { background: #fff; border-block: 1px solid #e3e9e5; }
.trust-set { color: var(--ink-2); }
.trust-set img { filter: grayscale(1); opacity: .7; }
.trust-set i { color: var(--green); }

/* Sezioni "scure" diventano verde chiarissimo */
.section-dark { background: var(--green-50); color: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark .head p:last-child, .step p { color: var(--ink-2); }
.section-dark .eyebrow { color: var(--green-2); }
.eyebrow { padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-2); letter-spacing: .08em; font-weight: 700; }
.eyebrow::before { display: none; }
.section-dark .eyebrow { background: #fff; }
.feature .eyebrow { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); }
h2 em, .section:not(.section-dark) h2 em, #realta h2 em, #chi-siamo h2 em, .section-dark h2 em { color: var(--green); }
.head::after { background: var(--tricolor); box-shadow: 0 0 0 1px rgba(20, 32, 25, .06); }
.head { text-align: center; }

/* Percorso */
.path::before { background: var(--grad); top: 38px; }
.step-n { background: #fff; color: var(--green); box-shadow: 0 0 0 8px var(--green-50), 0 10px 24px -14px rgba(0, 107, 45, .6); }
.step:hover .step-n { background: var(--grad); color: #fff; }

/* Schede delle realtà */
.brand-card { border: 1px solid #e3e9e5; box-shadow: none; }
.brand-card:hover { box-shadow: var(--shadow); }

/* Recensioni */
.review { background: #fff; box-shadow: 0 1px 0 #e3e9e5, inset 0 0 0 1px #e3e9e5; }
.review:hover { box-shadow: var(--shadow); }
.review blockquote { color: var(--ink-2); font-family: var(--sans); font-size: 1.02rem; }
.review figcaption b { color: var(--ink); }
.review figcaption small { color: var(--muted); }
.av { background: var(--grad); }
.g-score { color: var(--ink-2); }
.g-score b { color: var(--green-2); }
.f-text blockquote p { font-family: var(--sans); font-style: normal; font-size: 1.08rem; color: var(--ink-2); }

/* Chiamata finale e footer restano verde scuro, eleganti */
.cta-band { background: radial-gradient(700px 400px at 100% 0%, rgba(229, 40, 38, .25), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(25, 196, 99, .25), transparent 60%), linear-gradient(140deg, #007a33, var(--night)); }
.cta-band h2 em { color: #9ff0c2; }
.cta-inner::after { box-shadow: none; }
.footer { background: var(--night); color: #a9c3b3; border-top: 4px solid transparent; border-image: var(--tricolor) 1; }

/* Contatti */
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 146, 61, .14); }
.map-box { background: repeating-linear-gradient(45deg, #f2f7f4 0 12px, #ebf2ee 12px 24px); }

/* ---------- Video ---------- */
.videos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.video-side { display: grid; gap: 20px; }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--night); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 43, 26, .55)); }
.yt:hover img { transform: scale(1.04); }
.yt-cap { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-weight: 700; font-family: "Plus Jakarta Sans", sans-serif; text-align: left; }
.play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 74px; height: 74px; translate: -50% -50%; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); transition: transform .4s var(--ease), background .3s; }
.play::before { content: ""; position: absolute; left: 53%; top: 50%; translate: -50% -50%; border-left: 20px solid var(--green); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.yt:hover .play { transform: scale(1.08); background: var(--green); }
.yt:hover .play::before { border-left-color: #fff; }
.video-side .play { width: 56px; height: 56px; }
.video-side .play::before { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
.yt-note { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--muted); }
.vmodal { margin: auto; width: min(1000px, 94vw); padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; }
.vmodal::backdrop { background: rgba(8, 20, 13, .82); backdrop-filter: blur(4px); }
.vmodal[open] { animation: vin .35s var(--ease); }
@keyframes vin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.vframe { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.vframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.vclose { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Barra fissa su telefono + torna su */
.mbar { display: none; }
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 69; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: var(--green); }
.to-top:hover svg { stroke: #fff; }

@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } .video-side { grid-template-columns: 1fr 1fr; } .nav-links { background: rgba(11, 43, 26, .98); } }
@media (max-width: 560px) {
  .video-side { grid-template-columns: 1fr; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -14px rgba(20, 32, 25, .4); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mbar.show { transform: none; }
  .mbar .btn { padding: 13px 10px; font-size: .95rem; }
  .to-top { bottom: 84px; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .play::after { animation: none; } }
