/* ==========================================================================
   INDUSTRY CONNECT — Sito Web Ufficiale (www.industryconnect.it)
   System & Software S.r.l. — Olmi Quarrata (PT)
   Design: Modern Industrial Tech — Alto impatto, zero noia, 100% responsive
   ========================================================================== */

@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/AtkinsonHyperlegible-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/AtkinsonHyperlegible-Bold.woff2') format('woff2');
}

:root {
  --bg-dark: #071324;
  --bg-dark-2: #0d1f3a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --emerald: #10b981;
  --emerald-dark: #059669;
  --amber: #f59e0b;
  --border: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 19, 36, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- HEADER / NAVBAR ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 19, 36, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: #93c5fd;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  transition: all 0.2s ease;
}

.phone-chip:hover {
  color: #ffffff;
  border-color: rgba(147, 197, 253, 0.5);
  background: rgba(37, 99, 235, 0.14);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  font-size: 1.25rem;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px var(--primary-glow);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.5);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-outline-dark {
  background: #ffffff;
  color: var(--text-dark);
  border-color: #cbd5e1;
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.28), transparent 46%),
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.18), transparent 42%),
    linear-gradient(180deg, #071324 0%, #0b1c36 72%, #0f2546 100%);
  color: #ffffff;
  padding: 64px 0 84px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 44px;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero h1 .accent-grad {
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.07rem;
  color: #cbd5e1;
  margin: 0 0 26px;
  max-width: 560px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.86rem;
  color: #94a3b8;
  font-weight: 600;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-checks strong {
  color: #e2e8f0;
}

/* Hero visual mockup */
.hero-visual {
  position: relative;
}

.browser-frame {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.browser-dots i:nth-child(1) { background: #ef4444; }
.browser-dots i:nth-child(2) { background: #f59e0b; }
.browser-dots i:nth-child(3) { background: #10b981; }

.browser-url {
  flex: 1;
  background: rgba(15, 23, 42, 0.72);
  color: #94a3b8;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-screen {
  position: relative;
  cursor: zoom-in;
  background: #f8fafc;
}

.browser-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(7, 19, 36, 0.85);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 11px 15px;
  box-shadow: 0 18px 40px rgba(7, 19, 36, 0.35);
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.82rem;
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #dcfce7;
  color: #059669;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
}

/* ---------- KPI STRIP ---------- */
.kpi-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.kpi-item {
  text-align: center;
  padding: 8px 10px;
  border-right: 1px solid var(--border);
}

.kpi-item:last-child {
  border-right: none;
}

.kpi-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 78px 0;
}

.section-alt {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: linear-gradient(180deg, #071324 0%, #0d1f3a 100%);
  color: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-dark .eyebrow {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.9vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.section-dark .section-head p {
  color: #cbd5e1;
}

/* ---------- INTERACTIVE SCREENSHOT TOUR ---------- */
.demo-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tour-tab {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tour-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tour-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px var(--primary-glow);
}

.tour-stage {
  display: grid;
  grid-template-columns: 1.48fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.tour-info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tour-step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-dark);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tour-info-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.tour-info-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tour-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tour-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.tour-bullets li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #dbeafe;
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.tour-nav-btns {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- AUDIENCE SWITCHER ---------- */
.audience-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.audience-btn {
  font-family: inherit;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audience-btn:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.audience-btn.active {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: var(--shadow-sm);
}

.audience-btn .aud-title {
  display: block;
  font-size: 1.03rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.audience-btn .aud-sub {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.audience-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: center;
}

.audience-panel h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
}

.audience-panel p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.audience-cards {
  display: grid;
  gap: 12px;
}

.mini-benefit {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 13px 16px;
}

.mini-benefit strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 3px;
}

.mini-benefit span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ---------- 4-LIGHT TIMELINE ---------- */
.steps-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-box:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.55);
}

.step-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6ee7b7;
  margin-bottom: 12px;
}

.step-light::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.step-box h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
}

.step-box p {
  margin: 0;
  font-size: 0.89rem;
  color: #cbd5e1;
}

/* ---------- PROTOCOLS WALL ---------- */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.proto-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.proto-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.proto-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
}

.proto-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.brands-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.brand-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-q span.icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q span.icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
  border-top: 1px solid #f1f5f9;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- CONTACT FORM SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.contact-info-box {
  background: linear-gradient(155deg, #071324 0%, #102a52 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-info-box h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 800;
}

.contact-info-box p {
  margin: 0 0 22px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 13px 16px;
}

.contact-row small {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-row strong {
  font-size: 1rem;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  margin: 0 0 6px;
  font-size: 1.38rem;
  font-weight: 800;
}

.form-card .form-sub {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.profile-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.profile-option {
  position: relative;
}

.profile-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-option label {
  display: block;
  text-align: center;
  padding: 10px 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.18s ease;
}

.profile-option input:checked + label {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary-dark);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 0.94rem;
  padding: 11px 13px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 8px 0 18px;
}

.privacy-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.ok {
  display: block;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-status.err {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #050d1a;
  color: #94a3b8;
  padding: 36px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-inner strong {
  color: #ffffff;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 13, 26, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.lightbox-inner img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #ffffff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner,
  .tour-stage,
  .audience-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .steps-4,
  .proto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .kpi-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .floating-badge {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .phone-chip {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #071324;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-dark);
    gap: 14px;
  }
  .audience-tabs,
  .steps-4,
  .proto-grid,
  .form-row-2,
  .profile-picker {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
