/* =====================================================================
   WE ARE EVOLUTION — Stylesheet principale
   ===================================================================== */

:root {
  --teal: #2E9EA8;
  --teal-dark: #1F7A84;
  --teal-deeper: #155F68;
  --teal-light: #D0EEF2;
  --teal-xlight: #EAF7F9;
  --white: #FFFFFF;
  --off-white: #F8FAFA;
  --text: #1A2A2C;
  --text-sec: #4A6568;
  --text-light: #8AABAF;
  --border: #C8E6EA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

nav.scrolled {
  padding: 12px 60px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 16px rgba(31,122,132,0.06);
}

nav.scrolled .nav-logo img { height: 40px; }

.nav-logo {
  display: flex; align-items: center; text-decoration: none;
}

.nav-logo img {
  height: 48px; width: auto; display: block;
}

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}

.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--text-sec);
  text-decoration: none; letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: white !important; font-weight: 500 !important;
  padding: 10px 22px; border-radius: 100px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-dark) !important; color: white !important; }

/* ── BURGER (mobile only) ── */
.nav-toggle {
  display: none;
  background: transparent; border: none;
  width: 44px; height: 44px;
  cursor: pointer; padding: 8px;
  position: relative; z-index: 1010;
}

.nav-toggle-bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,158,168,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left { padding-right: 60px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-xlight); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 11px; font-weight: 500; color: var(--teal-dark);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--teal); border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400; line-height: 1.1;
  color: var(--text); margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic; color: var(--teal);
}

.hero-sub {
  font-size: 16px; color: var(--text-sec);
  line-height: 1.7; margin-bottom: 40px;
  font-weight: 300; max-width: 480px;
}

.hero-sub em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}

.hero-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal); color: white;
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-secondary {
  color: var(--teal-dark); font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--teal-light); padding-bottom: 2px;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: var(--teal); }

.hero-right {
  position: relative; display: flex; justify-content: flex-end;
}

.hero-img-wrap {
  position: relative; width: 100%; max-width: 420px;
}

.hero-img-bg {
  position: absolute; inset: -20px;
  background: var(--teal-xlight);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  z-index: 0;
  animation: morph 14s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
  33% { border-radius: 55% 45% 50% 50% / 45% 60% 40% 55%; }
  66% { border-radius: 50% 50% 40% 60% / 60% 50% 50% 40%; }
}

.hero-img {
  position: relative; z-index: 1;
  width: 100%; border-radius: 24px;
  object-fit: cover; object-position: center center;
  aspect-ratio: 3/2;
  max-height: 420px;
  box-shadow: 0 32px 64px rgba(31,122,132,0.15);
  filter: brightness(1.05) contrast(1.08) saturate(1.1);
}

.hero-badge {
  position: absolute; bottom: 32px; left: -32px; z-index: 2;
  background: white; border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  animation: float-soft 5s ease-in-out infinite;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-badge-icon {
  width: 38px; height: 38px;
  background: var(--teal-xlight);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0;
}

.hero-badge-icon svg {
  width: 20px; height: 20px;
  stroke-width: 1.5;
}

.hero-badge-label {
  font-size: 10px; color: var(--text-light);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}

.hero-badge-val {
  font-size: 18px; font-weight: 600; color: var(--teal-dark);
}

.hero-badge-sub {
  font-size: 11px; color: var(--text-sec); margin-top: 2px;
}

/* ── PAYOFF STRIP ── */
.payoff-strip {
  background: var(--teal);
  padding: 20px 60px;
  overflow: hidden;
}

.payoff-scroll {
  display: flex; gap: 60px; align-items: center;
  animation: scroll-left 20s linear infinite;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.payoff-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: white; opacity: 0.9; flex-shrink: 0;
}

.payoff-dot {
  width: 6px; height: 6px; background: rgba(255,255,255,0.4);
  border-radius: 50%; flex-shrink: 0;
}

/* ── SECTION BASE ── */
section { padding: 100px 60px; }

.section-tag {
  font-size: 11px; font-weight: 500; color: var(--teal);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400; line-height: 1.15;
  color: var(--text); margin-bottom: 20px;
}

.section-title em { font-style: italic; color: var(--teal); }

.section-sub {
  font-size: 16px; color: var(--text-sec);
  line-height: 1.7; font-weight: 300;
  max-width: 560px;
}

/* ── PROBLEMA ── */
.problema {
  background: var(--off-white);
}

.problema-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.pains {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 40px;
}

.pain-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--border);
  cursor: default;
  transition: all 0.2s;
}

