/* ==========================================================================
   Base & Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 10% -5%, rgba(249, 115, 22, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(249, 115, 22, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(249, 115, 22, 0.04), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ==========================================================================
   Glass Theme Utilities
   ========================================================================== */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}

.glass-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark), var(--glass-inset-dark);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.2;
}

h2 {
  font-weight: var(--weight-bold);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

h3 {
  font-weight: var(--weight-semibold);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(var(--space-sm), 4vw, var(--space-md));
}

.section {
  padding: clamp(var(--space-xl), 8vw, var(--space-2xl)) 0;
}

.section-alt {
  background: rgba(238, 241, 247, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border-light);
  border-bottom: 1px solid var(--glass-border-light);
}

.section-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-header {
  margin-bottom: clamp(var(--space-lg), 5vw, var(--space-xl));
}

.section-header h2 {
  max-width: 600px;
}

.section-header p {
  margin-top: var(--space-sm);
  max-width: 560px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 2rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-accent);
}

.btn-secondary {
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-accent);
  border-color: var(--color-accent-border);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--color-accent);
  box-shadow: var(--glass-shadow);
}

.hero .btn-secondary,
.page-hero .btn-secondary,
.cta-banner .btn-secondary,
.footer-cta .btn-secondary {
  color: var(--color-text-on-dark);
  border-color: var(--glass-border-light);
  background: var(--glass-bg-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.cta-banner .btn-secondary:hover,
.footer-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: var(--glass-shadow-dark);
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-accent);
  font-weight: 500;
  font-size: var(--text-sm);
}

.btn-link:hover {
  color: var(--color-accent-hover);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-primary);
}

.site-nav.scrolled {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-md);
  position: relative;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.logo-lockup .logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  transition: color var(--transition);
}

.site-footer .logo-lockup .logo-text {
  color: var(--color-text-primary);
}

.footer-brand .logo-lockup {
  margin-bottom: var(--space-sm);
}

