/*
 * MUG Industrial – Combined CSS
 * v4.0.0 – Copiato verbatim dai file HTML originali
 *
 * Organizzazione:
 *   1. Reset, Variabili, Base
 *   2. Navigazione
 *   3. Menu Mobile
 *   4. Hero Homepage (100vh)
 *   5. Page Hero (pagine interne, 40vh)
 *   6. Hero corto (News / Article / Privacy, 40vh)
 *   7. Bottoni
 *   8. Sezioni base
 *   9–12. Homepage (services, quote, why, meta, comp)
 *   13–16. Chi Siamo (intro, forza, filosofia, timeline)
 *   17–24. Servizi (text-block, flow, software, services-list, sectors, macro, steps, cta)
 *   25–27. Galleria (intro, filter/gallery, video)
 *   28. News (news-grid)
 *   29. Article (article-body)
 *   30. Privacy (privacy-body)
 *   31. Contact Strip
 *   32. Footer
 *   33. Scroll Animations
 *
 * NOTE sui conflitti tra pagine:
 *   - La homepage usa .hero con min-height:100vh
 *   - News/Article/Privacy usano .hero-short con min-height:40vh
 *   - Chi Siamo usa .page-hero con testo centrato (classe --center)
 *   - Servizi/Galleria usano .page-hero con testo a sinistra
 */


