:root {
  --bg: #f4f7fc;
  --bg-alt: #e8eef8;
  --bg-section: #eef3fb;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --blue-light: #3d9ae8;
  --blue-mid: #1a6fd4;
  --blue-dark: #0b3d7a;
  --red: #e31e24;
  --red-hover: #c4191f;
  --red-glow: rgba(227, 30, 36, 0.28);
  --blue-glow: rgba(26, 111, 212, 0.22);
  --gradient-blue: linear-gradient(180deg, var(--blue-light) 0%, var(--blue-mid) 45%, var(--blue-dark) 100%);
  --gradient-brand: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-dark) 50%, var(--red) 100%);
  --gradient-text: linear-gradient(90deg, var(--blue-mid), var(--blue-light), var(--blue-mid));
  --gradient-hero: radial-gradient(ellipse 120% 80% at 72% 45%, rgba(61, 154, 232, 0.08), transparent 72%);
  --text: #0f172a;
  --text-muted: #5a6b82;
  --border: rgba(26, 111, 212, 0.14);
  --border-red: rgba(227, 30, 36, 0.22);
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 50px rgba(26, 111, 212, 0.12);
  --shadow-glass: 0 8px 32px rgba(26, 111, 212, 0.08);
  --font-display: "Exo 2", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 80px;
  --container: min(1200px, 100%);
  --container-pad: clamp(1rem, 4vw, 1.25rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --space-section-top: clamp(1.75rem, 3.5vw, 2.75rem);
  --space-section-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

main,
.header,
.footer,
.section,
.marquee,
.hero,
.stats {
  max-width: 100%;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.text-gradient {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.text-red {
  color: var(--red);
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.glass-card,
.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-glass);
}

.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  max-width: 100vw;
  clip-path: inset(0);
}

.bg-effects__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.bg-effects__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 111, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 212, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%);
}

.bg-effects__neural {
  position: absolute;
  top: 8%;
  right: 0;
  width: min(720px, 85vw);
  height: min(720px, 75vh);
  background: radial-gradient(ellipse 70% 60% at 55% 45%, rgba(26, 111, 212, 0.05) 0%, transparent 68%);
  animation: neuralPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes neuralPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.bg-effects__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 14s ease-in-out infinite;
}

.bg-effects__orb--blue {
  width: 560px;
  height: 560px;
  top: -15%;
  right: -8%;
  background: rgba(61, 154, 232, 0.2);
}

