/* CEET AUTOMATION S.r.l. — Corporate Light Theme v6.0 (Pure Industrial & Zero-Friction) */

:root {

  --white: #ffffff;

  --bg-soft: #f8fafc;

  --bg-tech: #f1f5f9;

  --line: #e2e8f0;

  --line-strong: #cbd5e1;

  --ink: #0f172a;

  --text: #334155;

  --muted: #475569;

  --brand: #0284c7;

  --brand-dark: #0369a1;

  --brand-tint: #e0f2fe;

  --radius: 6px;

  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);

  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);

  --header-h: 76px;

  --font: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

}



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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img, video, svg { max-width: 100%; display: block; }

a { color: var(--brand-dark); text-decoration: none; transition: color 0.2s ease; }

a:hover { color: var(--brand); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }

h1 { font-size: clamp(2rem, 3.4vw, 3rem); }

h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }

h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

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

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }



.sr-only {

  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;

  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;

}

.skip-link {

  position: absolute; left: 8px; top: -60px; z-index: 300;

  background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: var(--radius);

}

.skip-link:focus { top: 8px; color: #fff; }



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

.section { padding: 96px 0; }

.section-soft { background: var(--bg-soft); }

.section-tech {

  background-color: var(--bg-tech);

  background-image:

    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),

    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);

  background-size: 28px 28px;

}

#progetti, #soluzioni, #azienda, #contatti { background: var(--white); }

#azienda { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 48px; }

.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {

  display: block; margin-bottom: 12px; font-size: 0.82rem; font-weight: 700;

  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-dark);

}



/* Buttons */

.btn {

  display: inline-flex; align-items: center; justify-content: center; gap: 8px;

  min-height: 48px; padding: 0 24px; border-radius: var(--radius);

  font: 600 0.95rem var(--font); cursor: pointer; border: 1px solid transparent;

  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

}

.btn-primary { background: var(--brand); color: #fff; }

.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-outline { background: #fff; color: var(--brand-dark); border-color: var(--line-strong); }

.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

.btn-sm { min-height: 44px; padding: 0 20px; }

.link-arrow { font-weight: 600; color: var(--brand-dark); }

.link-arrow:hover { color: var(--brand); }



/* Header */

.site-header {

  position: sticky; top: 0; z-index: 100; background: #ffffff; border-top: 3px solid #0284c7;

  border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);

}

/* Header Cinematografico per Home Page (Fullscreen Video Reveal allo Scroll) */

/* Header Cinematografico per Home Page (Fullscreen Video Reveal allo Scroll) */
.site-header.header-cinematic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, var(--header-bg-alpha, 0));
  border-top: 3px solid rgba(2, 132, 199, var(--header-opacity, 0));
  border-bottom: 1px solid rgba(226, 232, 240, var(--header-bg-alpha, 0));
  box-shadow: 0 2px 10px rgba(15, 23, 42, calc(0.07 * var(--header-bg-alpha, 0)));
  opacity: var(--header-opacity, 0);
  transform: translateY(var(--header-translate-y, -6px));
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, background 0.15s ease-out;
  pointer-events: var(--header-pointer-events, none);
  will-change: opacity, transform, background;
}

.site-header.header-cinematic:hover,
.site-header.header-cinematic:focus-within,
.site-header.header-cinematic.is-solid,
html.hero-seen .site-header.header-cinematic {
  opacity: 1 !important;
  background: #ffffff !important;
  border-top: 3px solid #0284c7 !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}
html.hero-seen .hero-scroll-cue-wrapper {
  display: none !important;
}
html.hero-seen .hero-sticky-stage {
  background: #ffffff !important;
}
html.hero-seen .hero-bg-video {
  opacity: 0.16 !important;
}
html.hero-seen .hero-bg-overlay {
  opacity: 0.94 !important;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; }

.brand-link img { height: 48px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 28px; }

.main-nav a {

  display: inline-block; padding: 8px 0; font-weight: 600; font-size: 0.95rem; color: #1e293b;

  white-space: nowrap; border-bottom: 2px solid transparent;

}

.main-nav a:hover, .main-nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-phone-pill {

  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;

  border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line-strong);

  font-size: 0.84rem; font-weight: 700; color: var(--ink); text-decoration: none;

  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;

}

.header-phone-pill svg { color: var(--brand-dark); }

.header-phone-pill:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-tint); }

.profile-link { font-size: 0.88rem; font-weight: 500; color: #334155; background: none; border: 0; cursor: pointer; font-family: var(--font); padding: 8px 0; white-space: nowrap; }

.profile-link:hover { color: var(--brand); text-decoration: underline; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-toggle.is-active {
  background: var(--bg-soft);
  border-color: var(--brand);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle.is-active svg {
  stroke: var(--brand-dark);
}



/* Hero Scroll Track & Cinematic Video Theater (Full-Bleed Immersive) */

.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%); padding: 0; }

.hero.hero-scroll-track {

  position: relative;

  background: #ffffff;

  padding: 0;

}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  background: #0b1120;
}

.hero-bg-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0.98;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02); /* Full-bleed edge-to-edge cinematic immersion senza alcun bordo */
  will-change: opacity, transform;
}

.hero-bg-video-wrapper.is-ended .hero-bg-video {

  opacity: 0.16;

}

.hero-bg-overlay {

  position: absolute;

  inset: 0;

  background: radial-gradient(circle at 65% 45%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.85) 65%, rgba(248, 250, 252, 0.98) 100%);

  pointer-events: none;

  opacity: 0;

  will-change: opacity;

}



/* Sfumatura di Raccordo Inferiore: fonde dolcemente il fondo del video con la pagina */

.hero-bottom-fog {

  position: absolute;

  bottom: 0;

  left: 0;

  right: 0;

  height: 140px;

  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 55%, rgba(255, 255, 255, 0.95) 100%);

  pointer-events: none;

  z-index: 2;

}



/* Indicatore di Scorrimento Minimale & Immersivo */

.hero-scroll-cue-wrapper {

  position: absolute;

  bottom: 30px;

  left: 0;

  right: 0;

  z-index: 3;

  display: flex;

  justify-content: center;

  pointer-events: none;

  will-change: opacity, transform;

}

.hero-scroll-cue-btn {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  background: rgba(15, 23, 42, 0.88);

  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  padding: 10px 22px;

  border-radius: 999px;

  font-size: 0.84rem;

  font-weight: 600;

  letter-spacing: 0.02em;

  cursor: pointer;

  pointer-events: auto;

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;

  animation: bounceSoft 2.6s infinite;

}

.hero-scroll-cue-btn:hover {

  background: var(--brand);

  border-color: rgba(255, 255, 255, 0.5);

  transform: translateY(-2px);

  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.35);

}

@keyframes bounceSoft {

  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }

  40% { transform: translateY(-5px); }

  60% { transform: translateY(-2px); }

}



/* Layer Contenuti Hero: posizionato subito dopo il palcoscenico a scroll = 0 */

.hero-content-layer {

  position: relative;

  z-index: 3;

  margin-top: 0; /* Zero overlap iniziale: il contenuto attende sotto il video */

  padding: 80px 0 100px;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.88) 18%, var(--bg-soft) 100%);

  pointer-events: auto;

}

.hero-content-layer .hero-grid {

  position: relative;

  z-index: 1;

}



