/* ============================================================
   JOHNSONS GROUP — STYLE.CSS
   Senior Frontend, 2025
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Inter:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700;900&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:       #1a2a5e;
  --navy-light: #243870;
  --navy-dark:  #111d42;
  --gold:       #f5c518;
  --gold-light: #f7d348;
  --cream:      #faf6f0;
  --white:      #ffffff;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a5568;
  --text-light: #94a3b8;

  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --header-h:   80px;
  --max-w:      1200px;
  --max-w-wide: 1400px;
  --pad-x:      clamp(24px, 4vw, 48px);
  --section-py: clamp(72px, 10vw, 128px);
  --radius:     12px;
  --radius-lg:  24px;

  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:           0.35s var(--ease-out);
  --t-fast:      0.18s ease;

  --shadow-sm:  0 2px 8px rgba(26,42,94,0.08);
  --shadow:     0 8px 32px rgba(26,42,94,0.12);
  --shadow-lg:  0 24px 64px rgba(26,42,94,0.18);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--t), height var(--t), background var(--t);
  mix-blend-mode: multiply;
  will-change: left, top;
}
.cursor.big {
  width: 44px; height: 44px;
  background: rgba(245,197,24,0.22);
  border: 1.5px solid var(--gold);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 1000;
  /* FIX 5: dark glass by default so text is readable over dark hero */
  background: rgba(10, 20, 60, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(26,42,94,0.06), var(--shadow-sm);
}
/* White nav links on dark header */
#site-header:not(.scrolled) .nav-list a { color: rgba(255,255,255,0.9); }
#site-header:not(.scrolled) .nav-list a::after { background: var(--gold); }
#site-header:not(.scrolled) .hamburger span { background: var(--white); }
/* Lang dropdown on dark unscrolled header */
#site-header:not(.scrolled) .lang-dropdown-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
#site-header:not(.scrolled) .lang-dropdown-btn:hover {
  background: rgba(255,255,255,0.18);
}
#site-header:not(.scrolled) .btn-header-cta { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
#site-header:not(.scrolled) .btn-header-cta:hover { background: var(--gold); color: var(--navy); }
/* Logo bianco su header non scrollato (sfondo scuro) */
#site-header:not(.scrolled) .header-logo img { filter: brightness(0) invert(1); }
/* Revert to navy on scrolled */
#site-header.scrolled .nav-list a { color: var(--navy); }
.header-inner {
  max-width: var(--max-w-wide); margin: 0 auto;
  padding: 0 var(--pad-x); height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 44px; width: auto; object-fit: contain; transition: opacity var(--t-fast); }
.header-logo img:hover { opacity: 0.8; }
.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list a {
  font-size: 0.875rem; font-weight: 500; color: var(--navy);
  padding: 8px 14px; border-radius: 6px; position: relative;
  transition: color var(--t-fast);
}
.nav-list a::after {
  content: ''; position: absolute;
  bottom: 2px; left: 14px; right: 14px; height: 2px;
  background: var(--gold); border-radius: 1px;
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--t);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a.active,
.nav-list a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.nav-list a.active::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); height: 3px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ── Language Dropdown ── */
.lang-dropdown { position: relative; }

.lang-dropdown-btn {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-condensed); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--navy);
  padding: 6px 10px; border-radius: 7px; cursor: pointer;
  background: rgba(26,42,94,0.06);
  border: 1.5px solid rgba(26,42,94,0.15);
  transition: background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.lang-dropdown-btn:hover { background: rgba(26,42,94,0.1); }
