/* ==========================================================================
   CodeNexa Enterprise Design System
   Inspired by Azure · IBM · Stripe · Vercel Enterprise · Accenture
   ========================================================================== */

/* Fonts loaded via <link> in HTML — do not @import here (blocks CSS parse) */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --color-primary: #0078D4;
  --color-primary-deep: #00355f;
  --color-secondary: #0F172A;
  --color-accent: #00D4FF;
  --color-accent-soft: #38BDF8;

  --color-background: #FFFFFF;
  --color-surface: #F8FAFC;
  --color-surface-blue: #F0F7FF;
  --color-surface-gradient: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 50%, #E8F4FD 100%);
  --color-card-bg: #FFFFFF;

  --color-dark: #081120;
  --color-dark-alt: #0F172A;
  --color-dark-surface: #111827;

  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-text-subtle: #64748B;
  --color-text-light: #64748B;
  --color-text-on-dark: rgba(255, 255, 255, 0.82);
  --color-text-muted-dark: rgba(255, 255, 255, 0.65);
  --color-text-heading-dark: #FFFFFF;
  --color-link: #2563EB;
  --color-label: #2563EB;

  --color-outline: #E2E8F0;
  --color-outline-dark: rgba(255, 255, 255, 0.08);

  --gradient-btn: linear-gradient(135deg, #0078D4 0%, #00B4FF 50%, #00D4FF 100%);
  --gradient-btn-hover: linear-gradient(135deg, #006CBD 0%, #0099E0 50%, #00C4EF 100%);
  --gradient-card-dark: linear-gradient(145deg, #0F172A 0%, #081120 100%);
  --gradient-cta: linear-gradient(135deg, #081120 0%, #0078D4 45%, #00D4FF 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
                   radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 120, 212, 0.08) 0%, transparent 55%),
                   linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  --gradient-section-blue: linear-gradient(180deg, #F8FAFF 0%, #EEF6FF 50%, #E3F0FF 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 120, 212, 0.06) 0px, transparent 50%),
                 radial-gradient(at 80% 0%, rgba(0, 212, 255, 0.05) 0px, transparent 50%),
                 radial-gradient(at 0% 50%, rgba(0, 53, 95, 0.04) 0px, transparent 50%);

  --font-family-display: 'Poppins', system-ui, sans-serif;
  --font-family-body: 'Inter', system-ui, sans-serif;

  --rounded-sm: 8px;
  --rounded-md: 16px;
  --rounded-lg: 24px;
  --rounded-card: 28px;
  --rounded-xl: 32px;
  --rounded-full: 9999px;

  --spacing-container-max: 1280px;
  --spacing-section-py: 140px;
  --spacing-gutter: 28px;
  --spacing-margin-desktop: 64px;
  --spacing-margin-tablet: 32px;
  --spacing-margin-mobile: 20px;

  --shadow-sm: 0 2px 8px rgba(8, 17, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(8, 17, 32, 0.06);
  --shadow-lg: 0 16px 48px rgba(8, 17, 32, 0.08);
  --shadow-premium: 0 32px 64px -16px rgba(8, 17, 32, 0.12);
  --shadow-glow: 0 20px 40px -10px rgba(0, 120, 212, 0.25);
  --shadow-glass: 0 8px 32px rgba(8, 17, 32, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);

  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-nav: 0.22s cubic-bezier(0.32, 0.72, 0, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Theme Utilities (light/dark text & cards) ───────────────────────────── */
.text-on-light { color: var(--color-text-main); }
.text-on-light-heading,
.text-on-light h1,
.text-on-light h2,
.text-on-light h3,
.text-on-light h4 { color: var(--color-secondary); }
.text-on-light-body,
.text-on-light p { color: var(--color-text-muted); }
.text-on-light-muted { color: var(--color-text-subtle); }
.text-on-light-label { color: var(--color-label); }

.text-on-dark { color: var(--color-text-on-dark); }
.text-on-dark-heading,
.text-on-dark h1,
.text-on-dark h2,
.text-on-dark h3,
.text-on-dark h4 { color: var(--color-text-heading-dark); }
.text-on-dark-body,
.text-on-dark p { color: var(--color-text-on-dark); }
.text-on-dark-muted { color: var(--color-text-muted-dark); }

.card-light {
  background: var(--color-card-bg);
  border: 1px solid var(--color-outline);
  box-shadow: var(--shadow-sm);
}

.card-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-outline-dark);
}

/* Light sections establish readable defaults for nested content */
.section-white,
.section-gradient,
.section-surface {
  color: var(--color-text-main);
}

.section-dark,
.section-dark-alt {
  color: var(--color-text-heading-dark);
}

/* Auto-theme cards by parent section */
.section-white .case-study-card,
.section-gradient .case-study-card,
.section-surface .case-study-card,
.section-white .icon-matrix-item,
.section-gradient .icon-matrix-item,
.section-surface .icon-matrix-item {
  --card-bg: var(--color-card-bg);
  --card-border: var(--color-outline);
  --card-heading: var(--color-secondary);
  --card-body: var(--color-text-muted);
  --card-muted: var(--color-text-subtle);
  --card-link: var(--color-link);
  --card-shadow: var(--shadow-sm);
  --card-hover-shadow: var(--shadow-lg);
  --card-hover-border: rgba(0, 120, 212, 0.25);
}

.section-dark .case-study-card,
.section-dark-alt .case-study-card,
.section-dark .icon-matrix-item,
.section-dark-alt .icon-matrix-item,
.case-study-card.card-dark,
.icon-matrix-item.card-dark {
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: var(--color-outline-dark);
  --card-heading: var(--color-text-heading-dark);
  --card-body: var(--color-text-on-dark);
  --card-muted: var(--color-text-muted-dark);
  --card-link: var(--color-accent);
  --card-shadow: none;
  --card-hover-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  --card-hover-border: rgba(0, 120, 212, 0.3);
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: var(--font-family-body);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--spacing-container-max);
  margin-inline: auto;
  padding-inline: var(--spacing-margin-desktop);
}

@media (max-width: 1024px) {
  .container { padding-inline: var(--spacing-margin-tablet); }
}
@media (max-width: 480px) {
  .container { padding-inline: var(--spacing-margin-mobile); }
}

/* ── Global Background Effects ─────────────────────────────────────────── */
.bg-mesh-overlay {
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 17, 32, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 17, 32, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

.gradient-glow-sphere {
  position: fixed;
  border-radius: var(--rounded-full);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.sphere-top-right {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 70%);
  top: -120px; right: -80px;
}

.sphere-mid-left {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.1) 0%, transparent 70%);
  top: 35%; left: -200px;
}

.sphere-bottom-right {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  bottom: 15%; right: -60px;
}

/* ── Typography ────────────────────────────────────────────────────────── */
.display-lg {
  font-family: var(--font-family-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
}

.headline-lg {
  font-family: var(--font-family-display);
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-secondary);
}

.headline-md {
  font-family: var(--font-family-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
}

.headline-sm {
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-secondary);
}

.body-lg { font-size: 18px; line-height: 1.7; color: var(--color-text-muted); }
.body-md { font-size: 16px; line-height: 1.65; color: var(--color-text-muted); }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--color-text-muted); }