.pain-item:last-child { border-bottom: none; }

.pain-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; color: var(--teal-light);
  font-weight: 300; line-height: 1; min-width: 44px;
  transition: color 0.2s;
}

.pain-item:hover .pain-num { color: var(--teal); }

.pain-text strong {
  display: block; font-size: 15px; font-weight: 500;
  color: var(--text); margin-bottom: 4px;
}

.pain-text p {
  font-size: 13px; color: var(--text-sec); line-height: 1.6;
}

.problema-right {
  position: sticky; top: 120px;
  background: var(--teal);
  border-radius: 24px; padding: 48px 40px;
  color: white;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px; line-height: 0.5;
  color: rgba(255,255,255,0.2); margin-bottom: 24px;
  display: block;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-style: italic;
  line-height: 1.5; color: white;
  margin-bottom: 32px;
}

.quote-sub {
  font-size: 13px; color: rgba(255,255,255,0.7);
  line-height: 1.7; font-weight: 300;
}

/* ── METODO ── */
.metodo { background: var(--white); }

.metodo-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 64px;
}

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; border-radius: 20px; overflow: hidden;
}

.step {
  background: var(--teal-xlight);
  padding: 36px 28px;
  transition: background 0.3s;
  position: relative;
}

.step:hover { background: var(--teal-light); }

.step-icon {
  position: absolute; top: 28px; right: 28px;
  width: 32px; height: 32px;
  color: var(--teal); opacity: 0.55;
}

.step-icon svg {
  width: 100%; height: 100%;
  stroke-width: 1.4;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 300;
  color: var(--teal); line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 14px; font-weight: 600;
  color: var(--teal-deeper); margin-bottom: 10px;
  line-height: 1.3;
}

.step p {
  font-size: 12px; color: var(--text-sec);
  line-height: 1.7;
}

/* ── RISULTATI / AREE DI LAVORO ── */
.risultati { background: var(--teal-deeper); }

.risultati .section-tag { color: var(--teal-light); }
.risultati .section-title { color: white; }

.risultati-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 2px; margin-top: 56px; border-radius: 20px; overflow: hidden;
}

.ris-card {
  background: rgba(255,255,255,0.06);
  padding: 36px 24px;
  transition: background 0.3s;
}

.ris-card:hover { background: rgba(255,255,255,0.12); }

.ris-icon {
  width: 44px; height: 44px;
  background: rgba(46,158,168,0.25);
  border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: white;
}

.ris-icon svg {
  width: 22px; height: 22px;
  stroke-width: 1.5;
}

.ris-card h3 {
  font-size: 14px; font-weight: 600; color: white;
  margin-bottom: 8px; line-height: 1.3;
}

.ris-card p {
  font-size: 12px; color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── PACCHETTI ── */
.pacchetti { background: var(--off-white); }

.pacchetti-header { text-align: center; margin-bottom: 40px; }
.pacchetti-header .section-sub { margin: 0 auto; }

.pack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 16px;
}

.pack-card {
  background: white; border-radius: 20px;
  padding: 28px 24px; border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31,122,132,0.1);
}

.pack-card.featured {
  background: var(--teal); border-color: var(--teal);
}

.pack-card.featured * { color: white !important; }
.pack-card.featured .pack-tag { background: rgba(255,255,255,0.2) !important; color: white !important; }
.pack-card.featured .pack-li::before { background: rgba(255,255,255,0.5) !important; }

