/* =============================================
   SINAPSI CONSULTING — Design System (Light, Professional)
   Mobile-first, moderno, accessibile
   ============================================= */

:root {
  /* Palette Fiduciary — Navy + Salvia + Oro ottonato */
  --bg:       #FCFCFA;   /* bianco caldo, un grado di calore appena */
  --bg-soft:  #F5F5F1;   /* quasi impercettibile */
  --bg-mute:  #EBEBE3;
  --bg-card:  #FFFFFF;
  --bg-dark:  #0A1628;   /* navy notte */
  --bg-deep:  #060E1C;

  /* Testi */
  --text:     #0A1628;   /* navy notte */
  --text-2:   #2D3B52;
  --text-3:   #5E6878;
  --text-4:   #8E9299;

  /* Bordi */
  --brd:      #E6E4DB;
  --brd-2:    #D2CFC0;
  --brd-soft: #F0EEE6;

  /* Accent primario — navy (strutturale) */
  --a:        #0A1628;
  --a-2:      #152340;
  --a-3:      #1E3258;
  --a-soft:   #EEF0F4;
  --a-softer: #F6F7FA;

  /* Accent secondario — verde Sinapsi (matching logo) */
  --ac:       #1B8A3F;   /* verde brand */
  --ac-2:     #14722F;   /* hover più scuro */
  --ac-3:     #2BA656;
  --ac-soft:  #E6F4EB;
  --ac-softer: #F0F9F3;

  /* Accent CTA — oro ottonato opaco (targhe notarili, solo bottoni/highlight) */
  --gold:     #B08D3C;   /* oro ottonato opaco */
  --gold-2:   #937428;   /* hover */
  --gold-3:   #C9A551;   /* chiaro */
  --gold-soft: #F4EEDB;
  --gold-softer: #FAF6E9;

  --mint:     #1B8A3F;
  --red:      #A4382D;
  --amber:    #B08D3C;

  /* Gradient signature fiduciary */
  --ag:   linear-gradient(135deg, #0A1628 0%, #1E3258 60%, #2F5D4D 100%);
  --ag-2: linear-gradient(135deg, #0A1628 0%, #2D3B52 100%);
  --ag-warm: linear-gradient(135deg, #B08D3C 0%, #C9A551 100%);

  /* Radius */
  --r:    18px;
  --rs:   12px;
  --rx:   8px;

  /* Shadow */
  --sh-sm:  0 1px 2px rgba(15,26,61,.05);
  --sh:     0 2px 14px rgba(15,26,61,.06);
  --sh-md:  0 10px 36px rgba(15,26,61,.08);
  --sh-lg:  0 24px 56px rgba(15,26,61,.1);
  --sh-a:   0 8px 24px rgba(30,58,138,.22);

  /* Easing */
  --e: cubic-bezier(.22,1,.36,1);

  /* Spacing */
  --sp:  clamp(72px, 9vw, 120px);
  --spS: clamp(48px, 6vw, 80px);
}

/* ------- Reset ------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  min-height: 100vh;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--brd-2); border-radius: 10px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }
::selection { background: rgba(29,78,216,.18); color: var(--text); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--a); color: #fff; padding: 12px 20px; z-index: 10000;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------- Layout ------- */
.ctn { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .ctn { padding: 0 32px; } }

.lab {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ac);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.lab::before {
  content: ''; width: 28px; height: 2px;
  background: var(--ac); border-radius: 2px;
}

.ttl {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.06;
  margin-bottom: 18px;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--text);
}
.ttl em {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.01em;
}
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; letter-spacing: -.01em; }

.sub {
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  color: var(--text-3);
  max-width: 640px;
  font-weight: 400;
  line-height: 1.7;
}

.grad { color: var(--ac); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--e), transform .7s var(--e);
}
.reveal.vis { opacity: 1; transform: translateY(0); }

.svg-sprite { position: absolute; }
.ic { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ------- NAV ------- */
nav#nb {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: .35s var(--e);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
}
nav#nb.sc {
  padding: 12px 0;
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--brd);
  box-shadow: 0 1px 0 rgba(10,22,40,.03), 0 2px 12px rgba(10,22,40,.04);
}
nav#nb .ctn {
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  display: flex; align-items: center;
  z-index: 1001; flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 96px; width: auto; display: block;
  transition: .35s var(--e);
}
nav#nb.sc .logo-img { height: 62px; }
@media (max-width: 640px) {
  .logo-img { height: 72px; }
  nav#nb.sc .logo-img { height: 52px; }
}
/* Versione per footer navy: il logo originale ha testo scuro — invertiamo */
.logo-img-invert {
  filter: brightness(0) invert(1);
  opacity: .92;
}
.nl { display: none; gap: 4px; align-items: center; }
@media (min-width: 1024px) { .nl { display: flex; } }
.nl a {
  font-size: .88rem; font-weight: 500; color: var(--text-2);
  transition: .2s var(--e);
  padding: 9px 14px; border-radius: var(--rx);
}
.nl a:hover { color: var(--text); background: var(--bg-soft); }
.nl a.on { color: var(--text); background: var(--bg-soft); }
.nl a.on { font-weight: 600; }
.ncta {
  background: var(--text) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(10,22,40,.2);
  margin-left: 8px;
}
.ncta:hover {
  background: var(--a-2) !important;
  transform: translateY(-1px);
}
.ham {
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px;
  z-index: 1001; cursor: pointer;
}
@media (min-width: 1024px) { .ham { display: none; } }
.ham span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: .3s var(--e);
}
.ham.on span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ham.on span:nth-child(2) { opacity: 0; }
.ham.on span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mnav {
  display: none;
  position: fixed; inset: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center; align-items: center;
  gap: 24px;
  padding: 80px 24px 40px;
}
.mnav.show { display: flex; }
.mnav a {
  font-size: 1.5rem; font-weight: 600; color: var(--text);
  letter-spacing: -.01em;
}
.mnav-cta {
  margin-top: 12px !important;
  background: var(--a); color: #fff !important;
  padding: 14px 42px; border-radius: var(--rs); font-weight: 600;
  font-size: 1rem !important; box-shadow: var(--sh-a);
}
.mnav-foot {
  margin-top: auto; display: flex; flex-direction: column;
  gap: 8px; align-items: center;
}
.mnav-foot a { font-size: .9rem !important; color: var(--text-3); font-weight: 500; }

