/* ========================================
   BUTTONS - Button-in-Button Architecture
   Rounded pills with nested trailing icon
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  transition: all 0.5s var(--easing-smooth);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  padding-right: 0.625rem;
}

.btn--primary .btn__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--easing-smooth);
  flex-shrink: 0;
}

.btn--primary .btn__icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.5s var(--easing-smooth);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(var(--color-primary-rgb), 0.35), 0 4px 12px rgba(var(--color-accent-rgb), 0.15);
}

.btn--primary:hover .btn__icon {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(2px) translateY(-1px) scale(1.05);
}

.btn--primary:hover .btn__icon svg {
  transform: translateX(1px) translateY(-1px);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding-right: 0.625rem;
}

.btn--outline .btn__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--easing-smooth);
  flex-shrink: 0;
}

.btn--outline .btn__icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.5s var(--easing-smooth);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn--outline:hover .btn__icon {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(2px) translateY(-1px);
}

.btn--outline-dark {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  padding-right: 0.625rem;
}

.btn--outline-dark .btn__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--easing-smooth);
  flex-shrink: 0;
}

.btn--outline-dark .btn__icon svg {
  width: 14px;
  height: 14px;
}

.btn--outline-dark:hover {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), 0.3);
}

.btn--outline-dark:hover .btn__icon {
  background: rgba(255, 255, 255, 0.2);
}

.btn--lg {
  padding: 1rem 1.25rem 1rem 2rem;
  font-size: var(--fs-body);
}

.btn--sm {
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn--sm .btn__icon {
  width: 1.75rem;
  height: 1.75rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Fallback for buttons without .btn__icon (backwards compat) */
.btn--primary:not(:has(.btn__icon)),
.btn--outline:not(:has(.btn__icon)),
.btn--outline-dark:not(:has(.btn__icon)) {
  padding: 0.875rem 2rem;
}

.btn--lg:not(:has(.btn__icon)) {
  padding: 1rem 2.5rem;
}

/* ========================================
   NAVBAR - Floating Glass Pill
   Detached, rounded, premium glass morph
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  padding: var(--space-lg) var(--space-lg) 0;
  transition: all 0.6s var(--easing-smooth);
  pointer-events: none;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: fit-content;
  margin-inline: auto;
  padding: 0.65rem 0.65rem 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(11, 21, 40, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.6s var(--easing-smooth);
  pointer-events: auto;
}

.navbar.scrolled {
  padding-top: var(--space-sm);
}

.navbar.scrolled .navbar__inner {
  background: rgba(8, 14, 30, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Standalone site logo - floats top-left, independent of navbar pill */
.site-logo {
  position: fixed;
  top: var(--space-lg);
  left: var(--space-lg);
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  transition: top 0.6s var(--easing-smooth), left 0.6s var(--easing-smooth);
}

.site-logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: height 0.6s var(--easing-smooth);
}

.site-logo.scrolled {
  top: var(--space-sm);
}

.site-logo.scrolled img {
  height: 44px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar__link {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-tertiary);
  position: relative;
  transition: color 0.4s var(--easing-smooth);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.navbar__cta {
  margin-left: var(--space-sm);
}

/* Mobile hamburger - morphing X */
.navbar__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
}

.navbar__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.5s var(--easing-smooth);
  transform-origin: center;
}

.navbar__toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu - editorial panel with list, CTA & contact meta */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(37, 99, 235, 0.22) 0%, rgba(6, 12, 26, 0) 55%),
    radial-gradient(80% 50% at 10% 100%, rgba(129, 140, 248, 0.14) 0%, rgba(6, 12, 26, 0) 60%),
    linear-gradient(180deg, rgba(6, 12, 26, 0.97) 0%, rgba(6, 12, 26, 0.985) 100%);
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
  z-index: var(--z-overlay);
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--easing-smooth), visibility 0.45s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.navbar__mobile.open {
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding:
    calc(var(--space-3xl) + env(safe-area-inset-top, 0px))
    var(--space-xl)
    calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
  gap: var(--space-xl);
}

.navbar__mobile-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--easing-smooth), transform 0.5s var(--easing-smooth);
}

.navbar__mobile.open .navbar__mobile-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.navbar__mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.navbar__mobile-item + .navbar__mobile-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  line-height: 1.15;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-14px);
  transition:
    opacity 0.5s var(--easing-smooth),
    transform 0.5s var(--easing-smooth),
    color 0.3s ease;
}

.navbar__mobile.open .navbar__mobile-link {
  opacity: 1;
  transform: translateX(0);
}

