@media (min-width: 900px) {
  .hero-scene {
    position: fixed;
    right: 50%;
    top: -260px;
    width: 360px;
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: translateX(180px);
    height: auto;
  }
  .scene-card {
    position: static !important;
    width: 260px;
    max-width: 70vw;
    padding: 0.12rem 0.5rem;
    margin-bottom: 0;
    left: auto !important;
    right: auto !important;
  }
  .scene-card:first-child {
    margin-top: 0 !important;
  }
  .scene-card:last-child {
    margin-bottom: 0;
  }
  .scene-card p {
    font-size: 0.58rem;
  }
  .scene-card h3 {
    font-size: clamp(0.92rem, 1.2vw, 1.18rem);
  }
  .scene-card span {
    font-size: 0.66rem;
  }
}
:root {
  --bg: #0b1220;
  --line: rgba(131, 164, 220, 0.22);
  --text: #e9f0ff;
  --muted: #b1c2e8;
  --primary: #00c2ff;
  --primary-2: #36f3b2;
  --warm: #ff9f58;
  --shadow: 0 24px 80px rgba(0, 8, 22, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% -5%, #153972 0%, transparent 35%),
    radial-gradient(circle at 85% 8%, #233e69 0%, transparent 42%),
    linear-gradient(165deg, #080d18 0%, #0a1222 45%, #070d18 100%);
  overflow-x: hidden;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.06;
  background-image: radial-gradient(#ffffff 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.cursor-aura {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.28), rgba(54, 243, 178, 0.05) 55%, transparent 75%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 13, 24, 0.76);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-shell {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 250px;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.brand-text span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.main-nav a {
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  color: #061223;
  background: linear-gradient(125deg, var(--primary) 0%, var(--primary-2) 80%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 194, 255, 0.32);
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section {
  padding: 3.5rem 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

.hero {
  padding: 0;
  min-height: 100vh;
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(131, 164, 220, 0.18);
  touch-action: pan-y;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(98deg, rgba(4, 10, 22, 0.82) 0%, rgba(4, 10, 22, 0.52) 42%, rgba(4, 10, 22, 0.66) 100%),
    radial-gradient(circle at 16% 24%, rgba(0, 173, 255, 0.18), transparent 42%),
    radial-gradient(circle at 84% 18%, rgba(65, 130, 255, 0.14), transparent 38%);
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: hue-rotate(165deg) saturate(1.3) brightness(0.54) contrast(1.08);
}

.hero-utility-controls {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  display: flex;
  gap: 0.72rem;
  z-index: 55;
}

.hero-utility-btn {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(146, 192, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(9, 23, 44, 0.82), rgba(7, 17, 34, 0.58)),
    linear-gradient(90deg, rgba(255, 144, 79, 0.12), rgba(81, 229, 255, 0.12));
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 10, 24, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-utility-btn:hover,
.hero-utility-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(146, 192, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 32px rgba(0, 10, 24, 0.34),
    0 0 0 1px rgba(97, 169, 255, 0.2);
  outline: none;
}

.hero-utility-btn[aria-pressed="true"] {
  border-color: rgba(81, 229, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(0, 10, 24, 0.36),
    0 0 26px rgba(81, 229, 255, 0.12);
}

.hero-utility-icon {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: #eef6ff;
  transform: translateY(-1px);
}


.hero-utility-btn:first-child {
  background:
    linear-gradient(135deg, rgba(18, 33, 60, 0.84), rgba(8, 18, 35, 0.62)),
    radial-gradient(circle at 0% 50%, rgba(255, 144, 79, 0.14), transparent 48%),
    radial-gradient(circle at 100% 50%, rgba(81, 229, 255, 0.16), transparent 52%);
}

.hero-utility-btn:last-child {
  background:
    linear-gradient(135deg, rgba(10, 22, 42, 0.84), rgba(6, 16, 32, 0.62)),
    radial-gradient(circle at 20% 50%, rgba(81, 229, 255, 0.14), transparent 46%),
    radial-gradient(circle at 100% 50%, rgba(255, 144, 79, 0.12), transparent 56%);
}


.hero-track {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

.hero-scene {
  position: absolute;
  right: min(5vw, 64px);
  top: 44%;
  width: min(640px, 42vw);
  height: min(420px, 46vh);
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: flex-start;
  padding-left: 2.5rem;
}

.scene-card {
  --mx: 0px;
  --my: 0px;
  position: relative;
  width: min(380px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(132, 172, 228, 0.2);
  background: linear-gradient(128deg, rgba(23, 47, 88, 0.84), rgba(8, 24, 48, 0.9));
  box-shadow: 0 18px 56px rgba(2, 7, 18, 0.48);
  padding: 0.8rem 1.1rem;
  transform: translate3d(var(--mx), 30px, 0);
  opacity: 0;
  animation: cardStackIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  margin-bottom: 0.7rem;
  z-index: 1;
}

@keyframes cardStackIn {
  from {
    opacity: 0;
    transform: translate3d(var(--mx), 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--mx), 0, 0);
  }
}

.scene-card p {
  margin: 0;
  color: #3be5bd;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.scene-card h3 {
  margin: 0.42rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.08;
  color: #ecf4ff;
}

.scene-card span {
  margin-top: 0.44rem;
  display: block;
  color: rgba(203, 220, 247, 0.9);
  font-size: 0.9rem;
}



.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-overlay {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding-top: 4.2rem;
  padding-right: min(42vw, 560px);
  transition: transform 0.28s ease;
}

.hero-slide-overlay .hero-title {
  max-width: 12ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4.55vw, 3.84rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #f4fbf6;
  opacity: 0;
  transform: translateY(26px);
}

.hero-slide-overlay p {
  margin-top: 1.4rem;
  max-width: 31ch;
  color: rgba(235, 244, 241, 0.86);
  font-size: clamp(1.02rem, 1.65vw, 1.18rem);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(22px);
}

@media (min-width: 981px) {
  .hero-slide-overlay {
    width: min(1180px, 94vw);
    padding-top: 5rem;
    padding-right: min(38vw, 520px);
  }

  .hero-slide-overlay .hero-title {
    max-width: 13.5ch;
  }

  .hero-slide-overlay p {
    max-width: 36ch;
  }
}

.hero-slide-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 239, 235, 0.45);
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #eaf4ef;
  padding: 0.92rem 2rem;
  background: rgba(6, 16, 11, 0.3);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(18px);
}

.hero-slide.active .hero-slide-overlay .hero-title {
  animation: heroTextIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero-slide.active .hero-slide-overlay p {
  animation: heroTextIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero-slide.active .hero-slide-cta {
  animation: heroTextIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-controls {
  position: absolute;
  right: 2rem;
  bottom: 1.8rem;
  display: flex;
  gap: 0.72rem;
  z-index: 4;
}

.hero-arrow {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(238, 247, 242, 0.24);
  background: rgba(5, 14, 9, 0.45);
  color: #eef8f3;
  font-size: 1.35rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: rgba(7, 18, 12, 0.62);
}

.hero-dots {
  position: absolute;
  left: min(1120px, 92vw);
  bottom: 2.3rem;
  transform: translateX(-100%);
  display: flex;
  gap: 0.55rem;
  z-index: 4;
}

.hero-dot {
  width: 52px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(238, 247, 242, 0.28);
  cursor: pointer;
}

.hero-dot.active {
  background: rgba(238, 247, 242, 0.9);
}

.hero-neon-border {
  --neon-balance: 50%;
  --neon-orange-alpha: 0.78;
  --neon-cyan-alpha: 0.82;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
  border-radius: 999px;
  animation: neonFramePulse 2.8s ease-in-out infinite;
}

.hero-neon-border::before,
.hero-neon-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.hero-neon-border::before {
  background:
    linear-gradient(90deg,
      rgb(255 129 66 / calc(var(--neon-orange-alpha) * 0.78)) 0%,
      rgb(255 129 66 / var(--neon-orange-alpha)) calc(var(--neon-balance) - 16%),
      rgb(170 210 255 / 0.22) var(--neon-balance),
      rgb(81 229 255 / var(--neon-cyan-alpha)) calc(var(--neon-balance) + 16%),
      rgb(81 229 255 / calc(var(--neon-cyan-alpha) * 0.92)) 100%);
  box-shadow:
    0 0 16px rgb(255 129 66 / 0.48),
    0 0 28px rgb(81 229 255 / 0.42),
    inset 0 0 8px rgb(255 255 255 / 0.15);
  opacity: 0.98;
}

.hero-neon-border::after {
  inset: -3px -6px -12px -6px;
  height: auto;
  filter: blur(18px);
  opacity: 0.96;
  background:
    linear-gradient(90deg,
      rgb(255 129 66 / calc(var(--neon-orange-alpha) * 0.62)) 0%,
      rgb(255 129 66 / calc(var(--neon-orange-alpha) * 0.74)) calc(var(--neon-balance) - 16%),
      transparent var(--neon-balance),
      rgb(81 229 255 / calc(var(--neon-cyan-alpha) * 0.76)) calc(var(--neon-balance) + 16%),
      rgb(81 229 255 / calc(var(--neon-cyan-alpha) * 0.66)) 100%);
}

@keyframes neonFramePulse {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

@keyframes revealUpPill {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head {
  max-width: 70ch;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin-top: 0.45rem;
}

.service-layout {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.service-pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-pills-row {
  flex-direction: row !important;
  justify-content: flex-start;
  gap: 1.1rem;
  margin-bottom: 0.7rem;
}

.service-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-align: left;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  font: inherit;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUpPill 0.6s ease forwards;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-pill:nth-child(1) {
  animation-delay: 0.2s;
}

.service-pill:nth-child(2) {
  animation-delay: 0.3s;
}

.service-pill:nth-child(3) {
  animation-delay: 0.4s;
}

.service-pill:hover,
.service-pill.active {
  transform: translateX(4px);
  border-color: rgba(0, 194, 255, 0.6);
  background: rgba(0, 194, 255, 0.08);
}

.service-panel {
  position: relative;
  border: 2px solid;
  border-color: rgba(255, 129, 66, 0.6) rgba(81, 229, 255, 0.6) rgba(255, 129, 66, 0.6) rgba(81, 229, 255, 0.6);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(16, 28, 48, 0.9), rgba(11, 18, 30, 0.9));
  padding: 1.2rem;
  animation: neonBorderColorShift 4s ease-in-out infinite;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.service-panel::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: 
    linear-gradient(90deg, 
      transparent,
      rgba(255, 129, 66, 0.4),
      transparent);
  filter: blur(14px);
  opacity: 0;
  animation: neonAuraGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.service-panel::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 129, 66, 0.3), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(81, 229, 255, 0.3), transparent 45%);
  filter: blur(18px);
  opacity: 0.6;
  animation: duoColorGlow 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -2;
}

.service-panel-head,
.service-cards {
  position: relative;
  z-index: 1;
}

@keyframes neonBorderColorShift {
  0% {
    border-color: rgba(255, 129, 66, 0.5) rgba(81, 229, 255, 0.5) rgba(255, 129, 66, 0.5) rgba(81, 229, 255, 0.5);
    box-shadow: 
      0 0 12px rgba(255, 129, 66, 0.2),
      0 0 20px rgba(81, 229, 255, 0.15);
  }
  50% {
    border-color: rgba(255, 129, 66, 0.8) rgba(81, 229, 255, 0.8) rgba(255, 129, 66, 0.8) rgba(81, 229, 255, 0.8);
    box-shadow: 
      0 0 20px rgba(255, 129, 66, 0.4),
      0 0 32px rgba(81, 229, 255, 0.3),
      inset 0 0 16px rgba(81, 229, 255, 0.1);
  }
  100% {
    border-color: rgba(255, 129, 66, 0.5) rgba(81, 229, 255, 0.5) rgba(255, 129, 66, 0.5) rgba(81, 229, 255, 0.5);
    box-shadow: 
      0 0 12px rgba(255, 129, 66, 0.2),
      0 0 20px rgba(81, 229, 255, 0.15);
  }
}

@keyframes neonAuraGlow {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes duoColorGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

.service-panel-head p:first-child {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

.service-panel-head h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.service-panel-head p:last-child {
  margin-top: 0.55rem;
  color: var(--muted);
}

.service-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  min-height: 130px;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  border-color: rgba(81, 229, 255, 0.4);
  background: rgba(81, 229, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(81, 229, 255, 0.15);
}

.service-card-icon {
  margin-bottom: 0.6rem;
  opacity: 0.85;
  transition: transform 0.32s ease, opacity 0.32s ease, filter 0.32s ease;
  animation: iconFloat 2.6s ease-in-out infinite;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  color: var(--primary-2);
  stroke: var(--primary-2);
  filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.12));
  transition: filter 0.32s ease;
}

.service-card:hover .service-card-icon {
  opacity: 1;
  transform: translateY(-3px) scale(1.16) rotateZ(5deg);
  animation: iconHoverPulse 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-icon svg {
  filter: drop-shadow(0 0 14px rgba(81, 229, 255, 0.55));
}

.service-card:nth-child(1) .service-card-icon {
  animation-delay: 0s;
}

.service-card:nth-child(2) .service-card-icon {
  animation-delay: 0.12s;
}

.service-card:nth-child(3) .service-card-icon {
  animation-delay: 0.24s;
}

.service-card:nth-child(4) .service-card-icon {
  animation-delay: 0.36s;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(-2deg);
  }
}

@keyframes iconHoverPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-4px) scale(1.2) rotate(6deg);
  }
  100% {
    transform: translateY(-3px) scale(1.16) rotate(5deg);
  }
}

.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 600px) {
  .service-card h4 {
    font-size: 1.3rem;
  }
}

.service-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.impact {
  padding-top: 2.5rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.impact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  background: linear-gradient(150deg, rgba(16, 27, 46, 0.9), rgba(9, 17, 29, 0.88));
}

.impact-card h3 {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  color: var(--primary-2);
}

.impact-card p {
  color: var(--muted);
  margin-top: 0.55rem;
}

.process-track {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.process-node {
  position: relative;
  border: 1.5px solid;
  border-color: rgba(255, 129, 66, 0.35) rgba(81, 229, 255, 0.35) rgba(255, 129, 66, 0.35) rgba(81, 229, 255, 0.35);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: processNeonPulse 3.2s ease-in-out infinite;
  overflow: hidden;
}

.process-node::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 129, 66, 0.2), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(81, 229, 255, 0.2), transparent 45%);
  filter: blur(14px);
  opacity: 0.48;
  z-index: 0;
  pointer-events: none;
}

.process-node span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(0, 194, 255, 0.18);
  color: var(--primary-2);
}

.process-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.process-node-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-2);
  opacity: 0.86;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  animation: processIconFloat 2.8s ease-in-out infinite;
}

.process-node-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.16));
}

