/* ═══════════════════════════════════════════════════════
   iForWeb — Complete Design System
   Dark Mode · Glassmorphism · Multi-page · Video Hero
═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg: #060d17;
  --bg-2: #081624;
  --card: #0a1929;
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bd: rgba(255, 255, 255, 0.08);
  --glass-blur: 18px;

  --accent: #1A8CC4;
  --accent-2: #7B61FF;
  --accent-glow: rgba(26, 140, 196, 0.28);
  --accent-2-glow: rgba(123, 97, 255, 0.22);

  --text: #e8f0f8;
  --muted: rgba(232, 240, 248, 0.55);
  --dim: rgba(232, 240, 248, 0.32);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max-w: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.page-root {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 92%;
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── Utilities ── */
.gradient-text {
  background: linear-gradient(270deg, var(--accent) 0%, var(--accent-2) 35%, #a78bfa 65%, var(--accent) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 6s ease infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Grid containers snap visible instantly so stagger children control the reveal */
.portfolio-grid[data-reveal],
.bento-grid[data-reveal],
.team-grid[data-reveal],
.values-grid[data-reveal] {
  transition: opacity .05s, transform .05s;
  transform: none;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.mt-6 {
  margin-top: 24px;
}


/* ══════════════════
   LOGO
══════════════════ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* PNG logo image — white on transparent nav, original on glass */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .4s ease;
}

/* SVG logo mark (used in footer) */
.logo-mark { height: 38px; width: auto; }
.logo-wordmark { font-size:22px; font-weight:800; color:#fff; letter-spacing:-.5px; line-height:1; }
.logo-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ══════════════════
   NAVIGATION
══════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s ease, box-shadow .5s ease, border-color .5s ease;
}

/* On scroll: premium glass effect */
.nav.scrolled {
  background: rgba(6, 13, 23, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(26, 140, 196, 0.22);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 40px;
  height: var(--nav-h);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: .02em;
  padding: 4px 0;
  position: relative;
  transition: color .25s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: width .25s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  width: 100%;
}

/* ── Scrolled state: high-contrast links ── */
.nav.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
}
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.is-active {
  color: #1A8CC4;
}
.nav.scrolled .nav-links a::after {
  background: linear-gradient(90deg, #1A8CC4, #7B61FF);
  height: 2px;
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Outlined nav CTA (Netguru style) */
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
}

.btn-nav-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-nav-outline svg {
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}

.btn-nav-outline:hover svg {
  transform: translateX(3px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  transition: background .2s;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 20px;
  background: rgba(6, 13, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(26, 140, 196, 0.15);
}

.nav-mobile-menu[aria-hidden="true"] {
  display: none;
}

.nav-mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color .2s;
}

.nav-mobile-menu a:last-of-type {
  border-bottom: none;
}

.nav-mobile-menu a:hover {
  color: #fff;
}

.nav-mobile-menu .btn-nav-outline {
  margin-top: 12px;
  align-self: flex-start;
}


/* ══════════════════
   BUTTONS
══════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), color .22s;
  transform: translate(var(--mx, 0), var(--my, 0));
}

/* ── Primary: gradient with shimmer sweep on hover ── */
.btn-primary {
  background: linear-gradient(90deg, #1A8CC4, #7B61FF);
  color: #fff;
  box-shadow: 0 4px 24px rgba(26, 140, 196, .25);
  z-index: 0;
}

/* Reversed gradient layer fades in on hover */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #7B61FF, #1A8CC4);
  opacity: 0;
  transition: opacity .35s ease;
}

/* Shimmer sweep layer */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .28) 50%, transparent 75%);
  transform: translateX(-110%) skewX(-20deg);
  pointer-events: none;
}

.btn-primary>* {
  position: relative;
  z-index: 3;
}

.btn-primary:hover {
  box-shadow: 0 10px 44px rgba(26, 140, 196, .45);
  transform: translate(var(--mx, 0), calc(var(--my, 0) - 3px));
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  animation: btnShimmer .55s var(--ease) forwards;
}

@keyframes btnShimmer {
  to {
    transform: translateX(130%) skewX(-20deg);
  }
}

/* ── Ghost: left-to-right fill on hover ── */
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, .65);
  border: 1.5px solid rgba(255, 255, 255, .22);
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .07);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-ghost:hover::before {
  transform: scaleX(1);
}

.btn-ghost>* {
  position: relative;
}

/* ── Secondary: glow lift ── */
.btn-secondary {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--glass-bd);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(26, 140, 196, .4);
  box-shadow: 0 6px 28px rgba(26, 140, 196, .18);
  transform: translate(var(--mx, 0), calc(var(--my, 0) - 2px));
}

