:root {
  --walia-navy: #1a1f4e;
  --walia-navy-deep: #0b0f1f;
  --walia-surface: #141a32;
  --walia-cyan: #00c8ff;
  --walia-cyan-soft: rgba(0, 200, 255, 0.18);
  --walia-silver: #9aa8c4;
  --walia-text: #e8ecf4;
  --walia-light: #f2f5fa;
  --walia-dark-text: #1a2038;
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: min(1180px, calc(100% - var(--page-gutter) * 2));
  --header-h: 76px;
  --nav-item-h: 40px;
  --hero-gutter: clamp(2rem, 6vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--walia-dark-text);
  background: var(--walia-light);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* First-visit loader */
html.walia-skip-loader .walia-loader {
  display: none;
}

body.walia-loading {
  overflow: hidden;
}

.walia-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 200, 255, 0.12), transparent 45%),
    linear-gradient(180deg, var(--walia-navy-deep) 0%, #0f1530 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.walia-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.walia-loader__sky {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 18%, rgba(0, 200, 255, 0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 72%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 68%, rgba(255, 255, 255, 0.5) 50%, transparent 51%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

.walia-loader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.walia-loader__rocket {
  width: min(28vw, 120px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.45));
  animation: walia-loader-launch 1.6s ease-in-out infinite;
}

.walia-loader__label {
  margin: 0;
  font-family: Rajdhani, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--walia-cyan);
}

.walia-loader__track {
  width: min(240px, 60vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.walia-loader__bar {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--walia-cyan), #009fd4);
  animation: walia-loader-progress 1.2s ease-in-out infinite;
}

@keyframes walia-loader-launch {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes walia-loader-progress {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

/* Header — light bar for dark logo */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  --header-offset: var(--header-h);
  overflow: visible;
  transition: height 0.35s ease, transform 0.35s ease, top 0.2s ease;
}

/*
 * Logged-in WP admin bar.
 * Desktop: sit below fixed admin bar (32px / 46px).
 * ≤600px: WP uses position:absolute (scrolls away) — default offset 0;
 * JS (main.js) only bumps --walia-admin-bar-h while the bar covers the top.
 * Cap is enforced in JS so a bad measurement can’t shove the header down the page.
 */
body.admin-bar {
  --walia-admin-bar-h: var(--wp-admin--admin-bar--height, 32px);
}

body.admin-bar .site-header {
  top: var(--walia-admin-bar-h);
  right: 0;
  left: 0;
  bottom: auto;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --walia-admin-bar-h: var(--wp-admin--admin-bar--height, 46px);
  }
}

/* Mobile: admin bar is absolute and scrolls off — don’t permanently offset header */
@media screen and (max-width: 600px) {
  body.admin-bar {
    --walia-admin-bar-h: 0px;
  }
}

/*
 * Admin-bar offsets for the fixed mobile drawer only.
 * Never apply height/top to .nav-links on desktop — that was blowing the
 * horizontal menu to 100dvh when logged in.
 */
@media (max-width: 900px) {
  body.admin-bar .nav-backdrop {
    top: calc(var(--walia-admin-bar-h) + var(--header-offset, var(--header-h)));
  }

  body.admin-bar .nav-links {
    top: calc(var(--walia-admin-bar-h) + var(--header-offset, var(--header-h)));
    height: calc(100dvh - var(--walia-admin-bar-h) - var(--header-offset, var(--header-h)));
    min-height: calc(100dvh - var(--walia-admin-bar-h) - var(--header-offset, var(--header-h)));
  }
}

@media (min-width: 901px) {
  body.admin-bar .nav-links {
    top: auto;
    height: auto;
    min-height: var(--nav-item-h, 40px);
  }
}

.site-header.is-scrolled {
  height: calc(var(--header-h) - 6px);
  --header-offset: calc(var(--header-h) - 6px);
}

/* Homepage — header overlays dark AI hero until scroll */
.site-header--over-hero:not(.is-scrolled) .nav {
  background: rgba(11, 15, 31, 0.55);
  border-bottom-color: rgba(0, 200, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.site-header--over-hero:not(.is-scrolled) .nav-menu > li > a,
.site-header--over-hero:not(.is-scrolled) .nav-menu-trigger {
  color: rgba(232, 236, 244, 0.94);
}

.site-header--over-hero:not(.is-scrolled) .nav-menu > li > a:hover,
.site-header--over-hero:not(.is-scrolled) .nav-menu > li > a:focus-visible,
.site-header--over-hero:not(.is-scrolled) .nav-menu-trigger:hover,
.site-header--over-hero:not(.is-scrolled) .nav-menu-trigger:focus-visible {
  color: var(--walia-cyan);
}

.site-header--over-hero:not(.is-scrolled) .nav-menu > li > a::before {
  background: rgba(0, 200, 255, 0.12);
}

/* Dropdowns stay light panel + dark text on glass header */
.site-header--over-hero:not(.is-scrolled) .nav-submenu a {
  color: var(--walia-navy);
}

.site-header--over-hero:not(.is-scrolled) .nav-submenu a:hover,
.site-header--over-hero:not(.is-scrolled) .nav-submenu a:focus-visible {
  color: #007aa3;
}

.site-header--over-hero:not(.is-scrolled) .nav-toggle span {
  background: rgba(232, 236, 244, 0.94);
}

/* Default: invert single (light) logo on dark hero glass header */
.site-header--over-hero:not(.is-scrolled):not(.has-logo-dark) .nav-logo img {
  filter: brightness(0) invert(1);
}

.site-header--over-hero.is-scrolled .nav-logo img,
.site-header.has-logo-dark .nav-logo img {
  filter: none;
}

/* Custom dark logo — swap assets instead of CSS invert */
.nav-logo img.nav-logo__img--dark {
  display: none;
}

.site-header.has-logo-dark.site-header--over-hero:not(.is-scrolled) .nav-logo img.nav-logo__img--light {
  display: none;
}

.site-header.has-logo-dark.site-header--over-hero:not(.is-scrolled) .nav-logo img.nav-logo__img--dark {
  display: block;
}

/* Keep both marks in the same slot on the hero (no side-by-side ghost) */
.nav-logo--dual {
  position: relative;
  min-width: min(44vw, 230px);
  min-height: 46px;
}

.nav-logo--dual img.nav-logo__img--dark {
  position: absolute;
  left: 0;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  transform-origin: center left;
}

.site-header.has-logo-dark.site-header--over-hero:not(.is-scrolled) .nav-logo--dual:hover img.nav-logo__img--dark,
.site-header.has-logo-dark.site-header--over-hero:not(.is-scrolled) .nav-logo--dual:focus-visible img.nav-logo__img--dark {
  transform: translateY(-50%) scale(1.06);
}

.site-header.has-logo-dark.site-header--over-hero:not(.is-scrolled) .nav-logo--dual:active img.nav-logo__img--dark {
  transform: translateY(-50%) scale(0.94);
}

.site-header.is-scrolled .nav-logo img {
  height: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 10px;
  outline: none;
}

.nav-logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(44vw, 230px);
  max-height: 46px;
  object-fit: contain;
  transform-origin: center left;
  filter: none;
  transition:
    height 0.35s ease,
    transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
    filter 0.35s ease;
}

@media (max-width: 900px) {
  .nav-logo {
    max-width: calc(100% - 7rem);
    min-width: 0;
  }

  .nav-logo img {
    height: 36px;
    max-height: 36px;
    max-width: min(52vw, 180px);
  }

  .nav-logo--dual {
    min-width: min(52vw, 180px);
    min-height: 36px;
  }
}

.nav-logo:hover img,
.nav-logo:focus-visible img {
  transform: scale(1.06) translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(0, 200, 255, 0.5));
}

.nav-logo:active img {
  transform: scale(0.94);
  transition-duration: 0.12s;
}

.nav-logo.is-pulse img {
  animation: navLogoPulse 0.62s cubic-bezier(0.34, 1.45, 0.64, 1);
}

@keyframes navLogoPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  35% {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.65));
  }
  65% {
    transform: scale(0.97);
    filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.35));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo:hover img,
  .nav-logo:focus-visible img,
  .nav-logo:active img,
  .nav-logo.is-pulse img {
    animation: none;
    transform: none;
    filter: none;
  }
}

