/* ============================================================
   DAKSAYAM — Premium Digital Agency
   Design System & Complete Styles
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --color-bg:           #F0F7FC;
  --color-bg-alt:       #E3F0FA;
  --color-bg-deep:      #D6E9F5;
  --color-white:        #FFFFFF;
  --color-navy:         #0A1628;
  --color-navy-soft:    #1A2A44;
  --color-blue:         #2563EB;
  --color-blue-hover:   #1D4ED8;
  --color-blue-light:   #3B82F6;
  --color-blue-pale:    #DBEAFE;
  --color-blue-glass:   rgba(37, 99, 235, 0.08);
  --color-accent:       #06B6D4;
  --color-accent-soft:  #0EA5E9;
  --color-text:         #0A1628;
  --color-text-muted:   #475569;
  --color-text-light:   #64748B;
  --color-border:       #CBD5E1;
  --color-border-light: #E2E8F0;
  --color-success:      #059669;
  --color-error:        #DC2626;
  --color-overlay:      rgba(10, 22, 40, 0.6);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', 'Fira Mono', monospace;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 7rem;

  /* Layout */
  --container-max:    1400px;
  --container-narrow: 1000px;
  --nav-height:       76px;
  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        20px;
  --radius-xl:        32px;
  --radius-full:      9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md:    0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg:    0 8px 32px rgba(10, 22, 40, 0.10);
  --shadow-xl:    0 16px 48px rgba(10, 22, 40, 0.12);
  --shadow-float: 0 12px 40px rgba(37, 99, 235, 0.15);
  --shadow-glow:  0 0 20px rgba(37, 99, 235, 0.35);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.56, 0.02, 0.03, 1.46);
  --duration: 0.4s;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
h5 { font-size: clamp(0.9375rem, 1vw, 1.0625rem); font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  color: var(--color-text-muted);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-blue);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   3. UTILITY
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }
.reveal-delay-6 { transition-delay: 0.60s; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  line-height: 1.4;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Primary */
.btn--primary {
  background: linear-gradient(180deg, var(--color-blue-light) 0%, var(--color-blue) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(180deg, var(--color-blue) 0%, var(--color-blue-hover) 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.30);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-blue);
  color: var(--color-white);
  background: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

/* White */
.btn--white {
  background: var(--color-white);
  color: var(--color-blue);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--color-border-light);
}

.btn--white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-blue-pale);
}

/* Small */
.btn--small {
  padding: 0.5625rem 1.25rem;
  font-size: 0.8125rem;
}

.btn--small svg {
  width: 15px;
  height: 15px;
}

/* Large */
.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn--large svg {
  width: 20px;
  height: 20px;
}

/* Focus visible for accessibility */
.btn:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav__dropdown-link:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow 0.3s ease;
}

/* Scrolled state — add shadow */
.nav.scrolled {
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.06);
}



.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  z-index: 2;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #2563EB 0%, #0EA5E9 50%, #06B6D4 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.0625rem;
  flex-shrink: 0;
  box-shadow:
    0 2px 8px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  letter-spacing: 0;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Pill around nav links */
.nav__links-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 0.3125rem 0.375rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.nav__link::after {
  display: none;
}

.nav__link:hover {
  color: var(--color-navy);
  background: rgba(37, 99, 235, 0.06);
}

.nav__link:hover::after,
.nav__link.active::after,
.nav__link--active::after {
  display: none;
}

.nav__link.active,
.nav__link--active {
  color: var(--color-navy);
  font-weight: 600;
  background: var(--color-white);
}

/* Dropdown */
.nav__dropdown-wrap {
  position: relative;
}

.nav__dropdown-wrap:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 580px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(10,22,40,0.15), 0 1px 0 var(--color-border-light);
  border: 1px solid var(--color-border-light);
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  z-index: 1100;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border-light);
  border-top: 1px solid var(--color-border-light);
  border-radius: 2px;
}

/* Mega menu grid layout */
.nav__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}

.nav__dropdown-link:hover {
  background: var(--color-bg);
  color: var(--color-blue);
  transform: translateX(2px);
}

.nav__dropdown-link__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.nav__dropdown-link:hover .nav__dropdown-link__icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav__dropdown-link__icon svg {
  width: 20px;
  height: 20px;
  color: white;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.nav__dropdown-link__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.nav__dropdown-link__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
}

.nav__dropdown-link:hover .nav__dropdown-link__title {
  color: var(--color-blue);
}

.nav__dropdown-link__desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* Mega menu featured card */
.nav__dropdown-featured {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.nav__dropdown-featured a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.04) 0%, rgba(6,182,212,0.04) 100%);
  border: 1px solid rgba(37,99,235,0.08);
  border-radius: var(--radius-md);
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.nav__dropdown-featured a:hover {
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(6,182,212,0.08) 100%);
  border-color: rgba(37,99,235,0.15);
}

.nav__dropdown-featured__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.nav__dropdown-featured__text {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Dropdown arrow rotation */
.nav__dropdown-arrow {
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.nav__dropdown-wrap:hover .nav__dropdown-arrow,
.nav__dropdown-wrap.open .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown li a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__dropdown li a:hover {
  background: var(--color-bg);
  color: var(--color-blue);
}

/* CTA button in nav */
.nav__cta {
  margin-left: 0.5rem;
}

.nav__cta.btn--primary {
  background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-blue) 50%, #6366f1 100%);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
  border: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.nav__cta.btn--primary:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
  filter: brightness(1.15);
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1010;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav__toggle:hover {
  background: var(--color-bg);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.4);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.nav__overlay.visible {
  display: block;
}

/* ============================================================
   6. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin-bottom: var(--space-xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-full);
  padding: 0.4375rem 1rem;
  box-shadow: 0 1px 4px rgba(10, 22, 40, 0.03);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.breadcrumb li + li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Home icon for first link */
.breadcrumb li:first-child a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.375rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: -2px;
  flex-shrink: 0;
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color 0.2s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

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

.breadcrumb a:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.breadcrumb li:last-child {
  color: var(--color-navy);
  font-weight: 600;
}

.breadcrumb li:last-child span {
  font-weight: 600;
  color: var(--color-navy);
}

/* ============================================================
   STATIC HERO (homepage)
   ============================================================ */
.hero-static {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
}

.hero-static__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-static__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero-static__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(10, 22, 40, 0.80) 0%,
    rgba(10, 22, 40, 0.60) 35%,
    rgba(10, 22, 40, 0.22) 60%,
    rgba(10, 22, 40, 0.05) 100%
  );
}

.hero-static .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Slider wrapper */
.hero-static__slider {
  position: relative;
  max-width: 540px;
  min-height: 320px;
}

/* Individual slides */
.hero-static__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.hero-static__slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Controls row: arrows + dots */
.hero-static__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
}

/* Dots */
.hero-static__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-static__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  padding: 0;
}

.hero-static__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-static__dot.active {
  width: 28px;
  background: var(--color-white);
}

.hero-static__dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Arrows (inline with dots) */
.hero-static__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  padding: 0;
  flex-shrink: 0;
}

.hero-static__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-static__arrow:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.hero-static__content {
  max-width: 540px;
}

.hero-static__label {
  color: var(--color-accent);
}

.hero-static__label::before {
  background: var(--color-accent);
}

.hero-static__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-static__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-static__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-static__actions .btn {
  padding: 0.8125rem 1.625rem;
  font-size: 0.875rem;
}

.hero-static__outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-static__outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

@media (max-width: 992px) {
  .hero-static {
    height: 440px;
  }
  .hero-static__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 22, 40, 0.75) 0%,
      rgba(10, 22, 40, 0.55) 50%,
      rgba(10, 22, 40, 0.35) 100%
    );
  }
  .hero-static__slider {
    max-width: 100%;
    min-height: auto;
  }
  .hero-static__slide {
    position: relative;
    display: none;
  }
  .hero-static__slide.active {
    display: block;
  }
  .hero-static__arrow {
    width: 32px;
    height: 32px;
  }
  .hero-static__content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-static {
    height: 400px;
  }
  .hero-static__title {
    font-size: 1.75rem;
  }
  .hero-static__desc {
    font-size: 0.9375rem;
  }
  .hero-static__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-static__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   OLD HERO SECTION (slider — kept for service pages if needed)
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Full-screen background image */
.hero-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