.navbar__mobile.open .navbar__mobile-item:nth-child(1) .navbar__mobile-link { transition-delay: 0.14s; }
.navbar__mobile.open .navbar__mobile-item:nth-child(2) .navbar__mobile-link { transition-delay: 0.20s; }
.navbar__mobile.open .navbar__mobile-item:nth-child(3) .navbar__mobile-link { transition-delay: 0.26s; }
.navbar__mobile.open .navbar__mobile-item:nth-child(4) .navbar__mobile-link { transition-delay: 0.32s; }

.navbar__mobile-arrow {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: transform 0.4s var(--easing-smooth), color 0.3s ease;
  flex-shrink: 0;
}

.navbar__mobile-link:hover,
.navbar__mobile-link:focus-visible {
  color: var(--color-secondary);
  outline: none;
}

.navbar__mobile-link:hover .navbar__mobile-arrow,
.navbar__mobile-link:focus-visible .navbar__mobile-arrow {
  transform: translate(4px, -4px);
  color: var(--color-secondary);
}

.navbar__mobile-link[aria-current="page"] .navbar__mobile-label {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__mobile-link[aria-current="page"] .navbar__mobile-arrow {
  color: var(--color-secondary);
}

.navbar__mobile-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--easing-smooth), transform 0.5s var(--easing-smooth);
}

.navbar__mobile.open .navbar__mobile-foot {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

.navbar__mobile-cta {
  width: 100%;
  justify-content: center;
}

.navbar__mobile-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.navbar__mobile-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar__mobile-meta a:hover,
.navbar__mobile-meta a:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.navbar__mobile-meta svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* ========================================
   HERO - Split layout with floating shapes
   ======================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  mix-blend-mode: normal;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 26, 0.92) 0%, rgba(6, 12, 26, 0.74) 44%, rgba(6, 12, 26, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 12, 26, 0.28) 0%, rgba(6, 12, 26, 0.88) 100%);
  z-index: 1;
}

/* Split grid: text left, shapes right */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  padding-top: 10rem;
  padding-bottom: var(--space-4xl);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  color: var(--color-secondary);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-2xl);
}

.hero__label span {
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-secondary), 0 0 20px rgba(56, 189, 248, 0.3);
}

.hero__title {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tighter);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --- Floating glass shapes composition --- */
.hero__visual {
  position: relative;
  width: 100%;
  height: 620px;
  padding-top: 5rem;
}

/* Shared shape base */
.hero__shape {
  position: absolute;
  transition: transform 1.2s var(--easing-smooth);
}

/* Stat card - shared look across all three */
.hero__shape--card {
  width: 240px;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.14) 0%, rgba(6, 12, 26, 0.55) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(37, 99, 235, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero__shape--card .hero__shape-inner {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

/* Card positions - spread across the visual area */
.hero__shape--card-pro {
  top: 4%;
  left: 4%;
  width: 260px;
  animation: float 6s var(--easing-smooth) infinite;
}

.hero__shape--card-regions {
  top: 40%;
  right: 0;
  animation: float 7s var(--easing-smooth) infinite;
  animation-delay: -1.5s;
}

.hero__shape--card-delivery {
  bottom: 4%;
  left: 8%;
  animation: float 6.5s var(--easing-smooth) infinite;
  animation-delay: -3s;
}

.hero__shape-stat {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: var(--fw-semibold);
  background: linear-gradient(135deg, #fff 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  margin-bottom: var(--space-sm);
  min-height: 1em;
}

.hero__shape--card-pro .hero__shape-stat {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__shape-label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* Floating ring - center */
.hero__shape--ring {
  top: 8%;
  right: 30%;
  width: 220px;
  height: 220px;
  animation: float 8s var(--easing-smooth) infinite;
  animation-delay: -2s;
  pointer-events: none;
}

.hero__shape--ring svg {
  width: 100%;
  height: 100%;
  animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dot cluster - scattered network nodes */
.hero__shape--dots {
  top: 35%;
  left: 32%;
  width: 160px;
  height: 160px;
  opacity: 0.7;
  animation: float 10s var(--easing-smooth) infinite;
  animation-delay: -4s;
  pointer-events: none;
}

.hero__shape--dots svg {
  width: 100%;
  height: 100%;
}

/* Glowing orb - accent */
.hero__shape--orb {
  bottom: 20%;
  right: 35%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(129, 140, 248, 0.1) 50%, transparent 70%);
  filter: blur(2px);
  animation: float 5s var(--easing-smooth) infinite;
  animation-delay: -3s;
  pointer-events: none;
}

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

/* ========================================
   LOGO SLIDER - Dark with fade edges
   ======================================== */

.logo-slider {
  padding: var(--space-2xl) 0;
  background: var(--surface-raised);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.logo-slider::before,
.logo-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--surface-raised), transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--surface-raised), transparent);
}

.logo-slider__label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  margin-bottom: var(--space-lg);
}