.lang-current-flag { font-size: 1rem; line-height: 1; }
.lang-current-code { font-size: 0.72rem; }
.lang-chevron {
  transition: transform var(--t-fast);
  color: currentColor; opacity: 0.7; flex-shrink: 0;
}
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff;
  border: 1px solid rgba(26,42,94,0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26,42,94,0.14);
  min-width: 168px; padding: 4px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 2000;
}
.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all; transform: none;
}
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px; cursor: pointer;
  transition: background var(--t-fast);
  min-height: 44px;
}
.lang-option:hover { background: #f1f5f9; }
.lang-option.active { background: #e8f0fe; }
.lang-option.active .lo-name,
.lang-option.active .lo-code { color: #1a56db; }
.lo-flag { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.lo-name {
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
  color: var(--text-dark); flex: 1;
}
.lo-code {
  font-family: var(--font-condensed); font-size: 0.7rem; font-weight: 700;
  color: var(--text-light); letter-spacing: 0.06em;
}

.btn-header-cta {
  font-size: 0.8rem; font-weight: 600;
  background: var(--gold); color: var(--navy);
  padding: 9px 18px; border-radius: 7px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-header-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,197,24,0.4); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 1px; transition: transform var(--t), opacity var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — fullscreen overlay */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 999;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-nav.open {
  opacity: 1; pointer-events: all; visibility: visible;
}
.mobile-nav a {
  display: block; font-size: 1.5rem; font-weight: 600;
  color: rgba(250,246,240,0.85); padding: 18px 48px;
  text-align: center; width: 100%; max-width: 340px;
  border-bottom: 1px solid rgba(250,246,240,0.07);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.2s ease;
}
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav a.active,
.mobile-nav a[aria-current="page"] { color: #f5c518; font-weight: 600; }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.24s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.30s; }
.mobile-nav .lang-dropdown {
  margin-top: 36px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out) 0s, transform 0.4s var(--ease-out) 0s;
}
.mobile-nav.open .lang-dropdown { opacity: 1; transform: none; transition-delay: 0.36s; }

/* Mobile dropdown button: white-on-dark */
.mobile-nav .lang-dropdown-btn {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.mobile-nav .lang-dropdown-btn:hover { background: rgba(255,255,255,0.2); }

/* Mobile dropdown menu appears above button (upward) */
.mobile-nav .lang-dropdown-menu {
  top: auto; bottom: calc(100% + 8px); right: 50%; transform: translateX(50%) translateY(6px);
}
.mobile-nav .lang-dropdown.open .lang-dropdown-menu {
  transform: translateX(50%) translateY(0);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; padding: 14px 28px;
  border-radius: 8px; transition: all var(--t); cursor: pointer;
  letter-spacing: 0.02em; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); border: 2px solid var(--gold); }
.btn-primary:hover {
  background: transparent; color: var(--gold);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.3);
}
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid rgba(26,42,94,0.2); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section-inner--wide { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 var(--pad-x); }
.section-tag {
  font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 12px;
}
.section-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.8rem); color: var(--navy); margin-bottom: 20px; line-height: 1.18; }
.section-subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 580px; line-height: 1.75; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up, .fade-left, .fade-right {
  opacity: 0; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up    { transform: translateY(36px); }
.fade-left  { transform: translateX(-36px); }
.fade-right { transform: translateX(36px); }
.fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.20s; }
[data-delay="3"] { transition-delay: 0.30s; }
[data-delay="4"] { transition-delay: 0.40s; }
[data-delay="5"] { transition-delay: 0.50s; }
[data-delay="6"] { transition-delay: 0.60s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: var(--header-h) 24px 80px;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(245,197,24,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.055), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; }
/* FIX 1 — Hero J Orb (replaces logo image) */
.hero-j-orb {
  width: 180px; height: 180px;
  margin: 0 auto 56px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: heroLogoIn 1s var(--ease-out) both;
}
.orb-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(245,197,24,0.22);
  pointer-events: none;
}
.orb-ring-1 { width: 230px; height: 230px; animation: orbPulse 3s ease-in-out infinite 0s; }
.orb-ring-2 { width: 275px; height: 275px; animation: orbPulse 3s ease-in-out infinite 0.7s; }
.orb-ring-3 { width: 320px; height: 320px; animation: orbPulse 3s ease-in-out infinite 1.4s; }
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%       { transform: scale(1.08); opacity: 0.6; }
}
.orb-core {
  width: 180px; height: 180px; border-radius: 50%;
  background: #1a2a5e;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(245,197,24,0.08),
              0 0 50px rgba(245,197,24,0.22),
              0 0 100px rgba(245,197,24,0.08);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
/* Conic arc to make the spin visible */
.orb-core::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 65%, rgba(245,197,24,0.18) 100%);
}
.orb-core-j {
  font-family: var(--font-serif); font-size: 4.2rem; font-weight: 900;
  color: var(--gold); line-height: 1; position: relative; z-index: 1;
  /* counter-rotate so J stays upright */
  animation: orbSpinReverse 8s linear infinite;
}
@keyframes orbSpin        { from { transform: rotate(0deg); }    to { transform: rotate(360deg); }  }
@keyframes orbSpinReverse { from { transform: rotate(0deg); }    to { transform: rotate(-360deg); } }
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-24px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}
.hero-headline {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  color: var(--white); min-height: 1.4em; margin-bottom: 40px;
  animation: fadeUp 1s var(--ease-out) 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.tw-cursor {
  display: inline-block; width: 3px; height: 0.9em;
  background: var(--gold); margin-left: 3px;
  vertical-align: text-bottom; animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  animation: scrollBob 2.5s ease-in-out infinite;
}
.hero-scroll::after { content: ''; width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); }
@keyframes scrollBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(9px); } }

