/*
Theme Name: RJ Tech House
Theme URI: https://rjtechhouse.com
Author: RJ Tech House
Description: Custom one-page theme for RJ Tech House
Version: 1.0.0
License: Proprietary
Text Domain: rjtechhouse
*/

/* ============================================================
   RJ TECH HOUSE — DESIGN SYSTEM + FULL PAGE STYLES
   Brand: #219CD8 (Sky) → #2A3E95 (Navy) | #2596BE (Mid)
   Font: Inter (body/headings) + Lily Script One (logo mark only)
   Theme: Light / Professional (white backgrounds, navy/sky accents)
============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────── */
:root {
  --c-navy:        #2A3E95;
  --c-sky:         #219CD8;
  --c-mid:         #2596BE;

  /* Light theme palette */
  --c-bg:          #FFFFFF;
  --c-bg2:         #F4F7FF;
  --c-bg3:         #EEF2FF;
  --c-surface:     #FFFFFF;
  --c-surface2:    #F0F4FF;

  --c-border:      rgba(42, 62, 149, 0.12);
  --c-border-h:    rgba(33, 156, 216, 0.38);

  --c-text:        #1A2340;
  --c-text2:       #4A5578;
  --c-muted:       #8896B4;

  --g-brand:       linear-gradient(135deg, #219CD8 0%, #2A3E95 100%);
  --g-card:        linear-gradient(135deg, rgba(33,156,216,.06) 0%, rgba(42,62,149,.06) 100%);
  --g-text:        linear-gradient(135deg, #219CD8 0%, #1E65D4 50%, #2A3E95 100%);

  --shadow-sm:     0 1px 4px rgba(42,62,149,.08), 0 0 0 1px rgba(42,62,149,.05);
  --shadow-md:     0 4px 16px rgba(42,62,149,.10);
  --shadow-lg:     0 8px 32px rgba(42,62,149,.12);
  --shadow-glow:   0 0 28px rgba(33,156,216,.12), 0 0 56px rgba(42,62,149,.07);
  --shadow-glow-h: 0 0 40px rgba(33,156,216,.22), 0 0 80px rgba(42,62,149,.12);

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   18px;
  --r-2xl:  24px;
  --r-3xl:  32px;
  --r-full: 9999px;

  --max-w:  1280px;
  --px:     clamp(16px, 5vw, 40px);

  --t-fast: 150ms ease;
  --t-base: 260ms ease;
  --t-slow: 420ms ease;
}

/* ── 2. RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
svg { display: block; }

/* ── 3. LAYOUT ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  padding: 96px 0;
}
.section-alt  { background: var(--c-bg2); }
.section-dark { background: var(--c-bg3); }

/* ── 4. TYPOGRAPHY ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--c-text2);
  max-width: 560px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: 56px;
}
.section-cta {
  margin-top: 48px;
  text-align: center;
}

.gradient-text {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 5. BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-lg  { font-size: 16px; padding: 14px 28px; border-radius: var(--r-lg); }
.btn-xl  { font-size: 18px; padding: 18px 36px; border-radius: var(--r-lg); }
.btn-sm  { font-size: 13px; padding: 8px 16px; border-radius: var(--r-md); }

.btn-primary {
  background: var(--g-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(33,156,216,.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,156,216,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border-color: var(--c-border-h);
  color: var(--c-sky);
}
.btn-outline:hover {
  background: rgba(33,156,216,.08);
  border-color: var(--c-sky);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text2);
}
.btn-ghost:hover {
  color: var(--c-navy);
  background: rgba(42,62,149,.07);
}

/* ── 6. HEADER ──────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 62, 149, 0.10);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(42, 62, 149, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-name {
  font-family: 'Lily Script One', cursive;
  font-size: 19px;
  font-weight: 400;
  color: var(--c-text);
  letter-spacing: 0;
}
.logo-sub {
  font-weight: 400;
  color: var(--c-text2);
}

/* Nav */
.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text2);
  transition: all var(--t-fast);
  text-decoration: none;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--c-navy);
  background: rgba(42,62,149,.07);
}
.nav-chevron {
  transition: transform var(--t-base);
}
.nav-item.open .nav-chevron {
  transform: rotate(180deg);
}

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  width: 560px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-base);
  pointer-events: none;
  z-index: 100;
}
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 12px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  transition: background var(--t-fast);
}
.mega-item:hover { background: rgba(33,156,216,.08); }
.mega-icon {
  width: 36px;
  height: 36px;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-icon svg { width: 18px; height: 18px; stroke: var(--c-sky); }
.mega-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 2px;
}
.mega-text span {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.4;
}
.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
  margin: 0 12px 12px;
}
.mega-footer-link {
  font-size: 13px;
  color: var(--c-sky);
  font-weight: 500;
  transition: color var(--t-fast);
}
.mega-footer-link:hover { color: var(--c-mid); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text2);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 64, 0.50);
  z-index: 998;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mobile-overlay.visible { display: block; }

