/*
Theme Name: Nabify 2026
Theme URI: https://nabifyagency.com
Author: Nabify
Description: Tema custom Nabify 2026 — bold & premium dark, marketing locale. Include scrollytelling, Tassametro dell'Invisibilità e Check-up Dominazione Locale.
Version: 1.0.0
Requires PHP: 7.4
License: Proprietary
Text Domain: nabify2026
*/

/* ============================================
   NABIFY — Design System 2026
   Bold & Premium Dark · Brand kit ufficiale
   Navy 70% · Blu 20% · Lime 10%
   ============================================ */

:root {
  --navy: #0d1a2b;
  --navy-2: #12233a;
  --navy-3: #182e4a;
  --blu: #34b5e5;
  --cyan-light: #ebfcff;
  --crema: #eeeadf;
  --lime: #b4e102;
  --text: #eeeadf;
  --text-dim: rgba(238, 234, 223, 0.62);
  --border: rgba(238, 234, 223, 0.12);
  --radius: 20px;
  --font-display: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--navy); }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(44px, 7.5vw, 104px); }
h2 { font-size: clamp(34px, 5vw, 68px); }
h3 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 22px;
}

.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--text-dim); max-width: 640px; }

.hl-lime { color: var(--lime); }
.hl-blu { color: var(--blu); }

.hl-box {
  background: var(--lime);
  color: var(--navy);
  padding: 0 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hl-box-blu {
  background: var(--blu);
  color: var(--navy);
  padding: 0 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.stroke-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 234, 223, 0.35);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}
body.admin-bar .nav { top: 32px; }
.nav::before {
  /* sfondo+blur su pseudo-elemento: backdrop-filter direttamente su .nav
     creerebbe un containing block e ancorerebbe il menu mobile
     position:fixed alla barra invece che allo schermo */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background 0.4s var(--ease);
}
.nav.scrolled::before {
  background: rgba(13, 26, 43, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.scrolled {
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 58px; width: auto; }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a { position: relative; opacity: 0.85; transition: opacity 0.25s; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-burger span { display: block; height: 2px; background: var(--crema); transition: 0.3s; }
.nav-cta-icon { display: none; }
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.nav-lang:hover { opacity: 1; }
.nav-lang .flag { font-size: 19px; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 34px;
  min-height: 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(180, 225, 2, 0.35); }
.btn-blu { background: var(--blu); color: var(--navy); }
.btn-blu:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(52, 181, 229, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--crema);
  border: 1.5px solid rgba(238, 234, 223, 0.35);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-sm { padding: 12px 24px; font-size: 13px; min-height: 44px; }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 18px auto 0; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(52, 181, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 181, 229, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 181, 229, 0.16), transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--navy-2);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: 56px; }
.marquee-track .dot { color: var(--lime); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--navy);
  padding: 44px 32px;
  transition: background 0.3s;
}
.stat:hover { background: var(--navy-2); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Cards ---------- */
.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(52, 181, 229, 0.45); }

/* Badge icona servizi */
.svc-ico {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 15px;
  background: rgba(52, 181, 229, 0.12);
  color: #0d6e9c;
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.svc-ico svg { width: 27px; height: 27px; }
.card:hover .svc-ico { background: rgba(52, 181, 229, 0.2); transform: translateY(-2px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- Steps (metodo) ---------- */
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--blu);
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-dim); max-width: 560px; }

/* ---------- Case studies ---------- */
.case-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(180, 225, 2, 0.5); }
.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blu);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  width: fit-content;
}
.case-body { padding: 36px; display: flex; flex-direction: column; flex: 1; }
.case-result {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;
}
.case-prima-oggi { margin-top: 18px; display: grid; gap: 14px; font-size: 15px; }
.case-prima-oggi .label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.case-prima-oggi .prima .label { color: rgba(238, 234, 223, 0.45); }
.case-prima-oggi .oggi .label { color: var(--lime); }
.case-prima-oggi p { color: var(--text-dim); margin-top: 4px; }