/* ── Nav outline: accent fill on hover ── */
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .45);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, color .25s, box-shadow .25s;
}

.btn-nav-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1A8CC4, #7B61FF);
  opacity: 0;
  transition: opacity .3s ease;
}

.btn-nav-outline:hover {
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(26, 140, 196, .35);
}

.btn-nav-outline:hover::before {
  opacity: 1;
}

.btn-nav-outline svg {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform .25s var(--ease);
}

.btn-nav-outline:hover svg {
  transform: translateX(4px);
}

.btn-nav-outline> :not(svg) {
  position: relative;
  z-index: 1;
}

/* ── Sizes ── */
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn:focus-visible {
  outline: 2px solid #1A8CC4;
  outline-offset: 3px;
}

/* ── Scroll-to-top ── */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A8CC4, #7B61FF);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .25s;
  box-shadow: 0 6px 24px rgba(26, 140, 196, .35);
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  box-shadow: 0 10px 36px rgba(26, 140, 196, .55);
  transform: translateY(-2px);
}

.scroll-top-btn:active {
  transform: scale(.95);
}


/* ══════════════════
   HERO — VIDEO BG
══════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  margin-top: 0;           /* slides under the fixed nav — full bleed */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* VIDEO LAYER (z=0) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, rgba(22, 31, 61, .78) 0%, rgba(8, 20, 52, .55) 45%, rgba(6, 12, 38, .72) 100%),
    linear-gradient(to bottom, rgba(6, 12, 32, .4) 0%, rgba(6, 12, 32, .04) 50%, rgba(6, 12, 32, .55) 100%);
}

/* MESH LAYER (z=1) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: meshDrift 14s ease-in-out infinite;
}

.mesh-1 {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(26, 140, 196, .2) 0%, transparent 70%);
  top: -200px;
  left: -140px;
  animation-duration: 16s;
}

.mesh-2 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(123, 97, 255, .16) 0%, transparent 70%);
  top: 5%;
  right: -110px;
  animation-duration: 20s;
  animation-delay: -6s;
}

.mesh-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(26, 140, 196, .1) 0%, transparent 70%);
  bottom: -80px;
  left: 35%;
  animation-duration: 18s;
  animation-delay: -10s;
}

@keyframes meshDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.04);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.97);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent);
}

/* CONTENT LAYER (z=2) */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 60px); /* clears fixed nav */
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 160px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 36px;
  padding: 7px 20px;
  background: rgba(26, 140, 196, .08);
  border: 1px solid rgba(26, 140, 196, .2);
  border-radius: 100px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(.8)
  }
}

.hero-title {
  font-size: clamp(42px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  max-width: 1200px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.78;
  margin-bottom: 52px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

/* Trusted-by strip */
.hero-trusted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.trusted-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.trusted-logo-item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .26);
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, .09);
  transition: color .25s;
  line-height: 1;
}

.trusted-logo-item:last-child {
  border-right: none;
}

.trusted-logo-item:hover {
  color: rgba(255, 255, 255, .58);
}

/* ── Hero Stats Bar ── */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .035);
  border-top: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-stats-inner {
  display: flex;
  align-items: center;
  padding: 36px 0;
}

.hstat {
  flex: 1;
  text-align: center;
  padding: 0 28px;
}

.hstat strong {
  display: block;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.hstat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.hstat-div {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, .09);
  flex-shrink: 0;
}


/* ══════════════════
   PAGE HERO (inner pages)
══════════════════ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px; /* top clears fixed nav */
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg .mesh {
  position: absolute;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .label-tag {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb-sep {
  font-size: 10px;
  color: var(--dim);
}


/* ══════════════════
   MARQUEE
══════════════════ */
.marquee-section {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--glass-bd);
  border-bottom: 1px solid var(--glass-bd);
  overflow: hidden;
}

.marquee-fade-l,
.marquee-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-l {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-fade-r {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-inner:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.m-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 28px;
  text-transform: uppercase;
  transition: color .2s;
}

.m-logo:hover {
  color: var(--text);
}

.m-dot {
  font-size: 8px;
  color: var(--accent);
  opacity: .5;
  display: flex;
  align-items: center;
}


/* ══════════════════
   SECTION SHARED
══════════════════ */
.section-header {
  margin-bottom: 56px;
}

.label-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(26, 140, 196, .08);
  border: 1px solid rgba(26, 140, 196, .16);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}


/* ══════════════════
   SERVICES — BENTO
══════════════════ */
.services-section {
  padding: 100px 0;
}

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

.bento-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.bento-card:hover {
  border-color: rgba(26, 140, 196, .28);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.bento-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.bc-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  bottom: -60px;
  right: -60px;
  opacity: 0;
  transition: opacity .4s;
}

.bento-card:hover .bc-glow {
  opacity: 1;
}

.bc-glow-blue {
  background: radial-gradient(circle, rgba(26, 140, 196, .35), transparent);
}

.bc-glow-purple {
  background: radial-gradient(circle, rgba(123, 97, 255, .3), transparent);
}

.bc-large {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.bc-tall {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}

.bc-wide {
  grid-column: 1 / span 7;
  grid-row: 3;
}

.bc-medium {
  grid-column: 8 / span 5;
  grid-row: 3;
}

.bc-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: 14px;
  margin-bottom: 22px;
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.bento-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.bc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.bc-tags li {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(26, 140, 196, .08);
  border: 1px solid rgba(26, 140, 196, .16);
  border-radius: 100px;
  padding: 4px 12px;
}

.bc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  transition: gap .2s;
}

.bc-cta:hover {
  gap: 10px;
}

.bc-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}

