/* JJV Engineering - R1M Premium Industrial Website */
/* Design System & Global Styles */

/* CSS Variables - Premium Industrial Design System */
:root {
  /* Primary Brand Colors */
  --brand-blue: #0a1f3c;
  --brand-blue-light: #123a66;
  --brand-blue-dark: #051224;
  --industrial-blue: #0d47a1;
  --steel-blue: #1e5f9e;

  /* Steel & Metallic */
  --steel-50: #f8fafc;
  --steel-100: #f1f5f9;
  --steel-200: #e2e8f0;
  --steel-300: #cbd5e1;
  --steel-400: #94a3b8;
  --steel-500: #64748b;
  --steel-600: #475569;
  --steel-700: #334155;
  --steel-800: #1e293b;
  --steel-900: #0f172a;

  /* Charcoal & Dark */
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --dark: #0d0d0d;

  /* Accent Colors */
  --accent-cyan: #00d4ff;
  --accent-blue: #0ea5e9;
  --accent-orange: #f97316;
  --accent-amber: #f59e0b;
  --accent-success: #22c55e;

  /* Premium Metallic Gradients */
  --metallic-light: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 50%, #cbd5e1 100%);
  --metallic-dark: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  --steel-shine: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);

  /* Background Colors */
  --bg-primary: #0a0f1a;
  --bg-secondary: #0d1424;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(15, 23, 42, 0.7);

  /* Text Colors */
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Typography Scale */
  --text-xs: clamp(0.75rem, 0.8vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.9vw, 1rem);
  --text-base: clamp(1rem, 1vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.2vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 2vw, 2rem);
  --text-3xl: clamp(1.875rem, 2.5vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 3vw, 3rem);
  --text-5xl: clamp(3rem, 4vw, 4rem);
  --text-6xl: clamp(3.5rem, 5vw, 5rem);
  --text-7xl: clamp(4.5rem, 7vw, 7rem);

  /* Container */
  --container: 1400px;
  --container-narrow: 1200px;
  --container-wide: 1600px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 24px 56px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(14,165,233,0.15);
  --shadow-glow-lg: 0 0 80px rgba(14,165,233,0.25);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.35);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-sine: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 150ms var(--ease-out-quart);
  --transition-base: 250ms var(--ease-out-quart);
  --transition-slow: 400ms var(--ease-smooth);
  --transition-slower: 700ms var(--ease-out-expo);

  /* Z-index scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-cursor: 9999;
  --z-loader: 10000;

  color-scheme: dark;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: -0.01em;
  background: var(--bg-primary);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
}

main {
  flex: 1;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

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

::selection {
  background: rgba(14, 165, 233, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-white);
  text-wrap: balance;
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  color: var(--text-muted);
  text-wrap: pretty;
}

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

.text-gradient-metallic {
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 50%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-accent { color: var(--accent-cyan); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  position: relative;
  overflow: hidden;
}

.section-padding {
  padding: var(--space-32) 0;
}

.section-padding-sm {
  padding: var(--space-20) 0;
}

.section-padding-lg {
  padding: var(--space-40) 0;
}

/* Grid Systems */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Premium Background Patterns */
.bg-gradient-radial {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.15), transparent);
}

.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-diagonal-lines {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(14, 165, 233, 0.02) 10px,
    rgba(14, 165, 233, 0.02) 11px
  );
}

.bg-noise {
  position: relative;
}

.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphism */
.glass {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-light {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  will-change: transform, box-shadow;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(14, 165, 233, 0.2);
}

/* Gradient Border */
.gradient-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  z-index: 1;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-cyan));
  z-index: -1;
  opacity: 0.3;
  transition: opacity var(--transition-base);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.gradient-border:hover::before {
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--dark);
  border: none;
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-white);
  border: 1px solid transparent;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.btn-ghost:hover {
  color: var(--accent-cyan);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--accent-cyan);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

/* Section Heading */
.section-heading {
  max-width: 800px;
  margin: 0 auto var(--space-16);
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section-heading .badge {
  margin-bottom: var(--space-6);
}

.section-heading h2 {
  margin-bottom: var(--space-6);
}

.section-heading p {
  font-size: var(--text-lg);
  max-width: 650px;
  margin: 0 auto var(--space-4);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  padding: var(--space-3) 0;
}

.nav .container {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-white);
  margin-left: calc(-1 * var(--space-2));
}

.nav-logo img {
  height: 140px;
  width: auto;
  transition: transform var(--transition-base);
}

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

@media (max-width: 1200px) {
  .nav-logo img {
    height: 110px;
  }
}

@media (max-width: 992px) {
  .nav-logo img {
    height: 84px;
  }
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 68px;
  }

  .nav .container {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transition: width var(--transition-base) var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.nav-phone:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: var(--text-white);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow) var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links {
  margin-top: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu-link {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition-fast), padding-left var(--transition-base);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--accent-cyan);
  padding-left: var(--space-4);
}

/* Hero */
.hero {
  position: relative;
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(14, 165, 233, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.15) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 220px;
  padding-bottom: var(--space-24);
}

@media (max-width: 1200px) {
  .hero-content {
    padding-top: 210px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    padding-top: 190px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 170px;
  }
}

.hero-bg video,
.hero-bg img {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 26, 0.92) 0%, rgba(10, 15, 26, 0.7) 50%, rgba(10, 15, 26, 0.85) 100%);
  z-index: 2;
}

.hero-bg canvas {
  z-index: 0 !important;
}

.hero-content .badge {
  margin-bottom: var(--space-8);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-10);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-10);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.hero-title span,
.hero-title-line {
  display: block;
}

.hero-title-line:not(:last-child) {
  margin-bottom: var(--space-4);
}