/* Dark overlay for text readability */
.hero-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(10, 22, 40, 0.78) 0%,
    rgba(10, 22, 40, 0.60) 35%,
    rgba(10, 22, 40, 0.25) 60%,
    rgba(10, 22, 40, 0.08) 100%
  );
}

/* Content layer */
.hero-section__inner {
  position: relative;
  z-index: 2;
  min-height: calc(92vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
}

/* Text slider container */
.hero-section__text {
  position: relative;
  min-height: 340px;
  max-width: 560px;
}

.hero-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
}

.hero-text-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hero text on dark background */
.hero-section .section-label {
  color: var(--color-accent);
}

.hero-section .section-label::before {
  background: var(--color-accent);
}

.hero-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-section__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-section__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.hero-section__actions .btn {
  padding: 0.8125rem 1.625rem;
  font-size: 0.875rem;
}

.hero-section__actions .btn--outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-section__actions .btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

/* Dots */
.hero-section__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-2xl);
}

.hero-section__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  padding: 0;
}

.hero-section__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-section__dot.active {
  width: 28px;
  background: var(--color-white);
}

.hero-section__dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Arrows on dark background */
.hero-section .hero-slider__arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.hero-section .hero-slider__arrow--prev {
  left: 2rem;
}

.hero-section .hero-slider__arrow--next {
  right: 2rem;
}

.hero-section .hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section {
    min-height: 80vh;
  }
  .hero-section__inner {
    min-height: 80vh;
    padding: var(--space-2xl) 0;
  }
  .hero-section__text {
    min-height: auto;
    max-width: 100%;
  }
  .hero-text-slide {
    position: relative;
    display: none;
  }
  .hero-text-slide.active {
    display: block;
  }
  .hero-section__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 22, 40, 0.75) 0%,
      rgba(10, 22, 40, 0.60) 50%,
      rgba(10, 22, 40, 0.40) 100%
    );
  }
  .hero-slider__arrow { display: none; }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-section__inner {
    min-height: 70vh;
  }
  .hero-section__title {
    font-size: 1.75rem;
  }
  .hero-section__desc {
    font-size: 0.9375rem;
  }
  .hero-section__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-section__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   7. HOMEPAGE HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s var(--ease-out);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Slide background gradients */
.hero-slide:nth-child(1) {
  background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-bg-alt) 55%, var(--color-bg-deep) 100%);
}

.hero-slide:nth-child(2) {
  background: linear-gradient(165deg, #eef2ff 0%, #e0e7ff 55%, #c7d2fe 100%);
}

.hero-slide:nth-child(3) {
  background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
}

.hero-slide:nth-child(4) {
  background: linear-gradient(165deg, #f0fdfa 0%, #ccfbf1 55%, #99f6e4 100%);
}

.hero-slide .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4xl);
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-slide__title {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-slide__text {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-slide__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.hero-slide__visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero illustration background layer */
.hero-slide__illustration {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.hero-slide__illustration img {
  width: 420px;
  height: 420px;
  object-fit: contain;
}

/* Hero photo background — replaces or overlays SVG illustration */
.hero-slide__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-slide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(10,22,40,0.15);
}

/* Slider dots */
.hero-slider__dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.06);
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(10, 22, 40, 0.18);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  padding: 0;
  position: relative;
}

.hero-slider__dot:hover {
  background: rgba(37, 99, 235, 0.35);
  transform: scale(1.2);
}

.hero-slider__dot:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.hero-slider__dot.active {
  width: 32px;
  height: 8px;
  background: var(--color-blue);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.30);
}

/* Slider nav arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.08), 0 0 0 1px rgba(10, 22, 40, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  padding: 0;
}

.hero-slider__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}

.hero-slider__arrow:hover {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.10);
  color: var(--color-blue);
  transform: translateY(-50%) scale(1.06);
}

.hero-slider__arrow:hover svg {
  transform: scale(1.05);
}

.hero-slider__arrow:active {
  transform: translateY(-50%) scale(0.96);
  box-shadow: 0 1px 6px rgba(10, 22, 40, 0.10);
  transition-duration: 0.1s;
}

.hero-slider__arrow:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

.hero-slider__arrow--prev { left: 1.5rem; }
.hero-slider__arrow--next { right: 1.5rem; }

.hero-slider__arrow--prev:hover svg {
  transform: translateX(-1px);
}

.hero-slider__arrow--next:hover svg {
  transform: translateX(1px);
}

/* Legacy selectors preserved for JS compatibility */
.hero-slider__nav { display: none; }
.hero-slider__nav--prev { left: 2rem; }
.hero-slider__nav--next { right: 2rem; }

/* ============================================================
   ORIGINAL HERO (static, single-slide)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-bg-deep) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: var(--space-3xl) 0;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-blue);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-border-light);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__title span {
  display: block;
}

.hero__title .line-accent {
  background: linear-gradient(135deg, var(--color-blue), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-2xl);
}

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

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border-light);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.03em;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.125rem;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  height: 560px;
}

.hero__image-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__image-main .image-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a365d 0%, #2563eb 40%, #06b6d4 100%);
  position: relative;
}

.hero__image-main .image-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.30) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.20) 0%, transparent 50%);
}

.hero__image-main .image-fill::after {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.hero__image-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero__image-shapes {
  position: absolute;
  inset: 0;
}

.hero__image-shapes .shape {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.hero__image-shapes .shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.hero__image-shapes .shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  background: rgba(6, 182, 212, 0.2);
  animation: float 6s ease-in-out infinite reverse;
}

.hero__image-shapes .shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 30%;
  border-color: rgba(6, 182, 212, 0.3);
  animation: float 10s ease-in-out infinite;
}

.hero__image-shapes .node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero__image-shapes .node-1 { top: 25%; left: 25%; }
.hero__image-shapes .node-2 { top: 45%; right: 30%; }
.hero__image-shapes .node-3 { bottom: 35%; left: 45%; }
.hero__image-shapes .node-4 { top: 35%; left: 55%; }

.hero__image-lines {
  position: absolute;
  inset: 0;
}

.hero__image-lines line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.hero__code-block {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  white-space: pre;
  min-width: 240px;
}

.hero__code-block .code-keyword { color: #c084fc; }
.hero__code-block .code-fn      { color: #67e8f9; }
.hero__code-block .code-string  { color: #86efac; }
.hero__code-block .code-comment { color: rgba(255, 255, 255, 0.35); }

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

.hero__float-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-float);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__float-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-blue-pale), var(--color-blue-glass));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

.hero__float-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-navy);
}

.hero__float-text span {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.hero__blob {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero__blob--2 {
  top: auto;
  bottom: -30%;
  right: auto;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

/* ============================================================
   8. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  background: linear-gradient(145deg, var(--color-bg) 0%, var(--color-bg-alt) 60%, var(--color-bg-deep) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero__grid {
  display: flex;
  flex-direction: column;
}

.page-hero--with-image .page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}

.page-hero__title {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  margin-bottom: var(--space-md);
  max-width: 540px;
  line-height: 1.15;
}

.page-hero__subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  max-width: 500px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.page-hero__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.page-hero__actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.page-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10,22,40,0.10);
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

@media (max-width: 992px) {
  .page-hero--with-image .page-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .page-hero__image {
    max-height: 320px;
  }
}

@media (max-width: 480px) {
  .page-hero__image {
    max-height: 220px;
  }
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   9. SECTIONS
   ============================================================ */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section--white {
  background: var(--color-white);
}

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

/* Automark-inspired gradient blob backgrounds */
.section--light::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* Automark-inspired section box */
.section--box {
  background: var(--color-bg);
  border-radius: 36px;
  margin: var(--space-xl) auto;
  max-width: calc(var(--container-max) + var(--space-3xl));
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .section--box {
    border-radius: 60px;
    margin: var(--space-2xl) auto;
  }
}

.section--dark {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.65);
}

.section--dark .section-label {
  color: var(--color-accent);
}

.section--dark .section-label::before {
  background: var(--color-accent);
}

