/* ============================================================
   AltaWeb21 — Premium Website Stylesheet
   Version: 2.0 PRO
   Architecture: BEM + CSS Custom Properties
   Fonts: Outfit (display) + DM Sans (body)
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
────────────────────────────────────────────────────────── */
:root {
  /* Neuromarketing Colour Palette */
  --clr-navy:        #050e1f;   /* Trust, authority, depth */
  --clr-navy-2:      #091628;   /* Section alternation */
  --clr-navy-3:      #0d1f38;   /* Card backgrounds */
  --clr-navy-4:      #132640;   /* Elevated surfaces */
  --clr-blue:        #0057D9;   /* Primary action, CTA */
  --clr-blue-lt:     #4D94FF;   /* Gradients, highlights */
  --clr-blue-glow:   rgba(0, 87, 217, 0.35);
  --clr-gold:        #C9A84C;   /* Premium signal */
  --clr-gold-lt:     #E8C86A;   /* Gold highlight */
  --clr-gold-glow:   rgba(201, 168, 76, 0.30);
  --clr-orange:      #FF7A00;   /* CTA urgency accent */
  --clr-orange-dk:   #E06C00;
  --clr-orange-glow: rgba(255, 122, 0, 0.40);
  --clr-green:       #28A745;   /* Success, confirmation */
  --clr-green-glow:  rgba(40, 167, 69, 0.30);
  --clr-white:       #FFFFFF;

  /* Transparency layers */
  --glass-10: rgba(255, 255, 255, 0.06);
  --glass-15: rgba(255, 255, 255, 0.10);
  --glass-20: rgba(255, 255, 255, 0.14);
  --glass-40: rgba(255, 255, 255, 0.40);
  --glass-60: rgba(255, 255, 255, 0.60);
  --glass-80: rgba(255, 255, 255, 0.80);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Type scale */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-lg:   1.125rem;  /* 18px */
  --fs-xl:   1.25rem;   /* 20px */
  --fs-2xl:  1.5rem;    /* 24px */
  --fs-3xl:  1.875rem;  /* 30px */
  --fs-4xl:  2.25rem;   /* 36px */
  --fs-5xl:  3rem;      /* 48px */
  --fs-6xl:  3.75rem;   /* 60px */
  --fs-7xl:  4.5rem;    /* 72px */

  /* Spacing scale (8px base) */
  --sp-1:  0.25rem;   /* 4px */
  --sp-2:  0.5rem;    /* 8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */

  /* Border radius */
  --r-sm:  0.5rem;    /* 8px */
  --r-md:  0.75rem;   /* 12px */
  --r-lg:  1rem;      /* 16px */
  --r-xl:  1.25rem;   /* 20px */
  --r-2xl: 1.5rem;    /* 24px */
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.20);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.25);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.40);
  --shadow-xl:  0 40px 100px rgba(0,0,0,0.55);
  --shadow-blue: 0 8px 30px var(--clr-blue-glow);
  --shadow-gold: 0 8px 30px var(--clr-gold-glow);
  --shadow-orange: 0 12px 40px var(--clr-orange-glow);

  /* Transitions */
  --t-fast:   0.15s cubic-bezier(0.4,0,0.2,1);
  --t-normal: 0.30s cubic-bezier(0.4,0,0.2,1);
  --t-slow:   0.50s cubic-bezier(0.4,0,0.2,1);

  /* Layout */
  --container: 1280px;
  --header-h:  80px;
}

/* ──────────────────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-navy);
  color: var(--clr-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ──────────────────────────────────────────────────────────
   3. TYPOGRAPHY
────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ──────────────────────────────────────────────────────────
   4. ANIMATED BACKGROUND SYSTEM
────────────────────────────────────────────────────────── */

/* Grid overlay — animated */
.site-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 87, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 217, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  animation: gridDrift 25s linear infinite;
}

@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}

/* Ambient orbs */
.site-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.site-orb--blue {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,87,217,0.16) 0%, transparent 70%);
  top: -220px;
  right: -180px;
  animation: orbDrift 18s ease-in-out infinite;
}

