/* ============================================================
   SILENT MEETING — Design System v2
   Direzione: Luxury Tech / Professional Audio
   Palette: Midnight Navy + Electric Cyan + Ice White
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

/* ── Self-hosted fonts — nessuna dipendenza da Google ── */
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-300italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---- TOKENS ---- */
:root {
  --navy:       #040D1A;
  --navy-mid:   #091525;
  --navy-light: #0F2040;
  --navy-card:  #0A1628;
  --cyan:       #00C6FF;
  --cyan-glow:  rgba(0,198,255,0.18);
  --cyan-dim:   #0099CC;
  --ice:        #F0F4FF;
  --ice-dim:    #B8C8E8;
  --white:      #FFFFFF;
  --text-muted: rgba(176,200,232,0.65);

  --f-display: 'Syne', sans-serif;
  --f-body:    'DM Sans', sans-serif;

  --radius:    6px;
  --radius-lg: 14px;
  --shadow-card: 0 4px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-glow: 0 0 40px rgba(0,198,255,0.25);
  --transition: all 0.32s cubic-bezier(0.22,0.61,0.36,1);
}

/* ---- RESET ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--navy);
  color: var(--ice);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }

/* ---- UTILS ---- */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 36px; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 36px; }
.container-xl { max-width: 1380px; margin: 0 auto; padding: 0 36px; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; }
.display-xl {
  font-family: var(--f-display);
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.display-lg {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.display-md {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.overline {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); font-family: var(--f-display);
}
.body-lg  { font-size: 17px; line-height: 1.75; color: var(--ice-dim); }
.body-md  { font-size: 15px; line-height: 1.72; color: var(--ice-dim); }
.accent   { color: var(--cyan); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px !important;
  display: flex !important; align-items: center !important;
  padding: 0 40px;
  background: rgba(4,13,26,0.7);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.4s ease;
}
.navbar > * { align-self: center !important; }
.navbar.scrolled {
  background: rgba(4,13,26,0.95);
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none;
  align-self: center;
}
.navbar-logo:hover { color: var(--white); }
.navbar-logo:hover span { color: var(--cyan); }
.navbar-logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), #0066AA);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(0,198,255,0.45);
  overflow: hidden;
  padding: 5px;
}
.navbar-logo span { color: var(--cyan); }
.navbar-nav {
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  display: flex; align-items: center;
  list-style: none; gap: 2px;
}
.navbar-nav > li { position: relative !important; display: flex; align-items: center; }
.navbar-nav > li > a {
  display: flex; align-items: center; padding: 0 15px;
  font-family: var(--f-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ice-dim);
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a.active,
.navbar-nav > li.current-menu-item > a,
.navbar-nav > li.current-menu-parent > a,
.navbar-nav > li.current-menu-ancestor > a,
.navbar-nav > li.current-page-ancestor > a { color: var(--white); }
.navbar-nav > li > a.active::after,
.navbar-nav > li.current-menu-item > a::after,
.navbar-nav > li.current-menu-parent > a::after,
.navbar-nav > li.current-menu-ancestor > a::after,
.navbar-nav > li.current-page-ancestor > a::after {
  content: ''; position: absolute; bottom: 0; left: 15px; right: 15px; height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
/* CTA nav */
.navbar-nav > li > a.navbar-cta.active::after,
.navbar-nav > li.current-menu-item > a.navbar-cta::after { display: none; }
.navbar-cta {
  margin-left: 20px;
  padding: 9px 22px !important; height: auto !important; line-height: 1 !important;
  background: var(--cyan) !important; color: var(--navy) !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
  box-shadow: 0 0 20px rgba(0,198,255,0.35) !important;
  align-self: center !important;
}
.navbar-cta:hover { background: white !important; box-shadow: 0 0 30px rgba(0,198,255,0.6) !important; }

/* Dropdown */
.navbar-nav li:hover > .dropdown { opacity:1; pointer-events:all; transform:translateY(0); }
.dropdown {
  opacity: 0; pointer-events: none;
  position: absolute; top: calc(100% + 10px); left: 0; margin-left: 0;
  min-width: 250px;
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 6px 0;
  box-shadow: var(--shadow-card);
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  list-style: none;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 10px;
}
.dropdown li { list-style: none; }
.dropdown li a {
  display: block; padding: 10px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--ice-dim);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: rgba(0,198,255,0.08);
  color: var(--cyan);
}

/* Hamburger mobile */
.hamburger {
  display: none; margin-left: auto;
  background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
/* Nav collassato dinamicamente via JS (ResizeObserver) */
.navbar.nav-collapsed .navbar-nav { display: none !important; }
.navbar.nav-collapsed .hamburger  { display: flex !important; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ice); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  height: calc(100svh - 72px);
  background: var(--navy);
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu__nav {
  display: flex; flex-direction: column;
  padding: 16px 0 40px;
  flex: 1;
}
/* Voci principali */
.mobile-menu__link {
  display: block; padding: 16px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--f-display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ice-dim);
  transition: color 0.2s;
}
.mobile-menu__link:hover { color: var(--white); }
/* Accordion servizi */
.mobile-menu__accordion {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu__trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 36px;
  background: none; border: none; cursor: pointer;
  font-family: var(--f-display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ice-dim);
  transition: color 0.2s;
}
.mobile-menu__trigger:hover,
.mobile-menu__trigger[aria-expanded="true"] { color: var(--cyan); }
.mm-arrow {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.25s ease;
}
.mobile-menu__trigger[aria-expanded="true"] .mm-arrow { transform: rotate(180deg); }
.mobile-menu__sub {
  padding: 4px 0 8px;
  background: rgba(0,0,0,0.2);
}
.mobile-menu__sub a {
  display: block; padding: 12px 36px 12px 52px;
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  color: var(--ice-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.mobile-menu__sub a:hover { color: var(--cyan); }
/* CTA */
.mobile-menu__cta {
  display: block; margin: 24px 36px 0;
  padding: 14px 24px; text-align: center;
  background: var(--cyan); color: var(--navy);
  border-radius: var(--radius);
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0,198,255,0.35);
  transition: var(--transition);
}
.mobile-menu__cta:hover { background: white; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  border: 1px solid transparent;
  box-shadow: 0 0 24px rgba(0,198,255,0.4);
}
.btn-primary:hover {
  background: white;
  box-shadow: 0 0 40px rgba(0,198,255,0.6);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--ice);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,198,255,0.06);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--ice);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--cyan); }
