:root {
  --bg: #060809;
  --surface: #0C0F12;
  --surface2: #101316;
  --border: #1A1F26;
  --border-light: #252C35;
  --accent: #00FF88;
  --accent-dim: rgba(0,255,136,0.12);
  --accent2: #0088FF;
  --accent3: #8B5CF6;
  --text: #E8EDF2;
  --text-secondary: #B0B8C4;
  --muted: #5A6472;
  --card: #0E1114;
  --gradient-1: linear-gradient(135deg, #00FF88, #0088FF);
  --gradient-2: linear-gradient(135deg, #8B5CF6, #00FF88);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1.5px solid rgba(0,255,136,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

/* ===== PARTICLES ===== */
#particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.4;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 800; letter-spacing: 0.1em; color: var(--text);
}
.preloader-logo span { color: var(--accent); }
.preloader-bar {
  width: 200px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.preloader-bar::after {
  content: ''; display: block; height: 100%; width: 0;
  background: var(--gradient-1); border-radius: 2px;
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
nav.scrolled {
  border-bottom-color: var(--border);
  backdrop-filter: blur(24px) saturate(1.2);
  background: rgba(6,8,9,0.85);
  padding: 14px 48px;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 20px;
  letter-spacing: 0.12em; color: var(--text);
  text-decoration: none; position: relative;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 10px 24px;
  background: var(--accent); color: var(--bg);
  border: none; border-radius: 6px;
  cursor: none; text-decoration: none;
  transition: all 0.25s;
}
.nav-cta:hover { background: #00cc6a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,255,136,0.2); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(6,8,9,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; visibility: hidden; transition: all 0.4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 28px; font-weight: 700; color: var(--text);
  text-decoration: none; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 48px 100px;
  position: relative; overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
}

.hero-glow {
  position: absolute; top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,255,136,0.08) 0%, rgba(0,136,255,0.04) 40%, transparent 70%);
  pointer-events: none; animation: pulseGlow 8s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  border: 1px solid var(--border-light);
  background: rgba(0,255,136,0.04);
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: 32px; width: fit-content;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge .pulse {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; max-width: 850px;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
h1 .gradient-text {
  background: var(--gradient-1); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
h1 .dim { color: var(--muted); }

.hero-sub {
  max-width: 520px;
  font-size: 16px; line-height: 1.8;
  color: var(--text-secondary); margin-top: 32px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 14px; margin-top: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 8px;
  background: var(--accent); color: var(--bg);
  border: none; cursor: none; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.btn-primary:hover { background: #00cc6a; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,255,136,0.25); }
.btn-ghost {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 8px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border-light); cursor: none;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex; gap: 48px; margin-top: 72px;
  padding-top: 40px; border-top: 1px solid var(--border);
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.stat { text-align: left; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 800; color: var(--text);
}
.stat-num span { background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ===== LOGO TICKER ===== */
.ticker-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0; overflow: hidden; background: var(--surface);
}
.ticker { display: flex; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-item {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 0 28px;
  display: flex; align-items: center; gap: 14px;
}
.ticker-item::after { content: '◆'; color: var(--accent); font-size: 6px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
section { padding: 100px 48px; position: relative; }
.section-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ''; width: 20px; height: 1.5px; background: var(--accent); border-radius: 2px; }
.section-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-top: 16px; max-width: 560px; }

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.02em;
}

/* ===== SERVICES ===== */
#services { background: var(--surface); }
.services-header { max-width: 600px; margin-bottom: 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--card);
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-1); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,255,136,0.06);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 24px; margin-bottom: 20px;
  width: 56px; height: 56px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,255,136,0.04);
  color: var(--accent);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.service-icon::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 14px;
}
.service-icon svg {
  position: relative; z-index: 1;
  transition: all 0.4s;
}
.service-card:hover .service-icon {
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0,255,136,0.2), 0 0 0 1px rgba(0,255,136,0.15);
}
.service-card:hover .service-icon::before {
  opacity: 0.12;
}
.service-card:hover .service-icon svg {
  filter: drop-shadow(0 0 6px rgba(0,255,136,0.4));
}
.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px;
}
.service-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.75; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag {
  font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--border);
  border-radius: 100px; color: var(--muted);
  transition: all 0.2s;
}
.service-card:hover .tag { border-color: var(--border-light); }

