/* ═══ NODES — Premium Theme System ═══ */
:root, [data-theme="dark"] {
  --logo-teal-light: #6EB5CC;
  --logo-teal: #5093AB;
  --logo-teal-dark: #1C6E8E;
  --primary: #5093AB;
  --primary-dark: #1C6E8E;
  --accent: #2BBCE8;
  --dubai-gold: #C5A572;
  --bg: #050A0F;
  --bg-elevated: #0C141C;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(80,147,171,0.35);
  --text: #F0F4F8;
  --text-secondary: #94A8B3;
  --text-muted: #6B828E;
  --gradient: linear-gradient(135deg, #1C6E8E 0%, #5093AB 50%, #2BBCE8 100%);
  --hero-glow: rgba(28,110,142,0.25);
  --nav-bg: rgba(5,10,15,0.82);
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
  --particle: rgba(80,147,171,0.5);
  --whatsapp: #25D366;
  --sand: #D8C3A5;
  --sand-muted: rgba(216,195,165,0.15);
  --story-navy: #050A12;
  --story-glow: rgba(43,188,232,0.2);
}

[data-theme="light"] {
  --bg: #F8FAFB;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255,255,255,0.9);
  --bg-card-hover: #FFFFFF;
  --border: rgba(28,110,142,0.12);
  --border-strong: rgba(28,110,142,0.28);
  --text: #0F1923;
  --text-secondary: #3D5560;
  --text-muted: #6B828E;
  --hero-glow: rgba(28,110,142,0.12);
  --nav-bg: rgba(248,250,251,0.88);
  --shadow: 0 20px 60px rgba(28,110,142,0.1);
  --particle: rgba(28,110,142,0.35);
  --story-navy: #E8EEF2;
  --story-glow: rgba(28,110,142,0.15);
  --sand-muted: rgba(216,195,165,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  transition: background 0.4s ease, color 0.4s ease;
}

#nodes-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.45;
}

.dubai-glow {
  position: fixed; top: -20%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(197,165,114,0.06) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 36px;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 10px 36px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.logo-svg { height: 52px; width: auto; transition: transform 0.3s ease; }
.nav-logo:hover .logo-svg { transform: scale(1.02); }

.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: all 0.25s;
}
.theme-toggle:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-cta {
  padding: 10px 22px; background: var(--gradient); color: white;
  text-decoration: none; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(28,110,142,0.35); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; position: relative; padding: 108px 36px 88px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero-orb-1 {
  width: 420px; height: 420px; top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(43,188,232,0.25), transparent 70%);
}
.hero-orb-2 {
  width: 360px; height: 360px; bottom: 5%; right: -4%;
  background: radial-gradient(circle, rgba(216,195,165,0.12), transparent 70%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 45% 42%, black, transparent);
}

.hero-layout {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; max-width: 1240px; margin: 0 auto; width: 100%; position: relative; z-index: 2;
}

.hero-eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--gradient); border-radius: 2px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 540px;
  margin-bottom: 22px; line-height: 1.78;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
}
.hero-badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--primary);
  background: rgba(80,147,171,0.08); backdrop-filter: blur(6px);
  transition: border-color 0.25s, background 0.25s;
}
.hero-badge:hover { border-color: var(--accent); background: rgba(43,188,232,0.1); }

/* Journey rail — compact horizontal timeline */
.hero-journey-rail {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 22px; max-width: 580px; padding-top: 8px;
}
.journey-rail-line {
  position: absolute; top: 18px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, #2BBCE8, #5093AB, var(--sand));
  opacity: 0.35; z-index: 0;
}
.journey-rail-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: railShimmer 4s ease-in-out infinite;
}
@keyframes railShimmer {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(100%); opacity: 0.6; }
}