/* ═══════════════════════════════════════════
   1. RESET, VARIABILI, BASE
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #f5f5f3;
  --bg-alt: #eaeae7;
  --bg-card: #ffffff;
  --border: #d8d8d4;
  --border-light: #e8e8e5;
  --text: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --text-muted: #a0a0a0;
  --accent: #1a1a1a;
  --accent-hover: #333333;
  --blue: #2a5a8c;
  --blue-light: #3a6a9c;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}


/* ═══════════════════════════════════════════
   2. NAVIGAZIONE
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 245, 243, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

/* Nav text: bianco di default (sopra hero scuro), scuro quando scrolled */
.nav .nav-logo { color: #fff; }
.nav .nav-links a { color: rgba(255,255,255,0.85); }
.nav .nav-links a:hover { color: #fff; }
.nav .nav-social a { color: rgba(255,255,255,0.7); }
.nav .nav-social a:hover { color: #fff; }
.nav .nav-lang { color: rgba(255,255,255,0.7); }
.nav .nav-lang span.active { color: #fff; }
.nav .nav-lang span:hover { color: #fff; }
.nav .nav-toggle span { background: #fff; }

.nav.scrolled .nav-logo { color: var(--text); }
.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav.scrolled .nav-links a:hover { color: var(--text); }
.nav.scrolled .nav-social a { color: var(--text-light); }
.nav.scrolled .nav-social a:hover { color: var(--text); }
.nav.scrolled .nav-lang { color: var(--text-light); }
.nav.scrolled .nav-lang span.active { color: var(--text); }
.nav.scrolled .nav-lang span:hover { color: var(--text); }
.nav.scrolled .nav-toggle span { background: var(--text); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a.active { font-weight: 500; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-social a {
  transition: color 0.3s;
}

.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  display: flex;
  gap: 0.25rem;
}

.nav-lang span { cursor: pointer; transition: color 0.3s; padding: 0.25rem; }
.nav-lang span.active { font-weight: 500; }
.nav-lang-sep { opacity: 0.3; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  transition: all 0.3s;
}

@media (max-width: 960px) {
  .nav-links, .nav-social .nav-lang { display: none; }
  .nav-social { gap: 0.75rem; }
  .nav-toggle { display: flex; }
}


/* ═══════════════════════════════════════════
   3. MENU MOBILE
   ═══════════════════════════════════════════ */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 243, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.mobile-menu.active { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--blue); }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}


/* ═══════════════════════════════════════════
   4. HERO HOMEPAGE (100vh, full height)
   Da: index.html
   ═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1f2e;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, #1a1f2e 0%, #252b3d 50%, #1e2333 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

/* Decorative lines */
.hero-deco {
  position: absolute;
  right: clamp(2rem, 8vw, 8rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.08;
}

.hero-deco svg {
  width: clamp(200px, 25vw, 400px);
  height: auto;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-lr;
}

.hero-scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ═══════════════════════════════════════════
   5. PAGE HERO (pagine interne, 40vh)
   Da: chi-siamo.html, area-servizi.html, galleria.html

   Default = left-aligned (servizi/galleria).
   Aggiungere .page-hero--center per chi-siamo.
   ═══════════════════════════════════════════ */

.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1f2e;
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, #1a1f2e 0%, #252b3d 50%, #1e2333 100%);
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-top: 5rem;
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.page-hero-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.page-hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.page-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

/* Decorative element (galleria) */
.page-hero-deco {
  position: absolute;
  right: clamp(2rem, 8vw, 8rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.08;
}

.page-hero-deco svg {
  width: clamp(150px, 18vw, 280px);
  height: auto;
}

/* --- Modifier: Chi Siamo (centrato) --- */
.page-hero--center {
  height: 40vh;
  min-height: 300px;
  justify-content: center;
}

.page-hero--center .page-hero-content {
  text-align: center;
  padding-top: 0;
}

.page-hero--center .page-hero-label {
  justify-content: center;
}

.page-hero--center .page-hero-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

/* --- Modifier: Servizi (titolo leggermente piu piccolo) --- */
.page-hero--servizi .page-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

/* --- Modifier: Galleria (titolo con margin-bottom per sub) --- */
.page-hero--galleria .page-hero-title {
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .page-hero-deco { display: none; }
}


/* ═══════════════════════════════════════════
   6. HERO CORTO (News / Article / Privacy, 40vh)
   Da: news.html, news-article-1.html, privacy-policy.html

   Usa .hero-short invece di .hero per evitare
   conflitto con l'hero homepage (100vh).
   ═══════════════════════════════════════════ */

.hero-short {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1f2e;
  z-index: 1;
}

.hero-short .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, #1a1f2e 0%, #252b3d 50%, #1e2333 100%);
}

.hero-short .hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-short .hero-content {
  position: relative;
  z-index: 3;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-short .hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-short .hero-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.hero-short .hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

/* Article hero: titolo piu piccolo + meta */
.hero-short--article .hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  max-width: 720px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.hero-meta-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}

.hero-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  padding: 0.3rem 0.75rem;
}


/* ═══════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════
   7. BOTTONI
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.85rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover { background: var(--accent-hover); }
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn--white {
  background: #fff;
  color: var(--text);
}
.btn--white:hover { background: var(--bg); }

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.65rem;
}


/* ═══════════════════════════════════════════
   8. SEZIONI BASE
   ═══════════════════════════════════════════ */

.section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}


/* ═══════════════════════════════════════════
   9. HOMEPAGE – Services Grid
   Da: index.html
   ═══════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--bg-card);
  padding: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover { background: var(--bg); }

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--text-light);
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.service-card .subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: -0.5rem;
}

.service-card .btn--sm {
  align-self: flex-start;
  margin-top: auto;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

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


/* ═══════════════════════════════════════════
   10. HOMEPAGE – Quote Section
   Da: index.html, chi-siamo.html
   ═══════════════════════════════════════════ */

.quote-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quote-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 4rem;
  line-height: 0.5;
  color: var(--border);
  display: block;
  margin-bottom: 1.5rem;
}

.quote-text {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}


/* ═══════════════════════════════════════════
   11. HOMEPAGE – Why Choose Us
   Da: index.html
   ═══════════════════════════════════════════ */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.why-visual {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-visual-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.why-visual-item:last-child { border-bottom: none; }

.why-visual-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  min-width: 24px;
}

.why-visual-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.why-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 2rem;
}

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


/* ═══════════════════════════════════════════
   12. HOMEPAGE – Metamorphosis & Competencies
   Da: index.html
   ═══════════════════════════════════════════ */

/* Metamorphosis */
.meta-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.meta-card {
  background: var(--bg-alt);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: background 0.3s;
}

.meta-card:hover { background: var(--bg-card); }

.meta-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.meta-icon svg {
  width: 48px;
  height: 48px;
}

.meta-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.meta-number {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

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

/* Competencies */
.comp-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.comp-card {
  background: var(--bg-card);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background 0.3s;
}

.comp-card:hover { background: var(--bg); }

.comp-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 300;
  color: var(--border);
  min-width: 60px;
  text-align: center;
}

.comp-content h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.comp-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 400;
  max-width: 600px;
}

.comp-action {
  min-width: 130px;
  text-align: right;
}

@media (max-width: 768px) {
  .comp-card { grid-template-columns: 1fr; }
  .comp-number { min-width: auto; text-align: left; }
  .comp-action { text-align: left; }
}


/* ═══════════════════════════════════════════
   13. CHI SIAMO – Intro Grid
   Da: chi-siamo.html
   ═══════════════════════════════════════════ */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.intro-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-highlight-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.intro-highlight-number {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.intro-highlight-number .big {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}

.intro-highlight-number .unit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.intro-highlight p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 400;
}

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


/* ═══════════════════════════════════════════
   14. CHI SIAMO – Punti di Forza
   Da: chi-siamo.html
   ═══════════════════════════════════════════ */

.forza-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.forza-content {
  max-width: 800px;
}

.forza-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.forza-content p:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════
   15. CHI SIAMO – Filosofia & Albo
   Da: chi-siamo.html
   ═══════════════════════════════════════════ */

.filosofia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.filosofia-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.filosofia-text p:last-child {
  margin-bottom: 0;
}

.albo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.albo-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.albo-year {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
}

.albo-card p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 400;
}

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


