:root {
  --bg: #05070c;
  --card: #121826;
  --line: rgba(186, 214, 255, 0.22);
  --text: #f4f8ff;
  --muted: #c5d6ee;
  --blue: #3b82f6;
  --accent: #7dd3fc;
  --nav-h: 96px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--text); font-family: "DM Sans", Segoe UI, sans-serif; overflow-x: hidden; }
html { overflow-y: scroll; }
body { padding-top: 96px; }
.fab-quote {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 110;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px 12px;
  border: 0;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: -6px 10px 28px rgba(37, 99, 235, 0.4);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateY(-50%) rotate(180deg);
}
.fab-quote span {
  display: block;
  white-space: nowrap;
}
.fab-quote:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}
@media (max-width: 640px) {
  .fab-quote {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
}
#scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-watermark {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(560px, 62vw);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
.page { position: relative; z-index: 3; padding-top: 0; }

.orbit-tip {
  position: fixed;
  z-index: 50;
  transform: translate(-50%, -120%);
  background: #1a4a80;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147,197,253,.45);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  pointer-events: none;
}
.orbit-icon::after { display: none !important; }

header.nav,
.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 28px;
  width: 100%;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  padding: 0 5% !important;
  box-sizing: border-box !important;
  background: #070d18 !important;
  border-bottom: 1px solid rgba(186, 214, 255, 0.22);
  font-size: 16px;
  overflow: hidden;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  height: 96px;
  grid-column: 2;
  grid-row: 1;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  width: 44px;
  height: 96px;
  border-radius: 0;
  font-size: 1.45rem;
  cursor: pointer;
  grid-column: 2;
  grid-row: 1;
  line-height: 1;
}
.nav > .btn {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  flex-shrink: 0;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #7dd3fc;
  font-size: 17px;
  font-weight: 700;
  padding: 0 0 4px;
  border-bottom: 2px solid #7dd3fc;
  line-height: 1.2;
}
.nav > .btn:hover { color: #fff; border-bottom-color: #fff; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-weight: 800; letter-spacing: 0;
  grid-column: 1; grid-row: 1;
  white-space: nowrap;
  flex-shrink: 0;
  height: 96px;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name {
  display: inline-flex;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}
.brand-name span { color: #7dd3fc; letter-spacing: 0; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  color: #e8f1ff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  padding: 0 16px;
  height: 96px;
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  background: none;
  box-shadow: none;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff;
  background: none;
  border-bottom-color: rgba(125, 211, 252, 0.55);
}
.nav-links a.is-active {
  color: #fff;
  background: none;
  box-shadow: none;
  border-bottom-color: #7dd3fc;
}
.btn, .ghost {
  color: var(--text); text-decoration: none; font-size: 0.95rem;
  padding: 12px 18px; border-radius: 999px; border: 1px solid transparent;
}
.btn {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border: 0; color: #fff; font-weight: 700; cursor: pointer;
}
.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer; }

