/* =========================
   ROOT & BASE
========================= */
:root {
  --bg-main: #020617;
  --bg-soft: rgba(2, 6, 23, 0.85);
  --bg-panel: rgba(2, 6, 23, 0.95);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  --accent-blue: #2563eb;
  --accent-blue-soft: rgba(37, 99, 235, 0.25);
  --accent-red: #e11d48;

  --igps-bg: #f8fafc; /* light tech */
  --igps-panel: #ffffff;
  --igps-border: #e2e8f0;
  --igps-text: #0f172a;
  --igps-muted: #475569;
  --ivpn-bg: #f8fafc;
  --ivpn-panel: #ffffff;
  --ivpn-border: #e2e8f0;
  --ivpn-text: #0f172a;
  --ivpn-muted: #475569;
}

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

html {
  scroll-behavior: smooth;
}

/* =========================
   BODY
========================= */
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: radial-gradient(circle at top, #0f172a 0%, #020617 60%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   COOKIE BANNER  
========================= */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 960px;
  margin: auto;
  background: rgba(8, 14, 22, 0.96);
  backdrop-filter: blur(14px);
  color: #fff;
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: #4da3ff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
}

#cookie-accept {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  background: #4da3ff;
  color: #000;
}

.cookie-link {
  color: #4da3ff;
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* =========================
   HEADER (STICKY)
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.92),
    rgba(2, 6, 23, 0.7)
  );

  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.18);
}

/* =========================
   CONTAINERS
========================= */
.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 32px;
}

/* =========================
   GENERIC SECTIONS
========================= */
.section {
  margin: auto;
  height: calc(100vh - 96px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 2001;
}

.nav-lang-mobile {
  display: none;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  position: relative;

  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.92),
    rgba(2, 6, 23, 0.7)
  );

  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.18);
}

.nav-inner {
  max-width: 1400px;
  margin: auto;
  padding: 16px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-lang-mobile {
  display: none;
}

/* =========================
   LOGO
========================= */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 56px;

  filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.35))
    drop-shadow(0 0 28px rgba(37, 99, 235, 0.15));
}

/* =========================
   NAV LINKS
========================= */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;

  color: var(--text-main);
  text-decoration: none;

  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  padding: 6px 0;
  transition: color 0.2s ease;
}

/* Hover underline = control line */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0;
  height: 2px;

  background: linear-gradient(to right, var(--accent-blue), #38bdf8);

  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
}

/* =========================
   NAV ICONS
========================= */
.nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links i {
  font-size: 14px;
  color: var(--accent-blue);
}

/* =========================
   LANGUAGE DROPDOWN
========================= */
.lang-dropdown {
  position: relative;
  margin-left: 32px;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;

  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.lang-trigger i {
  font-size: 13px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;

  min-width: 160px;
  padding: 8px;

  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 12px;

  display: none;
  flex-direction: column;
  gap: 4px;

  z-index: 200;
}

.lang-menu button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.lang-menu button:hover {
  background: rgba(37, 99, 235, 0.15);
  color: var(--text-main);
}

/* OPEN STATE */
.lang-dropdown.open .lang-menu {
  display: flex;
}

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-menu .fi {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* =========================
   LANGUAGE SWITCHER
========================= */
.lang-switch {
  display: flex;
  gap: 10px;
  margin-left: 32px;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s ease;
}

.lang-switch button:hover {
  color: var(--text-main);
}

.lang-switch button.active {
  color: var(--accent-blue);
}

/* =========================
   CTA (RED = ACTION)
========================= */
.nav-links .cta {
  padding: 10px 22px;

  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #be123c);

  color: #ffffff !important;
  font-weight: 600;

  box-shadow:
    0 0 30px rgba(225, 29, 72, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-links .cta::after {
  display: none;
}

.nav-links .cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 40px rgba(225, 29, 72, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* =========================
   HERO (BASE)
========================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;

  display: flex;
  /* align-items: center; */
  padding-top: 12%;
  justify-content: center;

  /*   overflow: hidden; */
  text-align: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(0.6) contrast(1.1);
  opacity: 0;
  transition: opacity 3.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-video.is-active {
  opacity: 1;
}

.hero-video {
  pointer-events: none;
}

.hero-status {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.45),
    rgba(2, 6, 23, 0.9)
  );

  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;

  max-width: 900px;
  padding: 0 20px;
}

.status {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    rgba(5, 16, 39, 0.5),
    rgba(2, 6, 23, 0.95)
  );
}

.status.online {
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.status.secure {
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.hero h1 {
  max-width: 900px;
  margin: auto;

  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.hero p {
  max-width: 700px;
  margin: 24px auto 0;

  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================
   GENERIC CTA BUTTON
========================= */
.cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 30px;

  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);

  color: #ffffff;
  text-decoration: none;
  font-weight: 600;

  box-shadow: 0 0 30px rgba(37, 99, 235, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 45px rgba(37, 99, 235, 0.6);
}

/* =========================
   ABOUT SECTION
========================= */
.section-about {
  position: relative;
}

.section-about::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;

  background: url("/assets/images/shark.png") no-repeat center;
  background-size: contain;

  opacity: 0.12;
  filter: blur(0.5px);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: start;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.about-lead {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-top: 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--bg-panel);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
}

.about-points i {
  color: var(--accent-blue);
  font-size: 18px;
}

/* STATS */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.18),
    rgba(2, 6, 23, 0.95)
  );
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 20px;
  padding: 32px;
  text-align: center;

  box-shadow: 0 0 0 rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.35);
}