@media (max-width: 900px) {

  /* Header mobile: a scroll=0 durante il video e invisibile (--header-opacity: 0); compare fluidamente allo scorrimento o al tocco di Esplora Soluzioni */
  .site-header.header-cinematic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, var(--header-bg-alpha, 0));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 3px solid rgba(2, 132, 199, var(--header-opacity, 0));
    border-bottom: 1px solid rgba(226, 232, 240, var(--header-bg-alpha, 0));
    box-shadow: 0 2px 10px rgba(15, 23, 42, calc(0.07 * var(--header-bg-alpha, 0)));
    opacity: var(--header-opacity, 0);
    transform: translateY(var(--header-translate-y, -6px));
    transition: opacity 0.15s ease-out, transform 0.15s ease-out, background 0.15s ease-out;
    pointer-events: var(--header-pointer-events, none);
    will-change: opacity, transform, background;
  }

  .site-header.header-cinematic:hover,
  .site-header.header-cinematic:focus-within,
  .site-header.header-cinematic.is-solid,
  html.hero-seen .site-header.header-cinematic {
    opacity: 1 !important;
    background: #ffffff !important;
    border-top: 3px solid #0284c7 !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Stage mobile: 100dvh con sfondo meccatronico #0b1120 in apertura (si fonde con l'inizio scuro del video senza bordi o stacchi), poi sfuma morbidamente su #ffffff a fine video o allo scroll per raccordarsi alla pagina */
  .hero-sticky-stage {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 520px;
    overflow: hidden;
    z-index: 1;
    background: #0b1120;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-sticky-stage.is-ended,
  .hero-sticky-stage.is-scrolled,
  html.hero-seen .hero-sticky-stage {
    background: #ffffff !important;
  }

  /* Video su smartphone: ridimensionato 100% visibile senza tagli laterali e centrato */
  .hero-bg-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0.98;
    filter: saturate(1.08) contrast(1.04);
    transform: none;
    will-change: opacity;
  }

  .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.85) 65%, #ffffff 100%);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.5s ease;
  }

  .hero-scroll-cue-wrapper {
    display: flex !important;
    position: absolute;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
  }

  .hero-scroll-cue-btn {
    font-size: 0.78rem;
    padding: 9px 18px;
    max-width: 90%;
    white-space: nowrap;
    pointer-events: auto;
  }

  .hero-content-layer {
    position: relative;
    z-index: 3;
    padding: 48px 0 60px;
    background: #ffffff;
    margin-top: 0;
  }

}

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }

.hero-eyebrow {

  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;

  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-dark);

}

.status-pulse {

  width: 8px; height: 8px; border-radius: 50%; background: #16a34a;

  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); display: inline-block; flex-shrink: 0;

}

.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 580px; line-height: 1.65; margin-bottom: 20px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.hero-pill {

  display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600;

  color: var(--ink); background: #fff; padding: 5px 12px; border: 1px solid var(--line-strong);

  border-radius: 4px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);

}

.hero-pill svg { width: 15px; height: 15px; color: #0284c7; flex-shrink: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero-proof { padding-top: 24px; border-top: 1px solid var(--line); }

.hero-proof-title {

  display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase;

  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px;

}

.hero-brand-logos {

  display: flex;

  flex-wrap: wrap;

  align-items: stretch;

  gap: 10px 12px;

}

.brand-item {

  display: inline-flex;

  flex-direction: column;

  justify-content: center;

  background: #ffffff;

  border: 1px solid var(--line-strong);

  border-left: 3px solid var(--brand);

  border-radius: 6px;

  padding: 8px 12px;

  box-shadow: var(--shadow-sm);

  line-height: 1.2;

  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;

}

.brand-item:hover {

  transform: translateY(-2px);

  border-color: var(--brand);

  box-shadow: var(--shadow-md);

}

.brand-item img {

  height: 22px;

  width: auto;

  max-width: 140px;

  object-fit: contain;

  filter: grayscale(100%) contrast(110%);

  opacity: 0.88;

  transition: filter 0.2s ease, opacity 0.2s ease;

}

.brand-item:hover img {

  filter: grayscale(0%) contrast(100%);

  opacity: 1;

}

.brand-item strong {

  font-size: 0.92rem;

  font-weight: 800;

  color: var(--ink);

  letter-spacing: -0.01em;

}

.brand-item span {

  font-size: 0.70rem;

  font-weight: 600;

  color: var(--muted);

  margin-top: 4px;

  letter-spacing: 0.01em;

}

.viewer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }

.viewer-stage { position: relative; aspect-ratio: 16 / 9; max-height: 430px; background: var(--bg-tech); }

.viewer-badge {

  position: absolute; top: 12px; left: 12px; z-index: 5;

  background: rgba(15, 23, 42, 0.84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);

  color: #fff; font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 4px;

  display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255, 255, 255, 0.16);

  pointer-events: none;

}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

.viewer-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }

.viewer-panel.is-active { opacity: 1; visibility: visible; }

.viewer-panel video, .viewer-panel img { width: 100%; height: 100%; object-fit: cover; }

.viewer-tabs { display: flex; border-top: 1px solid var(--line); }

.viewer-tab {

  flex: 1; min-height: 52px; padding: 0 12px; background: #fff; border: 0; border-right: 1px solid var(--line);

  font: 600 0.88rem var(--font); color: var(--muted); cursor: pointer;

  transition: background-color 0.2s ease, color 0.2s ease;

}

.viewer-tab:last-child { border-right: 0; }

.viewer-tab:hover { background: var(--bg-soft); color: var(--ink); }

.viewer-tab[aria-selected="true"] { color: var(--brand-dark); background: var(--brand-tint); box-shadow: inset 0 -3px 0 var(--brand); }



/* Trust Bar — 4-Pillar Executive Grid */

.trust { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0 48px; }

.trust-header { margin-bottom: 28px; }

.trust-eyebrow { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-dark); margin-bottom: 6px; }

.trust-title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); color: var(--ink); margin: 0; font-weight: 700; }

.trust-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }

.trust-card {

  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);

  padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between;

  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.trust-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08); }

.trust-card-logo { min-height: 48px; display: flex; align-items: center; margin-bottom: 14px; }

.trust-card-logo img { height: 42px; width: auto; max-width: 170px; object-fit: contain; }

.trust-card-badge {

  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 14px;

}

.badge-pill {

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

  padding: 5px 12px; border-radius: 4px; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em;

}

.siemens-pill { background: #00646e; color: #fff; }

.kuka-pill { background: #ea580c; color: #fff; }

.badge-label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; color: var(--muted); }



.trust-card-body strong { display: block; font-size: 0.96rem; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }

.trust-card-body span { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }



.trust-kpis {

  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;

  padding-top: 28px; border-top: 1px solid var(--line-strong);

}

.trust-kpi { display: flex; align-items: flex-start; gap: 14px; }

.kpi-num {

  font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); line-height: 1;

  letter-spacing: -0.02em; flex-shrink: 0; min-width: 52px;

}

.kpi-label strong { display: block; font-size: 0.88rem; color: var(--ink); line-height: 1.3; }

.kpi-label span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

.kpi-download-btn {

  background: none; border: 0; padding: 0; font: inherit; font-size: 0.78rem;

  font-weight: 700; color: var(--brand-dark); cursor: pointer; text-decoration: underline;

}

.kpi-download-btn:hover { color: var(--brand); }