.hero {
  min-height: calc(100vh - 96px); display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 40px; align-items: center; padding: 28px 7% 24px;
}
.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12; margin: 14px 0 18px; max-width: 16ch; }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-orbit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  z-index: 3;
}
.orbit-label {
  color: #fff !important; font-size: 1.1rem !important; font-weight: 700;
  margin-bottom: 8px; letter-spacing: 0.04em;
}
.orbit-stage {
  position: relative; width: min(420px, 88vw); height: min(420px, 88vw);
}
.orbit-core {
  position: absolute; left: 50%; top: 50%;
  width: 34%; height: 34%; object-fit: contain;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: logoBeat 1.35s ease-in-out infinite;
}
@keyframes logoBeat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1) drop-shadow(0 0 14px rgba(59,130,246,.45)); }
  16% { transform: translate(-50%, -50%) scale(1.16); filter: brightness(0.55) drop-shadow(0 0 6px rgba(15,23,42,.8)); }
  32% { transform: translate(-50%, -50%) scale(0.94); filter: brightness(1.08) drop-shadow(0 0 18px rgba(59,130,246,.6)); }
  48% { transform: translate(-50%, -50%) scale(1.12); filter: brightness(0.62) drop-shadow(0 0 8px rgba(15,23,42,.7)); }
  64% { transform: translate(-50%, -50%) scale(1); filter: brightness(1) drop-shadow(0 0 14px rgba(59,130,246,.45)); }
}
.orbit-stage:hover .orbit-ring,
.orbit-stage:hover .orbit-icon {
  animation-play-state: paused;
}
.orbit-icon {
  z-index: 4;
  cursor: pointer;
}
.orbit-icon::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: #1a4a80;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147,197,253,.35);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.orbit-icon:hover::after {
  opacity: 1;
}
.orbit-ring {
  position: absolute; inset: 0;
  animation: orbitSpin 18s linear infinite;
}
.orbit-slot {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  transform: rotate(calc(var(--i) * 45deg));
}
.orbit-icon {
  --r: 168px;
  position: absolute;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 1.4rem;
  transform: translateX(var(--r));
  animation: orbitUpright 18s linear infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.orbit-icon .fa-react { color: #61dafb; }
.orbit-icon .fa-laravel { color: #ff2d20; }
.orbit-icon .fa-mobile-screen-button { color: #111827; }
.orbit-icon .fa-node-js { color: #3c873a; }
.orbit-icon .fa-android { color: #3ddc84; }
.orbit-icon .fa-php { color: #777bb4; }
.orbit-icon .fa-app-store-ios { color: #0d96f6; }
.orbit-icon .fa-shopify { color: #96bf48; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitUpright {
  from { transform: translateX(var(--r)) rotate(calc(var(--i) * -45deg)); }
  to { transform: translateX(var(--r)) rotate(calc(var(--i) * -45deg - 360deg)); }
}
@media (max-width: 980px) {
  .orbit-icon { --r: 132px; }
}
@media (max-width: 560px) {
  .orbit-icon {
    --r: 108px;
    width: 44px; height: 44px; margin: -22px 0 0 -22px;
    font-size: 1.15rem;
  }
}

.reveal-3d {
  perspective: 1400px;
  transform-style: preserve-3d;
}
.reveal-3d.is-waiting .pop-3d {
  opacity: 0;
  visibility: hidden;
}
.reveal-3d.is-in .pop-3d {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reveal-3d.is-in[data-anim="rise"] .pop-3d {
  animation: animRise 1.1s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}
.reveal-3d.is-in[data-anim="flip"] .pop-3d {
  animation: animFlip 1.05s cubic-bezier(0.4, 0.0, 0.2, 1) both;
}
.reveal-3d.is-in[data-anim="split"] .split-left,
.reveal-3d.is-in[data-anim="split"] .split-right {
  animation-duration: 1.05s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}
.reveal-3d.is-in[data-anim="split"] .split-left { animation-name: animSplitLeft; }
.reveal-3d.is-in[data-anim="split"] .split-right { animation-name: animSplitRight; animation-delay: 0.12s; }
.reveal-3d.is-in[data-anim="fold"] .pop-3d {
  animation: animFold 0.95s cubic-bezier(0.55, 0.06, 0.2, 1) both;
}
.reveal-3d.is-in[data-anim="orbit"] .pop-3d {
  animation: animOrbit 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal-3d.is-in[data-anim="fan"] .pop-3d {
  animation: animFan 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal-3d.is-in[data-anim="tilt"] .pop-3d {
  animation: animTilt 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes animRise {
  0% { opacity: 0; transform: translateY(160px) scale(0.7); }
  60% { opacity: 1; transform: translateY(-18px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes animFlip {
  0% { opacity: 0; transform: perspective(900px) rotateY(-180deg) scale(0.8); }
  100% { opacity: 1; transform: perspective(900px) rotateY(0deg) scale(1); }
}
@keyframes animSplitLeft {
  0% { opacity: 0; transform: translateX(-220px) rotate(-12deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes animSplitRight {
  0% { opacity: 0; transform: translateX(220px) rotate(12deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes animFold {
  0% { opacity: 0; transform: scaleY(0.08) rotateX(80deg); transform-origin: top center; }
  100% { opacity: 1; transform: scaleY(1) rotateX(0); }
}
@keyframes animOrbit {
  0% { opacity: 0; transform: rotate(140deg) scale(0.2) translateX(180px); }
  100% { opacity: 1; transform: none; }
}
@keyframes animFan {
  0% { opacity: 0; transform: translateY(40px) rotate(-8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes animTilt {
  0% { opacity: 0; transform: skewX(18deg) rotate(-8deg) translateX(-80px); }
  100% { opacity: 1; transform: none; }
}
@keyframes animRiseUp {
  0% { opacity: 0; transform: translateY(-160px) scale(0.7); }
  60% { opacity: 1; transform: translateY(18px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes animFlipUp {
  0% { opacity: 0; transform: perspective(900px) rotateX(180deg); }
  100% { opacity: 1; transform: perspective(900px) rotateX(0); }
}
@keyframes animSplitLeftUp {
  0% { opacity: 0; transform: translateY(-160px) rotate(8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes animSplitRightUp {
  0% { opacity: 0; transform: translateY(-160px) rotate(-8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes animFoldUp {
  0% { opacity: 0; transform: scaleY(0.08); transform-origin: bottom center; }
  100% { opacity: 1; transform: scaleY(1); }
}
@keyframes animOrbitUp {
  0% { opacity: 0; transform: rotate(-140deg) scale(0.2) translateX(-180px); }
  100% { opacity: 1; transform: none; }
}
@keyframes animFanUp {
  0% { opacity: 0; transform: translateY(-50px) rotate(10deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes animTiltUp {
  0% { opacity: 0; transform: skewX(-18deg) rotate(8deg) translateX(80px); }
  100% { opacity: 1; transform: none; }
}

.reveal-3d.is-in[data-anim="hero"] .pop-3d {
  animation: heroSwing 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal-3d.is-in[data-anim="hero"] .hero-orbit {
  animation: heroCard 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal-3d.is-in.from-up[data-anim="rise"] .pop-3d { animation-name: animRiseUp; }
.reveal-3d.is-in.from-up[data-anim="flip"] .pop-3d { animation-name: animFlipUp; }
.reveal-3d.is-in.from-up[data-anim="split"] .split-left { animation-name: animSplitLeftUp; }
.reveal-3d.is-in.from-up[data-anim="split"] .split-right { animation-name: animSplitRightUp; }
.reveal-3d.is-in.from-up[data-anim="fold"] .pop-3d { animation-name: animFoldUp; }
.reveal-3d.is-in.from-up[data-anim="orbit"] .pop-3d { animation-name: animOrbitUp; }
.reveal-3d.is-in.from-up[data-anim="fan"] .pop-3d { animation-name: animFanUp; }
.reveal-3d.is-in.from-up[data-anim="tilt"] .pop-3d { animation-name: animTiltUp; }
.reveal-3d.is-in.from-up[data-anim="hero"] .pop-3d { animation-name: heroSwingUp; }
@keyframes heroSwingUp {
  from { opacity: 0; transform: rotateX(-25deg) translateY(-40px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroSwing {
  from { opacity: 0; transform: rotateX(25deg) translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroCard {
  from { opacity: 0; transform: perspective(1200px) rotateY(40deg) translateZ(-180px); }
  to { opacity: 1; transform: perspective(1200px) rotateY(-8deg); }
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 0 7% 56px;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.stat b { display: block; font-size: 1.8rem; color: #fff; }
.stat span { color: var(--muted); font-size: .85rem; }

section { padding: 72px 7%; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 8px 0 12px; }
.lead { color: var(--muted); max-width: 62ch; }

.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.grid-4 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}
.card-body .ghost { margin-top: 14px; cursor: pointer; }
.card, .member, .why {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
}
.card:hover, .member:hover, .why:hover { transform: translateY(-8px); border-color: rgba(96,165,250,.5); }
.card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-body, .why { padding: 18px; }
.card h3, .why h3 { margin-bottom: 8px; }
.card p, .why p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

#services .grid-4 { overflow: visible; }
#services .card {
  position: relative;
  overflow: hidden;
  cursor: default;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
#services .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
#services.reveal-3d.is-in .card:hover {
  transform: translateY(-16px) scale(1.07);
  z-index: 6;
  border-color: rgba(96, 165, 250, 0.85);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.38);
}
#services .card:hover::after {
  animation: cardShine 0.7s ease;
}
#services .card img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
#services.reveal-3d.is-in .card:hover img {
  transform: scale(1.16);
}
@keyframes cardShine {
  to { transform: translateX(120%); }
}

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.about img { width: 100%; border-radius: 24px; border: 1px solid var(--line); min-height: 280px; object-fit: cover; }

.team-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.member { display: block; overflow: hidden; }
.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0b1220;
}
.member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.member img.pos-hassan { object-position: center 16%; }
.member img.pos-awais { object-position: center 18%; }
.member img.pos-raheem { object-position: center 20%; }
.member img.pos-zayyur { object-position: center 22%; }
.member img.pos-moiz { object-position: center 22%; }
.member img.pos-imran { object-position: center 10%; }
.member img.pos-wahab { object-position: center 12%; }
.member img.pos-farhan { object-position: center 18%; }
.member img.pos-irfan { object-position: center 22%; }
.member img.pos-haseeb { object-position: center 12%; }
.member img.pos-ali { object-position: center 18%; }
.member img.pos-zohaib { object-position: center 18%; }
.member figcaption { padding: 14px 16px 18px; }
.member strong { display: block; }
.member em { color: var(--muted); font-style: normal; font-size: .82rem; }

#services.reveal-3d,
#team.reveal-3d,
#clients.reveal-3d {
  perspective: none;
  transform-style: flat;
}
#team.reveal-3d,
#clients.reveal-3d {
  padding-left: 0;
  padding-right: 0;
}
#team > :not(.marquee):not(.snap-slider),
#clients > :not(.marquee):not(.snap-slider) {
  margin-left: 7%;
  margin-right: 7%;
}

.snap-slider {
  overflow: hidden;
  width: auto;
  margin: 16px 7% 12px;
  position: relative;
}
.snap-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(186, 214, 255, 0.45);
  background: #0c2748;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}
.snap-btn:hover { background: #2563eb; border-color: transparent; }
.snap-prev { left: 8px; }
.snap-next { right: 8px; }
#clients .snap-slider { padding: 24px 0 32px; }
.snap-track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s ease;
  will-change: transform;
}
.snap-track .member,
.snap-track .client-logo {
  flex: 0 0 auto;
  min-width: 0;
}
.snap-track .member { display: block; }
.snap-track .client-logo { min-height: 120px; }

.marquee {
  overflow: hidden;
  width: 100%;
  max-width: none;
  position: relative;
  left: auto;
  margin: 12px 0 0;
  padding: 16px 0;
  mask: none !important;
  -webkit-mask: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  perspective: none;
  transform-style: flat;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none;
  background: transparent;
}
.marquee .pop-3d {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
}
#clients .marquee { padding: 40px 0 48px; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
  will-change: transform;
  transform-style: flat;
}
.marquee-group {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
  padding-right: 18px;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
.marquee-track .card {
  flex: 0 0 min(280px, 78vw);
}
.marquee-track.clients .marquee-group {
  gap: 14px;
  padding-right: 14px;
  align-items: stretch;
}
.marquee-track .client-logo {
  flex: 0 0 160px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; padding: 16px;
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}
.client-logo img {
  width: auto; max-width: 100%; max-height: 64px; height: auto; object-fit: contain;
}
#clients .client-logo.pop-3d {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.client-logo:hover {
  border-color: #60a5fa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.logo-preview {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 16, 36, 0.72);
  padding: 24px;
  pointer-events: none;
}
.logo-preview.open { display: flex !important; }
.logo-preview img {
  width: auto;
  height: auto;
  max-width: min(720px, 88vw);
  max-height: min(72vh, 640px);
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
  padding: 40px 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
form, .info {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  overflow: visible;
  position: static;
}
.info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.info p { margin: 0; position: static; }
.info .btn {
  position: static !important;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  flex-shrink: 0;
}
#partner-form {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-top: 24px;
}
#partner-form .kicker,
#partner-form .section-title,
#partner-form .lead {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}
#partner-form .contact,
#partner-form .partner-contact {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}
#partner-form form {
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}
.partner-submit {
  margin-top: 18px;
  margin-bottom: 4px;
}
.partner-submit .btn {
  display: inline-flex;
  width: auto;
  min-width: 140px;
}
label { display: block; font-size: .8rem; margin: 10px 0 6px; color: #dbe7ff; font-weight: 700; }
label.req::after { content: " *"; color: #f87171; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(147, 197, 253, 0.45);
  background: #172033; color: #f8fbff; color-scheme: dark;
}
input::placeholder, textarea::placeholder { color: #93a4c3; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.22);
}
select option { background: #172033; color: #f8fbff; }
iframe { width: 100%; height: 220px; border: 0; border-radius: 14px; margin-top: 12px; }

.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px 7% 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem;
}

.modal {
  position: fixed; inset: 0; background: rgba(2, 6, 16, .78); display: none;
  align-items: center; justify-content: center; z-index: 120; padding: 18px;
  backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal .sheet {
  width: min(560px, 100%);
  background: #0d1526;
  border: 1px solid rgba(147, 197, 253, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  border-radius: 24px; padding: 0 0 22px; max-height: min(92vh, 760px); overflow: auto; color: #f8fbff;
  position: relative;
}
.modal .sheet.combo-open { overflow: visible; }
.modal .sheet > h3 { margin: 22px 24px 0; color: #fff; font-size: 1.55rem; letter-spacing: -0.02em; }
.modal .sheet::-webkit-scrollbar { width: 8px; }
.modal .sheet::-webkit-scrollbar-thumb { background: rgba(125, 211, 252, .4); border-radius: 8px; }
.modal form {
  margin: 0; padding: 10px 24px 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  overflow: visible; position: relative;
}
#quote-modal form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px;
}
.modal .modal-lead {
  grid-column: 1 / -1; margin: 0; color: #9fb0cc; font-size: .95rem;
}
.modal .field { position: relative; }
.modal .field label { margin: 0 0 7px; color: #e7eefc; font-size: .86rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.modal .field-wide, .modal .row-btns, .modal .form-note { grid-column: 1 / -1; }
.modal input, .modal select, .modal textarea, .combo-btn {
  background: #1b2c49; border: 1px solid rgba(186, 214, 255, 0.42); min-height: 48px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.combo { position: relative; }
.combo-btn {
  position: relative; display: block; width: 100%; text-align: left; color: #f8fbff;
  border-radius: 12px; cursor: pointer; padding: 12px 42px 12px 14px; font: inherit;
}
.combo-btn.is-placeholder { color: #9aafcc; }
.combo-btn::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #dbeafe; border-bottom: 2px solid #dbeafe;
  transform: translateY(-70%) rotate(45deg);
}
.combo.is-open .combo-btn { border-color: #7dd3fc; box-shadow: 0 0 0 3px rgba(125, 211, 252, .22); }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  background: #101a2e; border: 1px solid #7dd3fc;
  border-radius: 14px; padding: 8px; box-shadow: 0 22px 48px rgba(0, 0, 0, .62);
}
.combo-search { min-height: 42px; margin-bottom: 6px; }
.combo-items { max-height: 210px; overflow: auto; }
.combo-item {
  display: block; width: 100%; text-align: left; background: transparent; border: 0;
  color: #e8f1ff; padding: 10px 12px; border-radius: 10px; cursor: pointer; font: inherit;
}
.combo-item:hover, .combo-item.is-on { background: rgba(37, 99, 235, .4); }
.combo-empty { margin: 8px 10px 10px; color: #9aafcc; font-size: .9rem; }
.native-select {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none; min-height: 0;
}
.modal textarea { min-height: 110px; resize: vertical; }
.modal .row-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.modal .row-btns .ghost { color: #e8f1ff; border-color: rgba(186, 214, 255, .45); background: transparent; }
.modal .row-btns .btn { min-width: 128px; }
.form-note {
  margin: 0; padding: 12px 14px; border-radius: 12px;
  background: rgba(239, 68, 68, .14); color: #fecaca; border: 1px solid rgba(239, 68, 68, .4);
}
.modal .sent-card { grid-column: 1 / -1; }
.sent-card { text-align: center; padding: 36px 24px 18px; width: 100%; }
.sent-mark {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #67e8f9, #2563eb 62%, #1d4ed8);
  box-shadow: 0 0 0 10px rgba(37, 99, 235, .16);
}
.sent-mark::after {
  content: ""; width: 18px; height: 9px; margin-top: -4px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
.sent-card h3 { margin: 0 0 8px; font-size: 1.5rem; color: #fff; }
.sent-card p { margin: 0 auto 18px; max-width: 36ch; color: #c5d4ec; line-height: 1.5; }
.sent-card .btn { min-width: 160px; }
[hidden] { display: none !important; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 640px) {
  #quote-modal form { grid-template-columns: 1fr; }
}
.hero.page-hero {
  min-height: 0;
  padding: 28px 7% 0;
  display: block;
}
.page-hero h1 { max-width: 22ch; margin: 8px 0 10px; }
.page-hero p { margin-bottom: 0; }
.page-hero .cta { margin-top: 16px; }

.project-view {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding: 20px 7% 72px;
}
.project-shot {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #12345c;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 12px;
}
.project-meta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.project-meta p { color: var(--muted); line-height: 1.65; margin: 12px 0 18px; }
.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 7% 12px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
}
.filter-btn.is-on {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-color: transparent;
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  padding: 8px 4px 28px;
}
.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 200px auto auto;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #24568c 0%, #1a3f6c 100%);
  border: 1px solid rgba(186, 214, 255, 0.4);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.work-card img,
.work-card::before,
.work-card::after {
  grid-column: 1;
  grid-row: 1;
}
.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #12345c;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card img.work-icon {
  object-fit: contain;
  padding: 32px;
  background: radial-gradient(circle at 50% 40%, #2d6aad, #12345c 72%);
}
.work-card h3 {
  grid-row: 2;
  padding: 14px 16px 16px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.work-card p { grid-row: 3; }
.work-card::before {
  content: "";
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 20, 45, 0.75) 100%);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.work-card::after {
  content: "View project";
  z-index: 3;
  align-self: end;
  justify-self: center;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover {
  transform: translateY(-12px);
  z-index: 5;
  border-color: #7dd3fc;
  box-shadow: 0 18px 28px rgba(14, 40, 80, 0.25), 0 28px 60px rgba(37, 99, 235, 0.38);
}
.work-card:hover img {
  transform: scale(1.14);
}
.work-card:hover::before {
  opacity: 1;
}
.work-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.work-card:hover h3 {
  color: #7dd3fc;
}
.work-card.is-hidden { display: none; }
.work-section { padding-top: 0; }

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #2a5c94 0%, #1a4370 100%);
  border: 1px solid rgba(186, 214, 255, 0.38);
  border-radius: 22px;
  padding: 26px 16px 20px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.skill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
.skill-card:hover {
  transform: translateY(-10px);
  border-color: #7dd3fc;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.35);
}
.skill-card:hover::after { animation: cardShine 0.7s ease; }
.skill-card:hover .skill-logo {
  transform: scale(1.08) rotate(-4deg);
}
.reveal-3d.is-in .skill-card {
  animation: skillRise 0.55s ease backwards;
  animation-delay: calc(var(--i, 1) * 0.05s);
}
@keyframes skillRise {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.skill-logo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease;
}
.skill-logo img { width: 100%; height: 100%; object-fit: contain; }
.skill-logo-stack {
  width: 88px;
  height: 88px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.skill-logo-stack img { width: 100%; height: 100%; }
.skill-logo-dark { background: #111827; }
.skill-logo-dark img { filter: invert(1); }
.skill-logo-fa {
  color: #1e3a8a;
  font-size: 2rem;
}
.skill-card h3 {
  margin: 4px 0 2px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.skill-card .btn { width: 100%; max-width: 140px; padding: 9px 14px; font-size: 0.88rem; }
.banner-photo {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.why-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}
.value-shot {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  display: block;
}
.ai-solutions {
  padding-top: 8px;
}
.ai-map-card {
  margin: 8px 0 22px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0a1628 0%, #061018 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.ai-map-card img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 14px;
}
.ai-solutions-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}
.ai-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(186, 214, 255, 0.45);
  border-radius: 18px;
  padding: 18px 16px 16px;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(8, 24, 56, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}
.ai-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  color: #fff;
  font-size: 1.1rem;
}
.ai-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #0b1b33;
}
.ai-card p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}
.ai-card-cta {
  background: linear-gradient(160deg, #123866 0%, #0b1f3d 100%);
  border-color: rgba(125, 211, 252, 0.35);
}
.ai-card-cta h3,
.ai-card-cta p { color: #e8f1ff; }
.ai-card-cta p { color: #b6c9e4; }
.ai-card-cta .btn {
  margin-top: 14px;
  align-self: flex-start;
}
@media (max-width: 1100px) {
  .ai-solutions-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ai-solutions-cards { grid-template-columns: 1fr; }
  .ai-map-card { padding: 8px; }
}
#ecosystem.reveal-3d {
  perspective: none;
  transform-style: flat;
  overflow: visible;
}
#ecosystem .pop-3d {
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  margin-top: 24px;
}
.partner-row a, .partner-row span {
  display: flex;
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 24px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line);
}
.partner-row img { max-width: 100%; max-height: 100%; object-fit: contain; }
.company-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.company-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 28px 22px 22px;
  background: #fff;
  color: #0b1220;
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid rgba(186, 214, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.company-partner:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.28);
}
.company-partner img {
  width: min(100%, 420px);
  height: 110px;
  object-fit: contain;
}
.company-partner strong {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.company-partner span {
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.92rem;
}
.board-marquee {
  margin-top: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.board-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: boardSlide 28s linear infinite;
}
.board-marquee:hover .board-track { animation-play-state: paused; }
.board-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 110px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(186, 214, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}
.board-card span {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
@keyframes boardSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
#client-feedback { perspective: 1400px; overflow: hidden; }
#client-feedback .lead a { color: #7dd3fc; }
.review-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(101, 45, 232, 0.35), rgba(0, 187, 204, 0.22));
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.review-summary strong {
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}
.review-summary span { color: #e8f1ff; }
.review-marquee {
  position: relative;
  margin-top: 28px;
  padding: 8px 56px 0;
}
.review-track {
  display: grid;
  transform-style: preserve-3d;
}
.review-card {
  grid-area: 1 / 1;
  justify-self: center;
  width: min(640px, 100%);
  position: relative;
  padding: 28px 30px 26px;
  border-radius: 28px;
  color: #f8fbff;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(101, 45, 232, 0.45), transparent 60%),
    radial-gradient(320px 160px at 100% 100%, rgba(0, 187, 204, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(24, 18, 48, 0.96), rgba(8, 12, 28, 0.96));
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease, filter 0.8s ease;
  will-change: transform, opacity;
}
.review-card.is-active {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.45),
    0 30px 70px rgba(101, 45, 232, 0.35);
  animation: reviewGlow 3.6s ease-in-out infinite;
}
@keyframes reviewGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.55), 0 26px 60px rgba(101, 45, 232, 0.32); }
  50% { box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.7), 0 30px 70px rgba(0, 187, 204, 0.28); }
}
.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #652de8, #00bbcc);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.35);
  overflow: hidden;
}
img.review-avatar { display: block; background: #111827; }
.review-top div { min-width: 0; }
.review-top strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
}
.review-top em {
  display: block;
  margin-top: 3px;
  color: #c4b5fd;
  font-style: normal;
  font-size: 0.88rem;
}
.review-score {
  margin-left: auto;
  color: #fbbf24;
  font-weight: 800;
  font-size: 1.15rem;
}
.review-card .stars {
  color: #fbbf24;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.review-card .stars .fa-regular { color: rgba(251, 191, 36, 0.35); }
.review-card p {
  margin: 0;
  color: #e8f1ff;
  line-height: 1.65;
  font-size: 1.05rem;
}
.review-nav {
  position: absolute;
  top: 46%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(10, 14, 28, 0.72);
  color: #fff;
  cursor: pointer;
}
.review-prev { left: 0; }
.review-next { right: 0; }
.review-progress {
  width: min(640px, 100%);
  height: 3px;
  margin: 18px auto 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.review-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #652de8, #00bbcc);
}
.review-progress.is-run span {
  animation: reviewProgress 4.2s linear forwards;
}
@keyframes reviewProgress {
  from { width: 0; }
  to { width: 100%; }
}
@media (max-width: 800px) {
  .company-partners { grid-template-columns: 1fr; }
  .review-marquee { padding: 0; }
  .review-nav { display: none; }
  .review-top strong { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .board-track { animation: none; }
  .review-card, .review-card.is-active, .review-progress.is-run span {
    animation: none;
    transition: none;
  }
}
.blog-grid .work-card {
  grid-template-rows: minmax(220px, auto) auto auto auto;
  background: #0e1626;
}
.blog-grid .work-card img {
  height: auto;
  min-height: 220px;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  background: #f4f7fb;
  padding: 10px;
}
.blog-grid .work-card::before {
  display: none;
}
.blog-grid .work-card::after {
  content: "Read article";
}
.blog-grid .work-card:hover img {
  transform: scale(1.03);
}
.blog-grid .work-card h3 { padding-bottom: 6px; }
.blog-grid .work-card p {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 16px 18px;
  line-height: 1.5;
}
.blog-grid .work-card .blog-tag {
  display: inline-block;
  width: fit-content;
  margin: 12px 16px 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  grid-row: 2;
  grid-column: 1;
  z-index: 2;
}
.blog-grid .work-card h3 { grid-row: 3; }
.blog-grid .work-card p { grid-row: 4; }

.blog-article {
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 0 5% 40px;
}
.blog-article .lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 22px;
}
.blog-article .note {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--blue);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  line-height: 1.55;
}
.blog-article h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}
.blog-article h3 {
  font-size: 1.1rem;
  margin: 22px 0 10px;
  color: #e8f1ff;
}
.blog-article p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
}
.blog-article strong { color: var(--text); font-weight: 700; }
.blog-article ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.blog-article ul li {
  position: relative;
  padding: 8px 12px 8px 28px;
  color: var(--muted);
  background: rgba(18, 24, 38, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.45;
}
.blog-article ul li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.blog-company {
  margin: 28px 0;
  padding: 22px 20px;
  background: rgba(18, 24, 38, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.blog-company .rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-company h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}
.blog-article .cta-end {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin: 0 0 28px;
  background: #f4f7fb;
  padding: 12px;
  box-sizing: border-box;
}
.blog-table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 24, 38, 0.78);
}
.blog-article table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.blog-article th,
.blog-article td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}
.blog-article th {
  color: var(--text);
  background: rgba(59, 130, 246, 0.12);
  font-weight: 700;
}
.blog-article tr:last-child td { border-bottom: 0; }
.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;
}

@media (max-width: 1240px) {
  header.nav,
  .nav {
    grid-template-columns: minmax(0, 1fr) auto auto;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 0 12px !important;
    gap: 0 8px;
    font-size: 16px;
  }
  .brand { min-width: 0; gap: 6px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: clamp(14px, 4.4vw, 22px); }
  .nav-toggle { width: 36px; }
  .nav > .btn { font-size: clamp(12px, 3.5vw, 16px); }
  header.nav.is-open,
  .nav.is-open {
    height: auto !important;
    max-height: none !important;
    overflow: visible;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    width: 100%;
    height: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    background: #0b2748;
    border-top: 1px solid rgba(186, 214, 255, 0.18);
    padding: 8px 0 12px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav.is-open .nav-links a {
    height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(186, 214, 255, 0.12);
    border-radius: 0;
  }
  .nav.is-open .nav-links a.is-active {
    border-bottom-color: #7dd3fc;
  }
}
@media (max-width: 980px) {
  .hero, .about, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 28px 5% 16px; text-align: left; }
  .hero h1 { max-width: none; font-size: clamp(1.7rem, 8vw, 2.6rem); }
  .hero p { font-size: 1rem; }
  .hero-orbit { margin: 8px auto 12px; }
  .cta { justify-content: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; padding: 0 5% 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 5%; }
  #team > :not(.marquee):not(.snap-slider),
  #clients > :not(.marquee):not(.snap-slider) {
    margin-left: 5%;
    margin-right: 5%;
  }
  .snap-slider { margin-left: 5%; margin-right: 5%; }
  .orbit-stage { width: min(340px, 92vw); height: min(340px, 92vw); }
  .bg-watermark { width: min(380px, 72vw); opacity: 0.12; }
  .footer { padding: 24px 5% 32px; }
  .page-hero, .filters { padding-left: 5%; padding-right: 5%; }
  .project-view { grid-template-columns: 1fr; padding: 16px 5% 48px; }
  #services.reveal-3d.is-in .card:hover {
    transform: translateY(-8px) scale(1.03);
  }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta, .cta { width: 100%; }
  .cta .btn, .cta .ghost { width: 100%; text-align: center; }
  .nav > .btn { padding: 0 0 4px; font-size: clamp(12px, 3.5vw, 15px); }
  .member { flex-basis: min(220px, 78vw); }
  .marquee-track .card { flex-basis: min(260px, 82vw); }
  .marquee-track .client-logo { flex: 0 0 132px; }
  iframe { height: 180px; }
  .modal .sheet { width: 100%; }
  .orbit-stage { width: min(300px, 88vw); height: min(300px, 88vw); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .work-card, .work-card img, .work-card::before, .work-card::after {
    transition: none;
  }
  .work-card:hover { transform: none; }
  .work-card:hover img { transform: none; }
}