.logo-slider__track {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  width: max-content;
  animation: slide 40s linear infinite;
}

.logo-slider__track:hover {
  animation-play-state: paused;
}

.logo-slider__item {
  flex-shrink: 0;
  height: 30px;
  opacity: 0.35;
  filter: brightness(0) invert(1);
  transition: all 0.6s var(--easing-smooth);
}

.logo-slider__item:hover {
  opacity: 0.8;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   CARDS - Double-Bezel (Doppelrand) Architecture
   Outer shell + inner core for machined-hardware feel
   ======================================== */

/* Outer bezel shell */
.card {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.7s var(--easing-smooth);
}

/* Inner core */
.card__inner {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-inner-highlight), var(--shadow-card);
  height: 100%;
}

.card:hover {
  border-color: var(--border-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.card:hover .card__inner {
  box-shadow: var(--shadow-inner-highlight), 0 0 40px rgba(37, 99, 235, 0.06);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-secondary);
  transition: transform 0.5s var(--easing-smooth);
}

.card:hover .card__icon {
  transform: scale(1.08);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

.card__text {
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-small);
}

/* Accent border left variant */
.card--accent-left .card__inner {
  border-left: 3px solid transparent;
  background-image: var(--gradient-bezel-inner);
  background-origin: border-box;
  position: relative;
  overflow: hidden;
}

.card--accent-left .card__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

/* ========================================
   STATS - Gradient numbers, bezel containers
   ======================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--easing-smooth);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--gradient-border);
  border-radius: 1px;
  opacity: 0.4;
}

.stat:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--fw-semibold);
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  margin-bottom: var(--space-xs);
}

.stat--region .stat__number {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* ========================================
   TESTIMONIALS - Premium glass cards
   ======================================== */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.7s var(--easing-smooth);
}

.testimonial__inner {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-inner-highlight);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.testimonial:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-primary);
}

.testimonial__inner::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  right: var(--space-xl);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--color-warm);
}

.testimonial__stars svg {
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 1px 4px rgba(212, 168, 83, 0.4));
}

.testimonial__quote {
  flex: 1;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial__author {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  font-size: var(--fs-small);
}

.testimonial__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ========================================
   TEAM - Premium portrait cards
   ======================================== */

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 920px;
  margin-inline: auto;
  align-items: stretch;
}

.team-card {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.7s var(--easing-smooth);
  display: flex;
  flex-direction: column;
}

.team-card__core {
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  overflow: hidden;
  box-shadow: var(--shadow-inner-highlight);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: translateY(-6px);
  border-color: var(--border-primary);
}

.team-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  background: var(--surface-overlay);
}

.team-card__content {
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  position: relative;
  z-index: 2;
  background: var(--gradient-bezel-inner);
  flex: 1;
}

.team-card__name {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

.team-card__role {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.team-card__linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  border-radius: var(--radius-md);
  transition: all 0.5s var(--easing-smooth);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.team-card__linkedin svg {
  width: 16px;
  height: 16px;
}

.team-card__linkedin:hover {
  color: #0A66C2;
  background: rgba(10, 102, 194, 0.1);
  border-color: rgba(10, 102, 194, 0.3);
  transform: translateY(-2px);
}

.team-card__linkedin:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  color: #0A66C2;
  background: rgba(10, 102, 194, 0.1);
  border-color: rgba(10, 102, 194, 0.3);
}

.team-card__quote {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  font-style: italic;
  line-height: var(--lh-relaxed);
  margin-top: var(--space-sm);
  padding-left: var(--space-md);
  border-left: 2px solid rgba(37, 99, 235, 0.2);
}

/* ========================================
   PILLARS - Glass cards with gradient accents
   ======================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pillar {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.7s var(--easing-smooth);
}

.pillar__inner {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  background: var(--gradient-bezel-inner);
  box-shadow: var(--shadow-inner-highlight);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pillar:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-primary);
}

.pillar__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-xl);
  color: var(--color-secondary);
  position: relative;
  transition: transform 0.5s var(--easing-smooth), box-shadow 0.5s var(--easing-smooth);
}

.pillar__icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--easing-smooth);
  pointer-events: none;
}

.pillar:hover .pillar__icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
}

.pillar:hover .pillar__icon::before {
  opacity: 1;
}

.pillar__icon svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  transform-origin: 50% 50%;
}

/* Cog - slow continuous spin, speeds up on hover */
.pillar__icon--cog svg {
  animation: pillar-cog-spin 22s linear infinite;
}

.pillar:hover .pillar__icon--cog svg {
  animation-duration: 6s;
}

@keyframes pillar-cog-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Shield - ambient pulse + flash highlight */
.pillar__icon--shield svg {
  animation: pillar-shield-pulse 3.2s var(--easing-smooth) infinite;
  filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0));
}