.process-node:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 129, 66, 0.62) rgba(81, 229, 255, 0.62) rgba(255, 129, 66, 0.62) rgba(81, 229, 255, 0.62);
  box-shadow:
    0 10px 24px rgba(255, 129, 66, 0.12),
    0 14px 32px rgba(81, 229, 255, 0.14);
}

.process-node:hover .process-node-icon {
  opacity: 1;
  transform: translateY(-2px) scale(1.12) rotate(4deg);
  filter: drop-shadow(0 0 12px rgba(81, 229, 255, 0.45));
}

.process-node:nth-child(1) .process-node-icon {
  animation-delay: 0s;
}

.process-node:nth-child(2) .process-node-icon {
  animation-delay: 0.12s;
}

.process-node:nth-child(3) .process-node-icon {
  animation-delay: 0.24s;
}

.process-node:nth-child(4) .process-node-icon {
  animation-delay: 0.36s;
}

.process-node h3 {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  font-size: 1.02rem;
}

.process-node p {
  position: relative;
  z-index: 1;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@keyframes processNeonPulse {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(255, 129, 66, 0.08),
      0 0 14px rgba(81, 229, 255, 0.09);
  }
  50% {
    box-shadow:
      0 0 14px rgba(255, 129, 66, 0.15),
      0 0 20px rgba(81, 229, 255, 0.17);
  }
}

