/* C.I.T.I. S.n.c. — industrial kit (logo metallic blue) */
:root {
  --ink: #0a2450;
  --steel: #123a6e;
  --surface: #edf3fb;
  --white: #ffffff;
  --text: #1a1f29;
  --muted: #5c6570;
  --line: #d0dbe8;
  --accent: #1e60b5;
  --accent-deep: #164a8c;
  --accent-soft: #3b82f6;
  --silver: #c0c0c0;
  --gray: #808080;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --container: 1180px;
  --gap: 20px;
  --radius: 10px;
  --header-h: 104px;
  --shadow: 0 18px 40px rgba(10, 36, 80, 0.14);
  --glow: 0 0 0 1px rgba(59, 130, 246, 0.55), 0 14px 32px rgba(30, 96, 181, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--accent); color: #fff; padding: 12px 16px;
}
.skip:focus { left: 12px; top: 12px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: absolute; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
  min-height: var(--header-h);
  padding: 6px clamp(16px, 4vw, 40px);
  background: transparent;
}
.header--solid {
  position: sticky; top: 0;
  background: rgba(10, 36, 80, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  max-width: min(54vw, 380px);
}
.logo img {
  height: 88px; width: auto;
  max-width: 100%;
}
.nav {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end;
  gap: 8px 22px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none; color: #fff; opacity: 0.9;
  transition: color .2s, opacity .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #9ec1ef; opacity: 1; }
.lang-switch {
  display: inline-flex; gap: 6px; margin-left: 8px;
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.2);
}
.lang-switch a {
  color: #fff; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.06em;
  opacity: 0.7; min-width: 28px; min-height: 28px;
  display: inline-grid; place-items: center;
}
.lang-switch a[aria-current="true"] {
  opacity: 1; color: #fff; border-bottom: 2px solid var(--accent-soft);
}
.menu {
  display: none; width: 48px; height: 48px; border: 0; background: transparent;
  padding: 12px; cursor: pointer;
}
.menu span { display: block; height: 2px; background: #fff; margin: 7px 0; }

@media (max-width: 900px) {
  :root { --header-h: 88px; }
  .menu { display: block; position: relative; z-index: 70; }
  .nav {
    display: none; position: fixed; inset: 0;
    background: rgba(10, 36, 80, 0.97);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; font-size: 1.2rem; z-index: 60;
  }
  .nav.is-open { display: flex; }
  .lang-switch {
    margin: 12px 0 0; padding: 0; border: 0;
  }
  .logo { max-width: min(70vw, 280px); }
  .logo img { height: 68px; }
}

/* Hero — overlay blu sfumato su tutta l’immagine (niente fascia dura in alto) */
.hero {
  position: relative;
  min-height: min(82vh, 780px);
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 36px) 20px 56px;
  color: #fff; text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(10, 36, 80, 0.42) 0%,
      rgba(18, 58, 110, 0.38) 35%,
      rgba(10, 36, 80, 0.58) 70%,
      rgba(8, 28, 62, 0.78) 100%
    ),
    radial-gradient(
      ellipse 120% 80% at 50% 40%,
      rgba(30, 96, 181, 0.22) 0%,
      transparent 65%
    ),
    var(--hero-bg) center / cover no-repeat;
}
.hero--page {
  min-height: min(52vh, 520px);
  background:
    linear-gradient(
      180deg,
      rgba(10, 36, 80, 0.45) 0%,
      rgba(18, 58, 110, 0.4) 45%,
      rgba(8, 28, 62, 0.72) 100%
    ),
    radial-gradient(
      ellipse 110% 70% at 50% 35%,
      rgba(59, 130, 246, 0.18) 0%,
      transparent 60%
    ),
    var(--hero-bg) center / cover no-repeat;
}
.hero--contact {
  min-height: min(62vh, 620px);
  text-align: center;
}
.hero--contact .hero__inner { margin-inline: auto; }
.hero--contact .kicker { margin-left: auto; margin-right: auto; }
.hero--contact .btn-row { justify-content: center; }
.hero__micro {
  margin: -8px 0 28px;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
}
.hero__inner { width: min(920px, 100%); }
.kicker {
  display: inline-block; width: fit-content;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-soft);
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 6px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero__sub {
  margin: 0 auto 32px;
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.9);
}
.btn-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 200px;
  padding: 0 26px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(30, 96, 181, 0.28);
}
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost {
  background: rgba(255,255,255,0.06); color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.btn--outline {
  background: transparent; color: var(--accent); border-color: var(--accent);
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--ink);
  border-block: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
.marquee--light {
  background: var(--surface);
  border-block-color: var(--line);
}
.marquee--light .marquee__track span { color: var(--ink); }
.marquee--light .marquee__track span::after { color: var(--accent); }
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  margin: 0 36px;
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.marquee__track span::after {
  content: "—";
  margin-left: 36px;
  color: var(--accent-soft);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: clamp(28px, 4vw, 52px) 0;
}
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #fff; }
.section--blue {
  background: linear-gradient(160deg, #123a6e 0%, #0a2450 55%, #0d2d5c 100%);
  color: #fff;
}
.section--blue .muted,
.section--blue .lead,
.section--ink .muted,
.section--ink .lead { color: rgba(255,255,255,0.72); }
.section--blue .kicker,
.section--ink .kicker { color: var(--accent-soft); border-color: var(--accent-soft); }
.section--blue .prose p,
.section--ink .prose p { color: rgba(255,255,255,0.78); }
.section--blue .block p,
.section--blue .card p,
.section--blue .step p,
.section--ink .block p,
.section--ink .card p {
  color: rgba(255,255,255,0.72);
}
.section--ink .step,
.section--blue .step {
  background: #fff;
  border-color: rgba(255,255,255,0.14);
  color: var(--ink);
}
.section--ink .step h3,
.section--blue .step h3,
.section--ink .step--on-dark h3,
.section--blue .step--on-dark h3 {
  color: var(--ink);
}
.section--ink .step p,
.section--blue .step p,
.section--ink .step--on-dark p,
.section--blue .step--on-dark p {
  color: #4b5563;
}
.section--ink .step__num,
.section--blue .step__num {
  color: var(--accent);
}
.step--icon {
  text-align: left;
}
.step__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--accent);
}
.step__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.step--on-dark {
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.section--blue .card,
.section--ink .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.14);
}
.section--blue .pill,
.section--ink .pill {
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
}
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.lead { font-size: 1.05rem; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1em; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
.media {
  overflow: hidden; border-radius: var(--radius);
  background: #0f1f35;
  box-shadow: var(--shadow);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: 4/5;
}
.media--wide img { aspect-ratio: 16/10; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.block h3, .card h3, .step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.block p, .card p, .step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.block ul {
  list-style: none; padding: 0; margin: 14px 0 0;
}
.block li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--muted);
}
.block li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: var(--glow);
}
.card--link { text-decoration: none; color: inherit; display: block; }
.card--service {
  min-height: 100%;
  padding: 28px 24px;
}
.card--service h3 { color: inherit; }

