/* ============================================================
   Railab style.css — v3 Sudan-native (2026-06-04)
   ----------------------------------------------------------------
   File CSS UNICO. Sostituisce style.css (rosso) + style-railab-v2.1.css
   (override). Nessuna cascata, nessun remap legacy, nessun blocco
   anti-rosso: i token sono Sudan alla radice.

   Sistema "Sudan" (canonico):
     brunito  #16181C   off-white #F2EFE9   Sudan #A06D44 (UNICO accento)
     ferro    #5F5E5A   testo secondario su scuro = off-white-dim 0.75
   Font: Proxima Nova (body/headline) + Syne UltraBold (display/wordmark)
         + DM Mono (dati/eyebrow). NO Sora, NO Inter.
   Principi: "il lusso è la sottrazione" — un accento per campo visivo.
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   FONT SELF-HOSTING — Proxima Nova in assets/fonts/
   ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Heavy.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ────────────────────────────────────────────────────────────
   TOKEN
   ──────────────────────────────────────────────────────────── */
:root {
  /* ── Palette Sudan canonica ── */
  --brunito:            #16181C;
  --off-white:          #F2EFE9;
  --sudan:              #A06D44;
  --ferro:              #5F5E5A;
  --white:              #FFFFFF;

  --sudan-tint:         rgba(160, 109, 68, 0.10);
  --sudan-tint-strong:  rgba(160, 109, 68, 0.22);
  --brunito-tint:       rgba(22, 24, 28, 0.06);
  --off-white-dim:      rgba(242, 239, 233, 0.75); /* testo secondario su fondo scuro (AA) */

  /* ── Ruoli semantici ── */
  --text:               var(--brunito);
  --text-muted:         var(--ferro);
  --border:             rgba(22, 24, 28, 0.10);

  /* superfici chiare alternate */
  --surface-alt:        #EDEAE3;   /* section.alt, strip tech */
  --surface-muted:      #E9E5DD;   /* strip muted */
  --card:               #FFFFFF;

  /* ── Raggi (scala canonica) ── */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-pill: 999px;

  /* ── Tipografia ── */
  --font-sans:    'Proxima Nova', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Proxima Nova', sans-serif;
  --font-mono:    'DM Mono', 'JetBrains Mono', monospace;

  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utilities ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sudan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--sudan);
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--brunito);
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
section { padding: 72px 0; }
section.alt { background: var(--surface-alt); }
.cap-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 8px; font-style: italic; }

/* ════════════════════════════════════════════════════════════
   WORDMARK come SVG (font-free, geometria congelata nel vettore)
   dark  = AILAB scuro  → su sfondo CHIARO (nav, sezioni light)
   light = AILAB chiaro → su sfondo SCURO  (footer, hero panel)
   ════════════════════════════════════════════════════════════ */
.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}
/* se restasse vecchia composizione testuale nel DOM, nascondila */
.wordmark-r,
.wordmark-rest { display: none !important; }

.wordmark-img {
  display: inline-block;
  height: 1em;          /* segue il font-size del contenitore */
  width: auto;
  vertical-align: middle;
}
/* default = sfondo chiaro → AILAB dark */
.wordmark .wordmark-img--light { display: none; }
.wordmark .wordmark-img--dark  { display: inline-block; }
/* contesti scuri → AILAB light */
.on-dark .wordmark-img--dark,
.footer  .wordmark-img--dark,
.hero-panel .wordmark-img--dark { display: none; }
.on-dark .wordmark-img--light,
.footer  .wordmark-img--light,
.hero-panel .wordmark-img--light { display: inline-block; }

.wordmark--nav   { font-size: 28px; }
.wordmark--hero  { font-size: 64px; }
.wordmark--small { font-size: 22px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 239, 233, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  box-shadow: 0 1px 0 rgba(22, 24, 28, 0.04);
  padding: 0 32px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { display: none; }   /* vecchio logo PNG soppresso, usa wordmark SVG */
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--sudan); }
.nav-lang { display: flex; gap: 4px; }
.nav-lang button {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 4px 8px; border: 0.5px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer; color: var(--text-muted);
  transition: all var(--transition);
}
.nav-lang button.active,
.nav-lang button:hover { background: var(--brunito); color: var(--off-white); border-color: var(--brunito); }
.nav-cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 18px; border: 1.5px solid var(--sudan); border-radius: var(--radius-sm);
  color: var(--sudan); background: transparent; cursor: pointer; transition: all var(--transition);
}
.nav-cta:hover { background: var(--sudan); color: var(--off-white); }

