:root {
  --bg-dark: #09101d;
  --bg-dark-2: #0f1a2e;
  --bg-card-dark: #13213a;
  --bg-light: #f6f8fb;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  --emerald: #059669;
  --emerald-bright: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --gold: #f59e0b;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 54px rgba(9, 16, 29, 0.16);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 16, 29, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 16, 29, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  padding: 5px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; }
.brand-sub { color: var(--text-light-muted); font-size: 0.72rem; font-weight: 500; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-desktop a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--emerald-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-spring);
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.cidb-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.45rem; font-size: 0.98rem; }
.btn-block { width: 100%; padding: 0.85rem 1.25rem; font-size: 0.95rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.32);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(16, 185, 129, 0.42); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: transparent;
}
.btn-outline-dark {
  border-color: #cbd5e1;
  color: var(--text-dark);
  background: #fff;
}
.btn-outline-dark:hover { border-color: var(--emerald); color: var(--emerald); }

/* Mobile Menu & Drawer */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 80;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--bg-dark);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-spring);
  z-index: 90;
  border-left: 1px solid var(--border-dark);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-close {
  background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.drawer-links { display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0 auto; }
.drawer-links a {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.drawer-footer { display: grid; gap: 0.65rem; }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 18% 20%, rgba(16, 185, 129, 0.16), transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.12), transparent 45%),
              var(--bg-dark);
  color: var(--text-light);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  color: #e2e8f0;
  margin-bottom: 1.35rem;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.text-gradient {
  background: linear-gradient(95deg, #34d399, #10b981 55%, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 58ch;
  margin: 0 0 1.85rem;
}
.hero-lead strong { color: #fff; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.3rem; }

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.metric-item { display: flex; flex-direction: column; }
.metric-val { font-size: 1.45rem; font-weight: 600; color: #fff; }
.metric-lbl { font-size: 0.8rem; color: var(--text-light-muted); }
.metric-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.14); }

/* Hero Slider */
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.hero-slides {
  position: relative;
  height: 460px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(48px) scale(0.98);
  transition: opacity 0.6s var(--ease-spring), transform 0.7s var(--ease-spring);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.hero-slide.is-leaving {
  opacity: 0;
  transform: translateX(-48px) scale(0.98);
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 29, 0.08) 25%, rgba(9, 16, 29, 0.94) 92%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.75rem 4.2rem;
}
.slide-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(9, 16, 29, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}
.hero-slide-overlay h3 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.hero-slide-overlay p { margin: 0; font-size: 0.9rem; color: #cbd5e1; }

.hero-slider-controls {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-dots { display: flex; gap: 0.45rem; }
.hero-dot {
  width: 24px; height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.3s var(--ease-spring), background 0.3s ease;
}
.hero-dot.is-active { width: 42px; background: var(--emerald-bright); }
.hero-arrows { display: flex; gap: 0.45rem; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(9, 16, 29, 0.75);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: var(--emerald); border-color: var(--emerald); }

.hero-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 6;
}
.hero-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald-bright), var(--gold));
}

