/* ============================================================
   SAMA S.r.l. — Trasporti & Logistica
   Landing page stylesheet
   ============================================================ */

:root {
  --navy:      #14243A;      /* blu principale richiesto */
  --navy-2:    #1e3452;      /* card su fondo scuro */
  --navy-deep: #0d1826;      /* footer / fondi più profondi */
  --ink:       #14243A;
  --accent:    #2f80ed;      /* azzurro d'accento (CTA) */
  --accent-dk: #1e63c4;
  --sky:       #6aa8ff;      /* azzurro chiaro per highlight */
  --teal:      #0f8a8a;      /* sostenibilità, in tonalità fredda */
  --teal-dk:   #0a5f66;
  --gold:      #6aa8ff;      /* alias mantenuto → highlight azzurro */
  --green:     #0f8a8a;
  --green-dk:  #0a5f66;
  --text:      #1f2a37;
  --muted:     #5b6a7d;
  --line:      #e3e8ef;
  --bg:        #ffffff;
  --bg-alt:    #f2f5f9;
  --radius:    16px;
  --shadow:    0 18px 50px -20px rgba(12, 26, 43, .28);
  --shadow-sm: 0 8px 24px -12px rgba(12, 26, 43, .25);
  --maxw:      1180px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }

body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker-light { color: var(--gold); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -12px rgba(47, 128, 237, .75); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-3px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); }

/* ---------- Barra avanzamento scroll ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--sky));
  z-index: 200; transition: width .1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header.scrolled {
  background: #ffffff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px -18px rgba(12,26,43,.5);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand-logo {
  height: 46px; width: auto;
  filter: brightness(0) invert(1);        /* logo nero → bianco su hero scuro */
  transition: filter .3s, height .3s;
}
.site-header.scrolled .brand-logo { filter: none; height: 40px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: #fff;
  transition: background .2s, color .2s;
}
.site-header.scrolled .nav-link { color: var(--navy); }
.nav-link:hover { background: rgba(255,255,255,.16); }
.site-header.scrolled .nav-link:hover { background: var(--bg-alt); }