/* Hamburger */
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--brunito); border-radius: 2px; transition: all 0.25s ease;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--off-white);
  border-bottom: 0.5px solid var(--border);
  box-shadow: 0 8px 24px rgba(22, 24, 28, 0.08);
  z-index: 99; padding: 16px 24px 24px;
}
.nav-drawer.open { display: flex; flex-direction: column; gap: 4px; }
.nav-drawer a {
  display: block; padding: 10px 0; font-size: 15px; font-weight: 500;
  color: var(--brunito); border-bottom: 0.5px solid var(--border);
  transition: color var(--transition);
}
.nav-drawer a:hover { color: var(--sudan); }
.drawer-lang {
  display: flex; gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 0.5px solid var(--border);
}
.drawer-lang button {
  flex: 1; padding: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  border: 0.5px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer; color: var(--text-muted);
  transition: all var(--transition);
}
.drawer-lang button.active,
.drawer-lang button:hover { background: var(--brunito); color: var(--off-white); border-color: var(--brunito); }

/* ── HERO ── */
.hero {
  padding: 80px 32px 72px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  max-width: 1140px; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 46px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 20px;
  color: var(--brunito);
}
.hero h1 em { font-style: normal; color: var(--sudan); }
.hero-sub { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; max-width: 460px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  padding: 13px 26px; background: var(--brunito); color: var(--off-white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--transition); display: inline-block;
}
.btn-primary:hover { background: var(--sudan); }
.btn-ghost {
  padding: 13px 26px; background: transparent; color: var(--brunito);
  font-size: 13px; font-weight: 500; border: 0.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--transition);
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--text-muted); }

/* Hero panel (brunito) */
.hero-panel { background: var(--brunito); border-radius: var(--radius-lg); padding: 28px; }
.hero-panel-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--off-white-dim); text-transform: uppercase; margin-bottom: 20px;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card {
  background: rgba(242, 239, 233, 0.07); border: 0.5px solid rgba(242, 239, 233, 0.12);
  border-radius: var(--radius-md); padding: 16px;
}
.stat-num { font-size: 28px; font-weight: 700; color: var(--off-white); line-height: 1; margin-bottom: 6px; }
.stat-num span { color: var(--sudan); }
.stat-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--off-white-dim); }

/* ── INFO STRIPS ── */
.info-strip {
  padding: 14px 32px;
  display: flex; align-items: center; gap: 20px;
  overflow-x: auto; border-bottom: 0.5px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.info-strip--light  { background: var(--off-white); border-top: 0.5px solid var(--border); }
.info-strip--muted  { background: var(--surface-muted); }
.info-strip--tech   { background: var(--surface-alt); }
.strip-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; white-space: nowrap; min-width: 160px;
  color: var(--text-muted); flex-shrink: 0;
}
.logos-list { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.logo-pill {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  padding: 4px 12px; border-radius: var(--radius-pill); border: 0.5px solid var(--border);
  white-space: nowrap;
}
.logo-pill--partner { color: var(--sudan); border-color: var(--sudan-tint-strong); background: var(--sudan-tint); }
.logo-pill--exp     { font-weight: 500; color: var(--brunito); border-color: rgba(22, 24, 28, 0.20); }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 40px; }
.service-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: var(--sudan); transform: translateY(-2px); }
.service-icon {
  width: 36px; height: 36px; background: var(--sudan-tint); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.service-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--brunito); }
.service-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── INDUSTRIAL ── */
.cap-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 40px; }
.cap-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.cap-card:hover { border-color: rgba(22, 24, 28, 0.2); transform: translateY(-2px); }
.cap-tag   { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sudan); margin-bottom: 8px; }
.cap-title { font-size: 13px; font-weight: 600; margin-bottom: 6px; line-height: 1.35; color: var(--brunito); }
.cap-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ── SHOWCASE ── */
.showcase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.showcase-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.showcase-card:hover { transform: translateY(-3px); border-color: var(--sudan-tint-strong); }
.showcase-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; object-position: center top;
  display: block; transition: transform 0.4s ease;
}
.showcase-card:hover .showcase-img { transform: scale(1.03); }
.showcase-body  { padding: 18px 20px; }
.showcase-tag   { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sudan); margin-bottom: 6px; }
.showcase-title { font-size: 14px; font-weight: 700; color: var(--brunito); margin-bottom: 6px; line-height: 1.3; }
.showcase-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.65; }