.quote {
  margin: 28px auto 0;
  max-width: 640px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
}

.pill-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted);
}
.specs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem; margin: 36px 0;
}
.spec-val {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem; margin: 0 0 4px; color: #fff;
}
.spec-lbl {
  margin: 0; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray);
}

.steps { counter-reset: step; }
.step {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
}
.step__num {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.numbers__item {
  padding: 0;
  transition: transform .25s ease;
}
.numbers__item:hover { transform: translateY(-3px); }
.numbers__icon {
  width: 22px;
  height: 22px;
  margin: 0 auto 8px;
  color: var(--accent);
  opacity: 0.9;
  transition: transform .25s ease, opacity .25s ease;
}
.numbers__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.numbers__item:hover .numbers__icon {
  opacity: 1;
  transform: scale(1.08);
}
.numbers strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
  line-height: 1.1;
}
.numbers span { color: var(--muted); font-size: 0.85rem; }
.section--ink .numbers span,
.section--blue .numbers span { color: rgba(255,255,255,0.7); }
.section--numbers {
  padding: clamp(20px, 3vw, 32px) 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.gallery__stack {
  display: grid; gap: 14px;
}
.gallery--mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
  min-height: min(520px, 70vw);
}
.gallery--mosaic > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: auto;
  border: 1px solid rgba(255,255,255,0.1);
}
.gallery--mosaic > img:first-child {
  grid-row: 1 / -1;
}
.tubes-copy { max-width: 920px; margin: 0 auto 8px; }
.tubes-copy .section__head { margin-bottom: 28px; }
.tubes-copy .lead { text-align: left; max-width: 75ch; margin: 0 auto 28px; }
.tubes-copy .grid-2 { margin-bottom: 8px; }

