:root{
  --brand:#0bb3b5;
  --dark:#0f172a;
  --ink:#0b1220;
  --accent:#ff7a29;
  --bg:#0a0f1f;
  --muted:#94a3b8;
  --card:#0e1a2f;
  --white:#ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  color: var(--white);
  background: var(--ink);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   NAVBAR
========================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 16px 0;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 179, 181, 0.1);
  transition: all 0.3s ease;
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(11, 18, 32, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.menu {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

/* Forza visualizzazione desktop oltre 768px */
@media (min-width: 769px) {
  .menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    flex-direction: row !important;
    padding: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.9;
  transition: all 0.3s ease;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.3s ease;
}

.menu a:hover {
  opacity: 1;
  color: var(--brand);
}

.menu a:hover::after {
  width: 100%;
}

.menu a.cta {
  padding: 10px 24px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  background-size: 200% 200%;
  border-radius: 999px;
  font-weight: 600;
  animation: gradientShift 3s ease infinite;
  box-shadow: 0 4px 15px rgba(11, 179, 181, 0.3);
}

.menu a.cta::after {
  display: none;
}

.menu a.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 179, 181, 0.4);
  color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(0.1) contrast(1.1) saturate(1.15);
  animation: fadeIn 1s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 40%, rgba(11,179,181,.3) 0%, transparent 60%), 
    linear-gradient(135deg, rgba(11,179,181,.15) 0%, rgba(255,122,41,.1) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.7), rgba(11,18,32,.95));
  animation: fadeIn 1.2s ease-out;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #0bb3b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-content p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.9s both;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  background-size: 200% 200%;
  padding: 16px 32px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 179, 181, 0.35);
  animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(11, 179, 181, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,.4);
  padding: 14px 30px;
  color: #fff;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 179, 181, 0.25);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0b1220 0%, #0e1a2f 100%);
  position: relative;
  margin: 0;
}

.section.alt {
  background: linear-gradient(180deg, #0e1a2f 0%, #0b1220 100%);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,179,181,0.3), transparent);
}

.section h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 20px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #0bb3b5 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  margin-bottom: 24px;
}

.section .lead strong {
  color: var(--white);
  font-weight: 600;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   GRIDS
========================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

/* =========================
   CARDS
========================= */

.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,179,181,0.1) 0%, rgba(255,122,41,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(11, 179, 181, 0.5);
  box-shadow: 
    0 20px 40px rgba(11, 179, 181, 0.2),
    0 0 0 1px rgba(11, 179, 181, 0.1) inset;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--white);
  position: relative;
}

.card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
  position: relative;
}

/* =========================
   FACILITIES SECTION
========================= */

.facilities-section {
  background: linear-gradient(180deg, #0e1a2f 0%, #0b1220 100%);
  border-top: 1px solid rgba(11,179,181,.2);
  border-bottom: 1px solid rgba(11,179,181,.2);
}

/* =========================
   FOOTER
========================= */

.footer {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(11, 179, 181, 0.08) 0%, transparent 60%),
    #0a0f1f;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(11, 179, 181, 0.2);
  margin-top: 0;
}

.footer > .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) repeat(3, minmax(150px, 1fr));
  gap: 32px 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 300px;
}

.footer-logo-link {
  display: block;
  line-height: 0;
}