/* Automark-inspired gradient line separator */
.section--white + .section--light::before,
.section--light + .section--white::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
  pointer-events: none;
}

.section__header {
  max-width: 680px;
  margin-bottom: var(--space-3xl);
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__header h2 {
  margin-bottom: var(--space-md);
}

.section__header p {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ============================================================
   SERVICES — DARK (Automark-inspired value cards)
   ============================================================ */
.services-dark {
  background: var(--color-navy);
  overflow: hidden;
}

.services-dark .section__header h2 {
  color: var(--color-white);
}

.services-dark .section__header h2 strong {
  color: var(--color-blue-light);
}

.services-dark .section__header p {
  color: rgba(255, 255, 255, 0.5);
}

.services-dark .section-label {
  color: var(--color-accent);
}

.services-dark .section-label::before {
  background: var(--color-accent);
}

.services-dark__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.svc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.svc-card {
  width: calc(25% - 0.375rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.svc-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.10);
  transform: translateY(-3px);
}

.svc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.svc-card__icon--ai      { background: linear-gradient(145deg, #5b21b6, #7c3aed); }
.svc-card__icon--legacy   { background: linear-gradient(145deg, #b45309, #d97706); }
.svc-card__icon--cloud    { background: linear-gradient(145deg, #0e7490, #0891b2); }
.svc-card__icon--data     { background: linear-gradient(145deg, #0f766e, #0d9488); }
.svc-card__icon--bot      { background: linear-gradient(145deg, #3730a3, #4f46e5); }
.svc-card__icon--product  { background: linear-gradient(145deg, #be185d, #ec4899); }
.svc-card__icon--managed  { background: linear-gradient(145deg, #047857, #059669); }

.svc-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.svc-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.svc-card__list li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.375rem;
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0C4 0 3.96 2.24 4.86 3.14C5.76 4.04 8 4 8 4C8 4 5.76 3.96 4.86 4.86C3.96 5.76 4 8 4 8C4 8 4.04 5.76 3.14 4.86C2.24 3.96 0 4 0 4C0 4 2.24 4.04 3.14 3.14C4.04 2.24 4 0 4 0Z' fill='%2364748B'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.svc-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-blue-light);
  transition: color 0.2s ease;
}

.svc-card__link:hover {
  color: var(--color-white);
}


@media (max-width: 1200px) {
  .svc-card {
    width: calc(33.333% - 0.375rem);
  }
}

@media (max-width: 768px) {
  .svc-card {
    width: calc(50% - 0.375rem);
  }
}

@media (max-width: 480px) {
  .svc-card {
    width: 100%;
    padding: var(--space-xl);
  }
}

/* ============================================================
   10. SERVICE CARDS
   ============================================================ */
.services {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
  position: relative;
}

.services__header {
  max-width: 560px;
  margin-bottom: var(--space-3xl);
}

.services__title {
  margin-bottom: var(--space-md);
}

.services__subtitle {
  font-size: 1.0625rem;
}

.services__grid,
.services-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* Center the last row if it has fewer than 3 items */
.services__grid > :last-child:nth-child(3n+1) {
  grid-column: 2;
}

/* Featured card: spans 2 columns */
.service-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Value grid (horizontal row of cards) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(10,22,40,0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,22,40,0.08), 0 0 0 1px rgba(37,99,235,0.10);
  border-color: rgba(37,99,235,0.15);
}

/* Automark-inspired glow on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::after {
  transform: translate(-50%, -50%) scale(1.5);
}

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

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Inner highlight for depth */
.service-card__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25),
              inset 0 -1px 2px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) translateY(-2px);
  filter: brightness(1.15);
}

/* Service icon gradients — richer, deeper, with glow shadows */
.service-card__icon--dev {
  background: linear-gradient(145deg, #1d4ed8 0%, #3b82f6 60%, #60a5fa 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.30);
}
.service-card__icon--ai {
  background: linear-gradient(145deg, #5b21b6 0%, #7c3aed 50%, #a78bfa 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.30);
}
.service-card__icon--cloud {
  background: linear-gradient(145deg, #0e7490 0%, #0891b2 50%, #22d3ee 100%);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.30);
}
.service-card__icon--data {
  background: linear-gradient(145deg, #0f766e 0%, #0d9488 50%, #2dd4bf 100%);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.30);
}
.service-card__icon--legacy {
  background: linear-gradient(145deg, #b45309 0%, #d97706 50%, #fbbf24 100%);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.30);
}
.service-card__icon--bot {
  background: linear-gradient(145deg, #3730a3 0%, #4f46e5 50%, #818cf8 100%);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.30);
}
.service-card__icon--managed {
  background: linear-gradient(145deg, #047857 0%, #059669 50%, #34d399 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.30);
}
.service-card__icon--product {
  background: linear-gradient(145deg, #be185d 0%, #ec4899 50%, #f9a8d4 100%);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.30);
}
/* legacy aliases */
.service-card__icon--mobile {
  background: linear-gradient(145deg, #5b21b6 0%, #7c3aed 50%, #a78bfa 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.30);
}
.service-card__icon--design {
  background: linear-gradient(145deg, #be185d 0%, #ec4899 50%, #f9a8d4 100%);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.30);
}
.service-card__icon--market {
  background: linear-gradient(145deg, #047857 0%, #059669 50%, #34d399 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.30);
}

.service-card__title {
  font-size: 1.1875rem;
  margin-bottom: 0.625rem;
}

.service-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s var(--ease-out), color 0.2s ease;
}

.service-card__link:hover {
  gap: 0.625rem;
  color: var(--color-blue-hover);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Service card decorative illustration */
.service-card__illustration {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100px;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  overflow: hidden;
  border-radius: 0 var(--radius-lg) 0 0;
}

.service-card__illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover .service-card__illustration {
  opacity: 0.75;
}

/* Service card with webp photo thumbnail */
.service-card__image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  position: relative;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
}

/* Approach section visual */
.approach-visual {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-height: 240px;
  position: relative;
}

.approach-visual img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.approach-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--color-white) 100%);
  pointer-events: none;
}

/* CTA background image */
.cta-section__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-section__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

/* ============================================================
   ABOUT SPLIT (two-column text + image)
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-split__content h2 {
  margin-bottom: var(--space-lg);
}

.about-split__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}

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

.about-split__value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.about-split__value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-top: 2px;
}

.about-split__value strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.about-split__value span {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.about-split__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,22,40,0.12);
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

@media (max-width: 992px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .about-split__image {
    max-height: 400px;
    order: -1;
  }
}

@media (max-width: 480px) {
  .about-split__image {
    max-height: 280px;
  }
  .about-split__value-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

/* ============================================================
   11. VALUE CARDS
   ============================================================ */
.value-card {
  background: linear-gradient(145deg, #f8fafc 0%, #f0f7fc 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease-out);
  box-shadow: none;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.10);
  border-color: rgba(37,99,235,0.18);
}

.value-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0f7ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-blue);
  border: 2px solid rgba(37, 99, 235, 0.12);
  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

/* Subtle outer glow ring on hover */
.value-card:hover .value-card__icon {
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.15),
    0 0 0 4px rgba(37, 99, 235, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: scale(1.08);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.15));
}

.value-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.value-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================================
   12. METRIC CARDS
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.metric-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.07);
  border-color: rgba(37, 99, 235, 0.15);
}

/* Blue accent top line */
.metric-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-card:hover .metric-card__accent {
  opacity: 1;
}

/* Icon */
.metric-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin: 0 auto var(--space-md);
  transition: all 0.35s var(--ease-out);
}

.metric-card:hover .metric-card__icon {
  background: linear-gradient(145deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  transform: scale(1.06);
}

.metric-card__value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.metric-card__value span {
  color: var(--color-blue);
}

.metric-card__prefix {
  font-size: 0.6em;
  font-weight: 600;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.125rem;
}

.metric-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Metrics section visual enhancement */
.section--metrics-enhanced {
  position: relative;
}

.section--metrics-enhanced::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: radial-gradient(ellipse at 100% 50%, rgba(37,99,235,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   13. PROCESS / HOW WE WORK
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Horizontal connector line between steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue-pale), var(--color-blue-light), var(--color-blue-pale));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(145deg, #dbeafe, #93c5fd, #dbeafe);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-blue);
  position: relative;
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-out);
}

.process-step:hover .process-step__number {
  background-image: linear-gradient(145deg, #2563eb, #3b82f6), linear-gradient(145deg, #2563eb, #3b82f6);
  color: var(--color-white);
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.25),
    0 0 20px rgba(37, 99, 235, 0.15),
    0 0 0 4px rgba(37, 99, 235, 0.08);
  transform: scale(1.1);
}

.process-step__title {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* 3-column variant */
.process-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid--3::before {
  top: 28px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
}

/* ============================================================
   CASE STUDIES PAGE — Cards & Mockups
   ============================================================ */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.cs-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all 0.4s var(--ease-out);
}

.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.10);
  border-color: rgba(37, 99, 235, 0.15);
}

/* Visual area with gradient + mockup */
.cs-card__visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cs-card:hover .cs-card__visual {
  filter: brightness(1.05);
}

/* Content area */
.cs-card__content {
  padding: var(--space-xl);
}

.cs-card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  background: var(--color-blue-glass);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.cs-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cs-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.cs-card__outcomes {
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-md);
}

.cs-card__outcomes-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-success);
  margin-bottom: 0.5rem;
}

.cs-card__outcomes p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* CSS Mockups — Browser frame */
.cs-mockup--browser {
  width: 260px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.cs-mockup__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.15);
}

.cs-mockup__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.cs-mockup__bar span:first-child { background: rgba(248, 113, 113, 0.6); }
.cs-mockup__bar span:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.cs-mockup__bar span:nth-child(3) { background: rgba(52, 211, 153, 0.6); }

.cs-mockup__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-mockup__line {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.cs-mockup__row {
  display: flex;
  gap: 6px;
}

.cs-mockup__box {
  flex: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}

.cs-mockup__box--tall {
  height: 48px;
}

.cs-mockup__box--hero {
  height: 40px;
  margin: 0 12px;
  border-radius: 6px;
}

.cs-mockup__box--sm {
  height: 44px;
  flex: 1;
}

.cs-mockup__bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}

.cs-mockup__bar-chart > div {
  flex: 1;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px 3px 0 0;
}

/* CSS Mockups — Phone frame */
.cs-mockup--phone {
  display: flex;
  justify-content: center;
}

.cs-mockup__phone-frame {
  width: 160px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 8px;
  overflow: hidden;
}

.cs-mockup__phone-notch {
  width: 48px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin: 4px auto 8px;
}

.cs-mockup__list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

.cs-mockup__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.cs-mockup__tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 8px 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-mockup__tab-bar span {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.cs-mockup__tab-bar span:first-child {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
  .cs-card__visual {
    height: 180px;
  }
}

/* ============================================================
   FEATURED WORK (Homepage)
   ============================================================ */
.featured-work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.featured-work__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.featured-work__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(10,22,40,0.22), 0 0 30px rgba(37,99,235,0.08);
}

.featured-work__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s var(--ease-out);
}

.featured-work__card:hover .featured-work__bg {
  transform: scale(1.05);
}

.featured-work__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.3) 60%, transparent 100%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.featured-work__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.featured-work__title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.featured-work__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  transform: translateY(4px);
  opacity: 0;
  transition: all 0.35s var(--ease-out);
}

.featured-work__card:hover .featured-work__text {
  transform: translateY(0);
  opacity: 1;
}

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

@media (max-width: 480px) {
  .featured-work__grid {
    grid-template-columns: 1fr;
  }
  .featured-work__card {
    min-height: 240px;
  }
  .featured-work__text {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   14. CASE STUDY CARDS
   ============================================================ */
.case-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.case-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s var(--ease-out);
}

.case-card:hover .case-card__bg {
  transform: scale(1.05);
}

/* Default bg gradient */
.case-card__bg--blue    { background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%); }
.case-card__bg--purple  { background: linear-gradient(160deg, #312e81 0%, #6366f1 60%, #818cf8 100%); }
.case-card__bg--teal    { background: linear-gradient(160deg, #134e4a 0%, #0d9488 60%, #2dd4bf 100%); }
.case-card__bg--orange  { background: linear-gradient(160deg, #7c2d12 0%, #ea580c 60%, #fb923c 100%); }

/* CSS UI mockup inside card */
.case-card__mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.case-card__mockup-inner {
  width: 200px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: perspective(500px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease-out);
}

.case-card:hover .case-card__mockup-inner {
  transform: perspective(500px) rotateY(-3deg) rotateX(1deg);
}

.case-card__mockup-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.case-card__mockup-line:nth-child(1) { width: 70%; background: rgba(255, 255, 255, 0.25); }
.case-card__mockup-line:nth-child(2) { width: 100%; }
.case-card__mockup-line:nth-child(3) { width: 55%; }

.case-card__mockup-block {
  height: 50px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2px;
}

/* Overlay gradient */
.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.1) 55%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  transition: background 0.4s ease;
}

.case-card:hover .case-card__overlay {
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.15) 60%, transparent 100%);
}

.case-card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.case-card__title {
  font-size: 1.375rem;
  color: var(--color-white);
  margin-bottom: 0.375rem;
}

.case-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  max-width: 320px;
  transform: translateY(6px);
  opacity: 0.8;
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
}

.case-card:hover .case-card__desc {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   15. CASE STUDY DETAIL
   ============================================================ */
.case-detail__header {
  width: 100%;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.case-detail__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
}

.case-detail__header h1,
.case-detail__header h2,
.case-detail__header h3 {
  color: var(--color-white);
}

.case-detail__header .section-label {
  color: var(--color-accent);
}

.case-detail__header .section-label::before {
  background: var(--color-accent);
}

.case-detail__header p {
  color: rgba(255, 255, 255, 0.7);
}

.case-detail__outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin: var(--space-3xl) 0;
}

.case-detail__outcome-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--color-border-light);
}

.case-detail__outcome-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.case-detail__outcome-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.case-detail__challenge,
.case-detail__solution {
  padding: var(--space-3xl) 0;
}

.case-detail__challenge {
  background: var(--color-bg);
}

.case-detail__solution {
  background: var(--color-white);
}

/* ============================================================
   16. INDUSTRY CARDS
   ============================================================ */
.industry-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: flex-start;
  padding: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover {
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
}

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

/* Alternate layout on detail page */
.industry-card--alt {
  grid-template-columns: 1fr auto;
}

.industry-card--alt .industry-card__icon {
  order: 2;
}

/* Reverse layout for alternating industries */
.industry-card--reverse {
  grid-template-columns: 1fr auto;
}

.industry-card--reverse .industry-card__visual {
  order: 2;
}

.industry-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-blue-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

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

/* Industry visual — large premium icon circle */
.industry-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card__icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.14) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  box-shadow:
    0 6px 24px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.industry-card:hover .industry-card__icon-wrap {
  transform: scale(1.08);
  box-shadow:
    0 8px 28px rgba(37, 99, 235, 0.18),
    0 0 20px rgba(37, 99, 235, 0.08);
}

.industry-card__icon-wrap svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.12));
}