.logo-mark {
  width: 26px;
  height: 26px;
  background: var(--color-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  font-size: 11px;
  font-weight: var(--weight-bold);
  line-height: 1;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.nav-links a {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition);
}

.site-nav:not(.scrolled) .nav-links a {
  color: var(--color-text-secondary);
}

.site-nav.scrolled .nav-links a {
  color: var(--color-text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.btn-nav {
  font-family: var(--font-primary);
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  transition: transform var(--transition), opacity var(--transition),
              background var(--transition);
  transform-origin: center;
}

.site-nav:not(.scrolled) .nav-toggle span {
  background: var(--color-text-secondary);
}

.site-nav.scrolled .nav-toggle span {
  background: var(--color-text-primary);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 769px) {
  .nav-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .logo-lockup {
    flex-shrink: 0;
  }

  .nav-menu {
    flex: 1;
    position: static;
    max-height: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
  }

  .nav-links {
    flex: 1;
    justify-content: center;
  }

  .nav-cta {
    flex-shrink: 0;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999;
  }

  .nav-menu.open {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: var(--text-base);
    color: var(--color-text-secondary) !important;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    color: var(--color-accent) !important;
    background: var(--color-accent-muted);
  }

  .nav-cta {
    margin: var(--space-sm) 1.5rem var(--space-md);
    width: calc(100% - 3rem);
    text-align: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, rgba(230, 240, 255, 0.6) 0%, rgba(238, 241, 247, 0.4) 100%);
  color: var(--color-text-secondary);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-cta {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border-bottom: 1px solid var(--glass-border-light);
  padding: 2rem 0;
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.footer-cta p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.footer-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.footer-cta .btn-secondary {
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.footer-cta .btn-secondary:hover {
  background: rgba(249, 115, 22, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(var(--space-md), 3vw, var(--space-lg));
  padding: 2.5rem 0;
}

.footer-brand p {
  font-size: var(--text-sm);
  max-width: 280px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.footer-socials a:hover {
  color: var(--color-accent);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-accent);
  fill: none;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border-light);
  padding: 1rem 0;
  background: rgba(230, 240, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-legal {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-legal a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 2rem 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-md), 3vw, var(--space-lg));
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-accent), var(--glass-inset);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-size: var(--text-xl);
}

.card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(var(--space-md), 3vw, var(--space-lg));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(var(--space-md), 4vw, var(--space-xl));
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(var(--space-md), 3vw, var(--space-lg));
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero — Home
   ========================================================================== */

.hero {
  min-height: clamp(480px, 78vh, 640px);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: var(--space-md) 0;
  overflow: hidden;
  background: #101f3d;
  color: var(--color-text-on-dark-secondary);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(249, 115, 22, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(249, 115, 22, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  gap: var(--space-lg);
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  margin-bottom: var(--space-sm);
  font-weight: var(--weight-black);
  color: var(--color-text-on-dark);
}

.hero p {
  font-size: clamp(var(--text-sm), 2vw, var(--text-base));
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-on-dark-secondary);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* Hero stats strip */
.hero-stats {
  width: 100%;
  margin-top: auto;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-lg);
  padding: 0.25rem;
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  box-shadow: var(--glass-shadow-dark), var(--glass-inset-dark);
}

.hero-stat {
  text-align: center;
  padding: 1rem 0.75rem;
  position: relative;
  transition: background var(--transition);
  border-radius: calc(var(--radius-lg) - 4px);
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number-wrap {
  display: block;
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: var(--weight-black);
  color: var(--color-accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-number {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.stat-suffix {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.stat-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-on-dark-secondary);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    padding: 0.4rem;
  }

  .hero-stat {
    padding: 0.75rem 0.5rem;
  }

  .hero-stat::after {
    display: none;
  }
}

/* ==========================================================================
   Client Logo Marquee
   ========================================================================== */

.client-marquee {
  background: rgba(238, 241, 247, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border-light);
  border-bottom: 1px solid var(--glass-border-light);
  padding: 1.5rem 0;
  overflow: hidden;
}

.client-marquee-label {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-right: var(--space-md);
}

.client-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.4rem;
  box-shadow: var(--glass-shadow), var(--glass-inset);
}

.client-pill--logo {
  padding: 0.75rem 1.6rem;
}

.client-pill--rca {
  padding: 0.85rem 1.8rem;
}

.client-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.client-logo--rca {
  height: 38px;
  max-width: 260px;
}

.client-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  font-size: 11px;
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.client-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  white-space: nowrap;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Home Services Grid
   ========================================================================== */

.services-section {
  background: transparent;
  padding: var(--space-2xl) 0;
}

.services-section .section-header {
  text-align: left;
}

.services-section .section-header p {
  color: var(--color-text-secondary);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Home services tab switcher */
.home-services-explorer {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(var(--space-md), 3vw, var(--space-lg));
  align-items: stretch;
  min-height: 420px;
}

.home-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-service-tab {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.home-service-tab:hover,
.home-service-tab.active {
  border-color: var(--color-accent);
  background: var(--color-accent-muted);
  box-shadow: var(--shadow-sm);
}

.home-service-tab-num {
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  min-width: 1.5rem;
}

.home-service-tab-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.35;
}

.home-services-preview {
  position: relative;
  min-height: 420px;
}

.home-service-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.home-service-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 1;
}

.home-service-panel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.home-service-panel h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.home-service-panel > p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  max-width: 520px;
}

.home-service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-service-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.home-service-points li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.5rem;
  top: 0.55em;
}

.home-service-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-decoration: none;
}

.home-service-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Services overview page cards */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-overview-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-overview-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.service-overview-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 2px 8px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
}

.service-overview-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.service-overview-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.35;
  padding-right: 2.5rem;
}

.service-overview-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.service-overview-card h3 a:hover {
  color: var(--color-accent);
}

.service-overview-card > p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.service-overview-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

.service-overview-link:hover {
  color: var(--color-accent-hover);
}

.ml-platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1200px) {
  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ml-platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .home-services-explorer {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .home-services-preview {
    min-height: 380px;
  }

  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .ml-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-services-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .home-services-explorer {
    grid-template-columns: minmax(280px, 360px) 1fr;
  }
}

.home-service-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
}

.home-service-card-num {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.home-service-card-title {
  font-size: clamp(var(--text-sm), 2vw, var(--text-base));
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.35;
  margin-bottom: var(--space-xs);
}

.home-service-card-desc {
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

.home-service-card-link {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
}

.home-service-card:hover .home-service-card-link {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .home-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .home-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

.service-detail {
  scroll-margin-top: 88px;
}

.service-detail:target {
  border-color: rgba(249, 115, 22, 0.45);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-accent), var(--glass-inset);
}

/* ==========================================================================
   Process Interactive (Home)
   ========================================================================== */

.process-section {
  background: linear-gradient(135deg, rgba(238, 241, 247, 0.5) 0%, rgba(230, 240, 255, 0.3) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border-light);
  border-bottom: 1px solid var(--glass-border-light);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.process-section .section-header p {
  color: var(--color-text-secondary);
}

.process-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: var(--space-xl);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.process-pill {
  padding: 0.8rem 1.8rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
}

.process-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.process-pill:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.15);
}

.process-pill.active {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-text-on-dark);
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
  position: relative;
  z-index: 2;
}

.process-panel-wrap {
  position: relative;
}

.process-panel {
  display: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 248, 255, 0.5) 100%);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.process-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.05), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.process-panel.active,
.process-panel.is-animating-out {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--space-lg);
  align-items: center;
}

.process-panel.is-animating-out {
  animation: processFadeOut 0.15s ease forwards;
}

.process-panel.is-animating-in {
  animation: processFadeIn 0.3s ease forwards;
}

@keyframes processFadeOut {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes processFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.process-panel-number {
  font-size: 5rem;
  font-weight: var(--weight-black);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
  letter-spacing: -2px;
}

.process-panel h3 {
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  font-size: 1.6rem;
  color: var(--color-text-primary);
}

.process-panel-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.process-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.process-point {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  transition: transform 0.3s ease;
}

.process-point:hover {
  transform: translateX(4px);
}

.process-point-check {
  color: var(--color-accent);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.process-illustration {
  width: 180px;
  height: 180px;
  position: relative;
  margin: 0 auto;
}

.process-illustration--discovery .illus-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-accent-muted);
}

