@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* =============================================
   DARK THEME VARIABLES (DEFAULT)
============================================= */
:root {
  --bg-primary: #05070B;
  --bg-secondary: #0B1D3A;
  --bg-tertiary: #060C18;
  --bg-card: #0D1E38;
  --bg-glass: #0D1E38;
  --accent: #FF7A00;
  --accent-light: #FF9530;
  --accent-dim: rgba(255, 122, 0, 0.15);
  --accent-glow: rgba(255, 122, 0, 0.35);
  --blue-glow: #6EA8FF;
  --blue-glow-dim: rgba(110, 168, 255, 0.12);
  --text-primary: #FFFFFF;
  --text-secondary: #D1D5DB;
  --text-muted: #8896AA;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(255, 122, 0, 0.35);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(255, 122, 0, 0.25);
  --shadow-btn: 0 4px 20px rgba(255, 122, 0, 0.45), 0 0 50px rgba(255, 122, 0, 0.12);
  --shadow-btn-hover: 0 8px 35px rgba(255, 122, 0, 0.65), 0 0 80px rgba(255, 122, 0, 0.2);
  --radius-lg: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --dot-color: rgba(110, 168, 255, 0.08);
  --grid-color: rgba(255, 255, 255, 0.025);
  --navbar-bg: #05070B;
}

/* =============================================
   LIGHT THEME VARIABLES
============================================= */
[data-theme="light"] {
  --bg-primary: #FAFBFF;
  --bg-secondary: #EEF3FF;
  --bg-tertiary: #E4ECFD;
  --bg-card: #FFFFFF;
  --bg-glass: #FFFFFF;
  --text-primary: #0B1D3A;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --border: rgba(11, 29, 58, 0.09);
  --border-accent: rgba(255, 122, 0, 0.35);
  --shadow-card: 0 8px 40px rgba(11, 29, 58, 0.12), 0 2px 12px rgba(11, 29, 58, 0.06);
  --shadow-glow: 0 0 40px rgba(255, 122, 0, 0.2);
  --shadow-btn: 0 4px 20px rgba(255, 122, 0, 0.4), 0 0 40px rgba(255, 122, 0, 0.1);
  --shadow-btn-hover: 0 8px 30px rgba(255, 122, 0, 0.55), 0 0 60px rgba(255, 122, 0, 0.18);
  --dot-color: rgba(11, 29, 58, 0.07);
  --grid-color: rgba(11, 29, 58, 0.04);
  --navbar-bg: #FAFBFF;
}

/* =============================================
   THEME TRANSITION
============================================= */
html { transition: background-color 0.4s ease; }
body, body * {
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}
/* Exclude transform from theme transitions to avoid mobile jank */
.btn, .service-card, .process-step, .work-card,
.portfolio-card, .why-feature, .include-card,
.value-card, .social-link {
  transition: var(--transition);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-secondary); line-height: 1.75; }

/* =============================================
   UTILITIES
============================================= */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 12px var(--accent); }
}

.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0B1D3A 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.divider { height: 1px; background: var(--border); }