.bc-stat-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.bc-stat-label {
  font-size: 14px;
  color: var(--muted);
}

/* Full services page cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}

.svc-card:hover {
  border-color: rgba(26, 140, 196, .28);
  transform: translateY(-4px);
}

.svc-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 20px 0 12px;
}

.svc-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.svc-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
}

/* Process steps */
/* ══════════════════════════════════════
   CLIENT STORIES / TESTIMONIALS
══════════════════════════════════════ */
.testi-section {
  padding: 96px 0;
  background: var(--bg);
}

/* Header — same 2-col split as process section */
.testi-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}

.testi-head-copy h2 {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

/* Two-panel layout */
.testi-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 28px;
  align-items: start;
}

/* ── LEFT: Logo grid panel ── */
.testi-logos-panel {
  background: #0a1929;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
}

.testi-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.testi-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  transition: color .25s ease;
}

.testi-logo-item:hover {
  color: rgba(255, 255, 255, 0.65);
}

.testi-logo-item:nth-child(3n) {
  border-right: none;
}

.testi-logo-item:nth-child(10),
.testi-logo-item:nth-child(11),
.testi-logo-item:nth-child(12) {
  border-bottom: none;
}

.testi-logo-item svg {
  display: block;
  max-width: 100%;
}

/* ── RIGHT: Video testimonial ── */
.testi-video-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testi-video-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.testi-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a1929;
}

.testi-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), opacity .4s ease;
  display: block;
}

.testi-thumb-img.is-fading {
  opacity: 0;
  transform: scale(1.03);
}

.testi-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 32, .85) 0%, rgba(6, 12, 32, .15) 50%, transparent 100%);
}

.testi-thumb-person {
  position: absolute;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-thumb-person strong {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  transition: opacity .35s ease;
}

.testi-thumb-person span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity .35s ease;
}

/* Play button */
.testi-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 3;
  transition: background .25s, transform .25s var(--ease), border-color .25s;
}

.testi-play-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

.testi-play-btn svg {
  margin-left: 3px;
}

/* Meta row below video */
.testi-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.testi-meta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-meta-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  transition: opacity .35s ease;
}

.testi-meta-role {
  font-size: 13px;
  color: var(--muted);
  transition: opacity .35s ease;
}

.testi-company-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity .35s ease;
}

/* Dots */
.testi-dots {
  display: flex;
  gap: 8px;
  padding: 0 4px;
}

.testi-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: background .3s, width .3s var(--ease);
}

.testi-dot.active {
  width: 52px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* fade helper */
.testi-fading .testi-meta-name,
.testi-fading .testi-meta-role,
.testi-fading .testi-company-badge,
.testi-fading .testi-thumb-person strong,
.testi-fading .testi-thumb-person span {
  opacity: 0;
}

/* Responsive */
@media (max-width:960px) {
  .testi-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .testi-layout {
    grid-template-columns: 1fr;
  }

  .testi-logos-panel {
    display: none;
  }
}

@media (max-width:640px) {
  .testi-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.process-section {
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.process-step {
  position: relative;
  padding: 32px 24px;
  text-align: center;
}

.process-step+.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 48px;
  width: 1px;
  height: 40px;
  background: var(--glass-bd);
}

.step-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 140, 196, .12), rgba(123, 97, 255, .08));
  border: 1px solid var(--glass-bd);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 20px;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Tech stack */
.tech-section {
  padding: 60px 0;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.tech-pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.tech-pill:hover {
  color: var(--text);
  border-color: rgba(26, 140, 196, .3);
}


/* ══════════════════
   NUMBERS
══════════════════ */
.numbers-section {
  padding: 80px 0;
  position: relative;
}

.numbers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 140, 196, .04) 50%, transparent 100%);
  pointer-events: none;
}