.pack-tag {
  display: inline-block; background: var(--teal-xlight);
  color: var(--teal-dark); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
}

.pack-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  color: var(--text); line-height: 1.2; margin-bottom: 8px;
}

.pack-subtitle {
  font-size: 12px; color: var(--text-sec);
  margin-bottom: 16px; line-height: 1.5;
}

.pack-divider {
  height: 1px; background: var(--border);
  margin-bottom: 14px;
}

.pack-card.featured .pack-divider {
  background: rgba(255,255,255,0.2);
}

.pack-list {
  list-style: none; margin-bottom: 20px;
}

.pack-li {
  font-size: 13px; color: var(--text-sec);
  padding: 4px 0; display: flex; gap: 10px; align-items: flex-start;
}

.pack-li::before {
  content: ''; width: 5px; height: 5px;
  background: var(--teal); border-radius: 50%;
  margin-top: 6px; flex-shrink: 0;
}

.pack-btn {
  display: block; text-align: center; text-decoration: none;
  padding: 12px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  background: var(--teal-xlight); color: var(--teal-dark);
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}

.pack-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }

.pack-card.featured .pack-btn {
  background: white !important;
  color: var(--teal-dark) !important;
  border-color: white !important;
}

.pack-card.featured .pack-btn:hover {
  background: var(--teal-xlight) !important;
  color: var(--teal-deeper) !important;
}

/* ── CHI SONO / FOUNDER ── */
.chisono { background: var(--white); }

.chisono-inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 80px; align-items: start;
}

.chisono-img-wrap {
  width: 340px; flex-shrink: 0;
  position: sticky; top: 100px;
}

.chisono-img-bg {
  position: absolute; inset: -16px;
  background: var(--teal-xlight);
  border-radius: 50%; z-index: 0;
}

.chisono-img {
  position: relative; z-index: 1;
  width: 100%; border-radius: 24px;
  object-fit: cover; aspect-ratio: 3/4;
  box-shadow: 0 24px 48px rgba(31,122,132,0.12);
}

.chisono-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 400;
  color: var(--text); margin-bottom: 4px;
}

.chisono-role {
  font-size: 13px; color: var(--teal);
  font-weight: 500; letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.chisono-bio {
  font-size: 15px; color: var(--text-sec);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 32px;
}

.chisono-bio strong {
  color: var(--text); font-weight: 500;
}

.chisono-credenziali {
  margin-top: 32px; margin-bottom: 28px;
  padding: 26px 28px;
  background: var(--teal-xlight);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.chisono-credenziali-title {
  font-size: 11px; font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}

.chisono-credenziali-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}

.chisono-credenziali-list li {
  font-size: 13px; color: var(--text-sec);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.chisono-credenziali-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.chisono-credenziali-list li strong {
  color: var(--text); font-weight: 500;
}

.chisono-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
}

.chisono-tag {
  background: var(--teal-xlight); color: var(--teal-dark);
  font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--border);
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--teal-deeper);
  text-align: center;
}

.manifesto .section-title { color: white; }
.manifesto .section-tag { color: var(--teal-light); }

.manifesto-lines {
  max-width: 700px; margin: 48px auto 0;
  display: flex; flex-direction: column; gap: 0;
}

.manifesto-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: rgba(255,255,255,0.85);
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  line-height: 1.5;
  transition: color 0.2s;
}

.manifesto-line:last-child { border-bottom: none; }
.manifesto-line:hover { color: white; }

/* ── CALL STRATEGICA (blocco in alto pacchetti) ── */
.call-strategica-block {
  background: var(--teal);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.call-strategica-block-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.call-strategica-block-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400;
  color: white;
  margin-bottom: 8px;
}

.call-strategica-block-title em {
  font-style: italic;
}

.call-strategica-block-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 500px;
}