.btn-lg { padding: 18px 40px; font-size: 13px; }
.btn svg { width:16px; height:16px; flex-shrink:0; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: block; /* non flex — evita che il container venga centrato */
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: opacity 1s ease;
  /* Il bg parte da 0 e va sotto la navbar trasparente — effetto corretto */
}
@media (max-width: 1024px) {
  .hero-bg {
    background-position: center right;
  }
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(4,13,26,0.92) 40%, rgba(4,13,26,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 72px; /* offset navbar fixed */
}
/* Con admin bar WP (loggato): aggiungi 32px */
.admin-bar .hero-content {
  padding-top: calc(72px + 32px);
}
@media (max-width: 782px) {
  .admin-bar .hero-content {
    padding-top: calc(72px + 46px);
  }
}
/* Container hero — identico al .container delle sezioni, niente flex extra */
.hero-container {
  position: relative;
  z-index: 2;
  /* padding: 0 36px già da .container — il testo parte da qui, uguale alle altre sezioni */
}
/* Wrapper contenuto */
.hero-inner {
  max-width: 700px;
  padding-top: calc(72px + 40px); /* navbar + respiro minimo */
  padding-bottom: 60px;
}
.admin-bar .hero-inner {
  padding-top: calc(72px + 32px + 40px);
}
@media (max-width: 782px) {
  .hero-inner {
    padding-top: calc(72px + 30px);
  }
  .admin-bar .hero-inner {
    padding-top: calc(72px + 46px + 30px);
  }
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); font-family: var(--f-display);
  margin-bottom: 16px;
}
.hero-kicker::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--cyan);
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 800; letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--white); margin-bottom: 24px;
}
.hero-title .word-cyan { color: var(--cyan); }
.hero-title-line { display: block; }
.hero-title-line.word-cyan { color: var(--cyan); }
.hero-title .word-outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.35);
  color: transparent;
}
.hero-sub {
  font-size: 17px; font-weight: 300;
  color: var(--ice-dim); max-width: 520px;
  line-height: 1.7; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--f-display);
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  color: var(--white); letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat-num span { color: var(--cyan); }
.hero-stat-label {
  font-size: clamp(10px, 1.2vw, 12px); font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.05em;
  margin-top: 4px;
}
/* Slide indicators */
.hero-indicators {
  position: absolute; bottom: 40px; right: 60px;
  display: flex; flex-direction: column; gap: 8px; z-index: 3;
}
.hero-ind {
  width: 3px; height: 24px; border-radius: 2px;
  background: rgba(255,255,255,0.2); cursor: pointer;
  transition: var(--transition);
}
.hero-ind.active { background: var(--cyan); height: 40px; box-shadow: 0 0 8px var(--cyan); }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.4; z-index: 3;
}
.scroll-cue-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:0.4; transform: scaleY(1); }
  50% { opacity:1; transform: scaleY(0.8); }
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  margin-top: 72px; position: relative;
  height: 380px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.7) brightness(0.5);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-img { transform: scale(1.04); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, rgba(4,13,26,0.4) 60%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 50px 36px;
  width: 100%; max-width: 1160px; margin: 0 auto;
}
.breadcrumb {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--cyan); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb::before { content:''; width:20px; height:1px; background:var(--cyan); }