.nav {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dde4ef;
  box-shadow: 0 4px 24px rgba(26, 31, 78, 0.06);
  backdrop-filter: blur(10px);
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.site-header.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.99);
  border-bottom-color: rgba(0, 200, 255, 0.22);
  box-shadow: 0 10px 32px rgba(26, 31, 78, 0.12);
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--nav-scroll-progress, 0%);
  background: linear-gradient(90deg, var(--walia-cyan), #009fd4);
  transition: width 0.12s linear;
  pointer-events: none;
}

.site-header.is-scrolled .nav::after {
  opacity: 0.85;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: var(--header-h);
}

@media (min-width: 901px) {
  .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
  }

  .nav-logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav-links {
    grid-column: 2;
    justify-self: center;
    flex: unset;
  }

  .nav-cta {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: var(--nav-item-h, 40px);
}

.nav-links__footer {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--nav-item-h, 40px);
  padding: 0 0.65rem;
  border: 0;
  background: transparent;
  color: var(--walia-navy);
  font-family: Rajdhani, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

.nav-menu-trigger::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}

.nav-item-has-children.is-open > .nav-menu-trigger::after,
.nav-item-has-children:hover > .nav-menu-trigger::after {
  transform: rotate(-135deg) translateY(1px);
}

.nav-menu-trigger:hover,
.nav-menu-trigger:focus-visible {
  color: #007aa3;
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.25);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 1200;
  min-width: 210px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dde4ef;
  box-shadow: 0 16px 40px rgba(26, 31, 78, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

@media (min-width: 901px) {
  .nav-item-has-children:hover > .nav-submenu,
  .nav-item-has-children.is-open > .nav-submenu,
  .nav-item-has-children:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-submenu a {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--walia-navy);
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-submenu a::before,
.nav-submenu a::after {
  display: none;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(0, 200, 255, 0.1);
  color: #007aa3;
  transform: none;
  text-shadow: none;
}

.nav-submenu a[aria-current="page"] {
  background: rgba(0, 200, 255, 0.12);
  color: #007aa3;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--nav-item-h, 40px);
  padding: 0 0.65rem;
  color: var(--walia-navy);
  text-decoration: none;
  font-family: Rajdhani, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    text-shadow 0.25s ease;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: rgba(0, 200, 255, 0.08);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: -1;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--walia-cyan), #009fd4);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #007aa3;
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.25);
}

.nav-menu a:hover::before,
.nav-menu a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after {
  transform: scaleX(1);
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: #007aa3;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  min-height: var(--nav-item-h, 40px);
  padding: 0 1rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--walia-navy);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
}

body.nav-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #009fd4, var(--walia-cyan));
  color: var(--walia-navy-deep);
  box-shadow: 0 0 24px var(--walia-cyan-soft);
}

.btn-outline {
  background: transparent;
  color: var(--walia-text);
  border-color: rgba(0, 200, 255, 0.45);
}