/* ------- BUTTONS ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--rs);
  font-weight: 600; font-size: .92rem;
  transition: .25s var(--e);
  font-family: inherit;
  text-align: center;
  min-height: 48px;
  letter-spacing: -.005em;
  cursor: pointer;
  border: 1px solid transparent;
}
.bg {
  background: var(--text); color: #fff;
  box-shadow: 0 8px 22px rgba(10,22,40,.22);
  border: 1px solid var(--text);
}
.bg:hover {
  background: var(--a-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(10,22,40,.3);
}
.btn-gold {
  background: var(--gold); color: #fff;
  box-shadow: 0 8px 22px rgba(176,141,60,.28);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-2); border-color: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(147,116,40,.34);
}
.bgh {
  background: #fff; color: var(--text);
  border-color: var(--brd-2);
}
.bgh:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-soft);
}
.btn-dark {
  background: var(--text); color: #fff;
  border: 1px solid var(--text);
}
.btn-dark:hover { background: var(--a-2); border-color: var(--a-2); }

/* ------- HERO ------- */
.hero {
  min-height: auto;
  position: relative; overflow: hidden;
  padding: 130px 0 90px;
  background: var(--bg);
}
@media (min-width: 768px) { .hero { padding: 180px 0 120px; } }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 520px at 50% 0%, rgba(30,58,138,.06), transparent 65%),
    radial-gradient(ellipse 700px 400px at 85% 40%, rgba(184,137,58,.05), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,26,61,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,26,61,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 800px 500px at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero-bg, .hero-ov, .hero-mesh { display: none !important; }
.hero .ctn { position: relative; z-index: 2; }

/* ===== HERO SPLIT ===== */
.hero-split .ctn { text-align: left; }
.hero-split-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-split-g { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
.hero-split-txt .hbdg { justify-content: flex-start; }
.hero-split-txt .hero-btns { justify-content: flex-start; }
.hero-split-txt .hdesc { margin-left: 0; margin-right: 0; }
@media (max-width: 1023px) {
  .hero-split-txt { text-align: center; }
  .hero-split-txt .hbdg { justify-content: center; }
  .hero-split-txt .hero-btns { justify-content: center; }
  .hero-split-txt .hdesc { margin-left: auto; margin-right: auto; }
  .hero-mini-stats { justify-content: center; }
}

.hero-mini-stats {
  display: flex; gap: 28px; margin-top: 36px;
  flex-wrap: wrap;
}
.hero-mini-stats > div {
  display: flex; flex-direction: column;
}
.hero-mini-stats strong {
  font-size: 1.5rem; font-weight: 800;
  color: var(--text); letter-spacing: -.02em; line-height: 1;
}
.hero-mini-stats span {
  font-size: .7rem; color: var(--text-3); font-weight: 500;
  margin-top: 4px; letter-spacing: .02em;
}

.hero-split-img {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow:
    0 32px 64px -16px rgba(10,22,40,.2),
    0 16px 32px -8px rgba(10,22,40,.12);
}
.hero-split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--e);
}
.hero-split-img:hover img { transform: scale(1.03); }

/* Floating card sull'immagine hero */
.hero-img-card {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--brd);
  border-radius: var(--rs);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--sh-md);
  animation: fu 1s var(--e) .6s both;
}
.hero-img-card-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ac-softer);
  color: var(--ac);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-img-card-ic svg { stroke: currentColor; stroke-width: 2; fill: none; }
.hero-img-card strong {
  display: block; font-size: .92rem; font-weight: 700;
  color: var(--text); letter-spacing: -.01em;
}
.hero-img-card span {
  display: block; font-size: .72rem; color: var(--text-3);
  margin-top: 2px;
}

/* Hero visual: composizione editoriale di documenti */
.hero-visual {
  position: relative;
  max-width: 980px;
  margin: 72px auto 0;
  padding: 0 20px;
  animation: fu 1s var(--e) .5s both;
  display: flex; justify-content: center;
}
@media (min-width: 768px) { .hero-visual { margin-top: 90px; } }

.doc-stack {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16/9;
  perspective: 1400px;
}

.doc {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--brd);
  border-radius: 10px;
  box-shadow:
    0 32px 64px -20px rgba(15,26,61,.22),
    0 14px 28px -12px rgba(15,26,61,.14);
  padding: 26px 28px;
  transform-origin: center center;
  transition: transform .6s var(--e);
  overflow: hidden;
}

/* Doc principale al centro — business plan */
.doc-1 {
  left: 50%; top: 6%;
  width: 58%; height: 92%;
  transform: translateX(-50%) rotate(0deg);
  z-index: 3;
}
/* Doc sinistra — report grafico */
.doc-2 {
  left: 2%; top: 14%;
  width: 42%; height: 78%;
  transform: rotate(-7deg);
  z-index: 2;
}
/* Doc destra — checklist compliance */
.doc-3 {
  right: 1%; top: 18%;
  width: 40%; height: 72%;
  transform: rotate(6deg);
  z-index: 1;
}

@media (max-width: 768px) {
  .doc-stack { max-width: 520px; aspect-ratio: 4/3; }
  .doc-1 { width: 72%; height: 90%; }
  .doc-2 { left: -2%; width: 48%; height: 76%; transform: rotate(-5deg); }
  .doc-3 { right: -2%; width: 46%; height: 70%; transform: rotate(5deg); }
  .doc { padding: 18px 20px; }
}

.doc::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--a);
}
.doc-2::before { background: var(--ac); }
.doc-3::before { background: var(--mint); }

.doc-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brd-soft);
  margin-bottom: 16px;
}
.doc-seal {
  font-size: .58rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--a);
  padding: 4px 9px;
  border: 1px solid var(--a);
  border-radius: 3px;
}
.doc-2 .doc-seal { color: var(--ac); border-color: var(--ac); }
.doc-3 .doc-seal { color: var(--mint); border-color: var(--mint); }
.doc-ref {
  font-family: 'Instrument Serif', serif;
  font-size: .82rem; color: var(--text-3);
  margin-left: auto;
}