.bg-effects__orb--red {
  width: 400px;
  height: 400px;
  bottom: 15%;
  left: -10%;
  background: rgba(227, 30, 36, 0.12);
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: max(var(--container-pad), env(safe-area-inset-left, 0px)) max(var(--container-pad), env(safe-area-inset-right, 0px));
  position: relative;
  z-index: 1;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  padding-top: var(--space-section-top);
  padding-bottom: var(--space-section-bottom);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.section__title--shimmer {
  background: linear-gradient(90deg, var(--text) 0%, var(--blue-light) 50%, var(--text) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

.section__desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

.section__header {
  margin-bottom: 2rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__desc {
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease);
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 28px var(--red-glow);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
}

.btn--primary:hover {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px var(--red-glow);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--ghost {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  color: var(--blue-mid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--blue-mid);
  color: var(--blue-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.scroll-top {
  position: fixed;
  z-index: 9999;
  inset: auto max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--blue-mid);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.35s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  isolation: isolate;
  contain: layout style;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.scroll-top:hover {
  background: var(--blue-mid);
  color: #fff;
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-lg);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo-link:hover {
  filter: drop-shadow(0 0 14px var(--blue-glow));
  transform: scale(1.02);
}

.logo-img,
.hero__logo,
.footer__brand .footer__logo {
  display: block;
  object-fit: contain;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
}

.hero__logo {
  width: 100%;
  height: auto;
}

.footer__brand .footer__logo {
  height: 36px;
  width: auto;
  max-width: 200px;
  margin: 0 0 1.25rem;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--blue-mid);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link--cta {
  padding: 0.6rem 1.35rem;
  background: var(--red);
  color: #fff !important;
  border-radius: 8px;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--red-hover);
  box-shadow: 0 0 24px var(--red-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-mid);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 1.75rem) 0 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__grid > * {
  min-width: 0;
}

.hero__content {
  width: 100%;
  max-width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
  overflow-wrap: break-word;
}

.hero__text {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero__metrics {
  display: flex;
  gap: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.hero__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__metric span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  max-width: 100%;
  overflow: visible;
  transition: transform 0.15s ease-out;
}

.hero__scene {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 420px;
  aspect-ratio: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero__neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 1;
  animation: neuralRotate 60s linear infinite;
}

@keyframes neuralRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.neural-node {
  animation: nodePulse 3s ease-in-out infinite;
}

.neural-node:nth-child(odd) { animation-delay: 0.5s; }

@keyframes nodePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero__dashboard {
  position: absolute;
  top: 14%;
  right: 4%;
  width: min(230px, 50%);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  z-index: 4;
  animation: dashboardFloat 6s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}

@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.hero__dashboard-header span:last-child {
  margin-left: auto;
}

.hero__dashboard-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hero__dashboard-dot--green { background: #22c55e; }
.hero__dashboard-dot--blue { background: var(--blue-mid); }
.hero__dashboard-dot--red { background: var(--red); }

.hero__dashboard-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.hero__dashboard-bar {
  height: 4px;
  background: rgba(26, 111, 212, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.hero__dashboard-bar span {
  display: block;
  height: 100%;
  background: var(--gradient-blue);
  border-radius: 4px;
  animation: barGrow 2s var(--ease) forwards;
}

.hero__dashboard-bar--red span {
  background: linear-gradient(90deg, var(--red), #ff6b6b);
}

@keyframes barGrow {
  from { width: 0 !important; }
}

.hero__logo-wrap {
  position: absolute;
  left: 46%;
  top: 58%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 88%;
  max-width: 460px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  animation: logoFloat 5s ease-in-out infinite;
  pointer-events: none;
}

.hero__logo-glow {
  position: absolute;
  inset: -35%;
  background: radial-gradient(
    ellipse 90% 70% at 50% 50%,
    rgba(61, 154, 232, 0.14) 0%,
    rgba(26, 111, 212, 0.08) 35%,
    rgba(227, 30, 36, 0.05) 55%,
    transparent 78%
  );
  filter: blur(72px);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 16px 36px rgba(26, 111, 212, 0.25));
}

.hero__robot-arm {
  position: absolute;
  bottom: 5%;
  left: -8%;
  width: 45%;
  opacity: 0.85;
  z-index: 2;
}

.robot-segment {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawArm 3s var(--ease) forwards;
}

.robot-segment--2 { animation-delay: 0.4s; }
.robot-segment--3 { animation-delay: 0.8s; }

@keyframes drawArm {
  to { stroke-dashoffset: 0; }
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringSpin 25s linear infinite;
}

.hero__ring--1 {
  width: clamp(200px, 72vw, 340px);
  height: clamp(200px, 72vw, 340px);
  border-color: rgba(26, 111, 212, 0.2);
}

.hero__ring--2 {
  width: clamp(240px, 88vw, 420px);
  height: clamp(240px, 88vw, 420px);
  border-style: dashed;
  border-color: rgba(227, 30, 36, 0.12);
  animation-direction: reverse;
  animation-duration: 32s;
}

.hero__ring--3 {
  width: clamp(160px, 58vw, 280px);
  height: clamp(160px, 58vw, 280px);
  border-color: rgba(61, 154, 232, 0.15);
  animation-duration: 18s;
}

@keyframes logoFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__footer {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0;
}

.hero__tags span {
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-dark);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.hero__tags span:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 0 16px var(--blue-glow);
  transform: translateY(-2px);
}

.hero__scroll {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--red), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.marquee {
  padding: 2.25rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg-section);
  overflow-x: clip;
  max-width: 100%;
}

.marquee__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  contain: paint;
}

.marquee__viewport::before,
.marquee__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(72px, 11vw, 140px);
  z-index: 3;
  pointer-events: none;
  transition: width 0.45s ease, opacity 0.45s ease;
}

.marquee__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-section) 15%, transparent 100%);
}

.marquee__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-section) 15%, transparent 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

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

.marquee__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 64px;
  padding: 0 0.5rem;
  pointer-events: none;
}