.call-strategica-block-right {
  flex-shrink: 0;
  text-align: center;
}

.call-strategica-block-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.call-strategica-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--teal-dark);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* ── CTA FINALE ── */
.cta-section {
  background: var(--white);
  text-align: center; padding: 72px 60px;
}

.cta-box {
  max-width: 640px; margin: 0 auto;
  background: var(--teal-xlight);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 48px 48px;
  position: relative; overflow: hidden;
}

.cta-box::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(46,158,168,0.15) 0%, transparent 70%);
}

.cta-tag {
  font-size: 11px; font-weight: 500; color: var(--teal);
  letter-spacing: 0.15em; text-transform: uppercase;
  display: block; margin-bottom: 14px;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 400;
  color: var(--text); line-height: 1.2;
  margin-bottom: 12px;
}

.cta-title em { font-style: italic; color: var(--teal); }

.cta-sub {
  font-size: 14px; color: var(--text-sec);
  line-height: 1.7; font-weight: 300;
  margin-bottom: 28px; max-width: 460px; margin-left: auto; margin-right: auto;
}

.cta-note {
  font-size: 12px; color: var(--text-light);
  margin-top: 14px;
}

/* ── FOOTER ── */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 40px 60px 20px;
  display: flex; flex-direction: column;
  gap: 28px;
}

.footer-main {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}

.footer-legal {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px;
}

.footer-legal-links {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-sec); text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--teal-dark); text-decoration: underline;
}

.footer-legal-copyright {
  color: var(--text-light);
}

.footer-brand {
  display: flex; flex-direction: column; gap: 8px;
}

.footer-logo-img {
  height: 40px; width: auto; display: block;
}

.footer-tagline {
  font-size: 11px; color: var(--text-light);
}

.footer-payoff {
  font-size: 13px; color: var(--teal-dark);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.footer-right {
  font-size: 12px; color: var(--text-sec);
  text-align: left;
  line-height: 1.7;
}

.footer-right a {
  color: inherit; text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: var(--teal-dark);
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

/* Stagger children when parent is visible */
.fade-in-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-stagger.visible > * { opacity: 1; transform: none; }
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Accessibility: respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .fade-in-stagger > * {
    opacity: 1 !important; transform: none !important;
  }
}

/* ── LEGAL PAGES (privacy, cookie) ── */
.legal-hero {
  padding: 140px 60px 60px;
  background: var(--off-white);
  text-align: center;
}

.legal-hero-eyebrow {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px; font-weight: 500;
  color: var(--teal-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.legal-hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.legal-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.legal-hero h1 .accent {
  font-style: italic;
  color: var(--teal);
}

.legal-hero .lead {
  font-size: 15px;
  color: var(--text-sec);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal {
  background: var(--white);
  padding: 80px 60px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.8;
}

.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h2 em {
  font-style: italic; color: var(--teal);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p { margin-bottom: 18px; }

.legal-content ul, .legal-content ol {
  margin-bottom: 18px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-content a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: var(--teal-light);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.legal-content a:hover {
  text-decoration-color: var(--teal);
}

.legal-content strong {
  color: var(--text); font-weight: 500;
}

.legal-content-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
}

/* ── BLOG ── */
.blog-hero {
  padding: 150px 60px 56px;
  background: var(--off-white);
  text-align: center;
}

.blog-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400; line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.blog-hero-title em { font-style: italic; color: var(--teal); }

.blog-hero-sub {
  font-size: 15px; color: var(--text-sec);
  font-weight: 300; line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

.blog-list {
  background: var(--off-white);
  padding: 24px 60px 100px;
}

.blog-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31,122,132,0.1);
}

.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500;
  color: var(--teal); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.blog-card-dot {
  width: 4px; height: 4px;
  background: var(--teal-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.blog-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  color: var(--text); line-height: 1.25;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 14px; color: var(--text-sec);
  line-height: 1.7; font-weight: 300;
  margin-bottom: 18px;
}

.blog-card-link {
  font-size: 13px; font-weight: 500;
  color: var(--teal-dark);
}

/* ── ARTICOLO ── */
.article-hero {
  padding: 150px 60px 40px;
  background: var(--off-white);
  text-align: center;
}

.article-meta { justify-content: center; margin-bottom: 20px; }

.article-hero .blog-hero-title {
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}

.article-sottotitolo {
  font-size: 16px; color: var(--text-sec);
  font-weight: 300; line-height: 1.7;
  max-width: 640px;
  margin: 16px auto 0;
}

.article-featured {
  max-width: 860px;
  margin: 40px auto -20px;
  padding: 0 24px;
}

.article-featured img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(31,122,132,0.12);
}

.blog-card-img {
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--teal-xlight);
}

.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.85;
  font-weight: 300;
}

.article-body p { margin-bottom: 22px; }

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 500;
  color: var(--text);
  margin: 44px 0 16px;
  line-height: 1.2;
}

.article-body h3 {
  font-size: 18px; font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.article-body ul, .article-body ol {
  margin: 0 0 22px 22px;
}

.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--text); font-weight: 500; }