/* ---------- Casi studio: numeri copertina ---------- */
.case-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.case-hero .case-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--lime);
  text-transform: uppercase;
}
.section-light .case-hero .case-num { color: #63820a; }
.case-hero .case-num small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.5;
  max-width: 380px;
}
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case-chips span {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
}
@media (max-width: 860px) {
  .case-hero { grid-template-columns: 1fr; gap: 26px; }
  .case-hero.flip .case-num { order: -1; }
}

/* muro clienti: seconda riga in direzione opposta */
.client-wall { padding: 22px 0; }
.marquee-track.reverse { animation-direction: reverse; }

/* ---------- Casi studio: griglia card + palma viaggiatrice + modal ---------- */
.cases-wrap { overflow: hidden; }
.palm-traveler { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.palm-traveler.above { z-index: 2; }
.palm-traveler img {
  position: absolute; top: 0; left: 0;
  width: clamp(72px, 8vw, 128px); height: auto;
  opacity: 0.55;
  mix-blend-mode: screen;
  filter: blur(0.6px) brightness(1.25) drop-shadow(0 0 18px rgba(52, 181, 229, 0.6)) drop-shadow(0 0 36px rgba(180, 225, 2, 0.35));
  will-change: transform;
  animation: palm-float 4s ease-in-out infinite;
}
@keyframes palm-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .palm-traveler { display: none; }
}
.case-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.case-filters button {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.case-filters button:hover { color: var(--text); border-color: rgba(52, 181, 229, 0.5); }
.case-filters button.on { background: var(--blu); color: var(--navy); border-color: var(--blu); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cases-grid { grid-template-columns: 1fr; } }
.case-tile {
  position: relative; z-index: 1;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.case-tile:hover, .case-tile:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(180, 225, 2, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.case-tile-media { aspect-ratio: 16 / 10; overflow: hidden; }
.case-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.case-tile:hover .case-tile-media img { transform: scale(1.05); }
.case-tile-media.is-stat, .case-tile-media.is-mono {
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 30% 110%, rgba(52, 181, 229, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% -10%, rgba(180, 225, 2, 0.12) 0%, transparent 50%),
    var(--navy-3);
}
.tile-stat { text-align: center; padding: 20px; }
.tile-stat strong {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1;
  color: var(--lime); text-transform: uppercase; letter-spacing: -0.01em;
}
.tile-stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-dim); }
.tile-mono {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 5vw, 68px);
  color: transparent;
  -webkit-text-stroke: 2px var(--blu);
  letter-spacing: 0.04em;
}
.case-tile-body { padding: 24px 26px 26px; }
.case-tile-body h3 { font-size: 20px; margin: 12px 0 8px; }
.case-tile-body p { color: var(--text-dim); font-size: 15px; }
.tile-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blu);
}
.case-tile:hover .tile-cta .arrow { transform: translateX(5px); }
.tile-cta .arrow { transition: transform 0.3s var(--ease); }

.case-modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.case-modal.open { display: block; }
.case-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(13, 26, 43, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.case-modal-box {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 32px));
  max-height: min(82vh, 720px);
  overflow-y: auto;
  background: var(--navy-2);
  border: 1px solid rgba(52, 181, 229, 0.35);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 48px);
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.case-modal-body h3 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 16px; }
.case-modal-body p { color: var(--text-dim); margin-bottom: 14px; }
.case-modal-body p strong { color: var(--text); }
.case-modal-body a { color: var(--blu); font-weight: 700; }
.case-modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; cursor: pointer;
  font-size: 34px; line-height: 1; color: var(--text-dim);
  transition: color 0.25s;
}
.case-modal-close:hover { color: var(--lime); }

/* ---------- Accordion / FAQ ---------- */
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--crema);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 21px);
  text-align: left;
  text-transform: uppercase;
  padding: 26px 60px 26px 0;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.01em;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: var(--lime);
  transition: transform 0.3s var(--ease);
  font-weight: 400;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
  color: var(--text-dim);
}
.faq-a-inner { padding: 0 0 28px; max-width: 720px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input, .select, .textarea {
  width: 100%;
  background: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--crema);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.25s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blu);
}
.input::placeholder, .textarea::placeholder { color: rgba(238, 234, 223, 0.4); }
label.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blu);
  color: var(--navy);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--navy); }