.site-orb--gold {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.09) 0%, transparent 70%);
  bottom: 20%;
  left: -120px;
  animation: orbDrift 22s ease-in-out infinite reverse;
}

.site-orb--blue-mid {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0,87,217,0.10) 0%, transparent 70%);
  top: 45%;
  left: 55%;
  animation: orbDrift 14s ease-in-out infinite 6s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(50px, -70px) scale(1.08); }
  66%       { transform: translate(-35px, 45px) scale(0.94); }
}

/* Noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

/* ──────────────────────────────────────────────────────────
   5. LAYOUT UTILITIES
────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding-top: var(--sp-32);
  padding-bottom: var(--sp-32);
}

/* Section header */
.section__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-4);
}

.section__title {
  font-size: clamp(var(--fs-4xl), 4.5vw, var(--fs-6xl));
  font-weight: 900;
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--glass-60);
  line-height: 1.75;
  max-width: 560px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for grid children */
.reveal--d1 { transition-delay: 0.05s; }
.reveal--d2 { transition-delay: 0.12s; }
.reveal--d3 { transition-delay: 0.19s; }
.reveal--d4 { transition-delay: 0.26s; }
.reveal--d5 { transition-delay: 0.33s; }
.reveal--d6 { transition-delay: 0.40s; }

/* ──────────────────────────────────────────────────────────
   6. BUTTONS
────────────────────────────────────────────────────────── */

/* Primary — Orange CTA */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}

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

/* Shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 150%;
}

.btn--primary {
  background: var(--clr-orange);
  color: var(--clr-white);
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--clr-orange-dk);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--clr-orange-glow);
}

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

.btn--ghost {
  background: var(--glass-10);
  color: var(--glass-80);
  border: 1px solid var(--glass-15);
  padding: calc(var(--sp-4) - 1px) calc(var(--sp-8) - 1px);
  font-size: var(--fs-base);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: var(--clr-blue);
  color: var(--clr-white);
  background: rgba(0,87,217,0.15);
  box-shadow: 0 0 24px rgba(0,87,217,0.20);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-lt));
  color: var(--clr-navy);
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--clr-gold-glow);
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--t-normal);
  flex-shrink: 0;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* ──────────────────────────────────────────────────────────
   7. CUSTOM CURSOR
────────────────────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--clr-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0, 87, 217, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}

/* ──────────────────────────────────────────────────────────
   8. HEADER & NAVIGATION
────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--t-normal), box-shadow var(--t-normal);
}

.header--scrolled {
  background: rgba(5, 14, 31, 0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 1px 0 rgba(0,87,217,0.15),
    0 8px 40px rgba(0,0,0,0.60);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo — enlarged 150% from previous version */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo-img {
  /* 
   * LOGO SIZE: Increased to 150% of original (44px → 66px height)
   * This gives the AltaWeb21 wordmark strong visual presence in the header.
   */
  height: 66px;
  width: auto;
  filter: drop-shadow(0 0 16px var(--clr-blue-glow));
  transition: filter var(--t-normal), transform var(--t-normal);
}

.header__logo-img:hover {
  filter: drop-shadow(0 0 24px rgba(0,87,217,0.55));
  transform: scale(1.03);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--glass-60);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: 0.02em;
}

.nav__link:hover {
  color: var(--clr-white);
  background: var(--glass-10);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--glass-10);
  border: 1px solid var(--glass-15);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}

.lang-toggle__btn {
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--glass-60);
  transition: all var(--t-fast);
}

.lang-toggle__btn--active {
  background: var(--clr-blue);
  color: var(--clr-white);
  box-shadow: 0 0 16px var(--clr-blue-glow);
}

.header__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--glass-10);
  border: 1px solid var(--glass-15);
  gap: 5px;
  cursor: pointer;
  transition: background var(--t-fast);
}

.hamburger:hover {
  background: var(--glass-15);
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--t-normal), opacity var(--t-normal);
  transform-origin: center;
}