.list-check {
  display: grid; gap: 10px;
  margin: 0 0 28px; padding: 0; list-style: none;
}
.list-check li {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px 16px;
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-info__card {
  display: grid;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.contact-info__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(37,99,235,0.15);
}
.contact-info__card--static { cursor: default; }
.contact-info__card--static:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,0.08); }
.contact-info__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.contact-info__card strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}
.contact-info__micro {
  margin: 22px auto 0;
  max-width: 52ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}
.contact-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.contact-points li {
  position: relative;
  padding-left: 22px;
  color: var(--accent-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-panel__aside { display: grid; gap: 22px; }
.contact-human {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.contact-human span { color: var(--accent); font-weight: 600; }
.contact-review { min-width: 300px; max-width: 300px; }
.contact-review__who {
  margin-top: 12px;
  color: var(--accent-soft);
  font-weight: 600;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { margin: 0 0 14px; }
.map {
  border: 0; width: 100%; min-height: 280px;
  border-radius: var(--radius);
  background: var(--surface);
}

.form { display: grid; gap: 14px; }
.form label {
  display: grid; gap: 6px;
  font-size: 0.92rem; font-weight: 600;
}
.form input, .form textarea, .form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus {
  outline: 2px solid rgba(30, 96, 181, 0.35);
  border-color: var(--accent);
}
.form__check {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 400; color: var(--muted); font-size: 0.92rem;
}
.form__check input { width: auto; min-height: 20px; margin-top: 3px; }
.form__status {
  min-height: 1.2em; font-size: 0.92rem; color: var(--accent);
}
.form__honeypot {
  position: absolute; left: -9999px; opacity: 0; pointer-events: none;
}

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
  min-height: 44px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.faq--panel details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.faq--panel details:hover,
.faq--panel details[open] {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(37,99,235,0.16);
}
.faq--panel details:hover { transform: translateY(-2px); }
.faq--panel summary { color: #fff; }
.faq--panel p { color: rgba(255,255,255,0.72); }
.faq--panel summary::after { color: var(--accent-soft); }

.page-divider {
  height: 0;
  border: 0;
  border-top: 3px solid var(--line);
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 18, 36, 0.88);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }

main .media img,
main .gallery img,
main .gallery-strip img {
  cursor: zoom-in;
}

.cta-band {
  text-align: center;
  padding: clamp(40px, 5.5vw, 64px) 20px;
  background: linear-gradient(160deg, #123a6e 0%, #0a2450 100%);
  color: #fff;
}
.cta-band .kicker { color: var(--accent-soft); border-color: var(--accent-soft); }
.cta-band .lead { color: rgba(255,255,255,0.75); }
.cta-band h2 { margin-bottom: 12px; color: #fff; }
.points {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 22px 0 28px;
}
.points span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 44px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer__brand img { height: 72px; width: auto; max-width: min(100%, 280px); margin-bottom: 14px; }
.footer h3 {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-soft); margin: 0 0 14px;
}
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--accent-soft); }
.footer__list { display: grid; gap: 8px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray);
}
.footer__bottom a { color: #9ec1ef; }
.credit a { font-weight: 600; }

/* Float + cookie */
.float {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: grid; gap: 10px;
}
.float a {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(30, 96, 181, 0.35);
}
.float a:hover { background: var(--accent-deep); }
.float svg { width: 22px; height: 22px; fill: currentColor; }

.cookie {
  position: fixed; inset: auto 16px 16px 16px; z-index: 90;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px;
  max-width: 720px;
  margin-inline: auto;
  left: 50%; transform: translateX(-50%);
  width: min(720px, calc(100% - 32px));
}
.cookie.is-open { display: block; }
.cookie p { margin: 0 0 14px; font-size: 0.92rem; color: var(--muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie button {
  min-height: 44px; padding: 0 16px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: #fff;
}
.cookie .accept {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.linkish {
  background: none; border: 0; color: #9ec1ef; cursor: pointer;
  text-decoration: underline; padding: 0; min-height: auto;
}

.legal { padding: calc(var(--header-h) + 28px) 0 56px; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.legal .date {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 28px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 32px 0 12px;
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 22px 0 10px;
}
.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
  color: var(--muted);
}
.legal li { margin-bottom: 0.35em; }
.legal strong { color: var(--ink); }

.mv-grid { gap: 32px; }
.mv-card {
  position: relative;
  padding: 32px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.mv-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
  box-shadow: 0 20px 50px rgba(37,99,235,0.15);
}
.mv-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ink);
}
.mv-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.section--ink .mv-card,
.section--blue .mv-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.section--ink .mv-card h3,
.section--blue .mv-card h3 { color: #fff; }
.section--ink .mv-card p,
.section--blue .mv-card p { color: rgba(255,255,255,0.72); }
.section--ink .mv-tag,
.section--blue .mv-tag { color: var(--accent-soft); }

.section--ink .block h3,
.section--blue .block h3 { color: #fff; }
.section--ink .story-block h3,
.section--blue .story-block h3 { color: #fff; }
.section--ink .story-block p,
.section--blue .story-block p { color: rgba(255,255,255,0.72); }
.section--ink .quote,
.section--blue .quote {
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.2);
}
.section--ink .service-item h3 { color: #fff; }
.section--ink .service-item p { color: rgba(255,255,255,0.72); }
.section--ink .service-item__bar { background: rgba(255,255,255,0.2); }
.section--ink .service-item:hover h3 { color: var(--accent-soft); }
.section--blue .list-check li {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
}
.section--ink .prod-list li { color: var(--ink); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 28px;
  text-align: left;
}
.story-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.story-block h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
}
.story-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.story-block--full { grid-column: 1 / -1; }
.media--portrait img { aspect-ratio: 2/3; }

/* Storia: più peso alla foto, testo più compatto */
.story-split {
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.story-split .story-copy .lead {
  max-width: 62ch;
}
.story-split .story-grid {
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 24px;
}
.story-split .story-block--full { grid-column: auto; }
.story-split .media {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  min-height: min(70vh, 640px);
}
.story-split .media img {
  aspect-ratio: auto;
  min-height: min(70vh, 640px);
  height: 100%;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.trust-card {
  padding: 22px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #bfdbfe;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(37,99,235,0.12);
}
.trust-card__icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 10px;
}
.trust-card__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.trust-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.trust-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

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

.services-pro {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.services-pro__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
}
.service-item__bar {
  flex: 0 0 4px;
  width: 4px;
  height: 40px;
  background: #e5e7eb;
  transition: height .3s ease, background .3s ease;
  align-self: stretch;
  max-height: 100%;
}
.service-item:hover .service-item__bar {
  background: var(--accent-soft);
}
.service-item:hover h3 { color: var(--accent); }
.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 6px;
  transition: color .25s ease;
}
.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section--flush { padding: 0; }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sector-card {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: center / cover no-repeat var(--sector-bg);
  overflow: hidden;
  transition: transform .35s ease;
}
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 55%);
}
.sector-card:hover { transform: scale(1.02); }
.sector-card span {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 5px 10px;
}

.prose .strong,
.prose p.strong {
  font-weight: 600;
  color: var(--ink);
}
.section--ink .prose .strong,
.section--ink .prose p.strong { color: #fff; }

.collab {
  text-align: center;
}
.collab .prose {
  margin-inline: auto;
  text-align: center;
}
.collab .prose p {
  margin-left: auto;
  margin-right: auto;
}

.section--cta {
  background: var(--ink);
  color: #fff;
}
.section--cta .lead { color: rgba(255,255,255,0.72); }
.section--cta .kicker { color: var(--accent-soft); border-color: var(--accent-soft); }
.section--cta .pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.section--cta .btn--ghost {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.section--cta .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* —— Servizi —— */
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 18px auto 28px;
}
.material-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
}
.material-split h2 span { color: var(--accent-soft); }
.material-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.material-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 22px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.material-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
}
.material-point:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37,99,235,0.12);
}
.material-point__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  display: grid;
  place-items: center;
}
.material-point__icon svg { width: 18px; height: 18px; }
.material-point h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
}
.material-point p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}
.prod-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prod-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 500;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.prod-list li:hover {
  transform: translateX(6px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.prod-list__icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.apps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 10px;
  border-radius: 16px;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.apps-item:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.apps-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
}
.apps-item__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
.apps-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 160px;
  line-height: 1.35;
}
.stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.contact-details {
  margin-top: 24px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}