/* Azienda (Struttura Societaria, Reparti & Impegno Direzione) */

.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }

.about-lead { font-size: 1.04rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; }

.about-lead strong { color: var(--ink); }

.division-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0 28px; }

.division-card {

  background: #f8fafc; border: 1px solid #cbd5e1; border-top: 3px solid #0284c7;

  padding: 22px 20px; border-radius: 8px;

}

.division-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-dark); margin-bottom: 6px; }

.division-card h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); line-height: 1.35; }

.division-card p { margin: 0; font-size: 0.92rem; color: var(--text); line-height: 1.55; }

.about-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); margin: 0; }

.about-photo img { width: 100%; height: auto; }

.about-photo figcaption { padding: 12px 16px; font-size: 0.84rem; color: var(--muted); background: #fff; border-top: 1px solid var(--line); line-height: 1.45; }



/* Team Showcase con Explode Video -> Photo Reveal */

.team-showcase-box {

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow: var(--shadow-md);

  margin-bottom: 24px;

}

.team-stage {

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  background: #020617;

  overflow: hidden;

}

.team-stage video {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: opacity 0.6s ease;

  z-index: 1;

}

.team-photo-layer {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  opacity: 0;

  transform: scale(1.04);

  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  z-index: 2;

  pointer-events: none;

}

.team-photo-layer.is-revealed {

  opacity: 1;

  transform: scale(1);

  pointer-events: auto;

}

.team-photo-layer img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

}

.team-photo-badges {

  position: absolute;

  bottom: 12px;

  left: 12px;

  right: 12px;

  display: flex;

  flex-direction: column;

  gap: 4px;

  background: rgba(2, 6, 23, 0.84);

  backdrop-filter: blur(8px);

  padding: 8px 12px;

  border-radius: 6px;

  border-left: 3px solid var(--brand);

}

.team-badge-pill {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: #ffffff;

  font-size: 0.76rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.05em;

}

.team-badge-sub {

  color: #94a3b8;

  font-size: 0.72rem;

  font-weight: 500;

}

.team-stage-actions {

  position: absolute;

  top: 10px;

  right: 10px;

  z-index: 3;

  display: flex;

  gap: 6px;

}

.team-action-btn {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  background: rgba(15, 23, 42, 0.75);

  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.2);

  backdrop-filter: blur(6px);

  padding: 5px 10px;

  font-size: 0.72rem;

  font-weight: 600;

  border-radius: 4px;

  cursor: pointer;

  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;

}

.team-action-btn:hover {

  background: rgba(2, 132, 199, 0.9);

  border-color: rgba(255, 255, 255, 0.4);

  transform: translateY(-1px);

}

.team-action-btn.is-hidden {

  display: none !important;

}

.team-stage-caption {

  padding: 12px 16px;

  font-size: 0.84rem;

  color: var(--muted);

  background: #ffffff;

  border-top: 1px solid var(--line);

  line-height: 1.45;

}

.team-stage-caption strong {

  color: var(--ink);

}



/* ==========================================================================
   MOBILE SMARTPHONE UX & CONVERSION ENGINE (Thumb Zone Hub & Bottom Sheet)
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Safe padding on body to prevent bottom bar overlap */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* Sticky Bottom Quick-Action Bar ('Thumb Zone' CRO Hub) */
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  body.nav-open .mobile-bottom-bar,
  body.modal-open .mobile-bottom-bar {
    transform: translateY(105%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-bar-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 8px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, background-color 0.15s ease;
  }

  .mobile-bar-btn:active {
    transform: scale(0.97);
  }

  .mobile-bar-call {
    background: #f8fafc;
    border: 1px solid var(--line-strong);
    color: var(--ink);
  }

  .mobile-bar-cta {
    background: var(--brand);
    border: 1px solid var(--brand-dark);
    color: #fff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  }

  .mobile-bar-icon-wrap {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-bar-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .status-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px #fff, 0 0 6px rgba(22, 163, 74, 0.7);
    animation: pulse-ring 2s infinite ease-in-out;
  }

  @keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
  }

  .mobile-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    overflow: hidden;
  }

  .mobile-bar-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
    white-space: nowrap;
  }

  .mobile-bar-call .mobile-bar-tag {
    color: #15803d;
  }

  .mobile-bar-cta .mobile-bar-tag {
    color: #e0f2fe;
  }

  .mobile-bar-val {
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  /* Horizontal Swipeable Filters */
  .filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 4px 4px 12px;
    margin-bottom: 24px;
    scroll-snap-type: x mandatory;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 0.85rem;
    padding: 0 16px;
    min-height: 44px;
  }

  /* Modal Bottom-Sheet Ergonomics */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.25);
  }
  .modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin-top: -6px;
    margin-right: -6px;
    z-index: 20;
    box-shadow: var(--shadow-md);
  }
  .modal-head {
    padding-right: 56px;
  }
  .modal-head h2 {
    font-size: 1.35rem;
  }
  .modal-executive-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-foot .btn {
    width: 100%;
    justify-content: center;
  }

  /* Form iOS Safari Auto-Zoom Prevention */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 560px) {
  /* De-clutter Top Header on small screens (Action Hub moves to Thumb Zone) */
  .header-actions .btn {
    display: none !important;
  }

  .brand-link img {
    height: 38px;
  }

  .hero-h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-bg-video {

    display: none;

  }

  .hero-bg-video-wrapper {

    background-image: url('assets_web/chiaro_last_frame.webp');

    opacity: 0.16;

  }

  .team-stage video {

    display: none;

  }

  .team-photo-layer {

    opacity: 1;

    transform: none;

    pointer-events: auto;

  }

  .team-stage-actions {

    display: none;

  }

}



/* Struttura Operativa & Team Governance (Anti-Bus-Factor) */

.team-structure-heading { margin: 32px 0 16px; border-top: 1px solid var(--line); padding-top: 28px; }

.team-structure-heading h3 { font-size: 1.25rem; color: var(--ink); margin: 0 0 8px; font-weight: 700; }

.team-structure-intro { font-size: 0.93rem; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }

.team-structure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }

.team-unit-card { background: #f8fafc; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 6px; padding: 18px 16px; display: flex; flex-direction: column; }

.team-unit-badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 6px; }

.team-unit-card h4 { font-size: 0.95rem; color: var(--ink); margin: 0 0 8px; line-height: 1.35; }

.team-unit-card p { font-size: 0.84rem; color: var(--text); line-height: 1.5; margin: 0 0 12px; flex: 1; }

.team-unit-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.team-tag { font-size: 0.72rem; background: #fff; border: 1px solid var(--line); padding: 2px 7px; border-radius: 4px; color: var(--muted); font-weight: 600; }



/* Enterprise Risk Mitigation & Governance Grid */

.governance-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 16px;

  margin-top: 18px;

  margin-bottom: 24px;

}

.governance-card {

  background: var(--white);

  border: 1px solid var(--line);

  border-top: 3px solid var(--brand-dark);

  border-radius: 6px;

  padding: 18px 16px;

  display: flex;

  flex-direction: column;

}

.governance-badge {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  font-size: 0.72rem;

  font-weight: 700;

  text-transform: uppercase;

  color: var(--brand-dark);

  margin-bottom: 8px;

}

.governance-badge svg {

  color: var(--brand);

}

