/* ============================================
   SUPPLYKEE DESIGN SYSTEM
   Art Direction: Authoritative, corporate, 
   supply chain / logistics consulting
   ============================================ */

/* --- Type Scale --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* --- COLOR PALETTE: Deep Purple + Orange Accent --- */
:root, [data-theme="light"] {
  --color-bg:             #f8f9fa;
  --color-surface:        #ffffff;
  --color-surface-2:      #f1f3f5;
  --color-surface-offset: #e9ecef;
  --color-divider:        #dee2e6;
  --color-border:         #ced4da;

  --color-text:           #1a1f36;
  --color-text-muted:     #6b7280;
  --color-text-faint:     #9ca3af;
  --color-text-inverse:   #ffffff;

  /* Primary: Deep Purple */
  --color-primary:        #392178;
  --color-primary-hover:  #4a2b99;
  --color-primary-active: #2d1a60;

  /* Accent: Orange */
  --color-accent:         #CF4520;
  --color-accent-hover:   #e05030;
  --color-accent-active:  #b53a1a;
  --color-accent-light:   #fef0ec;

  /* Lavender */
  --color-warm:           #B3B0D4;
  --color-warm-light:     #eeedF4;

  /* Success */
  --color-success:        #059669;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(57, 33, 120, 0.06);
  --shadow-md: 0 4px 12px rgba(57, 33, 120, 0.08);
  --shadow-lg: 0 12px 32px rgba(57, 33, 120, 0.12);
}

[data-theme="dark"] {
  --color-bg:             #0f172a;
  --color-surface:        #1e293b;
  --color-surface-2:      #334155;
  --color-surface-offset: #1e293b;
  --color-divider:        #334155;
  --color-border:         #475569;

  --color-text:           #e2e8f0;
  --color-text-muted:     #94a3b8;
  --color-text-faint:     #64748b;
  --color-text-inverse:   #0f172a;

  --color-primary:        #B3B0D4;
  --color-primary-hover:  #c9c7e0;
  --color-primary-active: #9d9ac0;

  --color-accent:         #e06840;
  --color-accent-hover:   #f07850;
  --color-accent-active:  #CF4520;
  --color-accent-light:   rgba(207, 69, 32, 0.1);

  --color-warm:           #B3B0D4;
  --color-warm-light:     rgba(179, 176, 212, 0.1);

  --color-success:        #34d399;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #0f172a;
    --color-surface:        #1e293b;
    --color-surface-2:      #334155;
    --color-surface-offset: #1e293b;
    --color-divider:        #334155;
    --color-border:         #475569;
    --color-text:           #e2e8f0;
    --color-text-muted:     #94a3b8;
    --color-text-faint:     #64748b;
    --color-text-inverse:   #0f172a;
    --color-primary:        #B3B0D4;
    --color-primary-hover:  #c9c7e0;
    --color-primary-active: #9d9ac0;
    --color-accent:         #e06840;
    --color-accent-hover:   #f07850;
    --color-accent-active:  #CF4520;
    --color-accent-light:   rgba(207, 69, 32, 0.1);
    --color-warm:           #B3B0D4;
    --color-warm-light:     rgba(179, 176, 212, 0.1);
    --color-success:        #34d399;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.section-padding {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition: box-shadow 0.3s var(--ease-out);
}

.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .header-inner { padding-inline: var(--space-8); }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-accent);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: var(--space-1);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-text);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 73px;
  z-index: 99;
  background: var(--color-bg);
  flex-direction: column;
  padding: var(--space-8) var(--space-4);
  overflow-y: auto;
}

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

@media (min-width: 1024px) {
  .nav-mobile { display: none !important; }
}

.nav-mobile a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}

.nav-mobile a:hover {
  color: var(--color-accent);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-primary);
  color: #ffffff;
}

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

.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  background: #392178;
  color: #ffffff;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(207, 69, 32, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(207, 69, 32, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-grid-pattern {
  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: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
  padding-block: var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    padding-inline: var(--space-8);
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin-bottom: var(--space-4);
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: #ffffff;
}

.hero p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero .btn-primary {
  background: #CF4520;
  color: #ffffff;
}

.hero .btn-primary:hover {
  background: #e05030;
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
}

.hero .btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.hero-stat {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-accent-hover);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-header {
  text-align: left;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

.section-header.centered .section-desc {
  margin-inline: auto;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover .card,
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   SERVICES GRID
   ============================================ */

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

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

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

/* ============================================
   CLIENT LOGOS
   ============================================ */

.logos-section {
  padding-block: var(--space-12);
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.logos-label {
  text-align: center;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
  font-weight: 600;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.logo-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity var(--transition-interactive);
}

.logo-item:hover {
  opacity: 1;
}

/* ============================================
   TWO-COLUMN FEATURE
   ============================================ */

.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .feature-split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(var(--space-12), 5vw, var(--space-20));
  }
}

.feature-split.reverse .feature-media {
  order: -1;
}

@media (max-width: 767px) {
  .feature-split.reverse .feature-media {
    order: 0;
  }
}

.feature-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.feature-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  gap: var(--space-3);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.feature-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-success);
  margin-top: 2px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
  background: #392178;
  color: #ffffff;
}

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

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.testimonial-card blockquote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-accent-hover);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
}

/* ============================================
   PROCESS / METHODOLOGY
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  counter-reset: process;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  counter-increment: process;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  position: relative;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: oklch(from var(--color-accent) l c h / 0.15);
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
}

.process-step h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, #392178 0%, #4a2b99 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(207,69,32,0.3) 0%, transparent 60%);
}

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

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

/* ============================================
   CONTACT FORM
   ============================================ */

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

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}

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

.contact-info {
  display: grid;
  gap: var(--space-8);
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-lg);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-item h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.contact-info-item p,
.contact-info-item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: #392178;
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 32ch;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.footer-social a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  background: #392178;
  color: #ffffff;
  padding-block: var(--space-24) var(--space-16);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(207,69,32,0.2) 0%, transparent 50%);
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  background: #392178;
  color: #ffffff;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24)) clamp(var(--space-12), 6vw, var(--space-16));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(207,69,32,0.2) 0%, transparent 50%);
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  max-width: 55ch;
  line-height: 1.7;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   CASE STUDIES
   ============================================ */

.case-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

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

.case-card-image {
  height: 200px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-body {
  padding: var(--space-6);
}

.case-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.case-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.case-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.case-metrics {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.case-metric {
  text-align: center;
}

.case-metric-value {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-accent);
}

.case-metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================
   INDUSTRIES
   ============================================ */

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

@media (min-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

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

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-lg);
}

.industry-icon svg {
  width: 32px;
  height: 32px;
}

.industry-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.industry-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  text-align: left;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: fade-in-simple 0.6s var(--ease-out) forwards;
  }
  .fade-in:nth-child(2) { animation-delay: 0.1s; }
  .fade-in:nth-child(3) { animation-delay: 0.2s; }
  .fade-in:nth-child(4) { animation-delay: 0.3s; }
}

@keyframes fade-in-simple {
  to { opacity: 1; }
}

/* ============================================
   MISC UTILITIES
   ============================================ */

.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.fw-700 { font-weight: 700; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

/* Partner badges */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-light);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
}

.partner-badge svg {
  width: 16px;
  height: 16px;
}

/* WMS platforms list */
.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.platform-tag {
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Map placeholder */
.map-container {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}
