/* =============================================================
   NuovaImpresa — Site-wide additions (multi-page)
   Brand: azzurro (from logo) + verde. Extends styles.css.
   ============================================================= */

:root {
  /* Logo-derived blue */
  --blue: #4a7fb0;
  --blue-deep: #356494;
  --blue-soft: #eaf2f9;
  --blue-tint: #f3f8fc;
  --blue-line: #d4e3f0;
}

/* Hero gets a subtle azzurro glow alongside the green ------------ */
.hero-bg {
  background:
    radial-gradient(58% 48% at 86% -4%, rgba(30,182,134,0.16), transparent 60%),
    radial-gradient(50% 46% at 6% 96%, rgba(74,127,176,0.30), transparent 65%);
}

/* =============================================================
   Brand lockup (rocket + adaptive wordmark)
   ============================================================= */
.brand { gap: 12px; }
.brand .rocket {
  width: 34px; height: 34px; flex-shrink: 0;
  transition: transform var(--t-fast);
}
.brand:hover .rocket { transform: translate(2px, -2px) rotate(-4deg); }
.brand .rocket .body { fill: var(--green); }
.brand .rocket .win  { fill: var(--blue); }
.brand .rocket .fin  { fill: var(--blue); }
.brand .rocket .flame{ fill: var(--blue); opacity: 0.85; }

.brand .wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.brand .wordmark .w-nuova { color: #fff; transition: color var(--t-med); }
.nav.is-scrolled .brand .wordmark .w-nuova { color: var(--blue-deep); }
.brand .wordmark .w-impresa { color: var(--green); }
/* Footer brand always on dark */
.footer .brand .wordmark .w-nuova { color: #fff; }

/* Nav: support active state + 6 links comfortably -------------- */
.nav-links a { white-space: nowrap; }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); }
.nav.is-scrolled .nav-links a.active { color: var(--blue-deep); background: var(--blue-soft); }

/* Nav dropdown submenu ----------------------------------------- */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links .nav-caret { opacity: 0.65; transition: transform var(--t-fast); }
.nav-links .has-sub:hover .nav-caret,
.nav-links .has-sub:focus-within .nav-caret { transform: rotate(180deg); }
.nav-links .sub-menu {
  list-style: none; margin: 0; padding: 7px;
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 268px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
.nav-links .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-links .has-sub:hover .sub-menu,
.nav-links .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-links .sub-menu a {
  display: block; padding: 11px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap; background: none;
}
.nav-links .sub-menu a:hover,
.nav-links .sub-menu a.active { background: var(--green-soft); color: var(--green-deep); }

/* Mobile: submenu becomes static, indented inside the dropdown menu */
@media (max-width: 880px) {
  .nav-links .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 2px 0 2px 12px; margin: 2px 0 0; border: 0; box-shadow: none; background: transparent;
  }
  .nav-links .sub-menu a { padding: 9px 12px; }
  .nav-links .nav-caret { display: none; }
}

/* =============================================================
   Eyebrow / accent helpers — blue variant
   ============================================================= */
.eyebrow.blue { color: var(--blue-deep); }
.eyebrow.blue::before { background: var(--blue); }
.eyebrow.blue.on-dark { color: var(--blue); }
.accent-blue { color: var(--blue); }

/* =============================================================
   Section 2 — Ecosistema partner strip
   ============================================================= */
.eco-head { max-width: 760px; margin: 0 auto clamp(40px,5vw,64px); text-align: center; }
.eco-head .h3 { color: var(--navy); }
.eco-head p { color: var(--ink-soft); margin: 18px auto 0; max-width: 64ch; font-size: clamp(16px,1.2vw,18px); }
.eco-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.eco-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.eco-card .mono {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 20px; letter-spacing: -0.04em; color: #fff;
}
.eco-card:nth-child(1) .mono { background: var(--blue); }
.eco-card:nth-child(2) .mono { background: var(--navy); }
.eco-card:nth-child(3) .mono { background: var(--green); }
.eco-card h4 { font-size: 19px; letter-spacing: -0.02em; color: var(--navy); line-height: 1.2; }
.eco-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.eco-card .role { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); }

/* =============================================================
   Section 3 — Problema (4 issue cards)
   ============================================================= */
.problem-lead { max-width: 70ch; color: var(--ink-soft); font-size: clamp(16px,1.3vw,18px); line-height: 1.65; margin: 26px 0 clamp(40px,5vw,60px); }
.problem-lead strong { color: var(--navy); font-weight: 600; }
.issue-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.issue-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; gap: 20px; align-items: flex-start;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.issue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.issue-card .inum {
  font-family: var(--font-heading); font-weight: 800; font-size: 18px; letter-spacing: -0.03em;
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep);
}
.issue-card h4 { font-size: 19px; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 8px; }
.issue-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* =============================================================
   Section 4 — Soluzione (checklist + CTA)
   ============================================================= */
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.solution-copy .lead { margin: 24px 0 0; }
.solution-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(28px,3vw,40px); box-shadow: var(--shadow-md);
}
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; color: var(--navy); font-weight: 500; }
.check-list li .ck {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; margin-top: 1px;
}
.solution-panel .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* =============================================================
   Section 5 — Self-assessment quiz
   ============================================================= */
.quiz {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: clamp(28px,3.5vw,52px);
  max-width: 880px; margin: clamp(40px,5vw,60px) auto 0; position: relative; overflow: hidden;
}
.quiz-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.quiz-progress .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-gray); overflow: hidden; }
.quiz-progress .bar span { display: block; height: 100%; width: 33%; background: var(--green); border-radius: 999px; transition: width var(--t-med); }
.quiz-progress .lbl { font-size: 13px; font-weight: 600; color: var(--ink-faint); white-space: nowrap; }

