    :root {
      --bg:          #070809;
      --card-bg:     #111416;
      --accent:      #ff8c00;
      --accent-light:#ffb347;
      --accent-dim:  #cc7000;
      --accent-glow: rgba(255, 140, 0, 0.3);
      --text:        #ffffff;
      --text-m:      #d4d4d4;
      --text-l:      #888;
      --border:      rgba(255, 255, 255, 0.07);
      --border-h:    rgba(255, 255, 255, 0.13);
      --glass:       rgba(255, 255, 255, 0.025);
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: auto; }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      cursor: none;
    }

    /* ── CUSTOM CURSOR ───────────────────────────────── */
    #cursor-dot {
      position: fixed;
      width: 8px; height: 8px;
      background: var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 99999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, opacity 0.2s;
      mix-blend-mode: normal;
    }
    #cursor-ring {
      position: fixed;
      width: 36px; height: 36px;
      border: 1.5px solid rgba(255,140,0,0.6);
      border-radius: 50%;
      pointer-events: none;
      z-index: 99998;
      transform: translate(-50%, -50%);
      transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    }
    body:has(a:hover) #cursor-ring,
    body:has(button:hover) #cursor-ring {
      width: 56px; height: 56px;
      border-color: var(--accent);
    }
    @media (hover: none) {
      #cursor-dot, #cursor-ring { display: none; }
      body { cursor: auto; }
    }

    /* ── SCROLL PROGRESS BAR ─────────────────────────── */
    #scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent-light));
      z-index: 9999;
      width: 0%;
      transition: width 0.1s linear;
      box-shadow: 0 0 8px var(--accent-glow);
    }

    /* ── BACKGROUND CANVAS ───────────────────────────── */
    #particle-canvas {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: -2;
      pointer-events: none;
      opacity: 0.5;
    }

    /* ── ANIMATED GRADIENT ORBS ──────────────────────── */
    .orb-container {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: -1;
      pointer-events: none;
      overflow: hidden;
    }
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.12;
      animation: orb-drift 20s ease-in-out infinite;
      will-change: transform;
    }
    .orb-1 {
      width: 600px; height: 600px;
      background: var(--accent);
      top: -100px; left: -100px;
      animation-duration: 25s;
      animation-delay: 0s;
      will-change: transform;
    }
    .orb-2 {
      width: 500px; height: 500px;
      background: #ff4400;
      bottom: -150px; right: -100px;
      animation-duration: 30s;
      animation-delay: -10s;
      opacity: 0.07;
      will-change: transform;
    }
    .orb-3 {
      width: 300px; height: 300px;
      background: var(--accent-light);
      top: 50%; left: 50%;
      animation-duration: 18s;
      animation-delay: -5s;
      opacity: 0.06;
      will-change: transform;
    }
    @keyframes orb-drift {
      0%, 100% { transform: translate(0, 0) scale(1); }
      25%       { transform: translate(40px, -60px) scale(1.05); }
      50%       { transform: translate(-30px, 40px) scale(0.95); }
      75%       { transform: translate(60px, 20px) scale(1.02); }
    }