.doc-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(.98rem, 2vw, 1.5rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.doc-sub {
  font-size: .66rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.doc-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.doc-kpi > div {
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 6px;
  border-left: 2px solid var(--a);
}
.doc-kpi > div:nth-child(2) { border-left-color: var(--ac); }
.doc-kpi .k-l {
  font-size: .58rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.doc-kpi .k-v {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--text); line-height: 1;
}
@media (max-width: 768px) {
  .doc-kpi .k-v { font-size: .92rem; }
  .doc-kpi > div { padding: 7px 9px; }
}

.doc-lines { display: flex; flex-direction: column; gap: 7px; }
.doc-lines span {
  height: 6px; border-radius: 3px;
  background: var(--bg-mute);
}
.doc-lines span:nth-child(1) { width: 92%; }
.doc-lines span:nth-child(2) { width: 78%; }
.doc-lines span:nth-child(3) { width: 88%; }
.doc-lines span:nth-child(4) { width: 64%; }

.doc-chart {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 14px;
  margin-top: 14px;
}
.doc-chart svg { width: 100%; height: 70px; display: block; }

/* Checklist per doc 3 */
.doc-check { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.doc-check li {
  display: flex; align-items: center; gap: 10px;
  font-size: .72rem; color: var(--text-2);
}
.doc-check li::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 3px;
  background: var(--mint);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.doc-check li.off::before {
  background: var(--bg-mute);
  background-image: none;
}

.hbdg {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: 100px;
  padding: 8px 18px 8px 12px;
  font-size: .76rem; font-weight: 600;
  color: var(--text-2); margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(15,26,61,.05);
  animation: fu .8s var(--e);
  letter-spacing: .01em;
}
.hpulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); position: relative;
}
.hpulse::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; background: var(--mint);
  animation: ping 2s cubic-bezier(0,0,.2,1) infinite; opacity: .5;
}
@keyframes ping { 75%, 100% { transform: scale(2.5); opacity: 0; } }
@keyframes fu { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 26px;
  animation: fu .8s var(--e) .1s both;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--text);
  max-width: 960px;
  margin-left: auto; margin-right: auto;
}
.hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.015em;
  color: var(--ac);
  padding-right: 6px;
}
.hero .hdesc {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--text-3);
  max-width: 640px; margin: 0 auto 36px;
  font-weight: 400; line-height: 1.7;
  animation: fu .8s var(--e) .2s both;
}
.hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fu .8s var(--e) .3s both;
}
.hero-btns .btn { flex: 1 1 240px; max-width: 320px; }
@media (min-width: 640px) { .hero-btns .btn { flex: 0 0 auto; } }

.hstats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto; margin-right: auto;
  animation: fu .8s var(--e) .5s both;
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
}
@media (min-width: 640px) { .hstats { grid-template-columns: repeat(4, 1fr); } }
.hst {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
}
.hst:nth-child(even) { border-right: none; }
.hst:nth-child(3), .hst:nth-child(4) { border-bottom: none; }
@media (min-width: 640px) {
  .hst { border-bottom: none; border-right: 1px solid var(--brd); }
  .hst:nth-child(even) { border-right: 1px solid var(--brd); }
  .hst:last-child { border-right: none; }
}
.hsn {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800; line-height: 1; margin-bottom: 6px;
  color: var(--text); letter-spacing: -.02em;
}
.hsl {
  font-size: clamp(.7rem, 1.3vw, .78rem);
  color: var(--text-3); font-weight: 500; letter-spacing: .01em;
}

/* ------- MARQUEE ------- */
.mq {
  padding: 22px 0;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  overflow: hidden;
  background: var(--bg-soft);
}
.mqt {
  display: flex; gap: 40px;
  animation: mqa 60s linear infinite;
  width: max-content;
}
@keyframes mqa { to { transform: translateX(-50%); } }
.mqi {
  font-size: .82rem; color: var(--text-3); font-weight: 500;
  white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
  letter-spacing: -.005em;
}
.mqd { width: 5px; height: 5px; border-radius: 50%; background: var(--ac); }

/* ------- SECTIONS ------- */
section { position: relative; }
.sect { padding: var(--sp) 0; }
.sect-sm { padding: var(--spS) 0; }

.sect-h { text-align: center; margin-bottom: 56px; }
.sect-h .lab { justify-content: center; }
.sect-h .sub { margin: 0 auto; }

/* ------- ABOUT ------- */
.about { padding: var(--sp) 0; background: var(--bg); }
.about-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .about-g { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.about-img {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-md);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s var(--e); }
.about-img:hover img { transform: scale(1.03); }
.afl {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--brd);
  border-radius: var(--rs);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  z-index: 2;
  box-shadow: var(--sh);
}
.afl-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--a-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--a);
}
.afl-ic svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.afl h4 {
  font-size: .98rem; font-weight: 700; margin-bottom: 2px;
  color: var(--text); letter-spacing: -.01em;
}
.afl p { font-size: .78rem; color: var(--text-3); font-weight: 400; }

.about-txt .sub { margin-bottom: 32px; }
.cklist { display: flex; flex-direction: column; gap: 14px; }
.ckli { display: flex; align-items: flex-start; gap: 14px; }
.ckic {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--a-soft);
  color: var(--a);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 3px;
}
.ckic svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; fill: none; }
.ckli p { font-size: .96rem; color: var(--text-2); line-height: 1.65; }
.ckli strong { color: var(--text); font-weight: 600; }

/* ------- SERVICES GRID ------- */
.svcs { padding: var(--sp) 0; background: var(--bg); }
.svcs::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(30,58,138,.04), transparent 60%);
  pointer-events: none;
}
.svcs-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative; z-index: 1;
}
@media (min-width: 640px) { .svcs-g { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svcs-g { grid-template-columns: repeat(3, 1fr); } }

.svc {
  background: #FFFFFF;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 36px 32px;
  transition: .35s var(--e);
  position: relative; overflow: hidden;
  text-align: left;
  display: flex; flex-direction: column;
}
.svc::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ac);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--e);
}
.svc:hover {
  border-color: var(--brd-2);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.svc:hover::before { transform: scaleX(1); }
.svc-featured {
  border-color: var(--ac-soft);
  background: linear-gradient(180deg, #F0FFF6 0%, #fff 40%);
}
.svc-featured::before { transform: scaleX(1); background: var(--ac); }
.svc-featured .svc-ic {
  background: var(--ac);
  color: #fff;
  border-color: var(--ac);
}

.svc-ic {
  width: 54px; height: 54px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: var(--ac-softer);
  color: var(--ac);
  border: 1px solid var(--ac-soft);
}
.svc-ic svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 {
  font-size: 1.2rem; margin-bottom: 10px; font-weight: 700;
  letter-spacing: -.015em; color: var(--text);
}
.svc p { font-size: .92rem; color: var(--text-3); font-weight: 400; line-height: 1.65; flex: 1; }
.svc-list {
  margin-top: 16px; display: flex; flex-direction: column; gap: 8px;
}
.svc-list li {
  font-size: .84rem; color: var(--text-2); display: flex; align-items: center; gap: 10px;
}
.svc-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ac); flex-shrink: 0;
}
.svc-more {
  margin-top: 18px; font-size: .84rem; font-weight: 700;
  color: var(--ac); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s var(--e);
  text-transform: uppercase; letter-spacing: .06em;
}
.svc-more:hover { gap: 10px; }