@keyframes processIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.portfolio-shell {
  margin-top: 0.6rem;
  border-radius: 24px;
  border: 1.5px solid;
  border-color: rgba(255, 129, 66, 0.38) rgba(81, 229, 255, 0.38) rgba(255, 129, 66, 0.38) rgba(81, 229, 255, 0.38);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  animation: portfolioNeonPulse 3.4s ease-in-out infinite;
}

.portfolio-shell::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 129, 66, 0.2), transparent 45%),
    radial-gradient(circle at 84% 78%, rgba(81, 229, 255, 0.2), transparent 45%);
  filter: blur(14px);
  opacity: 0.42;
  z-index: 0;
}

.carousel-btn {
  border: 0;
  width: 62px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.case-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  min-width: 0;
}

.case-media {
  position: relative;
  min-height: 320px;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  border-radius: 22px 0 0 22px;
}

.case-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

.case-info {
  min-width: 0;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.case-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-2);
  opacity: 0.9;
  animation: caseIconFloat 2.8s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.case-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.16));
}

.case-info #caseTag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-size: 0.72rem;
}

.case-info h3 {
  margin-top: 0.7rem;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.case-info #caseDesc {
  margin-top: 0.65rem;
  color: var(--muted);
}

.case-card:hover .case-icon {
  transform: translateY(-2px) scale(1.1) rotate(4deg);
  filter: drop-shadow(0 0 12px rgba(81, 229, 255, 0.45));
}