@keyframes pillar-shield-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
  }
}

/* Delivery tick - draw-in style pulse */
.pillar__icon--check svg {
  animation: pillar-check-pulse 4s var(--easing-smooth) infinite;
}

@keyframes pillar-check-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4)); }
}

/* Clock - slow tick pulse, accelerates on hover */
.pillar__icon--clock svg {
  animation: pillar-clock-tick 3.6s var(--easing-smooth) infinite;
}

.pillar:hover .pillar__icon--clock svg {
  animation-duration: 1.6s;
}

@keyframes pillar-clock-tick {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5)); }
}

/* People - soft breathing pulse */
.pillar__icon--people svg {
  animation: pillar-people-pulse 3.8s var(--easing-smooth) infinite;
}

@keyframes pillar-people-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.45)); }
}

/* Search - scanning sweep */
.pillar__icon--search svg {
  animation: pillar-search-scan 4.4s var(--easing-smooth) infinite;
  transform-origin: 55% 55%;
}

@keyframes pillar-search-scan {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.07) rotate(-10deg); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5)); }
}

/* Stack - layered pulse */
.pillar__icon--stack svg {
  animation: pillar-stack-pulse 3.8s var(--easing-smooth) infinite;
}

@keyframes pillar-stack-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.4)); }
}

/* Bolt - electric quick flash */
.pillar__icon--bolt svg {
  animation: pillar-bolt-flash 2.4s var(--easing-smooth) infinite;
}

@keyframes pillar-bolt-flash {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6)); }
}

/* Network - node pulse */
.pillar__icon--network svg {
  animation: pillar-network-pulse 4s var(--easing-smooth) infinite;
}

@keyframes pillar-network-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.45)); }
}

/* Chart - bars growing */
.pillar__icon--chart svg {
  animation: pillar-chart-grow 3.6s var(--easing-smooth) infinite;
  transform-origin: 50% 100%;
}

@keyframes pillar-chart-grow {
  0%, 100% { transform: scaleY(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
  50% { transform: scaleY(1.1); filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.45)); }
}

@media (prefers-reduced-motion: reduce) {
  .pillar__icon--cog svg,
  .pillar__icon--shield svg,
  .pillar__icon--check svg,
  .pillar__icon--clock svg,
  .pillar__icon--people svg,
  .pillar__icon--search svg,
  .pillar__icon--stack svg,
  .pillar__icon--bolt svg,
  .pillar__icon--network svg,
  .pillar__icon--chart svg {
    animation: none;
  }
}

/* Services & Capabilities variants: wider lede for longer descriptive copy */
.pillars--services .pillar__lede,
.pillars--capabilities .pillar__lede {
  max-width: 36ch;
}

/* Equal-height lists bottom-aligned across cards, left-aligned bullets */
.pillar__inner {
  display: flex;
  flex-direction: column;
}

.pillar__list {
  align-items: flex-start;
  text-align: left;
  margin-top: auto;
}

.pillar__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

.pillar__lede {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  max-width: 28ch;
  margin-inline: auto;
}

.pillar__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  list-style: none;
}

.pillar__list li {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.pillar__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
  flex: 0 0 auto;
}

/* ========================================
   FORMS - Dark inputs
   ======================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  font-size: var(--fs-body);
  color: var(--text-primary);
  transition: all 0.4s var(--easing-smooth);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 0 24px rgba(37, 99, 235, 0.04);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* File upload */
.form__upload {
  position: relative;
  border: 1.5px dashed rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all 0.4s var(--easing-smooth);
  background: rgba(37, 99, 235, 0.02);
}

.form__upload:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.06);
}

.form__upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form__upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
  color: var(--text-muted);
}