/* Mobile nav panel */
.nav.mobile-open {
  position: fixed;
  top: 68px;
  right: 0;
  height: calc(100vh - 68px);
  width: min(320px, 100vw);
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(42,62,149,.10);
}
.nav.mobile-open .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.nav.mobile-open .nav-link {
  font-size: 15px;
  padding: 12px 16px;
}
.nav.mobile-open .mega-menu {
  position: static;
  width: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 1px solid var(--c-border);
  margin-top: 8px;
  border-radius: var(--r-lg);
  display: none;
}
.nav.mobile-open .nav-item.open .mega-menu { display: block; }
.nav.mobile-open .mega-inner { grid-template-columns: 1fr; }

/* ── 7. HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, #EBF0FF 0%, #F6F9FF 45%, #FFFFFF 75%);
}

/* Animated blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero .orb-1 {
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(33,156,216,.22) 0%, transparent 70%);
  top: -25%; right: -10%;
  animation: floatOrb 14s ease-in-out infinite;
}
.hero .orb-2 {
  width: 45vw; height: 45vw;
  max-width: 580px; max-height: 580px;
  background: radial-gradient(circle, rgba(42,62,149,.18) 0%, transparent 70%);
  bottom: -15%; left: -12%;
  animation: floatOrb 18s ease-in-out infinite reverse;
}
.hero .orb-3 {
  width: 30vw; height: 30vw;
  max-width: 380px; max-height: 380px;
  background: radial-gradient(circle, rgba(37,150,190,.16) 0%, transparent 70%);
  top: 35%; left: 25%;
  animation: floatOrb 11s ease-in-out infinite 3s;
}
@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(24px,-18px) scale(1.04); }
  66%      { transform: translate(-18px,24px) scale(.97); }
}

/* Subtle grid overlay — slightly more visible on white backgrounds */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,62,149,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,62,149,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Hero layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 600px; }

/* Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(33,156,216,.10);
  border: 1px solid rgba(33,156,216,.30);
  border-radius: var(--r-full);
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-sky);
  margin-bottom: 28px;
  transition: background var(--t-fast);
}
.status-badge:hover { background: rgba(33,156,216,.16); }
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--c-sky);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.badge-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(33,156,216,.4);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.5); }
}

/* Hero headline */
.hero-h1 {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 22px;
}
.hero-highlight {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-body {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--c-text2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.trust-label {
  font-size: 12px;
  color: var(--c-muted);
  font-weight: 500;
}
.client-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: rgba(42,62,149,.06);
  border: 1px solid rgba(42,62,149,.14);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--c-text2);
  font-weight: 500;
}