/* ============================================================
   GLOBE SECTION
   ============================================================ */
#globe-section { background: var(--navy); padding: 80px 0 120px; position: relative; overflow: hidden; }
#globe-section .section-tag   { color: rgba(245,197,24,0.9); }
#globe-section .section-title { color: var(--cream); }
#globe-section .section-subtitle { color: rgba(250,246,240,0.6); }

#globe-container {
  position: relative; width: 100%; max-width: 860px; height: 560px; margin: 56px auto 0;
}
#globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#globe-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 110px; height: 110px; border-radius: 50%;
  background: #1a2a5e;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(245,197,24,0.06), 0 0 60px rgba(245,197,24,0.18);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  z-index: 10; cursor: pointer; transition: box-shadow var(--t), transform var(--t);
}
.globe-center-img-wrapper {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
}
.globe-center-img-wrapper img {
  width: 140%; height: 140%;
  object-fit: cover; object-position: 50% 20%;
  margin-left: -20%; margin-top: -15%;
}
#globe-hub:hover {
  box-shadow: 0 0 0 12px rgba(245,197,24,0.1), 0 0 80px rgba(245,197,24,0.3);
  transform: translate(-50%, -50%) scale(1.05);
}
.hub-letter {
  font-family: var(--font-serif); font-size: 2.8rem; font-weight: 900;
  background: linear-gradient(135deg, var(--gold) 0%, #ffe066 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
/* FIX 2B — Satellites: brighter, more legible */
.satellite {
  position: absolute; width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, #1a3a7a 0%, #0d1f4a 100%);
  border: 2px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10px; cursor: pointer; z-index: 20;
  transform: translate(-50%, -50%); backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(245,197,24,0.6), 0 4px 20px rgba(0,0,0,0.4);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: left, top, transform, opacity;
}
.satellite:hover {
  background: var(--gold);
  border-color: var(--white);
  box-shadow: 0 0 24px rgba(255,255,255,0.4), 0 8px 32px rgba(245,197,24,0.5);
}
.satellite:hover .sat-name    { color: var(--navy); }
.satellite:hover .sat-tagline { color: var(--navy); }
.sat-name {
  font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.25;
  transition: color 0.3s;
}
.sat-tagline { font-size: 0.52rem; color: rgba(255,255,255,0.9); margin-top: 4px; line-height: 1.35; transition: color 0.3s; }

.globe-mobile-grid { display: none; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 var(--pad-x); margin-top: 40px; }
.globe-mobile-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(245,197,24,0.25);
  border-radius: var(--radius); padding: 20px 14px; text-align: center;
  cursor: pointer; transition: all var(--t);
}
.globe-mobile-card:hover { background: rgba(245,197,24,0.08); border-color: var(--gold); transform: translateY(-3px); }
.globe-mobile-card .m-name { font-family: var(--font-condensed); font-size: 0.95rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }
.globe-mobile-card .m-tagline { font-size: 0.78rem; color: rgba(250,246,240,0.55); margin-top: 6px; }

/* ============================================================
   NUMBERS
   ============================================================ */
#numbers-section { background: var(--cream); padding: var(--section-py) 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 64px; }
.number-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 20px 32px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.number-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.number-card:hover::before { transform: scaleX(1); }
.number-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.number-val { font-family: var(--font-condensed); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.number-lbl { font-size: 0.82rem; color: var(--navy); font-weight: 500; line-height: 1.4; }

/* ============================================================
   GROUP SECTION
   ============================================================ */
#group-section { padding: var(--section-py) 0; }
.group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 64px; }
.group-text p { font-size: 1.05rem; color: var(--text-mid); line-height: 1.82; }
.group-visual {
  background: var(--navy); border-radius: var(--radius-lg); padding: 56px 40px;
  position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
}
.group-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245,197,24,0.12), transparent 55%);
}

