/* ═══════════════════════════════════════════════════════════
   TESTER ENERGIA — Sistema grafico
   Palette: verde menta + acqua/teal + cielo + blu
   Atmosfera: tecnica, pulita, settore energetico
   ═══════════════════════════════════════════════════════════ */
:root {
  /* ─── Base ─── */
  --bg:       #f0fdfa;
  --bg-2:     #ecfeff;
  --bg-3:     #f0f9ff;
  --paper:    #ffffff;
  --surface:  #f8fafc;

  /* ─── Testo ─── */
  --ink:      #0f172a;
  --ink-2:    #1e293b;
  --ink-3:    #334155;
  --muted:    #64748b;
  --soft:     #94a3b8;
  --line:     #e2e8f0;
  --line-2:   #cbd5e1;

  /* ─── Brand verde menta (primario) ─── */
  --mint-50:   #f0fdfa;
  --mint-100:  #ccfbf1;
  --mint-200:  #99f6e4;
  --mint-300:  #5eead4;
  --mint-400:  #2dd4bf;   /* primario */
  --mint-500:  #14b8a6;
  --mint-600:  #0d9488;   /* deep */
  --mint-700:  #0f766e;

  /* ─── Brand cielo/blu (secondario) ─── */
  --sky-50:    #f0f9ff;
  --sky-100:   #e0f2fe;
  --sky-200:   #bae6fd;
  --sky-300:   #7dd3fc;
  --sky-400:   #38bdf8;
  --sky-500:   #0ea5e9;   /* secondario */
  --sky-600:   #0284c7;
  --sky-700:   #0369a1;

  /* ─── Accenti caldi (uso parsimonioso, per evidenze) ─── */
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  /* ─── Variabili semantiche (per gli script editor) ─── */
  --bg-main:    var(--bg);
  --primary:    var(--mint-400);
  --primary-d:  var(--mint-600);
  --accent:     var(--sky-500);
  --accent-d:   var(--sky-700);

  /* ─── Tipografia ─── */
  --sans: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
em, i { font-style: normal; color: var(--mint-700); font-weight: 700; }
strong, b { font-weight: 600; }
::selection { background: var(--mint-200); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ═══════════════════════════════════════════════════════════
   SFONDI TEMATICI in TRASPARENZA (energia: circuiti, pannelli,
   onde, nodi IoT, foglie). Usano data URI SVG.
   ═══════════════════════════════════════════════════════════ */
.bg-circuit {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240' width='240' height='240'><g fill='none' stroke='%2314b8a6' stroke-width='1' opacity='0.18'><path d='M0 60 H80 V100 H160 V40 H240'/><path d='M0 180 H40 V140 H120 V200 H240'/><path d='M120 0 V40 M120 200 V240'/><circle cx='80' cy='60' r='3' fill='%2314b8a6'/><circle cx='160' cy='100' r='3' fill='%2314b8a6'/><circle cx='40' cy='180' r='3' fill='%230ea5e9'/><circle cx='120' cy='140' r='3' fill='%230ea5e9'/></g></svg>");
  background-size: 240px 240px;
  background-repeat: repeat;
}
.bg-panels {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' width='160' height='160'><g fill='none' stroke='%230d9488' stroke-width='0.8' opacity='0.14'><rect x='10' y='10' width='60' height='40' rx='2'/><line x1='10' y1='25' x2='70' y2='25'/><line x1='10' y1='35' x2='70' y2='35'/><line x1='30' y1='10' x2='30' y2='50'/><line x1='50' y1='10' x2='50' y2='50'/><rect x='90' y='70' width='60' height='40' rx='2'/><line x1='90' y1='85' x2='150' y2='85'/><line x1='90' y1='95' x2='150' y2='95'/><line x1='110' y1='70' x2='110' y2='110'/><line x1='130' y1='70' x2='130' y2='110'/></g></svg>");
  background-size: 160px 160px;
  background-repeat: repeat;
}
.bg-waves {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' width='800' height='200'><g fill='none' stroke-width='1.2' opacity='0.16'><path d='M0 100 Q 100 40, 200 100 T 400 100 T 600 100 T 800 100' stroke='%232dd4bf'/><path d='M0 130 Q 100 70, 200 130 T 400 130 T 600 130 T 800 130' stroke='%230ea5e9'/><path d='M0 160 Q 100 100, 200 160 T 400 160 T 600 160 T 800 160' stroke='%23a7f3d0'/></g></svg>");
  background-size: 800px 200px;
  background-repeat: repeat-x;
  background-position: bottom center;
}
.bg-nodes {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' width='300' height='300'><g opacity='0.22'><circle cx='50' cy='50' r='4' fill='%232dd4bf'/><circle cx='200' cy='80' r='3' fill='%230ea5e9'/><circle cx='120' cy='150' r='5' fill='%230d9488'/><circle cx='250' cy='200' r='3' fill='%2338bdf8'/><circle cx='80' cy='240' r='4' fill='%232dd4bf'/><line x1='50' y1='50' x2='120' y2='150' stroke='%232dd4bf' stroke-width='0.6'/><line x1='200' y1='80' x2='120' y2='150' stroke='%2338bdf8' stroke-width='0.6'/><line x1='120' y1='150' x2='250' y2='200' stroke='%230ea5e9' stroke-width='0.6'/><line x1='120' y1='150' x2='80' y2='240' stroke='%232dd4bf' stroke-width='0.6'/></g></svg>");
  background-size: 300px 300px;
  background-repeat: repeat;
}
.bg-leaf {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' width='200' height='200'><g fill='%232dd4bf' opacity='0.10'><path d='M40 30 C 20 60, 30 100, 60 110 C 70 80, 65 50, 40 30 Z'/><path d='M150 80 C 130 110, 140 150, 170 160 C 180 130, 175 100, 150 80 Z'/><path d='M70 150 C 50 180, 60 200, 90 200 C 100 180, 95 165, 70 150 Z'/></g></svg>");
  background-size: 200px 200px;
}

/* ═══════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 12px 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint-300), var(--sky-400));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 18px -8px rgba(13,148,136,.45);
}
.brand-logo svg { width: 22px; height: 22px; color: white; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-weight: 700; letter-spacing: -0.015em; }
.brand-text small {
  font-family: var(--mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--mint-600); font-weight: 600;
  margin-top: 2px;
}

.top-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.top-nav a { position: relative; padding: 4px 0; transition: color .15s; }
.top-nav a:hover { color: var(--mint-600); }
.top-nav a::after {
  content: ""; position: absolute; bottom: -2px; left: 50%;
  width: 0; height: 2px; background: var(--mint-400);
  transition: width .2s, left .2s;
}
.top-nav a:hover::after, .top-nav a.active::after { width: 100%; left: 0; }

.top-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: all .15s;
  white-space: nowrap;
}
.top-cta:hover { background: var(--mint-600); transform: translateY(-1px); }
.top-cta-phone {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: auto;
  padding: 96px 32px 96px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(50% 40% at 80% 25%, rgba(186,230,253,.5) 0%, transparent 70%),
    radial-gradient(45% 50% at 12% 95%, rgba(204,251,241,.6) 0%, transparent 70%),
    linear-gradient(180deg, #f7fdfb, #ffffff 60%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240' width='240' height='240'><g fill='none' stroke='%2314b8a6' stroke-width='1' opacity='0.12'><path d='M0 60 H80 V100 H160 V40 H240'/><path d='M0 180 H40 V140 H120 V200 H240'/><path d='M120 0 V40 M120 200 V240'/><circle cx='80' cy='60' r='2.5' fill='%2314b8a6'/><circle cx='160' cy='100' r='2.5' fill='%2314b8a6'/><circle cx='40' cy='180' r='2.5' fill='%230ea5e9'/><circle cx='120' cy='140' r='2.5' fill='%230ea5e9'/></g></svg>");
  background-size: 220px 220px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  width: 100%;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero-text { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--mint-700);
  padding: 6px 12px;
  background: rgba(204,251,241,.6);
  border: 1px solid rgba(94,234,212,.35);
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint-500);
  box-shadow: 0 0 0 4px rgba(20,184,166,.22);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title em {
  background: linear-gradient(135deg, var(--mint-500), var(--sky-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 540px;
  font-weight: 500;
}

.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 24px;
  background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  color: white;
  border-radius: 14px;
  font-size: 15px; font-weight: 600;
  border: 0;
  box-shadow: 0 12px 26px -10px rgba(13,148,136,.5);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(13,148,136,.6); }
.btn-primary .ar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid; place-items: center;
  font-size: 12px;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: white;
  color: var(--ink);
  border-radius: 14px;
  font-size: 15px; font-weight: 600;
  border: 1.5px solid var(--line);
  transition: all .15s;
}
.btn-secondary:hover { border-color: var(--mint-400); color: var(--mint-700); }

.hero-stats {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 14px;
  box-shadow: 0 10px 24px -14px rgba(15,23,42,.14);
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat b {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--mint-600), var(--sky-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat span {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600;
}

/* ─── Hero visual (lato destro: dashboard mockup energetico) ─── */
.hero-visual {
  position: relative;
  aspect-ratio: 5/4;
  display: grid; place-items: center;
}
.hero-orb {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, var(--mint-200) 0%, transparent 60%);
  filter: blur(20px);
}
.hero-dash {
  position: relative;
  width: 100%;
  background: white;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 22px 48px -22px rgba(15,23,42,.22);
  border: 1px solid var(--line);
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg);
  transition: transform .4s;
}
.hero-dash:hover { transform: perspective(900px) rotateY(-1deg) rotateX(1deg); }
.hero-dash-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.hero-dash-head .lbl {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mint-600); font-weight: 700;
}
.hero-dash-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.hero-dash-head .live::before {
  content: ""; width: 6px; height: 6px;
  background: var(--mint-500); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(45,212,191,.3);
  animation: pulse 1.4s ease-in-out infinite;
}
.hero-dash-big {
  font-family: var(--display);
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink); line-height: 1;
  margin-bottom: 4px;
}
.hero-dash-big small { font-size: 13px; color: var(--mint-600); font-weight: 600; }
.hero-dash-sub { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.hero-dash-graph {
  height: 80px;
  background:
    linear-gradient(180deg, rgba(45,212,191,.15) 0%, transparent 100%);
  border-radius: 8px;
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
}
.hero-dash-graph svg { width: 100%; height: 100%; }
.hero-dash-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hero-dash-cell {
  padding: 9px 10px;
  background: var(--mint-50);
  border-radius: 8px;
  border: 1px solid var(--mint-100);
}
.hero-dash-cell .k {
  font-family: var(--mono); font-size: 8.5px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600; margin-bottom: 3px;
}
.hero-dash-cell .v {
  font-size: 13px; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.hero-dash-cell .v small { font-size: 9px; color: var(--muted); font-weight: 500; }
.hero-dash-cell.sky { background: var(--sky-50); border-color: var(--sky-100); }

/* Floating chip dietro al dashboard */
.hero-float {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 18px 36px -16px rgba(15,23,42,.22);
  font-size: 13px; font-weight: 500;
  color: var(--ink);
}
.hero-float-text { white-space: nowrap; }

/* ─── Bottone rotondo Tester Bolletta (blu mare) ─── */
.tb-circle {
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #38bdf8 0%, #0284c7 55%, #075985 100%);
  color: white;
  text-decoration: none;
  box-shadow:
    0 18px 36px -12px rgba(2,132,199,.6),
    inset 0 -3px 8px rgba(0,0,0,.18),
    inset 0 2px 4px rgba(255,255,255,.35);
  transition: transform .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.6);
}
/* Variante inline (dentro al titolo della hero, dopo il punto) */
.tb-inline {
  display: inline-flex !important;
  vertical-align: middle;
  margin: 0 0 0 18px;
  width: 108px; height: 108px;
  position: relative;
  top: auto; right: auto; left: auto; transform: none;
  animation: float-a 6.5s ease-in-out infinite .8s;
  /* Contorno arancio sfumato */
  border: 3px solid transparent;
  background:
    radial-gradient(circle at 30% 30%, #38bdf8 0%, #0284c7 55%, #075985 100%) padding-box,
    linear-gradient(135deg, #fdba74 0%, #fb923c 50%, #ea580c 100%) border-box;
  box-shadow:
    0 18px 36px -10px rgba(2,132,199,.55),
    0 0 0 1px rgba(251,146,60,.25),
    0 4px 14px -4px rgba(251,146,60,.45),
    inset 0 -3px 8px rgba(0,0,0,.18),
    inset 0 2px 4px rgba(255,255,255,.35);
}
.tb-inline:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 22px 44px -10px rgba(2,132,199,.65),
    0 0 0 1px rgba(251,146,60,.4),
    0 8px 22px -4px rgba(251,146,60,.55),
    inset 0 -3px 8px rgba(0,0,0,.18),
    inset 0 2px 4px rgba(255,255,255,.4);
}
.tb-inline .tb-circle-logo { width: 48px; height: 48px; }
.tb-inline .tb-circle-logo svg { width: 46px; height: 46px; }
.tb-inline .tb-circle-label { font-size: 10.5px; }
.tb-inline .tb-circle-label small { font-size: 9px; }
.tb-circle-logo { width: 52px; height: 52px; }
.tb-circle-logo svg { width: 50px; height: 50px; display: block; }
.tb-circle-label { font-size: 11px; }
.tb-circle-label small { font-size: 9.5px; }
.tb-circle::before {
  /* Riflesso/onda mare in alto */
  content: "";
  position: absolute; top: -20%; left: -10%;
  width: 130%; height: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.45), transparent 70%);
  pointer-events: none;
}
.tb-circle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 20px 36px -10px rgba(2,132,199,.65),
    inset 0 -3px 8px rgba(0,0,0,.18),
    inset 0 2px 4px rgba(255,255,255,.4);
}
.tb-circle-logo {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  position: relative; z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.tb-circle-logo svg { width: 36px; height: 36px; display: block; }
.tb-circle-label {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  position: relative; z-index: 1;
}
.tb-circle-label small {
  font-size: 8px;
  font-weight: 500;
  opacity: .9;
}
.hero-float-1 {
  bottom: -22px; right: 50%; margin-right: 6px;
  animation: float-a 5s ease-in-out infinite;
}
.hero-float-2 {
  bottom: -22px; left: 50%; margin-left: 6px;
  animation: float-a 5s ease-in-out infinite reverse;
}
.hero-float .ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--mint-100); color: var(--mint-700);
  display: grid; place-items: center;
}
.hero-float-2 .ico { background: var(--sky-100); color: var(--sky-700); }
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════════════════
   SEZIONI
   ═══════════════════════════════════════════════════════════ */