/* Device mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.device-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.device-screen {
  background: #1E2E56;
  border: 1px solid rgba(33,156,216,.30);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(42,62,149,.22), 0 0 0 1px rgba(33,156,216,.12);
  transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
  transition: transform .6s ease, box-shadow .6s ease;
  animation: deviceFloat 6s ease-in-out infinite;
}
@keyframes deviceFloat {
  0%,100% { transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) translateY(0); }
  50%      { transform: perspective(1200px) rotateY(-10deg) rotateX(3deg) translateY(-10px); }
}
.device-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #243568;
  border-bottom: 1px solid rgba(42,62,149,.40);
}
.chrome-dots {
  display: flex;
  gap: 6px;
}
.chrome-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.chrome-bar {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  color: var(--c-muted);
}
.device-content { padding: 16px; }
.dc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dc-title {
  height: 12px;
  width: 120px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-full);
}
.dc-pill {
  height: 22px;
  width: 64px;
  background: rgba(33,156,216,.25);
  border-radius: var(--r-full);
}
.dc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.dc-metric {
  height: 56px;
  border-radius: var(--r-lg);
}
.dc-metric.m1 { background: linear-gradient(135deg, rgba(33,156,216,.25), rgba(33,156,216,.10)); }
.dc-metric.m2 { background: linear-gradient(135deg, rgba(42,62,149,.30), rgba(42,62,149,.12)); }
.dc-metric.m3 { background: linear-gradient(135deg, rgba(16,185,129,.20), rgba(16,185,129,.08)); }
.dc-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 12px;
}
.dc-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--c-sky), rgba(42,62,149,.6));
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  opacity: .7;
  transition: opacity .3s;
}
.dc-bar.active-bar {
  opacity: 1;
  background: var(--g-brand);
  box-shadow: 0 0 12px rgba(33,156,216,.5);
}
.dc-chart .dc-bar:nth-child(1) { --h: 55%; }
.dc-chart .dc-bar:nth-child(2) { --h: 72%; }
.dc-chart .dc-bar:nth-child(3) { --h: 40%; }
.dc-chart .dc-bar:nth-child(4) { --h: 88%; }
.dc-chart .dc-bar:nth-child(5) { --h: 65%; }
.dc-chart .dc-bar:nth-child(6) { --h: 95%; }
.dc-chart .dc-bar:nth-child(7) { --h: 78%; }
.dc-chart .dc-bar:nth-child(8) { --h: 100%; }
.dc-table { display: flex; flex-direction: column; gap: 6px; }
.dc-row {
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
}
.dc-row:nth-child(2) { width: 80%; }
.dc-row:nth-child(3) { width: 60%; }

/* Floating stat cards — stay dark for contrast against light hero */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1E2E56;
  border: 1px solid rgba(33,156,216,.28);
  border-radius: var(--r-xl);
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(42,62,149,.20), 0 0 0 1px rgba(33,156,216,.10);
}
.float-card-1 {
  top: 18%;
  left: -60px;
  animation: floatCard1 5s ease-in-out infinite;
}
.float-card-2 {
  bottom: 20%;
  right: -50px;
  animation: floatCard2 5s ease-in-out infinite 1.5s;
}
@keyframes floatCard1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatCard2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.float-icon {
  width: 32px; height: 32px;
  background: var(--g-brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.float-info { display: flex; flex-direction: column; }
.float-info strong {
  font-size: 15px;
  font-weight: 700;
  color: #F0F4FF;
  line-height: 1.2;
}
.float-info span {
  font-size: 11px;
  color: #8896B4;
}

/* ── 8. TRUST STRIP ─────────────────────────────────────── */
.trust-section { padding: 64px 0 0; background: var(--c-bg2); }
.metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.metric-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px 24px;
}
.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--c-border);
  flex-shrink: 0;
}
.metric-num {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}
.metric-label {
  font-size: 13px;
  color: var(--c-muted);
  font-weight: 500;
}

/* Partner marquee */
.logo-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--c-border);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logo-marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee-logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 9. SERVICES ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-card);
  opacity: 0;
  transition: opacity var(--t-base);
}
.service-card:hover {
  border-color: var(--c-border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .sc-icon {
  background: var(--g-brand);
  border-color: transparent;
}
.service-card:hover .sc-icon svg { stroke: #fff; }
.service-card:hover .sc-arrow {
  opacity: 1;
  transform: translateX(0);
}

.sc-icon {
  width: 52px; height: 52px;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
  position: relative;
  z-index: 1;
}
.sc-icon svg { width: 24px; height: 24px; stroke: var(--c-sky); }
.sc-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--g-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-full);
  z-index: 1;
}
.sc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.01em;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.sc-desc {
  font-size: 14px;
  color: var(--c-text2);
  line-height: 1.65;
  flex: 1;
  position: relative;
  z-index: 1;
}
.sc-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-sky);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--t-base);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