/* ---- SECTIONS ---- */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-xs { padding: 50px 0; }
.section-dark  { background: var(--navy); }
.section-card  { background: var(--navy-mid); }
.section-accent { background: var(--navy-light); }

/* Diagonal clip */
.section-clip-top {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px; padding-top: 160px;
}
.section-clip-both {
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding: 160px 0;
}

/* ---- SECTION HEADER ---- */
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head .overline { margin-bottom: 16px; display: block; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--text-muted); max-width: 560px; }
.section-head.center p { margin: 0 auto; }

/* ---- CARD ---- */
.card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: rgba(0,198,255,0.2); box-shadow: 0 8px 40px rgba(0,0,0,0.4), var(--shadow-glow); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

/* ---- SERVICE CARD ---- */
.service-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,198,255,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(0,198,255,0.1); }
.service-card-img {
  width: 100%; height: 210px;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.75) brightness(0.9);
}
.service-card:hover .service-card-img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.service-card-body { padding: 28px; }
.service-card-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px; font-family: var(--f-display);
}
.service-card-title {
  font-family: var(--f-display); font-size: 19px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.service-card-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); transition: gap 0.2s;
}
.service-card-link:hover { gap: 12px; color: var(--white); }
.service-card-link svg { width:14px; height:14px; }

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.product-card:hover { border-color: rgba(0,198,255,0.25); transform: translateY(-4px); box-shadow: var(--shadow-card), var(--shadow-glow); }
.product-card-img { height: 140px; margin: 0 auto 20px; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(0,198,255,0.15)); transition: filter 0.3s; }
.product-card:hover .product-card-img { filter: drop-shadow(0 4px 30px rgba(0,198,255,0.4)); }
.product-card-name { font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.product-card-sub { font-size: 12px; color: var(--cyan); font-weight: 500; }
.product-card--light .product-card-sub { color: #0077a3; }

/* ---- FEATURE BLOCK ---- */
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,198,255,0.18), rgba(0,198,255,0.06));
  border: 1px solid rgba(0,198,255,0.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
  box-shadow: 0 2px 12px rgba(0,198,255,0.15);
}
.feature-icon img { width: 26px; height: 26px; object-fit: contain; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-title { font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ---- STAT COUNTER ---- */
.stat-block { text-align: center; padding: 20px; }
.stat-num {
  font-family: var(--f-display); font-size: clamp(48px, 6vw, 72px);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--white); line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(0,120,180,0.2) 100%);
  border-top: 1px solid rgba(0,198,255,0.15);
  border-bottom: 1px solid rgba(0,198,255,0.15);
  padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,198,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; }
.cta-band p { color: var(--ice-dim); margin-bottom: 36px; }

/* ---- IMAGE BANNER ---- */
.img-banner {
  width: 100%; height: 420px;
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  margin: 48px 0;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.img-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(4,13,26,0.7) 100%);
}

/* ---- CONTENT PAGE ---- */
.content-article h1 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 20px;
}
.content-article h4 {
  font-size: 18px; font-weight: 300; font-family: var(--f-body);
  color: var(--ice-dim); line-height: 1.7; margin-bottom: 30px;
  border-left: 3px solid var(--cyan); padding-left: 20px;
}
.content-article h5 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan);
  margin: 36px 0 16px; font-family: var(--f-display);
}
.content-article p { color: var(--ice-dim); margin-bottom: 16px; }
.content-article ul { margin: 0 0 24px 0; padding: 0; list-style: none; }
.content-article ul li {
  display: flex; gap: 12px; color: var(--ice-dim);
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}
.content-article ul li::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); margin-top: 8px; flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan);
}