.contact-details a { color: var(--accent); }
.contact-cta .map { min-height: 360px; border-radius: 14px; border: 0; width: 100%; height: 100%; min-height: 420px; }
.services-tubes {
  align-items: start;
  margin-bottom: 0;
}
.services-tubes .tubes-copy {
  max-width: none;
  margin: 0;
  text-align: left;
}
.services-tubes .tubes-copy .lead {
  text-align: left;
  max-width: 60ch;
  margin-top: 12px;
}
.services-tubes .gallery--beside {
  margin-top: 0;
  min-height: 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.services-tubes .gallery--beside > img {
  aspect-ratio: 4/3;
  grid-row: auto;
  grid-column: auto;
}
.services-tubes .gallery--beside > img:first-child {
  grid-row: auto;
  grid-column: auto;
}
.tubes-details { margin-top: 8px; }
.tubes-details .specs { margin-top: 24px; }
.intro-center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.intro-center .prose {
  margin-inline: auto;
  text-align: center;
}
.intro-center .kicker {
  margin-left: auto;
  margin-right: auto;
}
.process-grid .step {
  border-color: #dbeafe;
  box-shadow: 0 1px 0 rgba(37,99,235,0.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.process-grid .step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(37,99,235,0.12);
}

.page-stub {
  min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 40px;
}

@media (max-width: 960px) {
  .split, .split--reverse, .contact-grid, .contact-panel, .gallery, .services-pro, .material-split, .services-tubes, .contact-cta { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 0; }
  .gallery--mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .gallery--mosaic > img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16/10;
  }
  .gallery--mosaic > img { aspect-ratio: 4/3; }
  .grid-2, .grid-3, .grid-4, .numbers, .footer__grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .story-block--full { grid-column: auto; }
  .story-split {
    grid-template-columns: 1fr;
  }
  .story-split .media {
    position: relative;
    top: auto;
    min-height: 0;
    order: -1;
  }
  .story-split .media img {
    min-height: 0;
    aspect-ratio: 4/5;
    height: auto;
  }
  .services-tubes .gallery--mosaic { min-height: 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .numbers, .footer__grid, .trust-grid, .contact-info { grid-template-columns: 1fr; }
  .gallery--mosaic { grid-template-columns: 1fr; }
  .process-grid, .sectors-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .btn { min-width: 100%; }
  .hero { min-height: 72vh; padding-bottom: 40px; }
}