/* Hamburger active state */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(5, 14, 31, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--glass-15);
  z-index: 999;
  padding: var(--sp-6) var(--sp-8) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform var(--t-normal), opacity var(--t-normal);
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--glass-80);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--glass-10);
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.mobile-nav__link:hover {
  color: var(--clr-white);
  padding-left: var(--sp-3);
}

/* ──────────────────────────────────────────────────────────
   9. HERO SECTION
────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-20);
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
  overflow: hidden;
}

/* Radial glow behind hero content */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 75% at 70% 45%, rgba(0,87,217,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Kicker badge */
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  border: 1px solid rgba(201,168,76,0.30);
  background: rgba(201,168,76,0.08);
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-6);
  animation: fadeUp 0.8s ease both;
}

.hero__kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-orange);
  box-shadow: 0 0 10px var(--clr-orange);
  animation: kickerPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes kickerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.7); opacity: 0.5; }
}

/* Hero headline */
.hero__title {
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-6);
  animation: fadeUp 0.8s 0.10s ease both;
}

.hero__title-gradient {
  background: linear-gradient(135deg, var(--clr-blue-lt) 0%, var(--clr-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-gold {
  background: linear-gradient(135deg, var(--clr-gold-lt), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subtitle */
.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--glass-60);
  line-height: 1.75;
  max-width: 470px;
  margin-bottom: var(--sp-10);
  animation: fadeUp 0.8s 0.20s ease both;
}

/* Hero CTA row */
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
  animation: fadeUp 0.8s 0.30s ease both;
}

/* Hero stats */
.hero__stats {
  display: flex;
  gap: var(--sp-10);
  animation: fadeUp 0.8s 0.40s ease both;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--clr-white) 50%, var(--clr-blue-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--glass-60);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ── Hero Visual (right column) ── */
.hero__visual {
  position: relative;
  animation: fadeRight 1s 0.20s ease both;
}

.hero__img-frame {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,87,217,0.22),
    var(--shadow-xl);
}

/* Tech scanning line */
.hero__scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-blue-lt), transparent);
  z-index: 2;
  animation: scan 3.5s ease-in-out infinite;
}

@keyframes scan {
  0%   { top: 0;    opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Image overlay */
.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,87,217,0.12) 0%, transparent 55%);
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* Corner accents */
.hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
}

.hero__corner--tl { top: 14px; left: 14px; border-top: 2px solid var(--clr-gold); border-left: 2px solid var(--clr-gold); }
.hero__corner--tr { top: 14px; right: 14px; border-top: 2px solid var(--clr-gold); border-right: 2px solid var(--clr-gold); }
.hero__corner--bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--clr-gold); border-left: 2px solid var(--clr-gold); }
.hero__corner--br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--clr-gold); border-right: 2px solid var(--clr-gold); }

/* Floating card */
.hero__float-card {
  position: absolute;
  bottom: -22px;
  left: -28px;
  z-index: 4;
  background: rgba(13, 31, 56, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0,87,217,0.25);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  animation: cardFloat 5s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero__float-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--clr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px var(--clr-green-glow);
}

.hero__float-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__float-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-white);
}

.hero__float-sub {
  font-size: var(--fs-xs);
  color: var(--clr-green);
  font-weight: 500;
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────
   10. SERVICES SECTION
────────────────────────────────────────────────────────── */
.services {
  background: linear-gradient(180deg, var(--clr-navy) 0%, var(--clr-navy-2) 100%);
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 50% 100%, rgba(0,87,217,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.services__header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.services__header .section__subtitle {
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Service card */
.svc-card {
  background: var(--clr-navy-3);
  border: 1px solid var(--glass-10);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-8) var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}

/* Top gradient bar */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-blue), var(--clr-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

/* Ambient glow on hover */
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 50% 0%, rgba(0,87,217,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-normal);
}

.svc-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0,87,217,0.35);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 40px rgba(0,87,217,0.10);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card:hover::after {
  opacity: 1;
}

/* Icon container */
.svc-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(0,87,217,0.18), rgba(0,87,217,0.05));
  border: 1px solid rgba(0,87,217,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  position: relative;
  z-index: 1;
  transition: background var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.svc-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--clr-blue-lt);
  transition: color var(--t-normal);
}