@keyframes portfolioNeonPulse {
  0%,
  100% {
    box-shadow:
      0 0 12px rgba(255, 129, 66, 0.1),
      0 0 16px rgba(81, 229, 255, 0.1);
  }
  50% {
    box-shadow:
      0 0 16px rgba(255, 129, 66, 0.18),
      0 0 24px rgba(81, 229, 255, 0.2);
  }
}

@keyframes caseIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.contact-head {
  max-width: 70ch;
}

.contact-head p:last-child {
  color: var(--muted);
  margin-top: 0.8rem;
}

.contact-shell {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1rem;
  align-items: stretch;
}

.contact-form {
  position: relative;
  border: 1.5px solid;
  border-color: rgba(255, 129, 66, 0.34) rgba(81, 229, 255, 0.34) rgba(255, 129, 66, 0.34) rgba(81, 229, 255, 0.34);
  border-radius: 20px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.52rem;
  min-height: 100%;
  animation: contactNeonPulse 3.2s ease-in-out infinite;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 129, 66, 0.2), transparent 45%),
    radial-gradient(circle at 84% 76%, rgba(81, 229, 255, 0.2), transparent 45%);
  filter: blur(12px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.contact-form > * {
  position: relative;
  z-index: 1;
}

.contact-form h3 {
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
  color: #e8f2ff;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
}

.contact-row > div {
  display: grid;
  gap: 0.48rem;
}

.contact-form label {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(11, 20, 36, 0.8);
  color: var(--text);
  border-radius: 12px;
  padding: 0.72rem 0.82rem;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(0, 194, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.18);
}

.form-success {
  color: var(--primary-2);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.contact-side {
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
}

.contact-info-card {
  position: relative;
  border: 1.5px solid;
  border-color: rgba(255, 129, 66, 0.32) rgba(81, 229, 255, 0.32) rgba(255, 129, 66, 0.32) rgba(81, 229, 255, 0.32);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem;
  animation: contactNeonPulse 3.6s ease-in-out infinite;
}

.ci-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.72rem;
  align-items: start;
  padding: 0.72rem 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, transform 0.25s ease;
}

.ci-row:hover {
  transform: translateY(-2px);
  background: rgba(81, 229, 255, 0.05);
}

.ci-row:last-child {
  border-bottom: 0;
}

.ci-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(54, 243, 178, 0.2);
  color: #72ffd1;
  font-size: 1.05rem;
  transition: transform 0.28s ease, filter 0.28s ease;
  animation: contactIconFloat 2.6s ease-in-out infinite;
}

.ci-row:hover .ci-icon {
  transform: scale(1.12) rotate(4deg);
  filter: drop-shadow(0 0 12px rgba(114, 255, 209, 0.42));
}

.ci-row:nth-child(1) .ci-icon {
  animation-delay: 0s;
}

.ci-row:nth-child(2) .ci-icon {
  animation-delay: 0.12s;
}

.ci-row:nth-child(3) .ci-icon {
  animation-delay: 0.24s;
}

.ci-row:nth-child(4) .ci-icon {
  animation-delay: 0.36s;
}

.ci-row strong {
  display: block;
  color: #72ffd1;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ci-row p {
  margin-top: 0.28rem;
  color: var(--muted);
}

.ci-row a {
  color: #8fffe0;
  text-decoration: none;
}

.ci-row a:hover {
  text-decoration: underline;
}

.ci-muted {
  font-size: 0.9rem;
}