.label-md {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-label);
}

.text-gradient {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .headline-lg,
.section-dark .headline-md,
.section-dark .headline-sm,
.section-dark .display-lg,
.section-dark-alt .headline-lg,
.section-dark-alt .headline-md,
.section-dark-alt .headline-sm,
.section-dark-alt .display-lg { color: var(--color-text-heading-dark); }

.section-dark .body-lg,
.section-dark .body-md,
.section-dark .body-sm,
.section-dark-alt .body-lg,
.section-dark-alt .body-md,
.section-dark-alt .body-sm { color: var(--color-text-on-dark); }

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

.section-dark .section-title,
.section-dark-alt .section-title { color: var(--color-text-heading-dark); }

.section-dark .section-desc,
.section-dark-alt .section-desc { color: var(--color-text-on-dark); }

.section-dark .section-subtitle,
.section-dark-alt .section-subtitle { color: var(--color-accent-soft); }

.section-gradient .section-desc { color: var(--color-text-muted); }
.section-white .section-desc { color: var(--color-text-muted); }

/* ── Navigation ────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: 24px;
  pointer-events: none;
}

.nav-shell {
  position: relative;
  max-width: calc(var(--spacing-container-max) + 32px);
  margin-inline: auto;
  pointer-events: auto;
}

.glass-nav {
  position: relative;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-glass);
  transition: height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.glass-nav.scrolled,
#site-nav.is-scrolled .glass-nav {
  height: 64px;
}

#site-nav.is-scrolled {
  top: 8px;
}

#site-nav.is-scrolled .glass-nav {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 32, 0.45);
  z-index: 1040;
  touch-action: none;
}

.nav-overlay.open {
  display: block;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-inline: 16px;
  gap: 16px;
}

.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; z-index: 1101; }
.logo-img { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.logo-text {
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.nav-item:hover, .nav-item.active { color: var(--color-primary); }

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-btn);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-item:hover::after, .nav-item.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1101;
  flex-shrink: 0;
}

.hamburger span {
  width: 100%; height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: transform var(--transition-nav), opacity var(--transition-fast);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-links .nav-cta-mobile { display: none; }

@media (min-width: 1025px) {
  .nav-drawer-head { display: none; }

  .nav-links {
    position: absolute;
    top: 0;
    left: 140px;
    right: 210px;
    height: 72px;
    justify-content: center;
    pointer-events: none;
  }

  .nav-links > * { pointer-events: auto; }

  #site-nav.is-scrolled .nav-links { height: 64px; }

  .nav-dropdown-link { display: inline-flex; align-items: center; gap: 2px; }
  .nav-dropdown-toggle { display: none; }

  .nav-overlay { display: none !important; }
}

@media (max-width: 1024px) {
  #site-nav { padding-inline: 16px; top: 12px; }

  .glass-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: none;
  }

  .nav-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .logo-link { grid-column: 1; }

  .hamburger {
    display: flex;
    grid-column: 2;
    justify-self: end;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger span { transition: none; }

  .logo-img { height: 38px; max-width: 130px; }

  .glass-nav .nav-cta,
  a.nav-cta {
    display: none !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 32px;
    z-index: 1050;
    border-left: 1px solid var(--color-outline);
    box-shadow: -4px 0 16px rgba(8, 17, 32, 0.06);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--color-outline);
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 2;
    flex-shrink: 0;
  }

  .nav-drawer-title {
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    background: var(--color-surface);
    border: 1px solid var(--color-outline);
    color: var(--color-secondary);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-close .material-symbols-outlined { font-size: 22px; }

  .nav-links .nav-item,
  .nav-links .nav-dropdown-toggle {
    font-size: 16px;
    padding: 14px 24px;
    width: 100%;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links .nav-cta-mobile {
    display: inline-flex !important;
    width: calc(100% - 48px);
    justify-content: center;
    margin: 24px 24px 0;
  }

  .nav-links .nav-item::after,
  .nav-links .nav-dropdown-toggle::after { display: none; }

  .nav-drawer-head { display: flex; }

  .nav-links > a.nav-item {
    border-bottom: 1px solid var(--color-outline);
  }

  .nav-dropdown { width: 100%; border-bottom: 1px solid var(--color-outline); }
  .nav-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; }
  .nav-dropdown-link { display: none; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    display: none;
    padding-left: 12px;
    transition: none;
  }

  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

  .nav-dropdown-item {
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  }

  .nav-dropdown-item:last-child { border-bottom: none; }

  .gradient-glow-sphere { display: none; }

  .bg-mesh-overlay { opacity: 0.6; }

  .bg-grid-overlay { background-size: 48px 48px; }

  .partners-track { animation-duration: 45s; }
}

@media (max-width: 480px) {
  #site-nav { padding-inline: 12px; }
  .nav-container { padding-inline: 12px; }
  .nav-links { width: 100vw; max-width: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-overlay,
  .hamburger span {
    transition-duration: 0.01ms !important;
  }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--rounded-full);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-lg { padding: 16px 36px; font-size: 15px; }

.btn span.material-symbols-outlined { font-size: 18px; transition: transform var(--transition-normal); }

.btn-primary {
  background: var(--gradient-btn);
  color: white;
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(0, 120, 212, 0);
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-btn-hover);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover span.material-symbols-outlined { transform: translateX(3px); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-outline);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 120, 212, 0.04);
  transform: translateY(-2px);
}

.btn-secondary:hover span.material-symbols-outlined { transform: translateX(3px); }

.btn-white {
  background: white;
  color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-link);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.btn-text span { font-size: 18px; transition: transform var(--transition-fast); }
.btn-text:hover { color: var(--color-primary); }
.btn-text:hover span { transform: translateX(4px); }

.section-dark .btn-text,
.section-dark-alt .btn-text,
.showcase-content .btn-text,
.contact-map-card .btn-text,
.case-study-card.card-dark .btn-text {
  color: var(--color-accent);
}

.section-dark .btn-text:hover,
.section-dark-alt .btn-text:hover,
.showcase-content .btn-text:hover,
.contact-map-card .btn-text:hover {
  color: var(--color-accent-soft);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: var(--spacing-section-py);
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 120, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 212, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-grid > * { min-width: 0; }

.hero-content { display: flex; flex-direction: column; gap: 28px; min-width: 0; width: 100%; }

.hero-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 120, 212, 0.06);
  border: 1px solid rgba(0, 120, 212, 0.12);
  padding: 8px 16px;
  border-radius: var(--rounded-full);
  width: fit-content;
}

.hero-title-badge-dot {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: var(--rounded-full);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--color-accent); }
}

.hero-title-badge-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-desc { max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.hero-trust-stars { display: flex; color: #F59E0B; gap: 2px; }
.hero-trust-text { font-size: 14px; color: var(--color-text-muted); }
.hero-trust-text strong { color: var(--color-secondary); font-weight: 600; }

.hero-metrics {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--color-outline);
  margin-top: 8px;
}

.hero-metric-value {
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero-metric-label {
  font-size: 12px;
  color: var(--color-text-subtle);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-visual-frame {
  position: relative;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  background: var(--color-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4/3;
}

.hero-visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-visual:hover .hero-visual-frame img { transform: scale(1.03); }

.hero-visual-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Enterprise dashboard illustration overlay */
.hero-dashboard {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 55%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--rounded-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.hero-dashboard-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.hero-dash-bars { display: flex; flex-direction: column; gap: 8px; }

.hero-dash-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-slow);
}