/* Marquee Clients Strip */
.clients-strip {
  background: #0d1626;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.85rem 0 2.15rem;
  overflow: hidden;
}
.clients-header { text-align: center; margin-bottom: 1.25rem; }
.section-kicker { font-size: 0.74rem; letter-spacing: 0.12em; color: #94a3b8; }
.marquee-viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: marqueeSlide 32s linear infinite;
}
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-card {
  height: 68px;
  min-width: 165px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  background: #24344d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-card-light { background: #ffffff; }
.client-card-navy { background: #191c48; }
.client-card img { max-height: 44px; max-width: 135px; object-fit: contain; }
.client-text-pill {
  height: 68px;
  padding: 0 1.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* General Sections */
.section { padding: clamp(4rem, 7vw, 6rem) 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 0.65rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}
.section-head h2, .about-content h2, .contact-info h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-sub { max-width: 48ch; color: var(--text-muted); margin: 0; }

/* About Section */
.about-section { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 2.5rem; }
.media-frame-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.media-frame-main img { width: 100%; height: 100%; object-fit: cover; }
.media-frame-inset {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-lg);
}
.media-frame-inset img { width: 100%; height: 100%; object-fit: cover; }
.experience-badge {
  position: absolute;
  left: 18px;
  bottom: 12px;
  background: var(--bg-dark);
  color: #fff;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.exp-num { font-size: 1.55rem; font-weight: 700; color: var(--emerald-bright); }
.exp-txt { font-size: 0.82rem; font-weight: 700; line-height: 1.25; }
.exp-txt small { color: var(--text-light-muted); font-weight: 500; }

.about-content p { color: var(--text-muted); margin: 1rem 0; }
.philosophy-quote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--emerald);
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 700;
  border-radius: 0 12px 12px 0;
}
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.vm-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}
.vm-card h3 { margin: 0 0 0.65rem; font-size: 1rem; color: var(--text-dark); }
.vm-card ul { margin: 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.88rem; }
.vm-card li + li { margin-top: 0.35rem; }