/* Color variants */
.industry-card__icon-wrap--blue {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.14) 100%);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.10);
}
.industry-card__icon-wrap--red {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.12) 100%);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.10);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.industry-card__icon-wrap--orange {
  background: linear-gradient(145deg, rgba(234, 88, 12, 0.05) 0%, rgba(234, 88, 12, 0.12) 100%);
  color: #ea580c;
  border-color: rgba(234, 88, 12, 0.10);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.industry-card__icon-wrap--slate {
  background: linear-gradient(145deg, rgba(71, 85, 105, 0.05) 0%, rgba(71, 85, 105, 0.12) 100%);
  color: #475569;
  border-color: rgba(71, 85, 105, 0.10);
  box-shadow: 0 6px 24px rgba(71, 85, 105, 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.industry-card__icon-wrap--teal {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.12) 100%);
  color: #0d9488;
  border-color: rgba(13, 148, 136, 0.10);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Capabilities list */
.industry-card__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-lg) 0;
  list-style: none;
}

.industry-card__capabilities li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-blue);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.10);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
}

.industry-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.industry-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.industry-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s ease;
}

.industry-card__link:hover {
  gap: 0.625rem;
}

.industry-card__link svg {
  width: 15px;
  height: 15px;
}

/* ============================================================
   17. SERVICE DETAIL SPECIFIC
   ============================================================ */