.floating-badge {
  position: absolute;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--rounded-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12px;
  color: var(--color-secondary);
  z-index: 6;
  pointer-events: none;
}

.floating-badge span.material-symbols-outlined { font-size: 16px; color: var(--color-primary); }

.floating-badge-1 { top: 8%; left: -16px; animation: floatBadge 5s ease-in-out infinite; }
.floating-badge-2 { top: 42%; right: -20px; animation: floatBadge 6s ease-in-out infinite 0.5s; }
.floating-badge-3 { bottom: 28%; left: -12px; animation: floatBadge 5.5s ease-in-out infinite 1s; }
.floating-badge-4 { top: -12px; right: 48px; animation: floatBadge 4.8s ease-in-out infinite 1.5s; }

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

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-content { align-items: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-metrics { justify-content: center; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section {
  padding-block: var(--spacing-section-py);
  position: relative;
  z-index: 1;
}

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

.section-gradient {
  background: var(--gradient-section-blue);
}

.section-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 120, 212, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 212, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

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

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

.section-dark::before,
.section-dark-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 120, 212, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.section-header {
  margin-bottom: 80px;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-header-left {
  text-align: left;
  margin-inline: 0;
  max-width: 640px;
}

.section-subtitle {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-label);
}
.section-title { color: var(--color-secondary); }
.section-desc { max-width: 560px; margin-inline: auto; }
.section-header-left .section-desc { margin-inline: 0; }

.section-compact { padding-block: 72px; }

/* ── Partners Marquee ──────────────────────────────────────────────────── */
.partners-section { padding-block: 56px; }

.partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-subtle);
  margin-bottom: 36px;
}

.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.partners-track:hover { animation-play-state: paused; }

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

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-md);
  min-width: 140px;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all var(--transition-normal);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.partner-logo-text {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
}

