/* Caratteri ospitati sul sito (nessun collegamento a Google Fonts) */
@font-face { font-family: "Saira"; src: url("fonts/saira.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Layout: colonna centrale 1180px, sezioni bianche separate da filetti sottili, blu aziendale solo per azioni e dati chiave */
:root {
  --bg: #ffffff;
  --tint: #f2f5fa;
  --ink: #0d1a2c;
  --muted: #586579;
  --line: #dde3ec;
  --blue: #0a4da6;
  --blue-deep: #083a7d;
  --blue-soft: #e6eef9;
  --display: "Saira", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--display); font-stretch: 104%; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; font-stretch: 100%; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-weight: 700;
}

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 7px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.05rem; font-stretch: 100%;
}
.brand-name { font-family: var(--display); font-weight: 750; font-stretch: 100%; font-size: 1.05rem; letter-spacing: 0.01em; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; font-stretch: 100%; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-size: 0.93rem; font-weight: 500; color: var(--muted);
  padding: 8px 12px; border-radius: 6px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--blue); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; padding: 12px 20px; border-radius: 8px;
  border: 1.5px solid var(--blue); transition: background .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-ghost { color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue-soft); }
.nav .btn { padding: 9px 16px; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--blue-deep); color: #fff; }
.arrow { transition: transform .15s; }
.btn:hover .arrow, .more:hover .arrow { transform: translateX(3px); }