.process-illustration--discovery .illus-circle:nth-child(1) {
  width: 80px; height: 80px; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.process-illustration--discovery .illus-circle:nth-child(2) {
  width: 50px; height: 50px; top: 20%; left: 20%;
  background: var(--color-surface);
}
.process-illustration--discovery .illus-circle:nth-child(3) {
  width: 40px; height: 40px; bottom: 15%; right: 15%;
  background: var(--color-accent-muted);
}

.process-illustration--strategy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 20px;
}
.process-illustration--strategy .illus-square {
  aspect-ratio: 1;
  background: var(--color-accent-muted);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.process-illustration--strategy .illus-square:nth-child(5) {
  background: var(--color-accent);
  opacity: 0.3;
}

.process-illustration--build {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding-bottom: 20px;
}
.process-illustration--build .illus-bar {
  width: 28px;
  background: var(--color-accent-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px 4px 0 0;
}
.process-illustration--build .illus-bar:nth-child(1) { height: 60px; }
.process-illustration--build .illus-bar:nth-child(2) { height: 100px; background: var(--color-accent); opacity: 0.25; }
.process-illustration--build .illus-bar:nth-child(3) { height: 75px; }
.process-illustration--build .illus-bar:nth-child(4) { height: 120px; }

.process-illustration--deploy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
}
.process-illustration--deploy .illus-step {
  height: 24px;
  background: var(--color-accent-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.process-illustration--deploy .illus-step:nth-child(1) { width: 40%; }
.process-illustration--deploy .illus-step:nth-child(2) { width: 60%; }
.process-illustration--deploy .illus-step:nth-child(3) { width: 80%; background: var(--color-accent); opacity: 0.2; }
.process-illustration--deploy .illus-step:nth-child(4) { width: 100%; }

@media (max-width: 768px) {
  .process-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .process-panel.active {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .process-illustration {
    display: none;
  }

  .process-points {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Why Choose Us (Home)
   ========================================================================== */

.why-section {
  background: transparent;
  padding: var(--space-2xl) 0;
}

.why-section .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.why-section .section-header h2,
.why-section .section-header p {
  margin-left: auto;
  margin-right: auto;
}

.why-section .section-header p {
  color: var(--color-text-secondary);
  max-width: 600px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.why-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent), var(--glass-inset);
  border-color: var(--color-accent-border);
  background: var(--glass-bg-strong);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(249, 115, 22, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.why-card-stat {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.why-card-label {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.why-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.why-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.why-trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.why-trust-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.why-trust-item h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
}

.why-trust-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .why-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-cards {
    grid-template-columns: 1fr;
  }

  .why-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: var(--color-dark);
  padding: clamp(var(--space-lg), 6vw, var(--space-xl)) 0;
  text-align: center;
  color: var(--color-text-on-dark-secondary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  margin-bottom: var(--space-md);
  color: var(--color-text-on-dark);
  font-weight: var(--weight-bold);
}

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */

.page-hero {
  min-height: clamp(220px, 32vh, 320px);
  display: flex;
  align-items: center;
  padding: var(--space-md) 0;
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
}

.page-hero h1 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  margin-bottom: 0.35rem;
  font-weight: var(--weight-black);
  color: var(--color-text-on-dark);
}

.page-hero p {
  font-size: var(--text-base);
  max-width: 560px;
  color: var(--color-text-on-dark-secondary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: var(--color-text-on-dark-secondary);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: var(--color-text-on-dark-secondary);
}

.breadcrumb .current {
  color: var(--color-accent);
}

/* ==========================================================================
   About Page
   ========================================================================== */

.pull-quote {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-md), 4vw, var(--space-lg));
  font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  line-height: 1.5;
  font-style: italic;
  box-shadow: var(--glass-shadow), var(--glass-inset);
}

.mv-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-accent), var(--glass-inset);
}

.team-card {
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-accent), var(--glass-inset);
}

.story-text p {
  margin-bottom: var(--space-md);
}

.story-text p:last-child {
  margin-bottom: 0;
}

.mv-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.team-card h3 {
  font-size: var(--text-base);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.team-bio {
  font-size: var(--text-sm);
}

/* ==========================================================================
   Services Page
   ========================================================================== */

.service-card .card-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition);
}

.service-card .card-link:hover {
  color: var(--color-accent-hover);
}

/* Vertical Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-lg) + 7px);
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-surface-alt);
}

.timeline-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Tech Stack Pills */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-sm);
}

.tech-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: rgba(249, 115, 22, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.tech-pill:hover {
  background: rgba(249, 115, 22, 0.14);
}

/* ==========================================================================
   Projects Page
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--glass-inset);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-btn.active {
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-color: var(--color-accent);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.project-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
  background: var(--color-surface);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.project-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.project-card-industry {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
}

.project-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.project-card-subline {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.project-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.project-tech-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--color-text-secondary);
}

.project-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.project-industry {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.project-outcome {
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.project-outcome-icon {
  flex-shrink: 0;
  line-height: 1.4;
}

.project-card .card-link {
  margin-top: var(--space-xs);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 600;
}

.project-card .card-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Blogs Page
   ========================================================================== */

.featured-post {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-md), 4vw, var(--space-lg));
  margin-bottom: clamp(var(--space-lg), 5vw, var(--space-xl));
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.featured-post:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-md);
}

.featured-post h2 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  margin-bottom: var(--space-xs);
}

.blog-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xs);
}

.blog-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-xs) 0;
}

.blog-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.blog-card .card-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 500;
}

.blog-card .card-link:hover {
  color: var(--color-accent-hover);
}

/* Blog Article */
.blog-article-hero {
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
  padding: var(--space-lg) 0;
}

.blog-article-hero-inner {
  max-width: 780px;
}