.governance-card h4 {

  font-size: 0.96rem;

  color: var(--ink);

  margin: 0 0 8px;

  line-height: 1.35;

}

.governance-card p {

  font-size: 0.85rem;

  color: var(--text);

  line-height: 1.5;

  margin: 0;

  flex: 1;

}



/* Impegno Esecutivo Direzione Tecnica */

.ceo-commitment-card {

  background: #f8fafc; border: 1px solid var(--line); border-left: 4px solid var(--brand-dark);

  border-radius: 8px; padding: 22px 24px; margin-top: 24px; box-shadow: var(--shadow-sm);

}

.ceo-commitment-badge {

  display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700;

  text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-dark); margin-bottom: 10px;

}

.ceo-quote {

  font-size: 0.95rem; font-style: italic; color: var(--ink); line-height: 1.65; margin: 0 0 14px;

}

.ceo-signature {

  display: flex; flex-direction: column; font-size: 0.84rem; color: var(--muted);

  border-top: 1px solid var(--line); padding-top: 10px;

}

.ceo-signature strong { font-size: 0.92rem; color: var(--ink); }



/* Sidebar Stabilimento & Compliance */

.about-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }

.compliance-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }

.compliance-header { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.compliance-status { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-dark); margin-bottom: 4px; }

.compliance-header strong { font-size: 0.96rem; color: var(--ink); display: block; }

.compliance-list { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }

.compliance-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text); line-height: 1.45; }

.compliance-list svg { width: 17px; height: 17px; color: #16a34a; flex-shrink: 0; margin-top: 2px; }

.compliance-list strong { color: var(--ink); font-weight: 700; }

.compliance-actions { display: flex; flex-direction: column; gap: 10px; }

.compliance-btn { width: 100%; justify-content: center; gap: 8px; font-weight: 700; font-size: 0.84rem; }

.compliance-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.icon-wrap {

  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius);

  background: var(--brand-tint); color: var(--brand-dark);

}

.icon-wrap svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }



/* ========================================================

   SEZIONE IL METODO CEET (#metodo) — Corporate Light

======================================================== */

#metodo {

  border-top: 1px solid var(--line);

  border-bottom: 1px solid var(--line);

}



.method-grid {

  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px;

}

.method-card {

  background: #ffffff; border: 1px solid var(--line); border-top: 3px solid var(--brand);

  border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-sm);

  display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

}

.method-card:hover {

  transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand);

}

.method-card-head {

  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;

}

.method-card-head .icon-wrap {

  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius);

  background: var(--brand-tint); color: var(--brand-dark);

}

.method-card-head h4 {

  font-size: 1rem; margin: 0 0 3px; color: var(--ink); line-height: 1.35; font-weight: 700;

}

.method-tech-label {

  font-size: 0.76rem; color: var(--brand-dark); font-weight: 600; display: block;

}

.risk-pill {

  display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 700;

  background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c;

  padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; align-self: flex-start; line-height: 1.35;

}

.method-card p {

  margin: 0; font-size: 0.88rem; color: var(--text); line-height: 1.6; flex: 1;

}



/* Timeline Operativa di Commessa in 5 Fasi */

.delivery-timeline {

  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0 0 44px;

}

.timeline-step {

  background: #ffffff; border: 1px solid var(--line-strong); border-top: 3px solid var(--brand);

  border-radius: var(--radius-lg); padding: 22px 18px;

  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

}

.timeline-step:hover {

  transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-md);

}

.timeline-step-top {

  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px;

}

.step-num {

  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;

  border-radius: 6px; background: var(--brand); color: #ffffff; font-size: 0.86rem; font-weight: 800;

  flex-shrink: 0; box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);

}

.timeline-step .method-tech-label {

  font-size: 0.72rem; color: var(--brand-dark); font-weight: 700; text-align: right; line-height: 1.25;

}

.timeline-step h4 {

  font-size: 0.95rem; color: var(--ink); margin: 0 0 8px; line-height: 1.35; font-weight: 700;

}

.timeline-step .risk-pill {

  font-size: 0.71rem; padding: 3px 8px; margin-bottom: 10px;

}

.timeline-step p {

  font-size: 0.83rem; color: var(--text); line-height: 1.52; margin: 0; flex: 1;

}



/* Governance Box & Tabella Comparativa ad Alto Contrasto */

.executive-governance-box {

  background: #ffffff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 36px 32px;

  margin-top: 0; box-shadow: var(--shadow-md);

}

.governance-header {

  border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 16px;

}

.governance-eyebrow {

  display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase;

  letter-spacing: 0.08em; color: var(--brand-dark); margin-bottom: 6px;

}

.governance-header h3 {

  font-size: clamp(1.2rem, 1.6vw, 1.45rem); color: var(--ink); margin: 0; font-weight: 700;

}



.executive-comparison-strip {

  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch;

}

.comp-col {

  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;

}

.comp-traditional {

  background: var(--bg-soft); border: 1px solid var(--line-strong);

}

.comp-traditional .comp-col-head {

  background: #e2e8f0; padding: 16px 22px; border-bottom: 1px solid var(--line-strong);

}

.comp-traditional .comp-col-tag {

  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;

  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 4px;

}

.comp-traditional .comp-col-head strong {

  display: block; font-size: 0.98rem; color: #334155; margin: 0;

}

.comp-ceet {

  background: #ffffff; border: 2px solid var(--brand); box-shadow: var(--shadow-md);

}

.comp-ceet .comp-col-head {

  background: #0f172a; padding: 16px 22px; border-bottom: 2px solid var(--brand);

}

.comp-ceet .comp-col-tag {

  display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;

  letter-spacing: 0.08em; color: #38bdf8; margin-bottom: 4px;

}

.comp-ceet .comp-col-head strong {

  display: block; font-size: 1rem; color: #ffffff; margin: 0;

}

.comp-col-body {

  padding: 22px; flex: 1;

}

.comp-col ul {

  display: grid; gap: 11px; font-size: 0.88rem; margin: 0; padding: 0; list-style: none;

}

.comp-traditional li {

  color: var(--muted); position: relative; padding-left: 22px; line-height: 1.5;

}

.comp-traditional li::before {

  content: "—"; position: absolute; left: 0; color: #94a3b8; font-weight: 700;

}

.comp-ceet li {

  color: var(--ink); position: relative; padding-left: 22px; font-weight: 600; line-height: 1.5;

}

.comp-ceet li::before {

  content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800;

}





/* Soluzioni */

.mode-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; background: #fff; }

.mode-btn {

  min-height: 48px; padding: 0 24px; border: 0; background: #fff; font: 600 0.92rem var(--font); color: var(--muted); cursor: pointer;

  transition: background-color 0.2s ease, color 0.2s ease;

}

.mode-btn + .mode-btn { border-left: 1px solid var(--line-strong); }

.mode-btn:hover { color: var(--ink); background: var(--bg-soft); }

.mode-btn[aria-selected="true"] { background: var(--brand); color: #fff; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.sol-card {

  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);

  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, border-color 0.2s ease;

}

.sol-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.sol-card .icon-wrap { width: 52px; height: 52px; margin-bottom: 18px; }

.sol-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }

.sol-card .link-btn { align-self: flex-start; background: none; border: 0; padding: 8px 0; min-height: 44px; font: 600 0.92rem var(--font); color: var(--brand-dark); cursor: pointer; }