.footer-brand img,
.brand-logo.small {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-tagline {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.footer-mini-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(11, 179, 181, 0.35);
  border-radius: 999px;
  background: rgba(11, 179, 181, 0.08);
  white-space: nowrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-col a {
  color: rgba(207, 232, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.footer .copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.footer .social {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.footer .social a {
  color: rgba(207, 232, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* legacy compat */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer .legal-links {
  width: 100%;
  text-align: center;
  font-size: 13px;
}

.footer .legal-links a {
  color: rgba(207, 232, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .legal-links a:hover {
  color: rgba(207, 232, 255, 1);
  text-decoration: underline;
}

@media (min-width: 901px) {
  .footer-grid {
    grid-template-columns: 280px 170px 170px 170px;
    justify-content: space-between;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 36px 0 24px;
  }

  .footer > .container {
    padding: 0 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .nav-inner {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 0;
  }

  .nav-logo {
    font-size: 20px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 64px);
    background: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 32px 0;
    border-left: 1px solid rgba(11, 179, 181, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .menu a::after {
    display: none;
  }

  .menu a.cta {
    margin: 16px 32px;
    width: calc(100% - 64px);
    text-align: center;
    border-bottom: none;
  }

  .hero {
    min-height: 85vh;
    padding-top: 64px;
  }

  .hero-content h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

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

  .card {
    padding: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-stat {
    padding: 16px 12px;
    min-width: 0;
  }

  .hero-stat-value {
    font-size: 28px;
  }

  .hero-stat-label {
    font-size: 10px;
    letter-spacing: 0.03em;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vision-pillar {
    padding: 22px 18px;
    min-width: 0;
  }

  .stats-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stats-band-item {
    min-width: 0;
    padding: 18px 10px;
  }

  .stats-band-item span {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.35;
    overflow-wrap: break-word;
  }
}

/* =========================
   HOMEPAGE WOW — HERO ENHANCED
========================= */

.hero-wow .hero-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(11, 179, 181, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 122, 41, 0.25) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(11, 18, 32, 0.92) 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: pulse 6s ease-in-out infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
  background: rgba(11, 179, 181, 0.2);
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  right: 10%;
  background: rgba(255, 122, 41, 0.15);
  animation-delay: 3s;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(11, 179, 181, 0.5);
  border-radius: 999px;
  background: rgba(11, 179, 181, 0.12);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-infrastructure {
  margin: 0 0 12px;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeInUp 0.8s ease-out 0.35s both;
}

.hero-wow .hero-content {
  max-width: 920px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.section-vision .vision-inner,
.section-stats-band .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-wow .hero-content h1 {
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  background: linear-gradient(135deg, #ffffff 0%, #0bb3b5 50%, #ff7a29 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.45s both;
}

.hero-subtitle {
  font-size: clamp(17px, 2.5vw, 22px) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 640px !important;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-tagline {
  margin: 0 0 36px;
  font-size: clamp(15px, 2vw, 18px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  animation: fadeInUp 1s ease-out 0.75s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeInUp 1s ease-out 1.1s both;
  max-width: 100%;
  width: 100%;
}

.hero-stat {
  padding: 20px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-width: 0;
  box-sizing: border-box;
}

.hero-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 179, 181, 0.4);
}

.hero-stat-highlight {
  background: linear-gradient(135deg, rgba(11, 179, 181, 0.2), rgba(255, 122, 41, 0.15));
  border-color: rgba(11, 179, 181, 0.35);
}

.hero-stat-value {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-highlight .hero-stat-value {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-stat-label {
  display: block;
  margin-top: 6px;
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* =========================
   VISION SECTION
========================= */

.section-vision {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(11, 179, 181, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0e1a2f 50%, #0b1220 100%);
  position: relative;
}

.section-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 179, 181, 0.5), transparent);
}

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

.vision-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-vision h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 32px;
  background: linear-gradient(135deg, #ffffff 0%, #0bb3b5 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-lead {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 24px;
}

.vision-body {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin: 0 0 40px;
}

.vision-quote {
  margin: 0 0 56px;
  padding: 32px 40px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: rgba(11, 179, 181, 0.08);
  text-align: left;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-bottom: 48px;
  text-align: left;
  width: 100%;
}

.vision-pillar {
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-width: 0;
  box-sizing: border-box;
}

.vision-pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 179, 181, 0.35);
}

.vision-pillar-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.vision-pillar h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.vision-pillar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  overflow-wrap: break-word;
  word-break: break-word;
}

.vision-cta {
  margin-top: 8px;
}

/* =========================
   STATS BAND
========================= */

.section-stats-band {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(11, 179, 181, 0.22) 0%, rgba(255, 122, 41, 0.16) 100%);
  position: relative;
}

.stats-band-tagline {
  text-align: center;
  margin: 0 0 32px;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.stats-band-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(11, 18, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
  box-sizing: border-box;
}

.stats-band-item:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 179, 181, 0.2);
}

.stats-band-item-accent {
  background: rgba(11, 18, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(255, 122, 41, 0.15);
}

.stats-band-item strong {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-band-item span {
  display: block;
  margin-top: 8px;
  font-size: clamp(10px, 2.5vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

.stats-band-item-accent strong {
  font-size: clamp(40px, 5vw, 56px);
}

/* =========================
   SUBPAGE HERO (landing interne)
========================= */

.page-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(11, 179, 181, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(255, 122, 41, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #0e1a2f 100%);
  border-bottom: 1px solid rgba(11, 179, 181, 0.15);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-hero .hero-badge {
  margin-bottom: 14px;
}

.page-hero .hero-infrastructure {
  margin: 0 auto 16px;
  max-width: 480px;
  font-size: clamp(12px, 1.5vw, 14px);
  letter-spacing: 0.14em;
}

.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #0bb3b5 60%, #ff7a29 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .hero-tagline {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: clamp(14px, 2vw, 17px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.page-content-start {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-band-item {
    padding: 18px 12px;
  }

  .vision-quote {
    padding: 20px 18px;
  }
}

@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .stats-band-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat,
  .stats-band-item {
    padding: 16px 14px;
  }

  .footer-grid {
    gap: 20px;
  }
}

/* Isola il landing dalle regole app caricate da adaptive-loader */
html.site-landing body {
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  height: auto !important;
  overflow-y: auto !important;
}

html.site-landing.mobile {
  font-size: 16px;
}

html.site-landing .container {
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  max-width: 1100px;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.hero-glow {
  pointer-events: none;
}