.hero-description {
  font-size: var(--text-xl);
  max-width: 700px;
  margin: 0 auto var(--space-12);
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-trust-bar {
  position: relative;
  z-index: 3;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-6) 0;
  margin-top: auto;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.trust-item {
  text-align: center;
  padding: var(--space-4);
}

.trust-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.trust-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-start;
  padding-top: 220px;
  padding-bottom: var(--space-24);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(14, 165, 233, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.15) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 26, 0.92) 0%, rgba(10, 15, 26, 0.7) 50%, rgba(10, 15, 26, 0.85) 100%);
  z-index: 0;
}

@media (max-width: 1200px) {
  .page-hero {
    padding-top: 170px;
  }
}

@media (max-width: 992px) {
  .page-hero {
    padding-top: 150px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 80vh;
    padding-top: 130px;
    padding-bottom: var(--space-8);
  }

  .page-hero::before {
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.88) 0%, rgba(10, 15, 26, 0.65) 50%, rgba(10, 15, 26, 0.8) 100%);
  }
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero-content .badge {
  margin-bottom: var(--space-8);
}

.page-hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-10);
  text-transform: uppercase;
}

.page-hero-title span,
.page-hero-title-line {
  display: block;
}

.page-hero-title-line:not(:last-child) {
  margin-bottom: var(--space-4);
}

.page-hero-description {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: var(--space-12);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Service Cards */
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.service-card-features {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.service-card-feature i {
  color: var(--accent-cyan);
  font-size: 12px;
}

/* Feature Cards */
.feature-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  will-change: transform, box-shadow;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(14, 165, 233, 0.2);
}

.feature-card-number {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: rgba(14, 165, 233, 0.15);
  line-height: 1;
  margin-bottom: var(--space-4);
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue), transparent);
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  margin-bottom: var(--space-16);
  align-items: center;
}

.process-step:nth-child(even) .process-step-content {
  grid-column: 2;
}

.process-step:nth-child(even) .process-step-visual {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.process-step-content {
  padding: var(--space-4) 0;
}

.process-step-visual {
  padding: var(--space-4) 0;
}

.process-step-visual i {
  font-size: 3rem;
  color: rgba(14, 165, 233, 0.3);
}

.process-step-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--dark);
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.process-step-number {
  font-size: var(--text-lg);
}

.process-step-content h3 {
  margin-bottom: var(--space-3);
}

/* Stats */
.stat-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-4px);
}

.stat-value {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 26, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-1);
}

.gallery-item-category {
  font-size: var(--text-xs);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: var(--space-8);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(14, 165, 233, 0.3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15), 0 0 20px rgba(14, 165, 233, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--steel-500);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.form-submit {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(30%) contrast(1.1);
}

/* Contact Cards */
.contact-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(14, 165, 233, 0.2);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.contact-card h4 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.contact-card-info {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--space-1);
}

.contact-card-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

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

.footer-logo img {
  height: 120px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer-description {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-contact-item:hover {
  color: var(--text-white);
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent-cyan);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-size: var(--text-lg);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* Loading Screen */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  height: 140px;
  width: auto;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(14, 165, 233, 0.2);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

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

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

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* AOS-like Animation Classes */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: var(--ease-out-expo);
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-down"] {
  transform: translateY(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos-delay="600"] { transition-delay: 0.6s; }
[data-aos-delay="700"] { transition-delay: 0.7s; }
[data-aos-delay="800"] { transition-delay: 0.8s; }

/* Responsive */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 { grid-template-columns: repeat(2, 1fr); }

  .hero-title {
    font-size: var(--text-5xl);
  }

  .page-hero-title {
    font-size: var(--text-4xl);
  }

  .process-timeline::before {
    left: 24px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-left: 70px;
    margin-bottom: var(--space-12);
  }

  .process-step:nth-child(even) .process-step-content,
  .process-step:nth-child(even) .process-step-visual {
    grid-column: 1;
  }

  .process-step:nth-child(even) .process-step-visual {
    grid-row: auto;
    text-align: left;
  }

  .process-step-visual i {
    font-size: 2.5rem;
  }

  .process-step-marker {
    left: 24px;
    width: 44px;
    height: 44px;
  }

  .process-step-content,
  .process-step-visual {
    padding: 0;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 { grid-template-columns: 1fr; }

  .section-padding {
    padding: var(--space-16) 0;
  }

  .section-padding-sm {
    padding: var(--space-12) 0;
  }

  .section-padding-lg {
    padding: var(--space-20) 0;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: var(--space-8);
  }

  .hero-content .badge {
    margin-bottom: var(--space-4);
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    margin-bottom: var(--space-6);
  }

  .hero-title {
    margin-bottom: var(--space-6);
  }

  .hero-title-line:not(:last-child) {
    margin-bottom: var(--space-2);
  }

  .hero-description {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--space-4);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .page-hero-content .badge {
    margin-bottom: var(--space-4);
  }

  .page-hero-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
  }

  .page-hero-title-line:not(:last-child) {
    margin-bottom: var(--space-2);
  }

  .page-hero-description {
    margin-bottom: var(--space-8);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .process-step {
    padding-left: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .page-hero-title {
    font-size: var(--text-3xl);
  }

  .section-heading h2 {
    font-size: var(--text-2xl);
  }

  .card {
    padding: var(--space-5);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-aos] {
    opacity: 1;
    transform: none;
  }

  .loader {
    display: none;
  }
}

@media (prefers-contrast: more) {
  .btn,
  .nav-link,
  .form-input,
  .form-select,
  .form-textarea {
    border-width: 2px;
  }
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Print Styles */
@media print {
  .nav, .footer, .back-to-top, .loader {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