.nav-cta { background: var(--accent); color: #fff !important; margin-left: 8px; }
.nav-cta:hover { background: var(--accent-dk) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(13,24,38,.5); border: 0; cursor: pointer; padding: 0;
  border-radius: 10px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.site-header.scrolled .nav-toggle { background: rgba(20,36,58,.07); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-toggle span { width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/flottaBianchi.webp') center/cover no-repeat;
  transform: scale(1.08);           /* margine per la parallasse */
  opacity: 0;
  animation: heroFade 1.6s ease-out .1s forwards;
}
@keyframes heroFade { to { opacity: 1; } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(20,36,58,.95) 0%, rgba(20,36,58,.78) 45%, rgba(20,36,58,.38) 100%),
    linear-gradient(0deg, rgba(13,24,38,.75) 0%, rgba(13,24,38,0) 40%);
}
/* blob luminosi fluttuanti */
.hero-blobs { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-blobs span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero-blobs span:nth-child(1) { width: 380px; height: 380px; background: rgba(47,128,237,.55); top: -60px; right: 6%; animation: float1 16s ease-in-out infinite; }
.hero-blobs span:nth-child(2) { width: 300px; height: 300px; background: rgba(106,168,255,.4); bottom: 4%; left: 2%; animation: float2 20s ease-in-out infinite; }
.hero-blobs span:nth-child(3) { width: 220px; height: 220px; background: rgba(15,138,138,.35); top: 45%; right: 34%; animation: float1 24s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,50px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-40px)} }

.hero-content { position: relative; z-index: 2; max-width: 760px; padding-block: 120px; }
.hero-eyebrow {
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .82rem; color: var(--gold); margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; color: #fff;
  font-weight: 800;
}
.hero-title span {
  background: linear-gradient(90deg, var(--sky), #a9cbff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d7e0ea; margin: 24px 0 36px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn-primary { animation: pulseGlow 2.8s ease-in-out infinite; }
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 14px 30px -12px rgba(47,128,237,.75), 0 0 0 0 rgba(47,128,237,.5); }
  50%     { box-shadow: 0 14px 34px -10px rgba(47,128,237,.9), 0 0 0 12px rgba(47,128,237,0); }
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:22px} 100%{opacity:0} }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--navy); color: #fff; padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 54px 24px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: -12px; top: 10%; height: 80%;
  width: 1px; background: rgba(255,255,255,.14);
}
.stat-num {
  display: block; font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800;
  color: #fff; line-height: 1; letter-spacing: -.03em;
}
.stat-label { display: block; margin-top: 10px; color: #9fb0c3; font-size: .95rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Cards (servizi) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 20px;
  background: linear-gradient(135deg, #e7f0ff, #d3e4ff);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Tags (settori) ---------- */
.tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  max-width: 900px; margin-inline: auto;
}
.tags li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 24px; font-weight: 600; color: var(--navy); font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.tags li:hover { transform: translateY(-4px); background: var(--navy); color: #fff; }

/* ---------- Flotta: showcase in movimento ---------- */
.fleet {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,128,237,.20), transparent 60%),
    linear-gradient(180deg, #14243A 0%, #0f1c2e 100%);
  color: #fff; padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; position: relative;
}
.fleet .section-head h2 { color: #fff; }
.fleet .section-head p { color: #b6c4d4; }

.fleet-rows { display: grid; gap: 22px; margin-top: 8px; }
.fleet-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.fleet-track { display: flex; width: max-content; animation: fleetScroll 48s linear infinite; }
.fleet-row.rev .fleet-track { animation-direction: reverse; }
.fleet-row:hover .fleet-track { animation-play-state: paused; }
@keyframes fleetScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.fleet-card {
  position: relative; flex: 0 0 auto;
  width: clamp(240px, 26vw, 360px); aspect-ratio: 16 / 11;
  margin-right: 22px; border-radius: 16px; overflow: hidden; cursor: pointer;
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.06);
}
.fleet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fleet-card:hover img { transform: scale(1.09); }
.fleet-hint { text-align: center; margin-top: 34px; color: #7f92a8; font-size: .9rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(9,16,26,.9); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 88vh; border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85); animation: lbIn .35s var(--ease);
}
@keyframes lbIn { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.24); }

/* ---------- Chi siamo ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-bottom: 66px; }
.about-media { position: relative; }
.about-media > img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.about-media::before {
  content: ''; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px;
  border: 3px solid var(--accent); border-radius: 20px; z-index: 0; opacity: .55;
}
.about-badge {
  position: absolute; right: -16px; bottom: -22px; z-index: 2; background: var(--navy); color: #fff;
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08); animation: floatY 5s ease-in-out infinite; min-width: 210px;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.about-badge-k { color: var(--sky); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.about-badge-row { display: flex; justify-content: space-between; gap: 22px; margin-top: 9px; font-size: .92rem; }
.about-badge-row strong { color: #fff; font-weight: 700; }
.about-badge-row span { color: #9fb0c3; }
.about-text h2 { margin-top: 6px; }
.about-text p { color: var(--muted); margin-top: 16px; font-size: 1.04rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.ah { display: flex; gap: 14px; align-items: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.ah:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ah-ic { font-size: 1.5rem; line-height: 1; }
.ah strong { display: block; color: var(--navy); font-size: 1.05rem; }
.ah span { color: var(--muted); font-size: .88rem; }
.facts-title { text-align: center; font-size: .95rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 26px; font-weight: 800; }

/* ============================================================
   EYEBROW (badge microscopico)
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #d3e2f5; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
}
.eyebrow::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.eyebrow-dark { color: var(--accent); background: rgba(47,128,237,.07); border-color: rgba(47,128,237,.22); }
.eyebrow-dark::before { background: var(--accent); }

/* ============================================================
   STORIA / CHI SIAMO — intro editoriale + timeline
   ============================================================ */
.story { background: var(--bg); position: relative; overflow: hidden; }
.story-head { position: relative; max-width: 860px; margin: 0 auto clamp(50px, 7vw, 84px); text-align: center; }
.story-head::before {
  content: '\201C'; position: absolute; top: -.34em; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(9rem, 22vw, 17rem);
  line-height: 1; color: var(--accent); opacity: .07; z-index: 0; pointer-events: none;
}
.story-head > * { position: relative; z-index: 1; }
.story-quote {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.015em;
  color: var(--navy); margin: 22px auto 0; max-width: 18ch;
}
.story-quote em { font-style: italic; color: var(--accent); }
.story-lead { margin: 24px auto 0; max-width: 620px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.18rem); }

