/* nethiv-core.css - Master Design System
   Style: Architectural Blueprint / Bespoke Geometric
   Traits: Thin lines, No radiuses, Monospace accents, Pitch black backgrounds, Transparency.
*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #030303;
  --bg2: #080808;
  --fg: #f5f5f5;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text-muted: #888;
  --text-dim: #555;
  /* Division Accent --a will be injected inline per page */
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
  background-attachment: fixed;
}

canvas { display: block; }
.ct { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--line-strong);
}
.ni {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 2rem;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}
.nl { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nl svg { width: 24px; height: 24px; stroke: var(--a); fill: none; }
.nl-t { font-family: 'IBM Plex Mono', monospace; font-size: 0.95rem; font-weight: 600; color: var(--fg); text-transform: uppercase; letter-spacing: 0.1em; }
.nl-t span { color: var(--a); }

.nk { display: flex; gap: 2rem; list-style: none; }
.nk a { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nk a:hover { color: var(--fg); }

.dd { position: relative; }
.dd-t { cursor: pointer; display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase;}
.dd-t:hover { color: var(--fg); }
.dd-m {
  position: absolute; top: calc(100% + 19px); left: 0;
  background: var(--bg); border: 1px solid var(--line-strong); border-top: none;
  min-width: 220px; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s;
}
.dd:hover .dd-m { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-a {
  display: flex; justify-content: space-between; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-strong);
  font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-decoration: none; color: var(--fg);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dd-a:last-child { border-bottom: none; }
.dd-a:hover { background: rgba(255,255,255,0.05); }

.nc {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em;
  color: var(--bg); background: var(--fg); padding: 0.6rem 1.2rem;
  border: 1px solid var(--fg); text-decoration: none;
  transition: all 0.2s;
  box-shadow: 4px 4px 0 var(--a);
}
.nc:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--a); }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; padding-top: 64px; }
.hero-text { padding: 8rem 3rem 4rem 0; position: relative; z-index: 2; border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: center;}
.hero-canvas-wrap { position: relative; height: 100%; width: 100%; border-right: 1px solid var(--line-strong); background: rgba(0,0,0,0.4); }
.hero-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hb {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--a); border: 1px solid var(--a); padding: 0.4rem 0.8rem; margin-bottom: 2rem; align-self: flex-start;
}

.hero h1 { font-family: 'Inter'; font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; color: var(--fg); margin-bottom: 1.5rem; }
.hero h1 .hl { color: var(--a); font-family: 'IBM Plex Mono', monospace; font-style: italic; font-weight: 400; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; max-width: 480px; margin-bottom: 2.5rem; }

/* BUTTONS */
.btn-m {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em;
  color: var(--fg); background: transparent; padding: 1rem 2rem;
  border: 1px solid var(--line-strong); text-decoration: none;
  transition: all 0.2s; position: relative;
}
.btn-m:hover {
  border-color: var(--a); background: rgba(255,255,255,0.02);
}
.btn-m::after { content: ''; position: absolute; bottom: 0; right: 0; width: 6px; height: 6px; background: var(--a); }

/* SECTIONS */
.sec { border-top: 1px solid var(--line-strong); position: relative; }
.sec .ct { border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); padding: 6rem 2rem; background: var(--bg); min-height: 500px;}
.ey { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--a); margin-bottom: 1rem; display: block; }
.st { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4rem; }

/* GEOMETRIC CARDS / LOGIC */
.logic-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.logic-box { padding: 3rem; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); position: relative;}
.logic-box:nth-child(even) { border-right: none; }
.logic-box:nth-last-child(-n+2) { border-bottom: none; }
.logic-box::before { content: '+'; position: absolute; top: -7px; left: -5px; color: var(--a); font-family: monospace; font-size: 16px; line-height: 1;}

.logic-box h3 { font-family: 'IBM Plex Mono', monospace; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 1rem; color: var(--fg); font-weight: 500;}
.logic-box p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.logic-metrics { margin-top: 2rem; border-top: 1px dashed var(--line-strong); padding-top: 1.5rem; display: flex; gap: 3rem;}
.logic-metrics div { display: flex; flex-direction: column; }
.lm-v { font-family: 'IBM Plex Mono', monospace; font-size: 1.8rem; color: var(--fg); font-weight: 400; line-height: 1;}
.lm-l { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; text-transform: uppercase; color: var(--text-dim); margin-top: 0.4rem; letter-spacing: 0.05em;}