.numbers-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, .01) 100%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.num-item {
  text-align: center;
  padding: 0 20px;
}

.num-val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.count,
.num-suffix {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.num-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.num-sub {
  font-size: 13px;
  color: var(--muted);
}

.num-divider {
  width: 1px;
  height: 80px;
  background: var(--glass-bd);
}


/* ══════════════════
   WORK CAROUSEL
══════════════════ */
.work-section {
  padding: 100px 0;
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.work-nav-btns {
  display: flex;
  gap: 10px;
}

.wnav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: 10px;
  color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}

.wnav-btn:hover {
  background: rgba(26, 140, 196, .1);
  color: var(--accent);
  border-color: rgba(26, 140, 196, .25);
}

.wnav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.work-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 2px 24px;
  cursor: grab;
}

.work-carousel:active {
  cursor: grabbing;
}

.work-carousel::-webkit-scrollbar {
  display: none;
}

.work-slide {
  flex: 0 0 62%;
  min-width: 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--glass-bd);
  position: relative;
}

.ws-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ws-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.work-slide:hover .ws-img-wrap img {
  transform: scale(1.04);
}

.ws-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 23, .96) 0%, rgba(6, 13, 23, .5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.work-slide:hover .ws-overlay,
.work-slide:focus-within .ws-overlay {
  opacity: 1;
}

.ws-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(26, 140, 196, .1);
  border: 1px solid rgba(26, 140, 196, .2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.ws-overlay h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.ws-overlay p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.ws-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--glass-bd);
}

.ws-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--dim);
}

.ws-caption h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.ws-caption p {
  font-size: 13px;
  color: var(--muted);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.c-dot {
  width: 6px;
  height: 6px;
  background: var(--glass-bd);
  border-radius: 100px;
  transition: width .3s, background .3s;
  border: none;
  cursor: pointer;
}

.c-dot.active {
  width: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Portfolio full grid */
.portfolio-section {
  padding: 80px 0;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  color: var(--muted);
  transition: all .2s;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(26, 140, 196, .12);
  border-color: rgba(26, 140, 196, .3);
  color: var(--accent);
}

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

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--glass-bd);
  position: relative;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.portfolio-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.06);
}

.portfolio-card-body {
  padding: 20px;
}

.portfolio-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.portfolio-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-card-body p {
  font-size: 13px;
  color: var(--muted);
}


/* ══════════════════
   ABOUT PAGE
══════════════════ */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-bd);
  aspect-ratio: 4/3;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, rgba(26, 140, 196, .12), rgba(123, 97, 255, .08));
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius);
  padding: 20px 24px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.about-badge strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-badge span {
  font-size: 13px;
  color: var(--muted);
}

/* Values */
.values-section {
  padding: 80px 0;
}

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

.value-card {
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Team */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.team-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform .3s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 140, 196, .12), rgba(123, 97, 255, .08));
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info span {
  font-size: 13px;
  color: var(--muted);
}


/* ══════════════════
   CONTACT PAGE
══════════════════ */
.contact-section {
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info>p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 140, 196, .1);
  border: 1px solid rgba(26, 140, 196, .2);
  border-radius: 10px;
  color: var(--accent);
}

.contact-detail h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 15px;
  color: var(--text);
}

.contact-detail a {
  font-size: 15px;
  color: var(--accent);
  transition: color .2s;
}

.contact-detail a:hover {
  color: var(--accent-2);
}

/* Contact form */
.contact-form-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--glass-bd);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(26, 140, 196, .45);
  background: rgba(26, 140, 196, .04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--dim);
}

.form-group select option {
  background: #0a1929;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 40px 0;
}

.form-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
}


/* ══════════════════
   FOOTER
══════════════════ */
.site-footer {
  background: var(--bg);
}

.footer-cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-bd);
  border-bottom: 1px solid var(--glass-bd);
}

.footer-cta-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-cta-mesh .mesh-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  animation: none;
}

.footer-cta-mesh .mesh-2 {
  bottom: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(123, 97, 255, .16) 0%, transparent 70%);
  animation: none;
}

.footer-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-block: 80px;
}

.footer-cta-text h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.footer-cta-text p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
}

.footer-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.footer-body {
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.8fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--glass-bd);
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 18px;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-ico {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: 10px;
  color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}

.social-ico:hover {
  background: rgba(26, 140, 196, .1);
  color: var(--accent);
  border-color: rgba(26, 140, 196, .2);
}