.btn-sm {
  min-height: 38px;
  padding-inline: 1rem;
  font-size: 0.85rem;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Hero slider */
.walia-hero {
  --hero-autoplay: 8s;
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #1b2558 0%, var(--walia-navy-deep) 45%, #060912 100%);
  color: var(--walia-text);
}

.walia-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.walia-hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

.walia-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.walia-hero-glow--1 {
  width: 420px;
  height: 420px;
  top: 10%;
  left: -8%;
  background: #0066ff;
}

.walia-hero-glow--2 {
  width: 360px;
  height: 360px;
  right: -6%;
  bottom: 8%;
  background: var(--walia-cyan);
}

.walia-hero-slides {
  position: relative;
  min-height: calc(100svh - var(--header-h));
}

.walia-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.walia-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Per-slide enter animations */
.walia-hero-slide.is-active.walia-hero-slide--anim-zoom-fade .walia-hero-slide-bg-image,
.walia-hero-slide.is-active.walia-hero-slide--anim-zoom-fade .walia-hero-visual-mask img {
  animation: walia-hero-zoom-fade 7s ease-out both;
}

.walia-hero-slide.is-active.walia-hero-slide--anim-slide-right .walia-hero-visual,
.walia-hero-slide.is-active.walia-hero-slide--anim-slide-right .walia-hero-content-panel {
  animation: walia-hero-slide-in-right 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.walia-hero-slide.is-active.walia-hero-slide--anim-slide-left .walia-hero-visual,
.walia-hero-slide.is-active.walia-hero-slide--anim-slide-left .walia-hero-content-panel {
  animation: walia-hero-slide-in-left 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.walia-hero-slide.is-active.walia-hero-slide--anim-pan-up .walia-hero-slide-bg-image {
  animation: walia-hero-pan-up 8s ease-out both;
}

.walia-hero-slide.is-active.walia-hero-slide--anim-pan-up .walia-hero-content-panel {
  animation: walia-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes walia-hero-zoom-fade {
  from { transform: scale(1.08); opacity: 0.65; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes walia-hero-slide-in-right {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes walia-hero-slide-in-left {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes walia-hero-pan-up {
  from { transform: scale(1.12) translateY(4%); }
  to { transform: scale(1) translateY(0); }
}

@keyframes walia-hero-rise {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .walia-hero-slide.is-active.walia-hero-slide--anim-zoom-fade .walia-hero-slide-bg-image,
  .walia-hero-slide.is-active.walia-hero-slide--anim-zoom-fade .walia-hero-visual-mask img,
  .walia-hero-slide.is-active.walia-hero-slide--anim-slide-right .walia-hero-visual,
  .walia-hero-slide.is-active.walia-hero-slide--anim-slide-right .walia-hero-content-panel,
  .walia-hero-slide.is-active.walia-hero-slide--anim-slide-left .walia-hero-visual,
  .walia-hero-slide.is-active.walia-hero-slide--anim-slide-left .walia-hero-content-panel,
  .walia-hero-slide.is-active.walia-hero-slide--anim-pan-up .walia-hero-slide-bg-image,
  .walia-hero-slide.is-active.walia-hero-slide--anim-pan-up .walia-hero-content-panel,
  .walia-hero-slide.is-active .walia-hero-visual-mask::after,
  .walia-hero-slide.is-active .walia-hero-visual-mask img,
  .walia-hero-slide.is-active .walia-hero-visual-stripes span {
    animation: none;
  }

  .walia-hero-visual-mask::after {
    display: none;
  }
}

.walia-hero-slide-inner {
  position: relative;
  width: min(1240px, calc(100% - var(--hero-gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--hero-gutter);
  padding-block: 3rem 6.5rem;
}

.walia-hero-slide-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  min-height: min(68vh, 640px);
}

.walia-hero-content {
  max-width: 540px;
}

.walia-hero-content-panel {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  background: rgba(8, 12, 26, 0.62);
  border: 1px solid rgba(0, 200, 255, 0.22);
  border-radius: 4px 16px 16px 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.walia-hero-content-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--walia-cyan), transparent);
}

.walia-hero-slide--content-right .walia-hero-content-panel {
  border-radius: 16px 4px 4px 16px;
  text-align: right;
}

.walia-hero-slide--content-right .walia-hero-content-panel::before {
  left: auto;
  right: 0;
}

.walia-hero-slide--content-right .walia-hero-actions {
  justify-content: flex-end;
}

.walia-hero-slide--visual-left .walia-hero-visual {
  grid-column: 1;
  grid-row: 1;
}

.walia-hero-slide--visual-left .walia-hero-content {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

.walia-hero-slide--visual-right .walia-hero-visual {
  grid-column: 2;
  grid-row: 1;
}

.walia-hero-slide--visual-right .walia-hero-content {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.walia-hero-slide--visual-right.walia-hero-slide--content-right .walia-hero-content {
  justify-self: end;
}

.walia-hero-eyebrow {
  margin: 0 0 1rem;
  font-family: Rajdhani, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--walia-cyan);
  font-size: 0.85rem;
}

.walia-hero-title {
  margin: 0 0 1rem;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
}

.walia-hero-title-line {
  display: block;
}

.walia-hero-title-line--accent {
  color: var(--walia-cyan);
}

.walia-hero-desc {
  margin: 0 0 1.5rem;
  color: var(--walia-silver);
  font-size: 1.05rem;
  max-width: 52ch;
}

.walia-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.walia-hero-visual {
  --walia-slash: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  position: relative;
  width: 100%;
  max-width: 540px;
  justify-self: center;
}

.walia-hero-slide--visual-right .walia-hero-visual {
  justify-self: end;
}

.walia-hero-slide--visual-left .walia-hero-visual {
  justify-self: start;
}

.walia-hero-visual-shell {
  position: relative;
  padding: 18px 10px;
}

/* Ghost outline — same diagonal as the Walia mark */
.walia-hero-visual-ring {
  position: absolute;
  inset: 6px 2px;
  pointer-events: none;
  clip-path: var(--walia-slash);
  border: 0;
  background:
    linear-gradient(115deg, rgba(0, 200, 255, 0.55), transparent 32%, transparent 68%, rgba(0, 200, 255, 0.25));
  opacity: 0.55;
  transform: translate(10px, 8px);
}

.walia-hero-visual-ring::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: #0b1024;
  clip-path: inherit;
}

.walia-hero-visual--cut-1 { --walia-slash: polygon(0 0, 82% 0, 100% 100%, 18% 100%); }
.walia-hero-visual--cut-2 { --walia-slash: polygon(12% 0, 100% 0, 100% 82%, 0 100%); }
.walia-hero-visual--cut-3 { --walia-slash: polygon(0 14%, 100% 0, 88% 100%, 0 86%); }

.walia-hero-visual-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  clip-path: var(--walia-slash);
  padding: 2px;
  background: linear-gradient(115deg, rgba(0, 200, 255, 0.95), rgba(0, 200, 255, 0.18) 42%, rgba(0, 200, 255, 0.5));
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.5));
}

.walia-hero-visual-mask {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0b1024;
}

.walia-hero-visual-mask::after {
  content: "";
  position: absolute;
  inset: -30% -40%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 9, 18, 0.92) 18%,
    rgba(6, 9, 18, 0.92) 100%
  );
  transform: skewX(-32deg) translateX(-20%);
}

.walia-hero-visual-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
}

/* Three parallel bars — logo echo, behind the photo */
.walia-hero-visual-stripes {
  position: absolute;
  inset: -14% -22%;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-28deg);
}