.article-body a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: var(--teal-light);
  text-underline-offset: 3px;
}

.article-body a:hover { text-decoration-color: var(--teal); }

.article-body blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: var(--teal-dark);
  border-left: 2px solid var(--teal-light);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  line-height: 1.5;
}

.article-body img {
  max-width: 100%;
  border-radius: 16px;
  margin: 8px 0 22px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .blog-hero { padding: 120px 24px 40px; }
  .blog-list { padding: 16px 24px 64px; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 120px 24px 32px; }
  .article-body { padding: 40px 24px 8px; }

  /* Burger visibile su mobile */
  .nav-toggle { display: block; }

  /* Menu mobile come overlay a tutto schermo */
  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--white);
    padding: 96px 32px 48px;
    gap: 8px;
    align-items: center; justify-content: flex-start;
    z-index: 1005;
    list-style: none;
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    overflow-y: auto;
  }

  body.nav-open .nav-links {
    opacity: 1; visibility: visible;
    transform: translateY(0);
  }

  body.nav-open { overflow: hidden; }

  .nav-links li { width: 100%; text-align: center; }

  .nav-links a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 400;
    color: var(--text); letter-spacing: 0;
    padding: 14px 0; display: inline-block;
  }

  .nav-links a:hover { color: var(--teal); }

  .nav-links .nav-cta {
    margin-top: 24px;
    background: var(--teal);
    color: white !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 500;
    padding: 16px 32px; border-radius: 100px;
    letter-spacing: 0.02em;
  }

  section { padding: 64px 24px; }

  /* Hero su mobile: foto visibile sotto il testo */
  .hero { grid-template-columns: 1fr; padding: 100px 24px 64px; }
  .hero-left { padding-right: 0; }
  .hero-right {
    display: flex; justify-content: center;
    margin-top: 48px;
  }
  .hero-img-wrap { max-width: 340px; }
  .hero-badge { left: 16px; bottom: 16px; }

  .problema-inner { grid-template-columns: 1fr; }
  .problema-right { position: static; }
  .metodo-header { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .risultati-grid { grid-template-columns: 1fr 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
  .chisono-inner { grid-template-columns: 1fr; }
  .chisono-img-wrap { width: 100%; max-width: 300px; position: static; }
  footer { padding: 32px 24px 16px; }
  .footer-main { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { flex-direction: column; text-align: center; gap: 10px; }
  .payoff-strip { padding: 16px 24px; }
  .cta-box { padding: 48px 28px; }
  .cta-title { font-size: 36px; }
  .call-strategica-block { flex-direction: column; align-items: flex-start; gap: 20px; }
  .call-strategica-block-right { text-align: left; }
  .legal-hero { padding: 100px 24px 40px; }
  .legal { padding: 48px 24px; }
}