.marquee__logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.clients {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-section) 0%, transparent 100%);
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.clients__item:hover {
  border-color: var(--blue-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.clients__item img {
  display: block;
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.about {
  background: linear-gradient(180deg, transparent, var(--bg-section) 35%, transparent);
}

.about__intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.about__intro .section__desc {
  margin-top: 1rem;
}

.about__main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.about__story {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 100%;
  overflow-wrap: break-word;
}

.about__lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about__story p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}

.about__points {
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about__point-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--red);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.about__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__brand {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.about__brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(26, 111, 212, 0.1), transparent 65%);
  pointer-events: none;
}

.about__brand-logo {
  width: min(100%, 260px);
  margin: 0 auto 1rem;
  position: relative;
}

.about__brand-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-mid);
  position: relative;
}

.about__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.about__metric {
  padding: 1.25rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

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

.about__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__metric strong span {
  font-size: 1.1rem;
  color: var(--red);
  -webkit-text-fill-color: var(--red);
}

.about__metric > span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-value {
  padding: 2rem;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.about-value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-value__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-mid);
  background: rgba(26, 111, 212, 0.1);
  border-radius: 12px;
}

.about-value__icon--red {
  color: var(--red);
  background: rgba(227, 30, 36, 0.08);
}

.about-value h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.about-value p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about__strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.about__strengths::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.about-strength {
  padding: 0.5rem 1rem 0.5rem 0;
  border-right: 1px solid var(--border);
}

.about-strength:last-child {
  border-right: none;
}

.about-strength__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(26, 111, 212, 0.35);
  margin-bottom: 0.65rem;
}

.about-strength h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.about-strength p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.services {
  background: linear-gradient(180deg, transparent, var(--bg-section) 40%, transparent);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.service-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(26, 111, 212, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-mid);
  background: rgba(26, 111, 212, 0.08);
  border-radius: 12px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.service-card:hover .service-card__icon {
  background: var(--blue-mid);
  color: #fff;
  transform: scale(1.05);
}

.service-card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(26, 111, 212, 0.1);
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--blue-dark);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-card__line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-brand);
  transition: width 0.5s var(--ease);
}

.service-card:hover .service-card__line {
  width: 100%;
}

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

.process__timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 1.25rem;
  margin-top: 2.5rem;
  padding: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.process-step__rail {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1.25rem;
  min-height: 3rem;
}

.process-step__bridge {
  flex: 1 1 0;
  min-width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-mid), var(--red));
  opacity: 0.35;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease), opacity 0.4s;
}

.process-step__bridge--in {
  transform-origin: right center;
}

.process-step__bridge--out {
  transform-origin: left center;
}

.process-step.visible .process-step__bridge--in,
.process-step.visible .process-step__bridge--out {
  transform: scaleX(1);
  opacity: 0.55;
}

.process-step:first-child .process-step__bridge--in {
  visibility: hidden;
}

.process-step:last-child .process-step__bridge--out {
  visibility: hidden;
}

.process-step__node {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 4px 20px var(--blue-glow), 0 0 0 4px var(--bg-section);
}

.process-step__node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(26, 111, 212, 0.2);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.process-step:hover .process-step__node::after {
  opacity: 1;
  transform: scale(1.08);
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.process-step__card {
  flex: 1;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}

.process-step:hover .process-step__card {
  transform: translateY(-6px);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
}

.process-step__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(26, 111, 212, 0.08);
  color: var(--blue-mid);
  transition: background 0.3s, color 0.3s;
}

.process-step:hover .process-step__icon {
  background: rgba(26, 111, 212, 0.14);
  color: var(--blue-dark);
}

.process-step__card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.process-step__card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .process-step__bridge {
    transform: scaleX(1);
    transition: none;
  }
}

.features__layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.features__layout > .section__label {
  margin-bottom: 1rem;
}

.features__main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.features__list {
  margin-top: 1.75rem;
}

.features__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  transition: color 0.3s, transform 0.3s var(--ease);
}

.features__list li:hover {
  color: var(--text);
  transform: translateX(8px);
}

.features__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--red);
  border-radius: 6px;
  position: relative;
}

.features__check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.features__panel {
  position: relative;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 100%;
}

.features__panel-glow {
  position: absolute;
  top: -40%;
  right: -25%;
  width: 240px;
  height: 240px;
  background: var(--red-glow);
  filter: blur(70px);
  animation: glowPulse 3s ease-in-out infinite;
}

.features__panel-stat {
  margin-bottom: 1.5rem;
}