.quiz-step { display: none; animation: quiz-in 0.5s cubic-bezier(.2,.7,.2,1) both; }
.quiz-step.active { display: block; }
@keyframes quiz-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.quiz-step .q-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }
.quiz-step h3 { font-size: clamp(22px,2.4vw,30px); letter-spacing: -0.025em; color: var(--navy); margin: 12px 0 26px; }

.quiz-options { display: grid; gap: 12px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 15.5px; font-weight: 500; color: var(--navy);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.quiz-opt:hover { border-color: var(--blue); background: var(--blue-tint); transform: translateX(3px); }
.quiz-opt .tick {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0;
  display: grid; place-items: center; transition: all var(--t-fast); color: transparent;
}
.quiz-opt.selected { border-color: var(--green); background: var(--green-tint); }
.quiz-opt.selected .tick { border-color: var(--green); background: var(--green); color: #fff; }

.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.quiz-back {
  font-size: 14px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; transition: background var(--t-fast); opacity: 1;
}
.quiz-back:hover { background: var(--bg-gray); }
.quiz-back.hidden { visibility: hidden; }

/* Result */
.quiz-result { display: none; text-align: center; animation: quiz-in 0.6s cubic-bezier(.2,.7,.2,1) both; }
.quiz.done .quiz-step, .quiz.done .quiz-nav, .quiz.done .quiz-progress { display: none; }
.quiz.done .quiz-result { display: block; }
.quiz-result .badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px;
}
.quiz-result h3 { font-size: clamp(26px,3vw,40px); letter-spacing: -0.03em; color: var(--navy); margin-bottom: 14px; }
.quiz-result .rec {
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px,2.4vw,30px);
  letter-spacing: -0.025em; color: var(--blue-deep); margin: 6px 0 18px;
}
.quiz-result p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; max-width: 56ch; margin: 0 auto 28px; }
.quiz-result .btn { margin: 0 auto; }
.quiz-restart { display: block; margin: 18px auto 0; font-size: 13.5px; color: var(--ink-faint); border-bottom: 1px solid var(--line); width: fit-content; }
.quiz-restart:hover { color: var(--blue-deep); }

/* =============================================================
   Section 6 — Servizi (6 cards with CTA)
   ============================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .s-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-deep); margin-bottom: 4px;
}
.service-card:nth-child(3n+2) .s-ico { background: var(--green-soft); color: var(--green-deep); }
.service-card h4 { font-size: 20px; letter-spacing: -0.02em; color: var(--navy); line-height: 1.18; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px;
  color: var(--green-deep); margin-top: 4px;
}
.service-link svg { transition: transform var(--t-fast); }
.service-card:hover .service-link svg { transform: translate(3px,-3px); }

/* =============================================================
   Section 7 — Metodo (5-step timeline, dark)
   ============================================================= */