.blog-article-hero h1 {
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  font-weight: var(--weight-black);
  color: var(--color-text-on-dark);
  line-height: 1.2;
  margin: var(--space-sm) 0;
}

.blog-article-hero .blog-meta {
  color: var(--color-text-on-dark-secondary);
  margin-bottom: var(--space-sm);
}

.blog-article-hero .blog-lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-text-on-dark-secondary);
  max-width: 720px;
}

.blog-article {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.blog-article-body {
  max-width: 720px;
  margin: 0 auto;
}

.blog-article-body h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: var(--space-lg) 0 var(--space-sm);
  line-height: 1.3;
}

.blog-article-body h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: var(--space-md) 0 var(--space-xs);
}

.blog-article-body p {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.blog-article-body ul,
.blog-article-body ol {
  margin: var(--space-sm) 0 var(--space-md);
  padding-left: 1.35rem;
}

.blog-article-body li {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.blog-article-body li strong {
  color: var(--color-text-primary);
}

.blog-highlight-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md) var(--space-md) 2.25rem;
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-sm);
}

.blog-highlight-list li {
  margin-bottom: 0.4rem;
}

.blog-callout {
  background: var(--color-accent-muted);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.blog-callout p {
  margin-bottom: 0;
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}

.blog-article-cta {
  max-width: 720px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg);
  background: var(--color-dark);
  border-radius: var(--radius-md);
  text-align: center;
}

.blog-article-cta h2 {
  font-size: var(--text-2xl);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-xs);
}

.blog-article-cta p {
  color: var(--color-text-on-dark-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-on-dark-secondary);
  margin-bottom: var(--space-sm);
  transition: color var(--transition);
}

.blog-back-link:hover {
  color: var(--color-accent);
}

/* Blog listing — detailed card */
.blog-card-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-card-detail:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.blog-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.blog-card-date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: auto;
}

.blog-card-detail h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}

.blog-card-detail h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card-detail h3 a:hover {
  color: var(--color-accent);
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.blog-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-card-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.blog-card-author-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

.blog-card-read-time {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.blog-card-read-link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card-read-link:hover {
  color: var(--color-accent-hover);
}

/* Blog Post — Agentic AI (full layout) */
.blog-post-hero {
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: calc(64px + var(--space-lg)) 0 var(--space-lg);
}

.blog-post-hero-inner {
  max-width: 780px;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-secondary);
  margin-bottom: var(--space-md);
}

.blog-breadcrumb a {
  color: var(--color-text-on-dark-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-breadcrumb a:hover {
  color: var(--color-accent);
}

.blog-breadcrumb-sep {
  color: var(--color-text-muted);
}

.blog-post-hero .blog-hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.blog-post-hero h1 {
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 780px;
  margin-bottom: var(--space-sm);
}

.blog-post-hero-lead {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-secondary);
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: var(--space-md);
}

.blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-secondary);
}