.features__panel-value {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.features__panel-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.features__panel p {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.stats {
  position: relative;
  padding-top: var(--space-section-top);
  padding-bottom: var(--space-section-bottom);
  background: var(--bg);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.stats__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stats__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 111, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 212, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 20%, transparent 72%);
}

.stats__glow {
  position: absolute;
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.stats__glow--left {
  top: 10%;
  left: -8%;
  background: rgba(61, 154, 232, 0.22);
}

.stats__glow--right {
  bottom: 5%;
  right: -6%;
  background: rgba(227, 30, 36, 0.14);
}

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

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 10.5rem;
  padding: 2.25rem 1.25rem 2rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(26, 111, 212, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 111, 212, 0.22);
  box-shadow: var(--shadow-md);
}

.stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--blue-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat__label {
  margin: 0.85rem 0 0;
  max-width: 12rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  line-height: 1.45;
}

.stack {
  background: linear-gradient(180deg, transparent, var(--bg-section) 40%, transparent);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.stack .section__header {
  margin-bottom: 1.25rem;
}

.stack .section__desc {
  margin-top: 0.65rem;
}

.stack__shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}

.stack__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 111, 212, 0.04);
}

.stack__tab {
  padding: 0.6rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.stack__tab:hover {
  color: var(--blue-mid);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
}

.stack__tab.active {
  color: #fff;
  border-color: var(--blue-mid);
  background: var(--blue-mid);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.stack__panels {
  position: relative;
}

.stack__panel {
  display: none;
  padding: 1.15rem 1.25rem 1.35rem;
  animation: stackPanelIn 0.4s var(--ease);
}

.stack__panel.active {
  display: block;
}

@keyframes stackPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stack__panel-head {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.stack__panel-head h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}

.stack__panel-head p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.stack__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.stack__grid .tech-item {
  flex: 0 0 108px;
  width: 108px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.5rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  animation: techItemIn 0.45s var(--ease) backwards;
}

.tech-item:nth-child(1) { animation-delay: 0.03s; }
.tech-item:nth-child(2) { animation-delay: 0.06s; }
.tech-item:nth-child(3) { animation-delay: 0.09s; }
.tech-item:nth-child(4) { animation-delay: 0.12s; }
.tech-item:nth-child(5) { animation-delay: 0.15s; }
.tech-item:nth-child(6) { animation-delay: 0.18s; }
.tech-item:nth-child(7) { animation-delay: 0.21s; }
.tech-item:nth-child(8) { animation-delay: 0.24s; }
.tech-item:nth-child(9) { animation-delay: 0.27s; }
.tech-item:nth-child(10) { animation-delay: 0.30s; }
.tech-item:nth-child(11) { animation-delay: 0.33s; }
.tech-item:nth-child(12) { animation-delay: 0.36s; }

@keyframes techItemIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tech-item:hover {
  transform: translateY(-6px);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
}

.tech-item__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: background 0.3s, border-color 0.3s;
}

.tech-item:hover .tech-item__icon {
  background: rgba(26, 111, 212, 0.08);
  border-color: rgba(26, 111, 212, 0.25);
}

.tech-item__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.tech-item__logo--dark {
  filter: brightness(0) saturate(100%) invert(28%) sepia(90%) saturate(1200%) hue-rotate(186deg);
}

.tech-item__logo--mono {
  filter: brightness(0) saturate(100%) invert(22%) sepia(18%) saturate(1200%) hue-rotate(186deg);
}

.tech-item__icon--abbr {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-mid);
}

.tech-item:hover .tech-item__logo {
  transform: scale(1.12);
}

.tech-item__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
}

.tech-item:hover .tech-item__name {
  color: var(--blue-dark);
}

.stack__footnote {
  text-align: center;
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stack__footnote strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
}

.portfolio__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.portfolio__filter {
  padding: 0.6rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.portfolio__filter.active,
.portfolio__filter:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 22px var(--red-glow);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.35rem;
  max-width: 100%;
  overflow: visible;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  opacity: 1;
  isolation: isolate;
  transition: box-shadow 0.45s var(--ease), border-color 0.35s;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(26, 111, 212, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
  pointer-events: none;
}

.portfolio-card:hover::after {
  opacity: 1;
}

.portfolio-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 111, 212, 0.35);
}

.portfolio-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-section);
}

.portfolio-card__visual {
  position: absolute;
  inset: 0;
  background-color: var(--bg-section);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: transform 0.55s var(--ease);
}