/* Service hero — taller than page-hero */
.service-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: linear-gradient(145deg, var(--color-bg) 0%, var(--color-bg-alt) 55%, var(--color-bg-deep) 100%);
  position: relative;
  overflow: hidden;
}

.service-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-hero__content {
  position: relative;
  z-index: 2;
}

.service-hero__title {
  margin-bottom: var(--space-lg);
}

.service-hero__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.service-hero__visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

.feature-item {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
  transition: all 0.35s var(--ease-out);
  flex-shrink: 0;
}

.feature-item:hover .feature-item__icon {
  background: linear-gradient(145deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transform: scale(1.08);
}

.feature-item__icon svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 1px rgba(37, 99, 235, 0.12));
}

.feature-item__title {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.feature-item__text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Architecture visual */
.architecture-visual {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.architecture-visual__title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.architecture-layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.arch-layer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  position: relative;
}

.arch-layer::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-blue);
  flex-shrink: 0;
}

.arch-layer--accent::before  { background: var(--color-accent); }
.arch-layer--success::before { background: var(--color-success); }
.arch-layer--purple::before  { background: #7c3aed; }
.arch-layer--orange::before  { background: #d97706; }

/* ============================================================
   CAPABILITY BLOCKS
   ============================================================ */
.capability-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.capability-block {
  display: flex;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}

.capability-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

.capability-block__accent {
  width: 4px;
  background: linear-gradient(180deg, var(--color-blue), var(--color-accent));
  flex-shrink: 0;
}

.capability-block__content {
  padding: var(--space-xl);
}

.capability-block__title {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.capability-block__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Capabilities list (alt markup in product-engineering) */
.capabilities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.capabilities-list .capability-block {
  display: block;
  padding: var(--space-2xl) var(--space-xl);
  border-left: 4px solid var(--color-blue);
}

.capabilities-list .capability-block h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.capabilities-list .capability-block p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ============================================================
   ARCHITECTURE STEPS (pipeline visual)
   ============================================================ */
.architecture-steps,
.architecture-visual .arch-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.arch-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.arch-step__box {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  min-width: 140px;
  transition: all 0.3s var(--ease-out);
}

.arch-step__box:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.arch-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin: 0 auto var(--space-sm);
}

.arch-step__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
}

.arch-step__arrow {
  color: var(--color-blue-light);
  padding: 0 0.75rem;
  flex-shrink: 0;
}

.arch-step__box--highlight {
  border-color: var(--color-blue-pale);
  background: linear-gradient(145deg, rgba(37,99,235,0.03) 0%, rgba(37,99,235,0.08) 100%);
}

.arch-step--last .arch-step__box {
  border-color: var(--color-blue-pale);
}

/* ============================================================
   CLOUD PIPELINE (premium architecture section)
   ============================================================ */
.cloud-pipeline-section {
  position: relative;
  overflow: hidden;
}

.cloud-pipeline-section::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cloud-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

/* Horizontal connecting line */
.cloud-pipeline__line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-blue-pale),
    var(--color-blue-light) 30%,
    var(--color-blue) 50%,
    var(--color-blue-light) 70%,
    var(--color-blue-pale)
  );
  z-index: 0;
}

.cloud-pipeline__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Numbered circle */
.cloud-pipeline__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  transition: all 0.35s var(--ease-out);
  position: relative;
  z-index: 2;
}

.cloud-pipeline__stage:hover .cloud-pipeline__num {
  background: linear-gradient(145deg, var(--color-blue-light), var(--color-blue));
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(37,99,235,0.22), 0 0 0 5px rgba(37,99,235,0.08);
  transform: scale(1.08);
}

/* Highlight variant for cloud infrastructure stage */
.cloud-pipeline__stage--highlight .cloud-pipeline__num {
  background: linear-gradient(145deg, var(--color-blue-light), var(--color-blue));
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37,99,235,0.18);
}

/* Card below the number */
.cloud-pipeline__card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  width: 100%;
  transition: all 0.35s var(--ease-out);
}

.cloud-pipeline__stage:hover .cloud-pipeline__card {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(10,22,40,0.06);
  border-color: rgba(37,99,235,0.15);
}

.cloud-pipeline__stage--highlight .cloud-pipeline__card {
  border-color: rgba(37,99,235,0.15);
  background: linear-gradient(145deg, rgba(37,99,235,0.02) 0%, rgba(37,99,235,0.06) 100%);
}

.cloud-pipeline__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin: 0 auto var(--space-sm);
}

.cloud-pipeline__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

.cloud-pipeline__desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.cloud-pipeline__caption {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-top: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .cloud-pipeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: var(--space-2xl);
  }
  .cloud-pipeline__line {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--color-blue-pale), var(--color-blue), var(--color-blue-pale));
  }
  .cloud-pipeline__stage {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }
  .cloud-pipeline__num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-bottom: 0;
    font-size: 0.75rem;
  }
  .cloud-pipeline__card {
    flex: 1;
  }
  .cloud-pipeline__icon {
    margin: 0 0 var(--space-sm);
  }
}

/* Alt feature classes (product-engineering, managed-services) */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(37, 99, 235, 0.08);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-out);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-item:hover .feature-icon {
  background: linear-gradient(145deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transform: scale(1.08);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Case study mini cards */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.case-study-mini {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s var(--ease-out);
}

.case-study-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

.case-study-mini__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  background: var(--color-blue-glass);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.case-study-mini__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.case-study-mini__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.case-study-mini__impact {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-success);
}

/* Responsive for service page grids */
@media (max-width: 768px) {
  .capability-blocks,
  .capabilities-list,
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .arch-step {
    flex-direction: column;
  }
  .arch-step__arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }
  .arch-step__box {
    min-width: 0;
    width: 100%;
  }
}

/* Importance block */
.importance-block {
  border-left: 4px solid var(--color-blue);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--color-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-2xl) 0;
}

.importance-block__text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-navy-soft);
  font-style: italic;
  margin: 0;
}

/* Modernisation cards grid */
.modernisation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.modernisation-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-light);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.modernisation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,22,40,0.08), 0 0 0 1px rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.15);
}

.modernisation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modernisation-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.modernisation-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.modernisation-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Phased importance block */
.phased-importance {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-2xl);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
}

.phased-importance__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0.16) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

.phased-importance__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.phased-importance__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.phased-importance__steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.phased-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.phased-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phased-step__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
}

.phased-step__connector {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue-pale), var(--color-blue-light), var(--color-blue-pale));
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* ============================================================
   TIMELINE (full-width phased approach)
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  padding-top: var(--space-xl);
}

/* Connecting line behind nodes */
.timeline__line {
  position: absolute;
  top: calc(var(--space-xl) + 24px);
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue-pale), var(--color-blue-light), var(--color-blue), var(--color-blue-light), var(--color-blue-pale));
  z-index: 0;
}

.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-blue-light), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.20), 0 0 0 5px rgba(37, 99, 235, 0.08);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.timeline__step:hover .timeline__node {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.28), 0 0 0 6px rgba(37, 99, 235, 0.10);
}

.timeline__num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.timeline__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

.timeline__desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 220px;
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    padding-left: var(--space-2xl);
  }
  .timeline__line {
    top: 0;
    bottom: 0;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--color-blue-pale), var(--color-blue), var(--color-blue-pale));
  }
  .timeline__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }
  .timeline__node {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-bottom: 0;
  }
  .timeline__desc {
    max-width: none;
  }
  .timeline__step > div:last-child {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .modernisation-grid {
    grid-template-columns: 1fr;
  }
  .phased-importance {
    grid-template-columns: 1fr;
  }
  .phased-importance__icon {
    width: 48px;
    height: 48px;
  }
  .phased-importance__steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .phased-step__connector {
    width: 2px;
    height: 20px;
    margin: 0 0 0 15px;
  }
}