.svc-card:hover .svc-card__icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.22), rgba(201,168,76,0.06));
  border-color: rgba(201,168,76,0.30);
  box-shadow: 0 0 28px var(--clr-gold-glow);
}

.svc-card:hover .svc-card__icon svg {
  color: var(--clr-gold-lt);
}

.svc-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
}

.svc-card__desc {
  font-size: var(--fs-sm);
  color: var(--glass-60);
  line-height: 1.72;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-blue-lt);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: gap var(--t-fast), color var(--t-fast);
}

.svc-card__link svg {
  width: 16px;
  height: 16px;
}

.svc-card__link:hover {
  gap: var(--sp-3);
  color: var(--clr-gold);
}

/* ──────────────────────────────────────────────────────────
   11. ABOUT SECTION
────────────────────────────────────────────────────────── */
.about {
  background: var(--clr-navy);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.about__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about__badge {
  position: absolute;
  bottom: var(--sp-6);
  right: -var(--sp-6);
  right: calc(-1 * var(--sp-6));
  background: rgba(13,31,56,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--clr-gold-glow);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-6);
  z-index: 3;
  animation: cardFloat 7s ease-in-out infinite 1s;
}

.about__badge-num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-gold-lt), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__badge-label {
  font-size: var(--fs-xs);
  color: var(--glass-60);
  margin-top: 2px;
}

.about__content .section__title {
  margin-bottom: var(--sp-6);
}

.about__content .section__subtitle {
  margin-bottom: var(--sp-8);
}

/* Values checklist */
.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.about__check {
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: rgba(40,167,69,0.15);
  border: 1px solid rgba(40,167,69,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.about__check svg {
  width: 13px;
  height: 13px;
  color: var(--clr-green);
}

.about__value-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 2px;
}

.about__value-text p {
  font-size: var(--fs-sm);
  color: var(--glass-60);
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────
   12. TESTIMONIALS SECTION
────────────────────────────────────────────────────────── */
.testimonials {
  background: var(--clr-navy-2);
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(201,168,76,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.testimonials__header .section__subtitle {
  margin: 0 auto;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Testimonial card */
.testi-card {
  background: var(--clr-navy-3);
  border: 1px solid var(--glass-10);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: var(--sp-8);
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 900;
  color: rgba(201,168,76,0.07);
  line-height: 1;
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.20);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.40),
    0 0 30px rgba(201,168,76,0.06);
}

/* Stars */
.testi-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
}

.testi-card__stars svg {
  width: 16px;
  height: 16px;
  color: var(--clr-gold);
}

.testi-card__quote {
  font-size: var(--fs-sm);
  color: var(--glass-80);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-blue), var(--clr-blue-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--clr-white);
  flex-shrink: 0;
}

.testi-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-white);
}

.testi-card__role {
  font-size: var(--fs-xs);
  color: var(--glass-60);
  margin-top: 1px;
}

/* ──────────────────────────────────────────────────────────
   13. CONTACT SECTION
────────────────────────────────────────────────────────── */
.contact {
  background: var(--clr-navy);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-20);
  align-items: start;
}

.contact__info-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.contact__info-text {
  font-size: var(--fs-base);
  color: var(--glass-60);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--glass-10);
  border: 1px solid var(--glass-15);
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  color: var(--glass-80);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.contact__item:hover {
  border-color: rgba(0,87,217,0.30);
  background: rgba(0,87,217,0.07);
}

.contact__item-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(0,87,217,0.15);
  border: 1px solid rgba(0,87,217,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--clr-blue-lt);
}

/* Form card */
.form-card {
  background: var(--clr-navy-3);
  border: 1px solid var(--glass-15);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.form-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0,87,217,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Form groups */
.form__group {
  margin-bottom: var(--sp-5);
}

.form__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glass-60);
  margin-bottom: var(--sp-2);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  background: var(--clr-navy-2);
  border: 1.5px solid var(--glass-15);
  border-radius: var(--r-md);
  color: var(--clr-white);
  font-size: var(--fs-sm);
  transition: border-color var(--t-normal), box-shadow var(--t-normal), background var(--t-normal);
  outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--glass-20);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--clr-blue);
  background: rgba(0,87,217,0.06);
  box-shadow: 0 0 0 4px rgba(0,87,217,0.12), 0 0 20px rgba(0,87,217,0.10);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* Submit button — full width */