.form__upload-text {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.form__upload-text strong {
  color: var(--color-secondary);
}

/* Contact form cards - bezel style */
.contact-form-card {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.5rem;
  border: 1px solid var(--border-subtle);
}

.contact-form-card__core {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.5rem);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-inner-highlight);
  position: relative;
  overflow: hidden;
}

.contact-form-card__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.contact-form-card__subtitle {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  margin-bottom: var(--space-xl);
}

/* Topic selector - radio chips */
.topic-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.topic-select__option {
  position: relative;
  cursor: pointer;
}

.topic-select__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic-select__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.2rem;
  background: var(--gradient-bezel-outer);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: var(--text-tertiary);
  transition: color 0.3s var(--easing-smooth), background 0.3s var(--easing-smooth), border-color 0.3s var(--easing-smooth), box-shadow 0.3s var(--easing-smooth);
  white-space: nowrap;
}

.topic-select__option:hover .topic-select__chip {
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.topic-select__option input[type="radio"]:checked + .topic-select__chip {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.topic-select__option input[type="radio"]:focus-visible + .topic-select__chip {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Vacancy-only fields wrapper (revealed when topic = Hire SAP talent) */
.form__vacancy-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Form label optional-hint */
.form__hint {
  color: var(--text-muted);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  margin-left: 0.35rem;
}

/* =============================================
   FAQ - Collapsible accordion
   ============================================= */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem;
  transition: border-color 0.4s var(--easing-smooth);
}

.faq__item[open] {
  border-color: var(--border-primary);
}

.faq__question {
  list-style: none;
  cursor: pointer;
  padding: var(--space-lg) var(--space-xl);
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-xl) - 0.25rem);
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: background 0.4s var(--easing-smooth);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(45deg);
  transition: transform 0.4s var(--easing-smooth);
}

.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
}

.faq__question:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.faq__answer {
  padding: var(--space-md) var(--space-xl) var(--space-lg);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-body);
}

.faq__answer p { margin: 0; }

.faq__answer a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fieldset reset for radio group */
.form__fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.form__fieldset > .form__label {
  padding: 0;
}

/* Inline form error bubble */
.form__error {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-error);
  font-size: var(--fs-small);
}

.form__input[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

/* GDPR consent notice above form submit */
.form__consent {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
  margin: var(--space-md) 0 var(--space-sm);
}

.form__consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__consent a:hover {
  color: var(--accent-light, var(--accent));
}

/* ========================================
   PARTNER / CASE STUDY CARDS
   ======================================== */

.partner-card {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.7s var(--easing-smooth);
}

.partner-card__inner {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-inner-highlight);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.partner-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-primary);
}

.partner-card__title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.partner-card__text {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
}

/* ========================================
   FOOTER - Deep, refined
   ======================================== */

.footer {
  background: var(--surface-base);
  color: var(--text-tertiary);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
  opacity: 0.4;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  max-width: 360px;
  color: var(--text-muted);
}

.footer__brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: all 0.4s var(--easing-smooth);
}

.footer__link:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.footer__contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-secondary);
  opacity: 0.5;
}

.footer__contact-item a {
  color: var(--text-muted);
  transition: color 0.4s var(--easing-smooth);
}

.footer__contact-item a:hover {
  color: var(--text-primary);
}

.footer__divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: var(--space-xl);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.5s var(--easing-smooth);
}

.footer__social:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.3);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */

.page-hero {
  padding: 12rem 0 5rem;
  background: var(--gradient-hero);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Cinematic variant - unified across all inner pages */
.page-hero--cinematic {
  padding: 14rem 0 8rem;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  mix-blend-mode: normal;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(6, 12, 26, 0.5) 0%, rgba(6, 12, 26, 0.76) 62%, rgba(6, 12, 26, 0.92) 100%),
    linear-gradient(180deg, rgba(6,12,26,0.48) 0%, rgba(6,12,26,0.9) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: var(--ls-tighter);
  line-height: var(--lh-tight);
}

.page-hero--cinematic .page-hero__title {
  font-size: var(--fs-display);
  margin-bottom: var(--space-lg);
}

.page-hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-tertiary);
  max-width: 540px;
  line-height: var(--lh-relaxed);
}