.logic-canvas { border: 1px solid var(--line-strong);aspect-ratio: 1.2; position: relative; background: var(--bg2); grid-column: span 1; }
.logic-canvas.span-2 { grid-column: span 2; aspect-ratio: 2.5;}
.logic-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* FOOTER */
footer { border-top: 1px solid var(--line-strong); background: var(--bg2); }
footer .ct {
  border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  padding: 3rem 2rem; display: flex; justify-content: space-between; align-items: center;
}
.f-c { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;}
.f-link { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--fg); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--a); padding-bottom: 2px;}

/* BIG CRO FUNNEL EXTENSIONS */
.cro-pain { padding: 6rem 2rem; border-bottom: 1px solid var(--line-strong); background: var(--bg); text-align: center;}
.cro-pain h2 { font-family: 'Inter'; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 2rem; color: #fff; font-weight: 300; max-width: 900px; margin-left: auto; margin-right: auto;}
.cro-pain p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; max-width: 800px; margin: 0 auto;}

.cro-cases { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-strong); }
.cro-case { padding: 4rem; border-right: 1px solid var(--line-strong); background: var(--bg2);}
.cro-case:last-child { border-right: none; }
.cro-case h3 { font-family: 'IBM Plex Mono'; font-size: 1.2rem; color: var(--fg); margin-bottom: 1.5rem; text-transform: uppercase;}
.cro-case p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2.5rem; font-size: 0.95rem; }
.cro-data { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: rgba(255,255,255,0.02); color: var(--a); border: 1px solid var(--line-strong); font-family: 'IBM Plex Mono'; font-size: 1.2rem;}

.cro-faq { padding: 6rem 2rem; border-bottom: 1px solid var(--line-strong); background: var(--bg); }
.faq-wrap { max-width: 900px; margin: 0 auto; border: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: none; }
.faq-q { padding: 1.5rem; font-family: 'IBM Plex Mono'; color: var(--fg); font-size: 0.85rem; text-transform: uppercase; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--bg2); transition: background 0.3s;}
.faq-q:hover { background: rgba(255,255,255,0.05); }
.faq-a { padding: 1.5rem; border-top: 1px solid var(--line-strong); color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; display: none; background: var(--bg); }
.faq-item.active .faq-a { display: block; }

/* COMMON ANIMATION CLASS */
.rv { opacity: 0; transform: translateY(10px); transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.vis { opacity: 1; transform: translateY(0); }

/* WOW EFFETTI KINETICI (GLOW) */
.wow-glow { position: relative; overflow: hidden; }
.wow-glow::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.03), transparent 40%);
}
.wow-glow:hover::before { opacity: 1; }

.wow-glow::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 5; opacity: 0; transition: opacity 0.5s;
  border: 1px solid transparent;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), var(--a), transparent 40%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); mask-composite: exclude;
}
.wow-glow:hover::after { opacity: 0.8; }
.wow-glow > * { position: relative; z-index: 10; }

/* WORKFLOW & FORMS */
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); margin-top: 4rem; }
.wf-node { padding: 3rem 2rem; border-right: 1px solid var(--line-strong); position: relative; }
.wf-node:last-child { border-right: none; }
.wf-node::before { content: ''; position: absolute; top: 30px; left: 0; width: 100%; border-top: 1px dashed var(--line-strong); z-index: 1;}
.wf-num { position: relative; z-index: 2; display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; font-family: 'IBM Plex Mono', monospace; font-size: 0.9rem; font-weight: 500; color: var(--bg); background: var(--a); margin-bottom: 1.5rem; }
.wf-node h4 { font-family: 'IBM Plex Mono', monospace; font-size: 1rem; color: var(--fg); margin-bottom: 0.8rem; text-transform: uppercase;}
.wf-node p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; font-weight: 300;}

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); margin-top: 4rem; background: var(--bg2);}
.contact-info { padding: 3rem; border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: center;}
.contact-form { padding: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.form-grp { display: flex; flex-direction: column; gap: 0.5rem; }
.form-grp label { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; color: var(--a); letter-spacing: 0.05em; }
.form-grp input, .form-grp textarea { font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); padding: 1rem; outline: none; transition: border-color 0.3s;}
.form-grp input:focus, .form-grp textarea:focus { border-color: var(--a); }
.form-grp textarea { resize: vertical; min-height: 100px; }