/* ── 10. BENTO (PORTFOLIO) ──────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bento-card {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.bento-card:hover .bento-cta { opacity: 1; transform: translateX(0); }
.bento-large { min-height: 400px; }
.bento-small { flex: 1; }

.bento-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  z-index: 0;
}
.bento-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.bento-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.bento-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tag-sky   { background: rgba(33,156,216,.25); border-color: rgba(33,156,216,.4); color: #219CD8; }
.tag-teal  { background: rgba(13,148,136,.25); border-color: rgba(13,148,136,.4); color: #0D9488; }
.tag-amber { background: rgba(245,158,11,.20); border-color: rgba(245,158,11,.35); color: #F59E0B; }

.bento-card h3 {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.bento-card p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.55; }
.metric-pill {
  display: inline-block;
  background: rgba(33,156,216,.30);
  border: 1px solid rgba(33,156,216,.5);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #219CD8;
  letter-spacing: .02em;
}
.bento-cta {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--t-base);
  z-index: 3;
}
.bento-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  opacity: .3;
}
.bv-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
}
.bv-bar {
  width: 24px;
  height: var(--h);
  background: var(--c);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

/* ── 11. INDUSTRIES ─────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 24px;
  text-decoration: none;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.industry-card:hover {
  border-color: var(--c-border-h);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.industry-card:hover .industry-icon {
  background: var(--g-brand);
  border-color: transparent;
}
.industry-card:hover .industry-icon svg { stroke: #fff; }
.industry-icon {
  width: 48px; height: 48px;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.industry-icon svg { width: 22px; height: 22px; stroke: var(--c-sky); }
.industry-card h3 { font-size: 15px; font-weight: 700; color: var(--c-text); }
.industry-card p  { font-size: 13px; color: var(--c-muted); line-height: 1.55; }

/* ── 12. TECH MARQUEES ──────────────────────────────────── */
.tech-marquees { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.tech-marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.tech-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.tech-track-reverse { animation-direction: reverse; }
.tech-tag {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text2);
  white-space: nowrap;
  transition: border-color var(--t-fast);
}
.tech-tag:hover { border-color: var(--c-border-h); color: var(--c-sky); }

/* ── 13. PROCESS ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--c-sky), var(--c-navy));
  opacity: .2;
  z-index: 0;
}
.process-step {
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.step-content p { font-size: 14px; color: var(--c-text2); line-height: 1.65; }

/* ── 14. TESTIMONIALS ───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 80px;
  color: rgba(33,156,216,.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: var(--c-border-h);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.tc-stars { font-size: 14px; color: #F59E0B; letter-spacing: 2px; }
.tc-quote {
  font-size: 15px;
  color: var(--c-text2);
  line-height: 1.75;
  font-style: normal;
  flex: 1;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.tc-avatar {
  width: 44px; height: 44px;
  background: var(--g-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tc-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--c-text); }
.tc-info span   { font-size: 12px; color: var(--c-muted); }

/* ── 15. RESULTS ────────────────────────────────────────── */
.results-section { background: var(--c-bg3); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.result-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}
.result-card:hover {
  border-color: var(--c-border-h);
  box-shadow: var(--shadow-glow-h);
  transform: translateY(-4px);
}
.result-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}
.result-num span { font-size: .65em; }
.result-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.result-desc { font-size: 12px; color: var(--c-muted); line-height: 1.55; }