/* ---- CHARACTERISTICS BOX ---- */
.char-box {
  background: rgba(0,198,255,0.05);
  border: 1px solid rgba(0,198,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px; margin: 40px 0;
}
.char-box-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 20px; font-family: var(--f-display);
}
.char-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.char-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  font-size: 13px; color: var(--ice-dim);
}
.char-item::before {
  content: '✓'; color: var(--cyan);
  font-weight: 700; font-size: 13px; flex-shrink: 0;
  margin-top: 1px;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}
.faq-q {
  font-family: var(--f-display); font-size: 17px; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 16px;
}
.faq-q-num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(0,198,255,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--cyan);
}
.faq-a { color: var(--ice-dim); font-size: 15px; padding-left: 46px; }

/* ---- FORM ---- */
.form-section {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-grid     { display: grid; gap: 16px; grid-template-columns: repeat(3,1fr); }
.form-grid-2   { display: grid; gap: 16px; grid-template-columns: repeat(2,1fr); }
.form-grid-4   { display: grid; gap: 16px; grid-template-columns: repeat(4,1fr); }
.form-full     { grid-column: 1/-1; }
.form-group    { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ice-dim); font-family: var(--f-display);
}
.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 13px 16px; border-radius: var(--radius);
  font-family: var(--f-body); font-size: 14px;
  outline: none; transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-control:focus {
  border-color: var(--cyan);
  background: rgba(0,198,255,0.05);
}
.form-control::placeholder { color: rgba(176,200,232,0.3); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control option { background: var(--navy-mid); }

/* ---- GRID LAYOUTS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }

/* ---- CONTACT LAYOUT ---- */
.contact-info h2 { font-size: 34px; font-weight: 800; margin-bottom: 8px; color: var(--white); }
.contact-info .sub { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 30px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.contact-detail-icon svg { width:18px; height:18px; }
.contact-detail-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 3px; }
.contact-detail-value { font-size: 15px; color: var(--ice); }
.contact-detail-value a { color: var(--cyan); }

/* ---- FOOTER ---- */
footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.footer-brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), #0066AA);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: white;
}
.footer-brand-name { font-family: var(--f-display); font-size: 18px; font-weight: 800; color: var(--white); }
.footer-brand-name span { color: var(--cyan); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ice-dim);
  transition: var(--transition);
}
.footer-social a svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-social a:hover { background: rgba(0,198,255,0.1); color: var(--cyan); border-color: rgba(0,198,255,0.3); }
.footer-col h4 { font-family: var(--f-display); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice-dim); margin-bottom: 24px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--cyan); text-decoration: underline; }

/* ---- SCROLL REVEAL ---- */
/* Reveal — gestito interamente da Web Animations API in main.js */
/* Perspective per rotateX delle service card */
.grid-3 { perspective: 1000px; }

/* ---- NUMBER DECO ---- */
.num-deco {
  font-family: var(--f-display);
  font-size: 200px; font-weight: 900;
  letter-spacing: -0.05em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,198,255,0.08);
  position: absolute; pointer-events: none; user-select: none;
}

/* ---- DIVIDER ---- */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  margin: 20px 0;
  border-radius: 2px;
}
.divider.center { margin: 20px auto; }

/* ---- HIGHLIGHT BAR ---- */
.highlight-bar {
  background: linear-gradient(90deg, rgba(0,198,255,0.08), rgba(0,198,255,0.02));
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px; color: var(--ice-dim);
}