@media(max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { border-right: none; border-bottom: 1px solid var(--line-strong); padding: 4rem 2rem;}
  .hero-canvas-wrap { min-height: 400px; border-right: none; }
  .logic-grid { grid-template-columns: 1fr; }
  .logic-box { border-right: none !important; border-bottom: 1px solid var(--line-strong) !important; padding: 2rem;}
  .logic-box:last-child { border-bottom: none !important; }
  .logic-canvas.span-2 { grid-column: span 1; aspect-ratio: 1; }
  .workflow-grid { grid-template-columns: 1fr; }
  .wf-node { border-right: none; border-bottom: 1px solid var(--line-strong); padding: 2rem;}
  .wf-node:last-child { border-bottom: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--line-strong); padding: 2rem;}
  .contact-form { padding: 2rem; }
  .cro-cases { grid-template-columns: 1fr; }
  .cro-case { border-right: none; border-bottom: 1px solid var(--line-strong); padding: 2rem; }
  .cro-case:last-child { border-bottom: none; }
}
@media(max-width: 640px) {
  .nk { display: none; }
  .nc { display: none; }
  .ct { padding: 0 1rem; }
  .sec .ct { padding: 4rem 1rem; }
  nav .ni { border-left: none; border-right: none; }
  .hero-text { padding: 3rem 1rem; }
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.hb-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 17px;
  cursor: pointer; background: none; border: none; padding: 0;
  flex-shrink: 0;
}
.hb-btn span {
  display: block; width: 100%; height: 1px;
  background: var(--fg); transition: transform 0.3s ease, opacity 0.3s ease;
}
.hb-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hb-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hb-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media(max-width: 640px) { .hb-btn { display: flex; } }