/* CTA section */
.cta-section {
  padding: var(--space-5xl) 0;
  text-align: center;
}

.cta-section .container {
  max-width: 720px;
}

.cta-section__title {
  margin-bottom: var(--space-md);
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-section__text {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA dark variant */
.cta-section--dark {
  background: linear-gradient(160deg, #0A1628 0%, #0f2440 50%, #132e52 100%);
  position: relative;
  overflow: hidden;
}

.cta-section--dark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.05) 40%, transparent 70%);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

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

.cta-section--dark .cta-section__title {
  color: var(--color-white);
}

.cta-section--dark .cta-section__text {
  color: rgba(255,255,255,0.6);
}

.cta-section--dark .cta-section__bg {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

/* ============================================================
   18. ABOUT PAGE
   ============================================================ */
.about {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__content {
  max-width: 520px;
}

.about__title {
  margin-bottom: var(--space-lg);
}

.about__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.about__feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--color-blue-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-top: 2px;
}

.about__feature-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-navy);
  margin-bottom: 0.125rem;
}

.about__feature-text span {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* About intro 2-column layout */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-4xl) 0;
}

.about-intro__text h2 {
  margin-bottom: var(--space-lg);
}

.about-intro__text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__visual {
  position: relative;
  height: 480px;
}

.about-intro__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.10);
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

@media (max-width: 768px) {
  .about-intro__image {
    max-height: 280px;
  }
}

/* About values grid */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
}

.about-values__item {
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s var(--ease-out);
}

.about-values__item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-pale);
  transform: translateY(-3px);
}

.about-values__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-blue-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.about-values__title {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.about-values__text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Leadership quote */
.leadership-quote {
  position: relative;
  padding: var(--space-3xl) var(--space-3xl) var(--space-3xl) var(--space-4xl);
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7fc 100%);
  border-radius: var(--radius-xl);
  margin: var(--space-3xl) 0;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 24px rgba(10,22,40,0.04);
  overflow: hidden;
}

/* Automark-inspired corner dots */
.leadership-quote__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  opacity: 0.25;
  border-radius: 1px;
}

.leadership-quote__dot--tl { top: -3px; left: -3px; }
.leadership-quote__dot--tr { top: -3px; right: -3px; }
.leadership-quote__dot--bl { bottom: -3px; left: -3px; }
.leadership-quote__dot--br { bottom: -3px; right: -3px; }

.leadership-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: var(--space-xl);
  font-size: 7rem;
  line-height: 1;
  color: var(--color-blue);
  opacity: 0.10;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}

.leadership-quote__text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-navy-soft);
  margin-bottom: var(--space-lg);
}

.leadership-quote__attribution {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.leadership-quote__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.leadership-quote__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
}

.leadership-quote__role {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* About visual (workspace composition) */
.about__visual {
  position: relative;
  height: 520px;
}

.about__image-primary {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-primary .image-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 30%, #7dd3fc 100%);
  position: relative;
}

.about__image-primary .image-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 50%, rgba(37, 99, 235, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
}

.about__workspace {
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about__workspace-bar {
  height: 28px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.about__workspace-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.about__workspace-bar span:nth-child(1) { background: #f87171; }
.about__workspace-bar span:nth-child(2) { background: #fbbf24; }
.about__workspace-bar span:nth-child(3) { background: #34d399; }

.about__workspace-content {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  height: calc(100% - 28px);
}

.about__workspace-sidebar {
  background: rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(37, 99, 235, 0.06);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__workspace-sidebar span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(37, 99, 235, 0.1);
}

.about__workspace-sidebar span:nth-child(2) { width: 70%; background: rgba(37, 99, 235, 0.2); }
.about__workspace-sidebar span:nth-child(4) { width: 80%; }
.about__workspace-sidebar span:nth-child(5) { width: 60%; }

.about__workspace-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__workspace-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(37, 99, 235, 0.06);
}

.about__workspace-line:nth-child(1) { width: 80%; }
.about__workspace-line:nth-child(2) { width: 60%; }
.about__workspace-line:nth-child(3) { width: 90%; }
.about__workspace-line:nth-child(4) { width: 45%; }
.about__workspace-line:nth-child(5) {
  height: 60px;
  width: 100%;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 8px;
  margin-top: 4px;
}

.about__image-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 4px solid var(--color-white);
}

.about__image-secondary .image-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1e3a5f 0%, #2563eb 50%, #0ea5e9 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__team-circles {
  display: flex;
  gap: -8px;
  position: relative;
}

.about__team-circles .circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  margin-left: -12px;
}

.about__team-circles .circle:first-child { margin-left: 0; }
.about__team-circles .circle:nth-child(1) { background: rgba(99, 102, 241, 0.3); }
.about__team-circles .circle:nth-child(2) { background: rgba(6, 182, 212, 0.3); }
.about__team-circles .circle:nth-child(3) { background: rgba(37, 99, 235, 0.3); }
.about__team-circles .circle:nth-child(4) { background: rgba(139, 92, 246, 0.3); }
.about__team-circles .circle:nth-child(5) {
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  font-weight: 600;
}

.about__metrics-card {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-float);
  z-index: 3;
}

.about__metrics-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.about__metrics-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about__metric-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.about__metric-icon--blue   { background: var(--color-blue-pale); color: var(--color-blue); }
.about__metric-icon--cyan   { background: #ccfbf1; color: #0d9488; }
.about__metric-icon--purple { background: #ede9fe; color: #7c3aed; }

.about__metric-text strong {
  display: block;
  font-size: 1rem;
  color: var(--color-navy);
  line-height: 1.2;
}

.about__metric-text span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ============================================================
   19. CONTACT PAGE
   ============================================================ */
.contact {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: var(--space-4xl);
}

.contact__info {
  padding-right: var(--space-xl);
}

.contact__title {
  margin-bottom: var(--space-md);
}

.contact__text {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2xl);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

/* Contact card */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s var(--ease-out);
  margin-bottom: var(--space-md);
}

.contact-card:last-of-type {
  margin-bottom: 0;
}

.contact-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.05);
  transform: translateY(-2px);
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
  transition: all 0.3s var(--ease-out);
}

.contact-card:hover .contact-card__icon {
  background: linear-gradient(145deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transform: scale(1.08);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 1px rgba(37, 99, 235, 0.12));
}

.contact-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.contact-card__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: var(--color-blue-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
}

.contact__detail-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-navy);
}

.contact__detail-text span {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

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

.contact__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  border: 1px solid var(--color-border-light);
}

.contact__social a:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

/* Form wrapper */
.contact__form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.05);
}

.contact__form-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

/* Contact info social links */
.contact-info__social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.contact-info__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.25s var(--ease-out);
}

.contact-info__social-link:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

/* Contact intro text */
.contact-info__intro {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

/* Full-width button */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* Flash messages */
.flash {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flash--success {
  background: #ecfdf5;
  color: var(--color-success);
  border: 1px solid #a7f3d0;
}

.flash--error {
  background: #fef2f2;
  color: var(--color-error);
  border: 1px solid #fecaca;
}

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

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

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-navy);
  background: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

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

.form-group select option {
  padding: 0.5rem;
  font-size: 0.9375rem;
}

.form-group select:hover {
  border-color: var(--color-blue-light);
}

/* ============================================================
   CUSTOM SELECT DROPDOWN
   ============================================================ */
.custom-select {
  position: relative;
}

.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.custom-select__trigger:hover {
  border-color: var(--color-blue-light);
}

.custom-select__trigger:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.custom-select.open .custom-select__trigger {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.custom-select__text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__trigger.has-value .custom-select__text {
  color: var(--color-navy);
  font-weight: 500;
}

.custom-select__arrow {
  flex-shrink: 0;
  color: var(--color-text-light);
  transition: transform 0.25s var(--ease-out);
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.custom-select__options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.10);
  padding: 0.25rem;
  list-style: none;
  margin: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out);
  max-height: 280px;
  overflow-y: auto;
}

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

/* Individual option */
.custom-select__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.custom-select__option:hover {
  background: var(--color-bg);
  color: var(--color-navy);
}

.custom-select__option.selected {
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-blue);
}