.footer-nav-col h4,
.footer-contact-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}

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

.f-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.f-email {
  display: block;
  font-size: 14px;
  color: var(--accent);
  margin-top: 4px;
  transition: color .2s;
}

.f-email:hover {
  color: var(--accent-2);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--glass-bd);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  transition: border-color .2s;
}

.newsletter-form input::placeholder {
  color: var(--dim);
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(26, 140, 196, .4);
}

.newsletter-ok {
  font-size: 13px;
  color: #4eff9e;
  margin-top: 8px;
}

.footer-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-block: 40px;
  border-bottom: 1px solid var(--glass-bd);
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-bd);
}

.map-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--card);
  border-bottom: 1px solid var(--glass-bd);
}

.map-card iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
  filter: grayscale(1) invert(.9) hue-rotate(180deg) brightness(.75);
  transition: filter .3s;
}

.map-card:hover iframe {
  filter: grayscale(.4) invert(.85) hue-rotate(175deg) brightness(.8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px 40px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--dim);
}

.footer-legal-nav {
  display: flex;
  gap: 20px;
}

.footer-legal-nav a {
  font-size: 13px;
  color: var(--dim);
  transition: color .2s;
}

.footer-legal-nav a:hover {
  color: var(--muted);
}

/* CTA section (inner pages) */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  max-width: 680px;
  margin-inline: auto;
  padding: 56px;
  background: linear-gradient(135deg, rgba(26, 140, 196, .08) 0%, rgba(123, 97, 255, .06) 100%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
}

.cta-box h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-box-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ══════════════════
   LIGHT SECTION THEME
══════════════════ */
.s-light {
  background: #F4F7FB;
  --bg: #F4F7FB;
  --bg-2: #EDF2F7;
  --card: #FFFFFF;
  --glass-bg: rgba(12, 30, 53, 0.04);
  --glass-bd: rgba(12, 30, 53, 0.09);
  --text: #0C1E35;
  --muted: rgba(12, 30, 53, 0.58);
  --dim: rgba(12, 30, 53, 0.35);
}

.s-light .section-title,
.s-light .about-content h2 {
  color: #0C1E35;
}

.s-light .section-sub,
.s-light .about-content p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .bento-card {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.08);
  box-shadow: 0 2px 20px rgba(12, 30, 53, 0.06), 0 8px 40px rgba(12, 30, 53, 0.03);
}

.s-light .bento-card h3 {
  color: #0C1E35;
}

.s-light .bento-card p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .bento-card:hover {
  border-color: rgba(26, 140, 196, 0.25);
  box-shadow: 0 8px 40px rgba(12, 30, 53, 0.1), 0 20px 60px rgba(12, 30, 53, 0.06);
}

.s-light .bc-tags li {
  color: var(--accent);
  background: rgba(26, 140, 196, 0.08);
  border-color: rgba(26, 140, 196, 0.18);
}

.s-light .bc-stat-label {
  color: rgba(12, 30, 53, 0.55);
}

.s-light .bc-cta {
  color: var(--accent);
}

.s-light .bc-icon {
  background: rgba(12, 30, 53, 0.04);
  border-color: rgba(12, 30, 53, 0.1);
}

.s-light .svc-card {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.08);
  box-shadow: 0 2px 16px rgba(12, 30, 53, 0.05);
}

.s-light .svc-card h3 {
  color: #0C1E35;
}

.s-light .svc-card p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .svc-list li {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .svc-list li::before {
  background: var(--accent);
}

.s-light .portfolio-card {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.08);
  box-shadow: 0 2px 16px rgba(12, 30, 53, 0.05);
}

.s-light .portfolio-card:hover {
  box-shadow: 0 12px 48px rgba(12, 30, 53, 0.14);
}

.s-light .portfolio-card-body h3 {
  color: #0C1E35;
}

.s-light .portfolio-card-body p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .filter-btn {
  background: rgba(12, 30, 53, 0.05);
  border-color: rgba(12, 30, 53, 0.12);
  color: rgba(12, 30, 53, 0.6);
}

.s-light .filter-btn:hover,
.s-light .filter-btn.active {
  background: rgba(26, 140, 196, 0.1);
  border-color: rgba(26, 140, 196, 0.3);
  color: #1A8CC4;
}

/* Buttons inside light sections */
.s-light .btn-ghost {
  color: rgba(12, 30, 53, 0.65);
  border-color: rgba(12, 30, 53, 0.2);
}

.s-light .btn-ghost::before {
  background: rgba(12, 30, 53, 0.06);
}

.s-light .btn-ghost:hover {
  color: #0C1E35;
  border-color: rgba(12, 30, 53, 0.5);
}