.journey-rail-step {
  position: relative; z-index: 1; text-align: center; padding: 0 4px;
  transition: transform 0.3s ease;
}
.journey-rail-step:hover { transform: translateY(-3px); }
.journey-rail-dot {
  display: block; width: 12px; height: 12px; border-radius: 50%;
  margin: 0 auto 12px; background: var(--gradient);
  box-shadow: 0 0 16px var(--hero-glow);
  border: 2px solid var(--bg);
}
.journey-rail-year {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem; font-weight: 800; color: var(--primary);
}
.journey-rail-place {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 700; color: var(--text); margin-top: 2px;
}
.journey-rail-label {
  display: block; font-size: 0.62rem; color: var(--text-muted);
  line-height: 1.45; margin-top: 6px; opacity: 0.85;
}
.journey-rail-step:hover .journey-rail-label { opacity: 1; color: var(--text-secondary); }

.hero-tagline {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

.hero-showcase {
  position: relative; width: min(440px, 100%); min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.hero-arc {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.85; pointer-events: none;
}
.hero-arc-bg {
  fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 2;
}
.hero-arc-line {
  fill: none; stroke: url(#heroArcGrad); stroke-width: 2;
  stroke-dasharray: 6 10; stroke-linecap: round;
  animation: arcFlow 5s linear infinite;
}
@keyframes arcFlow { to { stroke-dashoffset: -32; } }
.hero-arc-node { fill: var(--accent); opacity: 0.9; }
.hero-arc-node.n-latakia { fill: #2BBCE8; }
.hero-arc-node.n-erbil { fill: #5093AB; }
.hero-arc-node.n-dubai { fill: var(--sand); }
.hero-arc-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700;
  fill: var(--text-muted);
}

.hero-logo-showcase {
  position: relative; z-index: 2; padding: 44px 52px;
  border-radius: 28px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04); backdrop-filter: blur(16px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.logo-hero { width: min(360px, 88vw); height: auto; color: var(--text); }

.hero-logo-glow {
  position: absolute; inset: -30%; border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow), transparent 65%);
  z-index: -1; pointer-events: none;
}

.hero-metrics {
  position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-top: 28px;
}
.hero-metrics span {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-secondary);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(6px);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-family: inherit;
  font-size: 0.92rem; font-weight: 600; text-decoration: none; border: none;
  cursor: pointer; transition: all 0.25s ease;
}
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 4px 24px var(--hero-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--hero-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; }

.hero-social { display: flex; gap: 12px; }
.social-link {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-secondary);
  transition: all 0.25s; background: var(--bg-card);
}
.social-link:hover { color: var(--primary); border-color: var(--border-strong); transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══ STATS ═══ */
.stats-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-elevated); position: relative; z-index: 2;
}
.stat-item { padding: 36px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ═══ SECTIONS ═══ */
.section { padding: 120px 0; position: relative; z-index: 2; }
.section-head { margin-bottom: 56px; max-width: 620px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px;
}
.section-desc { color: var(--text-secondary); font-size: 1.05rem; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ STORY ═══ */
.story {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--story-navy) 0%, var(--bg-elevated) 45%, var(--bg-elevated) 100%);
}
.story-container { position: relative; z-index: 2; }

.story-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.story-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55;
}

.story-wave {
  position: absolute; left: -10%; width: 120%; height: 80px;
  border-radius: 50%; opacity: 0.06;
  background: linear-gradient(90deg, transparent, rgba(43,188,232,0.4), transparent);
  animation: storyWaveDrift 18s linear infinite;
}
.story-wave-1 { bottom: 22%; animation-duration: 22s; opacity: 0.05; }
.story-wave-2 { bottom: 16%; animation-duration: 16s; animation-delay: -6s; height: 60px; }
.story-wave-3 { bottom: 10%; animation-duration: 26s; animation-delay: -12s; opacity: 0.04; }

@keyframes storyWaveDrift {
  from { transform: translateX(-8%) translateY(0); }
  50% { transform: translateX(8%) translateY(-6px); }
  to { transform: translateX(-8%) translateY(0); }
}