.walia-hero-visual-stripes span {
  position: absolute;
  left: 8%;
  width: 12px;
  height: 140%;
  top: -20%;
  transform-origin: top center;
  background: linear-gradient(180deg, transparent, rgba(0, 200, 255, 0.7), transparent);
  box-shadow: 0 0 22px rgba(0, 200, 255, 0.3);
}

.walia-hero-visual-stripes span:nth-child(1) { left: 10%; opacity: 0.9; }
.walia-hero-visual-stripes span:nth-child(2) { left: 24%; width: 7px; opacity: 0.5; }
.walia-hero-visual-stripes span:nth-child(3) { left: 72%; width: 16px; opacity: 0.35; }

.walia-hero-visual--cut-1 .walia-hero-visual-stripes { transform: rotate(28deg); }
.walia-hero-visual--cut-1 .walia-hero-visual-mask::after { transform: skewX(32deg) translateX(-20%); }
.walia-hero-visual--cut-2 .walia-hero-visual-stripes { transform: rotate(-18deg); }
.walia-hero-visual--cut-3 .walia-hero-visual-stripes { transform: rotate(-38deg); }

.walia-hero-slide.is-active .walia-hero-visual-mask::after {
  animation: walia-hero-slash-wipe 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.walia-hero-slide.is-active.walia-hero-slide--anim-slide-left .walia-hero-visual-mask::after,
.walia-hero-slide.is-active .walia-hero-visual--cut-1 .walia-hero-visual-mask::after {
  animation-name: walia-hero-slash-wipe-rev;
}

.walia-hero-slide.is-active .walia-hero-visual-mask img {
  animation: walia-hero-slash-ken 8s ease-out both;
}

.walia-hero-slide.is-active .walia-hero-visual-stripes span {
  animation: walia-hero-stripe-draw 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.walia-hero-slide.is-active .walia-hero-visual-stripes span:nth-child(2) { animation-delay: 0.08s; }
.walia-hero-slide.is-active .walia-hero-visual-stripes span:nth-child(3) { animation-delay: 0.16s; }

.walia-hero-slide.is-active.walia-hero-slide--anim-zoom-fade .walia-hero-visual-mask img,
.walia-hero-slide.is-active.walia-hero-slide--anim-pan-up .walia-hero-visual-mask img {
  animation-name: walia-hero-slash-ken-zoom;
}

@keyframes walia-hero-slash-wipe {
  from { transform: skewX(-32deg) translateX(-25%); }
  to { transform: skewX(-32deg) translateX(130%); }
}

@keyframes walia-hero-slash-wipe-rev {
  from { transform: skewX(32deg) translateX(25%); }
  to { transform: skewX(32deg) translateX(-130%); }
}

@keyframes walia-hero-slash-ken {
  from { transform: scale(1.12) translate(-4%, 3%); }
  to { transform: scale(1.02) translate(0, 0); }
}

@keyframes walia-hero-slash-ken-zoom {
  from { transform: scale(1.18) translate(3%, -2%); }
  to { transform: scale(1.04) translate(0, 0); }
}

@keyframes walia-hero-stripe-draw {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Center image = framed full-bleed background */
.walia-hero-slide--visual-center .walia-hero-slide-grid {
  grid-template-columns: 1fr;
  min-height: min(72vh, 680px);
}

.walia-hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.walia-hero-slide-bg-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.walia-hero-slide-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.walia-hero-slide-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 15, 31, 0.94) 0%, rgba(11, 15, 31, 0.62) 36%, rgba(11, 15, 31, 0.42) 58%, rgba(11, 15, 31, 0.9) 100%),
    linear-gradient(180deg, rgba(11, 15, 31, 0.12), rgba(11, 15, 31, 0.7));
}

.walia-hero-slide-bg-bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 200, 255, 0.55);
  z-index: 1;
  pointer-events: none;
}

.walia-hero-slide-bg-bracket--tl {
  top: 8%;
  left: 5%;
  border-right: 0;
  border-bottom: 0;
}

.walia-hero-slide-bg-bracket--br {
  right: 5%;
  bottom: 14%;
  border-left: 0;
  border-top: 0;
}

.walia-hero-slide--visual-center .walia-hero-content {
  grid-column: 1;
  max-width: min(560px, 92%);
  z-index: 2;
}

.walia-hero-slide--visual-center.walia-hero-slide--content-right .walia-hero-content {
  justify-self: end;
}

.walia-hero-slide--visual-center.walia-hero-slide--content-left .walia-hero-content {
  justify-self: start;
}

.walia-hero-slide--visual-center.walia-hero-slide--content-right .walia-hero-content-panel {
  text-align: right;
}

.walia-hero-slide--visual-center.walia-hero-slide--content-right .walia-hero-actions {
  justify-content: flex-end;
}

/* Controls — progress rail (one label + segment bars) */
.walia-hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  padding: 0;
  max-width: min(560px, calc(100% - var(--hero-gutter) * 2));
  width: min(560px, calc(100% - var(--hero-gutter) * 2));
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.walia-hero-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(11, 16, 36, 0.45);
  color: #e8ecf4;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.walia-hero-btn:hover {
  border-color: rgba(0, 200, 255, 0.55);
  color: var(--walia-cyan);
  background: rgba(0, 200, 255, 0.1);
}

.walia-hero-rail {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.55rem;
}

.walia-hero-rail__label {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0;
  padding: 0 0.15rem;
  color: #fff;
  font-family: Rajdhani, sans-serif;
  line-height: 1.1;
}

.walia-hero-rail__index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--walia-cyan);
}

.walia-hero-rail__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.walia-hero-dots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.4rem;
  max-width: none;
  overflow: visible;
}

.walia-hero-dot {
  position: relative;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  color: inherit;
  box-shadow: none;
  white-space: normal;
}

.walia-hero-dot__track {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.walia-hero-dot__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #00c8ff, #7dd3fc);
  border-radius: inherit;
}