.portfolio-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.08) 100%);
  pointer-events: none;
}

.portfolio-card__visual--gradient {
  background-image:
    radial-gradient(circle at 20% 80%, rgba(227, 30, 36, 0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(61, 154, 232, 0.4), transparent 40%),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, #0f4a8a 100%);
}

.portfolio-card:hover .portfolio-card__visual {
  transform: scale3d(1.04, 1.04, 1);
}

.portfolio-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 100px;
  box-shadow: 0 4px 14px var(--red-glow);
}

.portfolio-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem 1.15rem;
  position: relative;
  z-index: 1;
}

.portfolio-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.portfolio-card__type {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
}

.portfolio-card__type--app {
  color: var(--blue-mid);
  background: rgba(26, 111, 212, 0.12);
}

.portfolio-card__type--web {
  color: var(--red);
  background: rgba(227, 30, 36, 0.1);
}

.portfolio-card__type--ai {
  color: #5b3fa8;
  background: linear-gradient(135deg, rgba(91, 63, 168, 0.14), rgba(26, 111, 212, 0.1));
}

.portfolio-card__tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.portfolio-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.25;
}

.portfolio-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s var(--ease), color 0.3s, gap 0.3s var(--ease);
}

.portfolio-card__action svg {
  transition: transform 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-card__action,
.portfolio-card__action--static {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover .portfolio-card__action svg {
  transform: translateX(3px);
}

.portfolio-card--link:hover .portfolio-card__action {
  color: var(--red);
}

.portfolio-card--featured {
  grid-column: span 2;
  flex-direction: row;
  z-index: 1;
}

.portfolio-card--featured .portfolio-card__media {
  aspect-ratio: unset;
  width: 48%;
  min-height: 220px;
  flex-shrink: 0;
}

.portfolio-card--featured .portfolio-card__body {
  justify-content: center;
  padding: 1.5rem 1.75rem;
}

.portfolio-card--featured .portfolio-card__desc {
  -webkit-line-clamp: 3;
}

.portfolio-card--featured h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
}

.portfolio-card.hidden {
  display: none;
}

.portfolio-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.hiring__banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hiring__banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.06));
}

.hiring__banner p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  position: relative;
}

.hiring__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.contact {
  background: linear-gradient(180deg, transparent, var(--bg-section) 30%, transparent);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(900px, 80%);
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(26, 111, 212, 0.08), transparent 70%);
  pointer-events: none;
}

.contact .container {
  position: relative;
}

.contact__shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.contact__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.06) 0%, transparent 45%, rgba(227, 30, 36, 0.04) 100%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.35fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}

.contact__aside {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.35);
}

.contact__aside-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.contact__aside-head p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.contact__trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.contact__trust li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.contact__trust-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-mid);
  background: rgba(26, 111, 212, 0.1);
  border-radius: 8px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}

.contact__channel:hover {
  border-color: var(--blue-mid);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

.contact__channel--email:hover {
  border-color: var(--red);
}

.contact__channel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-mid);
  background: rgba(26, 111, 212, 0.08);
  border-radius: 10px;
}

.contact__channel--email .contact__channel-icon {
  color: var(--red);
  background: rgba(227, 30, 36, 0.08);
}

.contact__channel-body {
  flex: 1;
  min-width: 0;
}

.contact__channel-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact__channel-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-dark);
  word-break: break-word;
}

.contact__channel-arrow {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--blue-mid);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.contact__channel:hover .contact__channel-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact__hours-box {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.08), rgba(26, 111, 212, 0.02));
  border: 1px solid var(--border);
}

.contact__hours-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.contact__hours-box p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.contact__hours-box p span {
  font-weight: 500;
  color: var(--text-muted);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.5);
}

.contact__form-head {
  margin-bottom: 0.25rem;
}

.contact__form-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.contact__form-head p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__form input,
.contact__form textarea,
.contact__form select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.contact__form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: #94a3b8;
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.contact__form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.contact__submit svg {
  transition: transform 0.3s var(--ease);
}

.contact__submit:hover svg {
  transform: translateX(4px);
}

.contact__form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.offices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

.office-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.office-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
}