/* ── About Split Section ─────────────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse .split-visual { order: 2; }
.split-section.reverse .split-content { order: 1; }

.split-visual { position: relative; }

.split-image-frame {
  border-radius: var(--rounded-xl);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow-premium);
}

.split-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.split-image-frame:hover img { transform: scale(1.04); }

.split-stat-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--rounded-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
}

.split-stat-value {
  font-family: var(--font-family-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.split-stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.split-content { display: flex; flex-direction: column; gap: 24px; }

.feature-list { display: flex; flex-direction: column; gap: 20px; }

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--rounded-md);
  background: rgba(0, 120, 212, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon {
  background: var(--color-primary);
  color: white;
  transform: scale(1.05);
}

.feature-icon span { font-size: 22px; }

.feature-title {
  font-family: var(--font-family-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .split-section, .split-section.reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-section.reverse .split-visual,
  .split-section.reverse .split-content { order: unset; }
}

/* ── Bento Grid ──────────────────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: var(--spacing-gutter);
}

.bento-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  min-height: 280px;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 120, 212, 0.2);
}

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

.bento-span-2 { grid-column: span 2; }
.bento-row-2 { grid-row: span 2; }

.bento-card-dark {
  background: var(--gradient-card-dark);
  color: white;
  border: 1px solid var(--color-outline-dark);
}

.bento-card-dark:hover {
  box-shadow: 0 32px 64px -16px rgba(0, 212, 255, 0.15);
}

.bento-icon-box {
  width: 52px; height: 52px;
  border-radius: var(--rounded-md);
  background: rgba(0, 120, 212, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.bento-card:hover .bento-icon-box {
  background: var(--color-primary);
  color: white;
}

.bento-card-dark .bento-icon-box {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-accent);
}

.bento-card-dark:hover .bento-icon-box {
  background: var(--color-accent);
  color: var(--color-dark);
}

.bento-icon-box span { font-size: 24px; }

.bento-card-title { margin-bottom: 8px; }
.bento-card-dark .bento-card-title { color: white; }
.bento-card-dark .bento-card-desc { color: var(--color-text-on-dark); }

.bento-card-dark .btn-text { color: var(--color-accent); }

.bento-bottom-row { margin-top: 24px; }

.bento-mockup-panel {
  margin-top: 20px;
  border-radius: var(--rounded-md);
  background: rgba(8, 17, 32, 0.04);
  border: 1px solid rgba(8, 17, 32, 0.06);
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  height: 110px;
  overflow: hidden;
}

.bento-card-dark .bento-mockup-panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(0, 212, 255, 0.9);
}

.mockup-line { margin-bottom: 5px; white-space: nowrap; }
.mockup-keyword { color: #C084FC; }
.mockup-string { color: var(--color-accent); }

.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.bento-tag {
  padding: 6px 14px;
  background: rgba(0, 120, 212, 0.06);
  border-radius: var(--rounded-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-span-2 { grid-column: span 2; }
  .bento-row-2 { grid-row: span 1; }
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
}

/* ── Service Showcase (Interactive) ──────────────────────────────────────── */
.showcase-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-outline-dark);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  min-height: 520px;
  box-shadow: var(--shadow-premium);
}

.showcase-content {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--color-outline-dark);
  transition: opacity var(--transition-normal);
}

.showcase-content.fade { opacity: 0.4; }

.showcase-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--rounded-lg);
  margin-bottom: 28px;
}

.showcase-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--rounded-lg);
  background: rgba(0, 120, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.showcase-icon-wrap span { font-size: 32px; color: var(--color-accent); }

.showcase-content .headline-lg,
.showcase-content h3 {
  color: var(--color-text-heading-dark);
}

.showcase-content .body-lg,
.showcase-content p {
  color: var(--color-text-on-dark);
  max-width: 520px;
}

.showcase-content .btn-text {
  margin-top: 16px;
}

.showcase-nav {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
}

.showcase-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--color-outline-dark);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.showcase-nav-item:last-child { border-bottom: none; }

.showcase-nav-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.showcase-nav-item:hover,
.showcase-nav-item.active {
  background: rgba(0, 120, 212, 0.1);
}

.showcase-nav-item.active::before { opacity: 1; }

.showcase-nav-icon {
  width: 44px; height: 44px;
  border-radius: var(--rounded-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.showcase-nav-item.active .showcase-nav-icon {
  background: var(--color-primary);
}

.showcase-nav-icon span { font-size: 22px; color: var(--color-accent); }
.showcase-nav-item.active .showcase-nav-icon span { color: white; }

.showcase-nav-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.showcase-nav-item.active .showcase-nav-label { color: white; }

@media (max-width: 1024px) {
  .showcase-panel { grid-template-columns: 1fr; min-height: auto; }
  .showcase-content { border-right: none; border-bottom: 1px solid var(--color-outline-dark); padding: 36px; }
  .showcase-nav { flex-direction: row; }
  .showcase-nav-item { border-bottom: none; border-right: 1px solid var(--color-outline-dark); flex-direction: row; padding: 20px; }
  .showcase-nav-item:last-child { border-right: none; }
  .showcase-nav-label { writing-mode: horizontal-tb; transform: none; font-size: 12px; }
}

/* ── Why Section Blocks ──────────────────────────────────────────────────── */
.why-section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 100px;
}

.why-section-block:last-child { margin-bottom: 0; }
.why-section-block.alt-reverse .why-illustration-column { order: 2; }
.why-section-block.alt-reverse .why-text-column { order: 1; }

.why-text-column { display: flex; flex-direction: column; gap: 20px; }

.why-visual-panel {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/11;
  background: var(--color-card-bg);
  border-radius: var(--rounded-xl);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-outline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.why-visual-panel:hover { transform: translateY(-4px); }

.why-visual-panel-dark {
  background: var(--gradient-card-dark);
  border-color: var(--color-outline-dark);
}

.why-bullets { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

.why-bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--rounded-md);
  transition: background var(--transition-fast);
}

.why-bullet-item:hover { background: rgba(0, 120, 212, 0.04); }

.why-bullet-icon {
  width: 40px; height: 40px;
  border-radius: var(--rounded-md);
  background: rgba(0, 120, 212, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-bullet-icon span { font-size: 20px; }

.why-bullet-title {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.visual-dashboard {
  width: 78%; height: 68%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.visual-dash-row { display: flex; gap: 14px; height: 44px; }

.visual-dash-item {
  flex: 1;
  background: rgba(0, 120, 212, 0.06);
  border-radius: var(--rounded-sm);
  border: 1px solid rgba(0, 120, 212, 0.08);
  transition: all var(--transition-normal);
}

.why-visual-panel:hover .visual-dash-item { background: rgba(0, 120, 212, 0.1); }

.visual-dash-item-wide { flex: 2; }

@media (max-width: 1024px) {
  .why-section-block, .why-section-block.alt-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-section-block.alt-reverse .why-illustration-column,
  .why-section-block.alt-reverse .why-text-column { order: unset; }
  .why-visual-panel { margin-inline: auto; }
}

/* ── Industries ──────────────────────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.industry-card:hover::after { opacity: 0.04; }

.industry-card > * { position: relative; z-index: 1; }

.industry-illustration-box {
  width: 72px; height: 72px;
  border-radius: var(--rounded-lg);
  background: var(--color-surface-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.industry-card:hover .industry-illustration-box {
  background: rgba(0, 120, 212, 0.1);
  transform: scale(1.05);
}

.industry-illustration-box svg {
  width: 32px; height: 32px;
  fill: var(--color-primary);
  transition: fill var(--transition-fast);
}

.industry-illustration-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.industry-title {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
}

@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industries-grid { grid-template-columns: 1fr; } }

/* ── Case Studies ────────────────────────────────────────────────────────── */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-gutter);
}

.case-study-card {
  background: var(--card-bg, var(--color-card-bg));
  border: 1px solid var(--card-border, var(--color-outline));
  border-radius: var(--rounded-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow, var(--shadow-sm));
}

.case-study-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-hover-border, rgba(0, 120, 212, 0.25));
  box-shadow: var(--card-hover-shadow, var(--shadow-lg));
}

.case-study-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.case-study-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-study-card:hover .case-study-image img { transform: scale(1.06); }

.case-study-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  background: rgba(8, 17, 32, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--rounded-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.case-study-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }

.case-study-metric {
  font-family: var(--font-family-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.case-study-metric-label {
  font-size: 12px;
  color: var(--card-muted, var(--color-text-subtle));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-title {
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--card-heading, var(--color-secondary));
}

.case-study-desc {
  font-size: 14px;
  color: var(--card-body, var(--color-text-muted));
  line-height: 1.6;
}

.case-study-card .btn-text {
  color: var(--card-link, var(--color-link));
  margin-top: auto;
}

.section-dark .case-study-metric,
.section-dark-alt .case-study-metric,
.case-study-card.card-dark .case-study-metric {
  color: var(--color-accent);
}

@media (max-width: 1024px) { .case-studies-grid { grid-template-columns: 1fr; } }

/* ── Statistics ──────────────────────────────────────────────────────────── */
.stats-banner {
  background: var(--gradient-card-dark);
  border-radius: var(--rounded-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-outline-dark);
  box-shadow: var(--shadow-premium);
}

.stats-banner-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  top: -100px; right: 10%;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--rounded-lg);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--font-family-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted-dark);
  margin-top: 8px;
}

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