/* ------- X-SERVICES ------- */
.xsvc {
  padding: var(--spS) 0;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  background: var(--bg);
}
.xsvc-g {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .xsvc-g { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .xsvc-g { grid-template-columns: repeat(4, 1fr); } }
.xs {
  background: var(--bg-soft);
  border: 1px solid var(--brd);
  border-radius: var(--rs);
  padding: 24px 18px;
  text-align: center;
  transition: .3s var(--e);
}
.xs:hover {
  border-color: var(--a);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh);
}
.xs-ic {
  width: 44px; height: 44px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--brd);
  color: var(--a);
}
.xs-ic svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.xs h4 { font-size: .88rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.xs p { font-size: .74rem; color: var(--text-3); }

/* ------- PROCESS TIMELINE ------- */
.proc { padding: var(--sp) 0; background: var(--bg-soft); }
.proc-h { margin-bottom: 56px; }
.tl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .tl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tl { grid-template-columns: repeat(3, 1fr); } }
.tls {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: .35s var(--e);
  position: relative;
}
.tls:hover {
  border-color: var(--a);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.tsn {
  font-family: 'Instrument Serif', serif;
  font-size: 3.4rem; font-weight: 400; line-height: 1;
  color: var(--ac);
  opacity: .38;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  font-style: italic;
}
.tls h4 {
  font-size: 1.02rem; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text); letter-spacing: -.01em;
}
.tls h4 .ic { color: var(--ac); }
.tls h4 .ic svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.tls p { font-size: .9rem; color: var(--text-3); font-weight: 400; line-height: 1.65; }

/* ------- QUIZ ------- */
.quiz {
  padding: var(--sp) 0;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, var(--a-softer), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--brd);
}
.quiz-mesh { display: none; }
.qctn { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.qhdr { text-align: center; margin-bottom: 40px; }
.qhdr .lab { justify-content: center; }
.qhdr p {
  color: var(--text-3); font-size: 1rem; font-weight: 400;
  max-width: 540px; margin: 0 auto; line-height: 1.7;
}
.qbox {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: 20px;
  padding: 28px 20px;
  position: relative;
  box-shadow: var(--sh-md);
}
@media (min-width: 640px) { .qbox { padding: 40px 40px; } }
.qbox::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ac) 0%, var(--gold) 100%);
  border-radius: 20px 20px 0 0;
}
.qstep {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 6px;
}
.qopts-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .qopts-3 { grid-template-columns: 1fr 1fr; } }
.qopts-2 { grid-template-columns: 1fr 1fr; }
.qo-lg { min-height: 120px; }
.qo { background: #fff; border: 1.5px solid var(--brd-2); }
.qo-lb { color: var(--text); }
.qo:hover { border-color: var(--ac); background: var(--ac-softer); }
.qo.sel {
  border-color: var(--ac);
  background: var(--ac-softer);
  box-shadow: 0 0 0 3px rgba(47,93,77,.12);
}
.qo-ic { background: var(--bg-soft); border-color: var(--brd); color: var(--text-3); }
.qo:hover .qo-ic, .qo.sel .qo-ic {
  color: var(--ac); border-color: var(--ac); background: #fff;
}
.qpd.on { background: var(--ac); }
.qpd.dn { background: var(--ac); opacity: .5; }
.qem { background: var(--ac-softer); border-color: var(--ac-soft); color: var(--ac); }

.qbn {
  background: var(--text); color: #fff;
  box-shadow: 0 6px 18px rgba(10,22,40,.22);
}
.qbn:hover:not(:disabled) { background: var(--a-2); }
.qbn:disabled { background: var(--bg-mute); color: var(--text-4); box-shadow: none; }

/* ===== LOADING ===== */
.qload {
  text-align: center;
  padding: 40px 20px;
  animation: qi .45s var(--e);
}
.qload-ring {
  width: 64px; height: 64px;
  border: 4px solid var(--bg-soft);
  border-top-color: var(--ac);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 1.1s linear infinite;
}
.qload h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem; font-weight: 400; font-style: italic;
  color: var(--text); margin-bottom: 26px;
}
.qload-steps {
  list-style: none;
  max-width: 420px; margin: 0 auto;
  text-align: left;
  display: flex; flex-direction: column; gap: 11px;
}
.qload-steps li {
  padding: 12px 16px 12px 42px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: .88rem; color: var(--text-3);
  position: relative;
  opacity: .4;
  transition: .4s var(--e);
}
.qload-steps li::before {
  content: '';
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--brd-2);
  background: #fff;
}
.qload-steps li.done {
  opacity: 1; color: var(--text);
}
.qload-steps li.done::before {
  background: var(--ac);
  border-color: var(--ac);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(47,93,77,.15);
}

/* ===== RISULTATO ===== */
.qres {
  animation: qi .55s var(--e);
}
.qres-head { text-align: center; margin-bottom: 28px; }
.qres-badge {
  display: inline-flex; gap: 12px; align-items: center;
  margin-bottom: 18px;
}
.qres-seal {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ac);
  padding: 5px 11px;
  border: 1px solid var(--ac);
  border-radius: 3px;
}
.qres-ref {
  font-family: 'Instrument Serif', serif;
  font-size: .86rem; color: var(--text-3);
}
.qres-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text); margin-bottom: 8px;
}
.qres-title em { font-style: italic; color: var(--ac); display: block; font-size: .88em; margin-top: 4px; }
.qres-subtitle {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 8px;
}
.qres-lead {
  font-size: .86rem; color: var(--text-3);
  max-width: 540px; margin: 0 auto;
}

.qres-hero {
  margin: 26px 0;
  padding: 28px 26px;
  background: var(--text);
  color: #fff;
  border-radius: 14px;
  text-align: center;
  position: relative; overflow: hidden;
}
.qres-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 250px at 80% 10%, rgba(176,141,60,.22), transparent);
  pointer-events: none;
}
.qres-hero-lab {
  position: relative;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 6px;
}
.qres-hero-val {
  position: relative;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1; font-weight: 400;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}