/* ── 16. FAQ ────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.faq-col { border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  gap: 16px;
  transition: color var(--t-fast);
  -webkit-user-select: none;
  user-select: none;
}
.faq-item summary:hover { color: var(--c-sky); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--c-sky);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--t-base);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding-bottom: 20px; }
.faq-a p { font-size: 14px; color: var(--c-text2); line-height: 1.75; }

/* ── 17. CTA SECTION ────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-section .orb-1 {
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(33,156,216,.15) 0%, transparent 70%);
  top: -30%; left: -10%;
}
.cta-section .orb-2 {
  width: 45vw; height: 45vw;
  max-width: 540px; max-height: 540px;
  background: radial-gradient(circle, rgba(42,62,149,.18) 0%, transparent 70%);
  bottom: -25%; right: -10%;
}
.cta-content { position: relative; z-index: 1; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 18px;
}
.cta-body {
  font-size: 18px;
  color: var(--c-text2);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-trust-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.trust-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── 18. FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--c-border);
}
.footer-tagline {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 240px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.social-link {
  width: 36px; height: 36px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  transition: all var(--t-fast);
}
.social-link:hover {
  border-color: var(--c-border-h);
  color: var(--c-sky);
  background: rgba(33,156,216,.08);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-text);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--c-sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { font-size: 13px; color: var(--c-muted); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a {
  font-size: 13px;
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-legal-links a:hover { color: var(--c-sky); }
.footer-address { color: var(--c-muted); font-size: 13px; }

/* ── 19. SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease calc(var(--delay, 0s)), transform .6s ease calc(var(--delay, 0s));
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── 20. RESPONSIVE — consolidated at bottom of file ──── */

/* ── 21. CONTACT SECTION ────────────────────────────────── */
.contact-section { background: var(--c-bg2); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
}

/* Left — contact info */
.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--c-sky); }
.contact-detail-body {}
.contact-detail-body strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.contact-detail-body a,
.contact-detail-body span {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--t-fast);
}
.contact-detail-body a:hover { color: var(--c-sky); }

.contact-promise {
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-promise-dot {
  width: 10px; height: 10px;
  background: var(--c-sky);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  position: relative;
}
.contact-promise-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(33,156,216,.25);
  animation: pulse 2s ease-out infinite;
}
.contact-promise p {
  font-size: 14px;
  color: var(--c-text2);
  line-height: 1.6;
}
.contact-promise strong { color: var(--c-text); }

/* Right — form */
.contact-form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-3xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.cf-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}
.cf-sub {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text2);
  letter-spacing: .01em;
}
.form-group label .req { color: var(--c-sky); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(33,156,216,.15);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.field-error {
  font-size: 12px;
  color: #EF4444;
  display: none;
}
.field-error.visible { display: block; }
.field-error-privacy { margin-top: -10px; margin-bottom: 12px; }

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E80AA' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-select option { background: var(--c-surface); color: var(--c-text); }

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
}
.form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--c-sky);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.form-privacy label {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.55;
  cursor: pointer;
}
.form-privacy a { color: var(--c-sky); text-decoration: underline; }

.form-submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 0;
}
.form-success.visible { display: flex; }
.success-icon {
  width: 64px; height: 64px;
  background: var(--g-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.form-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
}
.form-success p { font-size: 14px; color: var(--c-text2); line-height: 1.65; }

/* Responsive — contact: see consolidated block below */

/* ─── Portfolio / Work Section ─────────────────────────────── */
.bento-grid-real {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.bento-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-real { min-height: 480px; }

/* Real screenshot image inside a bento card */
.portfolio-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  display: block;
  transition: transform .6s cubic-bezier(.22,.68,0,1.2);
}
.portfolio-img-hero { object-position: 0 65px; }
.bento-card:hover .portfolio-img { transform: scale(1.05); }

/* Dark gradient overlay so text is always readable */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8,12,26,.96) 0%,
    rgba(8,12,26,.55) 40%,
    rgba(8,12,26,.28) 100%
  );
  z-index: 1;
  transition: background .3s ease;
}
.bento-card:hover .bento-overlay {
  background: linear-gradient(to top,
    rgba(8,12,26,.98) 0%,
    rgba(8,12,26,.65) 40%,
    rgba(8,12,26,.35) 100%
  );
}