/* ---------- Timeline verticale ---------- */
.timeline { list-style: none; max-width: 820px; margin-inline: auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(47,128,237,.12));
}
.timeline-item { position: relative; padding: 0 0 clamp(38px, 5vw, 58px) 62px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(47,128,237,.10);
}
.timeline-marker span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline-date {
  display: inline-block; font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 1.08rem; font-weight: 600; color: var(--accent); margin-bottom: 8px;
}
.timeline-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 12px; }
.timeline-card p { color: var(--muted); font-size: 1.05rem; }
.timeline-card p + p { margin-top: 14px; }
.timeline-item:nth-child(2) { transition-delay: .08s; }
.timeline-item:nth-child(3) { transition-delay: .16s; }

/* ============================================================
   LE PERSONE — editorial split
   ============================================================ */
.people { background: var(--bg-alt); }
.people-split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 76px);
  align-items: center; margin-bottom: clamp(48px, 7vw, 88px);
}
.people-lead h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 16px; }
.people-lead h2 em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; color: var(--accent); }
.people-lead p { color: var(--muted); font-size: 1.08rem; margin-top: 20px; }
.people-lead p + p { margin-top: 16px; }
.people-media { position: relative; }
.people-media img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.people-media::after {
  content: ''; position: absolute; inset: -16px auto auto -16px; width: 110px; height: 110px;
  border: 3px solid var(--accent); border-radius: 22px; opacity: .5; z-index: -1;
}
.people-media-tag {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(13,24,38,.62); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 15px 20px; color: #fff;
}
.people-media-tag strong { display: block; font-size: 1.02rem; }
.people-media-tag span { color: #b6c4d4; font-size: .9rem; }

/* ---------- Feature card (double-bezel) ---------- */
.people-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 66px); }
.feature-card {
  background: rgba(20,36,58,.04); border: 1px solid rgba(20,36,58,.06); border-radius: 26px; padding: 8px;
  transition: transform .6s cubic-bezier(.32,.72,0,1), box-shadow .6s cubic-bezier(.32,.72,0,1);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-core {
  background: #fff; border-radius: 20px; padding: 34px 32px; height: 100%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7);
}
.feature-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  color: var(--accent); background: linear-gradient(135deg, #e7f0ff, #d3e4ff);
}
.feature-ic svg { width: 27px; height: 27px; }
.feature-core h3 { margin-bottom: 10px; }
.feature-core p { color: var(--muted); font-size: 1rem; }
.people-cards .feature-card:nth-child(2) { transition-delay: .08s; }

/* ---------- Banner manifesto ---------- */
.people-banner {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, var(--navy-2));
  color: #fff; border-radius: 28px; padding: clamp(44px, 6vw, 74px) clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow);
}
.people-banner::before {
  content: ''; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,128,237,.35), transparent 70%); pointer-events: none;
}
.people-banner .eyebrow { margin-bottom: 20px; }
.people-banner h3 {
  color: #fff; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 16px; position: relative;
}
.people-banner p { color: #cdd9e6; font-size: 1.08rem; max-width: 720px; margin-inline: auto; position: relative; }

/* ---------- Entrata con blur (cinematografica) ---------- */
.story .reveal, .people .reveal {
  filter: blur(8px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}
.story .reveal.in, .people .reveal.in { filter: blur(0); }
.story .story-quote { transition-delay: .12s; }
.story .story-lead { transition-delay: .24s; }

/* ============================================================
   SOSTENIBILITÀ
   ============================================================ */
.eco {
  background: linear-gradient(135deg, var(--green-dk), var(--green));
  color: #fff; padding: clamp(64px, 9vw, 110px) 0; position: relative; overflow: hidden;
}
.eco::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}
.eco-inner { display: grid; grid-template-columns: 1.2fr .9fr; gap: 60px; align-items: center; position: relative; }
.eco h2 { color: #fff; }
.eco-text p { color: #d8f0e2; margin-top: 18px; font-size: 1.08rem; }
.eco-text strong { color: #fff; }
.eco-badges { display: grid; gap: 16px; }
.eco-badge {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 20px 24px; backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), background .3s;
}
.eco-badge:hover { transform: translateX(6px); background: rgba(255,255,255,.16); }
.eco-badge-icon { font-size: 1.9rem; }
.eco-badge strong { display: block; font-size: 1.15rem; }
.eco-badge span { color: #cfeadd; font-size: .95rem; }

/* ============================================================
   COPERTURA
   ============================================================ */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 860px; margin-inline: auto; }
.coverage-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px;
  box-shadow: var(--shadow-sm);
}
.coverage-col h3 { margin-bottom: 18px; font-size: 1.4rem; }
.coverage-col ul { list-style: none; display: grid; gap: 12px; }
.coverage-col li {
  padding-left: 26px; position: relative; color: var(--text); font-weight: 500;
}
.coverage-col li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}

/* ============================================================
   AZIENDA
   ============================================================ */
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.company-card {
  background: var(--bg-alt); border-radius: 14px; padding: 22px 24px;
  border-left: 3px solid var(--accent);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.company-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.company-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.company-value { display: block; margin-top: 6px; font-weight: 700; color: var(--navy); font-size: 1.02rem; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 110px) 0; }
.contact h2 { color: #fff; }
.contact .section-head p { color: #b6c4d4; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 48px; }
.contact-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.contact-card h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 12px; }
.contact-card p { color: #cdd9e6; font-size: 1rem; }
.contact-card a { color: #cdd9e6; transition: color .2s; }
.contact-card a:hover { color: #fff; }
.contact-card .muted { color: #8497a9; font-size: .85rem; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Mappe ---------- */
.maps { display: grid; grid-template-columns: minmax(0, 640px); justify-content: center; gap: 22px; margin-bottom: 48px; }
.map-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.map-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.map-card figcaption { padding: 16px 22px; color: #fff; font-weight: 700; font-size: 1rem; }
.map-card iframe { display: block; filter: grayscale(.25) saturate(.9); transition: filter .4s; }
.map-card:hover iframe { filter: none; }
@media (max-width: 720px) { .maps { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: #b6c4d4; padding-top: 64px; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.footer-logo { height: 46px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { max-width: 340px; font-size: .96rem; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-col a { display: block; padding: 5px 0; color: #b6c4d4; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom p { font-size: .86rem; color: #7c8da0; text-align: center; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 1.3rem;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(47,128,237,.85);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s, background .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dk); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* stagger a cascata per gli elementi in griglia */
.cards-grid .card:nth-child(2), .company-grid .company-card:nth-child(2),
.contact-grid .contact-card:nth-child(2), .gallery-item:nth-child(2) { transition-delay: .08s; }
.cards-grid .card:nth-child(3), .company-grid .company-card:nth-child(3),
.contact-grid .contact-card:nth-child(3), .gallery-item:nth-child(3) { transition-delay: .16s; }
.cards-grid .card:nth-child(4), .company-grid .company-card:nth-child(4),
.contact-grid .contact-card:nth-child(4), .gallery-item:nth-child(4) { transition-delay: .24s; }
.cards-grid .card:nth-child(5), .company-grid .company-card:nth-child(5), .gallery-item:nth-child(5) { transition-delay: .32s; }
.cards-grid .card:nth-child(6), .company-grid .company-card:nth-child(6), .gallery-item:nth-child(6) { transition-delay: .4s; }
.gallery-item:nth-child(7) { transition-delay: .48s; }

/* tag dei settori animati in ingresso a cascata */
.tags.in li { animation: tagIn .5s var(--ease) both; }
.tags.in li:nth-child(n)   { animation-delay: calc(.04s * var(--i, 0)); }
@keyframes tagIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .story .reveal, .people .reveal { filter: none; }
  .hero-bg { opacity: 1 !important; }
  .tags.in li { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-inner { grid-template-columns: 1fr; gap: 36px; }
  .people-split { grid-template-columns: 1fr; gap: 40px; }
  .people-media { max-width: 560px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 560px; }
  .about-badge { right: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; height: 100vh; height: 100dvh; width: min(80vw, 320px); z-index: 105;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 6px; background: #fff; padding: 90px 20px 30px;
    transform: translateX(101%); transition: transform .35s var(--ease);
    visibility: hidden;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.4);
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav-link { color: var(--navy); padding: 14px 16px; border-radius: 10px; }
  .nav-link:hover { background: var(--bg-alt); }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: flex; z-index: 106; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
  .stat:not(:last-child)::after { display: none; }
  .stat:nth-child(odd)::after { content:''; display:block; position:absolute; right:-6px; top:10%; height:80%; width:1px; background:rgba(255,255,255,.14); }
  .cards-grid, .company-grid, .contact-grid, .coverage, .people-cards { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .timeline-item { padding-left: 52px; }
  .fleet-card { width: 240px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content { padding-block: 130px 90px; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .hero-actions, .contact-cta { width: 100%; }
  .about-badge { position: static; margin-top: 18px; right: auto; min-width: 0; }
}

/* fallback senza animazione: nastri flotta scorribili a mano */
@media (prefers-reduced-motion: reduce) {
  .fleet-track { animation: none !important; }
  .fleet-row { overflow-x: auto; scrollbar-width: none; }
  .fleet-row::-webkit-scrollbar { display: none; }
}