/* MOBILE NAV OVERLAY */
.mob-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg); border-top: 1px solid var(--line-strong);
  z-index: 998; flex-direction: column; padding: 1rem 2rem 3rem;
  overflow-y: auto;
}
.mob-nav.open { display: flex; }
.mob-nav-section { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; padding: 1.5rem 0 0.75rem; }
.mob-nav a {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.95rem;
  text-transform: uppercase; color: var(--fg); text-decoration: none;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: 0.05em; transition: color 0.2s;
}
.mob-nav a:hover { color: var(--a, #fff); }
.mob-nav .mob-cta {
  margin-top: 2rem; padding: 1.2rem 2rem; background: var(--fg); color: var(--bg);
  font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; text-transform: uppercase;
  text-align: center; text-decoration: none; font-weight: 700; letter-spacing: 0.1em;
  border: none; display: block;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 997;
  width: 54px; height: 54px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  border: 1px solid rgba(255,255,255,0.15);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(37,211,102,0.65); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; flex-shrink: 0; }
.wa-float .wa-tooltip {
  position: absolute; right: 68px; bottom: 50%; transform: translateY(50%);
  background: var(--bg2); border: 1px solid var(--line-strong);
  font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; text-transform: uppercase;
  color: var(--fg); white-space: nowrap; padding: 0.5rem 0.8rem; letter-spacing: 0.05em;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: var(--bg2); border-top: 1px solid var(--line-strong);
  padding: 1.2rem 2rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; transform: translateY(110%); transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--text-muted);
  line-height: 1.6; flex: 1; text-transform: uppercase; letter-spacing: 0.03em;
}
.cookie-bar p a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; text-transform: uppercase;
  padding: 0.55rem 1.2rem; background: var(--fg); color: var(--bg); border: none;
  cursor: pointer; font-weight: 700; letter-spacing: 0.08em; transition: opacity 0.2s;
}
.cookie-accept:hover { opacity: 0.85; }
.cookie-reject {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; text-transform: uppercase;
  padding: 0.55rem 1.2rem; background: transparent; color: var(--text-muted);
  border: 1px solid var(--line-strong); cursor: pointer; letter-spacing: 0.08em; transition: color 0.2s, border-color 0.2s;
}
.cookie-reject:hover { color: var(--fg); border-color: var(--fg); }
@media(max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .cookie-btns { width: 100%; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; padding: 0.8rem; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed; top: 63px; left: 0; height: 2px; width: 0%;
  background: var(--a, #ffffff); z-index: 1001;
  transition: width 0.08s linear; pointer-events: none;
}

/* ============================================
   FORM SUCCESS STATE
   ============================================ */
.form-success {
  text-align: center; padding: 3.5rem 2rem;
  border: 1px solid rgba(16,185,129,0.35);
  background: rgba(16,185,129,0.04);
  animation: fadeIn 0.5s ease;
}
.form-success h3 {
  font-family: 'IBM Plex Mono', monospace; font-size: 1.1rem;
  color: #10b981; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.form-success p { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.7; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   HOMEPAGE EXTRAS
   ============================================ */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong); margin-top: 0;
}
.how-step {
  padding: 3.5rem 2.5rem; border-right: 1px solid var(--line-strong);
  position: relative; background: var(--bg);
}
.how-step:last-child { border-right: none; }
.how-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 3rem; font-weight: 600;
  color: rgba(255,255,255,0.05); line-height: 1; margin-bottom: 1.5rem; display: block;
}
.how-step h4 { font-family: 'IBM Plex Mono', monospace; font-size: 1rem; color: var(--fg); margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.how-step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

.cta-band {
  padding: 7rem 2rem; text-align: center;
  background: var(--bg); border-top: 1px solid var(--line-strong);
}
.cta-band h2 { font-family: 'Inter'; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.15; }
.cta-band p { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto 3rem; line-height: 1.8; font-weight: 300; }
.cta-duo { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER ENHANCED */
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding: 4rem 2rem; }
.ft-brand .nl-t { font-size: 1.1rem; display: block; margin-bottom: 1rem; }
.ft-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; font-weight: 300; }
.ft-brand .ft-socials { display: flex; gap: 1rem; }
.ft-socials a { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); padding: 0.4rem 0.7rem; transition: color 0.2s, border-color 0.2s; }
.ft-socials a:hover { color: var(--fg); border-color: var(--fg); }
.ft-col h5 { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.ft-col ul a { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.ft-col ul a:hover { color: var(--fg); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; border-top: 1px solid var(--line); }
.ft-copy { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.ft-legal { display: flex; gap: 1.5rem; }
.ft-legal a { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--text-dim); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.ft-legal a:hover { color: var(--text-muted); }

@media(max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; border: none; border-top: 1px solid var(--line-strong); }
  .how-step { border-right: none; border-bottom: 1px solid var(--line-strong); }
  .how-step:last-child { border-bottom: none; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1rem; }
  .cta-duo { flex-direction: column; align-items: center; }
  .ft-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 1.5rem 1rem; }
  .how-grid { border-top: 1px solid var(--line-strong); }
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGE TOGGLE — IT / EN
   Default language: Italian.
   Add class "lang-en" to <html> to switch to English.
   ═══════════════════════════════════════════════════════════ */

/* Hide English by default */
.t-en { display: none !important; }

/* In English mode: hide Italian, show English */
html.lang-en .t-it { display: none !important; }
html.lang-en .t-en { display: inline !important; }
html.lang-en p.t-en,
html.lang-en div.t-en,
html.lang-en span.t-en[style*="block"],
html.lang-en h1.t-en,
html.lang-en h2.t-en,
html.lang-en h3.t-en,
html.lang-en h4.t-en,
html.lang-en li.t-en  { display: block !important; }
html.lang-en .t-en.d-flex { display: flex !important; }
html.lang-en .t-en.d-grid { display: grid !important; }

/* Lang toggle button */
.lang-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-right: 1rem;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--fg); border-color: var(--fg); }
html.lang-en .lang-btn { color: var(--fg); border-color: var(--fg); }

@media(max-width: 960px) { .lang-btn { margin-right: 0.5rem; } }