.walia-hero-dot.is-active .walia-hero-dot__track {
  background: rgba(0, 200, 255, 0.22);
}

.walia-hero-dot.is-active .walia-hero-dot__fill {
  animation: walia-hero-progress var(--hero-autoplay) linear forwards;
}

.walia-hero-dot.is-complete .walia-hero-dot__fill {
  animation: none;
  transform: scaleX(1);
}

.walia-hero-controls.is-paused .walia-hero-dot.is-active .walia-hero-dot__fill {
  animation-play-state: paused;
}

@keyframes walia-hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .walia-hero-dot.is-active .walia-hero-dot__fill {
    animation: none;
    transform: scaleX(1);
  }
}

/* Sections + footer */
.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--walia-light);
}

.section-eyebrow {
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--walia-navy);
  font-weight: 700;
  font-size: 0.82rem;
}

.section-eyebrow--light {
  color: var(--walia-cyan);
}

.btn-lg {
  min-height: 50px;
  padding-inline: 1.5rem;
}

.btn-outline-dark {
  background: transparent;
  color: var(--walia-navy);
  border-color: rgba(26, 31, 78, 0.35);
}

/* Constellation / star-field backgrounds */
.walia-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.walia-constellation__starfield {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 8% 14%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 72%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 32% 38%, rgba(0, 200, 255, 0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 18%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 66%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 72% 28%, rgba(0, 200, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 78%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 42%, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 88%, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 92%, rgba(0, 200, 255, 0.4) 50%, transparent 51%);
  mask-image: radial-gradient(circle at 50% 45%, #000 35%, transparent 88%);
}

.walia-constellation__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.walia-constellation--dark .walia-constellation__mesh polyline {
  fill: none;
  stroke: rgba(0, 200, 255, 0.28);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.walia-constellation--dark .walia-constellation__mesh circle {
  fill: rgba(0, 200, 255, 0.85);
}

.walia-constellation--dark .walia-constellation__stars circle {
  fill: rgba(255, 255, 255, 0.55);
}

.walia-constellation--light .walia-constellation__starfield {
  opacity: 0.42;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(26, 31, 78, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, rgba(0, 122, 163, 0.3) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 44% 34%, rgba(26, 31, 78, 0.28) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 16%, rgba(0, 122, 163, 0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 58%, rgba(26, 31, 78, 0.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 82%, rgba(0, 122, 163, 0.28) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 88%, rgba(26, 31, 78, 0.2) 50%, transparent 51%);
}

.walia-constellation--light .walia-constellation__mesh polyline {
  fill: none;
  stroke: rgba(26, 31, 78, 0.16);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.walia-constellation--light .walia-constellation__mesh circle {
  fill: rgba(0, 122, 163, 0.55);
}

.walia-constellation--light .walia-constellation__stars circle {
  fill: rgba(26, 31, 78, 0.28);
}

.walia-constellation__mesh--a {
  opacity: 0.85;
}

.walia-constellation__mesh--b {
  opacity: 0.7;
}

.walia-constellation__mesh--c {
  opacity: 0.55;
}

.walia-constellation__stars circle:nth-child(3n) {
  animation: walia-star-twinkle 4.5s ease-in-out infinite;
}

.walia-constellation__stars circle:nth-child(3n + 1) {
  animation: walia-star-twinkle 6s ease-in-out infinite 1s;
}

.walia-constellation__stars circle:nth-child(3n + 2) {
  animation: walia-star-twinkle 5.2s ease-in-out infinite 2s;
}

@keyframes walia-star-twinkle {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }
}

/* Homepage — Rocket-style sections */
.walia-intro {
  position: relative;
  padding: 5rem 0 4rem;
  background:
    linear-gradient(180deg, var(--walia-navy-deep) 0%, #121833 100%);
  color: var(--walia-text);
  overflow: hidden;
}

.walia-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.walia-intro__rocket {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.28;
  pointer-events: none;
  z-index: 1;
}

.walia-intro__rocket .walia-accent-img--rocket {
  width: min(16vw, 96px);
}

.walia-accent-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.walia-accent-img--rocket {
  width: min(18vw, 110px);
  filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.3));
  animation: walia-rocket-float 6s ease-in-out infinite;
}

.walia-hero-accent {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.38;
}

.walia-hero-accent--rocket {
  top: calc(var(--header-h) + 0.75rem);
  left: clamp(0.75rem, 2vw, 1.5rem);
  width: 52px;
  animation: walia-rocket-float 7s ease-in-out infinite;
}

.walia-hero-accent--astro {
  top: calc(var(--header-h) + 1rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 68px;
  animation: walia-astronaut-drift 8s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.walia-cta__accent {
  position: absolute;
  left: 2%;
  bottom: -8%;
  width: min(22vw, 140px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 8px 32px rgba(0, 200, 255, 0.2));
}

@keyframes walia-rocket-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes walia-astronaut-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-18px) rotate(1deg);
  }
}

.walia-intro__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.walia-intro__copy h2 {
  margin: 0 0 1rem;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.walia-intro__copy p {
  color: var(--walia-silver);
  max-width: 58ch;
}

.walia-intro__meta {
  font-size: 0.9rem;
  color: var(--walia-cyan);
  letter-spacing: 0.04em;
}

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

.walia-stat-card {
  padding: 1.25rem 1rem;
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 6px;
  background: rgba(20, 26, 50, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.walia-stat-card__value {
  display: block;
  font-family: Rajdhani, sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--walia-cyan);
}

.walia-stat-card__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--walia-silver);
}

.walia-section {
  padding: 4.5rem 0;
}

.walia-section--light.walia-products,
.walia-section--light.walia-news {
  position: relative;
  overflow: hidden;
}

.walia-section--light.walia-products .container,
.walia-section--light.walia-news .container {
  position: relative;
  z-index: 1;
}

.walia-section--dark.walia-clients {
  position: relative;
  overflow: hidden;
}

.walia-section--dark.walia-clients .container {
  position: relative;
  z-index: 1;
}

.walia-section--dark {
  background: var(--walia-navy-deep);
  color: var(--walia-text);
}

.walia-section--light {
  background: var(--walia-light);
  color: var(--walia-dark-text);
}

.walia-section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.walia-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.walia-section-head h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.walia-section-head p {
  margin: 0;
  color: var(--walia-silver);
}

.walia-section--light .walia-section-head p {
  color: #5a6478;
}

.walia-card-grid {
  display: grid;
  gap: 1.25rem;
}

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

.walia-card-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.walia-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.35rem;
}

.walia-page-products {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2rem);
}

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

.walia-page-intro {
  max-width: 680px;
  margin-inline: auto;
  color: #5a6478;
}

.walia-page-intro p {
  margin: 0;
}

.walia-page,
.walia-page-article,
.walia-page-news {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.walia-page .container,
.walia-page-article .container,
.walia-page-news .container {
  position: relative;
  z-index: 1;
}

.walia-page-body {
  max-width: 760px;
  margin-inline: auto;
}

.walia-article {
  max-width: 820px;
  margin-inline: auto;
}

.walia-article__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--walia-navy);
  text-decoration: none;
  font-weight: 600;
}