/* ---- AVADA NOTES ---- */
/* Le classi .section, .card, .btn-primary sono pensate per
   coesistenza con Fusion Builder. In Avada usare "Custom CSS"
   nel row/column oppure sfruttare i layout custom di Avada. */

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .btn-split-cta { display: flex !important; width: 100% !important; justify-content: center; box-sizing: border-box; }
  .section-clip-top, .section-clip-both { clip-path: none; padding-top: 80px; margin-top: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .char-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid-4 { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(40px, 11vw, 72px); }
  .hero-indicators { right: 20px; bottom: 80px; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { display: flex !important; width: 100% !important; box-sizing: border-box !important; justify-content: center; }
}

/* ============================================================
   WORDPRESS / GENERATEPRESS OVERRIDES
   Resets necessari per coesistenza con GP child theme.
   Questi stili si applicano SOLO sulle pagine con classe
   .sm-custom-template (aggiunta via functions.php).
   ============================================================ */

/* Azzera struttura GP — noi gestiamo tutto nel template */
.sm-custom-template #page,
.sm-custom-template #content,
.sm-custom-template .site-content,
.sm-custom-template .content-area,
.sm-custom-template .inside-article,
.sm-custom-template .entry-content,
.sm-custom-template .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Rimuovi padding GP sul <main> */
.sm-custom-template main#main,
.sm-custom-template main.site-main {
  padding-top: 0 !important;
}

/* Rimuovi separatori e bordi GP che appaiono tra le sezioni */
.sm-custom-template .entry-header,
.sm-custom-template .entry-footer,
.sm-custom-template .post-navigation,
.sm-custom-template .comments-area {
  display: none !important;
}

/* Assicura che il body abbia il colore di sfondo corretto
   anche prima che le sezioni siano caricate */
.sm-custom-template {
  background: var(--navy) !important;
}

/* GP Premium: rimuovi eventuali sticky sidebar */
.sm-custom-template .sidebar-primary,
.sm-custom-template #sidebar {
  display: none !important;
}

/* Neutralizza margini automatici di WP sul .wp-block-* 
   (se accidentalmente viene eseguito il parser di Gutenberg) */
.sm-custom-template .wp-block-group,
.sm-custom-template .wp-block-columns {
  margin: 0 !important;
  padding: 0 !important;
}

/* Admin bar offset — la navbar fissa scende di 32px quando l'utente è loggato */
.admin-bar .navbar {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .navbar {
    top: 46px;
  }
}
/* Hero e page-hero NON usano margin-top — l'offset è gestito
   da padding-top sul contenuto interno (vedi .hero-content sopra) */


/* ---- WP ACCESSIBILITY (manteniamo visibilità skip-link) ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 8px;
}

/* ── Hero animate (CSS keyframe, niente JS) ── */
@keyframes smHeroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
  opacity: 0;
  animation: smHeroIn 0.7s ease forwards;
}

/* ── Reveal — visibile quando JS aggiunge .visible ── */
/* Override: assicura che .visible mostri l'elemento */
/* reveal.visible gestito da Web Animations API */

/* ============================================================
   LIGHT SECTIONS — B2B off-white theme
   Usate su: Perché noi, Prodotti, Stats
   Base: #f4f8fc · Card: #ffffff · Testo: #0c1a2e · Muted: #4a6080
   ============================================================ */

:root {
  --light-bg:      #eef4fb;
  --light-card:    #ffffff;
  --light-text:    #0c1a2e;
  --light-muted:   #3a5570;
  --light-border:  rgba(14,165,233,0.22);
  --light-shadow:  0 4px 24px rgba(12,26,46,0.10), 0 0 0 1px rgba(14,165,233,0.12);
}

/* ── Sfondo sezione ── */
.section-light {
  background: var(--light-bg);
}

/* ── Tipografia su light ── */
.display-md--dark {
  color: var(--light-text);
}
.text--muted-dark {
  color: var(--light-muted);
}

/* ── Overline su light — colore scuro per contrasto WCAG AA ── */
.section-light .overline {
  color: #0077a3;
}

/* ── Divider su light ── */
.section-light .divider {
  background: linear-gradient(90deg, var(--cyan), rgba(14,165,233,0.15));
}

/* ── section-head paragraph su light ── */
.section-light .section-head p {
  color: var(--light-muted);
}
.section-light .accent {
  color: #0077a3;
}