.sec { padding: 32px 0; position: relative; }
.sec.bg-soft {
  background:
    radial-gradient(60% 40% at 10% 50%, rgba(204,251,241,.45) 0%, transparent 60%),
    linear-gradient(180deg, white, #f4fdfa);
}
.sec.bg-sky {
  background:
    radial-gradient(50% 40% at 90% 30%, rgba(224,242,254,.55) 0%, transparent 60%),
    linear-gradient(180deg, white, #f4fbfe);
}
/* Sezione "Perché noi" — sfondo PIATTO bianco/avorio per massima leggibilità */
.sec.bg-ink {
  background: #f8fafc;
  color: var(--ink);
}
.sec.bg-ink .sec-head h2 { color: #0c4a6e; font-weight: 800; }
.sec.bg-ink .sec-head h2 em {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.sec.bg-ink .sec-head p { color: #0369a1; font-weight: 600; }
.sec.bg-ink .sec-eyebrow {
  background: white;
  color: #0369a1;
  border: 1px solid rgba(56,189,248,.5);
}
.sec.bg-ink .why h3 { color: #064e3b; }
.sec.bg-ink .why p { color: #065f46; }
.sec.bg-ink .why-num { color: #047857; }
.sec.bg-ink .why-num::before { background: #10b981; }
.sec.bg-ink .why {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 60%, #a7f3d0 100%);
  border-color: rgba(16,185,129,.45);
  box-shadow: 0 4px 14px -8px rgba(5,150,105,.25);
}

.sec-head { text-align: center; margin-bottom: 20px; }
.sec-eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--mint-600); font-weight: 700;
  padding: 6px 14px;
  background: var(--mint-100);
  border-radius: 999px;
  margin-bottom: 14px;
}
.sec.bg-ink .sec-eyebrow {
  background: rgba(94,234,212,.18);
  color: var(--mint-300);
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 8px;
  color: var(--ink);
  text-wrap: balance;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.sec-head h2 em {
  background: linear-gradient(135deg, var(--mint-500), var(--sky-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.sec-head p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.55;
  max-width: 580px; margin: 0 auto;
  font-weight: 500;
}

/* ─── Card servizio ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
  cursor: pointer;
}
.svc::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mint-400), var(--sky-400));
  opacity: 0; transition: opacity .2s;
}
.svc:hover {
  transform: translateY(-4px);
  border-color: var(--mint-300);
  box-shadow: 0 28px 56px -22px rgba(13,148,136,.25);
}
.svc:hover::before { opacity: 1; }

.svc-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100));
  color: var(--mint-700);
  display: grid; place-items: center;
  margin-bottom: 10px;
  transition: transform .2s;
}
.svc:hover .svc-ico { transform: scale(1.08) rotate(-3deg); background: linear-gradient(135deg, var(--mint-300), var(--sky-300)); color: white; }
.svc-ico svg { width: 20px; height: 20px; }

.svc-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mint-700);
  font-weight: 600;
  margin-bottom: 6px;
}
.svc h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin: 0 0 6px;
  color: var(--ink);
  text-wrap: balance;
}
.svc p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0 0 10px;
  font-weight: 500;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--mint-700);
  transition: gap .15s;
}
.svc-link::after { content: "→"; font-family: var(--mono); }
.svc:hover .svc-link { gap: 12px; }

/* ─── Steps "Come operiamo" ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: stp;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 14px;
  counter-increment: stp;
}
.step::before {
  content: counter(stp, decimal-leading-zero);
  position: absolute;
  top: -12px; left: 14px;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--mint-500), var(--sky-500));
  color: white;
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10.5px;
  font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 6px 14px -6px rgba(13,148,136,.4);
}
.step h4 {
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 12px 0 4px;
  color: var(--ink);
}
.step p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* ─── Why us / fasce ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }
.why {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(45,212,191,.45);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px -8px rgba(13,148,136,.22);
}
.why-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mint-700);
  font-weight: 700;
  margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
}
.why-num::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--mint-500);
}
.why h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  color: var(--ink);
  text-wrap: balance;
}
.why p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* ─── CTA strip finale ─── */
.cta-strip {
  margin-top: 20px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--mint-500), var(--sky-500));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  color: white;
  box-shadow: 0 14px 32px -16px rgba(13,148,136,.4);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 60%);
  pointer-events: none;
}
.cta-strip h3 {
  font-family: var(--display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 2px;
  position: relative;
  text-wrap: balance;
}
.cta-strip p { margin: 0; opacity: .98; font-size: 12.5px; position: relative; max-width: 420px; font-weight: 500; }
.cta-strip-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: white;
  color: var(--mint-700);
  padding: 10px 16px 10px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  position: relative;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,.18);
}
.cta-strip-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -8px rgba(0,0,0,.25); }
.cta-strip-btn .ar {
  width: 24px; height: 24px;
  background: var(--mint-100);
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ─── Trust strip (numeri) ─── */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 22px;
  margin-top: 16px;
}
@media (max-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust-cell { text-align: center; }
.trust-cell b {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--mint-600), var(--sky-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.trust-cell span {
  font-family: var(--mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.foot {
  padding: 24px 0 14px;
  background: linear-gradient(180deg, white, var(--mint-50));
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand-block { max-width: 320px; }
.foot-brand-block .brand { margin-bottom: 10px; }
.foot-brand-block p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}
.foot h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 700;
  margin: 0 0 8px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.foot ul a {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  transition: color .15s;
  padding: 1px 0;
  display: inline-block;
}
.foot ul a:hover { color: var(--mint-700); }
.foot-bottom {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
/* Slot logo footer (caricabile da editor) */
.footer-logo-slot {
  width: 120px; height: 60px;
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}
.footer-logo-slot:not([style*="url"]) { display: none; }

/* ═══════════════════════════════════════════════════════════
   PROMPT (search) — riadattato palette nuova
   ═══════════════════════════════════════════════════════════ */
.prompt-wrap { position: relative; max-width: 640px; margin-top: 8px; }
.prompt {
  display: flex; align-items: center; gap: 12px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 8px 24px -12px rgba(15,23,42,.12);
}
.prompt:focus-within {
  border-color: var(--mint-400);
  box-shadow: 0 12px 28px -8px rgba(45,212,191,.3), 0 0 0 4px rgba(45,212,191,.18);
}
.prompt input {
  flex: 1; border: 0; outline: 0;
  background: transparent;
  font-family: var(--sans); font-size: 15px;
  color: var(--ink);
}
.prompt input::placeholder { color: var(--soft); }
.prompt-icon { width: 20px; height: 20px; color: var(--mint-600); flex-shrink: 0; }

.prompt-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 48px -16px rgba(15,23,42,.2);
  max-height: 420px; overflow-y: auto;
  z-index: 30;
  display: none;
}
.prompt-results.is-open { display: block; }
.prompt-result {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background .12s;
}
.prompt-result:hover { background: var(--mint-50); }
.prompt-result:last-child { border-bottom: 0; }
.prompt-result-sec {
  font-family: var(--mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--mint-100); color: var(--mint-700);
  padding: 3px 9px; border-radius: 999px;
  font-weight: 700;
  align-self: start;
  white-space: nowrap;
}
.prompt-result-title {
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  grid-column: 2;
}
.prompt-result-body {
  grid-column: 1 / 4;
  font-size: 12.5px;
  color: var(--ink-3); line-height: 1.45;
}
.prompt-result-ar {
  grid-column: 3; align-self: center;
  color: var(--mint-600); font-family: var(--mono); font-weight: 700;
}
mark { background: var(--mint-200); color: var(--ink); padding: 1px 3px; border-radius: 3px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════ */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.tag-mint { background: var(--mint-100); color: var(--mint-700); }
.tag-sky  { background: var(--sky-100); color: var(--sky-700); }
.tag-warm { background: #fef3c7; color: #92400e; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