.walia-article__back:hover {
  color: var(--walia-cyan);
}

.walia-article__date {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: #6b7280;
}

.walia-article__title {
  margin: 0 0 0.75rem;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--walia-navy);
}

.walia-article__excerpt {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: #5a6478;
}

.walia-article__featured {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 31, 78, 0.08);
  box-shadow: 0 12px 32px rgba(26, 31, 78, 0.08);
}

.walia-article__featured img {
  width: 100%;
  height: auto;
}

.walia-article__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 31, 78, 0.1);
}

.walia-article__footer .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.walia-article__footer a {
  color: var(--walia-navy);
  font-weight: 600;
  text-decoration: none;
}

.walia-article__footer a:hover {
  color: var(--walia-cyan);
}

.walia-news-card__title {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.walia-news-card__title a {
  color: var(--walia-navy);
  text-decoration: none;
}

.walia-news-card__title a:hover {
  color: var(--walia-cyan);
}

.entry-content {
  color: #4a5568;
  line-height: 1.75;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
  margin: 2rem 0 0.75rem;
  font-family: Rajdhani, sans-serif;
  color: var(--walia-navy);
  line-height: 1.2;
}

.entry-content h2 {
  font-size: 1.65rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.entry-content li {
  margin-bottom: 0.35rem;
}

.entry-content a {
  color: var(--walia-navy);
  font-weight: 600;
}

.entry-content a:hover {
  color: var(--walia-cyan);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--walia-cyan);
  background: rgba(0, 200, 255, 0.06);
  border-radius: 0 8px 8px 0;
}

.walia-service-card,
.walia-product-card,
.walia-news-card {
  display: block;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Services — mission catalog */
.walia-services {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 200, 255, 0.08), transparent 42%),
    linear-gradient(180deg, var(--walia-navy-deep) 0%, #121833 100%);
  color: var(--walia-text);
  overflow: hidden;
}

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

.walia-services__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 40%, #000 25%, transparent 78%);
}

.walia-services__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -10%;
  top: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.12), transparent 68%);
}

.walia-services__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.walia-services__intro {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.walia-services__intro h2 {
  margin: 0.35rem 0 0.85rem;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.walia-services__lede {
  margin: 0 0 1.25rem;
  color: var(--walia-silver);
  font-size: 1.02rem;
  line-height: 1.65;
}

.walia-services__highlights {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.walia-services__highlights li {
  position: relative;
  padding-left: 1.15rem;
  color: #c5d0e4;
  font-size: 0.92rem;
  line-height: 1.45;
}

.walia-services__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--walia-cyan);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.65);
}

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

@media (max-width: 1100px) {
  .walia-services__catalog {
    grid-template-columns: 1fr;
  }
}

.walia-service-item {
  display: grid;
  grid-template-columns: auto 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(0, 200, 255, 0.14);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.walia-service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 200, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.walia-service-item__index {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: rgba(0, 200, 255, 0.75);
  min-width: 1.75rem;
}

.walia-service-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
}

.walia-service-item__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 255, 0.5);
  box-shadow:
    0 0 0 4px rgba(0, 200, 255, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.walia-service-item__icon-pad {
  position: absolute;
  inset: 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #eef3fa 100%);
  box-shadow: inset 0 0 0 1px rgba(26, 31, 78, 0.08);
  overflow: hidden;
}

.walia-service-item__icon-pad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.walia-service-item:hover .walia-service-item__icon-ring {
  border-color: var(--walia-cyan);
  box-shadow:
    0 0 0 4px rgba(0, 200, 255, 0.16),
    0 0 24px rgba(0, 200, 255, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.32);
}

.walia-service-item:hover .walia-service-item__icon-pad {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.walia-service-item__body h3 {
  margin: 0 0 0.3rem;
  font-family: Rajdhani, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #fff;
}

.walia-service-item__body p {
  margin: 0;
  color: var(--walia-silver);
  font-size: 0.88rem;
  line-height: 1.45;
}

.walia-service-item__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--walia-cyan);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.walia-service-item:hover .walia-service-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

.walia-service-card {
  padding: 1.25rem 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #dde3ef;
  color: inherit;
  text-align: center;
}

.walia-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 163, 0.35);
  box-shadow: 0 18px 40px rgba(26, 31, 78, 0.1);
}

.walia-service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  width: 140px;
  height: 140px;
}

.walia-service-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.walia-service-card h3 {
  margin: 0 0 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--walia-navy);
}

.walia-service-card p {
  margin: 0;
  color: #5a6478;
  font-size: 0.95rem;
}

.walia-card-link--dark {
  color: #007aa3;
}

.walia-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--walia-cyan);
}

.walia-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem 1.5rem;
  background: #fff;
  border: 1px solid #dde3ef;
  color: inherit;
  min-height: 100%;
  border-radius: 10px;
}

.walia-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 163, 0.35);
  box-shadow: 0 18px 36px rgba(26, 31, 78, 0.12);
}

.walia-product-card__index {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  color: #007aa3;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.walia-product-card__icon {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 1rem;
}

.walia-product-card__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 122, 163, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.walia-product-card__icon-pad {
  position: absolute;
  inset: 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #eef3fa 100%);
  box-shadow: inset 0 0 0 1px rgba(26, 31, 78, 0.06);
  overflow: hidden;
}