.blog-meta-bar {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.blog-meta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.blog-meta-bar-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-meta-bar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-meta-bar-author-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.blog-meta-bar-author-name {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.blog-meta-bar-author-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.blog-meta-bar-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta-bar-share-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-right: 0.25rem;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.blog-share-btn:hover {
  background: var(--color-accent-muted);
  color: var(--color-accent);
}

.blog-post-content {
  background: var(--color-bg);
  padding: var(--space-2xl) 0;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

.article-body {
  max-width: 680px;
}

.article-body h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.article-body h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.article-body blockquote {
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 2rem;
  font-style: italic;
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  margin: 2rem 0;
}

.article-body blockquote p {
  margin-bottom: 0;
  color: var(--color-text-primary);
}

.article-body .highlight-box {
  background: var(--color-accent-muted);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: 1.7;
  margin: 1.5rem 0;
}

.article-body .highlight-box p {
  margin-bottom: 0;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-primary);
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.article-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.article-body ul li::before {
  content: "●";
  color: var(--color-accent);
  font-size: 0.5rem;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.blog-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.blog-sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-sidebar-label {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc-list li {
  border-bottom: 1px solid var(--color-border);
}

.toc-link {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition);
}

.toc-link:hover,
.toc-link.active {
  color: var(--color-accent);
}

.toc-link.active {
  font-weight: var(--weight-semibold);
}

.blog-sidebar-stats {
  background: var(--color-accent-muted);
  border: 1px solid var(--color-accent);
}

.blog-stat-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-accent-border);
}

.blog-stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-stat-num {
  display: block;
  color: var(--color-accent);
  font-weight: 800;
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.blog-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.blog-sidebar-cta {
  background: var(--color-dark);
  border: none;
}

.blog-sidebar-cta p {
  color: var(--color-text-on-dark-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 0;
}

.blog-sidebar-cta .btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-sm);
}

.blog-takeaways {
  background: var(--color-surface-alt);
  padding: var(--space-xl) 0;
}

.blog-takeaways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-takeaway-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.blog-takeaway-num {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.blog-takeaway-card h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: var(--text-base);
  margin-bottom: 0.75rem;
}

.blog-takeaway-card p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

.blog-tools-spotlight {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
}

.blog-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-tool-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.blog-tool-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.blog-tool-card h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.blog-tool-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.blog-tool-card > p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.blog-tool-best {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.blog-tool-best-label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.blog-industry-apps {
  background: var(--color-surface-alt);
  padding: var(--space-xl) 0;
}

.blog-industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.blog-industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.blog-industry-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.blog-industry-icon {
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1;
}

.blog-industry-card h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.blog-industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-industry-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: 0.35rem 0;
}

.blog-industry-list li::before {
  content: "●";
  color: var(--color-accent);
  font-size: 0.45rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.blog-author-section {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
}

.blog-author-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.blog-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-author-label {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.blog-author-card h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
}

.blog-author-bio {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.blog-author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-author-tag {
  padding: 3px 10px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
}

.blog-related {
  background: var(--color-surface-alt);
  padding: var(--space-xl) 0;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-related-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-related-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.blog-related-card .blog-card-tag {
  margin-bottom: var(--space-sm);
}

.blog-related-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}

.blog-related-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.blog-cta-banner {
  background: var(--color-dark);
  padding: 5rem 0;
  text-align: center;
}

.blog-cta-banner h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.blog-cta-banner > .container > p {
  color: var(--color-text-on-dark-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}

.blog-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.blog-cta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.blog-cta-pill {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-secondary);
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
}

/* Blog — technologies grid (2x2) */
.blog-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Blog — benefits section */
.blog-benefits {
  background: var(--color-surface-alt);
  padding: var(--space-xl) 0;
}

.blog-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.blog-benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.blog-benefit-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.blog-benefit-icon {
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1;
}

.blog-benefit-card h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.blog-benefit-card > p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.blog-benefit-stat {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.blog-benefit-stat-num {
  display: block;
  color: var(--color-accent);
  font-weight: 800;
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.blog-benefit-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Blog — challenges section */
.blog-challenges {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
}

.blog-challenges-list {
  max-width: 800px;
  margin: 0 auto;
}

.blog-challenge-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.blog-challenge-card:last-child {
  margin-bottom: 0;
}

.blog-challenge-left {
  background: var(--color-surface-alt);
  border-right: 1px solid var(--color-border);
  padding: 2rem;
}

.blog-challenge-right {
  background: var(--color-surface);
  padding: 2rem;
}

.blog-challenge-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-challenge-label--muted {
  color: var(--color-text-muted);
}

.blog-challenge-label--accent {
  color: var(--color-accent);
}

.blog-challenge-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-challenge-title-icon {
  color: var(--color-accent);
  font-size: 1.25rem;
  line-height: 1;
}

.blog-challenge-title h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  font-size: var(--text-base);
}

.blog-challenge-left p,
.blog-challenge-right p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.blog-challenge-right p:last-of-type {
  margin-bottom: var(--space-md);
}

.blog-solution-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
}

.blog-author-section--alt {
  background: var(--color-surface-alt);
}

.blog-related--bg {
  background: var(--color-bg);
}

/* Blog — stat cards (4-column) */
.blog-stat-cards-section {
  background: var(--color-surface-alt);
  padding: var(--space-xl) 0;
}

.blog-stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.blog-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-stat-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
}

.blog-stat-card .stat-number-wrap {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}

.blog-stat-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 0.5rem;
}

.blog-stat-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
  line-height: 1.6;
}

/* Blog — e-commerce integration */
.blog-ecommerce {
  background: var(--color-surface-alt);
  padding: var(--space-xl) 0;
}

.blog-ecommerce-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-md), 4vw, var(--space-xl));
  align-items: center;
}

.blog-ecommerce-checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
}

.blog-ecommerce-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.blog-ecommerce-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.blog-ecommerce-checklist h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.blog-ecommerce-checklist p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.blog-chat-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  margin: 0 auto;
}

.blog-chat-widget-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.blog-chat-widget-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.blog-chat-widget-name {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  display: block;
}

.blog-chat-widget-status {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-chat-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.blog-chat-messages {
  margin-bottom: var(--space-md);
}

.blog-chat-bubble {
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  max-width: 80%;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.blog-chat-bubble--bot {
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
}

.blog-chat-bubble--user {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.blog-chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-chat-input {
  flex: 1;
  padding: 0.5rem 1rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: inherit;
}

.blog-chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  flex-shrink: 0;
  cursor: default;
}

.blog-chat-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: var(--space-sm);
  font-size: 11px;
  color: var(--color-text-muted);
}

.blog-chat-powered-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

@media (min-width: 992px) {
  .blog-stat-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .blog-sidebar {
    position: static;
  }

  .blog-takeaways-grid,
  .blog-tools-grid,
  .blog-tech-grid,
  .blog-benefits-grid,
  .blog-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-ecommerce-layout {
    grid-template-columns: 1fr;
  }

  .blog-challenge-card {
    grid-template-columns: 1fr;
  }

  .blog-challenge-left {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .blog-industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-meta-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-meta-bar-author {
    flex-direction: column;
    text-align: center;
  }

  .blog-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-author-tags {
    justify-content: center;
  }

  .blog-hero-meta {
    gap: 1rem;
  }
}

/* Newsletter */
.newsletter-strip {
  background: rgba(238, 241, 247, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border-light);
  border-bottom: 1px solid var(--glass-border-light);
  padding: clamp(var(--space-lg), 5vw, var(--space-xl)) 0;
  text-align: center;
}

.newsletter-strip h2 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  outline: none;
  box-shadow: var(--glass-inset);
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.newsletter-success {
  color: var(--color-accent);
  font-weight: 500;
}

@media (max-width: 768px) {
  .featured-post h2 {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(var(--space-md), 4vw, var(--space-xl));
  align-items: start;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  outline: none;
  box-shadow: var(--glass-inset);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  font-size: var(--text-xs);
  color: #ef4444;
  margin-top: 0.35rem;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--glass-shadow), var(--glass-inset);
}

.form-success.visible {
  display: block;
}

.form-submit-error {
  display: none;
  margin-bottom: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.form-submit-error.visible {
  display: block;
}

.form-success h3 {
  color: var(--color-accent);
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

/* ── reCAPTCHA ────────────────────────────────── */
.recaptcha-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.recaptcha-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Error state — shown when user tries to submit without completing */
.recaptcha-wrapper.recaptcha-error .g-recaptcha {
  outline: 2px solid #ef4444;
  outline-offset: 3px;
  border-radius: 4px;
}

.recaptcha-error-msg {
  display: none;
  font-size: var(--text-xs);
  color: #ef4444;
  margin-top: 0.25rem;
  font-weight: var(--weight-medium);
}

.recaptcha-wrapper.recaptcha-error .recaptcha-error-msg {
  display: block;
}

/* On mobile — reCAPTCHA widget is 304px wide by default.
   Scale it down on very small screens to prevent overflow. */
@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: left top;
  }
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-accent), var(--glass-inset);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 115, 22, 0.15);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
}