.timeline { display: grid; gap: 0; position: relative; max-width: 920px; margin: clamp(40px,5vw,60px) auto 0; }
.tstep {
  display: grid; grid-template-columns: 84px 1fr; gap: clamp(20px,3vw,40px); padding: 0 0 clamp(34px,4vw,48px);
  position: relative;
}
.tstep:last-child { padding-bottom: 0; }
.tstep::before {
  content: ""; position: absolute; left: 41px; top: 56px; bottom: -6px; width: 2px;
  background: linear-gradient(var(--line-dark), var(--line-dark));
}
.tstep:last-child::before { display: none; }
.tstep .tnum {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  font-family: var(--font-heading); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; color: var(--green);
  position: relative; z-index: 2; transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.tstep:hover .tnum { background: rgba(30,182,134,0.14); border-color: rgba(30,182,134,0.4); transform: scale(1.04); }
.tstep .tbody { padding-top: 6px; }
.tstep h4 { font-size: clamp(20px,2vw,26px); letter-spacing: -0.02em; color: #fff; margin-bottom: 10px; }
.tstep .tdesc { color: var(--on-dark-soft); font-size: 15px; line-height: 1.6; margin: 0 0 14px; max-width: 60ch; }
.tstep .toutput {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  background: rgba(74,127,176,0.14); border: 1px solid rgba(74,127,176,0.3);
  font-size: 13.5px; color: var(--blue); font-weight: 500;
}
.tstep .toutput b { color: #fff; font-weight: 600; }

/* =============================================================
   Section 8 — Target (4 cards)
   ============================================================= */
.target4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.target4 .target-card { grid-column: auto !important; }

/* =============================================================
   Section 9 — Perché il Ticino
   ============================================================= */
.ticino-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.ticino-copy .lead { margin: 24px 0 0; }
.ticino-copy .btn { margin-top: 32px; }
.ticino-card {
  background: var(--navy-deep); border-radius: var(--radius-xl); padding: clamp(30px,3.5vw,44px);
  color: #fff; position: relative; overflow: hidden;
}
.ticino-card::before { content: ""; position: absolute; top: -30%; right: -10%; width: 60%; height: 150%; background: radial-gradient(closest-side, rgba(74,127,176,0.4), transparent 70%); }
.ticino-card .h3 { color: #fff; position: relative; }
.ticino-card .tlist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; position: relative; }
.ticino-card .tlist li { display: flex; align-items: flex-start; gap: 14px; color: var(--on-dark-soft); font-size: 15px; line-height: 1.5; }
.ticino-card .tlist li .ck { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: rgba(30,182,134,0.2); color: var(--green); display: grid; place-items: center; margin-top: 1px; }

/* Final CTA — secondary (WhatsApp) button on dark */
.final-cta-right .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-whatsapp { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-whatsapp:hover { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }

/* =============================================================
   Inner-page hero (Metodo & others)
   ============================================================= */
.page-hero {
  background: var(--navy-deep); color: var(--on-dark);
  position: relative; overflow: hidden;
  padding: calc(140px + 2vh) 0 clamp(64px,7vw,96px);
}
.page-hero .hero-bg { position: absolute; inset: 0; pointer-events: none; }
/* Hero content is above the fold — keep it always visible */
.page-hero [data-reveal] { opacity: 1; transform: none; }
.page-hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(75% 75% at 30% 30%, black, transparent 92%);
  -webkit-mask-image: radial-gradient(75% 75% at 30% 30%, black, transparent 92%);
}
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px,5vw,72px); align-items: center; position: relative; }
.page-hero .eyebrow.on-dark { color: var(--green); margin-bottom: 22px; }
.page-hero h1.display { color: #fff; font-size: clamp(34px,4.6vw,62px); line-height: 1.04; max-width: 16ch; }
.page-hero h1 .accent-green { color: var(--green); }
.page-hero .ph-text { margin-top: clamp(22px,3vw,30px); display: grid; gap: 16px; max-width: 54ch; }
.page-hero .ph-text p { margin: 0; color: var(--on-dark-soft); font-size: clamp(16px,1.25vw,18.5px); line-height: 1.62; }
.page-hero .ph-cta { margin-top: clamp(28px,3.5vw,38px); }

/* Hero "method at a glance" preview card */
.ph-preview {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl); padding: clamp(26px,2.6vw,36px);
  position: relative; overflow: hidden; backdrop-filter: blur(4px);
}
.ph-preview::before { content: ""; position: absolute; top: -30%; right: -12%; width: 60%; height: 150%; background: radial-gradient(closest-side, rgba(30,182,134,0.22), transparent 70%); pointer-events: none; }
.ph-preview .ph-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); position: relative; }
.ph-preview .ph-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 2px; position: relative; }
.ph-preview .ph-steps li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.ph-preview .ph-steps li:first-child { border-top: 0; }
.ph-preview .ph-steps .n { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--green); width: 30px; height: 30px; border-radius: 9px; background: rgba(30,182,134,0.14); display: grid; place-items: center; flex-shrink: 0; letter-spacing: -0.02em; }
.ph-preview .ph-steps .t { font-family: var(--font-heading); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: #fff; }
.ph-preview .ph-steps .o { margin-left: auto; font-size: 12.5px; color: var(--on-dark-faint); text-align: right; }

/* =============================================================
   Metodo — Perché serve un metodo (intro + considerations)
   ============================================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.why-copy .lead { margin: 22px 0 0; }
.why-copy .why-sub { margin: 22px 0 0; color: var(--ink-soft); font-size: clamp(16px,1.25vw,18px); line-height: 1.65; }
.why-copy .why-sub strong { color: var(--navy); font-weight: 600; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.why-list li { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 500; color: var(--navy); transition: background var(--t-fast); }
.why-list li:first-child { border-top: 0; }
.why-list li:hover { background: var(--blue-tint); }
.why-list li .qn { font-family: var(--font-heading); font-weight: 800; font-size: 14px; color: var(--blue-deep); width: 30px; flex-shrink: 0; letter-spacing: -0.02em; }

/* =============================================================
   Metodo — Le 5 fasi (deep phase blocks)
   ============================================================= */
.phase-flow { display: grid; gap: clamp(22px,2.6vw,30px); margin-top: clamp(44px,5vw,64px); }
.phase-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(28px,3vw,44px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,3.5vw,52px);
  position: relative; overflow: hidden;
  transition: box-shadow var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.phase-block:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.phase-head { display: flex; flex-direction: column; }
.phase-head .pbnum {
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(54px,6vw,82px);
  line-height: 0.9; letter-spacing: -0.05em; color: var(--green); margin-bottom: 18px;
}
.phase-block:nth-child(even) .phase-head .pbnum { color: var(--blue); }
.phase-head .pbkicker { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.phase-head h3 { font-size: clamp(26px,2.8vw,38px); letter-spacing: -0.03em; color: var(--navy); margin-bottom: 16px; }
.phase-head .pbdesc { color: var(--ink-soft); font-size: clamp(15px,1.2vw,17px); line-height: 1.62; margin: 0; max-width: 46ch; }
.phase-side { display: flex; flex-direction: column; gap: 20px; }
.phase-guide { background: var(--bg-gray); border-radius: var(--radius-lg); padding: clamp(22px,2.4vw,30px); }
.phase-guide .pg-label { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 16px; }
.phase-guide .pg-label svg { color: var(--blue); }
.phase-guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.phase-guide li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--navy); font-weight: 500; line-height: 1.45; }
.phase-guide li .qd { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 8px; }
.phase-block:nth-child(even) .phase-guide li .qd { background: var(--blue); }
.phase-output {
  display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: var(--radius);
  background: var(--green-tint); border: 1px solid rgba(30,182,134,0.25);
}
.phase-block:nth-child(even) .phase-output { background: var(--blue-tint); border-color: rgba(74,127,176,0.28); }
.phase-output .po-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; flex-shrink: 0; }
.phase-block:nth-child(even) .phase-output .po-ico { background: var(--blue-soft); color: var(--blue-deep); }
.phase-output .po-txt { font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.phase-output .po-txt b { color: var(--navy); font-weight: 700; }

/* =============================================================
   Metodo — Cosa rende diverso (dark band, advantages)
   ============================================================= */
.diff-head { max-width: 760px; }
.diff-head .lead.on-dark { margin-top: 22px; }
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: clamp(44px,5vw,64px); }
.diff-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.diff-card:hover { background: rgba(30,182,134,0.08); border-color: rgba(30,182,134,0.32); transform: translateY(-4px); }
.diff-card .dc-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(30,182,134,0.14); color: var(--green); display: grid; place-items: center; }
.diff-card p { margin: 0; color: var(--on-dark-soft); font-size: 15.5px; line-height: 1.5; font-weight: 500; }
.diff-card p b { color: #fff; font-weight: 600; }

/* =============================================================
   Servizi — alternating service detail rows
   ============================================================= */
.svc-flow { display: grid; gap: clamp(72px,9vw,120px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,76px); align-items: center; }
.svc-row:nth-child(even) .svc-copy { order: 2; }
.svc-copy .svc-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.svc-copy .svc-kicker .snum {
  font-family: var(--font-heading); font-weight: 800; font-size: 14px; letter-spacing: -0.02em;
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep);
}
.svc-row:nth-child(even) .svc-copy .svc-kicker .snum { background: var(--blue-soft); color: var(--blue-deep); }
.svc-copy .svc-kicker .skick { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.svc-copy .h3 { color: var(--navy); }
.svc-copy .svc-text { margin: 18px 0 0; color: var(--ink-soft); font-size: clamp(16px,1.25vw,18px); line-height: 1.62; max-width: 48ch; }
.svc-copy .btn { margin-top: 28px; }
.svc-include {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(28px,3vw,40px); box-shadow: var(--shadow-md);
}
.svc-include .inc-label { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 20px; }
.svc-include ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.svc-include li { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; color: var(--navy); font-weight: 500; line-height: 1.4; }
.svc-include li .ck { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; margin-top: 1px; }
.svc-row:nth-child(even) .svc-include li .ck { background: var(--blue-soft); color: var(--blue-deep); }

/* Servizi — 4 percorsi (extends .paths) */
.paths.paths-4 { grid-template-columns: repeat(4,1fr); }
.paths.paths-4 .path { padding: 32px 28px; }
.paths.paths-4 .path h3 { font-size: 23px; }

/* =============================================================
   Brand logo image (header + footer)
   ============================================================= */
.brand { flex-shrink: 0; min-width: 0; }
.brand .brand-logo { display: block; height: 42px; width: auto; flex-shrink: 0; object-fit: contain; }
.brand .brand-logo--color { display: none; }
/* Over the dark hero (nav transparent): show light logo */
.nav:not(.is-scrolled) .brand .brand-logo--light { display: block; }
.nav:not(.is-scrolled) .brand .brand-logo--color { display: none; }
/* Scrolled (white nav): show full-colour logo */
.nav.is-scrolled .brand .brand-logo--light { display: none; }
.nav.is-scrolled .brand .brand-logo--color { display: block; }
/* Footer sits on navy: always show light logo */
.footer-brand .brand .brand-logo { height: 40px; }
.footer-brand .brand .brand-logo--color { display: none; }
.footer-brand .brand .brand-logo--light { display: block; }
@media (max-width: 600px) {
  .nav .brand .brand-logo { height: 30px; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 380px) {
  .nav .brand .brand-logo { height: 26px; }
}

/* =============================================================
   Image band (breaks up text-heavy inner pages)
   ============================================================= */
.img-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 21 / 8; background: var(--navy-mid);
}
.img-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.04); transition: transform 1.6s ease; }
.img-band:hover img { transform: scale(1.09); }
.img-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,46,0.78) 0%, rgba(7,26,46,0.42) 40%, transparent 72%); }
.img-band .band-cap {
  position: absolute; left: clamp(26px,4vw,56px); bottom: clamp(24px,4vw,48px); right: clamp(26px,4vw,56px);
  z-index: 2; max-width: 30ch;
}
.img-band .band-cap .bc-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.img-band .band-cap .bc-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
.img-band .band-cap h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(22px,2.6vw,34px); line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.img-band .band-cap .bc-eyebrow.blue { color: var(--blue); }
.img-band .band-cap .bc-eyebrow.blue::before { background: var(--blue); }
@media (max-width: 880px) { .img-band { aspect-ratio: 16 / 11; } .img-band::after { background: linear-gradient(0deg, rgba(7,26,46,0.85) 0%, rgba(7,26,46,0.35) 55%, transparent 90%); } }

