/* ============================================================
   URBAN SECURITY INVESTIGATION ITALIA — Design System v3
   ============================================================ */

:root {
  /* Brand */
  --ink: #0a1128;
  --navy-950: #0d1530;
  --navy-900: #121d3f;
  --navy-800: #182550;
  --navy-700: #223370;
  --navy-100: #e6e9f4;
  --accent: #f1930a;
  --accent-dark: #d97e00;
  --accent-soft: rgba(241, 147, 10, .12);
  --red: #c1272d;
  --green: #1f9d5b;

  /* Neutrals */
  --white: #ffffff;
  --surface: #f6f7fb;
  --surface-2: #eef0f8;
  --line: #e2e5f0;
  --line-dark: rgba(255, 255, 255, .1);
  --text: #232a45;
  --muted: #5a6178;
  --muted-dark: #a9b2d0;

  /* Type */
  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Misc */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px rgba(10, 17, 40, .1);
  --shadow-sm: 0 6px 18px rgba(10, 17, 40, .07);
  --shadow-accent: 0 10px 28px rgba(241, 147, 10, .32);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.05em; color: var(--muted); }
strong { color: var(--text); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 26px; }
section { padding: 92px 0; }
:target { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Dark sections */
.dark { background: var(--ink); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark p { color: var(--muted-dark); }
.dark strong { color: #dfe4f5; }

/* ---------- Kicker / section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::after { content: ""; width: 34px; height: 2px; background: var(--accent); }
.section-head .lede { font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 15px 30px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #241500; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: #ffa41f; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-outline-dark { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline-dark:hover { background: var(--navy-700); color: var(--white); }
.btn-ghost {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--navy-700); display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  background: linear-gradient(180deg, rgba(10, 17, 40, .82), rgba(10, 17, 40, .45) 70%, transparent);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 17, 40, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(5, 9, 24, .35);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 50px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b {
  font-family: var(--font-head); font-size: .98rem; font-weight: 700;
  color: var(--white); letter-spacing: .04em;
}
.brand-name span {
  font-size: .64rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted-dark);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-head); font-size: .88rem; font-weight: 500;
  color: rgba(255, 255, 255, .85);
  padding: 10px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-nav a.nav-link:hover, .main-nav > li.open > a.nav-link { color: var(--white); background: rgba(255, 255, 255, .07); }
.main-nav a.nav-link.active { color: var(--accent); }
.main-nav a.nav-link .caret { width: 10px; height: 10px; opacity: .7; transition: transform .2s; }
.main-nav > li.open .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(10, 17, 40, .25);
  padding: 10px;
  opacity: 0; visibility: hidden; transition: all .22s ease;
}
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--white); border-radius: 2px;
}
.main-nav > li.open .dropdown, .main-nav > li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 8px;
  transition: background .15s;
}
.dropdown a:hover { background: var(--surface); }
.dropdown b {
  display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  color: var(--ink);
}
.dropdown span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--white);
}
.header-phone svg { width: 15px; height: 15px; color: var(--accent); }
.header-phone small { display: block; font-size: .62rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); line-height: 1.2; }
.btn-header { padding: 11px 22px; font-size: .85rem; }

/* Burger */
.burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink);
  padding: 24px 26px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .32s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a.mnav-link {
  display: block; padding: 15px 4px;
  font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a.mnav-sub { display: block; padding: 11px 4px 11px 22px; font-size: .95rem; color: var(--muted-dark); border-bottom: 1px solid rgba(255,255,255,.05); }
.mobile-nav .mnav-group { font-family: var(--font-head); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); padding: 22px 4px 8px; }
.mobile-nav .btn { margin-top: 26px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding: calc(var(--header-h) + 84px) 0 96px;
  color: var(--white);
}
.hero.hero-home { min-height: 92vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .38;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 17, 40, .96) 30%, rgba(10, 17, 40, .55) 65%, rgba(10, 17, 40, .8)),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, black 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  color: #ffd9a1;
  background: rgba(241, 147, 10, .13);
  border: 1px solid rgba(241, 147, 10, .35);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(31, 157, 91, .6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(31, 157, 91, .55); }
  70% { box-shadow: 0 0 0 9px rgba(31, 157, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 91, 0); }
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 1.16rem; color: #c3cae2; max-width: 590px; margin-bottom: 36px; }
.hero strong, .page-hero strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

/* Hero stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-stats > div { background: rgba(13, 21, 48, .72); padding: 22px 24px; }
.hero-stats b {
  display: block; font-family: var(--font-head); font-size: 1.65rem; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.hero-stats b i { font-style: normal; color: var(--accent); }
.hero-stats span { font-size: .8rem; color: var(--muted-dark); letter-spacing: .04em; }

/* Page hero (interne) */
.page-hero { padding: calc(var(--header-h) + 72px) 0 76px; }
.page-hero .breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .8rem; color: var(--muted-dark); margin-bottom: 24px;
}
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .sep { opacity: .4; }
.page-hero .breadcrumb .current { color: var(--accent); }
.page-hero .lede { font-size: 1.14rem; color: #c3cae2; max-width: 720px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; right: -34px; bottom: -40px;
  width: 150px; height: 170px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2547' stroke-width='.8'%3E%3Cpath d='M12 22s8-3.5 8-10V5.5L12 2 4 5.5V12c0 6.5 8 10 8 10z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .05; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: .1; transform: rotate(-8deg) scale(1.05); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-dark);
  margin-bottom: 22px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .95rem; margin-bottom: 0; }