.group-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }
.group-stat-num { font-family: var(--font-condensed); font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.group-stat-lbl { font-size: 0.78rem; color: rgba(250,246,240,0.6); margin-top: 5px; line-height: 1.4; }

/* ============================================================
   ORG CHART
   ============================================================ */
#orgchart-section { background: var(--cream); padding: var(--section-py) 0; overflow: hidden; }
.orgchart { max-width: 960px; margin: 60px auto 0; position: relative; }
.orgchart-root { display: flex; justify-content: center; }
.org-root-box {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 18px 40px; text-align: center; position: relative;
}
.org-root-box::after {
  content: ''; position: absolute; bottom: -40px; left: 50%;
  width: 2px; height: 0; background: var(--gold); transform: translateX(-50%);
  transition: height 0.5s var(--ease-out) 0.2s;
}
.orgchart.animated .org-root-box::after { height: 40px; }
.org-root-name { font-family: var(--font-condensed); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; }
.org-root-sub { font-size: 0.72rem; color: var(--gold); margin-top: 4px; letter-spacing: 0.06em; }

.orgchart-hline-wrap { position: relative; height: 40px; margin-top: 0; }
.orgchart-hline {
  position: absolute; top: 0; left: 8.33%; right: 8.33%;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.7s var(--ease-out) 0.7s;
}
.orgchart.animated .orgchart-hline { transform: scaleX(1); }

.org-children { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.org-child-wrap { display: flex; flex-direction: column; align-items: center; }
.org-child-vline { width: 2px; height: 0; background: var(--gold); transition: height 0.5s var(--ease-out) 1.3s; }
.orgchart.animated .org-child-vline { height: 32px; }
.org-child-box {
  background: var(--white); border: 1.5px solid rgba(26,42,94,0.1);
  border-radius: var(--radius); padding: 14px 10px; text-align: center;
  cursor: pointer; width: 100%;
  opacity: 0; transform: translateY(12px);
  transition: background var(--t), border-color var(--t), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), box-shadow var(--t);
}
.orgchart.animated .org-child-box { opacity: 1; transform: none; }
.org-child-box:hover { background: var(--navy); border-color: var(--gold); transform: translateY(-4px) !important; box-shadow: var(--shadow); }
.org-child-name { font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; transition: color var(--t-fast); }
.org-child-box:hover .org-child-name { color: var(--white); }
.org-child-pct { font-family: var(--font-condensed); font-size: 1.5rem; font-weight: 900; color: var(--gold); margin-top: 8px; line-height: 1; }

/* ============================================================
   SECTORS
   ============================================================ */
#sectors-section { padding: var(--section-py) 0; }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.sector-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 44px 32px;
  position: relative; overflow: hidden; transition: transform var(--t), box-shadow var(--t);
}
.sector-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.sector-card:hover::after { transform: scaleX(1); }
.sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sector-icon { width: 60px; height: 60px; background: var(--navy); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 24px; }
.sector-card h3 { color: var(--navy); margin-bottom: 14px; font-size: 1.25rem; }
.sector-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.72; }

/* ============================================================
   PARTNERS TICKER
   ============================================================ */
#partners-section { background: var(--navy); padding: 56px 0; overflow: hidden; }
#partners-section .section-tag   { color: rgba(245,197,24,0.8); }
#partners-section .section-title { color: var(--cream); }
.ticker-wrap { position: relative; overflow: hidden; margin-top: 36px; }
.ticker-wrap::before, .ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; }
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--navy), transparent); }
.ticker-track { display: flex; align-items: center; gap: 0; animation: ticker 60s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }

/* Text brand ticker */
.ticker-brand {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-brand--serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.12em;
}
.ticker-sep {
  font-size: 15px;
  color: rgba(245,197,24,0.5);
  padding: 0 20px;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 768px) {
  .ticker-brand { font-size: 11px; letter-spacing: 0.12em; }
  .ticker-sep { font-size: 12px; padding: 0 14px; }
  .ticker-track { animation-duration: 75s; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy-dark); color: var(--cream); padding: 80px 0 0; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; }