.qres-hero-sub {
  position: relative;
  font-size: .88rem;
  color: #C5CCE0;
}
.qres-hero-sub strong { color: #fff; }

/* Benchmark bar */
.qres-bench {
  background: var(--bg-soft);
  border: 1px solid var(--brd);
  border-radius: 12px;
  padding: 24px 22px;
  margin-bottom: 22px;
}
.qres-bench-title {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 16px;
}
.qrbb-track {
  position: relative;
  height: 60px;
  margin-bottom: 10px;
}
.qrbb-zone {
  position: absolute; top: 22px;
  height: 14px;
  border: 1px solid var(--brd);
}
.qrbb-low   { left: 0%;  width: 34%; background: #FBE8E4; border-radius: 8px 0 0 8px; }
.qrbb-med   { left: 34%; width: 36%; background: #FBF4E0; border-left: none; border-right: none; }
.qrbb-high  { left: 70%; width: 30%; background: var(--ac-softer); border-radius: 0 8px 8px 0; }
.qrbb-zone span {
  position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: .64rem; font-weight: 600; color: var(--text-3);
  letter-spacing: .04em; white-space: nowrap;
}
.qrbb-marker {
  position: absolute; top: 10px; bottom: 8px;
  width: 3px; background: var(--text);
  transform: translateX(-50%);
}
.qrbb-marker::before {
  content: ''; position: absolute; top: 0; left: -7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--text);
}
.qrbb-marker::after {
  content: attr(data-lab);
  position: absolute; top: -22px; left: 50%;
  transform: translateX(-50%);
  background: var(--text); color: #fff;
  padding: 3px 9px; border-radius: 4px;
  font-size: .66rem; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap;
}
.qrbb-legend {
  display: flex; justify-content: space-between;
  font-size: .74rem; font-weight: 600;
  color: var(--text); margin-top: 8px;
}
.qres-bench-note {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--brd);
  font-size: .86rem; color: var(--text-2);
  line-height: 1.65;
}
.qres-bench-note strong { color: var(--text); }

/* Metrics grid */
.qres-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
@media (min-width: 640px) { .qres-metrics { grid-template-columns: repeat(4, 1fr); } }
.qrm {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: 10px;
  padding: 16px 16px;
  min-height: 120px;
  display: flex; flex-direction: column;
}
.qrm-lab {
  font-size: .64rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 6px;
}
.qrm-val {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  color: var(--text); line-height: 1.05;
  letter-spacing: -.01em; margin-bottom: 6px;
}
.qrm-val span {
  font-size: .5em; color: var(--text-4);
  font-family: 'Inter', sans-serif; font-weight: 500;
}
.qrm-tag {
  display: inline-block; padding: 6px 12px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}
.qrm-sub { font-size: .7rem; color: var(--text-3); margin-top: auto; }
.qrm-bar {
  height: 5px; background: var(--bg-soft);
  border-radius: 4px; overflow: hidden;
  margin-top: auto;
}
.qrm-bar > div { height: 100%; background: var(--ac); border-radius: 4px; transition: width 1s .3s var(--e); }

/* Bottleneck */
.qres-bottleneck {
  background: linear-gradient(135deg, var(--gold-soft), #FBF4E0);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 22px;
}
.qres-bn-lab {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 8px;
}
.qres-bn-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--text); line-height: 1.2;
  margin-bottom: 10px;
}
.qres-bn-detail {
  font-size: .9rem; color: var(--text-2); line-height: 1.6;
  margin-bottom: 12px;
}
.qres-bn-action {
  font-size: .88rem; color: var(--text-2); line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid rgba(147,116,40,.25);
  margin-bottom: 14px;
}
.qres-bn-action strong { color: var(--gold-2); }
.qres-bn-recovery {
  display: inline-block;
  background: var(--text); color: var(--gold-3);
  padding: 9px 16px; border-radius: 6px;
  font-size: .84rem; font-weight: 600;
}
.qres-bn-recovery strong { color: #fff; font-weight: 800; }

/* Raccomandazioni */
.qres-recs {
  margin-bottom: 26px;
}
.qres-recs-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 14px;
}
.qres-recs-list li {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: 10px;
  padding: 18px 20px;
}
.qrr-head {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 10px;
}
.qrr-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem; font-style: italic;
  color: var(--ac); line-height: 1;
  flex-shrink: 0; min-width: 34px;
}
.qrr-body { flex: 1; }
.qrr-title {
  font-size: 1rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
  letter-spacing: -.01em;
}
.qrr-meta {
  font-size: .72rem; color: var(--text-3);
  margin-top: 3px;
}
.qrr-tag {
  display: inline-block;
  background: var(--ac-softer);
  color: var(--ac);
  padding: 2px 8px; border-radius: 3px;
  font-size: .64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.qrr-desc {
  font-size: .86rem; color: var(--text-2); line-height: 1.6;
  padding-top: 10px;
  border-top: 1px solid var(--brd-soft);
}

/* CTA + lead form */
.qres-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 26px;
}
.qres-btn-report {
  flex: 1 1 280px;
  max-width: 400px;
}
.qlead {
  background: var(--bg-soft);
  border: 1px solid var(--brd);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.qlead h5 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem; font-weight: 400;
  font-style: italic; color: var(--text);
  margin-bottom: 6px; line-height: 1.2;
}
.qlead p { font-size: .86rem; color: var(--text-3); margin-bottom: 18px; line-height: 1.6; }
.qlead-fr { display: grid; gap: 10px; margin-bottom: 10px; }
@media (min-width: 640px) { .qlead-fr { grid-template-columns: 1fr 1fr; } }
.qlead .fg { margin-bottom: 10px; }
.qlead input {
  width: 100%; padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--brd-2);
  border-radius: 8px;
  color: var(--text); font-size: .92rem;
  transition: .2s var(--e);
}
.qlead input:focus {
  outline: none; border-color: var(--ac);
  box-shadow: 0 0 0 3px rgba(47,93,77,.1);
}
.qlead .bsub { margin-top: 6px; background: var(--gold); box-shadow: 0 6px 18px rgba(176,141,60,.28); }
.qlead .bsub:hover { background: var(--gold-2); }

/* Footer metodologia */
.qres-foot {
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--brd);
  border-radius: 10px;
  font-size: .76rem; color: var(--text-3);
  line-height: 1.7;
}
.qres-foot-title {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin-bottom: 8px;
}
.qres-foot-disc {
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--brd);
  font-size: .72rem;
  color: var(--text-4);
}