/* ═══════════════════════════════════════════
   16. CHI SIAMO – Timeline
   Da: chi-siamo.html
   ═══════════════════════════════════════════ */

.timeline-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 180px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 160px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem) 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -6.5px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--bg-alt);
  border: 2px solid var(--text-light);
  border-radius: 50%;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}

.timeline-item:hover .timeline-dot {
  border-color: var(--text);
  background: var(--text);
}

.timeline-year {
  position: absolute;
  left: -180px;
  top: 0;
  width: 140px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition: border-color 0.3s;
}

.timeline-item:hover .timeline-content {
  border-color: var(--border);
}

.timeline-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 400;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 2rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-dot {
    left: -6.5px;
  }

  .timeline-year {
    position: relative;
    left: 0;
    width: auto;
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }
}


/* ═══════════════════════════════════════════
   17. SERVIZI – Text Block & Sub Title
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.text-block {
  max-width: 800px;
}

.text-block p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.sub-title {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
}


/* ═══════════════════════════════════════════
   18. SERVIZI – Project Flow Timeline (7 Steps)
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.flow-section {
  margin: 3rem 0;
}

.flow-timeline {
  position: relative;
  padding-left: 80px;
  max-width: 700px;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.flow-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}

.flow-item:last-child {
  padding-bottom: 0;
}

.flow-dot {
  position: absolute;
  left: -51px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 2px solid var(--text-light);
  border-radius: 50%;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}

.flow-item:hover .flow-dot {
  border-color: var(--text);
  background: var(--text);
}

.flow-number {
  position: absolute;
  left: -80px;
  top: 0;
  width: 20px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.flow-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s;
}

.flow-item:hover .flow-content {
  border-color: var(--border);
}

.flow-content p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 400;
}


/* ═══════════════════════════════════════════
   19. SERVIZI – Software Grid
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.software-section {
  margin: 3rem 0;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
}

.software-card {
  background: var(--bg-card);
  padding: 1.75rem;
  transition: background 0.3s;
}

.software-card:hover {
  background: var(--bg);
}

.software-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.software-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 400;
}


/* ═══════════════════════════════════════════
   20. SERVIZI – Services List & Sector Pills
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
}

.services-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.services-list-item:last-child {
  border-bottom: none;
}

.services-list-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--border);
  flex-shrink: 0;
}

/* Sector Pills */
.sectors-wrap {
  margin: 3rem 0;
}