.office-card__region {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(227, 30, 36, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.office-card h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 0.5rem;
}

.office-card h4 svg {
  flex-shrink: 0;
  color: var(--blue-mid);
}

.office-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer {
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
}

.footer__col ul li {
  margin-bottom: 0.65rem;
}

.footer__col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer__col a:hover {
  color: var(--blue-mid);
}

.footer__locations {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer__locations-head {
  margin-bottom: 1.5rem;
}

.footer__locations-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.footer__locations-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__locations-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: rgba(26, 111, 212, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.footer__location-badge svg {
  color: var(--blue-mid);
  flex-shrink: 0;
}

.footer__bottom {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

  .process__timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 1.25rem;
    padding-bottom: 2rem;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-step__rail {
    grid-column: 1;
    grid-row: 1 / -1;
    flex-direction: column;
    align-items: center;
    width: 3rem;
    margin-bottom: 0;
    min-height: 100%;
  }

  .process-step__bridge {
    flex: 1 1 auto;
    width: 3px;
    min-height: 1.25rem;
    height: auto;
    transform: scaleY(0);
  }

  .process-step__bridge--in {
    transform-origin: center bottom;
  }

  .process-step__bridge--out {
    transform-origin: center top;
  }

  .process-step.visible .process-step__bridge--in,
  .process-step.visible .process-step__bridge--out {
    transform: scaleY(1);
  }

  .process-step__bridge--in {
    background: linear-gradient(180deg, transparent, var(--blue-mid) 25%, var(--red));
  }

  .process-step__bridge--out {
    background: linear-gradient(180deg, var(--red), var(--blue-mid) 75%, transparent);
  }

  .process-step:first-child .process-step__bridge--in {
    visibility: visible;
    opacity: 0;
    min-height: 0;
    flex: 0 0 0;
  }

  .process-step:last-child .process-step__bridge--out {
    visibility: visible;
    opacity: 0;
    min-height: 0;
    flex: 0 0 0;
  }

  .process-step__card {
    grid-column: 2;
    text-align: left;
  }

  .process-step__icon {
    margin: 0 0 0.85rem;
  }

}

@media (max-width: 1024px) {
  .hero__grid,
  .about__main,
  .features__main,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact__aside {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

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

  .about-strength {
    border-right: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero__visual {
    min-height: 320px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__scene {
    min-height: 300px;
    max-width: 100%;
  }

  .hero__dashboard {
    top: 8%;
    right: 0;
    width: min(200px, 52%);
  }

  .hero__logo-wrap {
    left: 50%;
    top: 58%;
    width: 88%;
    max-width: 320px;
  }

  .features__panel {
    padding: 2.25rem;
  }

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

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

  .portfolio-card--featured {
    grid-column: span 2;
    flex-direction: column;
  }

  .portfolio-card--featured .portfolio-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: unset;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

@media (max-width: 991px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.75rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }

  .nav__link {
    display: block;
    text-align: center;
    padding: 0.35rem 0;
  }

  .nav__link--cta {
    margin-top: 0.5rem;
    text-align: center;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --container-pad: max(1.25rem, 5vw);
    --space-section-top: 1.5rem;
    --space-section-bottom: 2rem;
  }

  .section__header {
    margin-bottom: 1.5rem;
  }

  .section__desc {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: 2rem;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }

  .hero__content {
    order: 1;
    width: 100%;
  }

  .hero__visual {
    order: 2;
    min-height: 240px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .hero__text {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    width: 100%;
    padding-top: 1.25rem;
    margin-top: 0.25rem;
  }

  .hero__metric {
    text-align: center;
    min-width: 0;
  }

  .hero__metric strong {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

  .hero__metric span {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    display: block;
    margin-top: 0.2rem;
  }

  .hero__scene {
    min-height: 220px;
    max-width: 100%;
  }

  .hero__dashboard {
    width: min(180px, 48%);
    padding: 0.85rem;
  }

  .hero__logo-wrap {
    max-width: min(280px, 85vw);
  }

  .hero__badge {
    max-width: 100%;
  }

  .hero__tags {
    gap: 0.5rem;
  }

  .hero__tags span {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
  }

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

  .about-value {
    padding: 1.5rem;
  }

  .features__panel {
    padding: 1.75rem;
  }

  .features__panel-value {
    font-size: 2.5rem;
  }

  .features__panel p {
    font-size: 1.15rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem 1.35rem;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio__filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding-bottom: 0.25rem;
  }

  .portfolio__filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio__filter {
    flex-shrink: 0;
    padding: 0.55rem 1.25rem;
    font-size: 0.72rem;
  }

  .portfolio-card--featured {
    grid-column: span 1;
  }

  .process__timeline {
    max-width: 100%;
  }

  .process-step__card {
    padding: 1.5rem 1.25rem;
  }

  .stack__tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem;
  }

  .stack__tabs::-webkit-scrollbar {
    display: none;
  }

  .stack__tab {
    flex-shrink: 0;
  }

  .stack__grid .tech-item {
    flex: 0 0 calc((100% - 1.5rem) / 3);
    width: calc((100% - 1.5rem) / 3);
    min-width: 0;
    max-width: none;
  }

  .stack__panel {
    padding: 1rem 0.85rem 1.15rem;
  }

  .bg-effects__orb--blue {
    width: min(280px, 75vw);
    height: min(280px, 75vw);
    right: -20%;
  }

  .bg-effects__orb--red {
    width: min(220px, 60vw);
    height: min(220px, 60vw);
    left: -25%;
  }

  .bg-effects__neural {
    width: 240px;
    height: 240px;
  }

  .features__list li:hover {
    transform: none;
  }

  .contact__channel:hover {
    transform: none;
  }

  .portfolio-card:hover {
    z-index: 2;
  }


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

  .about__story {
    padding: 1.75rem;
  }

  .about__strengths {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .about-strength {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .about-strength:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hiring__banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }

  .hiring__links {
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin-inline: auto;
  }

  .footer__brand .footer__logo {
    margin-inline: auto;
  }

  .footer__locations-head {
    text-align: center;
  }

  .footer__locations-badges {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 0.5rem;
  }

  .footer__location-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .offices {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .office-card {
    max-width: 100%;
  }

  .footer__copy {
    overflow-wrap: break-word;
    line-height: 1.5;
  }

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

  .clients__item {
    min-height: 88px;
    padding: 1.25rem 1rem;
  }

  .marquee__logo {
    height: 48px;
  }

  .marquee__logo img {
    max-width: 150px;
  }

  .marquee__track {
    gap: 3rem;
  }

  .marquee__viewport::before,
  .marquee__viewport::after {
    width: clamp(48px, 14vw, 80px);
  }

  .hero__scroll {
    display: none;
  }

  .scroll-top {
    inset: auto max(0.75rem, env(safe-area-inset-right, 0px)) max(0.75rem, env(safe-area-inset-bottom, 0px)) auto;
    width: 44px;
    height: 44px;
  }

  .footer__bottom {
    padding-bottom: max(2.5rem, calc(1.75rem + env(safe-area-inset-bottom, 0)));
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .about__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .about__metric {
    padding: 1rem 0.75rem;
  }

  .about__metric strong {
    font-size: 1.5rem;
  }

  .stack__grid .tech-item {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    width: calc((100% - 0.75rem) / 2);
  }

  .hiring__links {
    flex-direction: column;
    width: 100%;
  }

  .hiring__links .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
    --container-pad: max(1.125rem, 4.5vw);
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.82rem;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  }

  .hero__visual {
    min-height: 200px;
  }

  .hero__scene {
    min-height: 180px;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
  }

  .hero__metric strong {
    font-size: 1.35rem;
  }

  .hero__metric span {
    font-size: 0.58rem;
  }

  .hero__dashboard {
    display: none;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stat {
    min-height: auto;
    padding: 1.5rem 1rem;
  }

  .logo-img {
    height: 32px;
    max-width: 160px;
  }

  .footer__brand .footer__logo {
    min-width: 0;
    max-width: 180px;
    height: 32px;
  }

  .hero__robot-arm {
    display: none;
  }

  .contact__channel {
    padding: 0.75rem 0.85rem;
  }

  .contact__channel-value {
    font-size: 0.85rem;
  }

  .contact__form,
  .contact__aside {
    padding: 1.25rem;
  }

  .hiring__banner {
    padding: 1.75rem 1.25rem;
  }

  .about__story,
  .about__brand {
    padding: 1.35rem;
  }

  .marquee {
    padding: 1.5rem 0;
  }
}

@media (max-width: 380px) {
  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: stretch;
  }

  .hero__metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

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

  .hero__metric strong {
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .hero__metric span {
    font-size: 0.65rem;
    text-align: right;
    margin-top: 0;
  }

  .stack__grid .tech-item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 140px;
  }

  .nav {
    padding: 1.25rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .bg-effects__particles {
    display: none;
  }
}