/* ── CIVIL ── */
.civil-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.civil-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-top: 3px solid var(--sudan); border-radius: var(--radius-lg); padding: 24px;
  transition: transform var(--transition);
}
.civil-card:hover { transform: translateY(-3px); }
.civil-icon    { width: 40px; height: 40px; background: var(--sudan-tint); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.civil-tag     { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sudan); margin-bottom: 8px; }
.civil-title   { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; color: var(--brunito); }
.civil-desc    { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.civil-horizon { font-family: var(--font-mono); font-size: 11px; color: var(--brunito); padding: 8px 12px; background: var(--surface-alt); border-radius: var(--radius-sm); line-height: 1.5; border-left: 2px solid var(--sudan); }

/* ── WHY + TEAM ── */
.why-team  { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.why-list  { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.why-item  { display: flex; gap: 16px; }
.why-num   { font-family: var(--font-mono); font-size: 11px; color: var(--sudan); min-width: 24px; padding-top: 3px; }
.why-item-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--brunito); }
.why-item-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.team-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.team-card  {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  transition: border-color var(--transition);
}
.team-card:hover { border-color: var(--sudan-tint-strong); }

/* Avatar: dimensioni fisse, overflow hidden, a colori (volti reali) */
.avatar {
  width: 56px; height: 56px; min-width: 56px; min-height: 56px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--brunito); display: block;
}
.avatar img {
  width: 56px; height: 56px;
  object-fit: cover; object-position: center top;
  display: block; border-radius: 50%;
}
.avatar-fallback {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--off-white);
}
.member-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--brunito); }
.member-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sudan); margin-bottom: 8px; }
.member-bio  { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 10px; padding: 2px 8px; border-radius: var(--radius-pill); border: 0.5px solid var(--border); color: var(--sudan); background: var(--sudan-tint); font-family: var(--font-mono); }

/* ── CERTIFICATIONS ── */
.cert-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 40px; }
.cert-card  { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.cert-badge { width: 48px; height: 48px; background: var(--brunito); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 8px; color: var(--off-white); text-align: center; line-height: 1.4; margin-bottom: 16px; }
/* stella SVG eventuale → Sudan */
.cert-badge svg path[fill="#C8A84B"],
.cert-badge svg path[fill="#c8a84b"],
.cert-badge svg path[fill="gold"] { fill: var(--sudan); }
.cert-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--brunito); }
.cert-body  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.patents-list { list-style: none; margin-top: 10px; }
.patents-list li { font-size: 12px; color: var(--text-muted); padding: 5px 0; border-bottom: 0.5px solid var(--border); line-height: 1.5; }
.patents-list li:last-child { border-bottom: none; }
.patents-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.patents-list a:hover { color: var(--sudan); }
.cert-link {
  display: inline-block; margin-top: 14px; font-size: .9em;
  color: var(--sudan); text-decoration: none; font-weight: 500;
}
.cert-link:hover { text-decoration: underline; }

/* ── CTA ── */
.cta-section { background: var(--brunito); padding: 80px 32px; text-align: center; }
.cta-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--off-white-dim); margin-bottom: 16px; }
.cta-section h2 { font-size: clamp(26px,3.5vw,36px); font-weight: 700; color: var(--off-white); margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-section p  { font-size: 15px; color: var(--off-white-dim); max-width: 440px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-accent {
  padding: 14px 28px; background: var(--sudan); color: var(--brunito);
  font-size: 13px; font-weight: 700; border: none; border-radius: var(--radius-sm);
  cursor: pointer; display: inline-block; transition: opacity var(--transition);
}
.btn-accent:hover { opacity: 0.92; }
.btn-outline-white {
  padding: 14px 28px; background: transparent; color: var(--off-white);
  font-size: 13px; border: 0.5px solid rgba(242, 239, 233, 0.4);
  border-radius: var(--radius-sm); cursor: pointer; display: inline-block;
  transition: border-color var(--transition);
}
.btn-outline-white:hover { border-color: var(--off-white); }

/* ── FOOTER ── */
.footer { background: var(--brunito); border-top: 0.5px solid rgba(242, 239, 233, 0.08); }
.footer-logo { display: none; }   /* vecchio logo PNG soppresso */
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  padding: 48px 32px 40px; max-width: 1140px; margin: 0 auto;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col--center {
  align-items: center; justify-content: center; gap: 16px;
  border-left:  0.5px solid rgba(242, 239, 233, 0.08);
  border-right: 0.5px solid rgba(242, 239, 233, 0.08);
  padding: 0 16px;
}
.footer-col--right { align-items: flex-start; }
.footer-contact { font-family: var(--font-mono); font-size: 11px; color: var(--off-white-dim); line-height: 1.9; }
.footer-map-link { color: inherit; text-decoration: none; transition: color var(--transition); }
.footer-map-link:hover { color: var(--off-white); text-decoration: underline; text-underline-offset: 2px; }
.footer-emails { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: 11px; }
.footer-emails span { color: var(--off-white-dim); }
.footer-emails a { color: var(--off-white-dim); transition: color var(--transition); }
.footer-emails a:hover { color: var(--off-white); }

/* Loghi certificati (colori originali, trademark compliance) */
.cert-logo-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(242, 239, 233, 0.08); border-radius: var(--radius-md);
  padding: 12px 10px; width: 100%; transition: background var(--transition);
}
.cert-logo-wrap:hover { background: rgba(242, 239, 233, 0.15); }
.cert-logo-img { width: 120px; height: 48px; object-fit: contain; display: block; }
.cert-logo-caption { font-family: var(--font-mono); font-size: 10px; color: var(--off-white-dim); text-align: center; letter-spacing: 0.06em; }

.footer-links { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--off-white-dim); text-align: left; transition: color var(--transition); }
.footer-links a:hover { color: var(--off-white); }
.footer-links--legal a { font-size: 11px; color: rgba(242, 239, 233, 0.45); }
.footer-bottom { border-top: 0.5px solid rgba(242, 239, 233, 0.06); padding: 16px 32px; text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--off-white-dim); }