/* =============================================================
   Mistakes to avoid (numbered, on dark band)
   ============================================================= */
.mistakes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(44px,5vw,64px); }
.mistake {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 28px 30px; display: grid; grid-template-columns: auto 1fr; gap: 0 22px; align-items: start;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.mistake:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); transform: translateY(-3px); }
.mistake .mk-n {
  font-family: var(--font-heading); font-weight: 800; font-size: 16px; letter-spacing: -0.02em;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(212,119,87,0.14); color: #E8A48C; grid-row: span 2;
}
.mistake h4 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(17px,1.5vw,20px); letter-spacing: -0.02em; color: #fff; margin: 0 0 9px; line-height: 1.25; }
.mistake p { margin: 0; color: var(--on-dark-soft); font-size: 14.5px; line-height: 1.55; }
.mistake.solo { grid-column: 1 / -1; }
@media (max-width: 880px) { .mistakes { grid-template-columns: 1fr; } .mistake.solo { grid-column: auto; } }

/* =============================================================
   Partner detail cards
   ============================================================= */
.partner-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.partner-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(30px,3vw,40px); display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.partner-card .pc-top { display: flex; align-items: center; gap: 16px; }
.partner-card .pc-mono {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; color: #fff;
}
.partner-card:nth-child(3n+1) .pc-mono { background: var(--blue); }
.partner-card:nth-child(3n+2) .pc-mono { background: var(--navy); }
.partner-card:nth-child(3n+3) .pc-mono { background: var(--green); }
.partner-card .pc-role { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }
.partner-card:nth-child(3n+3) .pc-role { color: var(--green-deep); }
.partner-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(20px,1.9vw,24px); letter-spacing: -0.025em; color: var(--navy); line-height: 1.18; margin: 0; }
.partner-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; flex: 1; }
.partner-card .pc-deco { position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(74,127,176,0.08), transparent 70%); pointer-events: none; }
.partner-card:nth-child(3n+3) .pc-deco { background: radial-gradient(circle, rgba(30,182,134,0.1), transparent 70%); }