.story-dunes {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 140' preserveAspectRatio='none'%3E%3Cpath fill='%23D8C3A5' fill-opacity='0.04' d='M0 140V90c120-30 240 20 360 0s240-20 360 10 240 30 360 0 120-10 120 40v0z'/%3E%3Cpath fill='%23D8C3A5' fill-opacity='0.06' d='M0 140V110c160-20 320 30 480 10s320-40 480-10 160 20 240 30v0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  animation: duneBreath 14s ease-in-out infinite;
}
@keyframes duneBreath {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.story-stars { position: absolute; inset: 0; }
.story-star {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.35); box-shadow: 0 0 6px rgba(43,188,232,0.4);
  animation: starTwinkle 4s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.story-header { position: relative; z-index: 1; }
.story-intro { font-size: 1.15rem; color: var(--text-secondary); max-width: 780px; line-height: 1.8; margin-bottom: 24px; }
.story-mission {
  border-left: 3px solid var(--primary); padding: 16px 24px; margin-bottom: 48px;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 500;
  color: var(--text); background: rgba(255,255,255,0.03); border-radius: 0 14px 14px 0;
  max-width: 780px; backdrop-filter: blur(8px);
}

.story-values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px;
}
.value-card {
  padding: 24px; border-radius: 16px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); transition: all 0.3s; backdrop-filter: blur(6px);
}
.value-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.value-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* Journey path — Latakia → Erbil → Dubai */
.story-journey { margin-bottom: 64px; }
.story-journey-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 20px;
}
.story-journey-path { position: relative; padding: 0 8px; }
.journey-svg { width: 100%; height: auto; display: block; }
.journey-path-bg {
  fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 2;
}
.journey-path-glow {
  fill: none; stroke: url(#journeyGrad); stroke-width: 4; opacity: 0.25;
}
.journey-path-line {
  fill: none; stroke: url(#journeyGrad); stroke-width: 2;
  stroke-dasharray: 8 12; stroke-linecap: round;
  animation: journeyFlow 4s linear infinite;
}
@keyframes journeyFlow { to { stroke-dashoffset: -40; } }

.journey-markers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: -8px;
}
.journey-marker {
  text-align: center; padding: 16px 12px; border-radius: 16px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.02);
  transition: all 0.35s ease; cursor: default;
}
.journey-marker:hover {
  border-color: var(--border-strong); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(28,110,142,0.15);
}
.marker-dot {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  margin: 0 auto 10px; background: var(--gradient);
  box-shadow: 0 0 16px var(--story-glow);
  animation: markerPulse 3s ease-in-out infinite;
}
.marker-coast .marker-dot { background: linear-gradient(135deg, #2BBCE8, #5093AB); }
.marker-expansion .marker-dot { background: linear-gradient(135deg, #5093AB, var(--sand)); }
.marker-city .marker-dot { background: linear-gradient(135deg, var(--sand), #2BBCE8); }
@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 12px var(--story-glow); }
  50% { box-shadow: 0 0 24px rgba(43,188,232,0.45); }
}
.marker-year {
  display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1rem; color: var(--primary); margin-bottom: 2px;
}
.marker-city {
  display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 0.95rem; color: var(--text);
}
.marker-note { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; }

.marker-coast:hover { border-color: rgba(43,188,232,0.35); }
.marker-expansion:hover { border-color: rgba(216,195,165,0.25); }
.marker-city:hover { border-color: rgba(43,188,232,0.4); background: rgba(43,188,232,0.04); }

/* Timeline track */
.history-track { position: relative; padding: 16px 0; }
.history-spine-svg {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
  transform: translateX(-50%); height: 100%; z-index: 0;
}
.history-spine-bg { stroke: rgba(255,255,255,0.06); stroke-width: 2; }
.history-spine-glow {
  stroke: url(#journeyGrad); stroke-width: 2; opacity: 0.5;
  stroke-dasharray: 12 20; animation: spineFlow 6s linear infinite;
}
@keyframes spineFlow { to { stroke-dashoffset: -32; } }

.history-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: linear-gradient(to bottom, #2BBCE8, var(--primary) 40%, var(--sand-muted) 70%, #2BBCE8);
  transform: translateX(-50%); opacity: 0.4; z-index: 0;
}

.history-grid { display: flex; flex-direction: column; gap: 0; position: relative; z-index: 1; }

.history-card {
  display: grid; grid-template-columns: 1fr 88px 1fr; gap: 28px; align-items: center;
  margin-bottom: 40px;
}
.history-card.even .history-body { text-align: left; }
.history-card:not(.even) .history-body { text-align: right; }

.history-body {
  position: relative; padding: 28px 32px; border-radius: 20px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden; backdrop-filter: blur(8px);
}
.history-body::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.history-body:hover {
  border-color: var(--border-strong); box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

.theme-coast .history-body::before {
  background: linear-gradient(135deg, rgba(43,188,232,0.08), transparent 60%);
}
.theme-coast:hover .history-body::before { opacity: 1; }
.theme-expansion .history-body::before {
  background: linear-gradient(135deg, rgba(216,195,165,0.06), transparent 55%);
}
.theme-expansion:hover .history-body::before { opacity: 1; }
.theme-city .history-body::before {
  background: radial-gradient(ellipse at 80% 20%, rgba(43,188,232,0.1), transparent 50%);
}
.theme-city:hover .history-body::before { opacity: 1; }
.theme-tech .history-body::before {
  background: radial-gradient(circle at 50% 0%, rgba(80,147,171,0.12), transparent 45%);
}
.theme-tech:hover .history-body::before { opacity: 1; }

.history-location {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.theme-expansion .history-location { color: var(--sand); }
.theme-city .history-location { color: #2BBCE8; }

.history-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; margin-bottom: 10px; position: relative; }
.history-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; position: relative; }
.history-detail {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  font-size: 0.85rem; color: var(--primary); line-height: 1.6;
  border-top: 1px solid transparent; transition: all 0.4s ease;
  position: relative;
}
.history-body:hover .history-detail {
  max-height: 80px; opacity: 1; margin-top: 14px; padding-top: 14px;
  border-top-color: var(--border);
}

.history-node {
  position: relative; width: 80px; height: 80px; margin: 0 auto; z-index: 2;
  display: grid; place-items: center;
}
.history-node-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--border-strong);
  animation: nodeRing 3s ease-in-out infinite;
}
.history-card:hover .history-node-ring {
  border-color: var(--accent); box-shadow: 0 0 28px var(--story-glow);
}
@keyframes nodeRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}
.history-year {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gradient);
  display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.82rem; color: white; z-index: 1;
  box-shadow: 0 0 32px var(--hero-glow);
  transition: transform 0.35s, box-shadow 0.35s;
}
.history-card:hover .history-year {
  transform: scale(1.06); box-shadow: 0 0 40px rgba(43,188,232,0.35);
}

/* Theme decorations inside cards */
.history-decor { position: absolute; pointer-events: none; opacity: 0.35; }
.history-decor-waves {
  bottom: 0; left: 0; right: 0; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath fill='none' stroke='%232BBCE8' stroke-opacity='0.3' d='M0 25 Q25 15 50 25 T100 25 T150 25 T200 25'/%3E%3Cpath fill='none' stroke='%232BBCE8' stroke-opacity='0.15' d='M0 32 Q25 22 50 32 T100 32'/%3E%3C/svg%3E") repeat-x;
  background-size: 200px 40px;
  animation: decorWave 8s linear infinite;
}
@keyframes decorWave { to { background-position-x: 200px; } }

.history-decor-path {
  top: 12px; right: 16px; width: 60px; height: 30px;
  border-top: 1px dashed rgba(216,195,165,0.4);
  border-right: 1px dashed rgba(216,195,165,0.3);
}
.history-decor-nodes {
  top: 14px; right: 18px; width: 48px; height: 48px;
  background:
    radial-gradient(circle at 30% 30%, rgba(43,188,232,0.5) 2px, transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(43,188,232,0.4) 2px, transparent 2px),
    radial-gradient(circle at 50% 70%, rgba(43,188,232,0.35) 2px, transparent 2px);
  animation: nodeFlicker 4s ease-in-out infinite;
}
@keyframes nodeFlicker {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .story-wave, .story-dunes, .journey-path-line, .history-spine-glow,
  .history-decor-waves, .story-star, .marker-dot, .history-node-ring {
    animation: none !important;
  }
  .story-canvas { display: none; }
}

/* ═══ SERVICES BENTO ═══ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.svc-card {
  grid-column: span 4;
  padding: 32px; border-radius: 24px; border: 1px solid var(--border);
  background: var(--bg-card); position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-card:hover {
  transform: translateY(-8px); border-color: var(--border-strong);
  box-shadow: var(--shadow); background: var(--bg-card-hover);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card.featured { grid-column: span 6; }
.svc-card.wide { grid-column: span 8; }

.svc-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 700;
  color: var(--primary); opacity: 0.7; letter-spacing: 0.1em; margin-bottom: 16px;
}
.svc-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(80,147,171,0.2), rgba(28,110,142,0.08));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; margin-bottom: 20px;
}
.svc-icon-wrap svg { width: 28px; height: 28px; color: var(--primary); }
.svc-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; margin-bottom: 12px; }
.svc-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
  padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  background: rgba(80,147,171,0.1); color: var(--primary); border: 1px solid var(--border);
}

/* ═══ AI ═══ */
.ai-section { overflow: hidden; position: relative; }
.ai-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 78% 45%, var(--hero-glow), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(80,147,171,0.06), transparent 55%);
}
.ai-particles {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5; overflow: hidden;
}
.ai-particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--primary); opacity: 0;
  animation: aiParticleFloat 5s ease-in-out infinite;
}
@keyframes aiParticleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.5; }
}
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.ai-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 18px; line-height: 1.1; }
.ai-content > p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1.05rem; line-height: 1.75; }
.ai-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ai-features li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.95rem; }
.ai-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); flex-shrink: 0;
  animation: aiDotPulse 2s ease-in-out infinite;
}
.ai-features li:nth-child(2) .ai-dot { animation-delay: 0.3s; }
.ai-features li:nth-child(3) .ai-dot { animation-delay: 0.6s; }
.ai-features li:nth-child(4) .ai-dot { animation-delay: 0.9s; }
@keyframes aiDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.ai-visual { display: flex; justify-content: center; align-items: center; }