.stat-card strong {
  font-size: 2.2rem;
  color: var(--text-main);
  display: block;
}

.stat-card span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================
   PANELS (CONTROL MODULES)
========================= */
.panel {
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.96),
    rgba(2, 6, 23, 0.88)
  );

  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  padding: 48px;

  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.panel:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.35),
    0 0 45px rgba(37, 99, 235, 0.25);
}

/* =========================
   GPS SECTION
========================= */
.section-gps {
  position: relative;
  /* padding: 80px 0; */
}

.gps-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
}

.gps-lead {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.gps-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* FEATURES */
.gps-features {
  list-style: none;
  padding: 0;
  margin-top: 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gps-features li {
  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--bg-panel);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
}

.gps-features i {
  color: var(--accent-blue);
  font-size: 18px;
}

/* PANEL */
.gps-panel {
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.18),
    rgba(2, 6, 23, 0.95)
  );
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 24px;
  padding: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.gps-panel strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.gps-panel span {
  color: var(--text-muted);
  font-size: 1rem;
}

/* =========================
   IGPS SECTION
========================= */
.section-igps {
  position: relative;
  padding: 120px 0;
}

.igps-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.igps-lead {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.igps-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* FEATURES */
.igps-features {
  list-style: none;
  padding: 0;
  margin-top: 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.igps-features li {
  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--bg-panel);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
}

.igps-features i {
  color: var(--accent-blue);
  font-size: 18px;
}

/* VISUAL */
.igps-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
}

.igps-panel {
  background: var(--igps-bg);
  color: var(--igps-text);

  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--igps-border);

  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.igps-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.igps-logo {
  height: 52px;
}

.igps-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
}

/* =========================
   VIDEO SECTION
========================= */
.section-video {
  position: relative;
  padding: 120px 0;
}

/* GRID: panel a sinistra, contenuto a destra */
.video-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

/* =========================
   PANEL INSPECTORAV (LEFT)
========================= */
.inspector-panel {
  background: var(--igps-bg);
  color: var(--igps-text);

  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--igps-border);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

/* piccolo stacco visivo */
.inspector-panel {
  transform: translateY(24px);
}

.inspector-panel-mobile {
  background: var(--igps-bg);
  color: var(--igps-text);

  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--igps-border);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

/* piccolo stacco visivo */
.inspector-panel-mobile {
  transform: translateY(24px);
}

.inspector-panel-mobile {
  display: none;
}

.inspector-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.inspector-logo {
  height: 52px;
}

.inspector-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
}

/* FEATURES INSPECTOR */
.inspector-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inspector-features li {
  display: flex;
  align-items: center;
  gap: 10px;

  background: var(--igps-panel);
  border: 1px solid var(--igps-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.inspector-features i {
  color: var(--accent-blue);
}

/* VISUAL */
.inspector-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--igps-border);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
}

/* =========================
   VIDEO CONTENT (RIGHT)
========================= */
.video-content {
  padding-top: 32px;
}

.video-lead {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.video-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* FEATURES VIDEO */
.video-features {
  list-style: none;
  padding: 0;
  margin-top: 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.video-features li {
  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--bg-panel);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
}

.video-features i {
  color: var(--accent-blue);
}

/* =========================
   IVPN SECTION
========================= */
.section-ivpn {
  position: relative;
  padding: 120px 0;
}

.ivpn-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
}

.ivpn-lead {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.ivpn-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* FEATURES */
.ivpn-features {
  list-style: none;
  padding: 0;
  margin-top: 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ivpn-features li {
  display: flex;
  align-items: center;
  gap: 12px;

  background: var(--bg-panel);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
}

.ivpn-features i {
  color: var(--accent-blue);
  font-size: 18px;
}

/* VISUAL */
.ivpn-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
}

.ivpn-panel {
  background: var(--ivpn-bg);
  color: var(--ivpn-text);

  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--ivpn-border);

  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.ivpn-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.ivpn-logo {
  height: 52px;
}

.ivpn-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
}

/* =========================
   ARROW FROM SECTIONS
========================= */

.scroll {
  display: flex;
  flex-direction: column;
  gap: 3;
}

.section-scroll-hint-bottom {
  display: flex;
  margin-top: auto;
  margin-inline: auto;
  --y: 0px;

  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  animation: scrollHint 1.8s infinite;
  z-index: 10;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.section-scroll-hint-top {
  display: flex;
  margin-bottom: auto;
  margin-inline: auto;
  --y: 0px;

  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  animation: scrollHintUp 1.8s infinite;
  z-index: 10;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.section-scroll-hint-bottom.is-up {
  animation: scrollHintUp 1.8s infinite;
}

.section-scroll-hint-top.is-down {
  animation: scrollHint 1.8s infinite;
}

.section-scroll-hint-bottom:hover {
  color: #fff;
}

.section-scroll-hint-bottom.hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.section-scroll-hint-top.hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

@keyframes scrollHint {
  0% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 6px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
}

@keyframes scrollHintUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 6px) rotate(180deg);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -6px) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 6px) rotate(180deg);
  }
}