/* ── NEWS ── */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.news-card {
  position: relative; display: block;
  background: var(--card); border: 0.5px solid var(--border);
  border-left: 3px solid var(--sudan); border-radius: var(--radius-lg);
  padding: 22px 24px 26px; text-decoration: none; color: inherit;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.news-card--link { cursor: pointer; }
.news-card--link:hover {
  transform: translateY(-2px); border-color: var(--sudan-tint-strong);
  box-shadow: 0 8px 24px rgba(22, 24, 28, 0.04);
}
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.news-date { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.03em; }
.news-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sudan); padding: 3px 8px; border: 1px solid var(--sudan-tint-strong);
  border-radius: var(--radius-sm); background: var(--sudan-tint);
}
.news-title { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--brunito); margin-bottom: 10px; }
.news-desc { font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.news-arrow {
  position: absolute; right: 20px; bottom: 18px;
  font-family: var(--font-mono); font-size: 14px; color: var(--sudan);
  opacity: 0; transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
}
.news-card--link:hover .news-arrow { opacity: 1; transform: translateX(0); }

/* ── FOCUS (accessibilità) ── */
*:focus-visible { outline: 2px solid var(--sudan); outline-offset: 2px; }

/* ── RESPONSIVE 960px ── */
@media (max-width: 960px) {
  .nav-links, .nav-lang, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 40px; }
  .hero-panel { display: none; }
  .hero h1 { font-size: clamp(28px,6vw,40px); }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .cap-grid      { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .cert-grid     { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .civil-grid    { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .showcase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .news-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-team { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px 28px; }
  .footer-col--center {
    border: none; padding: 16px 0 0;
    border-top: 0.5px solid rgba(242, 239, 233, 0.08);
    flex-direction: row; justify-content: flex-start; gap: 16px; align-items: stretch;
  }
  .cert-logo-wrap { width: 140px; flex-shrink: 0; }
  .info-strip { padding: 12px 24px; gap: 12px; }
  .strip-label { min-width: 100px; font-size: 9px; }
  section { padding: 52px 0; }
  .container { padding: 0 24px; }
}

/* ── RESPONSIVE 640px (news) ── */
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE 600px ── */
@media (max-width: 600px) {
  .nav { padding: 0 16px; height: 52px; }
  .wordmark--nav { font-size: 26px; }
  .container { padding: 0 16px; }
  .hero { padding: 32px 16px 28px; }
  .hero h1 { font-size: clamp(24px,7vw,32px); }
  .hero-sub { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 100%; text-align: center; padding: 14px 20px; }
  .services-grid, .cap-grid, .cert-grid, .civil-grid, .showcase-grid { grid-template-columns: 1fr; }
  .showcase-img { aspect-ratio: 4/3; }
  .info-strip { padding: 10px 16px; gap: 10px; flex-wrap: nowrap; overflow-x: auto; }
  .strip-label { min-width: 80px; font-size: 9px; flex-shrink: 0; }
  .logos-list { flex-wrap: nowrap; }
  .footer-top { padding: 28px 16px 20px; gap: 24px; }
  .footer-col--center {
    flex-direction: row; justify-content: flex-start;
    align-items: stretch; gap: 12px; padding: 16px 0 0;
  }
  .cert-logo-wrap { width: 140px; flex-shrink: 0; flex-grow: 0; }
  .cert-logo-img  { width: 100px; height: 40px; }
  .team-card { flex-direction: column; }
  .footer-bottom { padding: 12px 16px; }
  .cta-section { padding: 48px 16px; }
  .cta-btns { flex-direction: column; gap: 10px; align-items: center; }
  .btn-accent, .btn-outline-white { width: 100%; max-width: 300px; text-align: center; }
  section { padding: 44px 0; }
}

/* ── RESPONSIVE 380px ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 22px; }
  .section-title { font-size: 20px; }
  .wordmark--nav { font-size: 24px; }
  .cert-logo-wrap { width: 120px; }
  .cert-logo-img  { width: 80px; height: 36px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}