/* Partner tier label (Partner page) */
.tier-head { display: flex; align-items: center; gap: 16px; margin: clamp(40px,5vw,60px) 0 24px; }
.tier-head:first-of-type { margin-top: 0; }
.tier-head .tier-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); padding: 8px 16px; border-radius: 999px; flex-shrink: 0; }
.tier-head.t2 .tier-badge { color: var(--green-deep); background: var(--green-soft); }
.tier-head .tier-line { height: 1px; background: var(--line); flex: 1; }
.tier-head .tier-note { font-size: 14px; color: var(--ink-faint); flex-shrink: 0; }

/* Compact partner chips (homepage) */
.eco-tiers { display: grid; gap: 26px; max-width: 940px; margin: 0 auto; }
.eco-tier .et-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eco-tier .et-label .etl-txt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); flex-shrink: 0; }
.eco-tier.t2 .et-label .etl-txt { color: var(--green-deep); }
.eco-tier .et-label .etl-line { height: 1px; background: var(--line); flex: 1; }
.eco-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.eco-chip { display: inline-flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px 9px 9px; transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast); }
.eco-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.eco-chip .ec-mono { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 12.5px; letter-spacing: -0.03em; flex-shrink: 0; }
.eco-tier.t2 .eco-chip .ec-mono { background: var(--green-soft); color: var(--green-deep); }
.eco-chip .ec-name { font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--navy); }
@media (max-width: 600px) { .eco-chip .ec-name { font-size: 14px; } }

/* Sequence chips (regia) */
.seq-flow { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; gap: 12px; margin-top: clamp(28px,3.5vw,40px); }
.seq-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; position: relative;
}
.seq-step .seq-n { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: -0.02em; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.seq-step span.seq-t { font-family: var(--font-heading); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; color: var(--navy); line-height: 1.3; }
.seq-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-size: 18px; z-index: 2; }
@media (max-width: 760px) { .partner-cards { grid-template-columns: 1fr; } .seq-flow { grid-template-columns: 1fr; } .seq-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -16px; transform: translateX(50%); } }