.footer-logo-img { height: 55px; width: auto; object-fit: contain; object-position: top center; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-desc { font-size: 0.88rem; color: rgba(250,246,240,0.5); line-height: 1.72; max-width: 280px; }
.footer-col h4 { font-family: var(--font-condensed); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(250,246,240,0.5); transition: color var(--t-fast); }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .ico { flex-shrink: 0; font-size: 0.9rem; margin-top: 1px; opacity: 0.6; }
.footer-contact-item p, .footer-contact-item a { font-size: 0.84rem; color: rgba(250,246,240,0.5); line-height: 1.55; transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--max-w); margin: 56px auto 0; padding: 24px var(--pad-x); border-top: 1px solid rgba(250,246,240,0.07); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: 0.78rem; color: rgba(250,246,240,0.3); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; }
.social-link { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(250,246,240,0.15); display: flex; align-items: center; justify-content: center; color: rgba(250,246,240,0.4); font-size: 0.78rem; transition: all var(--t-fast); }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding: calc(var(--header-h) + 72px) 0 72px; background: var(--navy); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(245,197,24,0.055) 1px, transparent 1px); background-size: 32px 32px; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .subtitle { color: rgba(250,246,240,0.65); font-size: 1.08rem; max-width: 560px; }
.page-breadcrumb { font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

/* ============================================================
   SOCIETA PAGE
   ============================================================ */
.company-section { padding: 96px 0; border-bottom: 1px solid rgba(26,42,94,0.07); }
.company-section:nth-child(even) { background: var(--cream); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.company-section.alt .company-grid .company-text  { order: 2; }
.company-section.alt .company-grid .company-visual { order: 1; }
.company-badge { display: inline-flex; align-items: center; background: var(--navy); color: var(--gold); font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; border-radius: 5px; margin-bottom: 18px; }
.company-name { font-family: var(--font-serif); font-size: clamp(1.7rem, 2.8vw, 2.6rem); color: var(--navy); margin-bottom: 10px; line-height: 1.12; }
.company-tagline { font-family: var(--font-serif); font-size: 1.02rem; color: var(--gold); font-style: italic; margin-bottom: 22px; line-height: 1.45; }
.company-desc { font-size: 0.94rem; color: var(--text-mid); line-height: 1.82; margin-bottom: 28px; }
.company-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; padding-top: 24px; border-top: 1px solid rgba(26,42,94,0.08); }
.company-stat-num { font-family: var(--font-condensed); font-size: 1.8rem; font-weight: 900; color: var(--navy); line-height: 1; }
.company-stat-lbl { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.company-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color var(--t-fast); }
.company-link:hover { color: var(--gold); }
.company-visual { background: var(--navy); border-radius: var(--radius-lg); min-height: 380px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.company-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(245,197,24,0.1), transparent 50%); }.company-visual-inner { position: relative; z-index: 1; text-align: center; padding: 32px; }
.company-visual-name { font-family: var(--font-condensed); font-size: 1.8rem; font-weight: 900; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 12px; }
.company-visual-icon { font-size: 3rem; margin-bottom: 16px; }