.sectors-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sector-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}

.sector-pill:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}


/* ═══════════════════════════════════════════
   21. SERVIZI – Macro Sectors Grid (3-col)
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.macro-section {
  margin: 3rem 0;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.macro-card {
  background: var(--bg-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background 0.3s;
}

.macro-card:hover {
  background: var(--bg);
}

.macro-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.macro-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.macro-list li {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.macro-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

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


/* ═══════════════════════════════════════════
   22. SERVIZI – Steps (10 steps – Fascicolo Tecnico)
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.steps-section {
  margin: 3rem 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.step-card {
  background: var(--bg-card);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem clamp(1.5rem, 3vw, 2rem);
  transition: background 0.3s;
}

.step-card:hover {
  background: var(--bg);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--border);
  text-align: center;
}

.step-content h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 400;
}

@media (max-width: 480px) {
  .step-card { grid-template-columns: 1fr; }
  .step-number { text-align: left; }
}


/* ═══════════════════════════════════════════
   23. SERVIZI – CTA Band & Section Divider
   Da: area-servizi-e-progetti.html
   ═══════════════════════════════════════════ */

.cta-band {
  margin: 3rem 0;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0;
}


/* ═══════════════════════════════════════════
   24. GALLERIA – Intro Section
   Da: galleria.html
   ═══════════════════════════════════════════ */

.intro-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-bottom: 1px solid var(--border-light);
}

.intro-inner {
  max-width: 800px;
}

.intro-section .intro-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
}


/* ═══════════════════════════════════════════
   25. GALLERIA – Filter Tabs & Gallery Grid
   Da: galleria.html
   ═══════════════════════════════════════════ */

.filter-section {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  border-color: var(--text);
  color: var(--text);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.gallery-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  overflow: hidden;
}

.gallery-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gallery-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 60%);
  z-index: 1;
}