/* --- Split variant: centered, content-focused hero --- */
.page-hero--split {
  padding: 11rem 0 6rem;
  text-align: center;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero--split .page-hero__content {
  max-width: 920px;
  margin: 0 auto;
}

.page-hero--split .page-hero__title {
  font-size: clamp(2.75rem, 5.2vw, 4.5rem);
}

.page-hero--split .page-hero__subtitle {
  max-width: 640px;
  margin-inline: auto;
}

/* ========================================
   GLOBAL MAP
   ======================================== */

.global-map {
  max-width: 800px;
  margin: 0 auto;
}

.global-map svg {
  width: 100%;
  height: auto;
}

.global-map__dot {
  fill: var(--color-secondary);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

/* ========================================
   CONTACT INFO
   ======================================== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-lg);
  color: var(--color-secondary);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-size: var(--fs-body);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
}

.contact-info__value a {
  color: var(--color-secondary);
  transition: color 0.4s var(--easing-smooth);
}

.contact-info__value a:hover {
  color: var(--color-highlight);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

.section__header--narrow {
  max-width: 600px;
}

.section__cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.stack--sm { display: flex; flex-direction: column; gap: var(--space-sm); }
.stack--lg { display: flex; flex-direction: column; gap: var(--space-lg); }

.list-check__list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.list-check__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.list-check__item:last-child {
  border-bottom: none;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-semibold);
  color: rgba(37, 99, 235, 0.15);
  margin-bottom: var(--space-md);
}

.card--center { text-align: center; }
.card__icon--center { margin-inline: auto; }

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

.link--accent {
  color: var(--color-secondary);
}

/* About page stats box - bezel style */
.about-stats {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
}

.about-stats__inner {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-inner-highlight);
  position: relative;
  overflow: hidden;
}

.about-stats__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gradient-border);
  border-radius: 1px;
  opacity: 0.4;
}

.about-stat__number {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-semibold);
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.about-stat__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.card__title--on-dark { color: var(--text-primary); }
.card__text--on-dark { color: var(--text-tertiary); }

.form__honeypot { display: none; }

/* Section images - bezel wrapped */
.section-image {
  width: 100%;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.section-image--glow {
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

/* ----- Globe stage (Who We Are) ----- */
.globe-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  min-height: 480px;
  perspective: 1200px;
}

.globe-stage__float {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: globe-hover 9s var(--easing-smooth) infinite;
  transform-style: preserve-3d;
}

.globe-stage .section-image--globe {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: auto;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 22px 48px rgba(37, 99, 235, 0.45)) drop-shadow(0 0 60px rgba(56, 189, 248, 0.55));
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 450ms var(--easing-smooth);
  will-change: transform;
}

.globe-stage__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.38) 0%, rgba(37, 99, 235, 0.18) 35%, transparent 65%);
  filter: blur(10px);
  animation: globe-glow 6s var(--easing-smooth) infinite;
  pointer-events: none;
}

.globe-stage__glow::after {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.28);
  opacity: 0.7;
}

/* Orbital ring with a satellite dot — gives the scene a 3D planetary feel */
.globe-stage__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg);
  animation: globe-orbit 22s linear infinite;
}

.globe-stage__orbit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: rgb(186, 230, 253);
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.95), 0 0 28px rgba(56, 189, 248, 0.7);
}

.globe-stage__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: globe-pulse 4.5s var(--easing-smooth) infinite;
}

.globe-stage__pulse--a { animation-delay: 0s; }
.globe-stage__pulse--b { animation-delay: 1.5s; }
.globe-stage__pulse--c { animation-delay: 3s; }

@keyframes globe-glow {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

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

@keyframes globe-orbit {
  from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); }
  to   { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); }
}

@keyframes globe-pulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
  35% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe-stage .section-image--globe,
  .globe-stage__float,
  .globe-stage__glow,
  .globe-stage__orbit,
  .globe-stage__pulse {
    animation: none;
    transition: none;
  }
}

/* =============================================
   SERVICES PAGE - Premium Editorial System
   ============================================= */

/* --- Service Block: Bezel-wrapped split --- */
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.7s var(--easing-smooth);
}

.svc-block:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.svc-block__media {
  overflow: hidden;
  border-radius: calc(var(--radius-3xl) - 0.375rem) 0 0 calc(var(--radius-3xl) - 0.375rem);
}