/* Magazine carousel */
.mag-section { margin-top: 48px; }
.mag-section-label { font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.mag-wrap { overflow: hidden; position: relative; cursor: grab; user-select: none; border-radius: var(--radius); }
.mag-wrap:active { cursor: grabbing; }
.mag-track { display: flex; gap: 14px; animation: magScroll 18s linear infinite; -webkit-animation: magScroll 18s linear infinite; width: max-content; will-change: transform; transform: translateZ(0); -webkit-transform: translateZ(0); }
.mag-track:hover { animation-play-state: paused; -webkit-animation-play-state: paused; }
#pp-mag-track { animation-duration: 278s; -webkit-animation-duration: 278s; animation-delay: -139s; -webkit-animation-delay: -139s; }
#jinfi-mag-track { animation-duration: 356s; -webkit-animation-duration: 356s; animation-delay: -89s; -webkit-animation-delay: -89s; }
#jini-mag-track { animation-duration: 1071s; -webkit-animation-duration: 1071s; animation-delay: -535s; -webkit-animation-delay: -535s; }
#books-mag-track { animation-duration: 146s; -webkit-animation-duration: 146s; animation-delay: -73s; -webkit-animation-delay: -73s; }
.mag-card { width: 180px; height: 260px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex-shrink: 0; padding: 24px 16px; position: relative; overflow: hidden; transition: transform var(--t); cursor: pointer; }
.mag-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.55)); }
.mag-card:hover { transform: scale(1.04) translateY(-3px); }
.mag-icon { font-size: 2.2rem; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.mag-name { font-family: var(--font-condensed); font-size: 1.3rem; font-weight: 900; color: white; letter-spacing: 0.04em; position: relative; z-index: 1; text-align: center; }
@-webkit-keyframes magScroll { from { -webkit-transform: translateX(0); transform: translateX(0); } to { -webkit-transform: translateX(-50%); transform: translateX(-50%); } }
@keyframes magScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.timeline-section { padding: var(--section-py) 0; background: var(--cream); }
.timeline { max-width: 760px; margin: 72px auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold) 0%, rgba(245,197,24,0.1) 100%); transform: translateX(-50%); }
.tl-item { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 20px; margin-bottom: 52px; align-items: center; }
.tl-content { background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.tl-item:nth-child(odd)  .tl-content { grid-column: 1; text-align: right; }
.tl-item:nth-child(odd)  .tl-dot     { grid-column: 2; }
.tl-item:nth-child(odd)  .tl-spacer  { grid-column: 3; }
.tl-item:nth-child(even) .tl-content { grid-column: 3; grid-row: 1; }
.tl-item:nth-child(even) .tl-dot     { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-spacer  { grid-column: 1; grid-row: 1; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); display: flex; align-items: center; justify-content: center; z-index: 1; position: relative; flex-shrink: 0; }
.tl-dot-year { font-family: var(--font-condensed); font-size: 0.81rem; font-weight: 700; color: var(--navy); text-align: center; line-height: 1.2; }
.tl-content h4 { font-family: var(--font-condensed); font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 7px; }
.tl-content p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

.values-section { padding: var(--section-py) 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.value-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 1.5rem; }
.value-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.value-card p  { font-size: 0.84rem; color: var(--text-mid); line-height: 1.65; }

/* ============================================================
   NEWS
   ============================================================ */
.news-page-wrap { padding: var(--section-py) 0; }
.news-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0; }
.filter-btn { font-family: var(--font-condensed); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 18px; border-radius: 6px; border: 1.5px solid rgba(26,42,94,0.15); color: var(--text-mid); background: transparent; cursor: pointer; transition: all var(--t-fast); }
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); cursor: pointer; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-img { height: 220px; position: relative; overflow: hidden; }
.news-img-bg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.news-card:hover .news-img-bg { transform: scale(1.05); }
.news-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.45) 100%); pointer-events: none; }
.news-cat { position: absolute; top: 14px; left: 14px; font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 4px 10px; border-radius: 4px; }
.news-body { padding: 22px 20px 24px; }
.news-date { font-size: 0.76rem; color: var(--text-light); margin-bottom: 10px; }
.news-body h3 { font-size: 1rem; color: var(--navy); line-height: 1.4; margin-bottom: 10px; font-family: var(--font-serif); }
.news-body p  { font-size: 0.84rem; color: var(--text-mid); line-height: 1.62; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-wrap { padding: var(--section-py) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 64px; align-items: start; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.contact-form-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.04em; }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(26,42,94,0.12); border-radius: 8px; font-family: var(--font-sans); font-size: 0.9rem; color: var(--text-dark); background: var(--cream); outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(245,197,24,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); padding: 15px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; border: 2px solid var(--navy); transition: all var(--t); }
.btn-submit:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.3); }
.contact-info-box { background: var(--navy); border-radius: var(--radius-lg); padding: 44px; color: var(--cream); margin-bottom: 20px; }
.contact-info-box h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); margin-bottom: 28px; }
.info-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-icon { width: 38px; height: 38px; flex-shrink: 0; background: rgba(245,197,24,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.info-text { font-size: 0.88rem; color: rgba(250,246,240,0.65); line-height: 1.6; }
.info-text a { color: rgba(250,246,240,0.65); transition: color var(--t-fast); }
.info-text a:hover { color: var(--gold); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 260px; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .org-children  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .sectors-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .group-grid    { grid-template-columns: 1fr; gap: 40px; }
  .company-grid  { grid-template-columns: 1fr; gap: 36px; }
  .company-section.alt .company-grid .company-text,
  .company-section.alt .company-grid .company-visual { order: unset; }
  .contact-grid  { grid-template-columns: 1fr; gap: 36px; }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .header-nav, .btn-header-cta { display: none; }
  .hamburger { display: flex; }
  #globe-container    { height: 340px; overflow: hidden; }
  .globe-mobile-grid  { display: none; }
  .about-intro-grid   { grid-template-columns: 1fr !important; gap: 32px !important; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .org-children { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .news-grid    { grid-template-columns: 1fr; }
  .timeline::before { left: 24px; }
  .tl-item { grid-template-columns: 48px 1fr; gap: 14px; }
  .tl-item:nth-child(odd)  .tl-content,
  .tl-item:nth-child(even) .tl-content { grid-column: 2; grid-row: 1; text-align: left; }
  .tl-item:nth-child(odd)  .tl-dot,
  .tl-item:nth-child(even) .tl-dot { grid-column: 1; grid-row: 1; }
  .tl-spacer { display: none; }
  .contact-form-card { padding: 28px 22px; }
  .contact-info-box  { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .org-children { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FIX 3 — LUCIDE ICONS
   ============================================================ */
/* Base: all Lucide <i> tags render as SVG via lucide.createIcons() */
.sector-icon i, .sector-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold); stroke-width: 1.5;
  fill: none;
}
.value-icon i, .value-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold); stroke-width: 1.5;
  fill: none;
}
.company-visual-icon i, .company-visual-icon svg {
  width: 52px; height: 52px;
  stroke: var(--gold); stroke-width: 1.2;
  fill: none;
}
.info-icon i, .info-icon svg {
  width: 18px; height: 18px;
  stroke: var(--gold); stroke-width: 1.5;
  fill: none;
}
.footer-contact-item .ico i, .footer-contact-item .ico svg {
  width: 15px; height: 15px;
  stroke: rgba(250,246,240,0.55); stroke-width: 1.5;
  fill: none;
}

/* ============================================================
   FIX 4 — IL GRUPPO IN CIFRE (replaces org chart)
   ============================================================ */
#group-numbers-section { background: var(--cream); padding: var(--section-py) 0; }
.group-numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 64px;
}
.gn-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 44px 24px 36px; text-align: center;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.gn-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.gn-card:hover::before { transform: scaleX(1); }
.gn-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.gn-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.gn-icon i, .gn-icon svg {
  width: 26px; height: 26px;
  stroke: var(--gold); stroke-width: 1.5; fill: none;
}
.gn-num {
  font-family: var(--font-condensed);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 10px;
}
.gn-lbl { font-size: 0.84rem; color: var(--navy); font-weight: 500; line-height: 1.4; }

/* ============================================================
   FIX 6 — MAGAZINE REAL COVERS
   ============================================================ */
.mag-card-cover {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s var(--ease-out);
  border-radius: var(--radius);
}
.mag-card:hover .mag-card-cover { transform: scale(1.06); }
.mag-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.55) 100%);
  border-radius: var(--radius);
  opacity: 0; transition: opacity var(--t);
}
.mag-card:hover .mag-card-overlay { opacity: 1; }
.mag-card-logo {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  height: 28px; width: auto; max-width: 80%;
  object-fit: contain; z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.mag-card-read {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-condensed); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: rgba(245,197,24,0.9); border-radius: 4px;
  padding: 5px 12px; z-index: 2;
  opacity: 0; transition: opacity var(--t);
  white-space: nowrap;
}
.mag-card:hover .mag-card-read { opacity: 1; }
/* override old mag-icon/mag-name defaults for cover-style cards */
.mag-card.has-cover .mag-icon { display: none; }
.mag-card.has-cover .mag-name { display: none; }