/* Diventare partner band */
.join-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.join-band .join-copy h2 { color: #fff; }
.join-band .join-copy .lead { margin-top: 20px; }
.join-band .join-side { display: flex; flex-direction: column; gap: 16px; }
.join-band .join-side .js-item { display: flex; align-items: center; gap: 13px; color: var(--on-dark-soft); font-size: 15.5px; font-weight: 500; }
.join-band .join-side .js-item .jck { width: 28px; height: 28px; border-radius: 8px; background: rgba(30,182,134,0.14); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.join-band .join-cta { margin-top: 24px; }
@media (max-width: 880px) { .join-band { grid-template-columns: 1fr; } }

/* =============================================================
   Risorse — category cards + article list
   ============================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(28px,3vw,38px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card .cat-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; }
.cat-card:nth-child(4n+2) .cat-ico, .cat-card:nth-child(4n+3) .cat-ico { background: var(--green-soft); color: var(--green-deep); }
.cat-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(20px,1.9vw,24px); letter-spacing: -0.025em; color: var(--navy); margin: 0; }
.cat-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; flex: 1; }
.cat-card .cat-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--green-deep); margin-top: 4px; }
.cat-card .cat-link svg { transition: transform var(--t-fast); }
.cat-card:hover .cat-link svg { transform: translate(3px,-3px); }

.article-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; display: flex; align-items: flex-start; gap: 20px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.article-card .ac-n { font-family: var(--font-heading); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; color: var(--blue-deep); width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); display: grid; place-items: center; flex-shrink: 0; }
.article-card .ac-body { display: flex; flex-direction: column; gap: 10px; }
.article-card h4 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(16px,1.4vw,18.5px); letter-spacing: -0.015em; color: var(--navy); line-height: 1.35; margin: 0; }
.article-card .ac-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--green-deep); }
.article-card .ac-link svg { transition: transform var(--t-fast); }
.article-card:hover .ac-link svg { transform: translate(3px,-3px); }
@media (max-width: 880px) { .cat-grid { grid-template-columns: 1fr; } .article-list { grid-template-columns: 1fr; } }

/* =============================================================
   Analisi gratuita — info columns + contacts
   ============================================================= */
.analysis-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.analysis-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(28px,3vw,40px); box-shadow: var(--shadow-md);
}
.analysis-card .ac-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.analysis-card .ac-label .acl-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.analysis-card:nth-child(1) .ac-label .acl-ico { background: var(--green-soft); color: var(--green-deep); }
.analysis-card:nth-child(2) .ac-label .acl-ico { background: var(--blue-soft); color: var(--blue-deep); }
.analysis-card .ac-label h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(19px,1.7vw,23px); letter-spacing: -0.02em; color: var(--navy); margin: 0; }
.analysis-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.analysis-card li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; color: var(--navy); font-weight: 500; line-height: 1.45; }
.analysis-card li .ck { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.analysis-card:nth-child(1) li .ck { background: var(--green-soft); color: var(--green-deep); }
.analysis-card:nth-child(2) li .ck { background: var(--blue-soft); color: var(--blue-deep); }
.analysis-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 24px; padding: 18px 22px; background: var(--bg-gray); border-radius: var(--radius); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.analysis-note svg { color: var(--blue-deep); flex-shrink: 0; margin-top: 1px; }

.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: clamp(36px,4vw,52px); }
.contact-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.contact-card:hover { background: rgba(30,182,134,0.08); border-color: rgba(30,182,134,0.3); transform: translateY(-4px); }
.contact-card .cc-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(30,182,134,0.14); color: var(--green); display: grid; place-items: center; }
.contact-card .cc-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-faint); }
.contact-card .cc-value { font-family: var(--font-heading); font-weight: 600; font-size: clamp(16px,1.5vw,19px); letter-spacing: -0.02em; color: #fff; line-height: 1.3; word-break: break-word; }
.contact-card a.cc-value:hover { color: var(--green); }
@media (max-width: 880px) { .analysis-cols { grid-template-columns: 1fr; } .contact-cards { grid-template-columns: 1fr; } }

/* =============================================================
   Analisi gratuita — interactive multistep (embedded quiz)
   ============================================================= */
.quiz.quiz-embed { max-width: none; margin: 0; }
.af-fields .form-row { margin-bottom: 0; }
.af-fields .btn { width: 100%; justify-content: center; margin-top: 6px; }
.af-error { color: #c43d2e; font-size: 13.5px; font-weight: 500; margin: 12px 0 0; }
.quiz-result .btn { margin: 6px auto 0; }

/* =============================================================
   Analisi gratuita — spotlight on the main request section
   ============================================================= */
.form-spotlight.form-spotlight { position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -20%, rgba(30,182,134,0.10), transparent 60%),
    var(--navy-deep);
}
.form-spotlight::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green-deep), var(--green)); z-index: 4; }
/* animated green glow layer */
.form-spotlight .fs-glow { position: absolute; inset: -25%; pointer-events: none; z-index: 0; }
.form-spotlight .fs-glow::before, .form-spotlight .fs-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.form-spotlight .fs-glow::before { width: 50%; height: 72%; right: 4%; top: -8%; background: radial-gradient(circle, rgba(30,182,134,0.42), transparent 70%); animation: fsGlowA 16s ease-in-out infinite alternate; }
.form-spotlight .fs-glow::after { width: 46%; height: 64%; left: -4%; bottom: -14%; background: radial-gradient(circle, rgba(13,110,82,0.55), transparent 70%); animation: fsGlowB 21s ease-in-out infinite alternate; }
@keyframes fsGlowA { from { transform: translate(0,0) scale(1); opacity: 0.75; } to { transform: translate(-7%, 6%) scale(1.18); opacity: 1; } }
@keyframes fsGlowB { from { transform: translate(0,0) scale(1.1); opacity: 0.6; } to { transform: translate(8%, -5%) scale(1); opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) { .form-spotlight .fs-glow::before, .form-spotlight .fs-glow::after { animation: none; } }
.form-spotlight .fs-grid { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(70% 70% at 75% 25%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 75% 25%, black, transparent 85%);
}
.form-spotlight .container { position: relative; z-index: 2; }
/* request-here badge */
.form-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(30,182,134,0.7); margin-bottom: 20px;
}
.form-badge .fb-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.8); animation: fb-pulse 2s ease-out infinite; }
@keyframes fb-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .form-badge .fb-dot { animation: none; } }
/* the multistep card pops with a green ring + bigger lift */
.form-spotlight .quiz-embed {
  border: 1.5px solid rgba(30,182,134,0.45);
  box-shadow: 0 44px 100px -34px rgba(0,0,0,0.75), 0 0 0 7px rgba(30,182,134,0.08);
}
.form-spotlight .form-intro .lead { color: var(--on-dark-soft); }

/* =============================================================
   Lead-magnet document mockup (checklist cover)
   ============================================================= */
.lm-mockup { position: relative; width: min(300px, 80%); margin: clamp(28px,3vw,40px) 0 4px; perspective: 1200px; }
.lm-mockup .lm-back {
  position: absolute; inset: 0; border-radius: 14px; background: rgba(255,255,255,0.08);
  transform: rotate(-7deg) translate(-14px, 12px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.55);
}
.lm-cover {
  position: relative; aspect-ratio: 3 / 4; background: #fff; border-radius: 14px;
  box-shadow: 0 36px 70px -24px rgba(0,0,0,0.65), 0 6px 18px -8px rgba(0,0,0,0.4);
  padding: 26px 24px; display: flex; flex-direction: column;
  transform: rotate(2.5deg); transition: transform var(--t-med);
  overflow: hidden; border: 1px solid rgba(0,0,0,0.05);
}
.lm-mockup:hover .lm-cover { transform: rotate(0deg) translateY(-4px); }
.lm-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--blue), var(--green)); }
.lm-cover .lmc-logo { height: 22px; width: auto; margin-bottom: 18px; }
.lm-cover .lmc-tag { display: inline-block; align-self: flex-start; font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); background: var(--green-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.lm-cover .lmc-title { font-family: var(--font-heading); font-weight: 800; font-size: 21px; line-height: 1.12; letter-spacing: -0.03em; color: var(--navy); margin: 0 0 4px; }
.lm-cover .lmc-title b { color: var(--green-deep); }
.lm-cover .lmc-sub { font-size: 10.5px; color: var(--ink-faint); margin: 8px 0 0; line-height: 1.4; }
.lm-cover .lmc-lines { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.lm-cover .lmc-lines li { display: flex; align-items: center; gap: 9px; }
.lm-cover .lmc-lines .lc-ck { width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; flex-shrink: 0; }
.lm-cover .lmc-lines .lc-bar { height: 6px; border-radius: 3px; background: var(--line); flex: 1; }
.lm-cover .lmc-foot { margin-top: 14px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--blue-deep); text-transform: uppercase; }
.lm-cover .lmc-badge { position: absolute; right: 16px; top: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-deep); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; transform: rotate(8deg); }
.lm-cover .lmc-badge b { font-family: var(--font-heading); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; }
.lm-cover .lmc-badge span { display: block; font-size: 6.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1px; color: var(--green); }