.contact-map-wrap {
  position: relative;
  border: 1.5px solid;
  border-color: rgba(255, 129, 66, 0.32) rgba(81, 229, 255, 0.32) rgba(255, 129, 66, 0.32) rgba(81, 229, 255, 0.32);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.72rem;
  animation: contactNeonPulse 3.8s ease-in-out infinite;
}

@keyframes contactNeonPulse {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(255, 129, 66, 0.08),
      0 0 14px rgba(81, 229, 255, 0.09);
  }
  50% {
    box-shadow:
      0 0 14px rgba(255, 129, 66, 0.16),
      0 0 22px rgba(81, 229, 255, 0.18);
  }
}

@keyframes contactIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.map-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #001726;
  background: linear-gradient(125deg, var(--primary), var(--primary-2));
  border-radius: 10px;
  padding: 0.52rem 0.78rem;
  font-weight: 700;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 250px;
  margin-top: 0.62rem;
  border: 0;
  border-radius: 14px;
}

.site-footer {
  position: relative;
  margin-top: 2.8rem;
  border-top: 1px solid rgba(126, 177, 255, 0.2);
  background:
    radial-gradient(circle at 12% 20%, rgba(12, 84, 160, 0.2), transparent 40%),
    radial-gradient(circle at 86% 18%, rgba(0, 194, 255, 0.22), transparent 42%),
    radial-gradient(circle at 70% 78%, rgba(255, 143, 70, 0.14), transparent 45%),
    linear-gradient(170deg, rgba(8, 20, 36, 0.96), rgba(6, 16, 30, 0.98));
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.site-footer::before {
  width: 460px;
  height: 460px;
  left: -210px;
  top: -160px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.14), transparent 70%);
}

.site-footer::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -190px;
  background: radial-gradient(circle, rgba(255, 143, 70, 0.12), transparent 72%);
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 2.6rem 0 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: 1.2rem;
  position: relative;
}

.footer-brand {
  padding-right: 0.5rem;
}