.contact-info-card h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-info-card p {
  font-size: var(--text-sm);
}

.map-container {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.map-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-xs);
  background: var(--color-surface);
  text-align: center;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Main content offset for fixed nav
   ========================================================================== */

main {
  min-height: 50vh;
  padding-top: 64px;
}

/* ==========================================================================
   ML Development Page
   ========================================================================== */

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center h2,
.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb-sep {
  color: var(--color-text-muted);
}

/* Section 1 — Service Hero */
.service-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0;
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
  position: relative;
  overflow: hidden;
}

.service-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: var(--space-lg);
}

.service-hero-breadcrumb {
  margin-top: 0;
  margin-bottom: 0;
  align-self: flex-start;
}

.service-hero-content {
  max-width: 700px;
}

.service-hero h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-black);
  color: var(--color-text-on-dark);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: var(--space-sm);
}

.service-hero-title--wide {
  max-width: 720px;
}

.service-hero-lead {
  font-size: var(--text-xl);
  color: var(--color-text-on-dark-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-md);
  line-height: 1.6;
}

.service-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.service-hero .btn-secondary,
.service-cta-banner .btn-secondary {
  color: var(--color-text-on-dark);
  border-color: var(--glass-border-light);
  background: var(--glass-bg-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-hero .btn-secondary:hover,
.service-cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: var(--glass-shadow-dark);
}

.service-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-dark-border);
}

.service-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-secondary);
  white-space: nowrap;
}

/* Section 2 — Intro */
.ml-intro-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(var(--space-lg), 5vw, var(--space-xl));
  align-items: start;
}

.ml-intro-text h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-md);
}

.ml-intro-body {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.ml-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.ml-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.ml-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.ml-stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-sm) 0;
}

.ml-stat-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.ml-stat-row:first-child {
  padding-top: 0;
}

.ml-stat-row:last-child {
  padding-bottom: 0;
}

.ml-stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--color-accent);
  line-height: 1.1;
}

.ml-stat-value--text {
  font-size: var(--text-2xl);
  letter-spacing: 0.04em;
}

.ml-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Section 3 — ML Services Grid */
.ml-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.ml-service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.ml-service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}

.ml-service-card:nth-child(7):last-child {
  grid-column: 1 / -1;
  max-width: 360px;
  justify-self: center;
  width: 100%;
}

.ml-service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  background: var(--color-accent-muted);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

.ml-service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.ml-service-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.ml-service-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.ml-service-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
}

/* Section 4 — Why Choose Us */
.ml-why-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: var(--space-lg);
}

.ml-why-strip:has(+ .ml-scope-pills) {
  margin-bottom: 0;
}

.ml-scope-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  margin-top: 1.5rem;
  margin-bottom: var(--space-lg);
}

.ml-scope-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.ml-why-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-on-dark);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.ml-why-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
}

.ml-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.ml-why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ml-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.ml-why-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.ml-why-card h3 {
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.ml-why-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Section 5 — Tech Grid */
.ml-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.ml-tech-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.ml-tech-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}

.ml-tech-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.ml-tech-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.ml-tech-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Section 6 — Timeline */
.ml-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.ml-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--color-border);
}

.ml-timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  position: relative;
}

.ml-timeline-item:last-child {
  padding-bottom: 0;
}