/* Service icon in option */
.custom-select__option-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}

.custom-select__option-icon svg {
  width: 13px;
  height: 13px;
}

/* Error state */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-group .error-msg {
  font-size: 0.75rem;
  color: var(--color-error);
  display: none;
  margin-top: 0.125rem;
}

.form-group.error .error-msg {
  display: block;
}

.form__submit {
  align-self: flex-start;
}

/* Form messages */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.form-message--success {
  background: #ecfdf5;
  color: var(--color-success);
  border: 1px solid #a7f3d0;
  display: flex;
}

.form-message--error {
  background: #fef2f2;
  color: var(--color-error);
  border: 1px solid #fecaca;
  display: flex;
}

/* ============================================================
   PORTFOLIO (case studies listing)
   ============================================================ */
.portfolio {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  position: relative;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.portfolio__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.portfolio__header-text {
  max-width: 480px;
}

.portfolio__title {
  margin-bottom: 0.5rem;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-xl);
  min-height: 580px;
}

.portfolio__item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio__item:nth-child(1) {
  grid-row: 1 / 3;
}

.portfolio__item-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.portfolio__item:hover .portfolio__item-bg {
  transform: scale(1.05);
}

.portfolio__item:nth-child(1) .portfolio__item-bg {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
}

.portfolio__item:nth-child(2) .portfolio__item-bg {
  background: linear-gradient(160deg, #312e81 0%, #6366f1 60%, #818cf8 100%);
}

.portfolio__item:nth-child(3) .portfolio__item-bg {
  background: linear-gradient(160deg, #134e4a 0%, #0d9488 60%, #2dd4bf 100%);
}

.portfolio__item:nth-child(4) .portfolio__item-bg {
  background: linear-gradient(160deg, #7c2d12 0%, #ea580c 60%, #fb923c 100%);
}

.portfolio__mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio__mockup-phone {
  width: 140px;
  height: 280px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  position: relative;
  backdrop-filter: blur(4px);
  transform: rotate(-5deg) translateY(20px);
  transition: transform 0.6s var(--ease-out);
}

.portfolio__item:hover .portfolio__mockup-phone {
  transform: rotate(-3deg) translateY(10px);
}

.portfolio__mockup-phone .phone-notch {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin: 12px auto 0;
}

.portfolio__mockup-phone .phone-content {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portfolio__mockup-phone .phone-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.portfolio__mockup-phone .phone-line:nth-child(1) { width: 70%; }
.portfolio__mockup-phone .phone-line:nth-child(2) { width: 100%; }
.portfolio__mockup-phone .phone-line:nth-child(3) { width: 50%; }

.portfolio__mockup-phone .phone-block {
  height: 50px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4px;
}

.portfolio__mockup-screen {
  width: 260px;
  height: 170px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  position: relative;
  backdrop-filter: blur(4px);
  overflow: hidden;
  transform: perspective(600px) rotateY(-8deg);
  transition: transform 0.6s var(--ease-out);
}

.portfolio__item:hover .portfolio__mockup-screen {
  transform: perspective(600px) rotateY(-4deg);
}

.portfolio__mockup-screen .screen-bar {
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.portfolio__mockup-screen .screen-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.portfolio__mockup-screen .screen-body {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.portfolio__mockup-screen .screen-block {
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.portfolio__mockup-screen .screen-block--wide {
  grid-column: 1 / -1;
  height: 40px;
}

.portfolio__mockup-dashboard {
  width: 280px;
  position: relative;
}

.portfolio__mockup-dashboard .dash-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.portfolio__mockup-dashboard .dash-card {
  flex: 1;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px;
}

.portfolio__mockup-dashboard .dash-card .dc-label {
  height: 4px;
  width: 60%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 8px;
}

.portfolio__mockup-dashboard .dash-card .dc-value {
  height: 8px;
  width: 40%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.portfolio__mockup-dashboard .dash-chart {
  height: 80px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.portfolio__mockup-dashboard .dash-chart-bars {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}

.portfolio__mockup-dashboard .dash-chart-bars span {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px 3px 0 0;
}

.portfolio__mockup-dashboard .dash-chart-bars span:nth-child(1) { height: 60%; }
.portfolio__mockup-dashboard .dash-chart-bars span:nth-child(2) { height: 85%; }
.portfolio__mockup-dashboard .dash-chart-bars span:nth-child(3) { height: 45%; }
.portfolio__mockup-dashboard .dash-chart-bars span:nth-child(4) { height: 70%; background: rgba(255,255,255,0.35); }
.portfolio__mockup-dashboard .dash-chart-bars span:nth-child(5) { height: 90%; }
.portfolio__mockup-dashboard .dash-chart-bars span:nth-child(6) { height: 55%; }

.portfolio__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2xl);
  z-index: 2;
}

.portfolio__item-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.portfolio__item-title {
  font-size: 1.375rem;
  color: var(--color-white);
  margin-bottom: 0.375rem;
}

.portfolio__item-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  max-width: 300px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--space-5xl) 0;
  background: linear-gradient(170deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--space-3xl);
}

.testimonials__title {
  margin-bottom: var(--space-md);
}

.testimonials__track-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-xl);
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card__quote-mark {
  position: absolute;
  top: -8px;
  left: var(--space-2xl);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-blue);
  opacity: 0.12;
  font-family: Georgia, 'Times New Roman', serif;
}

.testimonial-card__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-navy-soft);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-card__avatar--blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.testimonial-card__avatar--purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.testimonial-card__avatar--cyan   { background: linear-gradient(135deg, #0891b2, #22d3ee); }

.testimonial-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  display: block;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  transition: all 0.2s ease;
}

.testimonials__btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: var(--color-blue-glass);
}

.testimonials__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all 0.3s ease;
  padding: 0;
  border: none;
  cursor: pointer;
}

.testimonials__dot.active {
  background: var(--color-blue);
  width: 28px;
  border-radius: 5px;
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #0A1628 0%, #0d1b30 100%);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-5xl) 0 var(--space-xl);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.footer__logo .nav__logo-mark {
  background: linear-gradient(135deg, var(--color-blue), var(--color-accent));
}

.footer__brand-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 280px;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

/* Footer contact items */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.footer__contact-item:last-child {
  margin-bottom: 0;
}

.footer__contact-item > svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer__contact-item > div span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.footer__contact-item > div a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer__contact-item > div a:hover {
  color: var(--color-white);
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.footer__contact-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.footer__contact-text a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

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

/* Footer social icons */
.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__social a:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 0 0 12px rgba(37,99,235,0.4);
}

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

/* Newsletter */
.footer__newsletter-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.footer__newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer__newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer__newsletter-form input:focus {
  border-color: var(--color-blue);
}

.footer__newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.footer__newsletter-form button:hover {
  background: var(--color-blue-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-xl);
  margin-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   21. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* — 1200px — */
@media (max-width: 1200px) {
  .hero__grid       { gap: var(--space-2xl); }
  .hero__visual     { height: 480px; }
  .hero__image-main { height: 400px; }

  .services__grid   { gap: var(--space-lg); }
  .process-grid     { gap: var(--space-lg); }

  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: var(--space-2xl);
  }

  .footer__grid > *:last-child {
    grid-column: 1 / -1;
  }
}

/* — 992px — */
@media (max-width: 992px) {
  /* Navigation — go mobile */
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--color-white);
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    gap: 0;
    z-index: 1005;
    overflow-y: auto;
  }

  .nav__links.open .nav__links-pill {
    display: contents;
  }

  .nav__links.open .nav__link {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
    font-size: 1.0625rem;
    color: var(--color-navy);
    background: transparent;
  }

  .nav__links.open .nav__link:hover {
    color: var(--color-blue);
    background: transparent;
  }

  .nav__links.open .nav__dropdown-wrap {
    width: 100%;
  }

  .nav__links.open .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: var(--color-bg);
    padding: 0.25rem 0 0.25rem var(--space-md);
    border-radius: 0;
    width: 100%;
    display: none;
  }

  .nav__links.open .nav__dropdown-wrap.open .nav__dropdown {
    display: block;
  }

  .nav__links.open .nav__dropdown::before {
    display: none;
  }

  .nav__links.open .nav__cta {
    margin: var(--space-lg) 0 0;
    width: 100%;
    text-align: center;
  }

  .nav__links.open .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .hero__visual     { height: 400px; order: -1; }
  .hero__image-main { width: 100%; height: 350px; }
  .hero__float-card { left: 10px; bottom: 20px; }
  .hero__stats      { gap: var(--space-xl); }

  /* Hero slider */
  .hero-slide .container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-3xl);
  }

  .hero-slide__content { max-width: 100%; }
  .hero-slide__visual  { height: 320px; order: -1; }
  .hero-slider__nav    { display: none; }
  .hero-slider__arrow  { display: none; }

  /* Services grid at tablet */
  .services-listing__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services__grid > :last-child:nth-child(3n+1),
  .services-listing__grid > :last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__visual   { height: 420px; }
  .about-intro     { grid-template-columns: 1fr; }
  .about-values    { grid-template-columns: 1fr 1fr; }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-grid,
  .process-grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid::before,
  .process-grid--3::before {
    display: none;
  }

  /* Case study outcomes */
  .case-detail__outcomes {
    grid-template-columns: 1fr 1fr;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .portfolio__item:nth-child(1) {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .portfolio__item { min-height: 280px; }

  /* Metrics */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .metric-card + .metric-card::before { display: none; }

  /* Contact */
  .contact__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact__info { padding-right: 0; }

  /* Service hero */
  .service-hero .container {
    grid-template-columns: 1fr;
  }

  .service-hero__visual { height: 320px; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer__grid > *:last-child {
    grid-column: auto;
  }
}

/* — 768px — */
@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  /* Hero adjustments */
  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .hero__stat { flex: 0 0 calc(50% - var(--space-md)); }

  /* About */
  .about__visual        { height: 360px; }
  .about__image-primary { width: 90%; height: 280px; }
  .about__image-secondary { width: 60%; height: 180px; }
  .about__metrics-card  { display: none; }
  .about-values         { grid-template-columns: 1fr; }

  /* Services */
  .services__grid,
  .services-listing__grid { grid-template-columns: 1fr; }

  /* Service card images */
  .service-card__image { height: 140px; }

  /* Approach visual */
  .approach-visual { max-height: 200px; }
  .approach-visual img { height: 200px; }

  /* Hero photo */
  .hero-slide__photo img { opacity: 0.12; }

  /* Process */
  .process-grid,
  .process-grid--3 { grid-template-columns: 1fr 1fr; }

  /* Case detail outcomes */
  .case-detail__outcomes { grid-template-columns: 1fr 1fr; }

  /* Features */
  .features-grid,
  .features-grid--2col { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__item:nth-child(1) { grid-column: auto; }
  .portfolio__item { min-height: 260px; }

  /* Metrics */
  .metrics-grid { grid-template-columns: 1fr 1fr; }

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

  /* Testimonial */
  .testimonial-card { padding: var(--space-xl); }
  .testimonial-card__text { font-size: 1rem; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__newsletter-form {
    flex-direction: column;
  }

  /* Section padding */
  .section { padding: var(--space-3xl) 0; }
}

/* — 480px — */
@media (max-width: 480px) {
  :root {
    --space-5xl:  4rem;
    --space-4xl:  2.5rem;
    --nav-height: 64px;
  }

  .container { padding: 0 var(--space-md); }

  /* Hero */
  .hero__visual     { height: 300px; }
  .hero__image-main { height: 260px; }
  .hero__float-card { display: none; }
  .hero__code-block { display: none; }
  .hero__blob       { display: none; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Hero slider */
  .hero-slide .container  { grid-template-columns: 1fr; }
  .hero-slide__visual     { height: 200px; }
  .hero-slide__title      { font-size: 1.75rem; }
  .hero-slide__text       { font-size: 0.9375rem; }
  .hero-slide__actions    { flex-direction: column; align-items: stretch; }
  .hero-slide__actions .btn { width: 100%; justify-content: center; }
  .hero-slider__dots      { bottom: 0.875rem; padding: 0.375rem 0.625rem; }

  /* Image elements on mobile */
  .service-card__image    { height: 120px; }
  .approach-visual        { max-height: 160px; margin-bottom: var(--space-xl); }
  .approach-visual img    { height: 160px; }
  .hero-slide__photo img  { opacity: 0.08; }

  /* Metrics */
  .metrics-grid { grid-template-columns: 1fr; }

  /* About */
  .about__image-secondary { display: none; }
  .about__visual          { height: 260px; }
  .about__image-primary   { width: 100%; height: 260px; }
  .about-values           { grid-template-columns: 1fr; }

  /* Services */
  .service-card { padding: var(--space-lg); }
  .services__grid,
  .services-listing__grid { grid-template-columns: 1fr; }

  /* Process */
  .process-grid,
  .process-grid--3 { grid-template-columns: 1fr; }

  /* Case outcomes */
  .case-detail__outcomes { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { padding: var(--space-lg); }
  .testimonial-card__quote-mark { display: none; }

  /* Contact */
  .contact__form-wrapper { padding: var(--space-lg); }

  /* Section label */
  .section-label { font-size: 0.75rem; }

  /* Importance block */
  .importance-block { padding: var(--space-lg) var(--space-lg); }

  /* CTA section */
  .cta-section__actions { flex-direction: column; align-items: stretch; }
  .cta-section__actions .btn { width: 100%; justify-content: center; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.75rem; }

  /* Metric card */
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card__value { font-size: 2rem; }

  /* Leadership quote */
  .leadership-quote { padding: var(--space-lg); }
  .leadership-quote::before { font-size: 4rem; }

  /* Footer */
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom-links { flex-wrap: wrap; gap: var(--space-md); }
}

/* ============================================================
   22. PRINT STYLES
   ============================================================ */
@media print {
  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
    line-height: 1.5;
  }

  /* Hide non-essential elements */
  .nav,
  .nav__toggle,
  .hero__blob,
  .hero__float-card,
  .hero__code-block,
  .hero-slider__nav,
  .hero-slider__arrow,
  .hero-slider__dots,
  .testimonials__controls,
  .footer__newsletter-form,
  .footer__social,
  .footer__bottom-links,
  .contact__social,
  .btn--outline,
  .btn--white,
  .cta-section {
    display: none !important;
  }

  /* Colors */
  a { color: var(--color-navy); text-decoration: underline; }
  h1, h2, h3, h4, h5, h6 { color: black; page-break-after: avoid; }
  p { color: #333; }
  .section-label { color: #555; }
  .section-label::before { background: #555; }

  /* Layout */
  .container { max-width: 100%; padding: 0; }
  section, article { page-break-inside: avoid; }

  .hero__grid,
  .about__grid,
  .about-intro,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .services__grid,
  .features-grid,
  .process-grid,
  .about-values,
  .case-detail__outcomes {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    background: #f5f5f5;
    color: #333;
    padding: 1rem 0;
  }

  .footer__logo,
  .footer__heading,
  .footer__links a {
    color: #333;
  }

  .footer__copyright {
    color: #666;
  }

  /* Page breaks */
  .section--dark,
  .page-hero,
  .service-hero,
  .case-detail__header {
    background: #f9f9f9 !important;
    color: black !important;
  }

  .section--dark h2,
  .page-hero h1,
  .service-hero h1 {
    color: black !important;
  }
}

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

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

  .hero-slide {
    transition: opacity 0.1s ease;
  }
}

/* ============================================================
   MEGA MENU MOBILE
   ============================================================ */
@media (max-width: 992px) {
  .nav__dropdown {
    position: static;
    width: 100% !important;
    max-width: 100%;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 var(--space-md);
    display: none;
    background: transparent;
  }

  .nav__dropdown::before {
    display: none;
  }

  .nav__dropdown.open {
    display: block;
  }

  .nav__dropdown-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav__dropdown-link {
    padding: 0.625rem 0.5rem;
  }

  .nav__dropdown-link__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .nav__dropdown-link__icon svg {
    width: 16px;
    height: 16px;
  }

  .nav__dropdown-link__desc {
    display: none;
  }

  .nav__dropdown-featured {
    display: none;
  }
}