.sol-card .link-btn:hover { color: var(--brand); }



/* Progetti */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.filter-pill {

  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff;

  font: 600 0.9rem var(--font); color: var(--muted); cursor: pointer;

  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

}

.filter-pill:hover { border-color: var(--brand); color: var(--brand-dark); }

.filter-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }

.subhead h3 { margin: 0; font-size: 1.3rem; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }

.project-expand-wrap { display: flex; justify-content: center; margin: 0 0 56px; }

.btn-expand-projects {

  display: inline-flex; align-items: center; justify-content: center; gap: 8px;

  padding: 12px 28px; border-radius: var(--radius); background: #ffffff;

  border: 1px solid var(--brand); color: var(--brand-dark); font: 700 0.95rem var(--font);

  cursor: pointer; box-shadow: var(--shadow-sm);

  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;

}

.btn-expand-projects:hover { background: var(--brand); color: #ffffff; transform: translateY(-1px); }

.project-card {

  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);

  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease;

  text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer;

}

.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.project-media { aspect-ratio: 16 / 10; background: var(--bg-tech); overflow: hidden; }

.project-media img { width: 100%; height: 100%; object-fit: cover; }

.project-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }

.project-badge {

  display: inline-block; align-self: flex-start; margin-bottom: 10px; padding: 4px 10px;

  border-radius: 4px; background: var(--brand-tint); color: var(--brand-dark);

  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em;

}

.project-client { font-size: 0.82rem; font-weight: 700; color: var(--brand-dark); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }

.modal-head .project-client { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.modal-client-logo { height: 22px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(100%); vertical-align: middle; }

.project-body h4 { font-size: 1.05rem; margin-bottom: 10px; }

.project-body p { font-size: 0.93rem; color: var(--muted); flex: 1; margin-bottom: 14px; }

.project-kpi {

  display: flex; align-items: flex-start; gap: 8px; background: var(--bg-soft);

  border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 4px;

  padding: 8px 12px; font-size: 0.82rem; color: var(--text); margin-bottom: 16px; line-height: 1.4;

}

.project-kpi svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.project-kpi strong { color: var(--ink); font-weight: 700; }

.project-body .link-arrow { font-size: 0.92rem; }

.tech-graphic {

  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 20px;

  background-color: #eef4f9;

  background-image: linear-gradient(#dbe6ef 1px, transparent 1px), linear-gradient(90deg, #dbe6ef 1px, transparent 1px);

  background-size: 24px 24px; color: var(--brand-dark);

}

.tech-graphic svg { width: 52px; height: 52px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.tech-graphic-meta { display: flex; flex-direction: column; gap: 4px; text-align: left; }

.tech-graphic-meta strong { font-weight: 700; font-size: 0.9rem; color: var(--ink); line-height: 1.3; }

.tech-graphic-meta span { font-weight: 600; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

.institutional-drawer {

  border: 1px solid var(--line-strong);

  border-radius: var(--radius-lg);

  background: var(--bg-soft);

  overflow: hidden;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;

}

.institutional-drawer[open] {

  background: #ffffff;

  border-color: var(--brand);

  box-shadow: var(--shadow-sm);

}

.institutional-drawer-summary {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  padding: 18px 24px;

  cursor: pointer;

  list-style: none;

  user-select: none;

  background: var(--bg-soft);

  transition: background-color 0.2s ease;

}

.institutional-drawer-summary::-webkit-details-marker { display: none; }

.institutional-drawer-summary:hover { background: #f1f5f9; }

.drawer-summary-left {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 8px 14px;

}

.drawer-eyebrow {

  font-size: 0.72rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  color: var(--brand-dark);

  background: var(--brand-tint);

  padding: 3px 8px;

  border-radius: 4px;

}

.drawer-summary-left strong {

  font-size: 1.02rem;

  color: var(--ink);

}

.drawer-count-badge {

  font-size: 0.82rem;

  font-weight: 600;

  color: var(--muted);

  background: #ffffff;

  border: 1px solid var(--line-strong);

  padding: 2px 10px;

  border-radius: 999px;

}

.drawer-toggle-cta {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  font-size: 0.88rem;

  font-weight: 700;

  color: var(--brand-dark);

  white-space: nowrap;

}

.drawer-toggle-cta svg {

  width: 18px;

  height: 18px;

  transition: transform 0.2s ease;

}

.institutional-drawer[open] .drawer-toggle-cta svg {

  transform: rotate(180deg);

}

.institutional-drawer .institutional-list {

  border: 0;

  border-top: 1px solid var(--line);

  border-radius: 0;

}

.institutional-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

.inst-row {

  display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; width: 100%;

  padding: 18px 24px; background: #fff; border: 0; border-bottom: 1px solid var(--line); text-align: left;

  font: inherit; color: inherit; cursor: pointer; transition: background-color 0.2s ease;

}

.inst-row:last-child { border-bottom: 0; }

.inst-row:hover { background: var(--bg-soft); }

.inst-row strong { color: var(--ink); }

.inst-row span { color: var(--muted); font-size: 0.93rem; }

.inst-row em { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--brand-dark); white-space: nowrap; }

.empty-note { padding: 24px; color: var(--muted); }



/* Modal */

.modal-backdrop {

  position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, 0.55);

  display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;

}

.modal-backdrop.is-open { display: flex; }

.modal {

  position: relative; width: min(980px, 100%); background: #fff; border-radius: var(--radius-lg);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3); padding: 40px;

}

.modal-close {

  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 1px solid var(--line-strong);

  background: #fff; border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; justify-content: center;

}

.modal-close:hover { background: var(--bg-soft); }

.modal-close svg { width: 22px; height: 22px; stroke: var(--ink); }

.modal-head { padding-right: 64px; margin-bottom: 28px; }

.modal-head .project-client { margin-bottom: 8px; }

.modal-head h2 { font-size: 1.6rem; margin: 0; }

.modal-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; margin-bottom: 32px; }

.modal-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-tech); }

.modal-gallery img, .modal-gallery video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-tech); display: block; }

.modal-gallery figure.is-small img { aspect-ratio: auto; object-fit: contain; max-height: 180px; }

.modal-executive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }

.exec-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }

.exec-box.highlight { background: var(--brand-tint); border-color: #bae6fd; }

.exec-label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-dark); margin-bottom: 8px; }
.exec-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.exec-box p { margin: 0; font-size: 0.9rem; color: var(--text); line-height: 1.5; }

.exec-box.highlight p { color: var(--ink); font-weight: 600; }

.modal-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }

.modal-detail h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand-dark); margin-bottom: 8px; }

.modal-detail p, .modal-detail li { font-size: 0.97rem; color: var(--text); }

.modal-detail ul { display: grid; gap: 6px; }

.modal-detail li { padding-left: 18px; position: relative; }

.modal-detail li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.modal-detail .wide { grid-column: 1 / -1; }

.modal-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }



/* Certificazioni */

.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }

.cert-card .cert-logo { height: 72px; display: flex; align-items: center; margin-bottom: 20px; }

.cert-card .cert-logo img { max-height: 72px; width: auto; }

.cert-card .cert-chip { margin-bottom: 20px; }

.cert-card h3 { margin-bottom: 8px; }

.cert-card p, .cert-card li { color: var(--muted); font-size: 0.95rem; }