.s-light .btn-secondary {
  color: #0C1E35;
  border-color: rgba(12, 30, 53, 0.15);
  background: rgba(12, 30, 53, 0.04);
}

.s-light .btn-secondary:hover {
  background: rgba(12, 30, 53, 0.08);
  border-color: rgba(26, 140, 196, 0.35);
  box-shadow: 0 6px 28px rgba(26, 140, 196, .12);
}

.s-light .work-slide {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.08);
}

.s-light .ws-caption {
  border-color: rgba(12, 30, 53, 0.08);
}

.s-light .ws-caption h3 {
  color: #0C1E35;
}

.s-light .ws-caption p {
  color: rgba(12, 30, 53, 0.55);
}

.s-light .ws-num {
  color: rgba(12, 30, 53, 0.3);
}

.s-light .wnav-btn {
  background: rgba(12, 30, 53, 0.06);
  border-color: rgba(12, 30, 53, 0.12);
  color: rgba(12, 30, 53, 0.5);
}

.s-light .wnav-btn:hover {
  background: rgba(26, 140, 196, 0.08);
  color: var(--accent);
  border-color: rgba(26, 140, 196, 0.25);
}

.s-light .c-dot {
  background: rgba(12, 30, 53, 0.15);
}

.s-light .tech-pill {
  background: rgba(12, 30, 53, 0.05);
  border-color: rgba(12, 30, 53, 0.1);
  color: rgba(12, 30, 53, 0.6);
}

.s-light .tech-pill:hover {
  color: #0C1E35;
  border-color: rgba(26, 140, 196, 0.3);
}

.s-light .value-card {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.08);
  box-shadow: 0 2px 16px rgba(12, 30, 53, 0.05);
}

.s-light .value-card h4 {
  color: #0C1E35;
}

.s-light .value-card p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .team-card {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.08);
  box-shadow: 0 2px 16px rgba(12, 30, 53, 0.05);
}

.s-light .team-info h4 {
  color: #0C1E35;
}

.s-light .team-info span {
  color: rgba(12, 30, 53, 0.55);
}

.s-light .team-avatar-placeholder {
  background: linear-gradient(135deg, rgba(26, 140, 196, 0.1), rgba(123, 97, 255, 0.08));
}

.s-light .about-img-wrap {
  border-color: rgba(12, 30, 53, 0.1);
}

.s-light .about-badge {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.1);
  box-shadow: 0 8px 32px rgba(12, 30, 53, 0.1);
}

.s-light .contact-form-wrap {
  background: #FFFFFF;
  border-color: rgba(12, 30, 53, 0.1);
  box-shadow: 0 4px 32px rgba(12, 30, 53, 0.08);
}

.s-light .contact-form-wrap h3 {
  color: #0C1E35;
}