/* ===== PROJECTS ===== */
#projects { background: var(--surface); }
.projects-container { margin-top: 56px; }

.project-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 80px;
  padding-bottom: 80px; border-bottom: 1px solid var(--border);
}
.project-showcase:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.project-showcase.reverse { direction: rtl; }
.project-showcase.reverse > * { direction: ltr; }

.project-img-wrap {
  position: relative; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s;
}
.project-img-wrap img {
  width: 100%; display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.project-img-wrap:hover img { transform: scale(1.03); }
.project-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0,255,136,0.06));
  pointer-events: none; border-radius: var(--radius-lg);
}
.project-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 6px;
  background: var(--accent); color: var(--bg);
}

.project-info { padding: 8px 0; }
.project-info .client {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.project-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 26px; font-weight: 800;
  line-height: 1.15; margin-bottom: 16px;
}
.project-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.metric-row { display: flex; gap: 28px; margin: 24px 0; flex-wrap: wrap; }
.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: 26px; font-weight: 800;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.metric-desc { font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.tech {
  font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 14px; border: 1px solid var(--border); border-radius: 100px; color: var(--muted);
}

/* ===== PROJECT GALLERY (other projects) ===== */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-top: 56px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all 0.35s; position: relative;
}
.project-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.project-card .project-num {
  font-family: 'Syne', sans-serif;
  font-size: 44px; font-weight: 800; color: var(--border); line-height: 1;
  margin-bottom: 16px;
}
.project-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.project-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.project-card .project-link {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.project-card:hover .project-link { gap: 10px; }

/* ===== SECTORS ===== */
#sectors { background: var(--bg); }
.sectors-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 56px;
}
.sector-item {
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.sector-item:hover {
  border-color: rgba(0,255,136,0.3);
  background: rgba(0,255,136,0.03);
  transform: translateY(-2px);
}
.sector-num { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px; }
.sector-item h4 { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sector-item p { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ===== ABOUT ===== */
#about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; margin-top: 56px; align-items: start;
}
.about-left p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 20px; }
.about-left .highlight {
  font-size: 20px; color: var(--text); font-family: 'Syne', sans-serif;
  font-weight: 600; line-height: 1.5; margin-bottom: 24px;
  padding-left: 20px; border-left: 3px solid var(--accent);
}
.social-links { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.social-link {
  font-size: 12px; font-weight: 500; padding: 10px 20px;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-secondary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.social-link svg { width: 16px; height: 16px; }


.skill-group { margin-bottom: 28px; }
.skill-group-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill {
  font-size: 11px; font-weight: 500; padding: 7px 16px;
  border: 1px solid var(--border); border-radius: 100px; color: var(--muted);
  transition: all 0.25s;
}
.skill-pill:hover { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }

/* ===== PROCESS ===== */
#process { background: var(--surface); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 56px;
}
.process-step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  transition: all 0.3s;
}
.process-step:hover { border-color: var(--border-light); transform: translateY(-3px); }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px; font-weight: 800;
  background: linear-gradient(180deg, var(--border-light), transparent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1; margin-bottom: 20px;
}
.process-step h4 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ===== CONTACT ===== */
#contact {
  background: var(--bg); text-align: center;
  position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, rgba(0,136,255,0.03) 40%, transparent 70%);
  pointer-events: none;
}
.contact-inner { max-width: 640px; margin: 0 auto; position: relative; }
#contact h2 { font-size: clamp(36px, 5vw, 64px); }
#contact p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin: 20px 0 40px; }
.contact-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.contact-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 28px; border: 1px solid var(--border);
  border-radius: 8px; color: var(--muted); text-decoration: none;
  transition: all 0.25s;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.contact-link.primary {
  background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600;
}
.contact-link.primary:hover { background: #00cc6a; box-shadow: 0 8px 24px rgba(0,255,136,0.2); }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== TOUCH DEVICE: hide custom cursor ===== */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
  a, button, .service-card, .sector-item, .project-card, .skill-pill { cursor: pointer; }
  .btn-primary, .btn-ghost, .nav-cta, .contact-link, .social-link { cursor: pointer; }
  /* Disable hover transforms that feel janky on touch */
  .service-card:hover { transform: none; box-shadow: none; }
  .project-card:hover { transform: none; box-shadow: none; }
  .sector-item:hover { transform: none; }
  .process-step:hover { transform: none; }
}