/* Image placeholders */
.grad-1 { background: linear-gradient(135deg, #1a3a7a 0%, #0B1D3A 100%); }
.grad-2 { background: linear-gradient(135deg, #2d1b6b 0%, #0B1D3A 100%); }
.grad-3 { background: linear-gradient(135deg, #0B3A2A 0%, #0B1D3A 100%); }
.grad-4 { background: linear-gradient(135deg, #3a1b2d 0%, #0B1D3A 100%); }
.grad-5 { background: linear-gradient(135deg, #1a2d3a 0%, #0B1D3A 100%); }
.grad-6 { background: linear-gradient(135deg, #3a2d0B 0%, #1D0B3A 100%); }
.grad-7 { background: linear-gradient(135deg, #0B2A3a 0%, #1D3A0B 100%); }
.grad-8 { background: linear-gradient(135deg, #2a0B3A 0%, #0B1D3A 100%); }
.grad-9 { background: linear-gradient(135deg, #3A1A0B 0%, #0B1D3A 100%); }

/* =============================================
   BACKGROUND PATTERNS
============================================= */
.dot-pattern {
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 28px 28px;
}
.grid-pattern {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =============================================
   SOLID CARD ELEVATION (replaces glass)
============================================= */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* =============================================
   GLOW ELEMENTS
============================================= */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: orbPulse 6s ease-in-out infinite;
}
.glow-orb-orange {
  background: rgba(255, 122, 0, 0.18);
}
.glow-orb-blue {
  background: rgba(18, 43, 92, 0.6);
}
@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Glowing line accent */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-arrow .arr { transition: transform 0.3s ease; display: inline-block; }
.btn-arrow:hover .arr { transform: translateX(6px); }

/* =============================================
   NAVIGATION
============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navbar-bg);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}
/* Subtle blue line under scrolled navbar in dark mode */
.navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,168,255,0.15), transparent);
}
[data-theme="light"] .navbar.scrolled::after {
  background: linear-gradient(90deg, transparent, rgba(255,122,0,0.15), transparent);
}
[data-theme="light"] .navbar.scrolled {
  box-shadow: 0 4px 30px rgba(11, 29, 58, 0.08);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.85; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px rgba(255,122,0,0.4);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--accent);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(255,122,0,0.2);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Toggle hint (arrow indicator) */
.toggle-hint {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
  z-index: 10;
  animation: hintFloat 2.5s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.toggle-hint.hidden { opacity: 0; }
.toggle-hint-label {
  background: var(--accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(255,122,0,0.4);
}
.toggle-hint-arrow {
  color: var(--accent);
  font-size: 0.9rem;
  margin-right: 8px;
  transform: rotate(180deg);
}
@keyframes hintFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.nav-cta { padding: 0.6rem 1.4rem; font-size: 0.88rem; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
[data-theme="light"] .nav-dropdown {
  box-shadow: 0 20px 50px rgba(11,29,58,0.12);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-dropdown a:hover {
  background: var(--accent-dim);
  color: var(--accent);
  padding-left: 1.25rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(85vw, 380px);
  background: #05070B;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 5.5rem 2rem 2.5rem;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(110, 168, 255, 0.1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
[data-theme="light"] .mobile-menu {
  background: #FAFBFF;
  border-left: 1px solid rgba(11, 29, 58, 0.1);
  box-shadow: -20px 0 60px rgba(11, 29, 58, 0.15);
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a::after {
  content: '→';
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
  color: var(--accent);
  font-family: var(--font-body);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a:hover::after { opacity: 1; transform: translateX(0); }
.mobile-menu .btn {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}
.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}
.mobile-theme-toggle:hover { color: var(--accent); border-color: var(--border-accent); }

/* Mobile menu backdrop */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-backdrop.active { opacity: 1; }
@media (max-width: 768px) {
  .mobile-backdrop { display: block; visibility: hidden; }
  .mobile-backdrop.active { visibility: visible; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1.75rem;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--text-secondary); }

/* =============================================
   HERO — SAAS STYLE
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 90% 5%, rgba(110,168,255,0.24) 0%, rgba(110,168,255,0.08) 40%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(5,7,11,1) 0%, transparent 55%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(5,7,11,0.9) 0%, transparent 60%),
    linear-gradient(155deg, #05070B 0%, #060E1B 35%, #0B1D3A 70%, #0D2245 100%);
  transition: background 0.4s ease;
}
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 60% 60% at 88% 8%, rgba(110,168,255,0.18) 0%, rgba(110,168,255,0.06) 45%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 8% 92%, rgba(228,236,253,0.95) 0%, transparent 55%),
    linear-gradient(155deg, #EEF3FF 0%, #FAFBFF 50%, #EEF3FF 100%);
}

/* Dot pattern hero overlay */
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--dot-color) 2px, transparent 2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 90% at center, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, black 10%, transparent 75%);
}

/* Glow spots */
.hero-glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  top: -8%; right: -4%;
  background: radial-gradient(circle, rgba(110,168,255,0.16) 0%, rgba(110,168,255,0.06) 45%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  bottom: 5%; left: -8%;
  background: radial-gradient(circle, rgba(5,7,11,0.85) 0%, transparent 70%);
  animation: glowPulse 7s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* Third glow — orange CTA accent, bottom-center */
.hero-glow-3 {
  position: absolute;
  width: 300px; height: 300px;
  bottom: 15%; left: 35%;
  background: radial-gradient(circle, rgba(255,122,0,0.07) 0%, transparent 70%);
  animation: glowPulse 9s ease-in-out 1s infinite;
  pointer-events: none;
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  background: rgba(255,122,0,0.5);
  border-radius: 50%;
  animation: floatParticle var(--dur, 6s) ease-in-out var(--del, 0s) infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}

.hero .container { padding-top: 9rem; padding-bottom: 6rem; position: relative; z-index: 2; }
.hero-content { max-width: 780px; }

/* Hero badge / eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-eyebrow::before {
  content: ''; width: 30px; height: 1px; flex-shrink: 0;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent {
  color: var(--accent);
  position: relative;
  display: inline;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(255,122,0,0.3));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255,122,0,0.6);
}
.hero-desc {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8;
  color: var(--text-secondary);
}
[data-theme="light"] .hero-desc { color: var(--text-secondary); }

/* Mobile-only primary CTA (hidden on desktop) */
.hero-btn-mobile { display: none; }
/* Desktop-only secondary link (hidden on mobile) */
.hero-link-desktop { display: inline-flex; }

/* SaaS-style hero search/input CTA */
.hero-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 1.25rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.hero-input-wrap:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(255,122,0,0.1), 0 4px 20px rgba(0,0,0,0.15);
}
[data-theme="light"] .hero-input-wrap {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(11,29,58,0.1);
}
.hero-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 0;
}
.hero-input-wrap input::placeholder { color: var(--text-muted); }
.hero-input-wrap .btn { flex-shrink: 0; padding: 0.65rem 1.4rem; font-size: 0.88rem; }

.hero-mini-stats {
  display: flex; gap: 2.5rem;
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.mini-stat-num {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 0.25rem;
  text-shadow: 0 0 20px rgba(255,122,0,0.3);
}
.mini-stat-label { font-size: 0.82rem; color: var(--text-muted); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; z-index: 2;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll::after { content: ''; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS SECTION
============================================= */
.stats-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 100%;
  background: radial-gradient(ellipse 80% 100% at center, rgba(110,168,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="light"] .stats-section::before { display: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 2rem; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  height: 55%; width: 1px; background: var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(255,122,0,0.25);
}
.stat-label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }

/* =============================================
   SERVICE CARDS
============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
[data-theme="light"] .service-card { box-shadow: 0 2px 20px rgba(11,29,58,0.06); }
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,122,0,0.07) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), 0 0 40px rgba(255,122,0,0.1);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 58px; height: 58px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
  transition: var(--transition);
  border: 1px solid var(--border-accent);
}
.service-card:hover .service-icon {
  background: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(255,122,0,0.4);
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.93rem; margin-bottom: 1.5rem; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.tag {
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px; font-size: 0.75rem; color: var(--text-muted);
}
[data-theme="light"] .tag { background: var(--bg-secondary); }
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-weight: 600; font-size: 0.88rem; transition: var(--transition);
}
.service-card-link .arr { transition: transform 0.3s ease; display: inline-block; }
.service-card:hover .service-card-link .arr { transform: translateX(6px); }

/* =============================================
   WHY CHOOSE US
============================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.why-feature {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
[data-theme="light"] .why-feature { box-shadow: 0 2px 12px rgba(11,29,58,0.05); }
.why-feature:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,122,0,0.08); }
.why-feature-icon { font-size: 1.4rem; margin-bottom: 0.7rem; display: block; }
.why-feature h4 { font-size: 0.95rem; margin-bottom: 0.35rem; font-family: var(--font-body); font-weight: 700; }
.why-feature p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; }
.why-visual-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
}
.why-visual-img {
  height: 420px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; position: relative; overflow: hidden;
}
.why-visual-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,29,58,0.85) 100%);
}
[data-theme="light"] .why-visual-img::after {
  background: linear-gradient(to bottom, transparent 40%, rgba(245,247,251,0.85) 100%);
}
.why-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--accent); color: white;
  padding: 0.75rem 1.2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.88rem; z-index: 1;
  box-shadow: 0 8px 24px rgba(255,122,0,0.45);
}

/* =============================================
   PROCESS SECTION
============================================= */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 36px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  z-index: 0; box-shadow: 0 0 8px rgba(255,122,0,0.2);
}
.process-step {
  position: relative; z-index: 1; padding: 2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center; transition: var(--transition);
}
[data-theme="light"] .process-step { box-shadow: 0 2px 16px rgba(11,29,58,0.06); }
.process-step:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-card), 0 0 20px rgba(255,122,0,0.08); }
.process-number {
  width: 54px; height: 54px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(255,122,0,0.45), 0 0 30px rgba(255,122,0,0.2);
}
.process-step h4 { font-size: 1.05rem; font-family: var(--font-display); margin-bottom: 0.7rem; }
.process-step p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   FEATURED WORK
============================================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; border: 1px solid var(--border); transition: var(--transition); }
.work-card.featured { grid-column: span 2; }
.work-card-img {
  height: 280px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; transition: transform 0.5s ease;
}
.work-card.featured .work-card-img { height: 380px; }
.work-card:hover .work-card-img { transform: scale(1.05); }
.work-card:hover { border-color: var(--border-accent); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255,122,0,0.08); }
.work-card-img .ph-icon { font-size: 4rem; opacity: 0.15; }
.work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,0.97) 0%, rgba(11,29,58,0.3) 55%, transparent 100%);
  padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.work-cat { font-size: 0.76rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; }
.work-card-overlay h4 { font-size: 1.1rem; margin-bottom: 0.75rem; transition: transform 0.3s ease; color: #fff; }
.work-card:hover .work-card-overlay h4 { transform: translateY(-5px); }
.work-desc { font-size: 0.86rem; color: #D1D5DB; line-height: 1.6; opacity: 0; transform: translateY(10px); transition: var(--transition); margin-bottom: 0.75rem; }
.work-card:hover .work-desc { opacity: 1; transform: translateY(0); }
.work-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); font-size: 0.84rem; font-weight: 600; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.work-card:hover .work-link { opacity: 1; transform: translateY(0); }
/* Always visible on touch/mobile */
@media (hover: none) {
  .work-desc { opacity: 1; transform: translateY(0); }
  .work-link { opacity: 1; transform: translateY(0); }
  .portfolio-hover-content { opacity: 1; transform: translateY(0); }
  .portfolio-card h4 { transform: translateY(-4px); }
}

/* =============================================
   CTA SECTION
============================================= */
.cta-section {
  padding: 7rem 0;
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-secondary);
}
[data-theme="light"] .cta-section { background: var(--bg-secondary); }
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,122,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; position: relative; }
.cta-section p { font-size: 1.05rem; max-width: 520px; margin: 0 auto 2.5rem; }

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
[data-theme="light"] .footer { background: var(--bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin: 1rem 0 1.5rem; max-width: 270px; line-height: 1.7; }
.footer-social { display: flex; gap: 0.6rem; }
.social-link {
  width: 38px; height: 38px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.85rem; transition: var(--transition);
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,122,0,0.4); }
.footer-col h5 {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-primary);
  margin-bottom: 1.25rem; font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: var(--transition); display: inline-block; }
.footer-col ul li a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 0.84rem; color: var(--text-muted); }

/* =============================================
   PAGE HERO (SERVICE / INNER PAGES)
============================================= */
.page-hero {
  padding: 10rem 0 6rem;
  position: relative; overflow: hidden;
  background: var(--bg-primary);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 65% at 85% 15%, rgba(110,168,255,0.14) 0%, rgba(110,168,255,0.04) 45%, transparent 70%),
    radial-gradient(ellipse 55% 80% at 80% 50%, rgba(255,122,0,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 55% at 5% 90%, rgba(5,7,11,0.9) 0%, transparent 60%),
    linear-gradient(145deg, #05070B 0%, #0B1D3A 70%, #0D2040 100%);
}
[data-theme="light"] .page-hero-bg {
  background:
    radial-gradient(ellipse 60% 60% at 85% 15%, rgba(110,168,255,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(255,122,0,0.04) 0%, transparent 65%),
    linear-gradient(145deg, #FAFBFF 0%, #EEF3FF 60%, #FAFBFF 100%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 1.5rem; max-width: 800px; }
.page-hero p { font-size: 1.1rem; max-width: 580px; margin-bottom: 2.5rem; }

/* =============================================
   INCLUDES GRID (SERVICE PAGES)
============================================= */
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.include-card {
  padding: 2rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--transition);
}
[data-theme="light"] .include-card { box-shadow: 0 2px 16px rgba(11,29,58,0.06); }
.include-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card), 0 0 16px rgba(255,122,0,0.07); }
.include-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.include-card h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.5rem; }
.include-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.client-type {
  padding: 2rem 1.5rem; text-align: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--transition);
}
[data-theme="light"] .client-type { box-shadow: 0 2px 14px rgba(11,29,58,0.06); }
.client-type:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.client-type-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.client-type h4 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.35rem; }
.client-type p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }

.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.result-card {
  padding: 2rem 1.5rem; text-align: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--transition);
}
[data-theme="light"] .result-card { box-shadow: 0 2px 14px rgba(11,29,58,0.06); }
.result-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.result-number {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 0.5rem;
  text-shadow: 0 0 24px rgba(255,122,0,0.25);
}
.result-label { font-size: 0.85rem; color: var(--text-secondary); }

/* =============================================
   PORTFOLIO PAGE
============================================= */
.portfolio-hero {
  padding: 9rem 0 5rem; text-align: center;
  position: relative; overflow: hidden; background: var(--bg-primary);
}
[data-theme="light"] .portfolio-hero { background: var(--bg-secondary); }
.portfolio-hero h1 { margin-bottom: 1rem; }
.portfolio-hero p { max-width: 550px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.portfolio-filters { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.55rem 1.3rem; background: transparent;
  border: 1px solid var(--border); border-radius: 50px;
  color: var(--text-secondary); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 4px 14px rgba(255,122,0,0.35); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: var(--transition); display: block;
  border: 1px solid var(--border);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card), 0 0 20px rgba(255,122,0,0.1); border-color: var(--border-accent); }
.portfolio-card-img { height: 260px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.portfolio-card-img .ph-icon { font-size: 3.5rem; opacity: 0.15; }
.portfolio-card-img-inner { position: absolute; inset: 0; transition: transform 0.5s ease; }
.portfolio-card:hover .portfolio-card-img-inner { transform: scale(1.08); }
.portfolio-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,0.97) 0%, rgba(11,29,58,0.15) 50%, transparent 100%);
  padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.portfolio-cat { font-size: 0.75rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; }
.portfolio-card h4 { font-size: 1.05rem; margin-bottom: 0; transition: var(--transition); color: #fff; }
.portfolio-card:hover h4 { transform: translateY(-6px); }
.portfolio-hover-content { opacity: 0; transform: translateY(15px); transition: var(--transition); margin-top: 0.6rem; }
.portfolio-card:hover .portfolio-hover-content { opacity: 1; transform: translateY(0); }
.portfolio-outcome { font-size: 0.83rem; color: #D1D5DB; line-height: 1.55; margin-bottom: 0.75rem; }
.portfolio-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tool-tag { padding: 0.22rem 0.6rem; background: rgba(255,122,0,0.15); border: 1px solid rgba(255,122,0,0.3); border-radius: 50px; font-size: 0.7rem; color: var(--accent); font-weight: 500; }

/* =============================================
   SINGLE PROJECT PAGE
============================================= */
.project-hero { height: 85vh; min-height: 520px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.project-hero-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9rem; opacity: 0.12; }
.project-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,11,1) 0%, rgba(11,29,58,0.4) 55%, rgba(5,7,11,0.15) 100%); }
.project-hero-content { position: relative; z-index: 2; padding: 3rem 0; width: 100%; }
.project-category { font-size: 0.82rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.project-hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; color: #fff; }
.project-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.project-meta-item label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.project-meta-item span { font-size: 0.9rem; font-weight: 600; color: #fff; }
.project-content { padding: 6rem 0; }
.project-overview-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 5rem; margin-bottom: 5rem; }
.project-section { margin-bottom: 3rem; }
.project-section h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--accent); }
.project-section p { font-size: 1rem; line-height: 1.8; }
.project-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.project-sidebar-item { padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.project-sidebar-item h5 { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; }
.project-sidebar-item ul li { font-size: 0.88rem; color: var(--text-secondary); padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }
.project-sidebar-item ul li::before { content: '→'; color: var(--accent); font-size: 0.78rem; }
.project-sidebar-item .result-highlight { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.35rem; text-shadow: 0 0 20px rgba(255,122,0,0.3); }
.project-sidebar-item p { font-size: 0.83rem; color: var(--text-muted); }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 4rem 0; }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,0.08); transition: transform 0.4s ease; border: 1px solid var(--border); }
.gallery-item:hover { transform: scale(1.02); border-color: var(--border-accent); }
.gallery-item:first-child { grid-column: span 2; }
.project-nav { display: flex; justify-content: space-between; align-items: center; padding: 3rem 0; border-top: 1px solid var(--border); }
.project-nav-link { display: flex; flex-direction: column; gap: 0.3rem; }
.project-nav-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.project-nav-title { font-size: 1rem; font-weight: 700; font-family: var(--font-display); transition: var(--transition); }
.project-nav-link:hover .project-nav-title { color: var(--accent); }
.project-nav-center { color: var(--text-muted); font-size: 1.2rem; transition: var(--transition); }
.project-nav-center:hover { color: var(--accent); }

/* =============================================
   ABOUT PAGE
============================================= */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, #122B5C, #1a3a7a);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  border: 3px solid var(--border-accent); transition: var(--transition);
}
.team-card:hover .team-avatar { border-color: var(--accent); transform: scale(1.06); box-shadow: 0 0 20px rgba(255,122,0,0.25); }
.team-card h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.25rem; }
.team-card .team-role { font-size: 0.84rem; color: var(--accent); font-weight: 500; }
.team-card .team-bio { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card { padding: 2.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--transition); }
[data-theme="light"] .value-card { box-shadow: 0 2px 16px rgba(11,29,58,0.06); }
.value-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.value-icon { font-size: 2.2rem; margin-bottom: 1.25rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--accent), transparent); box-shadow: 0 0 8px rgba(255,122,0,0.3); }
.timeline-item { display: flex; gap: 2rem; padding: 0 0 3rem 0; position: relative; }
.timeline-dot { width: 42px; height: 42px; flex-shrink: 0; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; font-family: var(--font-display); position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(255,122,0,0.45); }
.timeline-body { padding-top: 0.6rem; }
.timeline-year { font-size: 0.78rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.timeline-body h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.4rem; }
.timeline-body p { font-size: 0.88rem; color: var(--text-muted); }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-item-icon { width: 46px; height: 46px; background: var(--accent-dim); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; border: 1px solid var(--border-accent); }
.contact-item-text label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; font-weight: 600; }
.contact-item-text span, .contact-item-text a { font-size: 0.92rem; font-weight: 500; color: var(--text-primary); transition: var(--transition); }
.contact-item-text a:hover { color: var(--accent); }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem; }
[data-theme="light"] .contact-form-wrap { box-shadow: 0 4px 30px rgba(11,29,58,0.08); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1.1rem;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.93rem; transition: var(--transition); outline: none;
  -webkit-appearance: none;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select { background: var(--bg-secondary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,0,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-secondary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-success { display: none; text-align: center; padding: 3rem; }
.form-success i { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.form-success h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; }

/* =============================================
   NAV BRAND — MOBILE SHORT NAME
============================================= */
.nav-brand-full { display: inline; }
.nav-brand-short { display: none; }

/* =============================================
   CONTACT METHOD CARDS
============================================= */
.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-method-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(255,122,0,0.1);
}
[data-theme="light"] .contact-method-card {
  box-shadow: 0 2px 12px rgba(11,29,58,0.06);
}
[data-theme="light"] .contact-method-card:hover {
  box-shadow: 0 6px 24px rgba(11,29,58,0.12);
}
.contact-method-primary {
  background: linear-gradient(135deg, rgba(255,122,0,0.12) 0%, var(--bg-card) 60%);
  border-color: var(--border-accent);
  box-shadow: 0 4px 20px rgba(255,122,0,0.08);
}
.contact-method-primary:hover {
  background: linear-gradient(135deg, rgba(255,122,0,0.18) 0%, var(--bg-card) 60%);
  box-shadow: 0 8px 30px rgba(255,122,0,0.18);
}
[data-theme="light"] .contact-method-primary {
  background: linear-gradient(135deg, rgba(255,122,0,0.08) 0%, #ffffff 60%);
}
.contact-method-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--accent);
}
.contact-method-icon-blue {
  background: rgba(110,168,255,0.1);
  border-color: rgba(110,168,255,0.25);
  color: var(--blue-glow);
}
.contact-method-icon-wa {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.25);
  color: #25D366;
}
.contact-method-icon-tg {
  background: rgba(0,136,204,0.1);
  border-color: rgba(0,136,204,0.25);
  color: #0088CC;
}
.contact-method-body { flex: 1; min-width: 0; }
.contact-method-label {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 0.2rem;
}
.contact-method-title {
  font-size: 0.96rem; font-weight: 700;
  color: var(--text-primary); font-family: var(--font-display);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.contact-method-sub {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem;
}
.contact-method-arrow {
  color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0;
  transition: var(--transition); opacity: 0.5;
}
.contact-method-card:hover .contact-method-arrow {
  color: var(--accent); opacity: 1; transform: translateX(4px);
}

/* Contact coming soon panel */
.contact-coming-soon {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.contact-coming-icon {
  width: 64px; height: 64px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent);
  margin: 0 auto 1.25rem;
}
.contact-coming-soon h4 {
  font-size: 1.2rem; margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
.contact-coming-soon p {
  font-size: 0.88rem; color: var(--text-muted);
  max-width: 320px; margin: 0 auto; line-height: 1.6;
}

/* =============================================
   REVEAL ANIMATIONS
============================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.45s ease forwards; }

/* Play overlay for video portfolio */
.play-overlay {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,122,0,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: white; transition: all 0.3s ease; z-index: 2; padding-left: 4px;
}
.portfolio-card:hover .play-overlay { background: var(--accent); transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 30px rgba(255,122,0,0.55); }

/* =============================================
   SECTION BG OVERRIDES — LIGHT MODE
============================================= */
[data-theme="light"] .stats-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}
[data-theme="light"] .cta-section {
  background: linear-gradient(145deg, var(--bg-tertiary) 0%, var(--bg-secondary) 60%, var(--bg-primary) 100%);
}
[data-theme="light"] .cta-section::before {
  background: radial-gradient(circle, rgba(110,168,255,0.08) 0%, transparent 70%);
}
[data-theme="light"] .footer { background: var(--bg-secondary); }

/* =============================================
   LIGHT MODE — PREMIUM DEPTH
============================================= */
[data-theme="light"] .service-card {
  box-shadow: 0 4px 24px rgba(11,29,58,0.09), 0 1px 6px rgba(11,29,58,0.05);
}
[data-theme="light"] .service-card:hover {
  box-shadow: 0 12px 40px rgba(11,29,58,0.14), 0 0 0 1px rgba(255,122,0,0.2);
}
[data-theme="light"] .process-step {
  box-shadow: 0 4px 24px rgba(11,29,58,0.09), 0 1px 6px rgba(11,29,58,0.05);
}
[data-theme="light"] .process-step:hover {
  box-shadow: 0 10px 36px rgba(11,29,58,0.13);
}
[data-theme="light"] .why-feature {
  box-shadow: 0 4px 18px rgba(11,29,58,0.08), 0 1px 4px rgba(11,29,58,0.04);
}
[data-theme="light"] .why-feature:hover {
  box-shadow: 0 8px 28px rgba(11,29,58,0.12);
}
[data-theme="light"] .include-card {
  box-shadow: 0 4px 20px rgba(11,29,58,0.09), 0 1px 5px rgba(11,29,58,0.04);
}
[data-theme="light"] .value-card {
  box-shadow: 0 4px 20px rgba(11,29,58,0.09), 0 1px 5px rgba(11,29,58,0.04);
}
[data-theme="light"] .contact-form-wrap {
  box-shadow: 0 8px 48px rgba(11,29,58,0.12), 0 2px 10px rgba(11,29,58,0.06);
}
[data-theme="light"] .work-card {
  box-shadow: 0 4px 20px rgba(11,29,58,0.08);
}
[data-theme="light"] .portfolio-card {
  box-shadow: 0 4px 20px rgba(11,29,58,0.08);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card.featured { grid-column: span 1; }
  .work-card.featured .work-card-img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project-overview-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 1; }
}
/* =============================================
   RESPONSIVE — TABLET (≤768px)
============================================= */
@media (max-width: 768px) {
  /* Base */
  .container { padding: 0 1.25rem; }
  .section { padding: 3.75rem 0; }
  h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); letter-spacing: -0.02em; }
  h2 { font-size: clamp(1.65rem, 5vw, 2rem); }
  h3 { font-size: 1.3rem; }

  /* Nav */
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .navbar { padding: 1.1rem 0; }
  .navbar.scrolled { padding: 0.75rem 0; }
  .nav-brand-full { display: none; }
  .nav-brand-short { display: inline; }

  /* ---- HERO ---- */
  .hero { min-height: 100vh; min-height: 100svh; align-items: flex-start; }
  .hero .container { padding-top: 5.5rem; padding-bottom: 3.5rem; }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { font-size: 0.74rem; margin-bottom: 1rem; letter-spacing: 0.08em; }
  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 100%;
  }

  /* Hide desktop input bar on mobile — use btn-group instead */
  .hero-input-wrap { display: none; }
  .hero-btn-mobile { display: inline-flex; }
  .hero-link-desktop { display: none; }

  /* Mobile btn-group: stacked, full-width */
  .hero .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 0;
  }
  .hero .btn-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Mini stats: 2×2 grid */
  .hero-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
  }
  .hero-mini-stats > div {
    padding: 0.9rem 0.75rem;
    text-align: center;
  }
  .hero-mini-stats > div:nth-child(1),
  .hero-mini-stats > div:nth-child(3) { border-right: 1px solid var(--border); }
  .hero-mini-stats > div:nth-child(1),
  .hero-mini-stats > div:nth-child(2) { border-bottom: 1px solid var(--border); }
  .mini-stat-num { font-size: 1.55rem; margin-bottom: 0.2rem; }
  .mini-stat-label { font-size: 0.76rem; }

  /* Disable particles on mobile for performance */
  .hero-particles { display: none; }
  /* Scale down oversized glows */
  .hero-glow-1 { width: 280px; height: 280px; top: -2%; right: -6%; }
  .hero-glow-2 { width: 250px; height: 250px; }
  .hero-glow-3 { display: none; }
  .hero-scroll { display: none; }

  /* ---- STATS ---- */
  .stats-section { padding: 3rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1.5rem 1rem; }
  .stat-item::after { display: none; }
  .stat-number { font-size: 2.2rem; }

  /* ---- SECTIONS ---- */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 2rem; }
  .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-img { height: 240px; }
  .work-card.featured .work-card-img { height: 240px; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-features { grid-template-columns: 1fr; gap: 0.75rem; }
  .why-feature { padding: 1.25rem; }
  .why-feature h4 { font-size: 0.9rem; }
  .why-feature p { font-size: 0.82rem; }
  .why-visual-img { height: 280px; }
  .includes-grid { grid-template-columns: 1fr; gap: 1rem; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }

  /* ---- PORTFOLIO ---- */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-hero { padding: 6.5rem 0 3rem; }
  /* Make portfolio overlay always visible on mobile */
  .portfolio-hover-content { opacity: 1; transform: translateY(0); }
  .portfolio-card h4 { transform: none !important; }

  /* ---- WORK CARDS ---- */
  .work-card-overlay { padding: 1.5rem; }
  .work-card-overlay h4 { font-size: 1rem; margin-bottom: 0.5rem; }
  .work-desc { opacity: 1; transform: translateY(0); font-size: 0.82rem; }
  .work-link { opacity: 1; transform: translateY(0); }

  /* ---- PAGE HEROES (inner pages) ---- */
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 6.5vw, 2.6rem); margin-bottom: 1rem; }
  .page-hero p { font-size: 0.98rem; }
  .page-hero .btn-group { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .page-hero .btn-group .btn { width: 100%; justify-content: center; }

  /* ---- PROJECT PAGE ---- */
  .project-hero { min-height: 380px; }
  .project-hero-content h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); }
  .project-meta { gap: 1rem; flex-wrap: wrap; }
  .project-overview-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .project-nav { flex-direction: column; gap: 1.5rem; text-align: center; }
  .project-nav-center { display: none; }

  /* ---- ABOUT ---- */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .timeline::before { display: none; }

  /* ---- CONTACT ---- */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* ---- FOOTER ---- */
  .footer { padding: 3.5rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* ---- MISC ---- */
  .section-header { margin-bottom: 2.5rem; }
  .btn-group { flex-wrap: wrap; }
  .toggle-hint { display: none; }
  .cta-section { padding: 4rem 0; }
  .cta-section h2 { font-size: clamp(1.65rem, 5.5vw, 2.2rem); }
}
/* =============================================
   RESPONSIVE — MOBILE SMALL (≤480px)
============================================= */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: clamp(1.75rem, 8.5vw, 2.1rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.75rem); }

  /* Hero small */
  .hero .container { padding-top: 5rem; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(1.7rem, 9vw, 2rem); line-height: 1.2; }
  .hero-desc { font-size: 0.93rem; }
  .hero-eyebrow { font-size: 0.7rem; }
  .hero-mini-stats > div { padding: 0.75rem 0.5rem; }
  .mini-stat-num { font-size: 1.4rem; }
  .mini-stat-label { font-size: 0.72rem; }

  /* Cards */
  .service-card { padding: 1.5rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 1rem; }
  .service-card h3 { font-size: 1.15rem; }
  .process-step { padding: 1.5rem 1.25rem; }
  .include-card { padding: 1.5rem; }
  .result-card { padding: 1.25rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2rem; }

  /* Other */
  .clients-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-filters { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .filter-btn { font-size: 0.78rem; padding: 0.45rem 1rem; }
  .why-visual-img { height: 240px; }
  .why-badge { font-size: 0.8rem; padding: 0.6rem 1rem; }
  .footer-brand p { max-width: 100%; }
  .mobile-menu { width: 100%; border-left: none; }
  .project-hero { min-height: 300px; }
  .project-hero-content h1 { font-size: 1.6rem; }
  .project-section p { font-size: 0.93rem; }
  .badge { font-size: 0.72rem; padding: 0.38rem 0.9rem; }
  .section-header { margin-bottom: 2rem; }
  .process-number { width: 46px; height: 46px; font-size: 1rem; }
  .work-card-img { height: 200px; }
  .why-feature { padding: 1.25rem; }
  .why-feature h4 { font-size: 0.9rem; }
  .cta-section { padding: 3.5rem 0; }
  .cta-section h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
}

/* =============================================
   TOUCH DEVICES — disable sticky hover states
============================================= */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: none; }
  .service-card:hover::before { opacity: 0; }
  .process-step:hover { transform: none; }
  .why-feature:hover { transform: none; }
  .include-card:hover { transform: none; }
  .value-card:hover { transform: none; }
  .work-card:hover { transform: none; }
  .work-card:hover .work-card-img { transform: none; }
  .portfolio-card:hover { transform: none; }
  .portfolio-card:hover .portfolio-card-img-inner { transform: none; }
  .btn-primary:hover { transform: none; }
  .btn-secondary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
}

/* =============================================
   REDUCED MOTION
============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-glow-1, .hero-glow-2, .hero-glow-3 { animation: none; }
}