.s-light .form-group label {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .form-group input,
.s-light .form-group select,
.s-light .form-group textarea {
  background: #F4F7FB;
  border-color: rgba(12, 30, 53, 0.12);
  color: #0C1E35;
}

.s-light .form-group input:focus,
.s-light .form-group select:focus,
.s-light .form-group textarea:focus {
  border-color: rgba(26, 140, 196, 0.45);
  background: rgba(26, 140, 196, 0.04);
}

.s-light .form-group select option {
  background: #FFFFFF;
  color: #0C1E35;
}

.s-light .contact-info h3 {
  color: #0C1E35;
}

.s-light .contact-info>p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .contact-detail h4 {
  color: rgba(12, 30, 53, 0.45);
}

.s-light .contact-detail p {
  color: #0C1E35;
}

.s-light .step-num {
  border-color: rgba(12, 30, 53, 0.1);
}

.s-light .process-step h4 {
  color: #0C1E35;
}

.s-light .process-step p {
  color: rgba(12, 30, 53, 0.6);
}

.s-light .process-step+.process-step::before {
  background: rgba(12, 30, 53, 0.1);
}


/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width:1100px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bc-large {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .bc-tall {
    grid-column: 1;
    grid-row: auto;
  }

  .bc-wide {
    grid-column: 2;
    grid-row: auto;
  }

  .bc-medium {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

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

  .footer-brand {
    grid-column: 1 / span 2;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .process-step+.process-step::before {
    display: none;
  }

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

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

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

@media (max-width:960px) {
  .nav-inner {
    padding: 0 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-content {
    padding: calc(var(--nav-h) + 48px) 0 60px;
  }

  .hero-cta-row {
    margin-bottom: 52px;
  }

  .hero-stats-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .hstat {
    flex: 0 0 50%;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .hstat:nth-child(1),
  .hstat:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, .07);
  }

  .hstat-div {
    display: none;
  }

  .numbers-track {
    grid-template-columns: 1fr 1fr;
    padding: 36px 28px;
    gap: 28px;
  }

  .num-divider {
    display: none;
  }

  .num-item {
    padding: 0;
  }

  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta-actions {
    justify-content: center;
  }

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

  .work-slide {
    flex: 0 0 80%;
  }

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

  .about-badge {
    position: static;
    margin-top: 20px;
    display: inline-block;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width:640px) {
  .hero-content {
    padding: calc(var(--nav-h) + 32px) 0 48px;
  }

  .hero-cta-row {
    gap: 12px;
    margin-bottom: 40px;
  }

  .trusted-logo-item {
    font-size: 11px;
    padding: 0 14px;
  }

  .hstat {
    flex: 0 0 50%;
  }

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

  .bc-large,
  .bc-tall,
  .bc-wide,
  .bc-medium {
    grid-column: 1;
    grid-row: auto;
  }

  .numbers-track {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

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

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-slide {
    flex: 0 0 90%;
  }

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

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 36px 24px;
  }
}

/* ══════════════════════════════════════
   PROCESS ACCORDION
══════════════════════════════════════ */
.proc-accordion-section {
  padding: 96px 0 72px;
}

/* 2-col header */
.proc-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}

.proc-head-label {
  padding-top: 6px;
}

.proc-head-copy h2 {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

/* Card strip */
.proc-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(12, 30, 53, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(37, 120, 190, 0.06);
}

.proc-card {
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
  border-right: 1px solid rgba(12, 30, 53, 0.08);
  cursor: pointer;
  min-height: 340px;
  transition: background .3s ease;
  position: relative;
  outline-offset: 2px;
}

.proc-card:last-child {
  border-right: none;
}

.proc-card:hover {
  background: rgba(26, 140, 196, 0.08);
}

.proc-card.is-active {
  background: rgba(26, 140, 196, 0.13);
}

.proc-card:focus-visible {
  outline: 2px solid var(--accent);
}

.proc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(12, 30, 53, 0.35);
  margin-bottom: 20px;
  line-height: 1;
}

.proc-icon {
  margin-bottom: auto;
  padding-bottom: 8px;
}

/* Vertical rotated title */
.proc-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.4;
  color: #0C1E35;
  margin: 16px 0 14px;
  flex: 1;
}

/* Toggle "+" button */
.proc-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 30, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 30, 53, 0.45);
  cursor: pointer;
  align-self: flex-end;
  flex-shrink: 0;
  transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease);
}

.proc-card:hover .proc-toggle,
.proc-card.is-active .proc-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.proc-card.is-active .proc-toggle {
  transform: rotate(45deg);
}

/* Detail panel */
.proc-detail-panel {
  background: rgba(26, 140, 196, 0.05);
  border: 1px solid rgba(26, 140, 196, 0.15);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 32px 36px;
  animation: procIn .35s var(--ease);
}

@keyframes procIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.proc-detail-inner {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 8px 48px;
  align-items: start;
}

.proc-detail-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proc-detail-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.proc-detail-title {
  font-size: 19px;
  font-weight: 700;
  color: #0C1E35;
  line-height: 1.3;
}

.proc-detail-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(12, 30, 53, 0.68);
  grid-row: 1;
  grid-column: 2;
}

.proc-detail-list {
  grid-row: 1;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.proc-detail-list li {
  font-size: 13px;
  color: rgba(12, 30, 53, 0.62);
  display: flex;
  align-items: center;
  gap: 9px;
}

.proc-detail-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Footer note */
.proc-note {
  margin-top: 20px;
  font-size: 12px;
  font-style: italic;
  color: rgba(12, 30, 53, 0.42);
  line-height: 1.6;
}

/* Responsive */
@media (max-width:960px) {
  .proc-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

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

  .proc-card {
    min-height: 280px;
  }

  .proc-detail-inner {
    grid-template-columns: 1fr 1fr;
  }

  .proc-detail-desc {
    grid-column: 1;
  }

  .proc-detail-list {
    grid-column: 2;
    grid-row: auto;
  }
}

@media (max-width:640px) {
  .proc-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proc-card {
    min-height: 220px;
    padding: 20px 16px 18px;
  }

  .proc-detail-inner {
    grid-template-columns: 1fr;
  }

  .proc-detail-desc,
  .proc-detail-list {
    grid-column: 1;
    grid-row: auto;
  }
}


/* ══════════════════════════════════════
   ANIMATIONS — MODERN ENHANCEMENTS
══════════════════════════════════════ */

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #a78bfa);
  background-size: 200% 100%;
  animation: shimmerText 3s linear infinite;
  transition: width .07s linear;
  box-shadow: 0 0 8px rgba(26, 140, 196, .6);
}