@media (max-width: 768px) {
  #particle-canvas { display: none; }
}

    /* ── NOISE TEXTURE OVERLAY ───────────────────────── */
    .noise-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 0;
      pointer-events: none;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      background-size: 200px 200px;
    }

    /* ── LANGUAGE TRANSITION ─────────────────────────── */
    main { transition: opacity 0.4s ease, transform 0.4s ease; will-change: opacity, transform; }
    .lang-switching { opacity: 0; transform: translateY(12px); }

    /* ── HEADER ──────────────────────────────────────── */
    header {
      position: fixed; top: 0; left: 0;
      width: 100%; height: 90px;
      z-index: 1000;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    header::before {
      content: '';
      position: absolute; inset: 0;
      background: transparent;
      transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: -1; pointer-events: none;
    }

header.scrolled::before {
  inset: 12px 12vw;
  /* Lower the 0.88 to 0.5 for more transparency */
  background: rgba(8, 9, 10, 0.5); 
  
  /* backdrop-filter handles the translucency/blur effect */
  backdrop-filter: blur(15px) saturate(1.4);
  -webkit-backdrop-filter: blur(15px) saturate(1.4);
  
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

    /* ── NAV ─────────────────────────────────────────── */
    nav {
      width: 100%; max-width: 1300px; padding: 0 7vw;
      display: flex; justify-content: space-between; align-items: center;
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    header.scrolled nav { transform: scale(0.85); }

    .logo {
      display: flex; align-items: center;
    }
    .logo img {
      height: 38px; width: auto;
      transition: transform 0.3s ease, filter 0.3s ease;
    }
    .logo:hover img {
      transform: scale(1.05);
      filter: sepia(100%) saturate(1000%) hue-rotate(10deg) drop-shadow(0 0 12px var(--accent));
    }
    header.scrolled .logo img { transform: scale(0.85); }

    .nav-links {
      display: flex; gap: 2.5rem;
      transition: gap 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    header.scrolled .nav-links { gap: 2rem; }

    .nav-links a {
      color: var(--text-l); text-decoration: none; font-weight: 600;
      font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1.4px;
      position: relative; padding: 0.35rem 0; display: inline-block;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -2px; left: 0;;
      width: 0; height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent-light));
      transition: width 0.3s ease;
      border-radius: 2px;
    }
    .nav-links a:hover {
      color: var(--text); transform: translateX(2px);
    }
    .nav-links a:hover::after { width: 100%; }
    .nav-links a:focus-visible { outline: 2px solid rgba(255,140,0,0.8); outline-offset: 6px; }

    /* ── LANGUAGE SWITCHER ───────────────────────────── */
    .lang-switcher {
      display: flex; gap: 0.4rem; margin-left: 1.5rem;
      padding: 4px; background: rgba(255,255,255,0.04);
      border-radius: 50px; border: 1px solid var(--border);
    }
    .lang-btn {
      background: transparent; border: none; color: var(--text-l);
      font-size: 0.68rem; font-weight: 700; padding: 5px 10px;
      cursor: none; border-radius: 50px; transition: 0.3s; letter-spacing: 0.5px;
    }
    .lang-btn.active {
      background: linear-gradient(135deg, var(--accent), var(--accent-dim));
      color: white; box-shadow: 0 4px 14px var(--accent-glow);
    }

    /* ── MOBILE MENU TOGGLE ──────────────────────────── */
    .menu-toggle {
      display: none; flex-direction: column; gap: 6px;
      cursor: none; background: none; border: none; z-index: 2000; padding: 10px;
    }
    .menu-toggle span {
      display: block; width: 28px; height: 2px;
      background-color: var(--text); border-radius: 2px; transition: 0.3s;
    }

    /* ── HERO ────────────────────────────────────────── */
    .hero {
      position: relative; min-height: 100vh;
      display: flex; align-items: center; justify-content: center;
      text-align: center; padding: 0 5vw; overflow: hidden;
    }

.video-background {
  position: fixed; /* Keeps it locked to the viewport */
  top: 0;
  left: 0;
  width: 100vw;    /* 100% of the viewport width */
  height: 100vh;   /* 100% of the viewport height */
  z-index: -1;     /* Keeps it behind your content */
  overflow: hidden;
}

.video-background video {
  min-width: 100%; 
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the video */
  object-fit: cover; /* This is the "magic" property */
}

    .video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* This adds the 20% black tint */
  background-color: rgba(0, 0, 0, 0.3); 
  /* This keeps your existing gradient on top of the tint */
  background-image: linear-gradient(to bottom,
    rgba(7, 8, 9, 0.3) 0%,
    rgba(7, 8, 9, 0.55) 60%,
    rgba(7, 8, 9, 0.9) 100%);
    }

    /* Hero content */
    .hero-content {
      position: relative; z-index: 1;
      padding-top: 120px;
    }

    /* Badge */
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,140,0,0.1); border: 1px solid rgba(255,140,0,0.3);
      color: var(--accent-light); padding: 6px 16px; border-radius: 50px;
      font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
      margin-bottom: 2rem; backdrop-filter: blur(10px);
      animation: badge-pulse 3s ease-in-out infinite;
    }
    .hero-badge::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); animation: dot-pulse 1.5s ease-in-out infinite;
    }
    @keyframes badge-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,0,0); }
      50%       { box-shadow: 0 0 20px rgba(255,140,0,0.15); }
    }
    @keyframes dot-pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.5; transform: scale(0.7); }
    }

    h1 {
      font-size: clamp(2.8rem, 9vw, 6rem);
      font-weight: 900; line-height: 1.0;
      margin-bottom: 1.5rem; letter-spacing: -4px;
    }

    .hero-accent {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #fff 100%);
      background-size: 200% auto;
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: shimmer-text 4s linear infinite;
    }
    @keyframes shimmer-text {
      0%   { background-position: 0% center; }
      100% { background-position: 200% center; }
    }

    .lead {
      font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-m);
      max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.8;
      text-wrap: balance; font-weight: 300;
    }

    .hero-cta-group {
      display: flex; align-items: center; justify-content: center; gap: 1.2rem;
      flex-wrap: wrap;
    }

    /* ── BUTTONS ─────────────────────────────────────── */
    .btn {
      padding: 1rem 2.4rem; border-radius: 50px; font-weight: 700;
      font-size: 0.95rem; text-decoration: none; display: inline-flex;
      align-items: center; gap: 8px; cursor: none;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative; overflow: hidden;
    }
    .btn::before {
      content: '';
      position: absolute; top: 50%; left: 50%;
      width: 0; height: 0;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      transition: width 0.5s ease, height 0.5s ease;
    }
    .btn:hover::before { width: 300px; height: 300px; }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
      color: white; box-shadow: 0 8px 32px rgba(255,140,0,0.35);
    }
    .btn-primary:hover {
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 20px 50px rgba(255,140,0,0.45);
    }
    .btn-ghost {
      background: rgba(255,255,255,0.05);
      color: var(--text-m);
      border: 1px solid var(--border-h);
      backdrop-filter: blur(10px);
    }
    .btn-ghost:hover {
      background: rgba(255,255,255,0.09);
      color: var(--text);
      transform: translateY(-3px);
      border-color: rgba(255,255,255,0.2);
    }

    /* ── SCROLL INDICATOR ────────────────────────────── */
    .scroll-indicator {
      position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      color: var(--text-l); font-size: 0.7rem; letter-spacing: 2px;
      text-transform: uppercase; animation: float 3s ease-in-out infinite;
    }
    .scroll-indicator .mouse {
      width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,0.2);
      border-radius: 20px; display: flex; justify-content: center; padding-top: 6px;
    }
    .scroll-indicator .wheel {
      width: 3px; height: 7px; background: var(--accent);
      border-radius: 3px; animation: scroll-wheel 2s ease-in-out infinite;
    }
    @keyframes scroll-wheel {
      0%   { transform: translateY(0); opacity: 1; }
      100% { transform: translateY(14px); opacity: 0; }
    }
    @keyframes float {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50%       { transform: translateX(-50%) translateY(-8px); }
    }

    /* ── SECTIONS ────────────────────────────────────── */
    section { padding: 9rem 5vw; max-width: 1300px; margin: 0 auto; }

    .section-eyebrow {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
      text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
      display: inline-flex; align-items: center; gap: 10px;
    }
    .section-eyebrow::before {
      content: ''; display: block; width: 24px; height: 1.5px;
      background: var(--accent); border-radius: 2px;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3.4rem);
      font-weight: 800; margin-bottom: 1.5rem;
      letter-spacing: -2px; line-height: 1.1;
    }

    /* ── CARDS ───────────────────────────────────────── */
    .card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      padding: 3rem 2.2rem; border-radius: 24px;
      transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative; overflow: hidden;
    }
    .card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,140,0,0.06) 0%, transparent 60%);
      opacity: 0; transition: opacity 0.4s ease;
      pointer-events: none; border-radius: inherit;
    }
    .card:hover::before { opacity: 1; }
    .card::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
      border-radius: inherit; pointer-events: none;
    }
    .card:hover {
      border-color: rgba(255,140,0,0.3);
      transform: translateY(-8px);
      box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,140,0,0.1);
    }

    .card-icon {
      font-size: 2.4rem; margin-bottom: 1.5rem; display: block;
      filter: drop-shadow(0 0 12px var(--accent-glow));
      transition: transform 0.3s ease;
    }
    .card:hover .card-icon { transform: scale(1.15) rotate(-5deg); }

    .card h3, .card h4 { margin-bottom: 0.8rem; font-size: 1.3rem; font-weight: 700; }
    .card p { color: var(--text-l); font-size: 0.95rem; line-height: 1.7; }

    /* Numbered accent for cards */
    .card-number {
      position: absolute; top: 1.5rem; right: 1.8rem;
      font-size: 4rem; font-weight: 900; line-height: 1;
      color: rgba(255,255,255,0.075); letter-spacing: -2px;
      font-variant-numeric: tabular-nums;
    }

    /* ── GRID ────────────────────────────────────────── */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    /* Staggered entrance */
    .stagger > * {
      opacity: 0; transform: translateY(40px);
      transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .stagger.in-view > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
    .stagger.in-view > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
    .stagger.in-view > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
    .stagger.in-view > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }
    .stagger.in-view > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.45s; }
    .stagger.in-view > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.55s; }

    /* ── REVEAL ──────────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(36px);
      transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.active { opacity: 1; transform: none; }

    /* ── GRADIENT LINE DIVIDER ───────────────────────── */
    .grad-line {
      width: 80px; height: 3px; border-radius: 3px; margin: 0 auto 4rem;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      animation: grad-line-shift 3s ease-in-out infinite;
    }
    @keyframes grad-line-shift {
      0%, 100% { background-position: 0% 50%; opacity: 0.6; }
      50%       { background-position: 100% 50%; opacity: 1; }
    }

    /* ── CALCULATOR ──────────────────────────────────── */
    #calculator {
      transform: scale(0.90); transform-origin: top center;
      margin-top: -4rem; margin-bottom: -8rem;
    }

    .calc-card {
      background: var(--card-bg); border: 1px solid var(--border);
      border-radius: 28px; padding: 3rem;
      box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    }
    .calc-columns { display: flex; gap: 40px; flex-wrap: wrap; }
    .calc-column { flex: 1; min-width: 280px; }
    .calc-column h3 { margin-bottom: 2rem; color: var(--accent); font-size: 1.2rem; font-weight: 700; }

    .input-group { margin-bottom: 1.3rem; }
    .input-group label {
      display: block; margin-bottom: 0.5rem;
      font-weight: 500; font-size: 0.82rem; color: var(--text-l);
      letter-spacing: 0.3px;
    }
    .input-group input {
      width: 100%; padding: 12px 16px;
      background: rgba(255,255,255,0.03); border: 1px solid var(--border);
      border-radius: 12px; color: white; font-size: 0.95rem;
      transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
      font-family: inherit;
    }
    .input-group input:focus {
      outline: none; border-color: var(--accent);
      background: rgba(255,140,0,0.04);
      box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
    }

    .results-box {
      background: rgba(255,255,255,0.02); padding: 1.8rem;
      border-radius: 18px; border: 1px solid var(--border);
    }
    .output-item {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 1rem; padding-bottom: 0.8rem;
      border-bottom: 1px solid var(--border);
      font-size: 0.88rem; color: var(--text-l);
    }
    .output-item:last-of-type { border-bottom: none; }
    .display-value { font-weight: 700; color: var(--text); font-size: 0.95rem; }

    .highlight-box {
      margin-top: 1.5rem; padding: 1.8rem;
      background: linear-gradient(135deg, rgba(255,140,0,0.08) 0%, rgba(255,140,0,0.03) 100%);
      border-radius: 16px; text-align: center;
      border: 1px solid rgba(255,140,0,0.25);
      box-shadow: 0 0 30px rgba(255,140,0,0.08);
    }
    .highlight-label {
      display: block; font-size: 0.72rem; color: var(--accent);
      text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem;
    }
    .highlight-value { font-size: 2.4rem; color: white; font-weight: 900; line-height: 1.1; }

    .comparison { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
    .comp-card { flex: 1; padding: 1rem; border-radius: 14px; text-align: center; }
    .ev-card  { background: rgba(0,200,100,0.06);  border: 1px solid rgba(0,200,100,0.2); }
    .ice-card { background: rgba(255,69,0,0.06);   border: 1px solid rgba(255,69,0,0.2); }
    .comp-title { font-size: 0.65rem; font-weight: 700; display: block; color: var(--text-l); margin-bottom: 0.4rem; letter-spacing: 0.5px; }
    .comp-val   { font-size: 1.1rem; font-weight: 800; }

    /* ── CONFIGURATOR ────────────────────────────────── */
    #configurator {
      transform: scale(0.85); transform-origin: top center;
      margin-top: -2rem; margin-bottom: -5rem;
    }

    .wexa-calc-input {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      color: white;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    .wexa-calc-input:focus {
      outline: none;
      border-color: var(--accent) !important;
      box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
    }
    .wexa-calc-input::placeholder { font-size: 0.9rem; color: #666; }

    .address-input-wrap { position: relative; }
    .address-dropdown {
      position: absolute; top: 100%; left: 0; right: 0;
      background: #111416; border: 1px solid var(--accent);
      border-top: none; border-radius: 0 0 12px 12px;
      z-index: 9999; max-height: 220px; overflow-y: auto;
      box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    }
    .address-dropdown-item {
      padding: 10px 14px; cursor: none; font-size: 0.85rem;
      color: #d4d4d4; border-bottom: 1px solid rgba(255,255,255,0.04);
      transition: background 0.15s;
    }
    .address-dropdown-item:last-child { border-bottom: none; }
    .address-dropdown-item:hover, .address-dropdown-item.active-item {
      background: rgba(255,140,0,0.12); color: #fff;
    }
    .address-dropdown-item small { display: block; font-size: 0.72rem; color: #666; margin-top: 2px; }

    .package-card {
      border: 1px solid var(--border); transition: all 0.25s;
      cursor: none; background: rgba(255,255,255,0.02);
      border-radius: 16px;
    }
    .package-card.active {
      border-color: var(--accent);
      background: rgba(255,140,0,0.08);
      box-shadow: 0 0 20px rgba(255,140,0,0.1);
    }
    .radio-dot { border: 2px solid #333; transition: all 0.25s; }
    .active .radio-dot { border-color: var(--accent); background: var(--accent); }

    /* ── FACTS COUNTER ───────────────────────────────── */
.facts-grid {
  display: grid;
  /* Allow the cards to go as small as 140px on tiny screens if needed */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.fact-card {
  background: var(--card-bg); 
  border: 1px solid var(--border);
  border-radius: 20px; 
  padding: 2rem 1rem; /* Reduced horizontal padding for more text space */
  text-align: center;
  transition: all 0.4s ease; 
  position: relative; 
  overflow: visible; /* Changed from hidden to prevent clipping */
}
    .fact-card::before {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      transform: scaleX(0); transition: transform 0.4s ease;
    }
    .fact-card:hover::before { transform: scaleX(1); }
    .fact-card:hover { transform: translateY(-6px); border-color: rgba(255,140,0,0.2); }

    .fact-icon-wrap {
      width: 56px; height: 56px; border-radius: 14px;
      background: rgba(255,140,0,0.1); border: 1px solid rgba(255,140,0,0.2);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.2rem; font-size: 1.6rem;
      transition: transform 0.3s ease;
    }
    .fact-card:hover .fact-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.fact-number {
  /* Min size: 1.8rem, Preferred: 5vw, Max size: 2.8rem */
  font-size: clamp(1.8rem, 5vw, 2.8rem); 
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1;
  white-space: nowrap; /* Keep the number and suffix (like + or %) together */
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    }
    .fact-label { color: var(--text-l); font-size: 0.85rem; line-height: 1.4; }

    /* ── CONTACT ─────────────────────────────────────── */
.contact-container {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 4rem; 
  align-items: stretch; /* Change from start to stretch */
}
    .contact-info-item {
      display: flex; gap: 1.2rem; align-items: flex-start;
      padding: 1.5rem; border-radius: 16px;
      border: 1px solid var(--border); background: var(--glass);
      transition: all 0.3s ease;
    }
    .contact-info-item:hover { border-color: rgba(255,140,0,0.2); background: rgba(255,140,0,0.03); }
    .contact-icon-box {
      width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
      background: rgba(255,140,0,0.1); border: 1px solid rgba(255,140,0,0.2);
      display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    }

.map-wrapper {
  border-radius: 24px; 
  overflow: hidden; 
  border: 1px solid var(--border);
  height: 100%; /* Change from 450px to 100% */
  background: #111;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s ease;
  min-height: 450px; /* Optional: ensures it doesn't get too small on short content */
}
    .map-wrapper:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,140,0,0.15); }

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(92%) contrast(1.1) brightness(0.9);
}

    /* ── FOOTER ──────────────────────────────────────── */
    footer {
      padding: 5rem 5vw; text-align: center;
      border-top: 1px solid var(--border); background: #030304;
      position: relative; overflow: hidden;
    }
    footer::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0.4;
    }

    /* ── SECTION SEPARATOR ───────────────────────────── */
    .sep {
      width: 100%; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
      margin: 0 auto;
    }

    /* ── RESPONSIVE ──────────────────────────────────── */
    @media (max-width: 1024px) {
      .menu-toggle { display: flex; }
      header.scrolled::before { inset: 0; border-radius: 0; border-left: none; border-right: none; border-top: none; }
      header.scrolled nav { padding: 0 5vw; transform: scale(1); }
      .lang-switcher { margin-left: auto; margin-right: 1rem; }
      .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: rgba(8,9,10,0.9); backdrop-filter: blur(100px);
        flex-direction: column; padding: 100px 40px;
        gap: 2rem !important;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -20px 0 60px rgba(0,0,0,0.7);
        border-left: 1px solid var(--border);
        display: flex !important;
      }
      .nav-links.active { right: 0; }
      .menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
      .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
      .menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
      .grid { grid-template-columns: 1fr !important; gap: 1.2rem; }
      .facts-grid { grid-template-columns: repeat(2, 1fr); }
      .hero h1 { font-size: 2.6rem; letter-spacing: -2px; }
    }

    @media (max-width: 768px) {
      .contact-container { grid-template-columns: 1fr; }
      section { padding: 5rem 5vw; }
      h1 { letter-spacing: -1px; }
      .calc-columns { flex-direction: column; }
      .facts-grid { grid-template-columns: repeat(2, 1fr); }
      #calculator, #configurator { transform: scale(1) !important; margin-top: 2rem !important; margin-bottom: 2rem !important; }
      body { cursor: auto; }
      #cursor-dot, #cursor-ring { display: none; }
    }

    @media (max-width: 640px) {
      .calc-card, .card { padding: 1.5rem; }
      .comparison { flex-direction: column; }
      .highlight-value { font-size: 2rem; }
      .facts-grid { grid-template-columns: 1fr 1fr; }
      .hero-cta-group { flex-direction: column; }
    }

    /* ── GLOW CARD VARIANT ───────────────────────────── */
    .card-glow {
      background: linear-gradient(135deg, rgba(255,140,0,0.06) 0%, rgba(255,140,0,0.02) 100%);
      border-color: rgba(255,140,0,0.2);
      box-shadow: 0 0 40px rgba(255,140,0,0.06), inset 0 1px 0 rgba(255,140,0,0.1);
    }

    /* ── ANIMATED UNDERLINE TEXT ─────────────────────── */
    .underline-anim {
      position: relative; display: inline;
    }
    .underline-anim::after {
      content: '';
      position: absolute; bottom: -4px; left: 0; right: 0;
      height: 3px; border-radius: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent-light));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .active .underline-anim::after { transform: scaleX(1); }