.ai-ecosystem {
  width: min(420px, 92vw); height: min(420px, 92vw);
  position: relative; display: grid; place-items: center;
}

.ai-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.ai-conn {
  stroke: var(--primary); stroke-width: 1.2; fill: none;
  stroke-dasharray: 6 10; opacity: 0.35;
  animation: aiFlow 2.5s linear infinite;
}
.ai-conn-cap { stroke: var(--accent); opacity: 0.5; stroke-width: 1; }
.ai-hub-glow {
  fill: none; stroke: var(--primary); stroke-width: 1;
  animation: hubGlow 3s ease-in-out infinite;
}
@keyframes aiFlow { to { stroke-dashoffset: -32; } }
@keyframes hubGlow {
  0%, 100% { opacity: 0.1; transform-origin: center; }
  50% { opacity: 0.28; }
}

.ai-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--border-strong);
  pointer-events: none;
}
.ai-ring-outer {
  width: 84%; height: 84%; animation: spin 48s linear infinite;
  border-color: rgba(80,147,171,0.25);
}
.ai-ring-mid {
  width: 58%; height: 58%; animation: spin 32s linear infinite reverse;
  border-style: dashed; opacity: 0.6;
}
.ai-ring-inner {
  width: 34%; height: 34%; animation: spin 20s linear infinite;
  border-color: rgba(80,147,171,0.35);
}