.form__submit {
  width: 100%;
  padding: var(--sp-4) var(--sp-8);
  background: var(--clr-orange);
  color: var(--clr-white);
  border: none;
  border-radius: var(--r-lg);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-orange);
  transition: all var(--t-normal);
}

.form__submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.form__submit:hover {
  background: var(--clr-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px var(--clr-orange-glow);
}

.form__submit:hover::after {
  left: 150%;
}

/* Success message */
.form__success {
  display: none;
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(40,167,69,0.10);
  border: 1.5px solid var(--clr-green);
  text-align: center;
  color: var(--clr-green);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  animation: successBounce 0.45s ease;
}

.form__success.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

@keyframes successBounce {
  0%   { transform: scale(0.9); opacity: 0; }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}

/* ──────────────────────────────────────────────────────────
   14. FOOTER
────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  background: var(--clr-navy-2);
  border-top: 1px solid var(--glass-10);
  padding: var(--sp-16) var(--sp-8) var(--sp-8);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

/* Footer logo */
.footer__logo-img {
  height: 56px;
  width: auto;
  margin-bottom: var(--sp-4);
  filter: drop-shadow(0 0 14px var(--clr-blue-glow));
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--glass-60);
  line-height: 1.72;
  max-width: 290px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--glass-60);
  text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: inline-block;
}

.footer__link:hover {
  color: var(--clr-white);
  padding-left: 4px;
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--glass-10);
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--glass-40);
}

.social-links {
  display: flex;
  gap: var(--sp-3);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-15);
  background: var(--glass-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--glass-60);
  text-decoration: none;
  transition: all var(--t-fast);
}

.social-btn:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(201,168,76,0.10);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--clr-gold-glow);
}

/* ──────────────────────────────────────────────────────────
   15. GLOBAL KEYFRAMES
────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-7px); }
  40%, 80%  { transform: translateX(7px); }
}

/* ──────────────────────────────────────────────────────────
   16. LANGUAGE TOGGLE LOGIC
────────────────────────────────────────────────────────── */
/* Default: show EN, hide DE */
.lang-de { display: none; }

/* When body has .is-de: flip */
body.is-de .lang-en { display: none; }
body.is-de .lang-de { display: inline; }
body.is-de .lang-de-block { display: block; }
body.is-de .lang-en-block { display: none; }

.lang-de-block { display: none; }

/* ──────────────────────────────────────────────────────────
   17. SCROLLBAR
────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-navy); }
::-webkit-scrollbar-thumb { background: var(--clr-blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-gold); }

/* ──────────────────────────────────────────────────────────
   18. SELECTION
────────────────────────────────────────────────────────── */
::selection {
  background: var(--clr-orange);
  color: var(--clr-white);
}

/* ──────────────────────────────────────────────────────────
   19. RESPONSIVE — TABLET (max 1024px)
────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .hero__visual {
    order: -1;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

/* ──────────────────────────────────────────────────────────
   20. RESPONSIVE — MOBILE (max 768px)
────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .container {
    padding-left: var(--sp-5);
    padding-right: var(--sp-5);
  }

  .section {
    padding-top: var(--sp-20);
    padding-bottom: var(--sp-20);
  }

  /* Hide desktop nav */
  .nav,
  .header__right .btn {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Stack header right */
  .header__right {
    gap: var(--sp-3);
  }

  /* Services 1-col */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials 1-col */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Footer 1-col */
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero__stats {
    gap: var(--sp-6);
    flex-wrap: wrap;
  }

  .hero__float-card {
    left: 0;
    bottom: -16px;
  }

  .about__badge {
    right: var(--sp-4);
  }
}

/* ──────────────────────────────────────────────────────────
   21. RESPONSIVE — SMALL MOBILE (max 480px)
────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__title {
    letter-spacing: -0.025em;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}
