/* =========================================
   NerdHerd IT Solutions — modern styling
   ========================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tinted: #eef1f8;
  --ink: #0a0e1a;
  --ink-soft: #1a1f2e;
  --muted: #5a627a;
  --line: #e4e7ef;
  --brand: #00d4ff;
  --brand-2: #6366f1;
  --brand-3: #a855f7;
  --grad: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #a855f7 100%);
  --shadow-sm: 0 2px 8px rgba(10, 14, 26, .06);
  --shadow-md: 0 12px 32px rgba(10, 14, 26, .08);
  --shadow-lg: 0 24px 64px rgba(10, 14, 26, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --t: 220ms cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1em; }

.muted { color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 64ch; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.container {
  width: min(100% - 2.4rem, var(--maxw));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 1rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================ Buttons ================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

/* ================ Header / Nav ================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 18px rgba(10, 14, 26, .04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand-mark { display: inline-flex; }
.brand-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.site-footer .brand-logo img { height: 30px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--t), color var(--t);
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link.active,
.nav-item.active > .nav-link { color: var(--brand-2); }
.nav-cta { margin-left: .4rem; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item .caret { transition: transform var(--t); flex-shrink: 0; }
.nav-item.open .caret { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  padding-top: 8px;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t), opacity var(--t);
  z-index: 60;
}
.has-dropdown.wide .dropdown-panel { min-width: 560px; }

.dropdown-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: .8rem;
  overflow: hidden;
}

.nav-item.open > .dropdown-panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-head {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 255, .08), rgba(168, 85, 247, .08));
  margin-bottom: .4rem;
  transition: background var(--t);
}
.dropdown-head:hover { background: linear-gradient(135deg, rgba(0, 212, 255, .14), rgba(168, 85, 247, .14)); }
.dropdown-head strong { color: var(--ink); font-weight: 600; }
.dropdown-head span { color: var(--muted); font-size: .85rem; }

.dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.dropdown-list.two-col { grid-template-columns: 1fr 1fr; }
.dropdown-list a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .8rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: .92rem;
  transition: background var(--t), color var(--t);
}
.dropdown-list a:hover { background: var(--bg-soft); color: var(--brand-2); }
.dropdown-list .dd-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(168, 85, 247, .12));
  color: var(--brand-2);
  flex-shrink: 0;
}
.dropdown-list .dd-icon .svc-icon { width: 18px; height: 18px; }
.dropdown-list .dd-title { font-weight: 500; display: block; line-height: 1.3; }
.dropdown-list .dd-sub { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.dropdown-list a { flex-direction: row; }
.dropdown-list a > span:not(.dd-icon) { display: flex; flex-direction: column; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: 1rem 1.2rem 1.4rem;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t), opacity var(--t);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: .8rem 1rem; justify-content: space-between; width: 100%; }
  .nav-cta { margin-left: 0; margin-top: .6rem; justify-content: center; }

  .nav-item { width: 100%; }
  .nav-item .dropdown-trigger { width: 100%; justify-content: space-between; }
  .dropdown-panel {
    position: static;
    transform: none;
    min-width: 0 !important;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t);
  }
  .nav-item.open > .dropdown-panel { max-height: 800px; }
  .dropdown-inner {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: .2rem 0 .6rem 1rem;
    background: transparent;
  }
  .dropdown-head { background: transparent; padding: .6rem .8rem; }
  .dropdown-head:hover { background: var(--bg-soft); }
  .dropdown-list.two-col { grid-template-columns: 1fr; }
  .dropdown-list a { padding: .55rem .8rem; }
}

/* ================ Hero ================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background: radial-gradient(1200px 600px at 80% -10%, #e0e7ff 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 30%, #cffafe 0%, transparent 55%),
              #fafbff;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.orb-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #00d4ff, transparent 70%);
  top: -80px; right: 10%;
}
.orb-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  bottom: -120px; left: -60px;
  animation-delay: -7s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -25px); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 14, 26, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 26, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  max-width: 1100px;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}
.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .8);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 26, .12));
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  top: 1.4rem;
  left: -1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  z-index: 2;
}
.hero-badge strong { color: var(--ink); }
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .25);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, .25); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, .1); }
}
.hero-stat-pill {
  position: absolute;
  bottom: 1.6rem;
  right: -1rem;
  padding: .9rem 1.2rem;
  background: #0a0e1a;
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 2;
}
.hero-stat-pill strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-stat-pill span { font-size: .78rem; color: #9da4b6; }

@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .hero-badge { left: 1rem; }
  .hero-stat-pill { right: 1rem; }
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.6rem 0 2.4rem;
}
.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem 2rem;
  padding: 1.8rem 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: .2rem; }
.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
}
.hero-stats span { color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ================ Page hero (sub-pages) ================ */
.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: radial-gradient(900px 400px at 100% 0%, #e0e7ff 0%, transparent 55%),
              radial-gradient(700px 380px at 0% 60%, #cffafe 0%, transparent 60%),
              #fafbff;
  border-bottom: 1px solid var(--line);
}

/* Logo-blue banner variant. Repaints background + every readable element. */
.page-hero-blue {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(255, 255, 255, .08) 0%, transparent 60%),
    radial-gradient(700px 380px at 0% 60%, rgba(0, 0, 0, .15) 0%, transparent 60%),
    linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-bottom-color: rgba(255, 255, 255, .12);
  color: #e3f2fd;
}
.page-hero-blue h1,
.page-hero-blue h2,
.page-hero-blue h3 { color: #fff; }
.page-hero-blue .lead { color: rgba(255, 255, 255, .85); }
.page-hero-blue .eyebrow { color: #b3e5fc; }
.page-hero-blue .grad-text {
  background: linear-gradient(135deg, #b3e5fc 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-blue .crumbs { color: rgba(255, 255, 255, .65); }
.page-hero-blue .crumbs a { color: rgba(255, 255, 255, .85); }
.page-hero-blue .crumbs a:hover { color: #fff; }
.page-hero-blue .crumbs span[aria-hidden="true"] { color: rgba(255, 255, 255, .45); }
.page-hero-blue .tag {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}
.page-hero-blue .hero-tagline {
  background: linear-gradient(135deg, #b3e5fc 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-blue .hero-pills li { color: rgba(255, 255, 255, .9); }
.page-hero-blue .hero-pill-dot { background: #b3e5fc; }
.page-hero-blue .hero-pill-dot.dot-2 { background: #fff; }
.page-hero-blue .hero-pill-dot.dot-3 { background: #b3e5fc; }
.page-hero-blue .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.page-hero-blue .btn-primary:hover {
  background: #b3e5fc;
  color: var(--ink);
}
.page-hero-blue .btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.page-hero-blue .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.page-hero-blue .hero-illustration {
  background: #ffffff;
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .35), 0 4px 12px rgba(0, 0, 0, .15);
}
.page-hero-blue .page-hero-banner {
  background: #ffffff;
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .35), 0 4px 12px rgba(0, 0, 0, .15);
}

/* theme-blue body class: extends the logo-blue accent across the page (offering cards, etc.) */
.theme-blue .offering-card {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(13, 71, 161, .18);
}
.theme-blue .offering-card:hover {
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 18px 40px rgba(13, 71, 161, .35);
  transform: translateY(-3px);
}
.theme-blue .offering-card .offering-num {
  background: linear-gradient(135deg, #b3e5fc 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-blue .offering-card h3 { color: #fff; }
.theme-blue .offering-card p { color: rgba(255, 255, 255, .85); }

.theme-blue .deliverable {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(13, 71, 161, .15);
}
.theme-blue .deliverable:hover {
  border-color: rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}
.theme-blue .deliverable svg { color: #b3e5fc; }

.theme-blue .quick-facts-grid::before {
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 50%, #1976d2 100%);
}
.theme-blue .quick-fact-label::before {
  background: linear-gradient(135deg, #1976d2, #42a5f5);
}
.theme-blue .quick-fact:hover {
  background: linear-gradient(180deg, rgba(25, 118, 210, .07) 0%, transparent 100%);
}

.theme-blue .industry-grid li {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 6px 18px rgba(13, 71, 161, .18);
}
.theme-blue .industry-grid li:hover {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(13, 71, 161, .35);
}

/* Tech / stack chips pick up the banner gradient on blue-themed pages. */
.theme-blue .chip-list:not(.chip-list-dark) li {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 3px 8px rgba(13, 71, 161, .15);
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.theme-blue .chip-list:not(.chip-list-dark) li:hover {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 71, 161, .25);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 70ch; }

.page-hero-split { padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-hero-copy { min-width: 0; }
.page-hero-banner {
  justify-self: end;
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .25));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.page-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
@media (max-width: 880px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-banner { justify-self: stretch; max-width: none; }
}

/* ================ Sections ================ */
.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, .09) 1px, transparent 0);
  background-size: 28px 28px;
}
/* Sections with their own bg override the pattern via the `background` shorthand */
.section-tight-top { padding-top: clamp(1.4rem, 2.4vw, 2.2rem); }
.section-dark {
  background: var(--ink);
  color: #d8dde9;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: var(--brand); }
.section-dark .lead { color: #aab1c2; }
.section-dark .muted { color: #aab1c2; }
.section-tinted { background: var(--bg-soft); }

/* Audience cards adapt to dark sections, matching process-step treatment. */
.section-dark .audience-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.section-dark .audience-card:hover {
  border-color: rgba(0, 212, 255, .35);
  background: rgba(255, 255, 255, .06);
}
.section-dark .audience-card h3 { color: #fff; }
.section-dark .audience-card p { color: #aab1c2; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.section-head .lead { margin-inline: auto; }

/* ================ Services grid ================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

/* 5-up first row, 4-up second row, both rows center-aligned. */
.services-grid-balanced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.services-grid-balanced > * {
  flex: 0 0 calc((100% - 4 * 1.2rem) / 5);
  min-width: 0;
}
@media (max-width: 1100px) {
  .services-grid-balanced > * { flex: 0 0 calc((100% - 3 * 1.2rem) / 4); }
}
@media (max-width: 880px) {
  .services-grid-balanced > * { flex: 0 0 calc((100% - 2 * 1.2rem) / 3); }
}
@media (max-width: 640px) {
  .services-grid-balanced > * { flex: 0 0 calc((100% - 1.2rem) / 2); }
}
@media (max-width: 460px) {
  .services-grid-balanced > * { flex: 0 0 100%; }
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.8rem 1.6rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  z-index: 0;
  transition: opacity var(--t);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: .04; }
.svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(168, 85, 247, .12));
  color: var(--brand-2);
}
.svc-icon-wrap.lg { width: 64px; height: 64px; border-radius: 18px; }
.svc-icon-wrap.lg .svc-icon { width: 32px; height: 32px; }
.service-card h3 { margin: 0; }
.service-card p { color: var(--muted); margin: 0; flex: 1; }
.card-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* ================ Service rows (services page) ================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (max-width: 880px) {
  .services-list { grid-template-columns: 1fr; }
}
.service-row {
  scroll-margin-top: 100px;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--t);
}
.service-row:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, .28);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.service-row:hover::before { opacity: 1; }
.service-row:hover .service-row-arrow {
  color: var(--brand-2);
  transform: translateX(4px);
}
.service-row-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.service-row-text { flex: 1; min-width: 0; }
.service-row-head .eyebrow { margin-bottom: .15rem; font-size: .72rem; }
.service-row-head h3 {
  margin-bottom: .35rem;
  font-size: 1.2rem;
  line-height: 1.25;
}
.service-row-head .lead { font-size: .9rem; line-height: 1.5; }
.service-row .svc-icon-wrap.lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.service-row .svc-icon-wrap.lg .svc-icon { width: 24px; height: 24px; }
.service-row-arrow {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  transition: color var(--t), transform var(--t), background var(--t);
}
.service-row-arrow svg { width: 18px; height: 18px; }

.service-points {
  list-style: none;
  padding: .9rem 0 0;
  margin: .9rem 0 0;
  border-top: 1px dashed var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .4rem .9rem;
}
.service-points li {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink-soft);
  font-size: .85rem;
}
.service-points li svg { color: var(--brand-2); flex-shrink: 0; width: 14px; height: 14px; }

.service-stack {
  list-style: none;
  margin: .9rem 0 0;
  padding: .8rem 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.service-stack li {
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-soft);
  padding: .2rem .55rem;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .service-row { padding: 1.4rem; }
  .service-row-head { flex-direction: column; gap: .8rem; }
  .service-row-arrow { display: none; }
  .service-points { grid-template-columns: 1fr; }
}

/* On blue-themed pages, card titles take the banner blue. */
.theme-blue .service-row-head h3 { color: #1976d2; }
.theme-blue .project-card-link h3 { color: #1976d2; }
.theme-blue .project-card-link:hover h3 { color: #0d47a1; }

/* About page: value cards take the banner gradient. */
.theme-blue .value-card-pro {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(13, 71, 161, .18);
}
.theme-blue .value-card-pro:hover {
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 18px 40px rgba(13, 71, 161, .35);
  transform: translateY(-3px);
}
.theme-blue .value-card-pro .value-icon {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}
.theme-blue .value-card-pro h3 { color: #fff; }
.theme-blue .value-card-pro p { color: rgba(255, 255, 255, .85); }

/* Contact page: reach cards take the banner gradient. */
.theme-blue .reach-card {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(13, 71, 161, .18);
}
.theme-blue .reach-card:hover {
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 18px 40px rgba(13, 71, 161, .35);
  color: rgba(255, 255, 255, .9);
  transform: translateY(-3px);
}
.theme-blue .reach-card .reach-icon {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}
.theme-blue .reach-card h3 { color: #fff; }
.theme-blue .reach-card p { color: rgba(255, 255, 255, .85); }
.theme-blue .reach-card .reach-link { color: #b3e5fc; }

/* Contact page: "After you hit send" next-step cards take the banner gradient. */
.theme-blue .next-step {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(13, 71, 161, .18);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.theme-blue .next-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 18px 40px rgba(13, 71, 161, .35);
}
.theme-blue .next-step .next-num {
  background: linear-gradient(135deg, #b3e5fc 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-blue .next-step h3 { color: #fff; }
.theme-blue .next-step p { color: rgba(255, 255, 255, .85); }

/* When the next-step list lives inside a dark section, mirror the .process-step look. */
.section-dark .next-step,
.theme-blue .section-dark .next-step {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.section-dark .next-step:hover,
.theme-blue .section-dark .next-step:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(0, 212, 255, .35);
  box-shadow: none;
  transform: translateY(-3px);
}
.section-dark .next-step h3,
.theme-blue .section-dark .next-step h3 { color: #fff; }
.section-dark .next-step p,
.theme-blue .section-dark .next-step p { color: #c5cad7; }
.section-dark .next-step .next-num,
.theme-blue .section-dark .next-step .next-num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Home hero: same logo-blue gradient as page-hero-blue, while keeping orbs + team photo. */
.theme-blue .hero {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(255, 255, 255, .08) 0%, transparent 60%),
    radial-gradient(700px 380px at 0% 60%, rgba(0, 0, 0, .15) 0%, transparent 60%),
    linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  color: #e3f2fd;
}
.theme-blue .hero h1,
.theme-blue .hero h2,
.theme-blue .hero h3 { color: #fff; }
.theme-blue .hero .lead { color: rgba(255, 255, 255, .85); }
.theme-blue .hero .eyebrow { color: #b3e5fc; }
.theme-blue .hero .grad-text {
  background: linear-gradient(135deg, #b3e5fc 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-blue .hero .hero-stats {
  border-top-color: rgba(255, 255, 255, .15);
}
.theme-blue .hero .hero-stats strong { color: #fff; }
.theme-blue .hero .hero-stats span { color: rgba(255, 255, 255, .85); }
.theme-blue .hero .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.theme-blue .hero .btn-primary:hover {
  background: #b3e5fc;
  color: var(--ink);
}
.theme-blue .hero .btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.theme-blue .hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.theme-blue .hero .grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
}

/* Tech ecosystem panel on the listing page */
.tech-ecosystem {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.tech-group h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .8rem;
}

/* Deliverables list (expertise detail) */
.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .8rem 1.4rem;
}
.deliverable {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.5;
  transition: border-color var(--t), background var(--t);
}
.deliverable:hover { border-color: rgba(99, 102, 241, .25); background: #fff; }
.deliverable svg {
  color: var(--brand-2);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ================ Pillars (Why us) ================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.pillar {
  position: relative;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t);
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .35); }
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, .15), rgba(168, 85, 247, .15));
  color: var(--brand);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform var(--t), background var(--t);
}
.pillar:hover .pillar-icon {
  transform: scale(1.05) rotate(-3deg);
  background: linear-gradient(135deg, rgba(0, 212, 255, .25), rgba(168, 85, 247, .25));
}
.pillar-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .3rem;
  letter-spacing: .04em;
}
.pillar p { color: #aab1c2; }

/* ================ Projects ================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.projects-grid.lg { gap: 1.8rem; }
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255, 255, 255, .9);
}
.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
}
.project-letter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  position: relative;
  z-index: 1;
}
.thumb-1 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.thumb-2 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.thumb-3 { background: linear-gradient(135deg, #f97316, #ec4899); }
.thumb-4 { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.thumb-5 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.thumb-6 { background: linear-gradient(135deg, #0a0e1a, #6366f1); }

.project-thumb-img {
  background: var(--bg-soft);
  padding: 1.2rem;
}
.project-thumb-img::after { display: none; }
.project-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.project-card-link:hover .project-thumb-img img { transform: scale(1.04); }
.project-thumb-hero {
  aspect-ratio: 4 / 3 !important;
  padding: 1.6rem;
  background: var(--bg-soft);
}

.project-body {
  padding: 1.4rem 1.6rem 1.6rem;
}
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(99, 102, 241, .08);
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}
.project-body h3 { margin-bottom: .4rem; }
.project-body p { color: var(--muted); margin: 0; }

/* ================ Testimonials ================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.testimonial {
  margin: 0;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -.4rem;
  left: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand);
  opacity: .35;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .9rem;
}
.testimonial figcaption strong { color: var(--ink); }

/* ================ CTA band ================ */
.cta-band {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 50%, rgba(0, 212, 255, .25), transparent 60%),
              radial-gradient(500px 280px at 10% 50%, rgba(168, 85, 247, .25), transparent 60%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: .4rem; }
.cta-inner .lead { color: #c5cad7; margin: 0; }
.cta-inner .btn-primary { background: #fff; color: var(--ink); }
.cta-inner .btn-primary:hover { background: var(--brand); color: var(--ink); }

/* ================ About — values ================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
.card-stack { display: flex; flex-direction: column; gap: 1rem; }
.value-card {
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  border-image: var(--grad) 1;
  border-left-width: 4px;
  box-shadow: var(--shadow-sm);
}
.value-card h4 { color: var(--brand-2); margin-bottom: .3rem; }
.value-card p { margin: 0; color: var(--muted); }

/* ================ About — leader ================ */
.leader-card {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 1.8rem;
  max-width: 720px;
}
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  flex-shrink: 0;
}
.leader-card p { color: #aab1c2; margin: .2rem 0; }
.leader-card p:last-child { margin-top: .6rem; }

/* ================ Stats grid ================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .2rem;
}
.stat span { color: var(--muted); font-size: .95rem; }

/* ================ Contact ================ */
/* ================ Contact ================ */
.hero-pills {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.hero-pills li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.hero-pill-dot.dot-2 { background: var(--brand-2); }
.hero-pill-dot.dot-3 { background: var(--brand-3); }

/* Three pathways */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.reach-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.reach-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, .3);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.reach-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(168, 85, 247, .12));
  color: var(--brand-2);
  margin-bottom: .4rem;
}
.reach-card h3 { margin: 0; font-size: 1.15rem; }
.reach-card p { color: var(--muted); margin: 0; flex: 1; }
.reach-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--brand-2);
  font-size: .92rem;
  margin-top: .4rem;
}

/* Contact info / form grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2.4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info {
  padding: 2rem;
  background: linear-gradient(160deg, #0a0e1a, #1a1f2e);
  color: #d8dde9;
  border-radius: var(--radius);
  position: sticky;
  top: 90px;
}
.contact-info h3, .contact-info h4 { color: #fff; }
.contact-info h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #aab1c2;
}
.contact-info .muted { color: #9da4b6; }
.contact-info p { margin-bottom: .4rem; }
.contact-address { font-style: normal; color: #d8dde9; line-height: 1.7; }
.contact-address a { color: var(--brand); }
.contact-address a:hover { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .25rem 0;
  color: #d8dde9;
}
.contact-list svg { color: var(--brand); flex-shrink: 0; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--brand); }
.contact-socials {
  display: inline-flex;
  gap: .5rem;
  margin-top: .4rem;
}
.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background var(--t), border-color var(--t), transform var(--t), color var(--t);
}
.contact-socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Form */
.contact-form-wrap {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-header { margin-bottom: 1.4rem; }
.form-header h2 { margin-bottom: .3rem; }
.form-header p { margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.field span em {
  color: #ef4444;
  font-style: normal;
  margin-left: .15rem;
}
.field input, .field textarea {
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .95rem;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

/* Honeypot — must be visible-ish to bots that sniff display:none, but invisible to humans */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Captcha */
.captcha-row {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.captcha-field input { max-width: 120px; background: #fff; }
.captcha-note { font-size: .8rem; margin: 0; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .4rem;
}
.form-note { font-size: .82rem; max-width: 32ch; margin: 0; }

/* Alerts */
.alert {
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 212, 255, .08), rgba(168, 85, 247, .08));
  border: 1px solid rgba(99, 102, 241, .2);
}
.alert.success {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 1rem;
  align-items: start;
}
.alert.success .alert-icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.alert.success h3 { color: var(--brand-2); margin: 0 0 .4rem; }
.alert.success p { color: var(--ink-soft); margin: 0; }
.alert.success .btn { grid-column: 2; margin-top: .8rem; }
.alert.error {
  background: rgba(239, 68, 68, .08);
  border-color: rgba(239, 68, 68, .3);
  color: #b91c1c;
  margin-bottom: 1rem;
  padding: .9rem 1.1rem;
}
.alert.error strong { color: #b91c1c; }

/* What happens next */
.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  counter-reset: nxt;
}
.next-step {
  position: relative;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.next-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .4rem;
}
.next-step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.next-step p { color: var(--muted); margin: 0; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: 880px;
  margin-inline: auto;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq[open] { border-color: rgba(99, 102, 241, .3); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brand-2);
  transition: transform var(--t);
  flex-shrink: 0;
  line-height: 1;
}
.faq[open] summary::after { content: '−'; }
.faq p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Real Google Map */
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  margin-bottom: 1.2rem;
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
@media (max-width: 600px) {
  .map-card iframe { height: 360px; }
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

/* ================ Industries grid ================ */
/* 4 per row, centered. 8 items lay out as a balanced 4+4. */
.industry-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
}
.industry-grid li {
  flex: 0 0 calc((100% - 3 * .8rem) / 4);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  font-weight: 500;
  color: var(--ink);
  transition: transform var(--t), border-color var(--t), color var(--t), background var(--t);
}
.industry-grid li:hover {
  transform: translateY(-2px);
  border-color: var(--brand-2);
  color: var(--brand-2);
}
@media (max-width: 880px) {
  .industry-grid li { flex: 0 0 calc((100% - 2 * .8rem) / 3); }
}
@media (max-width: 600px) {
  .industry-grid li { flex: 0 0 calc((100% - .8rem) / 2); }
}
@media (max-width: 420px) {
  .industry-grid li { flex: 0 0 100%; }
}

/* ================ Footer ================ */
.site-footer {
  background: #06090f;
  color: #b9c0d1;
  padding: 4rem 0 2rem;
}
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { max-width: 36ch; margin-top: .6rem; color: #8a92a6; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: #b9c0d1; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .9rem;
  color: #8a92a6;
}
.socials {
  display: inline-flex;
  gap: .6rem;
  margin-top: 1rem;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
}
address { font-style: normal; line-height: 1.7; }
address a { color: #b9c0d1; }
address a:hover { color: var(--brand); }

/* ================ Detail pages ================ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--brand-2); }
.crumbs span[aria-hidden="true"] { color: var(--muted); }

.detail-hero { padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: -.4rem 0 1rem;
  max-width: 30ch;
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 880px) {
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-hero-grid .hero-icon, .detail-hero-grid .project-hero-thumb { order: -1; }
}
.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(168, 85, 247, .12));
  color: var(--brand-2);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(99, 102, 241, .15);
}
.hero-icon .svc-icon { width: 64px; height: 64px; stroke-width: 1.4; }

.hero-illustration {
  justify-self: end;
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .2));
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.expertise-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.about-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-self: stretch;
  min-height: 360px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 880px) {
  .about-photo { aspect-ratio: 4 / 3; min-height: 0; }
}
.values-row { flex-direction: row; flex-wrap: wrap; }
.values-row .value-card { flex: 1 1 260px; }

/* Mission band */
.mission-band {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}
.mission-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 1.2rem;
}
.mission-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
}
.mission-statement .grad-text { display: inline-block; margin-right: .35em; font-weight: 700; }

/* CEO letter */
.ceo-letter {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: 3rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) {
  .ceo-letter { grid-template-columns: 1fr; gap: 2rem; }
}
.ceo-portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.ceo-portrait img {
  width: 100%;
  border-radius: 18px;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(10, 14, 26, .14);
}
.ceo-portrait .ceo-pullquote { margin: 0; }

.ceo-message > .eyebrow { margin-bottom: .8rem; }
.ceo-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.4rem;
}
.ceo-message p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}
.ceo-pullquote {
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid transparent;
  border-image: var(--grad) 1;
  border-image-slice: 1;
  border-left-width: 4px;
  background: linear-gradient(135deg, rgba(0, 212, 255, .06), rgba(168, 85, 247, .06));
  border-radius: 0 12px 12px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
}
.ceo-pullquote::before {
  content: '"';
  position: absolute;
  top: -.4rem;
  left: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand);
  opacity: .35;
}
.ceo-signature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.ceo-signature strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.ceo-signature span { color: var(--muted); font-size: .88rem; }

/* Values grid (5 cards) */
/* 3-up first row, 2-up second row, both rows center-aligned. */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.values-grid > * {
  flex: 0 0 calc((100% - 2 * 1.2rem) / 3);
  min-width: 0;
}
@media (max-width: 880px) {
  .values-grid > * { flex: 0 0 calc((100% - 1.2rem) / 2); }
}
@media (max-width: 540px) {
  .values-grid > * { flex: 0 0 100%; }
}
.value-card-pro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.value-card-pro:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, .3);
  box-shadow: var(--shadow-md);
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(168, 85, 247, .12));
  color: var(--brand-2);
  margin-bottom: 1rem;
}
.value-card-pro h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.value-card-pro p { color: var(--muted); margin: 0; line-height: 1.6; }

/* Differentiators (dark section) */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.diff-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t);
}
.diff-card:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, .35); }
.diff-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .5rem;
}
.diff-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.diff-card p { color: #aab1c2; margin: 0; line-height: 1.6; }
.project-hero-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  justify-self: end;
  width: 100%;
}
.project-hero-thumb .project-thumb { aspect-ratio: 4 / 3; }
.project-hero-thumb .project-letter { font-size: 6rem; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2.6rem;
  align-items: start;
}
@media (max-width: 880px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-grid h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.15rem; margin-bottom: .5rem; }
.detail-grid p { color: var(--muted); }

.sidebar {
  position: sticky;
  top: 90px;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sidebar h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .6rem;
}
.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.chip-list li {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: .35rem .7rem;
  border-radius: 999px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .6rem 1.4rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.check-list li svg { color: var(--brand-2); flex-shrink: 0; }

/* 3-up, center-aligned: 5 cards land as 3+2, 6 cards as 3+3. */
.offerings-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.offerings-grid > * {
  flex: 0 0 calc((100% - 2 * 1.2rem) / 3);
  min-width: 0;
}
@media (max-width: 880px) {
  .offerings-grid > * { flex: 0 0 calc((100% - 1.2rem) / 2); }
}
@media (max-width: 540px) {
  .offerings-grid > * { flex: 0 0 100%; }
}
.offering-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.offering-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offering-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .4rem;
}
.offering-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.offering-card p { color: var(--muted); margin: 0; }

.process-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.process-step {
  position: relative;
  padding: 1.6rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
}
.process-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .3rem;
}
.process-step p { color: #c5cad7; margin: 0; }

/* Linked project card */
.project-card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.project-card-link:hover { color: inherit; }
.project-card-link .card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brand-2);
  margin-top: .8rem;
}

/* "Read more" link on expertise rows */
.row-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.4rem;
  font-weight: 600;
  color: var(--brand-2);
  font-size: .95rem;
}
.row-link:hover { color: var(--ink); }

/* Prev/Next nav on project detail */
.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 720px) { .prev-next { grid-template-columns: 1fr; } }
.pn-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  color: #d8dde9;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.pn-card:hover {
  border-color: rgba(0, 212, 255, .35);
  background: rgba(0, 212, 255, .04);
  color: #fff;
  transform: translateY(-2px);
}
.pn-card.right { text-align: right; align-items: flex-end; }
.pn-card strong { font-size: 1.15rem; color: #fff; }
.pn-card .muted { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.tag-dark {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0, 212, 255, .1);
  padding: .2rem .6rem;
  border-radius: 999px;
}

/* ================ Product detail page ================ */

/* Quick facts band */
.quick-facts-section { padding: 2.5rem 0; }
.quick-facts-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.quick-facts-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
  z-index: 1;
}
.quick-fact {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.6rem 1.6rem 1.4rem;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background var(--t);
}
.quick-fact:hover {
  background: linear-gradient(180deg, rgba(99, 102, 241, .05) 0%, transparent 100%);
}
.quick-fact:last-child { border-right: 0; }
@media (max-width: 720px) {
  .quick-fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-fact:last-child { border-bottom: 0; }
}
.quick-fact-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.quick-fact-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.quick-fact-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* Sidebar CTA */
.sidebar-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1.4rem;
}

/* Audience grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, .3);
  box-shadow: var(--shadow-md);
}
.audience-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .5rem;
}
.audience-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.audience-card p { color: var(--muted); margin: 0; line-height: 1.6; }

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.benefit-card p { color: var(--muted); margin: 0; line-height: 1.55; font-size: .95rem; }

/* Architecture cards (dark section) */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.arch-card {
  padding: 1.6rem 1.8rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t);
}
.arch-card:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, .3); }
.arch-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.arch-card p { color: #aab1c2; margin: 0; line-height: 1.55; font-size: .95rem; }
.arch-stack {
  text-align: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.arch-stack .eyebrow { color: var(--brand); margin-bottom: 1rem; display: block; }
.chip-list-dark { justify-content: center; }
.chip-list-dark li {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
  color: #d8dde9;
}

/* Light prev/next on tinted bg */
.pn-card-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pn-card-light:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, .35);
  color: var(--ink);
}
.pn-card-light strong { color: var(--ink); }
.pn-card-light .muted { color: var(--muted); }

/* CTA actions row */
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-actions .btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}
.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

/* ================ Reveal-on-scroll ================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .map-pin { animation: none; }
  html { scroll-behavior: auto; }
}