/* =========================
   CONTACTS SECTION
========================= */

.contact-logo {
  width: 130px;
  display: flex;
  margin-inline: auto;
  margin-bottom: 2em;
}

.section-contacts {
  position: relative;
  padding: 120px 0;
  color: var(--text-main);
}

/* sfondo mappa già gestito da section-map-bg */
.section-map-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.85),
    rgba(2, 6, 23, 0.95)
  );
  z-index: 0;
}

.section-contacts .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* eyebrow */
.section-contacts .section-eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* grid */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* =========================
   COMPANY CARD
========================= */
.company-info {
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 520px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.company-info p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.company-info p strong {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 600;
}

/* contatti */
.company-info a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
}

.company-info a:hover {
  text-decoration: underline;
}

/* label */
.company-info span {
  margin-right: 6px;
  color: var(--text-main);
  font-weight: 500;
}

/* =========================
   CONTACTS SECTION
========================= */
.section-contacts {
  position: relative;
  padding: 120px 0;
  color: var(--text-main);
}

/* sfondo mappa già gestito da section-map-bg */
.section-map-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.85),
    rgba(2, 6, 23, 0.95)
  );
  z-index: 0;
}

.section-contacts .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* eyebrow */
.section-contacts .section-eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

/* grid */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* =========================
   COMPANY CARD
========================= */
.company-info {
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 520px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(6px);
}

.company-info p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.company-info p strong {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 600;
}

/* contatti */
.company-info a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
}

.company-info a:hover {
  text-decoration: underline;
}

/* label */
.company-info span {
  margin-right: 6px;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================
   FOOTER
========================== */

.footer {
  background: #0b1320;
  color: #cfd6e1;
  padding: 4rem 1.5rem 1.5rem;
  font-size: 0.95rem;
}

.footer a {
  color: #cfd6e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #4da3ff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.footer-section h3,
.footer-section h4 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand h3 {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.footer-section p {
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section i {
  margin-right: 0.5rem;
  color: #4da3ff;
}

/* =========================
   BACK TO TOP
========================= */

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 300;

  width: 52px;
  height: 52px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.85),
    rgba(29, 78, 216, 0.95)
  );

  color: #ffffff;
  font-size: 18px;
  text-decoration: none;

  box-shadow:
    0 0 30px rgba(37, 99, 235, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(0) scale(1.05);
  box-shadow:
    0 0 45px rgba(37, 99, 235, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* visibile */
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover {
  background: #4da3ff;
  transform: translateY(-2px);
}

.footer-social i {
  color: #ffffff;
  font-size: 0.9rem;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #9aa4b2;
}

/* =========================
   RESPONSIVE – MOBILE
========================= */
@media (max-width: 680px) {
  .container {
    padding: 0;
  }

  /* =========================
     GENERIC SECTIONS
  ========================= */
  .section {
    height: auto;
    min-height: unset;
    padding: 30px 20px;
  }
  .section-about::after {
    display: none;
  }

  /* =========================
     NAVBAR
  ========================= */
  .nav-inner {
    padding: 14px 20px;
  }

  .logo img {
    height: 48px;
  }

  .hamburger {
    display: block;
  }

  .lang-dropdown {
    display: none;
  }

  /* =========================
     MOBILE MENU
  ========================= */
  .nav-links {
    position: fixed;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 14, 22, 0.98),
      rgba(4, 8, 14, 0.98)
    );
    backdrop-filter: blur(16px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 80px 24px 48px;
    gap: 24px;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2000;
    height: 100vh;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* =========================
     LANGUAGE BUTTONS (MOBILE)
  ========================= */
  .nav-lang-mobile {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nav-lang-mobile button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.25s ease;
  }

  .nav-lang-mobile button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
  }

  .section-scroll-hint-bottom,
  .section-scroll-hint-top {
    display: none;
  }
  /* =========================
     HAMBURGER ICON
  ========================= */
  .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: 0.3s ease;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 11px;
  }
  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
  }
  /* =========================
     GRID SECTIONS
  ========================= */
  .about-grid,
  .gps-grid,
  .igps-grid,
  .video-grid,
  .ivpn-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-points,
  .gps-features,
  .igps-features,
  .video-features,
  .inspector-features,
  .ivpn-features {
    grid-template-columns: 1fr;
  }

  .inspector-panel {
    display: none;
  }

  .inspector-panel-mobile {
    display: block;
  }

  .video-content {
    padding-top: 0;
  }

  /* =========================
     HERO
  ========================= */
  .hero {
    padding: 50px 20px 120px;
  }

  /* =========================
     CONTATTI
  ========================= */
  .section-contacts {
    padding: 80px 0;
  }

  .company-info {
    padding: 28px;
  }

  /* =========================
     BACK TO TOP
  ========================= */
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
}