.svc-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.svc-block__content {
  padding: var(--space-3xl);
  background: var(--gradient-bezel-inner);
  box-shadow: var(--shadow-inner-highlight);
  border-radius: 0 calc(var(--radius-3xl) - 0.375rem) calc(var(--radius-3xl) - 0.375rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-block__content p {
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
}

.svc-block--reverse .svc-block__media {
  order: 2;
  border-radius: 0 calc(var(--radius-3xl) - 0.375rem) calc(var(--radius-3xl) - 0.375rem) 0;
}

.svc-block--reverse .svc-block__content {
  order: 1;
  border-radius: calc(var(--radius-3xl) - 0.375rem) 0 0 calc(var(--radius-3xl) - 0.375rem);
}

/* --- Capability Cards: Bezel bento --- */
.svc-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.svc-cap-card {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.7s var(--easing-smooth);
}

.svc-cap-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.svc-cap-card__inner {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-inner-highlight);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.svc-cap-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-lg);
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.svc-cap-card__icon svg {
  width: 22px;
  height: 22px;
}

.svc-cap-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.svc-cap-card__text {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
}

/* --- Service model card: feature list --- */
.svc-cap-card__features {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: var(--space-lg) 0 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.svc-cap-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

.svc-cap-card__features svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--color-secondary);
}

/* --- Inline checks row --- */
.svc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-2xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.svc-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}

.svc-check svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
}

/* --- Network visualization --- */
.svc-network-frame {
  position: relative;
  width: 100%;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle);
  background: var(--gradient-bezel-inner);
  box-shadow: var(--shadow-inner-highlight);
  overflow: hidden;
  isolation: isolate;
}

/* Faint coordinate grid behind the map */
.svc-network-frame__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Terminal-style corner ticks */
.svc-network-frame__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  pointer-events: none;
  z-index: 2;
}
.svc-network-frame__corner--tl { top: 12px;    left: 12px;    border-right: 0; border-bottom: 0; }
.svc-network-frame__corner--tr { top: 12px;    right: 12px;   border-left: 0;  border-bottom: 0; }
.svc-network-frame__corner--bl { bottom: 12px; left: 12px;    border-right: 0; border-top: 0; }
.svc-network-frame__corner--br { bottom: 12px; right: 12px;   border-left: 0;  border-top: 0; }

.svc-network-frame__legend {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  z-index: 2;
}

.svc-network-frame__legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  animation: svc-legend-pulse 2.6s ease-in-out infinite;
}

@keyframes svc-legend-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 7px rgba(56, 189, 248, 0); }
}

.svc-network {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  color: var(--color-secondary);
  z-index: 1;
}

/* Base world: dim dot pattern fills every country silhouette */
.svc-network__world { opacity: 0.38; }

/* Region overlays: brighter dots on top of base */
.svc-network__region { opacity: 1; filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.35)); }

/* Ambient hub glows */
.svc-network__glows { opacity: 0.85; }

/* Connection arcs between regional hubs */
.svc-network__links path {
  stroke: currentColor;
  stroke-width: 0.6;
  stroke-dasharray: 1.4 3.2;
  opacity: 0.32;
  fill: none;
  vector-effect: non-scaling-stroke;
}