.cert-card ul { display: grid; gap: 6px; margin-top: 12px; }

.cert-card li { padding-left: 18px; position: relative; }

.cert-card li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.cert-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.cert-cta p { margin: 0; color: var(--muted); }



/* Contatti */

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }

.emergency-fast-track {

  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;

  gap: 16px 24px; padding: 18px 24px; background: #fffbeb; border: 1px solid #fde68a;

  border-left: 4px solid #d97706; border-radius: var(--radius-lg); margin-bottom: 8px;

  box-shadow: var(--shadow-sm);

}



.emergency-badge { display: inline-flex; align-items: center; gap: 8px; }

.emergency-pulse { width: 9px; height: 9px; border-radius: 50%; background: #d97706; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25); }

.emergency-badge strong { font-size: 0.95rem; color: #92400e; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

.emergency-desc { flex: 1; min-width: 280px; font-size: 0.92rem; color: #78350f; line-height: 1.45; }

.emergency-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.emergency-btn {

  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 6px;

  font-size: 0.86rem; font-weight: 700; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;

}

.emergency-btn.phone { background: #d97706; color: #fff; border: 1px solid #b45309; }

.emergency-btn.phone:hover { background: #b45309; color: #fff; }

.emergency-btn.whatsapp { background: #16a34a; color: #fff; border: 1px solid #15803d; }

.emergency-btn.whatsapp:hover { background: #15803d; color: #fff; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { margin-bottom: 20px; }

.field label, .field .field-label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }

.field .req { color: #b91c1c; }

.preset-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.preset-chip {

  min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);

  background: var(--bg-soft); font: 600 0.82rem var(--font); color: var(--brand-dark); cursor: pointer;

  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;

}

.preset-chip:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }

.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {

  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);

  background: #fff; font: 400 1rem var(--font); color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease;

}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18); }

.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b91c1c; }

.field-error { display: none; margin-top: 6px; font-size: 0.85rem; color: #b91c1c; }

.field.has-error .field-error { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }

.check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--brand); }

.form-status { margin-top: 20px; padding: 22px; border-radius: var(--radius-lg); background: #f0fdf4; border: 1px solid #86efac; border-left: 4px solid #16a34a; display: none; }

.form-status.is-visible { display: block; }

.form-status-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.form-status-head svg { width: 22px; height: 22px; color: #16a34a; flex-shrink: 0; }

.form-status h3 { margin: 0; font-size: 1.02rem; color: #14532d; }

.form-status p { margin: 0; font-size: 0.9rem; color: #166534; line-height: 1.55; }

.form-status .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.form-status.is-error {

  background: #fef2f2;

  border-color: #fecaca;

  border-left-color: #dc2626;

}

.form-status.is-error .form-status-head svg {

  color: #dc2626;

}

.form-status.is-error h3 {

  color: #991b1b;

}

.form-status.is-error p {

  color: #7f1d1d;

}

.prefill-banner {

  display: flex;

  align-items: flex-start;

  gap: 12px;

  padding: 14px 18px;

  margin-bottom: 24px;

  background: var(--brand-tint);

  border: 1px solid #bae6fd;

  border-left: 4px solid var(--brand);

  border-radius: var(--radius);

  font-size: 0.92rem;

  color: var(--brand-dark);

}

.prefill-banner strong {

  color: var(--ink);

}

.prefill-banner .status-pulse {

  margin-top: 5px;

  flex-shrink: 0;

}

.contact-info { display: grid; gap: 24px; }

.procurement-card {

  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;

  box-shadow: var(--shadow-sm); border-top: 3px solid #0284c7;

}

.procurement-badge {

  display: inline-block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase;

  letter-spacing: 0.06em; color: var(--brand-dark); margin-bottom: 6px;

}

.procurement-card h4 { font-size: 1.05rem; margin: 0 0 8px; color: var(--ink); }

.procurement-card p { font-size: 0.88rem; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }

.procurement-meta {

  display: grid; gap: 8px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line);

  border-radius: 6px; font-size: 0.84rem; color: var(--text); margin-bottom: 16px;

}

.procurement-meta code {

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  background: #fff; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 4px;

  color: var(--brand-dark); font-weight: 700; font-size: 0.88rem;

}

.procurement-actions { display: flex; flex-direction: column; gap: 8px; }

.info-block h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand-dark); margin-bottom: 8px; }

.info-block p, .info-block li { margin: 0; color: var(--text); font-size: 0.97rem; }

.info-block ul { display: grid; gap: 4px; }

.map-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-tech); }

.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

.map-frame a { display: block; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; }



/* Toast Notifications */

.toast-container {

  position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column;

  gap: 10px; pointer-events: none; max-width: 440px;

}

.toast {

  background: #0f172a; color: #fff; padding: 16px 20px; border-radius: 8px; font-size: 0.9rem;

  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35); pointer-events: auto; display: flex;

  align-items: flex-start; gap: 12px; border: 1px solid #334155; opacity: 0;

  transform: translateY(12px); transition: opacity 0.25s ease, transform 0.25s ease;

}

.toast.is-visible { opacity: 1; transform: translateY(0); }