/* Services & Sliding Segmented Switch */
.services-section { background: var(--bg-light); }
.segmented-switch {
  position: relative;
  display: inline-flex;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 12px;
}
.switch-glider {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  background: var(--bg-dark);
  border-radius: 9px;
  transition: transform 0.35s var(--ease-spring), width 0.35s var(--ease-spring);
  z-index: 1;
}
.switch-btn {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 0.55rem 0.95rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s ease;
}
.switch-btn.is-active { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(5, 150, 105, 0.35);
}
.service-card.is-hidden { display: none; }
.service-card-highlight {
  background: linear-gradient(155deg, var(--bg-dark), var(--bg-dark-2));
  color: #fff;
  border-color: rgba(16, 185, 129, 0.3);
}
.service-card-highlight p { color: #cbd5e1 !important; }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--emerald);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.service-card-highlight .service-icon {
  background: rgba(16, 185, 129, 0.18);
  color: var(--emerald-bright);
}
.service-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.service-card p { margin: 0 0 1.25rem; font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.service-tag { font-size: 0.7rem; color: var(--emerald); font-weight: 600; }
.service-card-highlight .service-tag { color: var(--emerald-bright); }

/* Products Sliding Tabs */
.products-section { background: var(--bg-white); }
.tabs-shell {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tabs-nav {
  position: relative;
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}
.tab-underline {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--emerald);
  transition: transform 0.38s var(--ease-spring), width 0.38s var(--ease-spring);
}
.tab-btn {
  flex: 1;
  min-width: 210px;
  padding: 1.15rem 1.25rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.tab-btn.is-active { color: var(--emerald); background: #f0fdf4; }

.tabs-viewport { overflow: hidden; }
.tabs-track {
  display: flex;
  transition: transform 0.55s var(--ease-spring);
}
.tab-panel {
  min-width: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.panel-code { font-size: 0.74rem; color: var(--emerald); font-weight: 600; }
.panel-copy h3 { margin: 0.45rem 0 0.75rem; font-size: 1.5rem; }
.panel-copy p { color: var(--text-muted); margin: 0 0 1.2rem; }
.spec-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 0.55rem;
}
.spec-list li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 600;
  font-size: 0.93rem;
}
.spec-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--emerald); font-weight: 800;
}
.panel-specs-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.spec-row {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.spec-row:last-child { padding-bottom: 0; border-bottom: none; }
.spec-row span { font-size: 0.7rem; color: var(--emerald-bright); }
.spec-row strong { font-size: 0.96rem; margin-top: 0.15rem; }

/* Projects Horizontal Carousel */
.projects-section {
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.section-head-dark .section-eyebrow { color: var(--emerald-bright); }
.carousel-toolbar { display: flex; align-items: center; gap: 0.75rem; }
.slide-counter { color: var(--text-light-muted); font-size: 0.9rem; margin-right: 0.25rem; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.carousel-btn:hover { background: var(--emerald); border-color: var(--emerald); transform: scale(1.06); }

.projects-viewport { overflow: hidden; cursor: grab; }
.projects-viewport:active { cursor: grabbing; }
.projects-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--ease-spring);
  will-change: transform;
}
.project-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  background: var(--bg-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-spring);
}
.project-card:hover { border-color: rgba(16, 185, 129, 0.5); transform: translateY(-4px); }
.project-img { position: relative; height: 220px; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-year {
  position: absolute; top: 12px; right: 12px;
  background: rgba(9, 16, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.project-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.project-loc { font-size: 0.7rem; color: var(--emerald-bright); font-weight: 600; }
.project-body h3 { margin: 0.4rem 0 0.55rem; font-size: 1.15rem; }
.project-body p { margin: 0 0 1.15rem; font-size: 0.88rem; color: #cbd5e1; flex: 1; }
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}
.project-meta span { color: var(--text-light-muted); }
.project-meta strong { color: #fff; }

.projects-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.projects-dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.3s var(--ease-spring), background 0.3s ease;
}
.projects-dots button.is-active { width: 32px; background: var(--emerald-bright); }

/* Contact */
.contact-section { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-info p { color: var(--text-muted); margin: 0.9rem 0 1.5rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 1.25rem; }
.c-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.c-card:hover { border-color: var(--emerald); transform: translateY(-2px); }
.c-card-wa { background: #ecfdf5; border-color: rgba(5, 150, 105, 0.3); }
.c-label { font-size: 0.68rem; color: var(--emerald); font-weight: 600; }
.c-card strong { font-size: 1rem; color: var(--text-dark); }
.c-sub { font-size: 0.8rem; color: var(--text-muted); }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark);
}
.location-card {
  position: relative;
  padding: 1.4rem 1.5rem;
  background: radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.2), transparent 55%), var(--bg-dark);
  color: #fff;
}
.loc-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.loc-content { position: relative; z-index: 1; }
.loc-pin { font-size: 0.7rem; color: var(--emerald-bright); font-weight: 600; }
.loc-content h4 { margin: 0.4rem 0 0.35rem; font-size: 1.05rem; }
.loc-content p { margin: 0 0 1rem; font-size: 0.85rem; color: #cbd5e1; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.form-sub { margin: 0 0 1.4rem; color: var(--text-muted); font-size: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group label { font-size: 0.84rem; font-weight: 700; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  font-family: inherit;
  font-size: 0.94rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
}
.form-actions { display: grid; gap: 0.65rem; margin-top: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { max-width: 40ch; }
.footer-desc { font-size: 0.88rem; margin: 1rem 0 0; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-cols h4 { color: #fff; margin: 0 0 0.85rem; font-size: 0.95rem; }
.footer-cols a { display: block; font-size: 0.88rem; margin-bottom: 0.45rem; transition: color 0.2s ease; }
.footer-cols a:hover { color: var(--emerald-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.45);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.floating-wa:hover { transform: translateY(-3px) scale(1.03); }

/* Scroll-triggered Slide Animations */
.reveal-slide-up, .reveal-slide-left, .reveal-slide-right {
  opacity: 0;
  transition: opacity 0.75s var(--ease-spring), transform 0.8s var(--ease-spring);
}
.reveal-slide-up { transform: translateY(36px); }
.reveal-slide-left { transform: translateX(-40px); }
.reveal-slide-right { transform: translateX(40px); }
.is-visible { opacity: 1 !important; transform: translate(0, 0) !important; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout, .about-grid, .panel-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
  .cidb-pill { display: none; }
}
@media (max-width: 768px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero-slides { height: 390px; }
  .services-grid, .vm-grid, .contact-cards, .form-row { grid-template-columns: 1fr; }
  .project-card { flex: 0 0 100%; }
  .media-frame-inset { width: 52%; right: 0; }
  .floating-wa span { display: none; }
  .floating-wa { padding: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