/* ===== TABLET: 1024px ===== */
@media (max-width: 1024px) {
  nav { padding: 18px 28px; }
  nav.scrolled { padding: 14px 28px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  section { padding: 72px 28px; }
  .hero { padding: 110px 28px 72px; }

  h2 { font-size: clamp(26px, 4vw, 42px); }

  .project-showcase { grid-template-columns: 1fr; gap: 32px; }
  .project-showcase.reverse { direction: ltr; }
  .project-info h3 { font-size: 22px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .sectors-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* ===== MOBILE: 768px ===== */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .logo { font-size: 18px; }

  section { padding: 60px 20px; }
  .hero { padding: 100px 20px 60px; min-height: auto; }

  h1 { font-size: clamp(32px, 9vw, 52px); line-height: 1.05; }
  .hero-sub { font-size: 14px; line-height: 1.75; margin-top: 24px; max-width: 100%; }
  .hero-badge { font-size: 11px; padding: 6px 14px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-top: 32px; }
  .btn-primary, .btn-ghost {
    width: 100%; justify-content: center;
    padding: 14px 24px; font-size: 13px;
    min-height: 48px; /* touch-friendly */
  }

  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-top: 48px; padding-top: 32px;
  }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 10px; }

  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 28px 24px; }
  .service-card h3 { font-size: 16px; }
  .service-card p { font-size: 13px; }
  .service-icon { width: 48px; height: 48px; }
  .service-icon svg { width: 22px; height: 22px; }

  .project-showcase { gap: 24px; margin-bottom: 56px; padding-bottom: 56px; }
  .project-info h3 { font-size: 20px; }
  .project-info p { font-size: 13px; line-height: 1.7; }
  .metric-row { gap: 20px; }
  .metric-val { font-size: 22px; }

  .projects-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .project-card { padding: 24px 20px; }
  .project-card .project-num { font-size: 36px; }
  .project-card h4 { font-size: 16px; }

  .sectors-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  .sector-item { padding: 20px 18px; }
  .sector-item h4 { font-size: 14px; }
  .sector-item p { font-size: 11px; }

  .about-left .highlight { font-size: 17px; padding-left: 16px; }
  .about-left p { font-size: 14px; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .process-step { padding: 24px 20px; }
  .step-num { font-size: 36px; }
  .process-step h4 { font-size: 15px; }
  .process-step p { font-size: 12px; }

  #contact h2 { font-size: clamp(28px, 6vw, 44px); }
  #contact p { font-size: 14px; }
  .contact-links { flex-direction: column; align-items: center; gap: 10px; }
  .contact-link { width: 100%; text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; }

  footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  .mobile-menu a { font-size: 24px; }

  .section-tag { font-size: 10px; }
  .section-desc { font-size: 14px; }

  h2 { font-size: clamp(24px, 6vw, 36px); }

  .ticker-item { font-size: 11px; padding: 0 20px; }
}

/* ===== SMALL MOBILE: 400px ===== */
@media (max-width: 400px) {
  nav { padding: 14px 16px; }
  section { padding: 48px 16px; }
  .hero { padding: 90px 16px 48px; }

  h1 { font-size: clamp(28px, 8vw, 40px); }
  h2 { font-size: clamp(22px, 6vw, 32px); }

  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-num { font-size: 24px; }

  .sectors-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  .service-card { padding: 24px 18px; }
  .about-left .highlight { font-size: 15px; }

  .contact-inner { padding: 0 4px; }

  .skill-pill { font-size: 10px; padding: 6px 12px; }
  .tech { font-size: 9px; padding: 4px 10px; }
  .tag { font-size: 9px; padding: 4px 10px; }
}
