:root {
  --bg-dark: #060d1f;
  --bg-dark-elevated: #0d1936;
  --bg-light: #ffffff;
  --bg-alt: #f3f6fb;
  --border-light: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.22);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-on-dark: #f8fafc;
  --text-muted-dark: #94a3b8;

  --blue: #0a66ff;
  --cyan: #00c2ff;
  --orange: #ff6b2c;
  --orange-hover: #f25515;
  --emerald: #10b981;
  --purple: #7c3aed;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(6, 13, 31, 0.14);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

/* Topbar */
.topbar {
  background: #040916;
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: var(--cyan);
}

.topbar-phone {
  color: #ffffff;
  font-weight: 700;
}

.topbar-divider {
  opacity: 0.35;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(6, 13, 31, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 9px;
  background: #ffffff;
  padding: 2px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(6, 13, 31, 0.08);
}

.brand-logo-img.footer-logo {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--bg-dark);
}

.brand-title.light {
  color: #ffffff;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.brand-sub.light {
  color: var(--text-muted-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
}

.lang-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.lang-pill.active {
  background: var(--bg-dark);
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.96rem;
}

.btn-cta {
  background: linear-gradient(135deg, var(--orange), #ff8444);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 107, 44, 0.28);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--orange-hover), #ff732e);
  box-shadow: 0 14px 30px rgba(255, 107, 44, 0.36);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-dark {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-light);
  padding: 12px 20px;
  font-size: 0.92rem;
}

.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Mobile Menu Button & Drawer */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  padding: 9px;
}

.menu-btn span {
  height: 2px;
  width: 100%;
  background: var(--bg-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 20px;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer a:not(.btn) {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-drawer a:not(.btn):hover {
  background: var(--bg-alt);
  color: var(--blue);
}

.mobile-wa-btn {
  margin-top: 8px;
  padding: 12px 18px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 68px 0 84px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 60% 40%, black 35%, transparent 85%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 440px;
  height: 440px;
  background: rgba(10, 102, 255, 0.34);
  top: -140px;
  left: -80px;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  background: rgba(255, 107, 44, 0.22);
  bottom: -140px;
  right: -60px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag-hot {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(90deg, #38bdf8, #60a5fa, #ff8b57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin: 0 0 28px;
  max-width: 58ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #ffffff;
  line-height: 1.1;
}

.metric-item span {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.metric-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.14);
}

/* Command Center Showcase */
.command-card {
  background: rgba(13, 25, 54, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45);
}

.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.command-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #cbd5e1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.command-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.cmd-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 10px;
  padding: 9px 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cmd-tab.active {
  background: linear-gradient(135deg, rgba(10, 102, 255, 0.85), rgba(0, 194, 255, 0.7));
  border-color: rgba(0, 194, 255, 0.6);
  color: #ffffff;
}

.cmd-panel[hidden] {
  display: none;
}

.topology-box {
  background: #071229;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  padding: 14px;
}

.flow-line {
  animation: dashMove 12s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -120; }
}

.cmd-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 13px;
}

.mini-label {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted-dark);
  margin-bottom: 3px;
}

.mini-stat strong {
  font-size: 0.86rem;
  color: #ffffff;
}

.cctv-grid-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cam-feed {
  position: relative;
  height: 86px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #132954 0%, #071127 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.cam-tag {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.6s infinite;
}

.cam-reticle {
  position: absolute;
  inset: 26px 38%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 6px;
}

.cam-res {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 600;
}

.erp-ui {
  background: #071229;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  padding: 14px;
}

.erp-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.erp-kpi {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 10px;
}

.erp-kpi span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted-dark);
}

.erp-kpi strong {
  font-size: 0.85rem;
  color: #6ee7b7;
}

.erp-bars {
  height: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  padding: 4px 8px 0;
}

.bar-group {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.bar-fill {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #38bdf8, #0a66ff);
  opacity: 0.65;
}

.bar-fill.active {
  background: linear-gradient(180deg, #ff8b57, #ff6b2c);
  opacity: 1;
}

.bar-group span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted-dark);
}

.command-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.cmd-link {
  color: var(--cyan);
  font-weight: 700;
}

/* Clients Strip */
.clients-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.clients-label {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.client-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.client-badge:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.client-abbr {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-dark);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.client-abbr.accent-orange { background: var(--orange); }
.client-abbr.accent-emerald { background: var(--emerald); }

.client-meta strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.2;
}

.client-meta span {
  display: block;
  font-size: 0.71rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-eyebrow.light {
  color: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.18;
  margin: 0;
  max-width: 24ch;
}

.section-title.light {
  color: #ffffff;
}

.section-desc {
  max-width: 48ch;
  color: var(--text-muted);
  margin: 0;
}

/* Services Bento */
.bento-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 255, 0.35);
}