/* ── Timeline ────────────────────────────────────────────────────────────── */
.timeline-wrapper {
  position: relative;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 72px; left: 0;
  width: 100%; height: 2px;
  background: var(--color-outline);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 72px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-btn);
  z-index: 2;
  transition: width var(--transition-slow);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 3;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.timeline-node {
  width: 52px; height: 52px;
  border-radius: var(--rounded-full);
  background: white;
  border: 2px solid var(--color-outline);
  color: var(--color-text-light);
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-step.active .timeline-node {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 120, 212, 0.2);
  transform: scale(1.1);
}

.timeline-step.completed .timeline-node {
  background: var(--gradient-btn);
  border-color: transparent;
  color: white;
}

.timeline-step-title {
  font-family: var(--font-family-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
}

.timeline-step-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 160px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .timeline-line, .timeline-progress { display: none; }
  .timeline-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-step { flex-direction: row; text-align: left; }
  .timeline-node { flex-shrink: 0; }
  .timeline-step-desc { margin: 0; max-width: none; }
}

/* ── Tech Stack ──────────────────────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-item {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-normal);
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 48px; height: 48px;
  border-radius: var(--rounded-md);
  background: var(--color-surface-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.tech-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 1024px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials-slider-container {
  overflow: hidden;
  margin-top: 40px;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  flex-shrink: 0;
  width: 33.333%;
  padding: 12px;
}

@media (max-width: 1200px) { .testimonial-slide { width: 50%; } }
@media (max-width: 768px) { .testimonial-slide { width: 100%; } }

.testimonial-glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--rounded-xl);
  padding: 36px;
  box-shadow: var(--shadow-premium);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--transition-normal);
}

.testimonial-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 212, 0.2);
  box-shadow: var(--shadow-glow);
}

.testimonial-rating { display: flex; gap: 2px; color: #F59E0B; }
.testimonial-text { font-size: 15px; color: var(--color-text-muted); line-height: 1.65; font-style: italic; flex: 1; }

.testimonial-user { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: var(--rounded-full);
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface-blue);
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.testimonial-name {
  font-family: var(--font-family-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
}

.testimonial-company { font-size: 12px; color: var(--color-text-subtle); font-weight: 500; }

.slider-controls-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px; height: 48px;
  border-radius: var(--rounded-full);
  border: 1.5px solid var(--color-outline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
  background: white;
}

.slider-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.slider-dots { display: flex; gap: 8px; }

.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--rounded-full);
  background: var(--color-outline);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 24px;
  background: var(--gradient-btn);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-container {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover { border-color: rgba(0, 120, 212, 0.3); }

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-family: var(--font-family-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question { color: var(--color-primary); }

.faq-trigger {
  width: 32px; height: 32px;
  border-radius: var(--rounded-full);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-trigger {
  background: var(--color-primary);
  color: white;
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;
  transition: max-height var(--transition-normal), opacity var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-content { opacity: 1; padding: 0 28px 28px; }

.faq-answer { font-size: 15px; color: var(--color-text-muted); line-height: 1.65; }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--gradient-cta);
  border-radius: var(--rounded-xl);
  padding: 80px 56px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner[data-premium-bg] {
  background-size: cover;
  background-position: center;
}

.cta-banner[data-premium-bg]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 17, 32, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.cta-banner-decor {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-banner-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-banner-title { color: white; }
.cta-banner-desc { color: rgba(255, 255, 255, 0.85); font-size: 18px; }

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .cta-banner { padding: 56px 24px; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid var(--color-outline-dark);
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 120, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.7fr 1.3fr;
  gap: var(--spacing-gutter);
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-text { color: white; }
.footer-logo-img { height: 50px; filter: brightness(0) invert(1); }
.footer-brand-desc { font-size: 14px; line-height: 1.65; color: var(--color-text-on-dark); }

.footer-socials { display: flex; gap: 10px; }

.footer-social-link {
  width: 40px; height: 40px;
  border-radius: var(--rounded-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-outline-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-title {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-on-dark);
}

.footer-links a { color: var(--color-text-on-dark); }
.footer-links a:hover { color: var(--color-accent); padding-left: 4px; }

.footer-newsletter-desc { font-size: 13px; line-height: 1.5; color: var(--color-text-on-dark); }

.newsletter-form {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-outline-dark);
  padding: 5px;
  border-radius: var(--rounded-full);
  transition: border-color var(--transition-fast);
}

.newsletter-form:focus-within { border-color: var(--color-accent); }

.newsletter-input {
  flex: 1;
  padding: 8px 16px;
  font-size: 14px;
  color: white;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.newsletter-btn {
  width: 40px; height: 40px;
  border-radius: var(--rounded-full);
  background: var(--gradient-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.newsletter-btn:hover { transform: scale(1.05); }

.footer-bottom {
  border-top: 1px solid var(--color-outline-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-muted-dark);
  position: relative;
  z-index: 1;
}

.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: var(--color-text-on-dark); }
.footer-legal-links a:hover { color: white; }

@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-newsletter { grid-column: span 3; max-width: 420px; }
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-newsletter { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-newsletter { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Scroll Animations ───────────────────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* Above-fold & mobile: visible immediately — fixes 20s+ LCP on PageSpeed */
.hero .reveal-on-scroll,
.page-hero .reveal-on-scroll {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.reveal-fade-up { transform: translateY(40px); }
.reveal-slide-left { transform: translateX(40px); }
.reveal-slide-right { transform: translateX(-40px); }

.reveal-on-scroll.animated {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.overflow-hidden { overflow: hidden; }
body.overflow-hidden { overflow: hidden; }
.material-symbols-outlined.fill { font-variation-settings: 'FILL' 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .partners-track { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MULTI-PAGE: Page Heroes, Breadcrumbs, Forms, Blog, Nav Dropdown
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Nav Dropdown ────────────────────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav-dropdown-parent-link { display: none; }

.nav-chevron {
  font-size: 16px !important;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

@media (min-width: 1025px) {
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-outline);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 1100;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--rounded-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav-dropdown-item:hover {
    background: rgba(0, 120, 212, 0.06);
    color: var(--color-primary);
  }
}

/* ── Page Hero (Inner Pages) ─────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  z-index: 1;
}

.page-hero-white { background: var(--gradient-hero); }
.page-hero-gradient { background: var(--gradient-section-blue); }
.page-hero-dark {
  background: var(--color-dark);
  color: white;
}

.page-hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 75% 30%, rgba(0, 120, 212, 0.15) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-hero-grid-centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.page-hero-content { display: flex; flex-direction: column; gap: 20px; }
.page-hero-grid-centered .page-hero-content { align-items: center; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--color-text-subtle);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover { color: var(--color-primary); }

.breadcrumb-sep {
  color: var(--color-text-subtle);
  font-size: 12px;
}

.breadcrumb-current { color: var(--color-primary); font-weight: 600; }

.page-hero-dark .breadcrumbs a { color: var(--color-text-muted-dark); }
.page-hero-dark .breadcrumbs a:hover { color: var(--color-accent); }
.page-hero-dark .breadcrumb-current { color: var(--color-accent); }
.page-hero-dark .breadcrumb-sep { color: var(--color-text-muted-dark); }

.page-hero-white .breadcrumbs a,
.page-hero-gradient .breadcrumbs a { color: var(--color-text-subtle); }
.page-hero-white .breadcrumb-sep,
.page-hero-gradient .breadcrumb-sep { color: var(--color-text-subtle); }

.page-hero-title {
  font-family: var(--font-family-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
}

.page-hero-dark .page-hero-title { color: white; }

.page-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 540px;
}

.page-hero-dark .page-hero-desc { color: var(--color-text-on-dark); }
.page-hero-grid-centered .page-hero-desc { margin-inline: auto; }

.page-hero-visual {
  position: relative;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255,255,255,0.1);
}

.page-hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.page-hero-illustration {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--rounded-xl);
  background: var(--gradient-card-dark);
  border: 1px solid var(--color-outline-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.page-hero-illustration .illus-icon {
  font-size: 120px;
  color: var(--color-accent);
  opacity: 0.3;
}

.page-hero-illustration[data-premium-bg] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-illustration[data-premium-bg].premium-image-loaded .illus-icon {
  display: none;
}

.page-hero-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,212,255,0.15) 0%, transparent 50%);
}

@media (max-width: 1024px) {
  .page-hero { padding-top: 120px; padding-bottom: 60px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-visual, .page-hero-illustration { max-width: 480px; margin-inline: auto; width: 100%; }
}

/* ── Premium Image Utilities ─────────────────────────────────────────────── */
.premium-image-loaded { opacity: 1; transition: opacity 0.4s ease; }
img[data-premium-image] { opacity: 0.92; }
img[data-premium-image].premium-image-loaded { opacity: 1; }

.process-visual {
  max-width: 960px;
  margin: 0 auto 48px;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-outline);
  aspect-ratio: 21/9;
}

.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-map-card {
  border-radius: var(--rounded-xl);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-outline-dark);
}

.contact-map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 32, 0.75) 0%, rgba(8, 17, 32, 0.9) 100%);
  pointer-events: none;
}