.footer-brand-top {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.footer-brand-mark {
  width: 200px;
  display: block;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: translateY(6px);
}

.footer-brand-top strong {
  display: block;
  color: #eef6ff;
  font-size: 1.02rem;
}

.footer-brand-top em {
  display: block;
  font-style: normal;
  color: var(--muted);
}

.footer-address {
  margin: 0.45rem 0 0;
  color: rgba(219, 232, 252, 0.84);
  line-height: 1.45;
}

.footer-email {
  margin-top: 0.6rem;
  display: inline-block;
  color: #8fe6ff;
  text-decoration: none;
  font-weight: 600;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-reg {
  margin-top: 0.8rem;
  color: rgba(191, 210, 246, 0.7);
}

.footer-col {
  padding-top: 0.1rem;
  display: grid;
  align-content: start;
  gap: 0.44rem;
}

.footer-col h4 {
  margin: 0 0 0.55rem;
  padding-bottom: 0.6rem;
  color: #f0f7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(188, 222, 255, 0.26);
}

.footer-col a {
  min-height: 30px;
  border-radius: 8px;
  padding: 0.26rem 0.2rem;
  color: rgba(218, 232, 251, 0.84);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-partners {
  align-content: start;
}

.partner-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(188, 222, 255, 0.28);
  background: rgba(13, 33, 74, 0.42);
  color: #e2efff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(114, 171, 245, 0.26);
  background: rgba(2, 7, 14, 0.92);
}

.footer-bottom-inner {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin: 0;
  color: rgba(204, 220, 246, 0.76);
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
}

.footer-socials a {
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  color: #dbebff;
  font-weight: 700;
  transition: transform 0.22s ease, filter 0.22s ease, background 0.22s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  filter: brightness(1.14);
  background: rgba(42, 92, 167, 0.72);
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.mobile-seq {
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .magnetic {
    will-change: transform;
  }
}

@media (max-width: 980px) {
  .site-header .container {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .brand-mark {
    width: 162px;
  }

  .header-shell {
    grid-template-columns: auto auto 1fr;
    gap: 0.35rem;
    position: relative;
    padding-right: 92px;
  }

  .menu-toggle {
    order: 0;
    grid-column: 1;
    justify-self: start;
  }

  .brand {
    order: 1;
    grid-column: 2;
    justify-self: start;
    margin-left: 2px;
  }

  .hero-utility-controls {
    position: fixed;
    right: 72px;
    top: 14px;
    transform: none;
    left: auto;
    direction: ltr;
    flex-direction: row;
    gap: 0.2rem;
    max-width: none;
    z-index: 120;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    order: 4;
    position: absolute;
    left: 4vw;
    top: calc(100% + 10px);
    width: min(280px, 86vw);
    padding: 0.6rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(8, 14, 25, 0.96);
    display: none;
    flex-direction: column;
    gap: 0.2rem;
  }

  .main-nav a {
    padding: 0.6rem 0.8rem;
    font-size: 0.92rem;
  }

  .main-nav.open {
    display: flex;
  }

  .service-layout,
  .impact-grid,
  .process-track,
  .contact-shell,
  .contact-row,
  .case-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 176vh;
  }

  .hero-slider,
  .hero-track {
    min-height: 176vh;
  }

  .hero-slide-overlay {
    width: min(90vw, 720px);
    padding-top: 4.8rem;
    padding-right: 0;
    /* 20px gap above cards + card stack + 20px gap above arrows */
    padding-bottom: 28rem;
  }

  .hero-utility-btn {
    width: 42px;
    height: 42px;
  }


  .hero-utility-icon {
    font-size: 1.18rem;
  }

  .hero-scene {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    right: auto;
    left: 50%;
    top: auto;
    /* Raised slightly to reduce excess spacing while keeping controls clear */
    bottom: 114px;
    width: min(92vw, 540px);
    height: auto;
    transform: translateX(-50%);
    z-index: 3;
  }

  .scene-card p {
    margin: 0;
    color: #3be5bd;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    font-weight: 700;
  }

  .scene-card h3 {
    font-size: clamp(1rem, 2.9vw, 1.38rem);
  }

  .scene-card span {
    font-size: 0.82rem;
  }

  .card-1 {
    left: auto;
    top: auto;
    width: min(86vw, 500px);
    justify-self: start;
  }

  .card-2 {
    right: auto;
    top: auto;
    width: min(89vw, 520px);
    justify-self: center;
  }

  .card-3 {
    left: auto;
    top: auto;
    width: min(90vw, 530px);
    justify-self: end;
  }

  .hero-slide-overlay .hero-title {
    max-width: 13ch;
    font-size: clamp(2.05rem, 7vw, 3.65rem);
  }

  .hero-slide-overlay p {
    max-width: 34ch;
    font-size: 1.02rem;
  }

  .hero-controls {
    right: 1.1rem;
    bottom: 0;
  }

  .hero-arrow {
    width: 48px;
    height: 48px;
  }

  .hero-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.4rem;
  }

  .hero-neon-border {
    left: 8px;
    right: 8px;
    bottom: -16px;
    height: 16px;
  }

  .portfolio-shell {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .section-head,
  .contact-head {
    margin-bottom: 2rem;
  }

  .section-head h2,
  .contact-head h2 {
    margin-top: 0.7rem;
  }

  .service-layout,
  .process-track,
  .contact-shell {
    gap: 1.25rem;
  }

  .service-pills,
  .service-cards,
  .contact-side {
    gap: 0.9rem;
  }

  .process-track {
    margin-top: 1rem;
  }

  .contact-shell {
    margin-top: 1.5rem;
  }

  .process-node,
  .service-panel,
  .contact-form,
  .contact-info-card,
  .contact-map-wrap,
  .case-card {
    margin: 0;
  }


  .service-panel,
  .process-node,
  .portfolio-shell,
  .contact-form,
  .contact-info-card,
  .contact-map-wrap,
  .service-card-icon,
  .process-node-icon,
  .case-icon,
  .ci-icon,
  .hero-neon-border {
    /* animation: none; */
  }

  .service-pill {
    /* animation: none; */
  }

  .service-pill.reveal-up {
    opacity: 0;
    transform: translateY(24px);
  }

  .service-pill.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .case-media {
    border-radius: 22px 22px 0 0;
  }

  .carousel-btn {
    width: 100%;
    min-height: 46px;
  }

  .case-info {
    padding: 1rem;
  }

  .case-info #caseTag {
    letter-spacing: 0.1em;
    font-size: 0.68rem;
  }

  .case-info h3 {
    margin-top: 0.5rem;
    font-size: clamp(1.18rem, 5.6vw, 1.55rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .case-info p:last-child {
    margin-top: 0.52rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .contact-map-wrap iframe {
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 142px;
  }

  .site-header .container {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .header-shell {
    grid-template-columns: auto auto 1fr;
    position: relative;
    gap: 0.22rem;
    padding-right: 86px;
  }

  .brand {
    grid-column: 2;
    justify-self: start;
    margin-left: 2px;
  }

  .menu-toggle {
    grid-column: 1;
    justify-self: start;
    margin-left: -2px;
  }

  .hero-utility-controls {
    position: fixed;
    right: 72px;
    top: 14px;
    transform: none;
    left: auto;
    direction: ltr;
    flex-direction: row;
    gap: 0.2rem;
    z-index: 120;
  }

  .site-header {
    background: rgba(7, 13, 24, 0.82);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }

  .header-shell {
    min-height: 70px;
  }

  .brand-text strong {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .brand-text span {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .section {
    padding: 4.8rem 0;
  }

  .hero,
  .hero-slider,
  .hero-track {
    min-height: 82vh;
  }

  .hero-slide-overlay {
    padding-top: 2.2rem;
    padding-bottom: 3.2rem;
  }

  .hero-utility-btn {
    width: 40px;
    height: 40px;
  }

  .hero-utility-icon {
    font-size: 1.08rem;
  }

  .hero-slide-overlay .hero-title {
    font-size: clamp(1.86rem, 10vw, 2.55rem);
    max-width: 12ch;
  }

  .hero-slide-overlay p {
    margin-top: 1rem;
    max-width: 27ch;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-slide-cta {
    margin-top: 1.3rem;
    padding: 0.78rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-scene {
    position: static;
    margin-top: 1.2rem;
    width: 100%;
    gap: 0.65rem;
    bottom: auto;
    right: auto;
    left: auto;
    transform: none;
    height: auto;
    pointer-events: auto;
  }

  .section {
    padding: 4.4rem 0;
  }

  .section-head,
  .contact-head {
    margin-bottom: 1.6rem;
  }

  .service-layout,
  .process-track,
  .contact-shell,
  .footer-grid {
    gap: 1rem;
  }

  .service-pills,
  .service-cards,
  .contact-side {
    gap: 0.8rem;
  }

  .portfolio-shell {
    margin-top: 0.9rem;
  }

  .scene-card {
    width: 100%;
    padding: 0.52rem 0.66rem;
  }

  .card-1,
  .card-2,
  .card-3 {
    width: 100%;
    justify-self: stretch;
  }

  .scene-card p {
    font-size: 0.64rem;
  }

  .scene-card h3 {
    font-size: clamp(0.92rem, 5vw, 1.15rem);
  }

  .scene-card span {
    margin-top: 0.26rem;
    font-size: 0.74rem;
  }

  .hero-controls {
    display: flex;
    right: 0.75rem;
    bottom: 2.8rem;
    gap: 0.5rem;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .hero-dots {
    gap: 0.42rem;
    bottom: 3.7rem;
  }

  .hero-neon-border {
    left: 10px;
    right: 10px;
    bottom: -18px;
    height: 18px;
    border-radius: 999px;
    animation: neonFramePulse 2.8s ease-in-out infinite;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .footer-col {
    padding-top: 0;
  }

  .footer-bottom-inner {
    min-height: 0;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-dot {
    width: 32px;
  }

  .cursor-aura {
    width: 220px;
    height: 220px;
    opacity: 0.45;
  }

  .case-card {
    min-height: 0;
  }

  .case-media {
    min-height: 180px;
  }

  .case-card img {
    min-height: 180px;
  }
}

body.light-theme {
  --bg: #edf4ff;
  --line: rgba(88, 118, 164, 0.22);
  --text: #10233f;
  --muted: #57708e;
  --primary: #0a84ff;
  --primary-2: #00a989;
  --warm: #ff8f46;
  --shadow: 0 24px 80px rgba(42, 70, 111, 0.15);
  background:
    radial-gradient(circle at 12% -5%, rgba(122, 182, 255, 0.38) 0%, transparent 34%),
    radial-gradient(circle at 85% 8%, rgba(89, 149, 255, 0.24) 0%, transparent 40%),
    linear-gradient(165deg, #f7fbff 0%, #eef4ff 46%, #e7f0fb 100%);
}

body.light-theme .noise-layer {
  opacity: 0.035;
}

body.light-theme .cursor-aura {
  background: radial-gradient(circle, rgba(10, 132, 255, 0.18), rgba(0, 169, 137, 0.05) 55%, transparent 75%);
}

body.light-theme .site-header.is-scrolled,
body.light-theme .main-nav.open,
body.light-theme .scene-card,
body.light-theme .service-panel,
body.light-theme .service-card,
body.light-theme .process-node,
body.light-theme .case-card,
body.light-theme .contact-form,
body.light-theme .contact-info-card,
body.light-theme .contact-map-wrap {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(88, 118, 164, 0.18);
  box-shadow: 0 18px 44px rgba(50, 82, 129, 0.12);
}

body.light-theme .site-header {
  background: rgba(244, 249, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(88, 118, 164, 0.16);
}

body.light-theme .brand-text span,
body.light-theme .main-nav a {
  color: rgba(18, 43, 78, 0.94);
}

body.light-theme .main-nav a {
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.light-theme .main-nav {
  background: transparent;
}

body.light-theme .main-nav a {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid transparent;
}

body.light-theme .main-nav a:hover,
body.light-theme .main-nav a.is-active,
body.light-theme .btn-outline:hover,
body.light-theme .service-pill.active,
body.light-theme .carousel-btn:hover,
body.light-theme .hero-arrow:hover {
  background: rgba(10, 132, 255, 0.18);
}

body.light-theme .main-nav a:hover,
body.light-theme .main-nav a.is-active {
  color: #12335d;
  border-color: rgba(104, 149, 214, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.light-theme .main-nav a.is-active {
  background: rgba(116, 181, 255, 0.28);
}

body.light-theme .hero-video {
  filter: hue-rotate(160deg) saturate(1.1) brightness(0.44) contrast(1.08);
}

body.light-theme .hero-video-layer::after {
  background:
    linear-gradient(98deg, rgba(10, 24, 46, 0.82) 0%, rgba(10, 24, 46, 0.56) 42%, rgba(11, 28, 54, 0.74) 100%),
    radial-gradient(circle at 16% 24%, rgba(113, 194, 255, 0.14), transparent 40%),
    radial-gradient(circle at 84% 18%, rgba(120, 169, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(245, 250, 255, 0.08), rgba(245, 250, 255, 0));
}

body.light-theme .hero-slide-overlay .hero-title {
  color: #f8fbff;
  text-shadow: 0 14px 36px rgba(2, 10, 24, 0.32);
}

body.light-theme .hero-slide-overlay p {
  color: rgba(232, 240, 250, 0.9);
  text-shadow: 0 10px 28px rgba(2, 10, 24, 0.24);
}

body.light-theme .hero-slide-cta {
  color: #f3f8ff;
  border-color: rgba(233, 242, 252, 0.42);
  background: rgba(8, 22, 42, 0.38);
  box-shadow: 0 16px 30px rgba(7, 19, 38, 0.14);
}

body.light-theme .scene-card {
  border-color: rgba(140, 184, 244, 0.18);
  background: linear-gradient(128deg, rgba(18, 41, 80, 0.88), rgba(8, 23, 45, 0.92));
  box-shadow: 0 22px 58px rgba(8, 18, 36, 0.28);
}

body.light-theme .scene-card p {
  color: #39e7c0;
}

body.light-theme .scene-card h3 {
  color: #f2f7ff;
}

body.light-theme .scene-card span {
  color: rgba(219, 231, 247, 0.86);
}

body.light-theme .hero-arrow {
  border-color: rgba(232, 241, 248, 0.26);
  background: rgba(8, 22, 42, 0.46);
  color: #f4f8ff;
}

body.light-theme .service-card-icon svg {
  color: #1e5a96;
  stroke: #1e5a96;
  filter: drop-shadow(0 2px 4px rgba(30, 90, 150, 0.12));
}

body.light-theme .service-card:hover .service-card-icon svg {
  filter: drop-shadow(0 0 12px rgba(10, 132, 255, 0.4));
}

body.light-theme .process-node-icon {
  color: #1e5a96;
}

body.light-theme .process-node span {
  background: rgba(10, 132, 255, 0.12);
  color: #1e5a96;
}

body.light-theme .case-icon {
  color: #1e5a96;
}

body.light-theme .site-footer {
  border-top-color: rgba(126, 177, 255, 0.22);
  background:
    radial-gradient(circle at 12% 20%, rgba(12, 84, 160, 0.18), transparent 40%),
    radial-gradient(circle at 86% 18%, rgba(0, 194, 255, 0.2), transparent 42%),
    radial-gradient(circle at 70% 78%, rgba(255, 143, 70, 0.12), transparent 45%),
    linear-gradient(170deg, rgba(8, 20, 36, 0.96), rgba(6, 16, 30, 0.98));
}

body.light-theme .footer-col a {
  color: rgba(218, 232, 251, 0.84);
}

body.light-theme .footer-col a:hover {
  color: #ffffff;
}

body.light-theme .partner-pill {
  border-color: rgba(188, 222, 255, 0.28);
  background: rgba(13, 33, 74, 0.42);
  color: #e2efff;
}

body.light-theme .footer-socials a {
  border: none;
  background: none;
  color: #dbebff;
}

body.light-theme .footer-main,
body.light-theme .footer-bottom {
  background: transparent;
  box-shadow: none;
}

body.light-theme .footer-address,
body.light-theme .footer-reg,
body.light-theme .footer-bottom-inner p,
body.light-theme .footer-brand-top em {
  color: rgba(204, 220, 246, 0.76);
}

body.light-theme .footer-brand-top strong,
body.light-theme .footer-col h4 {
  color: #f0f7ff;
}

body.light-theme .contact-form,
body.light-theme .contact-info-card,
body.light-theme .contact-map-wrap {
  border-width: 1px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(101, 140, 196, 0.26);
  box-shadow: 0 14px 30px rgba(52, 84, 130, 0.11);
  /* animation: none; */
}

body.light-theme .contact-form::before {
  opacity: 0;
}

body.light-theme .contact-form h3,
body.light-theme .ci-row strong,
body.light-theme .contact-head h2,
body.light-theme .contact-head .eyebrow {
  color: #14365f;
}

body.light-theme .contact-head p,
body.light-theme .ci-row p,
body.light-theme .contact-form label,
body.light-theme .ci-muted {
  color: #4f6785;
}

body.light-theme .ci-icon {
  background: rgba(10, 132, 255, 0.12);
  color: #0c6fab;
  /* animation: none; */
}

body.light-theme .ci-row:hover {
  background: rgba(10, 132, 255, 0.06);
}

body.light-theme .ci-row a,
body.light-theme .footer-email {
  color: #0d6fb2;
}

body.light-theme .hero-dot {
  background: rgba(231, 239, 246, 0.34);
}

body.light-theme .hero-dot.active {
  background: rgba(247, 250, 255, 0.92);
}

body.light-theme .hero-slide-overlay,
body.light-theme .case-info,
body.light-theme .ci-row div,
body.light-theme .footer-col,
body.light-theme .footer-brand,
body.light-theme .contact-head {
  color: var(--text);
}

body.light-theme input,
body.light-theme select,
body.light-theme textarea {
  background: rgba(239, 245, 255, 0.9);
  color: var(--text);
  border-color: rgba(88, 118, 164, 0.18);
}

body.light-theme .hero-utility-btn {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 245, 255, 0.82)),
    linear-gradient(90deg, rgba(255, 144, 79, 0.12), rgba(81, 229, 255, 0.12));
  border-color: rgba(88, 118, 164, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 28px rgba(56, 87, 132, 0.16);
}

body.light-theme .hero-utility-icon {
  color: #183458;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .hero-slide-overlay,
html[dir="rtl"] .section-head,
html[dir="rtl"] .contact-head,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .case-info,
html[dir="rtl"] .footer-col,
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .contact-info-card,
html[dir="rtl"] .service-panel-head {
  text-align: right;
}

html[dir="rtl"] .contact-row,
html[dir="rtl"] .footer-bottom-inner,
html[dir="rtl"] .ci-row {
  direction: rtl;
}

html[dir="rtl"] .header-shell {
  direction: ltr;
}

html[dir="rtl"] .hero-utility-controls {
  justify-self: start;
}

html[dir="rtl"] .main-nav {
  direction: rtl;
}

@media (min-width: 981px) {
  html[dir="rtl"] .hero-scene {
    right: min(1vw, 14px);
  }
}

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