.ml-timeline-marker {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  border-radius: 50%;
  color: var(--color-text-on-dark);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.ml-timeline-step {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.ml-timeline-content h3 {
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.ml-timeline-content p {
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Staff Augmentation — Horizontal Process */
.sa-process-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.sa-process-step {
  flex: 1;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.sa-process-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}

.sa-process-number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  opacity: 0.85;
}

.sa-process-step h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.sa-process-step p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.sa-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1;
  align-self: center;
}

/* Section 7 — Hiring Models */
.ml-hiring {
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
}

.ml-hiring .section-label {
  color: var(--color-accent);
}

.ml-hiring h2 {
  color: var(--color-text-on-dark);
}

.ml-hiring .section-header p {
  color: var(--color-text-on-dark-secondary);
}

.ml-hiring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
  padding-top: var(--space-sm);
}

.ml-hiring-card {
  position: relative;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.ml-hiring-card--featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}

.ml-hiring-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ml-hiring-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.ml-hiring-card h3 {
  color: var(--color-text-on-dark);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.ml-hiring-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.service-card h3 a {
  color: inherit;
  transition: color var(--transition);
}

.service-card h3 a:hover {
  color: var(--color-accent);
}

.ml-hiring-list {
  flex: 1;
  margin-bottom: var(--space-md);
  padding-left: 1.25rem;
  list-style: disc;
}

.ml-hiring-list li {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.btn-hiring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-text-on-dark);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition);
  margin-top: auto;
  align-self: flex-start;
}

.btn-hiring:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-on-dark);
}

/* Section 8 — FAQ */
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  flex-shrink: 0;
  font-size: var(--text-xl);
  font-weight: var(--weight-normal);
  color: var(--color-accent);
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 0;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Section 9 — Testimonials */
.ml-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-quote-mark {
  display: block;
  font-size: 4rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  margin-bottom: -1rem;
}

.testimonial-card blockquote p {
  font-size: var(--text-lg);
  line-height: 1.8;
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  border-radius: 50%;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.testimonial-title {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Section 10 — Service CTA Banner */
.service-cta-banner {
  background: var(--color-dark);
  padding: 5rem 0;
  text-align: center;
  color: var(--color-text-on-dark-secondary);
}

.service-cta-banner h2 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-sm);
}

.service-cta-banner > .container > p {
  max-width: 520px;
  margin: 0 auto var(--space-md);
  line-height: 1.6;
}

.service-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-cta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}

.service-cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-secondary);
}

/* ==========================================================================
   Case Study — RankGuide (rankguide.html)
   ========================================================================== */

.cs-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0;
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
}

.cs-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.cs-hero .breadcrumb {
  align-self: flex-start;
  margin-top: 0;
}

.cs-hero h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  color: var(--color-text-on-dark);
  max-width: 700px;
  line-height: 1.15;
}

.cs-hero-tagline {
  font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
  font-weight: 600;
  color: var(--color-accent);
  max-width: 680px;
  line-height: 1.4;
}

.cs-hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.cs-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: var(--space-md);
}

.cs-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.2rem;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-secondary);
  white-space: nowrap;
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(var(--space-lg), 5vw, var(--space-xl));
  align-items: start;
}

.cs-overview-text h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.cs-overview-text p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.cs-detail-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.cs-detail-card-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cs-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.85rem 0;
  font-size: var(--text-sm);
}

.cs-detail-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.cs-detail-row span:first-child {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.cs-detail-row span:last-child {
  color: var(--color-text-primary);
  font-weight: 600;
  text-align: right;
}

.cs-challenge-intro {
  max-width: 800px;
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.cs-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.cs-challenge-grid--quad {
  grid-template-columns: repeat(2, 1fr);
}

.cs-hero-title--course-platform {
  letter-spacing: -0.02em;
}

.cs-role-badge {
  display: inline-flex;
  align-items: center;
  margin-top: var(--space-sm);
  padding: 0.4rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
}

.cs-mock-platform {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cs-mock-queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.55rem 0;
}

.cs-mock-queue-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.cs-mock-queue-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
}

.cs-mock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.cs-mock-status--done {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.cs-mock-status--rendering {
  background: var(--color-accent-muted);
  color: var(--color-accent);
}

.cs-mock-status--queued {
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
}

.cs-mock-spin {
  display: inline-block;
  animation: cs-spin 1s linear infinite;
}

@keyframes cs-spin {
  to { transform: rotate(360deg); }
}

.cs-mock-export-label {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.cs-mock-export-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cs-mock-export-pill {
  padding: 0.2rem 0.55rem;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
}

.cs-mock-mini-stats {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.cs-mock-mini-stat {
  text-align: center;
  flex: 1;
}

.cs-mock-mini-stat strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.cs-mock-mini-stat span {
  font-size: 10px;
  color: var(--color-text-muted);
}

.cs-tech-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.cs-tech-grid--row {
  width: 100%;
  max-width: 900px;
}

.cs-tech-grid--center {
  justify-content: center;
  max-width: 620px;
}

.cs-challenge-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.cs-challenge-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-sm);
}

.cs-challenge-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.cs-challenge-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.cs-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-lg), 5vw, var(--space-xl));
  align-items: center;
}

.cs-solution-text p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.cs-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cs-check-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.cs-check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.cs-check-item h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.cs-check-item p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