.contact-map-card > * { position: relative; z-index: 2; }

.contact-map-card .headline-sm,
.contact-map-card h3 {
  color: var(--color-text-heading-dark);
}

.contact-map-card .body-md,
.contact-map-card p {
  color: var(--color-text-on-dark);
}

.contact-map-card .material-symbols-outlined {
  font-size: 48px;
  color: var(--color-accent);
}

.service-split-image {
  width: 100%;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  aspect-ratio: 16/10;
}

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

/* ── Value Props Row ─────────────────────────────────────────────────────── */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.value-prop-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.value-prop-icon {
  width: 48px; height: 48px;
  border-radius: var(--rounded-md);
  background: rgba(0,120,212,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.value-prop-icon span { font-size: 24px; }

.value-prop-title {
  font-family: var(--font-family-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.value-prop-text { font-size: 13px; color: var(--color-text-muted); }

@media (max-width: 1024px) { .value-props { grid-template-columns: repeat(2, 1fr); margin-top: 0; } }
@media (max-width: 480px) { .value-props { grid-template-columns: 1fr; } }

/* ── Service Cards Grid ──────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-gutter);
}

.service-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0,120,212,0.2);
}

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

.service-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--rounded-md);
  background: rgba(0,120,212,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon span { font-size: 26px; }

.service-card-title {
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-secondary);
}

.service-card-desc { font-size: 14px; color: var(--color-text-muted); flex: 1; }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Service Detail Layout ─────────────────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail-main { display: flex; flex-direction: column; gap: 40px; }

.service-detail-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 28px;
}

.sidebar-card-dark {
  background: var(--gradient-card-dark);
  border-color: var(--color-outline-dark);
  color: white;
}

.sidebar-title {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-list a {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.sidebar-list a:hover { color: var(--color-primary); }
.sidebar-list a span { font-size: 16px; color: var(--color-primary); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

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

.benefit-card h4 {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-card h4 span { color: var(--color-primary); font-size: 22px; }

.benefit-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-sidebar { position: static; }
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ── Contact Form ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--rounded-md);
  background: rgba(0,120,212,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon span { font-size: 22px; }

.contact-form-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-xl);
  padding: 40px;
  box-shadow: var(--shadow-premium);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-outline);
  border-radius: var(--rounded-md);
  font-size: 15px;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,120,212,0.1);
  background: white;
}

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

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Blog ──────────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-gutter);
}

.blog-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0,120,212,0.2);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }

.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.blog-card-title {
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.35;
}

.blog-card-excerpt { font-size: 14px; color: var(--color-text-muted); flex: 1; }

.blog-card-meta {
  font-size: 12px;
  color: var(--color-text-light);
  display: flex;
  gap: 16px;
}

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Team Grid ───────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  height: 200px;
  background: var(--gradient-section-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center top;
}

.team-avatar span {
  font-size: 64px;
  color: var(--color-primary);
  opacity: 0.3;
}

.team-info { padding: 24px; }

.team-name {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
}

.team-role { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

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

/* ── Logo Wall (Technologies) ──────────────────────────────────────────────── */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.logo-wall-item {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-normal);
}

.logo-wall-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.logo-wall-badge {
  width: 56px; height: 56px;
  border-radius: var(--rounded-md);
  background: var(--color-surface-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.logo-wall-name { font-size: 12px; font-weight: 600; color: var(--color-text-muted); text-align: center; }

@media (max-width: 1024px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

/* ── Process Steps (Vertical) ──────────────────────────────────────────────── */
.process-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin-inline: auto;
}

.process-step-v {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.process-step-v:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--color-outline);
}

.process-step-num {
  width: 56px; height: 56px;
  border-radius: var(--rounded-full);
  background: var(--gradient-btn);
  color: white;
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.process-step-body h4 {
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.process-step-body p,
.process-step-body .body-sm {
  color: var(--color-text-muted);
}

/* ── Two Column Content ────────────────────────────────────────────────────── */
.content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .content-2col { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Inline CTA Strip ──────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--gradient-cta);
  border-radius: var(--rounded-xl);
  padding: 48px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cta-strip-content { position: relative; z-index: 2; }
.cta-strip-actions { position: relative; z-index: 2; flex-shrink: 0; }

.cta-strip h3 {
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-strip p { font-size: 15px; color: var(--color-text-on-dark); }

/* ── Enhanced Page Heroes ────────────────────────────────────────────────── */
.page-hero-enhanced { position: relative; }

.page-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

.page-hero-white .page-hero-mesh,
.page-hero-gradient .page-hero-mesh {
  background-image:
    linear-gradient(rgba(8,17,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,17,32,0.04) 1px, transparent 1px);
}

.page-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.page-hero-glow-1 {
  width: 480px; height: 480px;
  background: rgba(0, 212, 255, 0.18);
  top: -120px; right: -80px;
}

.page-hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(0, 120, 212, 0.14);
  bottom: -100px; left: -60px;
}

.hero-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 8px 14px;
  background: rgba(0, 120, 212, 0.08);
  border: 1px solid rgba(0, 120, 212, 0.15);
  border-radius: var(--rounded-full);
  width: fit-content;
}

.page-hero-dark .hero-category,
.page-hero-enhanced.page-hero-dark .hero-category {
  color: var(--color-accent);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.2);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.page-hero-white .page-hero-desc,
.page-hero-gradient .page-hero-desc { color: var(--color-text-muted); }

.split-image-frame--landscape { aspect-ratio: 16/10; }
.split-image-frame--portrait { aspect-ratio: 3/4; }

.case-study-image img,
.service-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Service Page Layouts ────────────────────────────────────────────────── */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.challenge-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 120, 212, 0.2);
}

.challenge-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--rounded-md);
  background: var(--color-surface-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.challenge-card h4 {
  font-family: var(--font-family-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-secondary);
}

.challenge-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

.icon-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.icon-matrix-item {
  background: var(--card-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--card-border, var(--color-outline-dark));
  border-radius: var(--rounded-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--card-shadow, none);
  transition: all var(--transition-normal);
}

.icon-matrix-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow, var(--shadow-md));
}

.icon-matrix-item .feature-icon { margin-bottom: 4px; }

.icon-matrix-item h4 {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--card-heading, var(--color-text-heading-dark));
}