/* ── Feature card light ── */
.feature-card--light {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--light-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card--light::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(14,165,233,0.3));
  opacity: 1;
  transition: opacity 0.3s;
}
.feature-card--light:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(12,26,46,0.14), 0 0 0 1px rgba(14,165,233,0.3);
  border-color: rgba(14,165,233,0.35);
}
.feature-card--light:hover::before {
  background: linear-gradient(90deg, var(--cyan), rgba(14,165,233,0.6));
}
.feature-title--dark {
  color: var(--light-text);
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-text--dark {
  color: var(--light-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Product card light ── */
.product-card--light {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow);
  position: relative;
  overflow: hidden;
}
.product-card--light::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(14,165,233,0.3));
}
.product-card--light:hover {
  border-color: rgba(14,165,233,0.35);
  box-shadow: 0 20px 56px rgba(12,26,46,0.14), 0 0 0 1px rgba(14,165,233,0.3);
  transform: translateY(-6px);
}
.product-card-name--dark {
  color: var(--light-text);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.product-card--light .product-card-img {
  filter: drop-shadow(0 4px 16px rgba(0,198,255,0.12));
}
.product-card--light:hover .product-card-img {
  filter: drop-shadow(0 4px 28px rgba(0,198,255,0.28));
}
  color: var(--light-text);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ── Btn outline su sfondo chiaro ── */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  background: transparent;
  border: 1.5px solid rgba(12,26,46,0.25);
  color: var(--light-text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,198,255,0.05);
  transform: translateY(-2px);
}
.btn-outline-dark.btn-lg {
  padding: 18px 40px;
  font-size: 13px;
}

/* ── Stat block light ── */
.stat-block--light {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--light-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-block--light::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(14,165,233,0.3));
}
.stat-block--light:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(12,26,46,0.14), 0 0 0 1px rgba(14,165,233,0.3);
}
.stat-num--dark {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--light-text) 40%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-num--dark span { }
.stat-label--dark {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-top: 8px;
}

/* ── Separatore visivo tra sezioni dark/light ── */
.section-light + .section-dark,
.section-dark + .section-light {
  /* nessun margin aggiuntivo — le sezioni si toccano netto */
}

/* ============================================================
   TEMPLATE SERVIZIO
   ============================================================ */

/* ── Page Hero ── */
.page-hero {
  position: relative;
  height: clamp(220px, 28vw, 340px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-img { transform: scale(1); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(4,13,26,0.55) 0%,
    rgba(4,13,26,0.65) 50%,
    rgba(4,13,26,0.95) 85%,
    rgba(4,13,26,1) 100%);
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 0 0 56px;
  width: 100%; max-width: 1160px;
  margin: 0 auto;
  padding-left: 36px; padding-right: 36px;
  padding-bottom: 56px;
}
.page-hero-content .display-lg { margin-top: 8px; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb a + a::before,
.breadcrumb a + span::before { content: ''; }

/* ── Content Article ── */
.content-article h1,
.content-article h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 20px;
  line-height: 1.15;
}
.content-article h4 {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600; color: var(--ice-dim);
  line-height: 1.6; margin-bottom: 20px;
  font-family: var(--f-body);
}
.content-article p,
.content-article .body-md {
  color: var(--ice-dim); line-height: 1.8;
  margin-bottom: 20px;
}
.content-article .img-banner {
  width: 100%; height: clamp(220px, 35vw, 440px);
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  overflow: hidden;
}
.content-article .img-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Char Box ── */
.char-box {
  background: rgba(0,198,255,0.06);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}
.char-box-title {
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.char-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px; color: var(--ice-dim); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 10px;
}
.char-item::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); flex-shrink: 0;
  margin-top: 6px;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(0,198,255,0.3);
  box-shadow: 0 0 24px rgba(0,198,255,0.08), inset 0 0 20px rgba(0,198,255,0.03);
}
.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  border-color: rgba(0,198,255,0.4);
  box-shadow: 0 0 32px rgba(0,198,255,0.12), inset 0 0 30px rgba(0,198,255,0.04);
}
.faq-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 20px 24px;
  background: transparent !important; border: none; cursor: pointer;
  font-family: var(--f-display); font-size: 15px; font-weight: 600;
  color: var(--ice); text-align: left; gap: 16px;
  transition: color 0.2s;
  -webkit-appearance: none;
}
.faq-trigger:hover,
.faq-trigger[aria-expanded="true"] { color: var(--cyan); }
.faq-arrow {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-trigger[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq-answer p {
  font-size: 14px; color: var(--ice-dim); line-height: 1.8;
  margin-top: 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-hero-content { padding-left: 20px; padding-right: 20px; padding-bottom: 40px; }
  .char-grid { grid-template-columns: 1fr; }
  .faq-trigger { font-size: 14px; padding: 16px 18px; justify-content: flex-start; text-align: left; }
  .faq-item--numbered .faq-trigger { align-items: flex-start; }
  .faq-num { margin-top: 2px; }
  .faq-arrow { margin-left: auto; flex-shrink: 0; }
  .faq-answer { padding: 0 18px 16px; }
}

/* ── FAQ numerata (pagina FAQ globale) ── */
.faq-item--numbered .faq-trigger { gap: 14px; }
.faq-num {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0,198,255,0.12);
  border: 1px solid rgba(0,198,255,0.3);
  font-family: var(--f-display); font-size: 12px; font-weight: 700;
  color: var(--cyan);
}

/* ============================================================
   TEMPLATE CONTATTI
   ============================================================ */
.contact-sub {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,198,255,0.08);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 14px; color: var(--ice-dim); line-height: 1.6;
}
.contact-detail-value a {
  color: var(--ice-dim); transition: color 0.2s;
}
.contact-detail-value a:hover { color: var(--cyan); }