.card .btn-ghost { margin-top: 18px; font-size: .88rem; }

/* Dark tech cards */
.tech-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  position: relative; overflow: hidden;
}
.tech-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.tech-card::before {
  content: ""; position: absolute; right: -20px; top: -20px;
  width: 130px; height: 130px; border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 38%, rgba(241, 147, 10, .07) 39% 41%, transparent 42%),
    radial-gradient(circle at center, transparent 58%, rgba(241, 147, 10, .05) 59% 61%, transparent 62%),
    radial-gradient(circle at center, rgba(241, 147, 10, .06), transparent 65%);
  pointer-events: none;
}
.tech-card:hover { transform: translateY(-5px); border-color: rgba(241, 147, 10, .4); }
.tech-card:hover::after { opacity: 1; }
.tech-card .icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(241, 147, 10, .13); color: var(--accent);
  margin-bottom: 20px;
}
.tech-card .icon svg { width: 26px; height: 26px; }
.tech-card h3 { color: var(--white); font-size: 1.08rem; }
.tech-card p { font-size: .9rem; margin: 0; }

/* Photo cards (settori) */
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 400px; display: flex; align-items: flex-end;
  color: var(--white);
}
.photo-card img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.photo-card:hover img.bg { transform: scale(1.06); }
.photo-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 17, 40, .93) 8%, rgba(10, 17, 40, .35) 55%, rgba(10, 17, 40, .18));
  transition: background .3s;
}
.photo-card .body { position: relative; z-index: 2; padding: 30px 28px; width: 100%; }
.photo-card .tag {
  display: inline-block; font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.photo-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .35em; }
.photo-card p { color: #c9cfe6; font-size: .92rem; margin-bottom: 14px; }
.photo-card .btn-ghost { color: var(--white); font-size: .88rem; }
.photo-card .btn-ghost svg { color: var(--accent); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .visual { position: relative; }
.split .visual img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.visual-frame { position: relative; }
.visual-frame::before {
  content: ""; position: absolute; inset: 26px -26px -26px 26px;
  border: 2px solid var(--accent-soft); border-radius: var(--radius); z-index: -1;
  background: repeating-linear-gradient(45deg, var(--accent-soft) 0 2px, transparent 2px 12px);
  opacity: .6;
}
.float-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
}
.float-badge .icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.float-badge .icon svg { width: 24px; height: 24px; }
.float-badge b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); line-height: 1.25; }
.float-badge span { font-size: .78rem; color: var(--muted); }