.toast svg { width: 20px; height: 20px; color: #38bdf8; flex-shrink: 0; margin-top: 1px; }

.toast p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: #e2e8f0; }

.toast strong { color: #fff; display: block; margin-bottom: 2px; font-size: 0.94rem; }



/* Footer */

.site-footer { background: #f1f5f9; border-top: 1px solid var(--line-strong); padding: 64px 0 28px; font-size: 0.93rem; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }

.footer-grid h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink); margin-bottom: 14px; }

.footer-grid p, .footer-grid li { margin: 0 0 6px; color: var(--text); }

.footer-logo { height: 46px; width: auto; margin-bottom: 16px; }

.legal-line { border-top: 1px solid var(--line-strong); padding-top: 20px; font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

.footer-badge {

  display: inline-block;

  font-size: 0.72rem;

  font-weight: 600;

  color: var(--brand-dark);

  background: rgba(13, 86, 158, 0.1);

  padding: 1px 6px;

  border-radius: 4px;

  margin-left: 6px;

  vertical-align: middle;

}



/* Dossier (solo stampa) */

.dossier { display: none; }



/* Breadcrumbs & Inner Page Header */

.page-hero {

  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);

  padding: 56px 0 52px;

  border-bottom: 1px solid var(--line);

}

.page-hero-inner {

  max-width: 860px;

}

.breadcrumb {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 8px;

  margin-bottom: 18px;

  font-size: 0.85rem;

  color: var(--muted);

  list-style: none;

}

.breadcrumb a {

  color: var(--brand-dark);

  font-weight: 600;

}

.breadcrumb a:hover {

  color: var(--brand);

  text-decoration: underline;

}

.breadcrumb-sep {

  color: var(--line-strong);

  user-select: none;

}

.breadcrumb [aria-current="page"] {

  color: var(--muted);

  font-weight: 500;

}

.page-hero h1 {

  font-size: clamp(2rem, 3.2vw, 2.8rem);

  margin-bottom: 14px;

}

.page-hero-lead {

  font-size: 1.1rem;

  color: var(--muted);

  line-height: 1.65;

  margin: 0;

}



/* Careers & Lavora con Noi */

.career-list {

  display: flex;

  flex-direction: column;

  gap: 28px;

  margin-bottom: 48px;

}

.career-card {

  background: var(--white);

  border: 1px solid var(--line-strong);

  border-left: 4px solid var(--brand);

  border-radius: var(--radius-lg);

  padding: 32px 36px;

  box-shadow: var(--shadow-sm);

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

}

.career-card:hover {

  box-shadow: var(--shadow-md);

}

.career-card-head {

  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  align-items: flex-start;

  gap: 16px;

  margin-bottom: 18px;

  padding-bottom: 16px;

  border-bottom: 1px solid var(--line);

}

.career-title-wrap h3 {

  font-size: 1.35rem;

  color: var(--ink);

  margin: 0 0 6px;

}

.career-badge {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 5px 12px;

  background: var(--brand-tint);

  color: var(--brand-dark);

  font-size: 0.8rem;

  font-weight: 700;

  border-radius: 4px;

  text-transform: uppercase;

  letter-spacing: 0.04em;

}

.career-meta-pills {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 20px;

}

.career-pill {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  font-size: 0.82rem;

  font-weight: 600;

  color: var(--muted);

  background: var(--bg-soft);

  border: 1px solid var(--line);

  padding: 4px 10px;

  border-radius: 4px;

}

.career-pill svg {

  width: 14px;

  height: 14px;

  color: var(--brand-dark);

  flex-shrink: 0;

}

.career-body {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 28px;

  margin-bottom: 24px;

}

.career-col h4 {

  font-size: 0.95rem;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  color: var(--ink);

  margin-bottom: 12px;

  display: flex;

  align-items: center;

  gap: 8px;

}

.career-col ul {

  list-style: none;

  display: grid;

  gap: 8px;

}

.career-col li {

  position: relative;

  padding-left: 18px;

  font-size: 0.92rem;

  color: var(--text);

  line-height: 1.55;

}

.career-col li::before {

  content: "•";

  position: absolute;

  left: 4px;

  color: var(--brand);

  font-weight: bold;

}

.career-actions {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 14px;

  padding-top: 20px;

  border-top: 1px solid var(--line);

}

.career-contact-box {

  background: var(--white);

  color: var(--text);

  border-radius: var(--radius-lg);

  padding: 36px 40px;

  margin-top: 48px;

  border: 1px solid var(--line-strong);

  border-left: 4px solid var(--brand);

  box-shadow: var(--shadow-sm);

}

.career-contact-box .eyebrow {

  color: var(--brand-dark);

}

.career-contact-box h3 {

  color: var(--ink);

  font-size: 1.45rem;

  margin-bottom: 8px;

}

.career-contact-box p {

  color: var(--text);

  max-width: 740px;

  font-size: 0.98rem;

  line-height: 1.6;

  margin-bottom: 24px;

}

.career-contact-grid {

  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: 28px;

  align-items: center;

  background: var(--bg-soft);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 24px 28px;

  margin-bottom: 24px;

}

.career-contact-item {

  display: flex;

  flex-direction: column;

  gap: 4px;

}

.career-contact-item span {

  font-size: 0.78rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  color: var(--muted);

  font-weight: 700;

}

.career-contact-item strong {

  font-size: 1.18rem;

  color: var(--ink);

}

.career-contact-item a {

  color: var(--brand-dark);

  font-size: 1.15rem;

  font-weight: 700;

  text-decoration: underline;

  text-underline-offset: 3px;

  transition: color 0.2s ease;

}

.career-contact-item a:hover {

  color: var(--brand);

}

.career-checklist {

  background: var(--brand-tint);

  border: 1px solid #bae6fd;

  border-radius: var(--radius);

  padding: 18px 24px;

  margin-bottom: 26px;

}

.career-checklist strong {

  color: var(--brand-dark);

  font-size: 0.94rem;

  display: block;

  margin-bottom: 8px;

}

.career-checklist ul {

  list-style: none;

  display: grid;

  gap: 8px;

  padding: 0;

  margin: 0;

}

.career-checklist li {

  font-size: 0.92rem;

  color: var(--ink);

  padding-left: 22px;

  position: relative;

  line-height: 1.5;

}

.career-checklist li strong {

  display: inline;

  color: var(--ink);

  font-size: inherit;

  margin-bottom: 0;

}

.career-checklist li code {

  background: rgba(2, 132, 199, 0.12);

  color: var(--brand-dark);

  padding: 2px 6px;

  border-radius: 4px;

  font-size: 0.85rem;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

}

.career-checklist li::before {

  content: "\2713";

  position: absolute;

  left: 0;

  color: var(--brand-dark);

  font-weight: bold;

}

.career-contact-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 14px;

}

.career-form {

  margin-top: 24px;

  display: grid;

  gap: 20px;

}

.file-upload-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 16px;

}

.file-upload-card {

  position: relative;

  border: 2px dashed var(--line-strong);

  border-radius: var(--radius);

  background: var(--bg-soft);

  padding: 22px 16px;

  text-align: center;

  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;

  cursor: pointer;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  min-height: 125px;

}

.file-upload-card:hover, .file-upload-card.is-dragover {

  border-color: var(--brand);

  background: var(--brand-tint);

}

.file-upload-card:focus-within {

  border-color: var(--brand);

  outline: 2px solid var(--brand);

  outline-offset: 2px;

}

.file-upload-card.has-file {

  border-style: solid;

  border-color: #0284c7;

  background: #f0f9ff;

  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.12);

}

.file-upload-label {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 6px;

  cursor: pointer;

  width: 100%;

}

.file-upload-label .file-icon {

  width: 32px;

  height: 32px;

  color: var(--brand);

  transition: transform 0.2s ease;

}

.file-upload-card:hover .file-icon {

  transform: translateY(-2px);

}

.file-upload-card.has-file .file-icon {

  color: #16a34a;

}

.file-title {

  font-size: 0.92rem;

  color: var(--ink);

}

.file-hint {

  font-size: 0.8rem;

  color: var(--muted);

  line-height: 1.4;

}

.file-upload-card.has-file .file-hint {

  color: var(--brand-dark);

  font-weight: 600;

}

.career-privacy-note {

  margin-top: 18px;

  font-size: 0.82rem;

  color: var(--muted);

  line-height: 1.55;

}

.career-privacy-note strong {

  color: var(--text);

}

@media (max-width: 768px) {

  .file-upload-grid { grid-template-columns: 1fr; }

}

.career-cta-banner {

  background: linear-gradient(135deg, var(--bg-tech) 0%, var(--bg-soft) 100%);

  border: 1px solid var(--line-strong);

  border-left: 4px solid var(--brand);

  border-radius: var(--radius-lg);

  padding: 32px 36px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  margin: 48px 0;

}

.career-cta-text h3 {

  margin: 0 0 6px;

  font-size: 1.3rem;

  color: var(--ink);

}

.career-cta-text p {

  margin: 0;

  color: var(--muted);

  font-size: 0.96rem;

}

.executive-cta-banner {

  border-left: 4px solid var(--brand);

}

.executive-cta-actions {

  display: flex;

  gap: 12px;

  align-items: center;

  flex-shrink: 0;

  flex-wrap: wrap;

}



/* Home Section Preview Cards */

.preview-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-top: 36px;

}

.preview-card {

  background: var(--white);

  border: 1px solid var(--line-strong);

  border-radius: var(--radius-lg);

  padding: 28px;

  box-shadow: var(--shadow-sm);

  display: flex;

  flex-direction: column;

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

}