.ai-core {
  position: relative; z-index: 4; width: 88px; height: 88px; border-radius: 50%;
  background: var(--gradient); display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 48px var(--hero-glow), 0 0 80px rgba(80,147,171,0.15);
  animation: coreFloat 4s ease-in-out infinite;
}
.ai-core-pulse {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid var(--primary); opacity: 0;
  animation: corePulse 2.5s ease-out infinite;
}
.ai-core-pulse-2 { animation-delay: 1.25s; }
.ai-core-label {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1.5rem; color: white; line-height: 1;
}
.ai-core-sub {
  font-size: 0.55rem; font-weight: 700; color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes corePulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ai-orbit {
  position: absolute; inset: 0; z-index: 3;
}
.ai-orbit-systems { animation: spin 50s linear infinite; }
.ai-orbit-capabilities { animation: spin 35s linear infinite reverse; }

.ai-arm {
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  transform: rotate(var(--rot));
}
.ai-arm-sys { transform: rotate(var(--rot)); }
.ai-arm-cap { transform: rotate(var(--rot)); }

.ai-node {
  position: absolute; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid var(--border-strong); background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ai-node-sys {
  top: -168px; left: 50%;
  color: var(--primary);
  animation: spinCounterSys 50s linear infinite, nodeGlow 3s ease-in-out infinite;
}
.ai-node-cap {
  top: -108px; left: 50%;
  color: var(--accent);
  font-size: 0.62rem; padding: 6px 11px;
  animation: spinCounterCap 35s linear infinite reverse, nodeGlow 3s ease-in-out infinite;
}
.ai-orbit-systems .ai-arm:nth-child(odd) .ai-node-sys { animation-name: spinCounterSys, nodeGlow; animation-delay: 0s, 0.5s; }
.ai-orbit-capabilities .ai-arm:nth-child(even) .ai-node-cap { animation-delay: 0s, 0.8s; }

@keyframes spinCounterSys {
  from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--rot))); }
  to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--rot) - 360deg)); }
}
@keyframes spinCounterCap {
  from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--rot))); }
  to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--rot) + 360deg)); }
}