.walia-product-card__icon-pad img {
  width: 96%;
  height: 96%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20%;
}

.walia-product-card:hover .walia-product-card__icon-ring {
  border-color: var(--walia-cyan);
  box-shadow:
    0 0 0 4px rgba(0, 200, 255, 0.12),
    0 0 20px rgba(0, 200, 255, 0.25);
}

.walia-product-card h3 {
  margin: 0 0 0.45rem;
  font-family: Rajdhani, sans-serif;
  font-size: 1.08rem;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--walia-navy);
}

.walia-product-card p {
  margin: 0;
  color: #5a6478;
  font-size: 0.9rem;
  line-height: 1.45;
}

.walia-section-actions {
  margin-top: 2rem;
}

.walia-section-actions--center {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  text-align: center;
}

.walia-client-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.walia-client-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  /* Legacy marquee — kept slow if reused elsewhere */
  animation: walia-marquee 140s linear infinite;
}

.walia-client-marquee:hover .walia-client-track,
.walia-client-marquee:focus-within .walia-client-track {
  animation-play-state: paused;
}

@keyframes walia-marquee {
  from {
    transform: translateX(0);
  }

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

@media (prefers-reduced-motion: reduce) {
  .walia-client-track {
    animation: none;
  }
}

/* Homepage clients — manual slider */
.walia-client-slider {
  --walia-client-gap: 1rem;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.walia-client-slider__viewport {
  display: flex;
  align-items: stretch;
  gap: var(--walia-client-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0.15rem 0.85rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 200, 255, 0.35) transparent;
}

.walia-client-slider__viewport::-webkit-scrollbar {
  height: 6px;
}

.walia-client-slider__viewport::-webkit-scrollbar-thumb {
  background: rgba(0, 200, 255, 0.35);
  border-radius: 999px;
}

.walia-client-slider__viewport .walia-client-logo {
  scroll-snap-align: start;
  width: min(168px, 42vw);
  height: 86px;
}

.walia-client-slider__btn {
  appearance: none;
  border: 1px solid rgba(0, 200, 255, 0.28);
  background: rgba(11, 15, 31, 0.72);
  color: #e8f7ff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex: 0 0 auto;
}

.walia-client-slider__btn:hover,
.walia-client-slider__btn:focus-visible {
  background: rgba(0, 122, 163, 0.35);
  border-color: rgba(0, 200, 255, 0.55);
  outline: none;
}

.walia-client-slider__btn:active {
  transform: scale(0.96);
}

@media (max-width: 640px) {
  .walia-client-slider {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .walia-client-slider__btn {
    position: absolute;
    z-index: 2;
    top: 50%;
    translate: 0 -70%;
  }

  .walia-client-slider__btn--prev {
    left: 0.15rem;
  }

  .walia-client-slider__btn--next {
    right: 0.15rem;
  }

  .walia-client-slider__viewport {
    padding-inline: 2.4rem;
  }
}

.walia-client-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 152px;
  height: 78px;
  margin: 0;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 200, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.walia-client-logo--lg {
  width: 100%;
  min-height: 112px;
  height: auto;
  padding: 1rem 1.1rem;
  border-radius: 14px;
}

.walia-client-logo--named {
  place-items: center;
  align-content: center;
  gap: 0.65rem;
  padding: 1rem 0.85rem 0.85rem;
  min-height: 132px;
}

.walia-client-logo--named figcaption {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #1a1f4e;
  max-width: 100%;
}

.walia-client-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 200, 255, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.walia-client-logo img {
  display: block;
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.walia-client-logo--lg img {
  max-height: 64px;
}

.walia-client-marquee--lg .walia-client-logo {
  width: 200px;
  min-height: 96px;
  padding: 0.85rem 1rem;
}

.walia-client-marquee--lg .walia-client-logo img {
  max-height: 60px;
}

.walia-client-marquee--lg {
  margin-top: 1.5rem;
}

.walia-client-grid--featured {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.walia-client-grid--preview {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 920px;
  margin-inline: auto;
}

.walia-client-logo--compact {
  width: 100%;
  min-height: 72px;
  height: 72px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
}

.walia-client-logo--compact img {
  max-height: 44px;
}

.walia-clients .walia-section-actions {
  margin-top: 1.5rem;
}

.walia-page-clients {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2rem);
}

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

.walia-page-clients .walia-page-intro {
  max-width: 680px;
  margin-inline: auto;
  color: var(--walia-silver);
}

.walia-page-clients .walia-page-intro p {
  margin: 0;
}

.walia-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 152px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.walia-client-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 1.15rem;
  margin-top: 0;
}

.walia-client-grid .walia-client-logo {
  width: 100%;
}

.walia-clients-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem auto 1.5rem;
  max-width: 820px;
}

.walia-clients-stat {
  padding: 1rem 0.75rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 200, 255, 0.16);
}

.walia-clients-stat strong {
  display: block;
  font-family: Rajdhani, sans-serif;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--walia-cyan);
}

.walia-clients-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--walia-silver);
}

.walia-client-sector-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
}

.walia-client-sector-nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--walia-cyan);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.walia-client-sector-nav a:hover {
  background: rgba(0, 200, 255, 0.14);
  border-color: rgba(0, 200, 255, 0.4);
}

.walia-client-sector {
  margin-bottom: 3rem;
}

.walia-client-sector__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 200, 255, 0.18);
}

.walia-client-sector__head h2 {
  margin: 0;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #fff;
}

.walia-client-sector__head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--walia-silver);
}

@media (max-width: 900px) {
  .walia-client-grid--preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .walia-clients-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .walia-client-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.walia-clients .walia-section-head p {
  color: var(--walia-silver);
  max-width: 52ch;
  margin-inline: auto;
}

.walia-news-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #dde3ef;
  border-radius: 6px;
}