/* =============================================================
   Article (long-form editorial) layout
   ============================================================= */
.article-hero { background: var(--navy-deep); color: var(--on-dark); position: relative; overflow: hidden; padding: calc(130px + 2vh) 0 clamp(40px,5vw,60px); }
.article-hero .hero-bg { position: absolute; inset: 0; pointer-events: none; }
.article-hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(70% 70% at 50% 20%, black, transparent 88%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, black, transparent 88%);
}
.article-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--on-dark-faint); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--on-dark-soft); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { opacity: 0.5; }
.article-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); background: rgba(30,182,134,0.12); border: 1px solid rgba(30,182,134,0.3); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.article-hero h1 { font-size: clamp(31px,4.4vw,52px); line-height: 1.08; letter-spacing: -0.03em; color: #fff; max-width: 18ch; }
.article-hero h1 .accent-green { color: var(--green); }
.article-meta { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; color: var(--on-dark-soft); font-size: 14.5px; }
.article-meta .am-author { display: flex; align-items: center; gap: 11px; }
.article-meta .am-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 15px; flex-shrink: 0; }
.article-meta .am-author b { color: #fff; font-weight: 600; display: block; font-size: 14.5px; }
.article-meta .am-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--on-dark-faint); }
.article-meta .am-item { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .am-item svg { color: var(--green); }

/* Cover */
.article-cover { max-width: 1100px; margin: clamp(-40px,-4vw,-30px) auto 0; position: relative; z-index: 3; padding: 0 24px; }
.article-cover img { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); display: block; border: 1px solid var(--line); }

/* Body */
.article-body { max-width: 720px; margin: 0 auto; padding: clamp(48px,6vw,72px) 24px clamp(20px,3vw,32px); }
.article-body > .lead-intro { font-size: clamp(18px,1.55vw,21px); line-height: 1.6; color: var(--navy); font-weight: 450; margin: 0 0 28px; }
.article-body p { font-size: clamp(16px,1.25vw,17.5px); line-height: 1.72; color: var(--ink-soft); margin: 0 0 22px; }
.article-body h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(25px,2.7vw,34px); letter-spacing: -0.03em; color: var(--navy); line-height: 1.15; margin: clamp(44px,5vw,60px) 0 18px; }
.article-body h2 + p { margin-top: 0; }
.article-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(20px,1.9vw,24px); letter-spacing: -0.02em; color: var(--navy); line-height: 1.25; margin: clamp(32px,4vw,42px) 0 12px; }
.article-body strong { color: var(--navy); font-weight: 650; }
.article-body a:not(.btn) { color: var(--green-deep); font-weight: 600; border-bottom: 1px solid rgba(13,110,82,0.3); transition: border-color var(--t-fast); }
.article-body a:not(.btn):hover { border-bottom-color: var(--green-deep); }
.article-body ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 13px; }
.article-body ul li { position: relative; padding-left: 30px; font-size: clamp(16px,1.25vw,17.5px); line-height: 1.6; color: var(--ink-soft); }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.article-body ul li strong { color: var(--navy); }