.service-card.featured {
  background: linear-gradient(145deg, #07122b, #0e214a);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.25);
}

.service-card.featured p,
.service-card.featured .check-list li {
  color: #cbd5e1;
}

.service-card.featured .card-action {
  color: var(--cyan);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.service-icon.blue { background: rgba(10, 102, 255, 0.22); color: #38bdf8; }
.service-icon.orange { background: rgba(255, 107, 44, 0.14); color: var(--orange); }
.service-icon.cyan { background: rgba(0, 194, 255, 0.14); color: #0284c7; }
.service-icon.purple { background: rgba(124, 58, 237, 0.12); color: var(--purple); }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.55;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 6px;
  display: grid;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.card-action {
  margin-top: auto;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.92rem;
}

/* Filter Pills & Products */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.product-card[hidden],
.project-card[hidden] {
  display: none;
}

.product-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 102, 255, 0.1);
  color: var(--blue);
}

.product-badge.orange { background: rgba(255, 107, 44, 0.12); color: #d9480f; }
.product-badge.cyan { background: rgba(0, 194, 255, 0.14); color: #0284c7; }

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0;
}

.product-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 6px;
  color: #334155;
}

.product-cta {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
}

.product-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff, #eef5ff);
  border-color: rgba(10, 102, 255, 0.25);
}

.wide-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 68ch;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-banner {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
}

.banner-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.banner-blue { background: linear-gradient(135deg, #0a66ff, #0284c7); }
.banner-navy { background: linear-gradient(135deg, #0b1936, #1e3a8a); }
.banner-cyan { background: linear-gradient(135deg, #0284c7, #06b6d4); }

.proj-loc {
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 9px;
  border-radius: 999px;
}

.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0;
}

.project-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.proj-detail-btn {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: inherit;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Estimator Section */
.estimator-section {
  background: linear-gradient(160deg, #050b1a 0%, #0b1c3f 100%);
  color: #ffffff;
}

.estimator-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.estimator-desc {
  color: #cbd5e1;
  margin: 16px 0 28px;
}

.testimonial-quote-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
}

.quote-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.quote-author strong {
  display: block;
  font-size: 0.92rem;
}

.quote-author span {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.estimator-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.est-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  color: #334155;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.choice-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.est-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.est-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.92rem;
  background: #ffffff;
}

.brief-preview {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 0.85rem;
  color: #334155;
  white-space: pre-line;
}

.est-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* About & Timeline */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.about-copy p {
  color: var(--text-muted);
}

.pillars-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.pillar-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-dark);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  flex-shrink: 0;
}

.pillar-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.pillar-item p {
  margin: 0;
  font-size: 0.9rem;
}

.timeline-card {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.timeline-card h3 {
  font-family: var(--font-display);
  margin: 0 0 22px;
  font-size: 1.3rem;
}

.timeline-items {
  display: grid;
  gap: 20px;
}

.tl-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-dark);
}

.tl-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tl-year {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
}

.tl-item strong {
  display: block;
  margin-bottom: 4px;
}

.tl-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted-dark);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-info-col {
  display: grid;
  gap: 14px;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.info-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 6px;
}

.info-address {
  margin: 4px 0 8px;
  color: #334155;
  font-size: 0.94rem;
}

.info-sub-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
}

.hours-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.9rem;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 16px;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.35rem;
}

.form-note {
  margin: -6px 0 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.93rem;
}

.field input:focus,
.field textarea:focus,
.est-input:focus {
  outline: 2px solid rgba(10, 102, 255, 0.25);
  border-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-feedback {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--emerald);
}

.form-feedback.error {
  color: #dc2626;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin: 14px 0 0;
  max-width: 38ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 1rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 22px;
  font-size: 0.84rem;
  color: var(--text-muted-dark);
  text-align: center;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  background: #16a34a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-wa:hover {
  transform: translateY(-3px);
  background: #15803d;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 13, 31, 0.72);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: min(580px, 100%);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  font-size: 1.35rem;
  cursor: pointer;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 4px 0;
}

.modal-loc {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
  margin: 0 0 14px;
}

.modal-summary {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.modal-scope ul {
  margin: 8px 0 22px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: #334155;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .estimator-shell,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .menu-btn {
    display: inline-flex;
  }

  .bento-services,
  .products-grid,
  .projects-grid,
  .clients-grid,
  .est-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-card-wide {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar {
    display: none;
  }

  .hero {
    padding: 46px 0 56px;
  }

  .eyebrow-pill {
    border-radius: 14px;
    padding: 8px 12px;
    gap: 6px 10px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .metric-sep {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .command-tabs {
    grid-template-columns: 1fr;
  }

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

  .floating-wa span {
    display: none;
  }

  .floating-wa {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse-dot,
  .rec-dot,
  .flow-line {
    animation: none;
  }
}