@media (max-width: 1100px) { .group-numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .group-numbers-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FIX 1 — ORB LOGO IMAGE (counter-rotates to stay upright)
   ============================================================ */
.logo-blend-wrap {
  width: 100%; height: 100%;
  background: #ffffff; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.orb-logo-img {
  width: 95%; height: 95%;
  object-fit: contain; display: block; margin: auto;
  position: relative; top: 8%;
  animation: none !important;
  transform: none !important;
}

/* ============================================================
   TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  #globe-container { height: 440px; max-width: 680px; }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .group-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .mag-card { width: 155px; height: 240px; }
  .group-grid { gap: 48px; }
  .hero-headline { font-size: clamp(1.7rem, 3vw, 2.8rem); }
  .company-grid { gap: 48px; }

  /* Active nav indicator — tablet */
  .nav-list a.active,
  .nav-list a[aria-current="page"] { color: #f5c518; font-weight: 600; }
  .nav-list a.active::after,
  .nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
    height: 3px;
    background: #f5c518;
  }
}

/* ============================================================
   MOBILE (max-width: 768px) — EXPANDED
   ============================================================ */
@media (max-width: 768px) {
  /* Hero */
  .hero-headline { font-size: 2rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-j-orb { width: 140px; height: 140px; margin-bottom: 36px; }
  .orb-core { width: 140px; height: 140px; }
  .orb-ring-1 { width: 185px; height: 185px; }
  .orb-ring-2 { width: 220px; height: 220px; }
  .orb-ring-3 { width: 255px; height: 255px; }

  /* Numbers */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .number-card { padding: 28px 16px 22px; }
  .number-val { font-size: 2.6rem; }

  /* Group section */
  .group-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .group-visual { min-height: auto; padding: 36px 28px; }

  /* Section titles */
  .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
  .section-inner, .section-inner--wide { padding: 0 20px; }

  /* Carousel mobile: animated scroll */
  .mag-card { width: 130px; height: 200px; flex-shrink: 0; }
  .mag-wrap { overflow: hidden; touch-action: pan-y; }

  /* Company section */
  .company-section { padding: 64px 0; }
  .company-visual { min-height: 260px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Contatti */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .value-card { padding: 24px 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  footer { padding: 56px 0 0; }
  .footer-bottom { padding: 20px; flex-direction: column; text-align: center; gap: 16px; }
  .footer-bottom div { justify-content: center; }

  /* Globe numbers section */
  .group-numbers-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .gn-card { padding: 32px 16px 24px; }

  /* Sectors */
  .sectors-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }

  /* Page hero */
  .page-hero { padding: calc(var(--header-h) + 40px) 0 48px; }
  .page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
}

/* ============================================================
   SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-headline { font-size: 1.6rem; }
  .number-val { font-size: 2.5rem; }
  .gn-num { font-size: 2.5rem; }
  .number-card { padding: 24px 12px 18px; }
  .gn-card { padding: 24px 12px 18px; }
  .sector-card { padding: 28px 20px; }
  .value-card { padding: 20px 14px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px 18px; }
  .contact-info-box { padding: 22px 18px; }
  .news-body { padding: 16px 14px 18px; }
  .hero-j-orb { width: 120px; height: 120px; }
  .orb-core { width: 120px; height: 120px; }
  .orb-ring-1 { width: 158px; height: 158px; }
  .orb-ring-2 { width: 190px; height: 190px; }
  .orb-ring-3 { width: 220px; height: 220px; }
  .company-name { font-size: 1.7rem; }
  .footer-grid { gap: 24px; }
  /* Globe: canvas orbitale visibile su mobile, griglia statica sempre nascosta */
  #globe-container   { height: 300px; overflow: hidden; }
  .globe-mobile-grid { display: none; }
  .satellite { width: 72px; height: 72px; padding: 6px; }
  .sat-name { font-size: 0.58rem; }
  .sat-tagline { display: none; }
  /* Stats box (chi-siamo): riduce padding inline */
  .about-intro-grid > div:last-child { padding: 36px 24px !important; }
}

/* ============================================================
   MINI MOBILE (max-width: 320px)
   ============================================================ */
@media (max-width: 320px) {
  .section-inner, .section-inner--wide { padding: 0 12px; }
  .hero-j-orb { width: 96px; height: 96px; }
  .orb-core   { width: 96px; height: 96px; }
  .orb-ring-1 { width: 126px; height: 126px; }
  .orb-ring-2 { width: 154px; height: 154px; }
  .orb-ring-3 { width: 182px; height: 182px; }
  .contact-form-card { padding: 18px 14px; }
  .contact-info-box  { padding: 18px 14px; }
  .company-section   { padding: 40px 0; }
  .about-intro-grid > div:last-child { padding: 24px 16px !important; }
}

/* ============================================================
   PORTFOLIO — NEWSPAPER / HORIZONTAL FORMAT CARDS
   ============================================================ */
.pf-card img.is-newspaper {
  object-fit: contain !important;
  background-color: #faf6f0;
}