@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-color: var(--border-strong); }
  50% { box-shadow: 0 4px 24px var(--hero-glow); border-color: var(--primary); }
}

.ai-ecosystem:hover .ai-orbit-systems { animation-duration: 35s; }
.ai-ecosystem:hover .ai-orbit-capabilities { animation-duration: 25s; }
.ai-ecosystem:hover .ai-ring-outer { animation-duration: 30s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══ INTEGRATIONS ═══ */
.integrations { background: var(--bg-elevated); }
.integrations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.integration-card {
  padding: 40px 32px; border-radius: 24px; border: 1px solid var(--border);
  background: var(--bg-card); text-align: center; transition: all 0.35s;
  position: relative; overflow: hidden;
}
.integration-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--hero-glow), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.integration-card:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.integration-card:hover::after { opacity: 1; }
.integration-abbr {
  font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.integration-card h3 { font-size: 1.05rem; margin-bottom: 10px; position: relative; z-index: 1; }
.integration-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; position: relative; z-index: 1; }

/* ═══ SOLUTIONS ═══ */
.solutions { position: relative; overflow: hidden; }
.solutions-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, var(--hero-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(80,147,171,0.08), transparent 50%);
  pointer-events: none;
}

.solutions-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.solution-card {
  grid-column: span 4; padding: 32px; border-radius: 24px; border: 1px solid var(--border);
  background: var(--bg-card); transition: all 0.35s; position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); opacity: 0; transition: opacity 0.35s;
}
.solution-card.featured { grid-column: span 6; }
.solution-card:hover {
  border-color: var(--border-strong); transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.solution-card:hover::before { opacity: 1; }

.solution-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.solution-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(80,147,171,0.18), rgba(80,147,171,0.04));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--primary);
}
.solution-icon svg { width: 24px; height: 24px; }
.solution-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.08em;
}
.solution-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; margin-bottom: 10px; }
.solution-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.solution-features { display: flex; flex-wrap: wrap; gap: 8px; }
.solution-features span {
  font-size: 0.68rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--primary);
}

.solutions-cta {
  margin-top: 48px; padding: 36px 40px; border-radius: 24px;
  border: 1px dashed var(--border-strong); background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.solutions-cta p { color: var(--text-secondary); font-size: 1.02rem; max-width: 520px; }

/* ═══ PROJECTS ═══ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg-card); transition: all 0.35s;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.project-thumb {
  height: 200px; background: var(--gradient); display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700;
  color: rgba(255,255,255,0.15); overflow: hidden;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 24px; }
.project-cat { font-size: 0.7rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.project-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; margin-bottom: 8px; }
.project-body p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 14px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span { font-size: 0.68rem; padding: 4px 10px; border-radius: 6px; background: var(--bg-elevated); color: var(--text-muted); border: 1px solid var(--border); }

.projects-empty {
  grid-column: 1 / -1; text-align: center; padding: 72px 32px;
  border: 2px dashed var(--border); border-radius: 24px; color: var(--text-secondary);
}
.projects-empty p { margin-bottom: 20px; font-size: 1.05rem; }

/* ═══ CONTACT ═══ */
.contact { position: relative; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 15% 50%, var(--hero-glow), transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 30%, rgba(80,147,171,0.06), transparent 55%);
  pointer-events: none;
}