/* Utilities */
.btn-gold { background: var(--gold); color: #fff; border: 1px solid var(--gold); box-shadow: 0 8px 22px rgba(176,141,60,.28); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.qprog { display: flex; gap: 8px; margin-bottom: 32px; }
.qpd {
  flex: 1; height: 4px; border-radius: 4px;
  background: var(--bg-mute);
  transition: .4s var(--e);
}
.qpd.on { background: var(--a); }
.qpd.dn { background: var(--mint); }
.qs { display: none; }
.qs.on { display: block; animation: qi .45s var(--e); }
@keyframes qi { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.qem {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--a-soft);
  margin-bottom: 14px; color: var(--a);
}
.qem svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
.qq {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; line-height: 1.2;
  color: var(--text); letter-spacing: -.015em;
}
@media (min-width: 640px) { .qq { font-size: 1.55rem; } }
.qqs { font-size: .88rem; color: var(--text-3); margin-bottom: 24px; }
.qopts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qo {
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--rs);
  padding: 18px 14px;
  cursor: pointer;
  transition: .2s var(--e);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 104px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.qo:hover { border-color: var(--a-3); background: var(--a-softer); }
.qo.sel {
  border-color: var(--a);
  background: var(--a-soft);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.qo-ic {
  width: 40px; height: 40px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--brd);
  color: var(--text-3); transition: .2s;
}
.qo.sel .qo-ic, .qo:hover .qo-ic {
  color: var(--a); border-color: var(--a);
  background: #fff;
}
.qo-ic svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.qo-lb { font-size: .9rem; font-weight: 700; display: block; color: var(--text); }
.qo-ds { font-size: .72rem; color: var(--text-3); margin-top: 3px; }

/* Nav quiz: nasconde Avanti (auto-advance), mostra solo Indietro */
.qnav { display: flex; justify-content: space-between; margin-top: 24px; gap: 10px; }
.qnav [data-next], .qnav [data-submit] { display: none; }
.qb {
  flex: 1;
  padding: 14px; border-radius: var(--rs);
  font-family: inherit; font-weight: 600; font-size: .9rem;
  transition: .2s var(--e);
  min-height: 48px;
  border: 1px solid transparent;
  cursor: pointer;
}
.qbb {
  background: #fff; color: var(--text-2);
  border-color: var(--brd-2);
}
.qbb:hover { border-color: var(--text-3); color: var(--text); }
.qbn {
  background: var(--a); color: #fff;
  box-shadow: var(--sh-a);
}
.qbn:hover:not(:disabled) {
  background: var(--a-2);
  transform: translateY(-1px);
}
.qbn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

/* Risultato quiz */
.qr { text-align: center; animation: qi .5s var(--e); }
.ri {
  width: 68px; height: 68px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ri svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 2; fill: none; }
.rrev {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 800; margin-bottom: 6px; line-height: 1.1;
  color: var(--text); letter-spacing: -.03em;
}
.rrev .rc { font-size: .5em; color: var(--text-3); font-weight: 500; }
.rlab { font-size: .94rem; color: var(--text-3); margin-bottom: 24px; font-weight: 400; }
.rbar {
  background: var(--bg-mute);
  border-radius: 100px; height: 10px;
  overflow: hidden; margin-bottom: 10px;
}
.rbf {
  height: 100%; border-radius: 100px;
  background: var(--a);
  transition: width 1.5s var(--e); width: 0;
}
.rbl {
  display: flex; justify-content: space-between;
  font-size: .76rem; color: var(--text-3); margin-bottom: 24px;
  font-weight: 500;
}
.rmsg {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--rs);
  padding: 22px 20px;
  margin-bottom: 24px;
  text-align: left;
}
.rmsg h4 {
  font-size: 1rem; font-weight: 700; margin-bottom: 8px;
  color: var(--red); display: flex; align-items: center; gap: 8px;
}
.rmsg h4 svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; flex-shrink: 0; }
.rmsg p { font-size: .92rem; color: var(--text-2); line-height: 1.65; }
.rmsg.pos { background: #ECFDF5; border-color: #A7F3D0; }
.rmsg.pos h4 { color: var(--mint); }

/* Form lead dentro quiz */
.qlead {
  margin-top: 20px;
  background: var(--a-softer);
  border: 1px solid var(--a-soft);
  border-radius: var(--rs);
  padding: 22px 20px;
  text-align: left;
}
.qlead h5 {
  font-size: 1rem; font-weight: 700; margin-bottom: 6px;
  color: var(--text); letter-spacing: -.01em;
}
.qlead p { font-size: .84rem; color: var(--text-3); margin-bottom: 16px; }
.qlead .fg { margin-bottom: 10px; }
.qlead input, .qlead select {
  width: 100%; padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--brd-2); border-radius: var(--rx);
  color: var(--text); font-size: .92rem;
  transition: .2s var(--e);
}
.qlead input:focus, .qlead select:focus {
  outline: none; border-color: var(--a);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.qlead .bsub { margin-top: 6px; }

/* ------- TESTIMONIALS ------- */
.tst { padding: var(--sp) 0; background: var(--bg); }
.tstg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .tstg { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tstg { grid-template-columns: repeat(3, 1fr); } }

.tc {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: .3s var(--e);
  display: flex; flex-direction: column;
  position: relative;
}
.tc:hover {
  transform: translateY(-3px);
  border-color: var(--brd-2);
  box-shadow: var(--sh-md);
}
.tcs { display: flex; gap: 3px; margin-bottom: 16px; }
.tcs svg {
  width: 16px; height: 16px;
  stroke: #F59E0B; fill: #F59E0B; stroke-width: 1;
}
.tc blockquote {
  font-size: 1rem; color: var(--text-2);
  line-height: 1.75; font-weight: 400;
  flex: 1;
}
.tc blockquote::before { content: '"'; color: var(--ac); font-weight: 600; }
.tc blockquote::after { content: '"'; color: var(--ac); font-weight: 600; }
.ta {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--brd);
  display: flex; align-items: center; gap: 14px;
}
.tav {
  width: 44px; height: 44px; border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .88rem;
}
.tan { font-size: .92rem; font-weight: 700; color: var(--text); }
.tar { font-size: .76rem; color: var(--text-3); }