.preview-card:hover {

  transform: translateY(-2px);

  box-shadow: var(--shadow-md);

  border-color: var(--brand);

}

.preview-card:target {

  border-color: var(--brand);

  box-shadow: 0 0 0 3px rgba(13, 86, 158, 0.2), var(--shadow-md);

  scroll-margin-top: calc(var(--header-h) + 24px);

}

.preview-card .icon-wrap {

  width: 44px;

  height: 44px;

  border-radius: 6px;

  background: var(--brand-tint);

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 18px;

}

.preview-card .icon-wrap svg {

  width: 22px;

  height: 22px;

  color: var(--brand-dark);

}

.preview-card h3 {

  font-size: 1.18rem;

  margin: 0 0 10px;

  color: var(--ink);

}

.preview-card p {

  font-size: 0.94rem;

  color: var(--muted);

  line-height: 1.6;

  margin: 0 0 18px;

  flex-grow: 1;

}



/* Responsive */

@media (max-width: 1100px) {

  .preview-grid { grid-template-columns: repeat(2, 1fr); }

  .card-grid { grid-template-columns: repeat(2, 1fr); }

  .project-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav ul { gap: 18px; }

  .profile-link { display: none; }

}

@media (max-width: 960px) {

  .nav-toggle { display: inline-flex; }

  .main-nav {

    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);

    box-shadow: var(--shadow-md); display: none; padding: 8px 24px 20px;

  }

  .main-nav.is-open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }

  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }

  .header-actions { margin-left: auto; }

  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .team-structure-grid, .governance-grid, .executive-comparison-strip { grid-template-columns: 1fr; }

  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .delivery-timeline { grid-template-columns: 1fr; }

  .about-sidebar { position: static; }

  .emergency-fast-track { flex-direction: column; align-items: stretch; }

  .header-phone-pill { display: none !important; }

  .trust-cards-grid, .trust-kpis { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .cert-grid { grid-template-columns: 1fr; }

  .career-body, .career-contact-grid { grid-template-columns: 1fr; }

  .career-cta-banner { flex-direction: column; align-items: flex-start; }

  .executive-cta-actions { width: 100%; margin-top: 14px; }

  .preview-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 72px 0; }

}

@media (max-width: 640px) {

  .container { width: min(1200px, 100% - 32px); }

  .card-grid, .project-grid, .form-row, .modal-detail, .numbers, .division-grid, .docs-grid, .modal-gallery, .trust-cards-grid, .trust-kpis, .modal-executive-grid, .method-grid, .team-structure-grid, .governance-grid, .executive-comparison-strip, .delivery-timeline { grid-template-columns: 1fr; }

  .career-card { padding: 24px 20px; }

  .career-contact-box { padding: 24px 20px; }

  .career-contact-actions { flex-direction: column; width: 100%; }

  .career-contact-actions .btn { width: 100%; justify-content: center; }

  .executive-cta-actions { flex-direction: column; width: 100%; }

  .executive-cta-actions .btn { width: 100%; justify-content: center; }

  .emergency-actions { flex-direction: column; width: 100%; }

  .emergency-btn { width: 100%; justify-content: center; }

  .toast-container { left: 16px; right: 16px; bottom: 16px; max-width: none; }

  .inst-row { grid-template-columns: 1fr; gap: 6px; }

  .modal { padding: 24px 20px; }

  .header-actions .btn { padding: 0 16px; }

  .brand-link img { height: 42px; }

  .viewer-tab { font-size: 0.78rem; }

}

/* ==========================================================================
   MOBILE SMARTPHONE UX & CONVERSION ENGINE (Thumb Zone Hub & Bottom Sheet)
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Safe padding on body to prevent bottom bar overlap */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* Sticky Bottom Quick-Action Bar ('Thumb Zone' CRO Hub) */
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  body.nav-open .mobile-bottom-bar,
  body.modal-open .mobile-bottom-bar {
    transform: translateY(105%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-bar-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 8px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, background-color 0.15s ease;
  }

  .mobile-bar-btn:active {
    transform: scale(0.97);
  }

  .mobile-bar-call {
    background: #f8fafc;
    border: 1px solid var(--line-strong);
    color: var(--ink);
  }

  .mobile-bar-cta {
    background: var(--brand);
    border: 1px solid var(--brand-dark);
    color: #fff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  }

  .mobile-bar-icon-wrap {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-bar-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .status-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px #fff, 0 0 6px rgba(22, 163, 74, 0.7);
    animation: pulse-ring 2s infinite ease-in-out;
  }

  @keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
  }

  .mobile-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    overflow: hidden;
  }

  .mobile-bar-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
    white-space: nowrap;
  }

  .mobile-bar-call .mobile-bar-tag {
    color: #15803d;
  }

  .mobile-bar-cta .mobile-bar-tag {
    color: #e0f2fe;
  }

  .mobile-bar-val {
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  /* Horizontal Swipeable Filters */
  .filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 4px 4px 12px;
    margin-bottom: 24px;
    scroll-snap-type: x mandatory;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 0.85rem;
    padding: 0 16px;
    min-height: 44px;
  }

  /* Modal Bottom-Sheet Ergonomics */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.25);
  }
  .modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin-top: -6px;
    margin-right: -6px;
    z-index: 20;
    box-shadow: var(--shadow-md);
  }
  .modal-head {
    padding-right: 56px;
  }
  .modal-head h2 {
    font-size: 1.35rem;
  }
  .modal-executive-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-foot .btn {
    width: 100%;
    justify-content: center;
  }

  /* Form iOS Safari Auto-Zoom Prevention */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 560px) {
  /* De-clutter Top Header on small screens (Action Hub moves to Thumb Zone) */
  .header-actions .btn {
    display: none !important;
  }

  .brand-link img {
    height: 38px;
  }

  .hero-h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }

  * { transition: none !important; }

}



/* Stampa: Company Profile 2 pagine A4 */

@page { size: A4; margin: 16mm; }

@media print {

  body.print-dossier > *:not(#company-profile) { display: none !important; }

  body.print-dossier #company-profile { display: block; }

  body { font-size: 10.5pt; line-height: 1.5; color: #000; }

  .dossier-page { page-break-after: always; break-after: page; }

  .dossier-page:last-child { page-break-after: auto; break-after: auto; }

  .dossier h1 { font-size: 20pt; }

  .dossier h2 { font-size: 13pt; border-bottom: 1px solid #94a3b8; padding-bottom: 4px; margin-top: 16px; }

  .dossier h3 { font-size: 11pt; margin-bottom: 2px; }

  .dossier-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #0284c7; padding-bottom: 10px; margin-bottom: 14px; }

  .dossier-head img { height: 40px; width: auto; }

  .dossier table { width: 100%; border-collapse: collapse; margin: 8px 0; }

  .dossier td, .dossier th { border: 1px solid #cbd5e1; padding: 5px 8px; text-align: left; vertical-align: top; font-size: 10pt; }

  .dossier th { background: #f1f5f9; width: 32%; }

  .dossier ul { list-style: disc; padding-left: 18px; margin: 6px 0; }

  .dossier li { margin-bottom: 3px; }

  .dossier-foot { margin-top: 16px; font-size: 9pt; color: #475569; border-top: 1px solid #cbd5e1; padding-top: 6px; }

}