.cs-mock-dashboard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cs-mock-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.cs-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cs-mock-dot--red { background: #ef4444; }
.cs-mock-dot--yellow { background: #eab308; }
.cs-mock-dot--green { background: #22c55e; }

.cs-mock-title {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.cs-mock-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-md);
}

.cs-mock-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.cs-mock-stat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.cs-mock-stat-bar-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cs-mock-stat-bar {
  flex: 1;
  height: 8px;
  background: var(--color-accent-muted);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.cs-mock-stat-bar span {
  display: block;
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.cs-mock-stat-value {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.cs-mock-stat-bar--80 span { width: 80%; }
.cs-mock-stat-bar--100 span { width: 100%; }
.cs-mock-stat-bar--70 span { width: 70%; }

.cs-mock-accent-bar {
  width: 3px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.cs-mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  padding: 0.35rem 0.75rem;
  background: var(--color-accent-muted);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
}

.cs-mock-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: cs-pulse 1.5s infinite;
}

@keyframes cs-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cs-features-subtext {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.cs-tech-section {
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
}

.cs-tech-section h2 {
  color: var(--color-text-on-dark);
}

.cs-tech-subtext {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  color: var(--color-text-on-dark-secondary);
  line-height: 1.7;
}

.cs-tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.cs-tech-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  min-width: 160px;
  flex: 1 1 160px;
  max-width: 200px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cs-tech-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
}

.cs-tech-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.cs-tech-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 0.25rem;
}

.cs-tech-card p {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-secondary);
  margin: 0;
}

.cs-results-subtext {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.cs-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cs-stat-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
}

.cs-stat-card .stat-number-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.cs-stat-card .stat-number {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.cs-stat-card .stat-suffix {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.cs-stat-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 0.5rem;
}

.cs-stat-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.cs-impact-quote {
  background: var(--color-accent-muted);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.cs-impact-quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.cs-impact-quote p {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text-primary);
  max-width: 700px;
  margin: 0 auto var(--space-sm);
}

.cs-impact-quote cite {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  font-style: normal;
}

.cs-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-lg), 5vw, var(--space-xl));
  align-items: start;
}

.cs-deliverables-grid h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.cs-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cs-skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

.cs-skill-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.cs-deliverable-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-deliverable-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.cs-deliverable-item:last-child {
  border-bottom: none;
}

.cs-pipeline-viz {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cs-pipeline-viz-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.cs-pipeline-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0.5rem;
}

.cs-pipeline-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--color-accent-muted);
  border-radius: 2px;
}

.cs-pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.65rem 0;
  position: relative;
  z-index: 1;
}

.cs-pipeline-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: 700;
}

.cs-pipeline-step-text h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.15rem;
}

.cs-pipeline-step-text p {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0;
}

.cs-pipeline-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-md);
  padding: 0.35rem 0.75rem;
  background: var(--color-accent-muted);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
}

.cs-pipeline-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: cs-pulse 1.5s infinite;
}

.cs-flow-subtext {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.cs-flow-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cs-flow-step {
  flex: 1 1 140px;
  max-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cs-flow-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
}

.cs-flow-step-num {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.cs-flow-step-icon {
  display: block;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.cs-flow-step h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.cs-flow-step p {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.cs-flow-arrow {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  padding: 0 0.15rem;
}

.cs-stat-static {
  display: block;
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

@media (max-width: 992px) {
  .ml-hiring-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .ml-why-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .sa-process-row {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .sa-process-arrow {
    display: none;
  }

  .cs-overview-grid,
  .cs-solution-grid,
  .cs-deliverables-grid {
    grid-template-columns: 1fr;
  }

  .cs-challenge-grid {
    grid-template-columns: 1fr;
  }

  .cs-challenge-grid--quad {
    grid-template-columns: 1fr;
  }

  .cs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-flow-arrow {
    display: none;
  }

  .cs-flow-grid {
    flex-direction: column;
    align-items: center;
  }

  .cs-flow-step {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ml-intro-grid {
    grid-template-columns: 1fr;
  }

  .ml-why-grid {
    grid-template-columns: 1fr;
  }

  .ml-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-pill {
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
  background: var(--color-dark);
  color: var(--color-text-on-dark-secondary);
}

.legal-hero-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.legal-hero h1 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-text-on-dark);
  max-width: 700px;
  margin: 0 auto var(--space-sm);
}

.legal-hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-updated-bar {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.legal-updated-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.legal-content-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.legal-content-section .legal-body,
.legal-content-section .legal-toc {
  opacity: 1;
  transform: none;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 25%) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.legal-body {
  min-width: 0;
}

.legal-toc-nav {
  position: sticky;
  top: 100px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.legal-toc-label {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-semibold);
  margin-bottom: 1rem;
}

.legal-toc-links {
  display: flex;
  flex-direction: column;
}

.legal-toc-links .toc-link {
  border-bottom: 1px solid var(--color-border);
}

.legal-toc-select {
  display: none;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.legal-cta p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  color: var(--color-text-on-dark-secondary);
}

.legal-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.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;
}

.legal-body h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

.legal-body h2:first-child,
.legal-body .highlight-box + h2 {
  margin-top: 0;
}

.legal-body h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-body p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.legal-body ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.25rem;
}

.legal-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  border-bottom: 1px solid var(--color-border);
}

.legal-body ul li::before {
  content: "→";
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.legal-body .highlight-box {
  background: var(--color-accent-muted);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: 1.7;
  margin: 1.5rem 0;
}

.legal-body .highlight-box p:last-child {
  margin-bottom: 0;
}

.legal-body .warning-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: 1.7;
  margin: 1.5rem 0;
}

.legal-body .warning-box p:last-child {
  margin-bottom: 0;
}

.legal-body .section-intro {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.5rem;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.legal-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .legal-body {
    order: 1;
  }

  .legal-toc {
    order: 2;
  }

  .legal-toc-nav {
    position: static;
  }

  .legal-toc-select {
    display: block;
  }

  .legal-toc-links {
    display: none;
  }

  .legal-hero h1 {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  }

  .legal-updated-bar-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