.icon-matrix-item p {
  font-size: 14px;
  color: var(--card-body, var(--color-text-on-dark));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--rounded-md);
  background: var(--gradient-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h4 {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
}

.value-card p { font-size: 14px; color: var(--color-text-muted); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px;
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-sm);
}

.why-card-num {
  width: 56px; height: 56px;
  border-radius: var(--rounded-full);
  background: var(--color-surface-blue);
  color: var(--color-primary);
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h4 {
  font-family: var(--font-family-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.why-card p { font-size: 14px; color: var(--color-text-muted); }

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-box {
  text-align: center;
  padding: 36px 24px;
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-sm);
}

.metric-box-value {
  font-family: var(--font-family-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.metric-box-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.tech-pill-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-pill {
  padding: 12px 22px;
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-surface-blue);
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.methodology-step {
  padding: 28px 24px;
  background: white;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  position: relative;
}

.methodology-step-num {
  font-family: var(--font-family-display);
  font-size: 32px;
  font-weight: 700;
  color: rgba(0, 120, 212, 0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.methodology-step h4 {
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.methodology-step p { font-size: 14px; color: var(--color-text-muted); }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compliance-card {
  padding: 28px;
  border: 1px solid var(--color-outline);
  border-radius: var(--rounded-lg);
  background: white;
}

.compliance-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.compliance-card p { font-size: 14px; color: var(--color-text-muted); }

@media (max-width: 1024px) {
  .challenge-grid, .icon-matrix, .values-grid, .methodology-steps { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .challenge-grid, .icon-matrix, .values-grid, .methodology-steps,
  .metric-row, .compliance-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
}

.premium-image-loaded { opacity: 1; transition: opacity 0.4s ease; }
img[data-premium-image] { opacity: 1; }
img[data-premium-image]:not(.premium-image-loaded):not([data-hero-preload]) { opacity: 0.92; }
img.premium-image-fallback { object-fit: cover; }

picture {
  display: block;
  width: 100%;
  height: 100%;
}

picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-image-frame picture,
.case-study-image picture,
.blog-card-image picture,
.hero-visual-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Mobile & Tablet Responsive Enhancements ─────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --spacing-section-py: 88px;
  }

  .section-header { margin-bottom: 48px; }
  .section-compact { padding-block: 56px; }

  .display-lg { font-size: clamp(32px, 7vw, 48px); }
  .headline-lg { font-size: clamp(26px, 5.5vw, 36px); }
  .headline-md { font-size: clamp(22px, 4.5vw, 28px); }

  .page-hero { padding-top: 120px; padding-bottom: 64px; }
  .page-hero-grid { gap: 32px; }
  .page-hero-content { align-items: flex-start; text-align: left; }
  .page-hero-grid-centered .page-hero-content { align-items: center; text-align: center; }

  .breadcrumbs { flex-wrap: wrap; row-gap: 4px; }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 24px;
  }

  .cta-strip-actions,
  .cta-strip-actions .btn { width: 100%; }

  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  .stats-banner { padding: 40px 24px; }
  .footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal-links { justify-content: center; flex-wrap: wrap; }

  .showcase-panel { grid-template-columns: 1fr; }
  .showcase-nav { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .showcase-nav-item { min-width: 120px; flex-direction: column; border-bottom: none; border-right: 1px solid var(--color-outline-dark); }

  .floating-badge { display: none; }
  .split-stat-badge { position: relative; bottom: auto; right: auto; margin-top: 16px; display: inline-block; }

  .contact-map-card { min-height: 260px; padding: 32px 20px; }
  .contact-form-card { padding: 28px 20px; }

  .form-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  :root {
    --spacing-section-py: 72px;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 64px;
  }

  .hero-content {
    min-width: 0;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.15;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
  }

  .hero-metric-value { font-size: 24px; }
  .hero-metric-label { font-size: 11px; }
  .partners-track { gap: 32px; }

  .process-step-v {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding-bottom: 28px;
  }

  .process-step-num { width: 48px; height: 48px; font-size: 16px; }
  .process-step-v:not(:last-child)::before { left: 23px; }

  .timeline-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .timeline-line, .timeline-progress { display: none; }

  .blog-card-meta { flex-wrap: wrap; gap: 8px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-btn { width: 100%; border-radius: var(--rounded-md); height: 44px; }

  .btn, .btn-primary, .btn-white, .btn-ghost, .btn-ghost-dark {
    min-height: 44px;
  }

  .glass-nav .nav-container .btn { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  :root {
    --spacing-section-py: 56px;
  }

  .section-header { margin-bottom: 36px; }
  .headline-lg { font-size: 24px; }
  .page-hero-title { font-size: clamp(26px, 8vw, 34px); }
  .page-hero-desc { font-size: 15px; }

  .hero-title { font-size: clamp(28px, 8vw, 40px); }
  .stats-banner { padding: 28px 16px; }
  .stat-num { font-size: 36px; }

  .cta-strip { padding: 28px 20px; }
  .cta-strip h3 { font-size: 20px; }

  .case-study-body { padding: 20px; }
  .challenge-card, .value-card, .why-card, .benefit-card { padding: 24px 20px; }

  .footer-top { gap: 32px; }
  .footer-newsletter { grid-column: 1 / -1; }
}