/* Form wrap */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-title {
  font-family: var(--f-display); font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 13px; color: var(--text-muted); margin-bottom: 28px;
}
.contact-form-body { }

@media (max-width: 768px) {
  .contact-form-wrap { padding: 24px; }
}

/* ============================================================
   PLUGIN FORM — .fss-contact-submit
   ============================================================ */
.fss-contact-submit {
  width: 100% !important;
  background: var(--cyan) !important;
  border: none !important;
  color: var(--navy) !important;
  font-family: var(--f-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 16px 24px !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  box-shadow: 0 3px 8px rgba(0,198,255,0.35) !important;
  transition: transform .15s, box-shadow .15s !important;
}
.fss-contact-submit:hover {
  background: white !important;
  box-shadow: 0 0 30px rgba(0,198,255,0.6) !important;
  transform: translateY(-1px) !important;
}
.fss-contact-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0,198,255,0.3) !important;
}

.fss-c-field input:focus,
.fss-c-field select:focus,
.fss-c-field textarea:focus {
  outline: none !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(0,198,255,0.12) !important;
}

.fss-privacy-text a {
  color: var(--cyan) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s !important;
}
.fss-privacy-text a:hover {
  color: var(--cyan) !important;
  text-decoration: underline !important;
}

/* ── PLUGIN FORM QUOTE — stesse regole del form contact ── */
.fss-quote-submit {
  width: 100% !important;
  background: var(--cyan) !important;
  border: none !important;
  color: var(--navy) !important;
  font-family: var(--f-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 16px 24px !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  box-shadow: 0 3px 8px rgba(0,198,255,0.35) !important;
  transition: transform .15s, box-shadow .15s !important;
}
.fss-quote-submit:hover {
  background: white !important;
  box-shadow: 0 0 30px rgba(0,198,255,0.6) !important;
  transform: translateY(-1px) !important;
}
.fss-quote-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0,198,255,0.3) !important;
}
.fss-q-field input:focus,
.fss-q-field select:focus,
.fss-q-field textarea:focus {
  outline: none !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(0,198,255,0.12) !important;
}
.fss-privacy-text-quote a {
  color: var(--cyan) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s !important;
}
.fss-privacy-text-quote a:hover {
  color: white !important;
}

.fss-privacy-checkbox {
  accent-color: var(--cyan) !important;
}
.fss-privacy-checkbox:checked {
  background-color: var(--cyan) !important;
  border-color: var(--cyan) !important;
  accent-color: var(--cyan) !important;
}

/* ── Performance: composite animations ── */
.reveal,
.feature-card,
.service-card,
.product-card,
.hero-content,
.faq-item {
  will-change: transform, opacity;
}
.reveal.visible {
  will-change: auto;
}

/* ============================================================
   TEMPLATE LEGALE
   ============================================================ */
.page-hero--minimal {
  min-height: 160px !important;
  padding: 60px 0 24px !important;
}
.page-hero--minimal + .section {
  padding-top: 40px !important;
}