.cta-band .lead { color: rgba(13, 26, 43, 0.75); }
.cta-band .palm { position: absolute; right: -30px; bottom: -40px; opacity: 0.18; width: 300px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 36px;
  background: var(--navy-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: 44px;
  margin-bottom: 56px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-col a { color: var(--text-dim); transition: color 0.25s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-logo img { height: 40px; width: auto; margin-bottom: 18px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Immagini ---------- */
.case-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-3);
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.7s var(--ease);
}
.case-card:hover .case-media img { transform: scale(1.06); }

.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--navy-3);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.04);
}
.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,26,43,0) 45%, rgba(13,26,43,0.55));
  pointer-events: none;
}
.img-frame .img-caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--crema);
}
.img-frame .img-caption small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(238,234,223,0.75);
  margin-top: 4px;
}
.img-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) {
  .img-band { grid-template-columns: 1fr; }
  /* su una colonna l'immagine detta l'altezza: niente ritagli né vuoti */
  .img-band .img-frame:not(.rays-frame) { min-height: 0 !important; }
  .img-band .img-frame img { height: auto; }
}

/* ---------- Rays — sezione animata "mercato in movimento" ---------- */
.rays-frame { background: radial-gradient(ellipse at 50% 100%, #14304d 0%, var(--navy-3) 62%); }
.rays-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rays-frame::after { background: none; }
.rays-frame .img-caption { text-shadow: 0 2px 14px rgba(13, 26, 43, 0.85); }
.rays-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 80vh, 840px);
  background: radial-gradient(ellipse at 50% 100%, #14304d 0%, var(--navy) 65%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rays-hero .rays-title {
  position: absolute;
  top: clamp(36px, 7vw, 64px);
  left: 24px; right: 24px;
  text-align: center;
  z-index: 2;
  font-size: clamp(22px, 3.4vw, 42px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 14px rgba(13, 26, 43, 0.85);
}

/* ---------- Sezioni chiare (stacco visivo) ---------- */
.section-light {
  background: var(--crema) url('https://nabifyagency.com/wp-content/uploads/2026/07/carta-crema.jpg') center / cover;
  color: var(--navy);
  --text-dim: rgba(13, 26, 43, 0.66);
  --border: rgba(13, 26, 43, 0.14);
}
.section-light h2, .section-light h3, .section-light .faq-q { color: var(--navy); }
.section-light .card { background: #ffffff; border-color: rgba(13, 26, 43, 0.10); }
.section-light .eyebrow { color: #0d6e9c; }
.section-light .hl-blu { color: #0d6e9c; }
.section-light .card span[style*="--lime"] { color: #63820a !important; }
.section-light .card span[style*="--blu"] { color: #0d6e9c !important; }
.section-light .card strong[style*="--blu"] { color: #0d6e9c !important; }
.section-light .hl-lime { color: #63820a; }
.section-light .post-cat { color: #0d6e9c; }
.section-light .post-card .post-meta { color: rgba(13, 26, 43, 0.5); }
.section-light .step-num { -webkit-text-stroke-color: #0d6e9c; }
.section-light .card p[style*="--blu"] { color: #0d6e9c !important; }
.section-light h3 span[style*="--lime"] { color: #63820a !important; }

/* ---------- Statement tipografico + finestra parallax ---------- */
.statement {
  font-size: clamp(28px, 4.6vw, 64px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.img-window {
  position: relative;
  overflow: hidden;
  height: clamp(340px, 72vh, 700px);
  clip-path: inset(0);   /* la finestra: mostra l'immagine fissa solo dentro la sezione */
  padding: 0;
}
.img-window img {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}
.img-window-sm { height: clamp(240px, 42vh, 420px); }
@media (prefers-reduced-motion: reduce) {
  .img-window img { position: absolute; height: 100%; }
}
/* Telefono e pizzaiolo: da desktop mostra la versione larga (mobile invariato).
   Altezza fissa (niente aspect-ratio) così la sezione resta a tutta larghezza: nessuno spazio vuoto a destra. */
@media (min-width: 768px) {
  .img-window-pc { height: clamp(380px, 42vw, 660px); clip-path: none; }
  .img-window-pc img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
  }
}

/* rays come sfondo della hero: canvas dietro al contenuto */
.hero.rays-frame { background: radial-gradient(ellipse at 50% 100%, rgba(20, 48, 77, 0.85) 0%, transparent 55%); }
.hero.rays-frame canvas { z-index: 1; }
.hero.rays-frame .container { position: relative; z-index: 2; }

/* immagine team: nessuna card, si dissolve nello sfondo navy */
.team-visual { overflow: hidden; }
.team-visual img {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: block;
  mask-image: radial-gradient(ellipse 82% 92% at 50% 42%, black 58%, transparent 99%);
  -webkit-mask-image: radial-gradient(ellipse 82% 92% at 50% 42%, black 58%, transparent 99%);
}

/* ---------- Immagini full-bleed (senza card) ---------- */
.img-bleed { position: relative; overflow: hidden; }
.img-bleed > img {
  width: 100%;
  display: block;
  max-height: 560px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}
.img-bleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,26,43,0.35) 0%, rgba(13,26,43,0) 30%, rgba(13,26,43,0) 50%, rgba(13,26,43,0.72) 100%);
  pointer-events: none;
}
.img-bleed-text {
  position: absolute;
  left: 0; right: 0; bottom: clamp(22px, 4vw, 44px);
  z-index: 2;
}
.img-bleed-text span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 27px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.img-bleed-text small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--text-dim);
}
/* variante alta: più immagine, testo in basso a sinistra lontano dal punto focale */
.img-bleed-tall > img { max-height: min(88vh, 900px); }
.img-bleed-tall .img-bleed-text span,
.img-bleed-tall .img-bleed-text small { max-width: min(560px, 72%); }

/* ---------- Palm motif ---------- */
.palm-mark { position: absolute; opacity: 0.08; pointer-events: none; }

/* ---------- Badge ticker / trust ---------- */
.trust-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(238, 234, 223, 0.04);
}
.trust-row .stars { color: var(--lime); letter-spacing: 2px; }

/* ---------- Checkup tool ---------- */
.checkup-wrap {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 5vw, 64px);
  max-width: 860px;
  margin: 0 auto;
}
.checkup-progress {
  height: 6px;
  background: var(--navy);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 40px;
}
.checkup-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blu), var(--lime));
  width: 0%;
  transition: width 0.5s var(--ease);
  border-radius: 999px;
}
.checkup-q h3 { margin-bottom: 26px; text-transform: none; letter-spacing: 0; }
.checkup-opts { display: grid; gap: 12px; }
.checkup-opt {
  background: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  min-height: 52px;
  text-align: left;
  color: var(--crema);
  font-family: var(--font-body);
  font-size: 16px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.checkup-opt:active { transform: scale(0.98); background: var(--navy-3); }
.checkup-opt:hover { border-color: var(--blu); background: var(--navy-3); transform: translateX(4px); }
.score-ring { width: 190px; height: 190px; margin: 0 auto 28px; position: relative; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .score-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
}
.score-ring .score-val small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .post-cat {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blu); margin-bottom: 14px;
}
.post-card h3 { text-transform: none; letter-spacing: 0; margin-bottom: 12px; }
.post-card p { color: var(--text-dim); font-size: 15px; flex: 1; }
.post-card .post-meta { margin-top: 22px; font-size: 13px; color: rgba(238,234,223,0.45); }

.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: clamp(26px, 3vw, 38px); margin: 56px 0 20px; }
.article-body h3 { margin: 40px 0 14px; text-transform: none; }
.article-body p { margin-bottom: 20px; color: rgba(238, 234, 223, 0.85); }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: rgba(238, 234, 223, 0.85); }
.article-body li { margin-bottom: 8px; }
.article-body .callout, .article-body blockquote {
  background: var(--navy-2);
  border-left: 3px solid var(--lime);
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.article-body img { border-radius: var(--radius); }

/* ============================================
   SCROLLYTELLING — esperienza Apple-style
   ============================================ */
.scrolly { height: 480vh; position: relative; }
.scrolly-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scrolly-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(52,181,229,0.10), transparent 70%),
    var(--navy-2);
}
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.scene.active { opacity: 1; transform: none; }
.scene.past { opacity: 0; transform: translateY(-60px); }
.scene-caption { text-align: center; max-width: 680px; }
.scene-caption .eyebrow { justify-content: center; }
.scene-caption h2 { font-size: clamp(28px, 4.2vw, 56px); }
.scene-caption p { color: var(--text-dim); margin-top: 14px; font-size: clamp(15px, 1.4vw, 18px); }

.scrolly-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}
.scrolly-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(238,234,223,0.2);
  transition: background 0.3s, transform 0.3s;
}
.scrolly-dots span.on { background: var(--blu); transform: scale(1.4); }