/* ------- CTA BANNER ------- */
.ctas { padding: 80px 0; background: var(--bg-soft); }
.ctai {
  background: var(--bg-dark);
  border-radius: 22px;
  padding: 72px 24px;
  text-align: center; position: relative; overflow: hidden;
  color: #fff;
}
@media (min-width: 768px) { .ctai { padding: 100px 48px; } }
.ctai::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 30% 0%, rgba(58,95,191,.3), transparent 60%),
    radial-gradient(ellipse 500px 400px at 80% 100%, rgba(184,137,58,.18), transparent 60%);
  pointer-events: none;
}
.ctai::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 600px 400px at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 600px 400px at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}
.ctai > * { position: relative; z-index: 1; }
.ctai .lab { color: var(--ac); }
.ctai .lab::before { background: var(--ac); }
.ctai .ttl { color: #fff; }
.ctai .ttl em {
  background: linear-gradient(135deg, #E89073, #F2AE94);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ctai p {
  color: #C5CCE0; font-size: 1.02rem; margin-bottom: 36px;
  font-weight: 400; max-width: 580px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}
.ctai-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.ctai .bg { background: var(--gold); color: #0A1628; border-color: var(--gold); box-shadow: 0 12px 32px rgba(176,141,60,.35); font-weight: 700; }
.ctai .bg:hover { background: var(--gold-3); border-color: var(--gold-3); }
.ctai .lab { color: var(--gold-3); }
.ctai .lab::before { background: var(--gold-3); }
.ctai .ttl em { color: var(--gold-3); }
.ctai .bg:hover { background: var(--bg); transform: translateY(-1px); }
.ctai .bgh { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.ctai .bgh:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }

/* ------- CONTACT ------- */
.cnt { padding: var(--sp) 0; background: var(--bg); border-top: 1px solid var(--brd); }
.cnt-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .cnt-g { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.cnt-i .sub { margin-bottom: 32px; }
.cd {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.cd-ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--a-soft);
  color: var(--a);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cd-ic svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.cd strong {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--text-3); margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: .06em;
}
.cd span, .cd a { font-size: .94rem; color: var(--text); }
.cd a { color: var(--ac); transition: color .2s; font-weight: 500; }
.cd a:hover { color: var(--ac-2); }

.chor {
  margin-top: 24px; padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--brd);
  border-radius: var(--rs);
}
.chor h4 {
  font-size: .88rem; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
}
.chor h4 .ic { color: var(--a); }
.chor h4 svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.chor p { font-size: .88rem; color: var(--text-2); line-height: 1.85; }
.chor b { color: var(--text); font-weight: 600; }

.cf {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--sh);
}
@media (min-width: 640px) { .cf { padding: 40px 36px; } }
.cf h3 {
  font-size: 1.6rem; margin-bottom: 6px; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
}
.cf > p {
  font-size: .94rem; color: var(--text-3); margin-bottom: 28px;
}
.fr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px; margin-bottom: 14px;
}
@media (min-width: 640px) { .fr { grid-template-columns: 1fr 1fr; } }
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--text-2); margin-bottom: 7px;
}
.fg label .req { color: var(--red); margin-left: 2px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--brd-2);
  border-radius: var(--rx);
  color: var(--text); font-family: inherit;
  font-size: .94rem;
  transition: .2s var(--e);
  outline: none;
  min-height: 48px;
}
.fg textarea { min-height: 120px; resize: vertical; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-4); }
.fg select {
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.fg .err {
  font-size: .74rem; color: var(--red); margin-top: 6px; display: none;
}
.fg.invalid input, .fg.invalid select, .fg.invalid textarea {
  border-color: var(--red);
}
.fg.invalid .err { display: block; }

.fchk {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0 22px;
}
.fchk input {
  width: 18px; height: 18px;
  accent-color: var(--a); margin-top: 2px;
  flex-shrink: 0;
}
.fchk label { font-size: .82rem; color: var(--text-3); line-height: 1.55; }
.fchk a { color: var(--ac); font-weight: 500; }

.hp { position: absolute !important; left: -9999px !important; top: -9999px !important; }

.bsub {
  width: 100%; padding: 16px;
  background: var(--text); color: #fff;
  border: none; border-radius: var(--rs);
  font-family: inherit; font-weight: 700; font-size: .96rem;
  cursor: pointer; transition: .2s var(--e);
  box-shadow: 0 8px 22px rgba(10,22,40,.22);
  min-height: 54px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: -.005em;
}
.bsub:hover { background: var(--a-2); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(10,22,40,.3); }
.bsub:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.bsub .spin {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 1s linear infinite;
}
.bsub.loading .spin { display: inline-block; }
.bsub.loading .lbl { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-msg {
  display: none;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: var(--rx);
  font-size: .88rem;
  border: 1px solid transparent;
}
.form-msg.show { display: block; }
.form-msg.ok {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}
.form-msg.err {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

/* ------- EXIT-INTENT POPUP ------- */
.eip-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,22,40,.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.eip-overlay.eip-show {
  opacity: 1;
  visibility: visible;
}
.eip-card {
  background: #fff;
  border-radius: var(--r);
  padding: 40px 36px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 64px rgba(10,22,40,.25);
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.eip-overlay.eip-show .eip-card {
  transform: translateY(0) scale(1);
}
.eip-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--txt-m);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.eip-ic {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--ac), #25b359);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
}
.eip-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--a);
  margin-bottom: 10px;
}
.eip-card p {
  font-size: .9rem;
  color: var(--txt-m);
  line-height: 1.6;
  margin-bottom: 24px;
}
.eip-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eip-skip {
  background: none;
  border: none;
  color: var(--txt-m);
  font-size: .8rem;
  cursor: pointer;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.eip-trust {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .75rem;
  color: var(--txt-m);
  opacity: .7;
}
@media print { .eip-overlay { display: none !important; } }

/* ------- HOME CASE STUDIES (preview) ------- */
.home-cases-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .home-cases-g { grid-template-columns: repeat(3, 1fr); } }

.home-case {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.home-case:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(10,22,40,.14);
}
.home-case-head {
  margin-bottom: 22px;
}
.home-case-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ac);
  background: #E6F4EB;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.home-case-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--a);
  line-height: 1.25;
  font-family: var(--font-sans, inherit);
}
.home-case-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  flex: 1;
}
.hc-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
}
.hc-bar-row > span {
  min-width: 58px;
  color: var(--txt-m);
}
.hc-track {
  flex: 1;
  height: 8px;
  background: var(--brd);
  border-radius: 99px;
  overflow: hidden;
}
.hc-fill {
  height: 100%;
  background: #C5CCD6;
  border-radius: 99px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.hc-fill.hc-after {
  background: linear-gradient(90deg, var(--ac), #25b359);
}
.hc-fill.cs-animated { width: var(--target); }
.hc-bar-row strong {
  min-width: 34px;
  text-align: right;
  font-size: .8rem;
  color: var(--a);
}
.hc-hl { color: var(--ac) !important; }

.home-case-big {
  text-align: center;
  padding: 20px 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-case-big strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--a);
  line-height: 1;
  margin-bottom: 6px;
}
.home-case-big span {
  font-size: .78rem;
  color: var(--txt-m);
}

.home-case-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #F0FFF6;
  border: 1px solid #C8EBD5;
  border-radius: 8px;
  font-size: .8rem;
  color: var(--ac);
}
.home-case-highlight strong { color: var(--ac); }
.home-case-highlight svg { flex-shrink: 0; }

.text-center { text-align: center; }

/* ------- CHECKLIST BANNER ------- */
.cl-banner {
  padding: 0;
}
.cl-banner-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 34px 40px;
  background: linear-gradient(135deg, var(--a) 0%, #152240 100%);
  border-radius: var(--r);
  color: #fff;
  margin: -32px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(10,22,40,.22);
  overflow: hidden;
}
.cl-banner-inner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(176,141,60,.18), transparent 60%);
  pointer-events: none;
}
.cl-banner-ic {
  flex-shrink: 0;
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(176,141,60,.25), rgba(176,141,60,.08));
  border: 1px solid rgba(176,141,60,.35);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #D4A94C;
  position: relative;
  z-index: 1;
}
.cl-banner-ic svg { width: 36px; height: 36px; }
.cl-banner-txt {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.cl-banner-txt strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.cl-banner-txt span {
  font-size: .92rem;
  opacity: .8;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .cl-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 24px 20px;
  }
  .cl-banner-ic { display: none; }
}

/* ------- CASI STUDIO ------- */
.cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cs-grid { grid-template-columns: repeat(4, 1fr); } }