.contact-layout {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start;
  position: relative; z-index: 1;
}
.contact-info h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px; line-height: 1.08;
}
.contact-info > p { color: var(--text-secondary); margin-bottom: 24px; font-size: 1.02rem; line-height: 1.75; max-width: 480px; }

.contact-trust {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
}
.contact-trust span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary);
}

.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px;
}
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--bg-card); transition: all 0.25s;
}
.contact-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(80,147,171,0.18), rgba(80,147,171,0.04));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--primary);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card-body strong {
  display: block; font-size: 0.72rem; color: var(--text-muted);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em;
}
.contact-card-body span, .contact-card-body a {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.88rem; line-height: 1.4;
}
.contact-card-body a:hover { color: var(--primary); }

.contact-quick { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.contact-quick .btn { padding: 12px 22px; font-size: 0.85rem; }

.social-row { display: flex; gap: 12px; }

.contact-form-wrap {
  padding: 36px; border-radius: 28px; border: 1px solid var(--border);
  background: var(--bg-card); box-shadow: var(--shadow);
  position: sticky; top: 100px;
}
.form-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.form-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; margin-bottom: 6px; }
.form-header p { color: var(--text-secondary); font-size: 0.9rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: 12px; color: var(--text);
  font-family: inherit; font-size: 0.92rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(80,147,171,0.12);
}
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 4px; }

/* ═══ FOOTER ═══ */
.footer { border-top: 1px solid var(--border); padding: 56px 0; background: var(--bg-elevated); position: relative; z-index: 2; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-logo-svg { height: 56px; width: auto; color: var(--text); margin-bottom: 12px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; max-width: 300px; }
.footer-dubai { margin-top: 12px; font-size: 0.85rem; color: var(--dubai-gold); font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--border); }

/* ═══ WHATSAPP FAB ═══ */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: white;
  display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(37,211,102,0.5); }

.toast-wrap { position: fixed; bottom: 28px; left: 28px; z-index: 400; }
.toast {
  padding: 14px 22px; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 14px; font-size: 0.9rem; box-shadow: var(--shadow);
  border-left: 3px solid var(--primary); animation: fadeUp 0.3s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .story-intro, .story-mission { margin-left: auto; margin-right: auto; }
  .hero-eyebrow { justify-content: center; }
  .hero-badges, .hero-journey-rail { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-journey-rail { max-width: 100%; }
  .hero-actions, .hero-social { justify-content: center; }
  .hero-visual { order: -1; }
  .logo-hero { width: min(340px, 90vw); }
  .services-bento .svc-card, .svc-card.featured, .svc-card.wide { grid-column: span 6; }
  .integrations-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card, .solution-card.featured { grid-column: span 1; }
  .solutions-cta { flex-direction: column; text-align: center; justify-content: center; }
  .journey-markers { grid-template-columns: 1fr; gap: 12px; }
  .story-values { grid-template-columns: repeat(2, 1fr); }
  .history-card { grid-template-columns: 1fr; text-align: left !important; display: flex; flex-direction: column; }
  .history-node { order: -1; }
  .history-spacer { display: none; }
  .history-year { width: 56px; height: 56px; }
  .history-line, .history-spine-svg { left: 36px; transform: none; }
  .history-spine-svg { height: 100%; }
  .ai-layout, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--nav-bg);
    backdrop-filter: blur(20px); padding: 24px; border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-actions { display: flex; position: absolute; top: calc(100% + 280px); right: 24px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .services-bento .svc-card { grid-column: span 12; }
  .story-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-wrap { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}