.legal-content {
  color: var(--ice-dim);
  font-size: 15px;
  line-height: 1.8;
}
.legal-content h2 {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-content h3 {
  font-family: var(--f-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--ice);
  margin: 32px 0 12px;
}
.legal-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ice);
  margin: 24px 0 8px;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 24px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--cyan);
  transition: color 0.2s;
}
.legal-content a:hover {
  color: white;
}
.legal-content strong {
  color: var(--white);
  font-weight: 600;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.legal-content table th {
  background: rgba(0,198,255,0.08);
  color: var(--cyan);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
}
.legal-content table td {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.legal-content table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* ============================================================
   COMPLIANZ — Cookie Banner aligned to Silent Meeting design
   ============================================================ */

/* Container */
.cmplz-cookiebanner {
  background: var(--navy) !important;
  border: 1px solid rgba(0,198,255,0.2) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6) !important;
  font-family: var(--f-body) !important;
  color: var(--ice-dim) !important;
}

/* Logo */
.cmplz-cookiebanner .cmplz-logo {
  display: none !important;
}

/* Title */
.cmplz-cookiebanner .cmplz-title {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  font-size: 18px !important;
}

/* Close icon */
.cmplz-cookiebanner .cmplz-close {
  color: var(--text-muted) !important;
  transition: color 0.2s !important;
}
.cmplz-cookiebanner .cmplz-close:hover {
  color: var(--cyan) !important;
}

/* Message */
.cmplz-cookiebanner .cmplz-message {
  color: var(--ice-dim) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* All buttons base */
.cmplz-buttons .cmplz-btn {
  font-family: var(--f-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* Accept button */
.cmplz-buttons .cmplz-btn.cmplz-accept {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  box-shadow: 0 3px 12px rgba(0,198,255,0.35) !important;
}
.cmplz-buttons .cmplz-btn.cmplz-accept:hover {
  background: white !important;
  box-shadow: 0 0 24px rgba(0,198,255,0.5) !important;
  transform: translateY(-1px) !important;
}

/* Deny button */
.cmplz-buttons .cmplz-btn.cmplz-deny {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}
.cmplz-buttons .cmplz-btn.cmplz-deny:hover {
  border-color: rgba(0,198,255,0.3) !important;
  color: var(--ice) !important;
}

/* Save preferences button */
.cmplz-buttons .cmplz-btn.cmplz-save-preferences {
  background: transparent !important;
  color: var(--cyan) !important;
  border: 1px solid rgba(0,198,255,0.3) !important;
}
.cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover {
  background: rgba(0,198,255,0.08) !important;
  border-color: var(--cyan) !important;
}

/* View preferences button */
.cmplz-buttons .cmplz-btn.cmplz-view-preferences {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  font-weight: 500 !important;
}
.cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover {
  color: var(--ice) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

/* Document hyperlinks */
.cmplz-links .cmplz-documents a {
  color: var(--cyan) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.cmplz-links .cmplz-documents a:hover {
  color: white !important;
  text-decoration: underline !important;
}

/* Categories */
.cmplz-cookiebanner .cmplz-category {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: var(--radius) !important;
}
.cmplz-cookiebanner .cmplz-category-title {
  font-family: var(--f-display) !important;
  font-weight: 600 !important;
  color: var(--ice) !important;
  font-size: 14px !important;
}

/* Toggle switches categorie */
.cmplz-cookiebanner input[type="checkbox"] {
  accent-color: var(--cyan) !important;
}

/* Manage consent tab */
#cmplz-manage-consent .cmplz-manage-consent {
  background: var(--navy) !important;
  color: var(--cyan) !important;
  border: 1px solid rgba(0,198,255,0.3) !important;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  font-family: var(--f-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
#cmplz-manage-consent .cmplz-manage-consent:hover {
  background: rgba(0,198,255,0.08) !important;
}

/* Soft cookie wall */
.cmplz-soft-cookiewall {
  background: var(--navy) !important;
  border: 1px solid rgba(0,198,255,0.2) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--ice-dim) !important;
}

/* Placeholder blocked content */
.cmplz-blocked-content-container .cmplz-blocked-content-notice {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: var(--radius) !important;
  color: var(--text-muted) !important;
  font-size: 14px !important;
}

/* Accept service button */
button.cmplz-accept-service {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
button.cmplz-accept-service:hover {
  background: white !important;
}

/* AMP notice */
#cmplz-consent-ui,
#cmplz-post-consent-ui {
  background: var(--navy) !important;
  border: 1px solid rgba(0,198,255,0.2) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--ice-dim) !important;
  font-family: var(--f-body) !important;
}
#cmplz-consent-ui .cmplz-consent-message {
  color: var(--ice-dim) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
#cmplz-consent-ui button,
#cmplz-post-consent-ui button {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
#cmplz-consent-ui button:hover,
#cmplz-post-consent-ui button:hover {
  background: white !important;
}