.cs-card {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 24px;
}
.cs-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--a);
  margin-bottom: 18px;
}
.cs-card h4 svg { color: var(--ac); }

.cs-bars { display: flex; flex-direction: column; gap: 10px; }
.cs-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-bar-label {
  font-size: .75rem;
  color: var(--txt-m);
  min-width: 48px;
  flex-shrink: 0;
}
.cs-bar-track {
  flex: 1;
  height: 10px;
  background: var(--brd);
  border-radius: 99px;
  overflow: hidden;
}
.cs-bar-fill {
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
  background: var(--brd2, #C5CCD6);
}
.cs-bar-fill.cs-after {
  background: linear-gradient(90deg, var(--ac), #25b359);
}
.cs-bar-fill.cs-animated {
  width: var(--target);
}
.cs-bar-row strong {
  font-size: .82rem;
  min-width: 36px;
  text-align: right;
}
.cs-highlight { color: var(--ac); }
.cs-delta {
  margin-top: 12px;
  padding: 6px 12px;
  background: #F0FFF6;
  color: var(--ac);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  display: inline-block;
}

.cs-results {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 28px;
}
.cs-results h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--a);
  margin-bottom: 18px;
}
.cs-results-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .cs-results-g { grid-template-columns: repeat(2, 1fr); } }

.cs-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--txt);
}
.cs-result-ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--ac);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.cs-result-ic svg { width: 12px; height: 12px; color: #fff; }

/* ------- FOOTER ------- */
footer {
  padding: 72px 0 28px;
  background: var(--bg-dark);
  color: #CBD5E1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.foot-col h5 {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: #fff; margin-bottom: 18px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: .88rem; color: #94A3B8; transition: color .2s;
}
.foot-col a:hover { color: #fff; }
.foot-brand .logo-text b { color: #fff; }
.foot-brand .logo-text span { color: #60A5FA; }
.foot-brand p {
  font-size: .9rem; color: #94A3B8; line-height: 1.65;
  margin-top: 16px; max-width: 340px;
}
.foot-contact li {
  font-size: .88rem; color: #CBD5E1;
  display: flex; flex-direction: column; gap: 3px;
}
.foot-contact li span {
  font-size: .68rem; color: #64748B;
  text-transform: uppercase; letter-spacing: .1em;
  font-weight: 600;
}
.foot-bar {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap;
  gap: 14px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.fcopy { font-size: .78rem; color: #64748B; }
.flinks { display: flex; gap: 22px; }
.flinks a {
  font-size: .82rem; color: #94A3B8; transition: color .2s;
}
.flinks a:hover { color: #fff; }
.foot-nl { display: flex; gap: 8px; margin-top: 10px; }
.foot-nl input::placeholder { color: #94A3B8; }

/* ------- WhatsApp Float ------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  z-index: 999;
  transition: .25s var(--e);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,.45);
}

/* ------- Page Header (interne) ------- */
.page-hero {
  padding: 140px 0 60px;
  position: relative; overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 800px 400px at 50% -10%, var(--a-softer), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
@media (min-width: 768px) { .page-hero { padding: 180px 0 80px; } }
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 600px 300px at 50% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 600px 300px at 50% 30%, #000, transparent 70%);
  pointer-events: none;
}
.page-hero .ctn { position: relative; z-index: 1; }
.page-hero .lab { justify-content: center; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.page-hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-3);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}
.breadcrumb {
  display: flex; justify-content: center; gap: 10px;
  font-size: .78rem; color: var(--text-4);
  margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-3); transition: color .2s; }
.breadcrumb a:hover { color: var(--ac); }
.breadcrumb span { opacity: .5; }

/* ------- Service Detail Page ------- */
.svc-detail {
  padding: 70px 0;
  border-top: 1px solid var(--brd);
  background: var(--bg);
}
.svc-detail:nth-child(even) { background: var(--bg-soft); }
.svc-detail:first-of-type { border-top: none; }
.svc-detail-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) { .svc-detail-g { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.svc-detail .lab { margin-bottom: 14px; }
.svc-detail h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text);
}
.svc-detail p.intro {
  font-size: 1.02rem; color: var(--text-3);
  line-height: 1.7; margin-bottom: 26px;
}
.svc-detail-content {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 28px 28px;
}
.svc-detail-content + .svc-detail-content { margin-top: 16px; }
.svc-detail-content h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
}
.svc-detail-content h3 svg {
  width: 18px; height: 18px; color: var(--a);
  stroke: currentColor; stroke-width: 2.5; fill: none;
}
.svc-detail-content ul { display: flex; flex-direction: column; gap: 10px; }
.svc-detail-content li {
  font-size: .92rem; color: var(--text-2);
  padding-left: 22px; position: relative; line-height: 1.65;
}
.svc-detail-content li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--a);
}

/* ------- FAQ ------- */
.faq { padding: var(--sp) 0; background: var(--bg); border-top: 1px solid var(--brd); }
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--rs);
  overflow: hidden;
  transition: .25s var(--e);
}
.faq-item:hover { border-color: var(--brd-2); }
.faq-item.open { border-color: var(--ac); background: var(--ac-softer); }
.faq-q {
  width: 100%;
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  text-align: left;
  color: var(--text);
  font-size: 1rem; font-weight: 600;
  min-height: 60px;
  letter-spacing: -.01em;
}
.faq-q::after {
  content: '+';
  font-size: 1.6rem; color: var(--ac); font-weight: 300;
  transition: .3s var(--e);
  flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--e);
}
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: .94rem; color: var(--text-2); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ------- Values grid ------- */
.values-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .values-g { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-g { grid-template-columns: repeat(3, 1fr); } }
.val {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: .3s var(--e);
}
.val:hover { border-color: var(--ac); box-shadow: var(--sh-md); transform: translateY(-3px); }
.val-ic {
  width: 54px; height: 54px; border-radius: 13px;
  background: var(--ac-softer);
  color: var(--ac);
  border: 1px solid var(--ac-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.val-ic svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
.val h3 {
  font-size: 1.2rem; margin-bottom: 10px; font-weight: 700;
  letter-spacing: -.015em; color: var(--text);
}
.val p { font-size: .92rem; color: var(--text-3); line-height: 1.65; }

/* ------- Numbers big ------- */
.numbers {
  padding: var(--spS) 0;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  background: var(--bg-soft);
}
.numbers-g {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: center;
}
@media (min-width: 768px) { .numbers-g { grid-template-columns: repeat(4, 1fr); gap: 36px; } }
.num {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--ac);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.num-lb {
  font-size: .8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

/* ------- Helpers & a11y ------- */
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }

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

:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 3px;
  border-radius: 4px;
}

@media print {
  nav, .wa-float, .quiz, .ctas, footer .foot-bar .flinks { display: none; }
  body { background: #fff; color: #000; }
}