.walia-news-card time {
  display: block;
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.walia-news-card h3 {
  margin: 0 0 0.75rem;
  font-family: Rajdhani, sans-serif;
  font-size: 1.2rem;
}

.walia-news-card h3 a {
  text-decoration: none;
  color: inherit;
}

.walia-news-card p {
  margin: 0;
  color: #5a6478;
}

.walia-empty {
  color: #5a6478;
}

.walia-cta {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f1530 0%, #1a2558 50%, #0b0f1f 100%);
  color: var(--walia-text);
  overflow: hidden;
}

.walia-cta__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.walia-cta__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -8%;
  top: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.walia-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.walia-cta h2 {
  margin: 0.35rem 0 0.75rem;
  max-width: 16ch;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.walia-cta p {
  margin: 0;
  color: var(--walia-silver);
  max-width: 52ch;
}

.walia-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  background: #fff;
  color: #4b5563;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid #dde4ef;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.site-footer-brand img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.site-footer-brand p {
  margin: 0;
  max-width: 42ch;
  color: #5a6478;
  line-height: 1.6;
}

.site-footer-meta p {
  margin: 0 0 0.35rem;
}

.site-footer a {
  color: #007aa3;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-shell {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav {
    backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    top: var(--header-offset, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    flex: none;
    width: 100%;
    height: calc(100dvh - var(--header-offset, var(--header-h)));
    min-height: calc(100dvh - var(--header-offset, var(--header-h)));
    max-height: none;
    overflow: hidden;
    overscroll-behavior: contain;
    background: #fff;
    padding: 0;
    border-bottom: 0;
    box-shadow: 0 24px 48px rgba(26, 31, 78, 0.14);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      transform 0.25s ease,
      opacity 0.2s ease,
      visibility 0.25s ease;
  }

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

  .site-header--over-hero:not(.is-scrolled) .nav-links.open .nav-menu-trigger,
  .site-header--over-hero:not(.is-scrolled) .nav-links.open .nav-menu > li > a {
    color: var(--walia-navy);
  }

  .site-header--over-hero:not(.is-scrolled) .nav-links.open .nav-menu-trigger:hover,
  .site-header--over-hero:not(.is-scrolled) .nav-links.open .nav-menu > li > a:hover {
    color: #007aa3;
  }

  .nav-links .nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0.5rem var(--page-gutter);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links .nav-menu > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(26, 31, 78, 0.08);
  }

  .nav-links .nav-item-has-children {
    display: block;
    width: 100%;
  }

  .nav-links .nav-menu-trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    min-height: 3.75rem;
    padding: 1rem 0;
    font-size: 1rem;
    white-space: normal;
    text-align: left;
  }

  .nav-links .nav-menu-trigger:hover,
  .nav-links .nav-menu-trigger:focus-visible {
    transform: none;
    text-shadow: none;
  }

  .nav-links .nav-menu > li > a {
    display: flex;
    width: 100%;
    min-height: 3.75rem;
    padding: 1rem 0;
    font-size: 1rem;
    white-space: normal;
    justify-content: flex-start;
    text-align: left;
  }

  .nav-links .nav-menu > li > a:hover,
  .nav-links .nav-menu > li > a:focus-visible {
    transform: none;
    text-shadow: none;
  }

  .nav-links .nav-menu > li > a::before,
  .nav-links .nav-menu > li > a::after {
    display: none;
  }

  .nav-links .nav-submenu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(26, 31, 78, 0.04);
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
  }

  .nav-links .nav-item-has-children.is-open > .nav-submenu {
    max-height: 20rem;
    padding: 0.25rem 0 0.85rem;
  }

  .nav-links .nav-submenu a {
    display: block;
    padding: 0.85rem 0.75rem;
    white-space: normal;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .nav-links__footer {
    display: block;
    flex-shrink: 0;
    padding: 1rem var(--page-gutter) max(1.25rem, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(26, 31, 78, 0.1);
    background: #fff;
  }

  .nav-links .nav-menu__contact-btn,
  .nav-links__footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: 0 0 24px var(--walia-cyan-soft);
  }

  .site-header--over-hero:not(.is-scrolled) .nav-links.open .nav-submenu a {
    color: var(--walia-navy);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 1003;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-cta {
    display: none;
  }

  .walia-hero-slide-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.5rem;
  }

  .walia-hero-slide--visual-left .walia-hero-visual,
  .walia-hero-slide--visual-right .walia-hero-visual,
  .walia-hero-slide--visual-left .walia-hero-content,
  .walia-hero-slide--visual-right .walia-hero-content {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    max-width: none;
  }

  .walia-hero-slide--visual-left .walia-hero-visual {
    order: -1;
  }

  .walia-hero-slide--visual-center.walia-hero-slide--content-right .walia-hero-content-panel {
    text-align: left;
  }

  .walia-hero-slide--visual-center.walia-hero-slide--content-right .walia-hero-actions {
    justify-content: flex-start;
  }

  .walia-hero-visual {
    max-width: none;
  }

  .walia-hero-controls {
    width: calc(100% - var(--hero-gutter) * 2);
    max-width: none;
    gap: 0.55rem;
  }

  .walia-hero-rail__name {
    font-size: 0.85rem;
  }

  .walia-hero-slide-inner {
    padding-inline: clamp(1.25rem, 5vw, 2rem);
    padding-block: 2rem 5.5rem;
  }

  .walia-intro__grid {
    grid-template-columns: 1fr;
  }

  .walia-intro__rocket {
    display: none;
  }

  .walia-hero-accent--rocket,
  .walia-hero-accent--astro {
    display: none;
  }

  .walia-card-grid--3,
  .walia-card-grid--5 {
    grid-template-columns: 1fr;
  }

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

  .walia-services__intro {
    position: static;
  }

  .walia-services__catalog {
    grid-template-columns: 1fr;
  }

  .walia-service-item {
    grid-template-columns: auto 72px minmax(0, 1fr);
    padding: 1rem;
  }

  .walia-service-item__arrow {
    display: none;
  }

  .walia-service-item__icon {
    width: 72px;
    height: 72px;
  }

  .walia-service-item__icon-pad {
    inset: 6px;
  }

  .walia-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (prefers-reduced-motion: reduce) {
  .walia-hero-slide {
    transition: none;
  }

  .walia-accent-img--rocket,
  .walia-hero-accent--astro {
    animation: none;
  }

  .walia-constellation__stars circle {
    animation: none;
  }

  .walia-loader__rocket,
  .walia-loader__bar {
    animation: none;
  }
}