@media (max-width: 860px) {
  .site-header .wrap { padding-block: 10px; gap: 6px; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -8px; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section + section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 720px; }
.tint { background: var(--tint); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy h1 span { color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.plate {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  background: var(--bg);
  box-shadow: 8px 8px 0 var(--blue-soft);
  min-width: 0;
}
.plate-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1.5px solid var(--ink); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }
.plate-head b { color: var(--blue); font-weight: 500; }
.plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.plate dt, .plate dd { padding: 11px 18px; border-bottom: 1px dashed var(--line); margin: 0; }
.plate dt { color: var(--muted); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.08em; padding-right: 8px; align-self: center; }
.plate dd { text-align: right; font-weight: 500; }
.plate dl > :nth-last-child(-n+2) { border-bottom: 0; }
.plate-foot { padding: 10px 18px; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 32px 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar .tag { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; }
.pillar p { color: var(--muted); }
.more { display: inline-flex; gap: 6px; align-items: center; color: var(--blue); font-weight: 600; text-decoration: none; margin-top: 4px; }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

/* E-commerce band */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.shop-copy { display: grid; gap: 18px; min-width: 0; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.features li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.features li:first-child { border-top: 1px solid var(--line); }
.features .ico { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.features strong { display: block; font-weight: 600; }
.features span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 820px) { .shop { grid-template-columns: 1fr; } }

/* Brand marquee */
.brands { overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track { display: flex; gap: 14px; width: max-content; animation: scroll 80s linear infinite; }
.brands-track.reverse { animation-direction: reverse; animation-duration: 90s; margin-top: 14px; }
.brands:hover .brands-track { animation-play-state: paused; }
.chip {
  font-family: var(--display); font-stretch: 100%; font-weight: 650; font-size: 1.05rem;
  padding: 16px 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); white-space: nowrap; color: var(--ink);
}
@keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; flex-wrap: wrap; width: auto; }
  .brands-track [aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
}

/* Sites */
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.site-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 10px; align-content: start; background: var(--bg); min-width: 0; }
.site-card .city { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.site-card address { font-style: normal; color: var(--muted); }
@media (max-width: 720px) { .sites { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: var(--blue-deep) url("img/luci-wide.jpg") center / cover no-repeat; color: #fff; position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,72,0.92) 0%, rgba(6,32,72,0.7) 55%, rgba(6,32,72,0.35) 100%); }
.cta .wrap { position: relative; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: rgba(255,255,255,0.8); margin-top: 10px; max-width: 52ch; }
.cta .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
.cta .btn-primary:hover { background: var(--blue-soft); }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Page header (inner pages) */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); background: var(--tint); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 16px; }
.crumbs { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline .year { font-family: var(--display); font-stretch: 100%; font-weight: 750; font-size: 1.9rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.timeline .body { display: grid; gap: 8px; max-width: 64ch; min-width: 0; }
.timeline .body p { color: var(--muted); }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 10px; } }

/* Generic card grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: grid; gap: 10px; align-content: start; background: var(--bg); min-width: 0; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .code { font-family: var(--mono); font-size: 0.72rem; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; }

/* Equipment */
.cat { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-block: 40px; border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; padding-top: 0; }
.cat-head { display: grid; gap: 10px; align-content: start; min-width: 0; }
.cat-head p { color: var(--muted); font-size: 0.95rem; }
.models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; min-width: 0; }
.models li { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: grid; gap: 4px; }
.models b { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; }
.models span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
@media (max-width: 820px) { .cat { grid-template-columns: 1fr; gap: 20px; } }

/* Courses */
.course { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.course:first-child { border-top: 1px solid var(--line); }
.course div { display: grid; gap: 6px; min-width: 0; }
.course p { color: var(--muted); max-width: 68ch; }
.course .more { white-space: nowrap; }
@media (max-width: 640px) { .course { grid-template-columns: 1fr; gap: 10px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > * { min-width: 0; }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose p { color: var(--muted); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.note { border-left: 3px solid var(--blue); padding: 14px 18px; background: var(--blue-soft); border-radius: 0 8px 8px 0; font-size: 0.95rem; }
.select { user-select: all; font-family: var(--mono); font-size: 0.92rem; }

/* Brand index */
.brand-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.brand-index li { list-style: none; border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; font-family: var(--display); font-stretch: 100%; font-weight: 650; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.brand-index li span { font-family: var(--mono); font-weight: 400; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-stretch: 100%; }
.brand-index { padding: 0; margin: 0; }

/* Contacts */
.contact-list { display: grid; gap: 0; }
.contact-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:first-child { border-top: 1px solid var(--line); }
.contact-row dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-row dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.contact-row a { color: var(--blue); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2df; padding-block: 56px 28px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.site-footer h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8796ab; margin: 0 0 14px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e8edf4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #8796ab; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #24344b; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8796ab; font-size: 0.82rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Logo */
.brand img { height: 46px; width: auto; }
.foot-logo { width: 220px; height: auto; }
@media (max-width: 860px) { .brand img { height: 38px; } }

/* Photos */
.photo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.photo img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.photo.wide { margin-top: 40px; }
.photo.wide img { aspect-ratio: 16 / 7; object-position: center 40%; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.stat { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.stat b { font-family: var(--display); font-stretch: 100%; font-weight: 750; font-size: 2rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.9rem; line-height: 1.35; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { display: grid; gap: 4px; min-width: 0; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 10px; background: var(--tint); }
.person b { font-family: var(--display); font-stretch: 100%; font-weight: 650; font-size: 1.05rem; }
.person span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* Site card with photo */
.site-card.has-photo { padding: 0; overflow: hidden; gap: 0; }
.site-card.has-photo > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.site-body { padding: 28px; display: grid; gap: 10px; }

.group-logos { display: grid; place-items: center; padding: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.group-logos { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.group-logos img { width: 100%; max-width: 220px; height: auto; justify-self: center; }
@media (max-width: 480px) { .group-logos { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }
@media (max-width: 820px) { .sticky { position: static; } }

/* Brand logos */
.chip.logo { width: 176px; height: 88px; padding: 14px 20px; display: grid; place-items: center; flex: none; background: #fff; }
.chip.logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.brand-index li { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 14px; padding: 18px; }
.logo-box { height: 80px; display: grid; place-items: center; background: #fff; }
.logo-box img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.logo-text { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.brand-index li .logo-name { font-family: var(--mono); font-weight: 400; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; border-top: 1px solid var(--line); padding-top: 10px; }

/* Photo backgrounds in transparency */
.photo-bg { position: relative; color: #fff; background: #072550 var(--bg-img) center / cover no-repeat; border-top: 0; isolation: isolate; }
.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,28,64,0.94) 0%, rgba(6,36,82,0.82) 50%, rgba(8,50,110,0.55) 100%); }
.photo-bg + section { border-top: 0; }
.photo-bg h1, .photo-bg h2, .photo-bg h3 { color: #fff; }
.photo-bg .eyebrow { color: #8cc0ff; }
.photo-bg .lead, .photo-bg .prose p, .photo-bg .features span { color: rgba(255,255,255,0.78); }
.photo-bg .crumbs, .photo-bg .crumbs a { color: rgba(255,255,255,0.65); }
.photo-bg .crumbs a:hover { color: #fff; }
.photo-bg .features li { border-color: rgba(255,255,255,0.18); }
.photo-bg .features .ico { background: rgba(255,255,255,0.12); color: #fff; }
.photo-bg .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
.photo-bg .btn-primary:hover { background: var(--blue-soft); }
.photo-bg .group-logos { border: 0; }
.page-head.photo-bg { border-bottom: 0; }

/* Hero on photo */
.hero.photo-bg { padding-block: clamp(64px, 9vw, 128px); }
.hero.photo-bg::before { background: linear-gradient(100deg, rgba(4,22,52,0.92) 0%, rgba(5,30,70,0.7) 45%, rgba(6,40,90,0.12) 100%); }
.hero.photo-bg { background-position: 70% calc(40% + var(--py, 0px)); }
@media (min-width: 901px) { .hero .facts { align-self: end; margin-top: 140px; } }
.hero.photo-bg h1 span { color: #8cc0ff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.kicker { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-weight: 600; font-size: 0.9rem; color: #fff;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #f39200; box-shadow: 0 0 0 4px rgba(243,146,0,0.25); }

/* Facts card */
.facts { min-width: 0; border-radius: 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,10,30,0.35); overflow: hidden; }
.facts-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.facts-head img { width: 40px; height: 40px; background: #fff; border-radius: 10px; padding: 5px; }
.facts-head b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.facts-head span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fact { padding: 22px; display: grid; gap: 6px; align-content: start; }
.fact:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.16); }
.fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.16); }
.fact b { font-family: var(--display); font-weight: 750; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.fact sup { font-size: 0.55em; color: #f39200; margin-left: 2px; }
.fact span { font-size: 0.86rem; color: rgba(255,255,255,0.75); line-height: 1.35; }
.facts-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: rgba(0,0,0,0.18); font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); }

.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230a4da6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Scroll effects */
.photo-bg, .cta { background-position: center calc(50% + var(--py, 0px)); }
html .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); will-change: opacity, transform; }
html .rv.in { opacity: 1; transform: none; }
.rv-zoom img { transform: scale(1.08); transition: transform 1.2s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.rv-zoom.in img { transform: none; }
.photo, .site-card.has-photo { overflow: hidden; }
.photo { border-radius: 10px; }
.photo figcaption { padding-top: 2px; }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.facts { animation: rise .9s cubic-bezier(.2,.7,.2,1) .35s both; }
.fact b { transition: transform .3s; }
.fact:hover b { transform: translateX(3px); }
.chip.logo { transition: transform .25s, box-shadow .25s, border-color .25s; }
.chip.logo:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 10px 24px rgba(10,77,166,0.12); }
.brand-index li, .card, .site-card, .models li { transition: transform .25s, box-shadow .25s, border-color .25s; }
.brand-index li:hover, .card:hover, .models li:hover { transform: translateY(-3px); border-color: #b9cbe6; box-shadow: 0 12px 28px rgba(13,26,44,0.08); }
.rv.in:hover { transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .facts { animation: none; }
  html .rv { opacity: 1; transform: none; }
}

/* Glass header over the photo */
body::before { background: #061c40; }
.site-header {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px);
  background: rgba(8, 30, 66, 0.22);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header .logo-dark { display: none; }
.site-header .nav a { color: rgba(255,255,255,0.82); }
.site-header .nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-header .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #f39200; border-radius: 0; }
.site-header .nav .btn { background: #fff; color: var(--blue); border-color: #fff; }
.site-header .nav .btn:hover { background: var(--blue-soft); color: var(--blue); }

.site-header.scrolled { background: rgba(255,255,255,0.8); border-bottom-color: rgba(13,26,44,0.08); box-shadow: 0 6px 24px rgba(13,26,44,0.06); }
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .nav a { color: var(--muted); }
.site-header.scrolled .nav a:hover { color: var(--ink); background: var(--tint); }
.site-header.scrolled .nav a[aria-current="page"] { color: var(--blue); }
.site-header.scrolled .nav .btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.site-header.scrolled .nav .btn:hover { background: var(--blue-deep); color: #fff; }

/* Room for the fixed header above the first section */
:root { --hh: 74px; }
@media (max-width: 860px) { :root { --hh: 108px; } }
.hero.photo-bg { padding-top: calc(var(--hh) + clamp(48px, 7vw, 104px)); }
.page-head.photo-bg { padding-top: calc(var(--hh) + clamp(36px, 6vw, 72px)); }

/* Hero slideshow */
.hero.slideshow { background: #061c40; }
.slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slide { position: absolute; inset: -40px 0; background: center / cover no-repeat; opacity: 0; transform: translateY(var(--py, 0px)) scale(1.04); transition: opacity 1.6s ease, transform 8s linear; }
.slide.on { opacity: 1; transform: translateY(var(--py, 0px)) scale(1.12); }
.slide:first-child { background-position: 50% 78%; }
@media (max-width: 900px) { .slide:first-child { background-position: 72% 80%; } }
.slide-dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 1; }
.slide-dots button { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,0.35); cursor: pointer; transition: background .3s, width .3s; }
.slide-dots button[aria-current="true"] { background: #fff; width: 44px; }
@media (prefers-reduced-motion: reduce) { .slide { transition: opacity .4s; transform: none !important; } }

/* Warehouse card */
.stock-card { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--bg); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(13,26,44,0.25); }
.stock-photo { margin: 0; position: relative; min-height: 460px; overflow: hidden; }
.stock-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.stock-card:hover .stock-photo img { transform: scale(1.04); }
.stock-photo figcaption { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(6,28,64,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-weight: 600; font-size: 0.88rem; }
.stock-photo .badge { background: #fff; color: var(--blue); border-radius: 999px; padding: 3px 10px; font-size: 0.75rem; font-weight: 700; }
.stock-body { padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: center; min-width: 0; }
.stock-body p { color: var(--muted); }
.stock-body .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .stock-card { grid-template-columns: 1fr; } .stock-photo { min-height: 0; aspect-ratio: 4 / 3; } }

/* Orange accents */
:root { --orange: #f39200; }
h2.accent { color: var(--orange) !important; }
.cta h2.accent { color: #ffa733 !important; }

/* Warehouse slideshow inside the card */
.stock-slides img { opacity: 0; transition: opacity 1.4s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.stock-slides img.on { opacity: 1; }

/* Map */
.map { position: relative; aspect-ratio: 16 / 10; background: var(--tint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-preview { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 24px; text-decoration: none; color: var(--ink);
  background: linear-gradient(135deg, #e7eef8 25%, transparent 25%) 0 0 / 28px 28px, linear-gradient(225deg, #e7eef8 25%, transparent 25%) 0 0 / 28px 28px, var(--tint); }
.map-preview span:last-child { color: var(--muted); font-size: 0.85rem; max-width: 30ch; }
.map-preview .pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: #e3342f; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0,0,0,0.2); margin-bottom: 6px; }

/* Azienda: Vesuvio visibile a destra */
.page-head.bg-vesuvio { background-position: 72% calc(38% + var(--py, 0px)); }
.page-head.bg-vesuvio::before { background: linear-gradient(100deg, rgba(4,22,52,0.92) 0%, rgba(5,30,70,0.72) 45%, rgba(6,40,90,0.15) 100%); }

/* Card with photo on the right */
.stock-card.reverse { grid-template-columns: 1fr 1.25fr; }
.stock-card.reverse .stock-photo { order: 2; }
@media (max-width: 860px) { .stock-card.reverse { grid-template-columns: 1fr; } .stock-card.reverse .stock-photo { order: 0; } }

/* Course list in two columns */
.course-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.course-list .course:nth-child(2) { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .course-list { grid-template-columns: 1fr; } .course-list .course:nth-child(2) { border-top: 0; } }

/* Milestones */
.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: m; }
.milestones::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 80%, var(--orange) 100%); opacity: .35; }
.milestones li { position: relative; padding-top: 44px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.milestones .dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 4px solid var(--blue); box-shadow: 0 0 0 6px var(--bg); }
.milestones .now .dot { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 6px var(--bg), 0 0 0 10px rgba(243,146,0,.25); }
.milestones li > :not(.dot) { position: relative; }
.milestones .year { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.milestones .now .year { color: var(--orange); }
.milestones h3 { font-size: 1.05rem; }
.milestones p { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.milestones li { transition: transform .25s; }
.milestones li:hover { transform: translateY(-4px); }
@media (max-width: 900px) {
  .milestones { grid-template-columns: 1fr; gap: 0; }
  .milestones::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 80%, var(--orange) 100%); }
  .milestones li { padding: 0 0 32px 48px; }
  .milestones .dot { top: 6px; }
}

/* Footer visuals */
.site-footer { background: radial-gradient(1200px 400px at 85% -10%, rgba(10,77,166,0.35), transparent 60%), var(--ink); border-top: 3px solid var(--orange); }
.foot-brand p { margin-top: 18px; max-width: 34ch; }
.foot-partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.foot-partners img { height: 34px; width: auto; background: #fff; border-radius: 6px; padding: 6px 9px; object-fit: contain; }
.site-footer h4 { display: flex; align-items: center; gap: 10px; }
.h4i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(243,146,0,0.14); color: var(--orange); }
.h4i .fi { width: 16px; height: 16px; }
.foot-list { gap: 12px !important; }
.foot-list li, .foot-list a { display: flex; align-items: center; gap: 10px; }
.foot-list .fi { flex: none; color: #8cc0ff; opacity: .9; transition: transform .2s, color .2s; }
.foot-list a:hover .fi { color: var(--orange); transform: translateX(2px); }
.foot-list a:hover { text-decoration: none; }
.foot-list a:hover span { text-decoration: underline; }
.foot-list .muted { color: #8796ab; font-size: .85rem; }
.foot-map { display: inline-block; margin-top: 12px; color: var(--orange) !important; font-weight: 600; font-size: .88rem; }
.site-card.has-photo > img { height: auto; }
.foot-partners img { height: 30px; padding: 5px 8px; }

/* E-commerce buttons in orange (all states, all backgrounds) */
.btn.btn-ecom, .site-header .nav .btn.btn-ecom, .site-header.scrolled .nav .btn.btn-ecom, .photo-bg .btn.btn-ecom, .cta .btn.btn-ecom {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
.btn.btn-ecom:hover, .site-header .nav .btn.btn-ecom:hover, .site-header.scrolled .nav .btn.btn-ecom:hover, .photo-bg .btn.btn-ecom:hover, .cta .btn.btn-ecom:hover {
  background: #d97f00; border-color: #d97f00; color: #fff;
}

/* Larger header */
.site-header .wrap { min-height: 92px; }
.brand img { height: 58px; }
.nav a { font-size: 1rem; padding: 10px 14px; }
.nav .btn { padding: 11px 20px; font-size: 1rem; }
@media (max-width: 860px) { .brand img { height: 46px; } .nav a { font-size: .95rem; } }
@media (min-width: 861px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 16px; }
  .nav { flex-wrap: nowrap; gap: 2px; }
  .nav a { padding: 10px 11px; white-space: nowrap; }
  .nav .btn { margin-left: 10px; }
}
@media (min-width: 861px) and (max-width: 1140px) {
  .brand img { height: 48px; }
  .nav a { font-size: .9rem; padding: 8px 8px; }
  .nav .btn { padding: 9px 14px; font-size: .9rem; }
}

/* Live pulsing dot */
.kicker .dot { position: relative; }
.kicker .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #f39200; animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { 0% { transform: scale(1); opacity: .75; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kicker .dot::after { animation: none; } }

/* Team icon in facts card */
.ff-team { display: inline-flex; align-items: center; gap: 7px; }
.ff-team svg { color: #f39200; }

/* ===== Attrezzature ===== */
.eq-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip-f { display: inline-flex; align-items: center; gap: 8px; font: 600 .92rem var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-f svg { color: var(--blue); }
.chip-f:hover { border-color: var(--blue); }
.chip-f.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-f.on svg { color: #fff; }
.eq-cat { padding-block: 8px 48px; }
.eq-cat[hidden] { display: none !important; }
.eq-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.eq-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.eq-head p { color: var(--muted); font-size: .95rem; margin-top: 4px; max-width: 70ch; }
.eq-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #0b2f6b); box-shadow: 0 10px 22px -10px rgba(10,77,166,.6); }
.eq-count { font-size: .8rem; font-weight: 700; color: var(--orange); background: rgba(243,146,0,.1); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.eq-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.eq-card:hover { transform: translateY(-4px); border-color: #b9cbe6; box-shadow: 0 16px 34px -18px rgba(13,26,44,.35); }
.eq-pic { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, #eaf1fb 55%, #dbe7f7 100%); display: grid; place-items: center; overflow: hidden; }
.eq-pic img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s; }
.eq-card:hover .eq-pic img { transform: scale(1.05); }
.eq-ph { color: var(--blue); opacity: .45; transition: transform .4s, opacity .3s; }
.eq-card:hover .eq-ph { transform: scale(1.08); opacity: .7; }
.eq-brand { position: absolute; top: 10px; left: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.eq-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.eq-body h3 { font-size: 1.05rem; }
.eq-body p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 640px) { .eq-head { grid-template-columns: auto 1fr; } .eq-count { grid-column: 2; justify-self: start; } }

/* Demo / contact card */
.demo-card { margin-top: 24px; border-radius: 20px; padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; color: #fff;
  background: radial-gradient(500px 240px at 100% 0%, rgba(243,146,0,.28), transparent 70%), linear-gradient(135deg, #0a4da6 0%, #072b63 100%); box-shadow: 0 30px 60px -30px rgba(7,43,99,.6); }
.demo-copy { display: flex; gap: 18px; align-items: flex-start; }
.demo-ico { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--orange); }
.demo-card h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.demo-card p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 52ch; }
.demo-contacts { display: grid; gap: 12px; min-width: 0; }
.demo-btn { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 14px 18px; transition: background .2s, transform .2s; min-width: 0; }
.demo-btn:hover { background: rgba(255,255,255,.18); transform: translateX(3px); }
.demo-btn svg { flex: none; color: var(--orange); }
.demo-btn span { display: grid; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; min-width: 0; }
.demo-btn small { font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 820px) { .demo-card { grid-template-columns: 1fr; } }

/* Milestones live dot */
.milestones .now .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--orange); animation: livepulse 1.8s ease-out infinite; z-index: -1; }
@media (prefers-reduced-motion: reduce) { .milestones .now .dot::after { animation: none; } }
.eq-pic.has-img { background: #fff; border-bottom: 1px solid var(--line); }
.eq-pic.has-img img { object-fit: contain; padding: 6px; }
.demo-card h2 { color: var(--orange); }

/* Formazione */
.stock-body .lead-card { font-size: 1.12rem; line-height: 1.65; color: var(--muted); }
.course { grid-template-columns: 1fr !important; }
.course-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); }
.course-cta p { font-weight: 600; font-size: 1.05rem; }

/* ===== Network ===== */
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.net-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; min-width: 0; }
.net-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(13,26,44,.35); }
.net-logo { height: 170px; display: grid; place-items: center; padding: 28px; background: #fff; border-bottom: 1px solid var(--line); }
.net-logo img { max-height: 110px; max-width: 85%; width: auto; height: auto; object-fit: contain; transition: transform .35s; }
.net-card:hover .net-logo img { transform: scale(1.05); }
.net-body { padding: 24px 24px 26px; display: grid; gap: 10px; align-content: start; }
.net-tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: rgba(243,146,0,.1); border-radius: 999px; padding: 5px 11px; }
.net-body h3 { font-size: 1.3rem; }
.net-body p { color: var(--muted); font-size: .95rem; }
.net-list { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.net-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; font-weight: 500; }
.net-list svg { flex: none; margin-top: 3px; color: #fff; background: var(--blue); border-radius: 50%; padding: 2px; width: 18px; height: 18px; }
@media (max-width: 900px) { .net-grid { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: var(--bg); border-radius: 18px; padding: 28px; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.step-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #0b2f6b); }
.step-n { position: absolute; top: 22px; right: 26px; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--blue-soft); line-height: 1; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.btn.btn-net { background: var(--orange); border-color: var(--orange); color: #fff; justify-self: start; font-size: 1.05rem; padding: 14px 26px; }
.btn.btn-net:hover { background: #d97f00; border-color: #d97f00; }

/* Contact icons */
.contact-row { grid-template-columns: 170px 1fr; align-items: center; }
.contact-row dt { display: flex; align-items: center; gap: 12px; padding-top: 0; }
.ct-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ct-ico .fi { width: 18px; height: 18px; }
@media (max-width: 520px) { .contact-row { grid-template-columns: 1fr; gap: 8px; } }
.demo-contacts:has(.btn-net) { justify-items: end; }
.btn.btn-net { justify-self: end; }
@media (max-width: 820px) { .demo-contacts:has(.btn-net) { justify-items: start; } .btn.btn-net { justify-self: start; } }

/* Larger text in info cards */
.stock-body.big h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.stock-body.big p { font-size: 1.15rem; line-height: 1.65; }
.stock-body.big .ticks li { font-size: 1.08rem; }

/* Logo story panel */
.stock-photo.logo-story { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(24px, 4vw, 44px); background: radial-gradient(420px 260px at 90% 0%, rgba(243,146,0,.18), transparent 70%), linear-gradient(160deg, #0a4da6, #072b63); }
.ls-head { display: grid; gap: 4px; }
.ls-head .eyebrow { color: #8cc0ff; }
.ls-sub { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.ls-list { list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 16px; position: relative; }
.ls-list::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(180deg, rgba(255,255,255,.25), var(--orange)); }
.ls-list li { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; }
.ls-list li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #072b63; border: 3px solid #8cc0ff; }
.ls-list li.now::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(243,146,0,.25); }
.ls-year { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: #8cc0ff; }
.ls-list li.now .ls-year { color: var(--orange); }
.ls-logo { background: #fff; border-radius: 12px; padding: 14px 18px; height: 78px; display: grid; place-items: center; box-shadow: 0 12px 26px -16px rgba(0,0,0,.6); transition: transform .3s; }
.ls-list li:hover .ls-logo { transform: translateX(4px); }
.ls-logo img { max-height: 50px; max-width: 100%; width: auto; height: auto; object-fit: contain; position: static !important; }
.ls-list li.now .ls-logo { height: 92px; outline: 2px solid var(--orange); outline-offset: 3px; }
.ls-list li.now .ls-logo img { max-height: 62px; }
@media (max-width: 860px) { .stock-photo.logo-story { aspect-ratio: auto !important; } }

/* Logo story v2 */
.stock-photo.logo-story { gap: 28px; padding: clamp(24px, 3.5vw, 40px); }
.ls-sub { font-size: 1.5rem; }
.ls-list { padding: 0; gap: 20px; }
.ls-list::before { left: 10px; top: 0; bottom: 0; margin-block: 45px; width: 2px; }
.ls-list li { grid-template-columns: 22px 62px 1fr; gap: 12px; }
.ls-list li::before { content: none; }
.ls-dot { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #072b63; border: 3px solid #8cc0ff; z-index: 1; }
.ls-list li.now .ls-dot { background: var(--orange); border-color: var(--orange); }
.ls-list li.now .ls-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--orange); animation: livepulse 1.8s ease-out infinite; z-index: -1; }
.ls-year { font-size: 1.15rem; }
.ls-logo { height: 96px; padding: 16px 22px; }
.ls-logo img { max-height: 62px; }
.ls-list li.now .ls-logo { height: 112px; }
.ls-list li.now .ls-logo img { max-height: 76px; }
@media (prefers-reduced-motion: reduce) { .ls-list li.now .ls-dot::after { animation: none; } }
.ls-list li { grid-template-columns: 22px 78px 1fr; }
.ls-year { line-height: 1.15; }

/* Opening hours */
.hours { margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; background: var(--bg); }
.hours-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hours-head h3 { font-size: 1.15rem; margin-right: auto; }
.open-now { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-now.is-open { color: #1e8e3e; background: rgba(30,142,62,.1); }
.open-now.is-closed { color: #c5221f; background: rgba(197,34,31,.08); }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: 11px 0; border-top: 1px solid var(--line); text-align: left; font-size: .98rem; }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { text-align: right; color: var(--muted); }
.hours-table .sep { margin: 0 8px; color: var(--line); }
.hours-table tr.closed td { color: #c5221f; font-weight: 600; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--blue); font-weight: 700; }
.hours-table tr.today th::after { content: " · oggi"; font-weight: 500; color: var(--orange); font-size: .85rem; }
@media (max-width: 480px) { .hours-table td .sep { display: block; height: 0; overflow: hidden; } }

/* ===== Mobile menu ===== */
.m-toggle, .m-ecom, .m-panel { display: none; }
@media (max-width: 1000px) {
  .site-header .nav { display: none; }
  .site-header .wrap { flex-wrap: nowrap; min-height: 68px; padding-block: 8px; gap: 10px; }
  .brand { margin-right: auto; }
  .brand img { height: 40px; }
  .m-ecom { display: inline-flex; padding: 8px 14px; font-size: .88rem; }
  .m-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); cursor: pointer; flex: none; }
  .m-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: background .2s; }
  .site-header.scrolled .m-toggle { border-color: var(--line); background: var(--bg); }
  .site-header.scrolled .m-toggle span { background: var(--ink); }
  :root { --hh: 68px; }

  .m-panel:not([hidden]) { display: flex; }
  .m-panel { position: fixed; inset: 0; z-index: 50; flex-direction: column; gap: 22px; overflow-y: auto;
    padding: calc(env(safe-area-inset-top, 0px) + 14px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(20px, env(safe-area-inset-left, 0px));
    background: radial-gradient(500px 300px at 100% 0%, rgba(243,146,0,.22), transparent 70%), linear-gradient(170deg, #0a3f8a, #061c40 70%);
    animation: m-in .28s ease both; }
  @keyframes m-in { from { opacity: 0; } to { opacity: 1; } }
  .m-top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
  .m-top img { height: 40px; width: auto; }
  .m-close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .m-links { display: grid; margin-top: 8px; }
  .m-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-family: var(--display); font-weight: 700; font-size: 1.55rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12);
    animation: m-item .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
  .m-links a span { color: rgba(255,255,255,.4); font-size: 1.2rem; transition: transform .2s, color .2s; }
  .m-links a:active span, .m-links a:hover span { color: var(--orange); transform: translateX(4px); }
  .m-links a[aria-current="page"] { color: var(--orange); }
  .m-links a[aria-current="page"] span { color: var(--orange); }
  @keyframes m-item { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .m-quick { margin-top: auto; display: grid; gap: 10px; }
  .m-quick a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
  .m-quick .fi { width: 22px; height: 22px; color: var(--orange); flex: none; }
  .m-quick span { display: grid; font-weight: 700; overflow-wrap: anywhere; }
  .m-quick small { font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
  body.m-open { overflow: hidden; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) { .m-panel, .m-links a { animation: none; } }
@media (max-width: 360px) { .m-ecom { display: none; } }

/* Language switch (EN da attivare) */
.lang { display: inline-flex; align-items: center; margin-left: 10px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.lang a { font: 700 .78rem var(--body); letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; color: rgba(255,255,255,.8); text-decoration: none; line-height: 1; transition: background .2s, color .2s; }
.site-header .nav .lang a { padding: 6px 10px; font-size: .78rem; background: none; }
.lang a.on, .site-header .nav .lang a.on { background: #fff; color: var(--blue); }
.lang a:not(.on):hover { color: #fff; background: rgba(255,255,255,.14) !important; }
.site-header.scrolled .lang { border-color: var(--line); background: var(--bg); }
.site-header.scrolled .lang a { color: var(--muted); }
.site-header.scrolled .lang a.on { background: var(--blue); color: #fff; }
.site-header.scrolled .lang a:not(.on):hover { color: var(--ink); background: var(--tint) !important; }
.m-lang { margin: 0 12px 0 auto; }
.m-lang a { font-size: .85rem; padding: 8px 12px; }

/* Keep logo full size next to the language switch */
.site-header .wrap { max-width: 1280px; }
.brand { flex: none; }
.brand img { flex: none; height: 58px; width: auto; max-width: none; }
@media (min-width: 1001px) {
  .nav { flex: 0 1 auto; min-width: 0; }
  .nav a { padding: 9px 9px; font-size: .95rem; }
  .nav .btn { margin-left: 8px; padding: 10px 16px; font-size: .95rem; }
  .lang { margin-left: 8px; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .brand img { height: 46px; }
  .nav a { padding: 7px 6px; font-size: .86rem; }
  .nav .btn { padding: 8px 12px; font-size: .86rem; margin-left: 6px; }
  .site-header .nav .lang a { padding: 5px 7px; font-size: .72rem; }
  .lang { margin-left: 6px; }
}
@media (max-width: 1000px) { .brand img { height: 40px; } }

@media (min-width: 861px) and (max-width: 1000px) { :root { --hh: 68px; } .site-header .wrap { min-height: 68px; } }

/* Scheda Roma: pannello logo alto quanto la foto di Casoria */
.roma-card .logo-panel { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 10% 12%; background: linear-gradient(160deg, #fff 0%, #eef3fa 100%); border-bottom: 1px solid var(--line); }
.roma-card .logo-panel img { width: 100%; height: auto; max-width: 420px; transition: transform .4s; }
.roma-card:hover .logo-panel img { transform: scale(1.03); }

/* Foto che si alternano nella scheda della sede di Casoria */
.site-slides { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.site-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease, transform .6s; }
.site-slides img.on { opacity: 1; }
.site-card:hover .site-slides img { transform: scale(1.03); }

/* Storia del logo: due tappe, piu' grandi */
.ls-list { gap: 40px; }
.ls-list li { grid-template-columns: 22px 92px 1fr; }
.ls-year { font-size: 1.3rem; }
.ls-logo { height: 140px; padding: 20px 26px; }
.ls-logo img { max-height: 96px; }
.ls-list li.now .ls-logo { height: 150px; }
.ls-list li.now .ls-logo img { max-height: 104px; }
.ls-list::before { margin-block: 72px; }
@media (max-width: 560px) { .ls-list li { grid-template-columns: 22px 1fr; } .ls-list li .ls-logo { grid-column: 1 / -1; } .ls-list::before { display: none; } .ls-logo, .ls-list li.now .ls-logo { height: 110px; } }

/* Scheda Casoria: foto con etichetta */
.site-slides .ss { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.site-slides .ss.on { opacity: 1; }
.site-slides .ss img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.site-slides .ss .badge { position: absolute; left: 14px; bottom: 14px; z-index: 1; }
.site-slides .ss .badge { background: #fff; color: var(--blue); border-radius: 999px; padding: 5px 12px; font-size: 0.78rem; font-weight: 700; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }

/* Network: foto Bosch Service, insegna leggibile a destra */
.page-head.bg-bosch { background-position: 100% calc(0% + var(--py, 0px)); }
@media (min-width: 761px) { .page-head.bg-bosch .wrap > * { max-width: 640px; } }
.page-head.bg-bosch::before { background: linear-gradient(100deg, rgba(4,22,52,0.94) 0%, rgba(5,30,70,0.80) 40%, rgba(6,40,90,0.10) 72%, rgba(6,40,90,0) 100%); }
@media (max-width: 760px) { .page-head.bg-bosch::before { background: linear-gradient(180deg, rgba(4,22,52,0.55), rgba(4,22,52,0.92)); } }

/* Scheda numeri in home: piu' grande, senza riga in basso */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .hero .facts { margin-top: 100px; }
}
.facts-head { padding: 22px 28px; }
.facts-head img { width: 48px; height: 48px; }
.facts-head b { font-size: 1.2rem; }
.facts-head span { font-size: 0.92rem; }
.fact { padding: 28px; gap: 8px; }
.fact b { font-size: clamp(2.1rem, 3.8vw, 3rem); }
.fact span { font-size: 0.95rem; }
/* Scheda numeri piu' trasparente: si intravedono i ricambi */
.facts { background: rgba(8,24,56,0.22); backdrop-filter: blur(4px) saturate(1.1); -webkit-backdrop-filter: blur(4px) saturate(1.1); border-color: rgba(255,255,255,0.28); }
.facts .fact b, .facts .fact span, .facts-head b, .facts-head span { text-shadow: 0 1px 10px rgba(0,8,24,0.55); }

/* Mappa al clic */
.map-consent { cursor: default; }
.map-consent span a { color: var(--blue); text-decoration: underline; }
.map-consent .btn { margin-top: 10px; }
/* Pagine legali */
.legal { max-width: 78ch; display: grid; gap: 14px; }
.legal h2 { font-size: 1.35rem; margin-top: 18px; }
.legal h3 { font-size: 1.05rem; margin-top: 6px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal-date { font-family: var(--mono); font-size: 0.8rem; letter-spacing: .04em; }
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; text-decoration: underline; }

/* Banner cookie discreto */
.ck-banner { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(6,28,64,.35); padding: 16px 18px 14px; font-size: 0.86rem; line-height: 1.5; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.ck-banner.show { opacity: 1; transform: none; }
.ck-banner p { margin: 0 22px 12px 0; color: var(--muted); }
.ck-banner p a { color: var(--blue); text-decoration: underline; }
.ck-actions { display: flex; gap: 8px; justify-content: flex-end; }
.ck-btn { font: inherit; font-weight: 700; font-size: 0.82rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--blue); background: #fff; color: var(--blue); }
.ck-btn.ck-yes { background: var(--blue); color: #fff; }
.ck-btn:hover { filter: brightness(1.08); }
.ck-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
@media (prefers-reduced-motion: reduce) { .ck-banner { transition: none; } }

/* Immagini di sfondo delle sezioni */
[data-bg="bosch-service.jpg"] { --bg-img: url("img/bosch-service.jpg"); }
[data-bg="citta-hd.jpg"] { --bg-img: url("img/citta-hd.jpg"); }
[data-bg="citta.jpg"] { --bg-img: url("img/citta.jpg"); }
[data-bg="luci-wide.jpg"] { --bg-img: url("img/luci-wide.jpg"); }
[data-bg="luci.jpg"] { --bg-img: url("img/luci.jpg"); }
[data-bg="napoli.jpg"] { --bg-img: url("img/napoli.jpg"); }
