:root {
      --bg: #080c12;
      --bg2: #0d1420;
      --bg3: #111827;
      --accent: #1e6aff;
      --accent2: #00c8ff;
      --gold: #c8a84b;
      --text: #e8edf5;
      --muted: #7a8a9e;
      --border: rgba(30,106,255,0.18);
      --card: rgba(13,20,32,0.85);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2.5rem;
      height: 68px;
      background: rgba(8,12,18,0.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo {
      display: flex; align-items: center;
      text-decoration: none; height: 48px;
    }
    .nav-logo svg { height: 44px; width: auto; }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      color: var(--muted); text-decoration: none; font-size: 0.875rem;
      letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--accent2); }
    .nav-cta {
      background: var(--accent); color: #fff; border: none;
      padding: 0.5rem 1.4rem; border-radius: 4px; font-size: 0.85rem;
      font-weight: 700; cursor: pointer; letter-spacing: 0.06em;
      transition: background 0.2s, transform 0.15s;
      text-decoration: none;
    }
    .nav-cta:hover { background: var(--accent2); color: #000; transform: translateY(-1px); }

    /* ─── HERO ─── */
    #hero {
      position: relative; min-height: 100vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      overflow: hidden; text-align: center; padding: 8rem 2rem 4rem;
    }
    #hero-video {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; opacity: 0.28; z-index: 0;
    }
    .hero-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(180deg,
        rgba(8,12,18,0.5) 0%,
        rgba(8,12,18,0.1) 40%,
        rgba(8,12,18,0.85) 100%);
    }
    .hero-content { position: relative; z-index: 2; max-width: 860px; }
    .hero-badge {
      display: inline-block; font-size: 0.72rem; font-weight: 800;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--accent2); border: 1px solid var(--accent2);
      padding: 0.35rem 1.1rem; border-radius: 2px; margin-bottom: 1.8rem;
    }
    .hero-title {
      font-size: clamp(2.6rem, 7vw, 5.5rem);
      font-weight: 900; line-height: 1.05;
      letter-spacing: -0.02em;
      background: linear-gradient(135deg, #ffffff 0%, var(--accent2) 60%, var(--accent) 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      margin-bottom: 1.5rem;
    }
    .hero-sub {
      font-size: clamp(1rem, 2.2vw, 1.25rem);
      color: rgba(232,237,245,0.75); max-width: 640px; margin: 0 auto 2.5rem;
    }
    .hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .btn-primary {
      background: var(--accent); color: #fff;
      padding: 0.85rem 2.2rem; border-radius: 4px;
      font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
      text-decoration: none; transition: all 0.2s;
      border: 1px solid transparent;
    }
    .btn-primary:hover { background: var(--accent2); color: #000; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,200,255,0.3); }
    .btn-outline {
      background: transparent; color: var(--text);
      padding: 0.85rem 2.2rem; border-radius: 4px;
      font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
      text-decoration: none; border: 1px solid rgba(255,255,255,0.25);
      transition: all 0.2s;
    }
    .btn-outline:hover { border-color: var(--accent2); color: var(--accent2); transform: translateY(-2px); }
    .hero-scroll {
      position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
      z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
      color: var(--muted); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
    }
    .scroll-line {
      width: 1px; height: 48px;
      background: linear-gradient(180deg, var(--accent2), transparent);
      animation: scrollline 1.6s ease-in-out infinite;
    }
    @keyframes scrollline { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.4;transform:scaleY(0.6)} }

    /* ─── SECTIONS ─── */
    section { padding: 6rem 2rem; }
    .container { max-width: 1180px; margin: 0 auto; }
    .section-label {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em;
      text-transform: uppercase; color: var(--accent2);
      margin-bottom: 0.75rem;
    }
    .section-title {
      font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900;
      line-height: 1.15; margin-bottom: 1rem;
      letter-spacing: -0.02em;
    }
    .section-lead {
      font-size: 1.1rem; color: var(--muted);
      max-width: 680px; margin-bottom: 3.5rem;
    }
    .accent-line {
      display: inline-block; width: 48px; height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      border-radius: 2px; margin-bottom: 1.5rem;
    }

    /* ─── BANNER IMG (chi siamo) ─── */
    #about { background: var(--bg2); }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    }
    .about-img {
      width: 100%; border-radius: 6px; border: 1px solid var(--border);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .about-text p { color: rgba(232,237,245,0.8); margin-bottom: 1.2rem; font-size: 1.05rem; }

    /* ─── TECH ─── */
    #technology { background: var(--bg); }
    .tech-banner {
      width: 100%; border-radius: 8px; overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: 0 0 80px rgba(30,106,255,0.12);
      margin-bottom: 3.5rem;
    }
    .tech-banner img { width: 100%; display: block; }
    .tech-steps {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    }
    .tech-step {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 8px; padding: 2rem;
      position: relative; overflow: hidden;
      transition: transform 0.25s, box-shadow 0.25s;
    }
    .tech-step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(30,106,255,0.18); }
    .step-num {
      font-size: 3.5rem; font-weight: 900; line-height: 1;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      margin-bottom: 0.75rem;
    }
    .step-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.6rem; }
    .step-desc { font-size: 0.9rem; color: var(--muted); }
    .tech-step::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(30,106,255,0.04), transparent);
      pointer-events: none;
    }

    /* ─── STATS ─── */
    #stats {
      background: linear-gradient(135deg, #0a1428 0%, #06101e 100%);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 4rem 2rem;
    }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
    .stat-value {
      font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900;
      background: linear-gradient(90deg, #fff, var(--accent2));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      line-height: 1;
    }
    .stat-label { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.08em; margin-top: 0.5rem; text-transform: uppercase; }

    /* ─── TEAM ─── */
    #team { background: var(--bg2); }
    .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
    .team-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 10px; overflow: hidden;
      transition: transform 0.25s, box-shadow 0.25s;
    }
    .team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(30,106,255,0.2); }
    .team-photo { width: 100%; aspect-ratio: 5/5; object-fit: cover; display: block; }
    .team-info { padding: 1.5rem 1.75rem 2rem; }
    .team-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.3rem; }
    .team-role {
      font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent2); margin-bottom: 1rem;
    }
    .team-bio { font-size: 0.9rem; color: rgba(232,237,245,0.7); line-height: 1.65; }

    /* ─── MISSION / VISION / VALUES ─── */
    #mission { background: var(--bg); }
    .mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .mvv-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 8px; padding: 2.25rem 2rem;
      position: relative; overflow: hidden;
    }
    .mvv-icon { font-size: 2rem; margin-bottom: 1rem; }
    .mvv-label {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--accent2); margin-bottom: 0.5rem;
    }
    .mvv-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; }
    .mvv-text { font-size: 0.9rem; color: rgba(232,237,245,0.72); line-height: 1.7; }
    .mvv-card::after {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
    }

    /* ─── VALUES ─── */
    #values { background: var(--bg2); }
    .values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .value-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 8px; padding: 2rem;
      display: flex; gap: 1.25rem; align-items: flex-start;
    }
    .value-icon {
      flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px;
      background: rgba(30,106,255,0.12); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
    }
    .value-title { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
    .value-text { font-size: 0.88rem; color: rgba(232,237,245,0.7); line-height: 1.65; }

    /* ─── GALLERY ─── */
    #gallery { background: var(--bg); }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 220px;
      gap: 1rem;
    }
    .gallery-item { overflow: hidden; border-radius: 6px; border: 1px solid var(--border); }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
    .gallery-item:hover img { transform: scale(1.06); }
    .gallery-item.tall { grid-row: span 2; }
    .gallery-item.wide { grid-column: span 2; }

    /* ─── SUSTAINABILITY ─── */
    #sustainability { background: var(--bg2); }
    .sustain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
    .sustain-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .sustain-imgs img { width: 100%; border-radius: 6px; border: 1px solid var(--border); }
    .sustain-text .section-lead { margin-bottom: 2rem; }
    .sustain-point {
      display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem;
    }
    .sustain-dot {
      flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
      background: var(--accent2); margin-top: 0.55rem;
    }
    .sustain-point p { font-size: 0.95rem; color: rgba(232,237,245,0.78); }

    /* ─── CONTACT ─── */
    #contact {
      background: linear-gradient(135deg, #070b14 0%, #0c1525 100%);
      border-top: 1px solid var(--border);
      text-align: center; padding: 7rem 2rem;
    }
    .contact-inner { max-width: 680px; margin: 0 auto; }
    .contact-inner .section-title { margin-bottom: 1.2rem; }
    .contact-inner p { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
    .contact-email {
      font-size: 1.5rem; font-weight: 800;
      color: var(--accent2); text-decoration: none;
      border-bottom: 2px solid rgba(0,200,255,0.3);
      transition: border-color 0.2s;
    }
    .contact-email:hover { border-color: var(--accent2); }
    .contact-location {
      margin-top: 2rem; font-size: 0.85rem; color: var(--muted);
      letter-spacing: 0.06em;
    }

    /* ─── FOOTER ─── */
    footer {
      background: #040608; padding: 2.5rem 2rem;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1rem;
    }
    .footer-logo {
      font-size: 1rem; font-weight: 900; letter-spacing: 0.12em;
      background: linear-gradient(90deg, #fff, var(--accent2));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .footer-copy { font-size: 0.78rem; color: var(--muted); }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: var(--accent2); }

    /* ─── GLOW ORBS ─── */
    .orb {
      position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
      filter: blur(120px); opacity: 0.08;
    }
    .orb1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -200px; }
    .orb2 { width: 500px; height: 500px; background: var(--accent2); bottom: 20%; left: -200px; }

    /* ─── DIVIDER ─── */
    .section-divider {
      height: 1px; background: var(--border); max-width: 1180px;
      margin: 0 auto;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {
      .about-grid, .sustain-grid { grid-template-columns: 1fr; }
      .tech-steps, .team-grid, .mvv-grid { grid-template-columns: 1fr; }
      .values-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-item.wide { grid-column: span 1; }
      nav .nav-links { display: none; }
      footer { flex-direction: column; text-align: center; }
    }
    @media (max-width: 560px) {
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .gallery-grid { grid-template-columns: 1fr 1fr; }
      .hero-actions { flex-direction: column; align-items: center; }
    }