/* ── Hero cursor spotlight ── */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(700px circle at var(--cx, 50%) var(--cy, 50%),
      rgba(26, 140, 196, .09) 0%,
      rgba(123, 97, 255, .05) 45%,
      transparent 80%);
  opacity: 0;
  transition: opacity .6s ease;
}

.hero:hover .hero-spotlight {
  opacity: 1;
}

/* ── Floating particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100%) scale(0);
    opacity: 0;
  }

  8% {
    opacity: .6;
  }

  88% {
    opacity: .15;
  }

  100% {
    transform: translateY(-60px) scale(1.5);
    opacity: 0;
  }
}

/* ── Stagger reveal for grid children ── */
@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.portfolio-grid[data-reveal].is-visible .portfolio-card,
.bento-grid[data-reveal].is-visible .bento-card,
.team-grid[data-reveal].is-visible .team-card,
.values-grid[data-reveal].is-visible .value-card {
  animation: staggerIn .55s var(--ease) both;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(1),
.bento-grid[data-reveal].is-visible .bento-card:nth-child(1),
.team-grid[data-reveal].is-visible .team-card:nth-child(1),
.values-grid[data-reveal].is-visible .value-card:nth-child(1) {
  animation-delay: .04s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(2),
.bento-grid[data-reveal].is-visible .bento-card:nth-child(2),
.team-grid[data-reveal].is-visible .team-card:nth-child(2),
.values-grid[data-reveal].is-visible .value-card:nth-child(2) {
  animation-delay: .13s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(3),
.bento-grid[data-reveal].is-visible .bento-card:nth-child(3),
.team-grid[data-reveal].is-visible .team-card:nth-child(3),
.values-grid[data-reveal].is-visible .value-card:nth-child(3) {
  animation-delay: .22s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(4),
.bento-grid[data-reveal].is-visible .bento-card:nth-child(4),
.team-grid[data-reveal].is-visible .team-card:nth-child(4),
.values-grid[data-reveal].is-visible .value-card:nth-child(4) {
  animation-delay: .31s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(5),
.bento-grid[data-reveal].is-visible .bento-card:nth-child(5),
.team-grid[data-reveal].is-visible .team-card:nth-child(5),
.values-grid[data-reveal].is-visible .value-card:nth-child(5) {
  animation-delay: .40s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(6),
.bento-grid[data-reveal].is-visible .bento-card:nth-child(6),
.team-grid[data-reveal].is-visible .team-card:nth-child(6),
.values-grid[data-reveal].is-visible .value-card:nth-child(6) {
  animation-delay: .49s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(7) {
  animation-delay: .58s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(8) {
  animation-delay: .67s;
}

.portfolio-grid[data-reveal].is-visible .portfolio-card:nth-child(9) {
  animation-delay: .76s;
}

/* ── Enhanced card hover: 3D tilt + accent glow ── */
.portfolio-card {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  transform-style: preserve-3d;
}

.portfolio-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-1.5deg);
  box-shadow: 0 24px 60px rgba(26, 140, 196, .18), 0 8px 20px rgba(0, 0, 0, .3);
}

.bento-card {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 140, 196, .3) !important;
  box-shadow: 0 20px 50px rgba(26, 140, 196, .12), 0 6px 16px rgba(0, 0, 0, .25);
}

/* (nav scroll state consolidated above) */

/* ── Eyebrow pill breathe animation ── */
@keyframes pillBreath {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 140, 196, .0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(26, 140, 196, .12);
  }
}

.eyebrow {
  animation: pillBreath 3s ease-in-out infinite;
}

/* ── Page load hero entrance ── */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-content .eyebrow {
  animation: heroEntrance .7s var(--ease) .1s both, pillBreath 3s ease-in-out 1s infinite;
}

.hero-content .hero-title {
  animation: heroEntrance .7s var(--ease) .25s both;
}

.hero-content .hero-subtitle {
  animation: heroEntrance .7s var(--ease) .4s both;
}

.hero-content .hero-cta-row {
  animation: heroEntrance .7s var(--ease) .55s both;
}

.hero-content .hero-trusted {
  animation: heroEntrance .7s var(--ease) .7s both;
}

.hero-stats-bar {
  animation: heroEntrance .7s var(--ease) .8s both;
}

/* ── Stats bar count highlight ── */
.hstat strong {
  transition: transform .3s var(--ease);
}

.hstat:hover strong {
  transform: scale(1.08);
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}