/* Subtle grey gradient variations for placeholder backgrounds */
.gallery-card[data-gradient="1"] .gallery-card-image::before {
  background: linear-gradient(135deg, #c8c8c4 0%, #d8d8d4 40%, #bfbfbb 100%);
}
.gallery-card[data-gradient="2"] .gallery-card-image::before {
  background: linear-gradient(160deg, #d0d0cc 0%, #c0c0bc 50%, #d5d5d1 100%);
}
.gallery-card[data-gradient="3"] .gallery-card-image::before {
  background: linear-gradient(120deg, #b8b8b4 0%, #d2d2ce 60%, #c5c5c1 100%);
}
.gallery-card[data-gradient="4"] .gallery-card-image::before {
  background: linear-gradient(145deg, #d4d4d0 0%, #bababf 40%, #cdcdca 100%);
}
.gallery-card[data-gradient="5"] .gallery-card-image::before {
  background: linear-gradient(170deg, #c2c2be 0%, #d6d6d2 50%, #bcbcb8 100%);
}
.gallery-card[data-gradient="6"] .gallery-card-image::before {
  background: linear-gradient(130deg, #cacac6 0%, #b5b5b1 45%, #d0d0cc 100%);
}
.gallery-card[data-gradient="7"] .gallery-card-image::before {
  background: linear-gradient(155deg, #bebeba 0%, #d3d3cf 55%, #c0c0bc 100%);
}

.gallery-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
  padding: 0.3rem 0.6rem;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gallery-card-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.gallery-card.hidden {
  display: none;
}

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 0.35rem; }
  .filter-tab {
    font-size: 0.6rem;
    padding: 0.5rem 1rem;
  }
}


/* ═══════════════════════════════════════════
   26. GALLERIA – Video Section
   Da: galleria.html
   ═══════════════════════════════════════════ */

.video-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.video-card {
  position: relative;
  background: #1a1f2e;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1a1f2e 0%, #252b3d 50%, #1e2333 100%);
  z-index: 0;
}

.video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.video-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.video-card:hover .video-play {
  transform: scale(1.1);
  background: rgba(255,255,255,0.2);
}

.video-play {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.video-play svg {
  color: #fff;
  margin-left: 3px;
}

.video-card-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 0 1.5rem;
  line-height: 1.4;
}

.video-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 2;
}

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


/* ═══════════════════════════════════════════
   27. NEWS – News Grid
   Da: news.html
   ═══════════════════════════════════════════ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.news-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #d8d8d4 0%, #c0c0bc 50%, #d8d8d4 100%);
  position: relative;
  overflow: hidden;
}

.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
}

.news-card-body {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-card-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.news-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--bg-alt);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-light);
}

.news-card-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.news-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 400;
}

.news-card-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: gap 0.3s;
}

.news-card:hover .news-card-link { gap: 0.75rem; }

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


/* ═══════════════════════════════════════════
   28. ARTICLE – Article Content
   Da: news-article-1.html
   ═══════════════════════════════════════════ */

.article-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 2rem;
}

.article-body h2 {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  margin-top: 3rem;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  line-height: 1.35;
}

.article-phase {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 2px solid var(--accent);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.article-phase:hover {
  background: var(--bg-alt);
}

.article-phase-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.article-phase p {
  margin-bottom: 0;
}

.article-body ul {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-body ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 400;
  padding-left: 1.5rem;
  position: relative;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1px;
  background: var(--text);
}

.article-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* Article Navigation */
.article-nav {
  border-top: 1px solid var(--border-light);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.article-nav-inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.85rem 1.75rem;
  transition: all 0.3s ease;
}

.article-back-link:hover { background: var(--accent-hover); }
.article-back-link svg { transition: transform 0.3s; }
.article-back-link:hover svg { transform: translateX(-3px); }


/* ═══════════════════════════════════════════
   29. PRIVACY – Privacy Content
   Da: privacy-policy.html
   ═══════════════════════════════════════════ */

.privacy-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.privacy-body {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-company {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
}

.privacy-body > p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 2rem;
}

.privacy-body h2 {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  margin-top: 3rem;
  line-height: 1.3;
}

.privacy-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.privacy-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 2px solid var(--accent);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.privacy-block:hover {
  background: var(--bg-alt);
}

.privacy-block-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.privacy-block p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 0;
}

.privacy-body a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.privacy-body a:hover {
  border-bottom-color: var(--text);
}


/* ═══════════════════════════════════════════
   30. CONTACT STRIP
   ═══════════════════════════════════════════ */

.contact-strip {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  background: #1a1f2e;
  color: #fff;
}

.contact-strip h2 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-strip p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 2rem;
}


/* ═══════════════════════════════════════════
   31. FOOTER
   ═══════════════════════════════════════════ */

.footer {
  background: #15191f;
  color: rgba(255,255,255,0.6);
  padding: clamp(3rem, 6vw, 4rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: #fff; }

.footer-col address {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}

.footer-col address a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col address a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
}

.footer-social { display: flex; gap: 1rem; }

.footer-social a {
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.footer-social a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   32. SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ═══════════════════════════════════════════
   33. OXYGEN COMPATIBILITY
   Il template e le pagine usano ct_code_block con HTML puro.
   Serve solo neutralizzare ct-section-inner-wrap (aggiunto da Oxygen
   intorno a ct_inner_content) e il link color globale.
   ═══════════════════════════════════════════ */

/* ct-section-inner-wrap: Oxygen lo aggiunge dentro ct_inner_content */
.ct-section-inner-wrap {
  display: block !important;
  max-width: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