/* Packets traveling along arcs */
.svc-network__packet {
  filter: drop-shadow(0 0 3px rgba(56, 189, 248, 1)) drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

/* Pulse node rings */
.svc-network__node-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0;
  animation: svc-node-pulse 3.2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.svc-network__node-ring--2 { animation-delay: 1.6s; }
.svc-network__node--us    .svc-network__node-ring    { animation-delay: 0.3s; }
.svc-network__node--us    .svc-network__node-ring--2 { animation-delay: 1.9s; }
.svc-network__node--latam .svc-network__node-ring    { animation-delay: 0.6s; }
.svc-network__node--latam .svc-network__node-ring--2 { animation-delay: 2.2s; }
.svc-network__node--apac  .svc-network__node-ring    { animation-delay: 0.9s; }
.svc-network__node--apac  .svc-network__node-ring--2 { animation-delay: 2.5s; }

@keyframes svc-node-pulse {
  0%   { r: 4;  opacity: 0.9; stroke-width: 1.2; }
  80%  { r: 22; opacity: 0;   stroke-width: 0.3; }
  100% { r: 22; opacity: 0;   stroke-width: 0.3; }
}

.svc-network__node-halo {
  fill: rgba(56, 189, 248, 0.18);
  stroke: rgba(56, 189, 248, 0.45);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}

.svc-network__node-dot {
  fill: #fff;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 1)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

/* Callout labels */
.svc-network__label-tick {
  stroke: currentColor;
  stroke-width: 0.6;
  opacity: 0.55;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.svc-network__label-code {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: var(--fw-bold);
  fill: var(--color-highlight);
  letter-spacing: 0.04em;
  paint-order: stroke;
  stroke: rgba(10, 15, 26, 0.65);
  stroke-width: 3;
}

.svc-network__label-name {
  font-family: var(--font-body);
  font-size: 6.5px;
  font-weight: var(--fw-medium);
  fill: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(10, 15, 26, 0.55);
  stroke-width: 2;
}

@media (prefers-reduced-motion: reduce) {
  .svc-network__node-ring { animation: none; opacity: 0; }
  .svc-network-frame__legend-dot { animation: none; }
  .svc-network__packet { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-network__label-code { font-size: 15px; }
  .svc-network__label-name { font-size: 7.5px; }
}

@media (max-width: 768px) {
  .svc-network-frame {
    padding: var(--space-2xl) var(--space-md) var(--space-md);
  }
  .svc-network-frame__legend {
    top: var(--space-md);
    left: var(--space-md);
  }
  .svc-network-frame__corner { width: 10px; height: 10px; }
  .svc-network-frame__corner--tl,
  .svc-network-frame__corner--tr { top: 8px; }
  .svc-network-frame__corner--bl,
  .svc-network-frame__corner--br { bottom: 8px; }
  .svc-network-frame__corner--tl,
  .svc-network-frame__corner--bl { left: 8px; }
  .svc-network-frame__corner--tr,
  .svc-network-frame__corner--br { right: 8px; }
  .svc-network__label-code { font-size: 18px; }
  .svc-network__label-name { font-size: 9px; }
  .svc-network__links { display: none; } /* too busy at small sizes */
  .svc-network__packets { display: none; }
}

/* --- Process steps: numbered cards --- */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.svc-step-card {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.7s var(--easing-smooth);
}

.svc-step-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.svc-step-card__inner {
  background: var(--gradient-bezel-inner);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-inner-highlight);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.svc-step-card__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: var(--fw-semibold);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.2;
  margin-bottom: var(--space-lg);
}

.svc-step-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.svc-step-card__text {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
}

/* --- Two-column text details --- */
.svc-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.svc-detail {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-default);
}

.svc-detail__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.svc-detail__text {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
}

/* --- Services responsive --- */
@media (max-width: 1024px) {
  .svc-caps,
  .pillars--services,
  .pillars--capabilities {
    grid-template-columns: 1fr 1fr;
  }
  .svc-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .svc-block {
    grid-template-columns: 1fr;
  }
  .svc-block__media,
  .svc-block--reverse .svc-block__media {
    border-radius: calc(var(--radius-3xl) - 0.375rem) calc(var(--radius-3xl) - 0.375rem) 0 0;
    order: 0;
  }
  .svc-block__media img {
    min-height: 250px;
  }
  .svc-block__content,
  .svc-block--reverse .svc-block__content {
    border-radius: 0 0 calc(var(--radius-3xl) - 0.375rem) calc(var(--radius-3xl) - 0.375rem);
    order: 1;
    padding: var(--space-2xl);
  }
  .svc-caps {
    grid-template-columns: 1fr;
  }
  .svc-checks {
    flex-direction: column;
    gap: var(--space-md);
  }
  .svc-steps {
    grid-template-columns: 1fr;
  }
  .svc-details {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ========================================
   CASE STUDIES - Editorial proof cards
   Double-bezel shell, left-aligned dense copy
   ======================================== */

.case-studies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.case-study {
  background: var(--gradient-bezel-outer);
  border-radius: var(--radius-3xl);
  padding: 0.375rem;
  border: 1px solid var(--border-subtle);
  transition: transform 0.7s var(--easing-smooth),
              box-shadow 0.7s var(--easing-smooth),
              border-color 0.7s var(--easing-smooth);
}

.case-study--wide {
  grid-column: 1 / -1;
}

.case-study__inner {
  position: relative;
  height: 100%;
  padding: var(--space-2xl);
  border-radius: calc(var(--radius-3xl) - 0.375rem);
  background: var(--gradient-bezel-inner);
  box-shadow: var(--shadow-inner-highlight);
  overflow: hidden;
}

.case-study__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
  opacity: 0.6;
}

.case-study:hover {
  transform: translateY(-3px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.case-study__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.case-study__region {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.case-study__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border-default);
  color: var(--color-secondary);
  flex-shrink: 0;
  transition: transform 0.5s var(--easing-smooth),
              box-shadow 0.5s var(--easing-smooth);
}

.case-study__icon svg {
  width: 18px;
  height: 18px;
}

.case-study:hover .case-study__icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.case-study__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-sm);
}

.case-study__sub {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  color: var(--text-tertiary);
  letter-spacing: var(--ls-normal);
  margin-left: 0.35rem;
}

.case-study__lede {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.case-study__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  line-height: var(--lh-normal);
}

.case-study__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.case-study__list--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-xl);
  row-gap: 0.6rem;
}