/* Checklist */
.checklist li {
  position: relative; padding-left: 36px; margin-bottom: 14px;
  color: var(--muted); font-size: .98rem;
}
.checklist li b { color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97e00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.dark .checklist li { color: var(--muted-dark); }
.dark .checklist li b { color: #e8ecf9; }

/* ---------- Centrale Operativa / radar ---------- */
.radar-wrap {
  position: relative; width: min(430px, 88vw); aspect-ratio: 1; margin: 0 auto;
}
.radar {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 64%, rgba(241, 147, 10, .06) 65%),
    repeating-radial-gradient(circle at center, transparent 0 24.4%, rgba(255, 255, 255, .09) 24.7% 25%),
    linear-gradient(0deg, transparent 49.7%, rgba(255, 255, 255, .07) 50% 50.3%, transparent 50.6%),
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, .07) 50% 50.3%, transparent 50.6%),
    radial-gradient(circle, rgba(24, 37, 80, .92), rgba(13, 21, 48, .98));
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}
.radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(241, 147, 10, .5), transparent 24%);
  animation: radar-sweep 4.6s linear infinite;
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: blip 4.6s infinite;
}
@keyframes blip {
  0%, 12% { opacity: 0; transform: scale(.4); }
  16%, 55% { opacity: 1; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(.5); }
}
.radar-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(241, 147, 10, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; z-index: 2;
  box-shadow: 0 0 0 12px rgba(241, 147, 10, .07), 0 0 40px rgba(241, 147, 10, .25);
}
.radar-core b { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); line-height: 1; }
.radar-core span { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }

/* Feature rows (co features) */
.feature-row { display: flex; gap: 18px; margin-bottom: 26px; }
.feature-row .icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: rgba(241, 147, 10, .12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.feature-row .icon svg { width: 24px; height: 24px; }
.feature-row h4 { color: var(--white); margin-bottom: .25em; font-size: 1.04rem; }
.feature-row p { font-size: .93rem; margin: 0; }

/* ---------- Metodo timeline ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  counter-increment: step; position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  display: block; line-height: 1; margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: .93rem; margin: 0; }

/* Vertical process (pagina metodo) */
.process { position: relative; max-width: 860px; margin: 0 auto; }
.process::before {
  content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--line) 85%);
}
.process-item { position: relative; padding: 0 0 52px 118px; }
.process-item:last-child { padding-bottom: 0; }
.process-num {
  position: absolute; left: 0; top: 0;
  width: 80px; height: 80px; border-radius: 22px;
  background: var(--ink); color: var(--accent);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); z-index: 2;
}
.process-item h3 { margin-bottom: .35em; }
.process-item .duration {
  display: inline-block; font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 13px;
  margin-bottom: 12px;
}
.process-item p { max-width: 640px; }

/* ---------- Quote / manifesto ---------- */
.manifesto {
  position: relative;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-950));
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 58px 60px; overflow: hidden;
}
.manifesto::before {
  content: "\201C"; position: absolute; top: -40px; left: 26px;
  font-family: Georgia, serif; font-size: 13rem; color: rgba(241, 147, 10, .15); line-height: 1;
}
.manifesto blockquote {
  margin: 0; position: relative; z-index: 1;
  font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500; line-height: 1.5; color: var(--white);
}
.manifesto blockquote em { font-style: normal; color: var(--accent); }
.manifesto figcaption { margin-top: 22px; font-size: .9rem; color: var(--muted-dark); }

/* ---------- Certificazioni ---------- */
.cert-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.cert-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: #dfe4f5;
  transition: border-color .2s, background .2s;
}
.cert-chip:hover { border-color: rgba(241, 147, 10, .5); background: rgba(241, 147, 10, .07); }
.cert-chip svg { width: 17px; height: 17px; color: var(--accent); }
.cert-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.cert-card::before {
  content: ""; position: absolute; right: -28px; bottom: -34px;
  width: 140px; height: 140px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97e00' stroke-width='.7'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9 14.5 8 22l4-2.5L16 22l-1-7.5'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .07; pointer-events: none;
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-card .cert-code {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .06em; color: var(--accent-dark);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 8px; margin-bottom: 18px;
}
.cert-card h3 { font-size: 1.14rem; }
.cert-card p { font-size: .93rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: rgba(241, 147, 10, .45); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--ink);
  padding: 22px 26px;
}
.faq-q .faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .3s, color .3s;
}
.faq-q .faq-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #241500; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 26px 24px; }
.faq-a p { font-size: .96rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 147, 10, .17), transparent 65%);
  top: -300px; right: -160px; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { font-size: 1.1rem; }