/* Live site badge */
.live-badge {
  background: rgba(33,156,216,.18);
  border: 1px solid rgba(33,156,216,.4);
  border-radius: var(--r-full);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #219CD8;
  letter-spacing: .06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Bento background colour variants (replace inline --g1/--g2 vars) */
.bento-bg.bento-bg-fintech   { background: linear-gradient(135deg, #071a35, #0d2d5e); }
.bento-bg.bento-bg-health    { background: linear-gradient(135deg, #091e1e, #0d3535); }
.bento-bg.bento-bg-logistics { background: linear-gradient(135deg, #1a1500, #2d2500); }

/* Bar chart height / colour per position (replace inline --h/--c vars) */
.bv-bar:nth-child(1) { --h: 45%; --c: rgba(33,156,216,.5); }
.bv-bar:nth-child(2) { --h: 65%; --c: rgba(33,156,216,.65); }
.bv-bar:nth-child(3) { --h: 38%; --c: rgba(33,156,216,.5); }
.bv-bar:nth-child(4) { --h: 82%; --c: rgba(33,156,216,.8); }
.bv-bar:nth-child(5) { --h: 100%; --c: #219CD8; }

/* Stagger-reveal delay utilities (replace inline --delay vars) */
.reveal-d1 { --delay: .08s; }
.reveal-d2 { --delay: .16s; }
.reveal-d3 { --delay: .24s; }
.reveal-d4 { --delay: .32s; }
.reveal-d5 { --delay: .40s; }

/* Fine-grained delay steps used across sections */
.reveal-delay-05  { --delay: .05s; }
.reveal-delay-1   { --delay: .10s; }
.reveal-delay-15  { --delay: .15s; }
.reveal-delay-2   { --delay: .20s; }
.reveal-delay-25  { --delay: .25s; }
.reveal-delay-3   { --delay: .30s; }
.reveal-delay-35  { --delay: .35s; }

/* Responsive — work section: see consolidated block below */

/* ════════════════════════════════════════════════════════════
   CONSOLIDATED RESPONSIVE — largest → smallest, no duplicates
   ════════════════════════════════════════════════════════════ */

/* ── ≤ 1024px  Navigation switches to hamburger ─────────── */
@media (max-width: 1024px) {
  .nav              { display: none; }
  .nav.mobile-open  { display: block; }
  .hamburger        { display: flex; }
  .header-actions   { display: none; }
  .header-inner     { gap: 0; }
  .logo             { margin-right: auto; }
  .mega-menu        { width: 480px; }

  /* Hero: tighten columns, keep 2-col layout */
  .hero-layout      { grid-template-columns: 1fr 0.85fr; gap: 36px; }
  .device-mockup    { max-width: 380px; }

  /* Grids */
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .industries-grid  { grid-template-columns: repeat(2, 1fr); }
  .results-grid     { grid-template-columns: repeat(2, 1fr); }
  .process-steps    { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }

  /* Footer */
  .footer-top       { grid-template-columns: 1fr; }
  .footer-links     { grid-template-columns: repeat(2, 1fr); }
}

/* ── ≤ 900px  Hero goes single-column (text above device) ── */
@media (max-width: 900px) {
  .hero-layout      { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual      { order: 2; max-width: 460px; margin: 0 auto; }
  .device-screen    { transform: none; animation: none; }
  .float-card-1     { left: -12px; }
  .float-card-2     { right: -12px; }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .section-sub       { max-width: 100%; }

  /* Work / portfolio */
  .bento-grid-real  { grid-template-columns: 1fr 1fr; }
  .bento-real:last-child { grid-column: 1 / -1; min-height: 320px; }
}

/* ── ≤ 768px  Tablet layout ─────────────────────────────── */
@media (max-width: 768px) {
  .section          { padding: 64px 0; }
  .section-header   { margin-bottom: 36px; }

  /* Hero */
  .hero             { min-height: 0; padding: 88px 0 60px; }
  .hero-layout      { gap: 32px; }
  .hero-visual      { order: 2; max-width: 380px; }
  .hero-h1          { font-size: clamp(28px, 8vw, 40px); }
  .hero-ctas .btn   { flex: 1 1 auto; min-width: 0; justify-content: center; }

  /* Grids — narrower */
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid          { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }

  /* Metrics strip */
  .metrics-row      { flex-wrap: wrap; }
  .metric-divider   { display: none; }
  .metric-item      { flex: 1 1 50%; min-width: 0; }

  /* Process */
  .process-step     { padding: 0 12px; }
  .result-card      { padding: 28px 20px; }

  /* Contact */
  .contact-layout   { grid-template-columns: 1fr; gap: 40px; }
  .contact-info     { gap: 20px; }

  /* Work */
  .bento-grid-three { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bento-real       { min-height: 360px; }
  .bento-real:last-child { min-height: 280px; }
}

/* ── ≤ 640px  Hide device mockup, full mobile hero ──────── */
@media (max-width: 640px) {
  .hero             { padding: 80px 0 52px; }
  .hero-visual      { display: none; }
  .hero-layout      { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas        { flex-direction: column; gap: 10px; }
  .hero-ctas .btn   { width: 100%; justify-content: center; }
  .hero-trust       { flex-wrap: wrap; gap: 8px; }

  .section-h2       { font-size: clamp(24px, 7vw, 34px); }
  .section-sub      { font-size: 15px; }

  /* Contact form */
  .form-row         { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Work — single column */
  .bento-grid-real  { grid-template-columns: 1fr; }
  .bento-real:last-child { grid-column: auto; min-height: 300px; }
  .bento-real       { min-height: 320px; }
}

/* ── ≤ 480px  Single-column mobile ──────────────────────── */
@media (max-width: 480px) {
  .section          { padding: 52px 0; }
  .section-header   { margin-bottom: 28px; }
  .section-cta      { margin-top: 32px; }
  .container        { padding-left: 16px; padding-right: 16px; }

  /* Hero */
  .hero             { padding: 72px 0 44px; }
  .hero-h1          { font-size: clamp(26px, 8vw, 34px); }
  .hero-body        { font-size: 15px; margin-bottom: 28px; }

  /* Metrics: 2×2 grid */
  .metric-item      { padding: 20px 16px; text-align: center; }

  /* Services: single column */
  .services-grid    { grid-template-columns: 1fr; }
  .service-card     { padding: 22px 18px; }
  .sc-title         { font-size: 15px; }

  /* Portfolio */
  .bento-real       { min-height: 300px; }
  .bento-grid-three { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento-small      { min-height: 160px; }
  .bento-content h3 { font-size: 14px; }

  /* Industries: 2 col */
  .industries-grid  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .industry-card    { padding: 18px 14px; gap: 10px; }
  .industry-icon    { width: 36px; height: 36px; }
  .industry-card h3 { font-size: 13px; }
  .industry-card p  { font-size: 12px; }

  /* Tech marquee — narrow fade zone */
  .tech-marquee-row {
    -webkit-mask-image: linear-gradient(90deg, transparent 1%, black 5%, black 95%, transparent 99%);
    mask-image: linear-gradient(90deg, transparent 1%, black 5%, black 95%, transparent 99%);
  }

  /* Process: single col, inline number + text */
  .process-steps    { grid-template-columns: 1fr; gap: 24px; }
  .process-step     { padding: 0; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .step-num         { font-size: 28px; min-width: 40px; margin-bottom: 0; }

  /* Results: 2 cols */
  .results-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .result-card      { padding: 20px 14px; }
  .result-num       { font-size: clamp(26px, 8vw, 38px); }
  .result-desc      { font-size: 11px; }

  /* Testimonials */
  .testimonial-card { padding: 20px 18px; }
  .tc-quote         { font-size: 14px; }

  /* CTA */
  .cta-section      { padding: 60px 0; }
  .cta-h2           { font-size: clamp(22px, 7vw, 32px); }
  .cta-body         { font-size: 15px; }
  .cta-trust-pills  { flex-direction: column; align-items: center; }
  .float-card       { display: none; }

  /* Contact */
  .contact-layout   { gap: 32px; }
  .contact-detail   { gap: 12px; }
  .contact-detail-icon { width: 38px; height: 38px; }
  .contact-form-wrap { padding: 24px 16px; }
  .form-input, .form-select, .form-textarea { font-size: 15px; }

  /* Footer */
  .footer-top       { gap: 28px; }
  .footer-links     { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-brand p   { font-size: 13px; }
  .footer-bottom    { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal-links { justify-content: center; }
}

/* ── ≤ 360px  Smallest phones ───────────────────────────── */
@media (max-width: 360px) {
  .container        { padding-left: 12px; padding-right: 12px; }
  .logo img         { width: 40px; height: 40px; }
  .logo-name        { font-size: 16px; }
  .bento-grid-three { grid-template-columns: 1fr; }
  .industries-grid  { grid-template-columns: 1fr; }
  .footer-links     { grid-template-columns: 1fr; }
}