.search-mock {
  width: min(560px, 90vw);
  background: #fff;
  border-radius: 999px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.search-mock .lens { flex: none; width: 22px; height: 22px; }
.search-mock .q {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 22px);
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
}
.search-mock .caret {
  display: inline-block;
  width: 2px; height: 1.2em;
  background: var(--blu);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.serp-mock {
  width: min(560px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.serp-row {
  background: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #1a1a1a;
  font-family: var(--font-body);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  transition: transform 0.7s var(--ease), opacity 0.7s, box-shadow 0.7s;
}
.serp-row .pos {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #9aa0a6;
  width: 28px; flex: none;
}
.serp-row .biz { font-weight: 600; font-size: clamp(14px, 1.5vw, 17px); }
.serp-row .meta { font-size: 12.5px; color: #70757a; margin-top: 2px; }
.serp-row .meta .st { color: #fbbc04; }
.serp-row.you { position: relative; }
.serp-row.you .pos { color: var(--blu); }
.serp-row.dimmed { opacity: 0.45; transform: scale(0.97); }
.serp-you-badge {
  margin-left: auto;
  background: var(--navy);
  color: var(--cyan-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  flex: none;
}
.serp-mock.winner .serp-row.you {
  box-shadow: 0 24px 60px rgba(52,181,229,0.4);
  outline: 2.5px solid var(--blu);
}
.serp-mock.winner .serp-row.you .serp-you-badge { background: var(--blu); color: var(--navy); }

.phone-mock {
  width: min(340px, 82vw);
  background: linear-gradient(180deg, #1c2f4a, #12233a);
  border: 1.5px solid rgba(238,234,223,0.15);
  border-radius: 38px;
  padding: 26px 18px 30px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  position: relative;
}
.phone-mock .notch {
  width: 110px; height: 8px;
  background: rgba(238,234,223,0.15);
  border-radius: 999px;
  margin: 0 auto 22px;
}
.notif {
  background: rgba(238, 234, 223, 0.97);
  color: #14212f;
  border-radius: 16px;
  padding: 13px 16px;
  margin-bottom: 10px;
  font-size: 13.5px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.notif.show { opacity: 1; transform: none; }
.notif .ico {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.notif .t { font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #46596e; }
.notif .m { margin-top: 1px; line-height: 1.35; }
.phone-counter {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

@media (prefers-reduced-motion: reduce) {
  .scrolly { height: auto; }
  .scrolly-sticky { position: static; height: auto; }
  .scene { position: static; opacity: 1; transform: none; padding: 60px 24px; }
  .scrolly-dots { display: none; }
  .notif { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .scrolly-dots { right: 12px; }
  .scene { gap: 26px; }
}

/* ============================================
   TASSAMETRO DELL'INVISIBILITÀ — calcolatore live
   ============================================ */
.taxi-wrap {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.taxi-controls { padding: clamp(32px, 4.5vw, 56px); }
.taxi-controls .ctrl { margin-bottom: 34px; }
.taxi-controls .ctrl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.taxi-controls .ctrl-head label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.taxi-controls .ctrl-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--blu);
  white-space: nowrap;
}
.taxi-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.taxi-seg button {
  background: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 18px;
  min-height: 44px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.25s;
}
.taxi-seg button:active { transform: scale(0.96); }
.taxi-seg button:hover { border-color: var(--blu); color: var(--crema); }
.taxi-seg button.sel { background: var(--blu); border-color: var(--blu); color: var(--navy); }

input[type="range"].slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blu) var(--fill, 50%), rgba(238,234,223,0.14) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--crema);
  border: 4px solid var(--blu);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.15s;
}
input[type="range"].slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--crema);
  border: 4px solid var(--blu);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.taxi-display {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(52,181,229,0.14), transparent 70%),
    var(--navy);
  border-left: 1px solid var(--border);
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.taxi-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.taxi-label .live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ff5c5c;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.taxi-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--crema);
  margin: 18px 0 6px;
  font-variant-numeric: tabular-nums;
}
.taxi-amount .cents { font-size: 0.45em; color: var(--blu); }
.taxi-sub { color: var(--text-dim); font-size: 15px; }
.taxi-year {
  margin-top: 28px;
  background: rgba(180, 225, 2, 0.1);
  border: 1px solid rgba(180, 225, 2, 0.35);
  border-radius: 14px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.taxi-clients { margin-top: 14px; font-size: 14px; color: var(--text-dim); }
.taxi-clients strong { color: var(--crema); }

.taxi-escape {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  height: 26px;
  pointer-events: none;
}
.taxi-escape span {
  position: absolute;
  bottom: 0;
  font-size: 17px;
  opacity: 0;
  animation: run-away var(--dur, 5s) linear infinite;
  animation-delay: var(--del, 0s);
}
@keyframes run-away {
  0% { left: 46%; opacity: 0; transform: scaleX(-1); }
  8% { opacity: 0.85; }
  85% { opacity: 0.85; }
  100% { left: 103%; opacity: 0; transform: scaleX(-1); }
}

@media (max-width: 900px) {
  .taxi-wrap { grid-template-columns: 1fr; }
  .taxi-display { border-left: none; border-top: 1px solid var(--border); min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .taxi-escape span, .taxi-label .live-dot { animation: none; }
  .taxi-escape { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .btn {
    width: 100%;
    max-width: 440px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 16px 26px;
    font-size: 14px;
  }
  .btn-sm { width: auto; }
  .hero .btn, section .btn { margin-left: auto; margin-right: auto; }
  .section-head.split .btn { width: auto; margin-left: 0; }
  .taxi-seg button { flex: 1 1 calc(50% - 8px); }
  .faq-q { padding: 22px 48px 22px 0; }
  input[type="range"].slider { height: 8px; }
  input[type="range"].slider::-webkit-slider-thumb { width: 30px; height: 30px; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 20px;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.open { transform: none; }
  /* header mobile: panino a sinistra, logo centrato, CTA a destra */
  .nav-burger { display: flex; order: -1; align-items: center; z-index: 1001; width: 44px; height: 44px; margin-left: -6px; }
  .nav-burger span { width: 26px; }
  /* su mobile la CTA diventa un'icona tonda: niente sovrapposizioni col logo centrato */
  .nav-lang { margin-left: auto; }
  .nav-lang .lbl { display: none; }
  .nav-lang .flag { font-size: 22px; }
  .nav-cta-desktop {
    width: 44px;
    min-height: 44px;
    margin-left: 10px;
    padding: 0;
    border-radius: 50%;
  }
  .nav-cta-label { display: none; }
  .nav-cta-icon { display: block; }
  .nav-inner { gap: 12px; position: relative; }
  .nav-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
  .nav-logo img { height: 54px; }
  .trust-row { gap: 10px; padding: 9px 16px; font-size: 11px; letter-spacing: 0.06em; }
  .trust-row .stars { font-size: 12px; letter-spacing: 1px; }
  /* hero mobile: contenuto in alto, niente vuoto da centraggio verticale */
  .hero { min-height: 0; justify-content: flex-start; padding: 118px 0 64px; }
  /* scrolly mobile: il titolo delle scene non deve finire sotto l'header fisso */
  .scene { justify-content: flex-start; padding-top: 106px; gap: 24px; }
  .phone-mock { transform: scale(0.86); transform-origin: top center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step-num { font-size: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- WooCommerce — prodotti digitali ---------- */
.woo-wrap { color: var(--text); }
.woo-wrap .woocommerce-breadcrumb, .woo-wrap .woocommerce-result-count { color: var(--text-dim); font-size: 14px; }
.woo-wrap .woocommerce-ordering select {
  background: var(--navy-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px;
}
.woo-wrap ul.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  list-style: none; margin: 36px 0 0 !important; padding: 0;
}
.woo-wrap ul.products::before, .woo-wrap ul.products::after { display: none; }
.woo-wrap ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important;
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.woo-wrap ul.products li.product:hover { transform: translateY(-4px); border-color: rgba(52, 181, 229, 0.45); }
.woo-wrap ul.products li.product img { border-radius: 12px; margin-bottom: 18px; width: 100%; }
.woo-wrap .woocommerce-loop-product__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 19px !important; text-transform: uppercase; line-height: 1.15;
  color: var(--text); padding: 0 !important;
}
.woo-wrap .price { color: var(--lime) !important; font-weight: 700; font-size: 18px; }
.woo-wrap .price del { color: var(--text-dim); opacity: 0.7; margin-right: 8px; }
.woo-wrap a.button, .woo-wrap button.button, .woo-wrap .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800 !important; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--blu) !important; color: var(--navy) !important;
  padding: 14px 28px !important; border-radius: 999px !important; border: none;
  cursor: pointer; margin-top: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.woo-wrap a.button:hover, .woo-wrap button.button:hover, .woo-wrap .single_add_to_cart_button:hover {
  transform: translateY(-2px); box-shadow: 0 10px 30px rgba(52, 181, 229, 0.3);
}
.woo-wrap div.product .product_title {
  font-size: clamp(28px, 4vw, 52px); color: var(--text);
}
.woo-wrap div.product p, .woo-wrap div.product .woocommerce-product-details__short-description { color: var(--text-dim); }
.woo-wrap div.product div.images img { border-radius: var(--radius); border: 1px solid var(--border); }
.woo-wrap div.product form.cart .quantity .qty {
  background: var(--navy-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px;
}
.woo-wrap .woocommerce-tabs ul.tabs li { background: var(--navy-2) !important; border-color: var(--border) !important; }
.woo-wrap .woocommerce-tabs ul.tabs li a { color: var(--text) !important; }
.woo-wrap .woocommerce-tabs .panel { background: transparent !important; color: var(--text-dim); }
.woo-wrap .input-text, .woo-wrap textarea, .woo-wrap select {
  background: var(--navy-2) !important; color: var(--text) !important;
  border: 1px solid var(--border) !important; border-radius: 12px !important; padding: 12px 16px !important;
}
.woo-wrap form .form-row label { color: var(--text-dim); font-size: 14px; }
.woo-wrap table.shop_table { border: 1px solid var(--border); border-radius: var(--radius); }
.woo-wrap table.shop_table th, .woo-wrap table.shop_table td { border-color: var(--border) !important; color: var(--text); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--navy-2) !important; color: var(--text) !important;
  border-top-color: var(--lime) !important; border-radius: 0 0 14px 14px;
}
.woocommerce-error { border-top-color: #ff6b6b !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--lime); }
@media (max-width: 900px) { .woo-wrap ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .woo-wrap ul.products { grid-template-columns: 1fr; } }

/* blocchi carrello / checkout (Gutenberg) */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--text); }
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-select .components-custom-select-control__button {
  background: var(--navy-2) !important; color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
.wc-block-components-text-input label,
.wc-block-components-checkbox__label,
.wc-block-components-combobox label { color: var(--text-dim) !important; }
.wc-block-components-button:not(.is-link) {
  background: var(--blu) !important; color: var(--navy) !important;
  border-radius: 999px !important; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 800 !important;
}
.wc-block-components-totals-item, .wc-block-components-order-summary,
.wc-block-cart-item__product, .wc-block-components-product-name { color: var(--text) !important; }
.wc-block-cart-item__product .wc-block-components-product-metadata { color: var(--text-dim) !important; }
.wc-block-components-divider, .wc-block-components-totals-wrapper { border-color: var(--border) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel { color: var(--text); }