.cta-inner .hero-actions { justify-content: center; margin-bottom: 0; margin-top: 34px; }

/* ---------- Tables ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table th, .info-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.info-table th { font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--surface); }
.info-table td { color: var(--muted); }
.info-table td b { color: var(--text); }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-cards .ccard {
  display: flex; gap: 18px; padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 16px; transition: box-shadow .2s, transform .2s;
}
.contact-cards .ccard:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ccard .icon {
  width: 50px; height: 50px; flex: none; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.ccard .icon svg { width: 24px; height: 24px; }
.ccard h4 { margin-bottom: 2px; }
.ccard p { font-size: .9rem; margin: 0; }
.ccard a.big { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy-700); }
.ccard a.big:hover { color: var(--accent-dark); }

.form-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 44px 42px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--ink); }
.form-field label i { font-style: normal; color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(241, 147, 10, .13);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); }
.form-consent input { margin-top: 4px; accent-color: var(--accent); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: .92rem; }
.form-status.ok { display: block; background: #e5f6ec; color: #146b3d; }
.form-status.err { display: block; background: #fdecec; color: #a02222; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-dark); font-size: .92rem; }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px;
  padding: 76px 0 56px;
}
.footer-main h4 {
  color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-main a { display: block; padding: 5px 0; color: var(--muted-dark); transition: color .2s; }
.footer-main a:hover { color: var(--accent); }
.footer-brand img { height: 62px; margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; color: var(--muted-dark); max-width: 300px; }
.footer-contact li { display: flex; gap: 12px; padding: 6px 0; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-certs span {
  font-size: .68rem; font-weight: 600; letter-spacing: .05em;
  border: 1px solid var(--line-dark); border-radius: 6px; padding: 4px 10px;
}
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-dark); padding: 0;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.footer-social a:hover { color: var(--accent); border-color: rgba(241, 147, 10, .5); background: rgba(241, 147, 10, .08); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0; font-size: .8rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom a { color: var(--muted-dark); } .footer-bottom a:hover { color: var(--accent); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(18, 140, 76, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(18, 140, 76, .55); }
.wa-float .wa-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; visibility: visible; }
@media (max-width: 620px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float .wa-tooltip { display: none; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 200; left: 20px; right: 20px; bottom: 20px;
  display: flex; justify-content: center;
  animation: cookie-in .45s ease;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px); } }
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 920px; width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(10, 17, 40, .35);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 28px;
}
.cookie-text b { font-family: var(--font-head); color: var(--ink); display: block; margin-bottom: 4px; }
.cookie-text p { font-size: .85rem; margin: 0; }
.cookie-text a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; flex-direction: column; }
.btn-sm { padding: 11px 22px; font-size: .85rem; }
@media (max-width: 720px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { flex-direction: row; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar::before, .radar-dot, .hero-badge .dot { animation: none; }
}

/* ---------- Utility ---------- */
.surface { background: var(--surface); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.note-box {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 26px; font-size: .93rem; color: var(--text);
}
.note-box p { margin: 0; color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split { gap: 46px; }
  .header-phone { display: none; }
}
@media (max-width: 900px) {
  .main-nav, .btn-header { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split .visual { order: -1; }
  .visual-frame::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero.hero-home { min-height: 0; }
  section { padding: 68px 0; }
  .manifesto { padding: 44px 30px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn { width: 100%; }
  .process::before { left: 27px; }
  .process-num { width: 56px; height: 56px; border-radius: 16px; font-size: 1.15rem; }
  .process-item { padding-left: 84px; padding-bottom: 40px; }
  .brand-name span { display: none; }
  .form-panel { padding: 32px 24px; }
  .float-badge { left: 12px; bottom: -18px; padding: 14px 18px; }
  .photo-card { min-height: 340px; }
}