/* Numbered sector blocks */
.sector { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.sector:first-of-type { border-top: 0; }
.sector .sec-n { font-family: var(--font-heading); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; width: 46px; height: 46px; border-radius: 13px; background: var(--navy); color: #fff; display: grid; place-items: center; grid-column: 1; grid-row: 1 / -1; align-self: start; }
.sector:nth-child(3n+2) .sec-n { background: var(--blue); }
.sector:nth-child(3n) .sec-n { background: var(--green); }
.sector > h3, .sector > p { grid-column: 2; }
.sector h3 { margin: 4px 0 8px !important; }
.sector p { margin: 0 !important; }
.sector p + p { margin-top: 12px !important; }
.sector .sec-spec { margin-top: 14px !important; padding: 14px 17px; background: var(--bg-gray); border-radius: 11px; font-size: 15px !important; line-height: 1.58; color: var(--ink-soft); }
.sector .sec-spec strong { color: var(--navy); }

/* Callout / highlight box */
.callout { background: var(--navy-deep); color: var(--on-dark); border-radius: var(--radius-xl); padding: clamp(28px,3.4vw,40px); margin: clamp(36px,4vw,48px) 0; position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; height: 180%; background: radial-gradient(closest-side, rgba(30,182,134,0.22), transparent 70%); pointer-events: none; }
.callout .co-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; position: relative; }
.callout h3 { color: #fff !important; margin: 0 0 12px !important; font-size: clamp(21px,2.1vw,27px) !important; }
.callout p { color: var(--on-dark-soft) !important; margin: 0 0 14px !important; position: relative; }
.callout p:last-child { margin-bottom: 0 !important; }
.callout strong { color: #fff !important; }
.callout ul li { color: var(--on-dark-soft); }
.callout ul li strong { color: #fff; }

/* Table */
.table-wrap { margin: 28px 0 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article-table { width: 100%; border-collapse: collapse; min-width: 580px; font-size: 14.5px; }
.article-table thead th { background: var(--navy-deep); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 13px; text-align: left; padding: 15px 18px; letter-spacing: -0.01em; }
.article-table tbody td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.article-table tbody tr:nth-child(even) { background: var(--bg-gray); }
.article-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.article-table .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.article-table .pill.lo { background: var(--green-soft); color: var(--green-deep); }
.article-table .pill.mid { background: var(--blue-soft); color: var(--blue-deep); }
.article-table .pill.hi { background: #FBEAE4; color: #C05A38; }
.article-table .mk { font-weight: 800; margin-right: 7px; }
.article-table .mk.bad { color: #C05A38; }
.article-table .mk.good { color: var(--green-deep); }
.article-table td.cmp-good { color: var(--navy); }

/* FAQ (article) */
.article-faq { display: grid; gap: 14px; margin: 28px 0 8px; }
.article-faq .qa-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; }
.article-faq .qa-item h3 { margin: 0 0 10px !important; font-size: clamp(17px,1.6vw,20px) !important; display: flex; gap: 12px; }
.article-faq .qa-item h3 .qm { color: var(--green-deep); font-weight: 800; flex-shrink: 0; }
.article-faq .qa-item p { margin: 0 !important; }

/* Article end CTA */
.article-cta { max-width: 820px; margin: clamp(20px,3vw,32px) auto 0; padding: 0 24px; }
.article-cta-inner { background: linear-gradient(135deg, var(--navy-deep), #0c2742); border-radius: var(--radius-xl); padding: clamp(34px,4vw,52px); text-align: center; position: relative; overflow: hidden; }
.article-cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(30,182,134,0.18), transparent 70%); pointer-events: none; }
.article-cta-inner h2 { font-size: clamp(24px,2.6vw,34px); color: #fff; letter-spacing: -0.03em; line-height: 1.12; position: relative; max-width: 22ch; margin: 0 auto; }
.article-cta-inner h2 .accent-green { color: var(--green); }
.article-cta-inner p { color: var(--on-dark-soft); font-size: clamp(15px,1.3vw,17px); margin: 16px auto 0; max-width: 52ch; position: relative; line-height: 1.6; }
.article-cta-inner .cta-row { justify-content: center; margin-top: 28px; position: relative; }

@media (max-width: 600px) {
  .article-cover { padding: 0 16px; }
  .sector { grid-template-columns: 1fr; gap: 14px; }
  .sector .sec-n { grid-row: auto; }
}

/* =============================================================
   Blog index — article cards with cover
   ============================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); overflow: hidden; text-decoration: none;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card .bc-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-mid); }
.blog-card .bc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s ease; }
.blog-card:hover .bc-thumb img { transform: scale(1.06); }
.blog-card .bc-body { padding: clamp(22px,2.2vw,28px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card .bc-cat { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-tint); padding: 5px 11px; border-radius: 999px; }
.blog-card:nth-child(3n+1) .bc-cat { color: var(--green-deep); background: var(--green-tint); }
.blog-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(18px,1.7vw,21px); line-height: 1.25; letter-spacing: -0.025em; color: var(--navy); margin: 0; }
.blog-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; flex: 1; }
.blog-card .bc-foot { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 12.5px; color: var(--ink-faint); }
.blog-card .bc-foot .bc-read { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-deep); }
.blog-card .bc-foot .bc-read svg { transition: transform var(--t-fast); }
.blog-card:hover .bc-foot .bc-read svg { transform: translate(3px,-3px); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 880px) {
  .eco-grid, .service-grid { grid-template-columns: 1fr; }
  .issue-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .ticino-grid { grid-template-columns: 1fr; }
  .target4 { grid-template-columns: 1fr; }
  .tstep { grid-template-columns: 64px 1fr; gap: 18px; }
  .tstep::before { left: 31px; top: 48px; }
  .tstep .tnum { width: 64px; height: 64px; font-size: 24px; border-radius: 18px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .phase-block { grid-template-columns: 1fr; gap: 26px; }
  .phase-head .pbnum { margin-bottom: 8px; }
  .diff-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 28px; }
  .svc-row:nth-child(even) .svc-copy { order: 0; }
  .paths.paths-4 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .quiz { padding: 26px 20px; }
  .quiz-opt { padding: 15px 16px; font-size: 14.5px; }
}

/* =============================================================
   Cookie consent bar (bottom-left popup, injected site-wide)
   ============================================================= */
.cookie-bar {
  position: fixed; left: clamp(14px,3vw,28px); bottom: clamp(14px,3vw,28px); z-index: 400;
  width: min(380px, calc(100vw - 28px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 22px 20px;
  transform: translateY(18px) scale(0.98); opacity: 0; pointer-events: none;
  transition: opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1);
}
.cookie-bar.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.cookie-bar .cb-close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: var(--ink-faint); cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.cookie-bar .cb-close:hover { background: var(--bg-gray); color: var(--navy); }
.cookie-bar .cb-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 14px; }
.cookie-bar h4 { font-family: var(--font-heading); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 6px; }
.cookie-bar p { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 16px; }
.cookie-bar p a { color: var(--green-deep); font-weight: 600; border-bottom: 1px solid currentColor; }
.cookie-bar .cb-actions { display: flex; gap: 10px; align-items: center; }
.cookie-bar .cb-actions .btn { padding: 11px 22px; font-size: 14px; }
.cookie-bar .cb-decline { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); padding: 11px 6px; transition: color var(--t-fast); }
.cookie-bar .cb-decline:hover { color: var(--navy); }
@media (max-width: 480px) { .cookie-bar { left: 14px; right: 14px; width: auto; } }
