/* ==========================================================================
   NEXUSFLOW AI AUTOMATION - WARM EDITORIAL TECH DESIGN SYSTEM
   Palette:
     • Primary Background (bg1): #f5f4ef (Warm Linen)
     • Secondary Background (bg2): #ffffff (Pure White)
     • Buttons, Design Accents & Attention Highlights: #f54a00 (Vibrant Electric Orange)
     • Headings & Dark Text: #000000 (True Black)
     • Body Text: #262626 (Deep Charcoal Black)
     • Muted Text: #555555 (Mid Slate)
     • Subtle Borders: #e5e3dc
     • Strong Borders: #d0cdc3
   ========================================================================== */

:root {
  /* Base Backgrounds */
  --bg-main: #f5f4ef;
  --bg-subtle: #ffffff;
  --bg-linen: #f5f4ef;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fffaf7;
  --bg-elevated: #ffffff;
  --bg-input: #ffffff;

  /* Primary Accent & Attention Color (#f54a00) */
  --color-primary: #f54a00;
  --color-primary-hover: #d94100;
  --color-primary-subtle: #fff1eb;
  --color-primary-border: #ffd7c7;
  --color-primary-glow: rgba(245, 74, 0, 0.20);

  /* Backwards-compatibility aliases */
  --color-green: #f54a00;
  --color-green-hover: #d94100;
  --color-green-subtle: #fff1eb;

  /* AI & Feature Accents */
  --color-ai: #f54a00;
  --color-ai-secondary: #ff6b2b;
  --color-ai-hover: #d94100;
  --color-ai-subtle: #fff1eb;
  --color-ai-border: #ffd7c7;
  --color-ai-glow: rgba(245, 74, 0, 0.18);

  /* Positive Metric & Live Indicator Accent (#10B981) */
  --color-success: #10B981;
  --color-success-hover: #059669;
  --color-success-subtle: #ECFDF5;
  --color-success-border: #A7F3D0;
  --color-success-text: #047857;

  /* Typography */
  --text-dark: #000000;
  --text-primary: #000000;
  --text-secondary: #262626;
  --text-muted: #555555;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #e5e3dc;
  --border-strong: #d0cdc3;
  --border-focus: #f54a00;

  /* Badges */
  --badge-bg: #fff1eb;
  --badge-border: #ffd7c7;
  --badge-text: #f54a00;

  --badge-ai-bg: #fff1eb;
  --badge-ai-border: #ffd7c7;
  --badge-ai-text: #f54a00;

  --badge-success-bg: #ECFDF5;
  --badge-success-border: #A7F3D0;
  --badge-success-text: #047857;

  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;
  --danger-text: #B91C1C;

  /* Typography System */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  /* Geometry & Spacing */
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition-fast: 0.16s ease-out;
  --transition-normal: 0.24s ease-out;
  --transition-medium: 0.3s ease;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--border-subtle);
  --shadow-hover: 0 16px 32px -8px rgba(245, 74, 0, 0.12), 0 0 0 1px var(--color-primary-border);
  --shadow-btn-primary: 0 4px 14px rgba(245, 74, 0, 0.28);
  --shadow-btn-hover: 0 6px 20px rgba(245, 74, 0, 0.38);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   REFINED, MODERN EDITORIAL TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { 
  font-size: clamp(2.3rem, 4.4vw, 3.6rem); 
  font-weight: 700; 
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #000000;
}

h2 { 
  font-size: clamp(1.8rem, 3vw, 2.4rem); 
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #000000;
}

h3 { 
  font-size: clamp(1.2rem, 1.8vw, 1.45rem); 
  line-height: 1.3;
  color: #000000;
}

h4 { 
  font-size: 1.1rem; 
  font-weight: 600;
  color: #000000;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Color Helper Utility Classes */
.text-primary-accent, .text-orange, .text-accent, .text-green, .text-blue, .text-cyan {
  color: var(--color-primary) !important;
}

.text-success, .text-emerald {
  color: var(--color-success);
}

.text-dark { 
  color: var(--text-dark) !important; 
}

.text-muted { 
  color: var(--text-muted); 
}

.text-mono { 
  font-family: var(--font-mono); 
}

/* Alternating Section Background Utilities */
.bg-linen {
  background-color: var(--bg-linen) !important;
}

.bg-white {
  background-color: var(--bg-white) !important;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.section.bg-linen {
  background-color: #f5f4ef;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section.bg-white {
  background-color: #ffffff;
}

.hero-kicker, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-primary-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* ==========================================================================
   PILL BADGES & METRIC PILLS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.badge-ai {
  background-color: var(--badge-ai-bg);
  border: 1px solid var(--badge-ai-border);
  color: var(--badge-ai-text);
}

.badge-success {
  background-color: var(--badge-success-bg);
  border: 1px solid var(--badge-success-border);
  color: var(--badge-success-text);
}

.badge-secondary {
  background-color: #edebe4;
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
}

/* ==========================================================================
   BUTTONS (SOLID #f54a00 WITH HOVER #d94100)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-btn-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
  color: #FFFFFF !important;
}

.btn-secondary {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-primary-subtle);
  border-color: var(--color-primary-border);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-outline-green, .btn-outline-orange, .btn-outline-blue {
  background-color: #FFFFFF;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-green:hover, .btn-outline-orange:hover, .btn-outline-blue:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 17px;
  height: 17px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER & TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: #f5f4ef;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.live-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.live-counter-pill strong {
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-weight: 700;
}

.top-bar-markets {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 244, 239, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.logo-symbol {
  width: 32px;
  height: 32px;
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-primary-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: #f5f4ef;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mobile-menu-overlay.open {
  display: flex;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  background-color: #f5f4ef;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-headline {
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.hero-value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.hero-value-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-trust-bar svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-image-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-subtle);
  background: #FFFFFF;
  padding: 0.5rem;
  transition: transform var(--transition-normal);
}

.hero-image-showcase:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(245, 74, 0, 0.15), 0 0 0 1px var(--color-primary-border);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #FFFFFF;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.floating-badge strong {
  color: var(--color-primary);
}

.floating-badge.badge-top-left {
  top: 14px;
  left: 14px;
}

.floating-badge.badge-bottom-right {
  bottom: 14px;
  right: 14px;
}

.floating-badge.badge-bottom-right strong {
  color: var(--color-success);
}

.hero-banner-strip {
  margin-top: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.architecture-visual-box {
  margin-top: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.architecture-img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-md);
}

.specialist-card-horizontal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-top: 3rem;
}

.specialist-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   PAIN POINTS SECTION
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
  z-index: 1;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Linen color #f5f4ef with 94% opacity */
  background: linear-gradient(135deg, rgba(245, 244, 239, 0.96) 0%, rgba(245, 244, 239, 0.90) 100%);
  z-index: -1;
  transition: background 0.4s ease, opacity 0.4s ease;
}

.pain-card:hover::before {
  /* Brand Orange #f54a00 with 90% opacity */
  background: linear-gradient(135deg, rgba(245, 74, 0, 0.95) 0%, rgba(245, 74, 0, 0.85) 100%);
}

.section.bg-linen .pain-card, .section.bg-white .pain-card {
  background-color: transparent !important; /* override default bg colors */
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(245, 74, 0, 0.25);
  border-color: var(--color-primary);
}

.pain-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(245, 74, 0, 0.1);
  border: 1px solid rgba(245, 74, 0, 0.2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  font-size: 1.1rem;
  transition: all 0.4s ease;
}

.pain-card:hover .pain-icon-wrapper {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--color-primary);
  transform: scale(1.1);
}

.pain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.4s ease;
}

.pain-card:hover h3 {
  color: #ffffff;
}

.pain-card p {
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.pain-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.pain-cost-tag {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--danger-text);
  font-weight: 600;
  transition: all 0.4s ease;
}

.pain-card:hover .pain-cost-tag {
  border-top-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   TRANSFORMATION (BEFORE vs AFTER)
   ========================================================================== */
.transformation-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.comparison-column {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.comparison-column.before {
  border-color: #FECACA;
  background: #FEF2F2;
}

.comparison-column.after {
  border-color: var(--color-primary-border);
  background: #fff8f5;
}

.comparison-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.before .step-num {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.after .step-num {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

.step-desc strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.step-desc span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.comparison-result-card {
  margin-top: 1.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
}

.before .comparison-result-card {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.after .comparison-result-card {
  background: var(--color-primary-subtle);
  color: var(--color-primary-hover);
  border: 1px solid var(--color-primary-border);
}

/* ==========================================================================
   SERVICES GRID (TOP 6 & SERVICE CARDS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.section.bg-linen .service-card {
  background: #ffffff;
}

.section.bg-white .service-card {
  background: #f5f4ef;
}

.service-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-card-top {
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  font-size: 1.15rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.service-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: #edebe4;
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

.service-card-bottom {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  color: var(--color-primary-hover);
}

/* ==========================================================================
   BUSINESS TYPE SELECTOR
   ========================================================================== */
.industry-selector-section {
  background: #f5f4ef;
}

.industry-tabs-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.industry-tab {
  padding: 0.55rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.industry-tab:hover {
  border-color: var(--border-strong);
  color: var(--text-dark);
}

.industry-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245, 74, 0, 0.3);
}

.industry-demo-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.industry-workflow-mock {
  background: #f5f4ef;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.industry-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.metric-card .number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.metric-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   AUTOMATION OPPORTUNITY CALCULATOR
   ========================================================================== */
.calc-container {
  background: #f5f4ef;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  box-shadow: var(--shadow-card);
}

.section.bg-linen .calc-container {
  background: #ffffff;
}

.section.bg-white .calc-container {
  background: #f5f4ef;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.calc-field .calc-val {
  font-family: var(--font-mono);
  color: var(--color-primary);
  font-weight: 700;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #e5e3dc;
  border-radius: 3px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(245, 74, 0, 0.4);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-outputs {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.calc-results-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-res-item {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.calc-res-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-res-label {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.calc-res-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.calc-disclaimer {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.4;
}

/* ==========================================================================
   TECHNOLOGY / TOOLS SECTION
   ========================================================================== */
.tech-category-block {
  margin-bottom: 2rem;
}

.tech-category-title {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 0.85rem;
}

.tech-badge {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.section.bg-linen .tech-badge {
  background: #ffffff;
}

.section.bg-white .tech-badge {
  background: #f5f4ef;
}

.tech-badge:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 74, 0, 0.12);
}

.tech-tool-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ==========================================================================
   PROCESS (5-STEPS)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.process-step-card {
  background: #f5f4ef;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.section.bg-linen .process-step-card {
  background: #ffffff;
}

.section.bg-white .process-step-card {
  background: #f5f4ef;
}

.process-step-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.process-step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FEATURED WORKFLOWS & PORTFOLIO CASE STUDIES
   ========================================================================== */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}

.case-study-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.section.bg-linen .case-study-card {
  background: #ffffff;
}

.section.bg-white .case-study-card {
  background: #f5f4ef;
}

.case-study-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.portfolio-thumb-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  background: #edebe4;
  height: 190px;
  position: relative;
}

.portfolio-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-medium);
}

.case-study-card:hover .portfolio-thumb-wrap img {
  transform: scale(1.04);
}

.case-badge-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.case-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.case-demo-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-primary-border);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
}

.case-study-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.case-detail-block {
  margin-bottom: 1rem;
}

.case-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.case-detail-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.case-architecture-mini {
  background: #fff8f5;
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-primary);
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.case-outcome-highlight {
  background: #ECFDF5;
  border-left: 3px solid var(--color-success);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #047857;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: center;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.section.bg-linen .pricing-card {
  background: #ffffff;
}

.section.bg-white .pricing-card {
  background: #f5f4ef;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  background: #FFFFFF !important;
  box-shadow: 0 12px 30px -5px rgba(245, 74, 0, 0.18), 0 0 0 1px var(--color-primary);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-2px);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(245, 74, 0, 0.3);
}

.pricing-tier-name {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.pricing-tier-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  min-height: 40px;
}

.pricing-price-wrap {
  margin: 1.5rem 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-price-prefix {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-feature svg {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

/* Maintenance Plans */
.maintenance-section {
  margin-top: 3.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.section.bg-white .maintenance-section {
  background: #f5f4ef;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.maintenance-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.maintenance-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0.5rem 0 0.85rem 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.section.bg-white .faq-item {
  background: #f5f4ef;
}

.faq-item:hover, .faq-item.active {
  border-color: var(--color-primary-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.4rem;
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-chevron {
  transition: transform var(--transition-fast);
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.25rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.25rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   MULTI-STEP CONTACT FORM & LIVE BRIEF SIDEBAR
   ========================================================================== */
.contact-interactive-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.multi-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.step-indicator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.step-bullet {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edebe4;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-secondary);
}

.step-bullet.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(245, 74, 0, 0.3);
}

.step-bullet.completed {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-color: var(--color-primary-border);
}

.step-form-screen {
  display: none;
}

.step-form-screen.active {
  display: block;
}

.form-grid-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.form-option-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  cursor: pointer;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.form-option-card:hover {
  border-color: var(--color-primary-border);
  background: #fff8f5;
}

.form-option-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-weight: 600;
}

.form-input-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 74, 0, 0.15);
}

.step-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* Sticky Automation Brief Sidebar */
.brief-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 95px;
  box-shadow: var(--shadow-sm);
}

.brief-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.brief-items {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.brief-item-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brief-key {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.brief-value {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   BOOKING PAGE
   ========================================================================== */
.booking-calendar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.meeting-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.meeting-type-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.meeting-type-card:hover, .meeting-type-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.slot-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-dark);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.slot-btn:hover, .slot-btn.selected {
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(245, 74, 0, 0.3);
}

/* ==========================================================================
   LIVE ACTIVITY NOTIFICATION POPUP (SMALL, COMPACT TOAST)
   ========================================================================== */
.live-notification-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 999;
  max-width: 300px;
  transition: opacity 0.28s ease, transform 0.28s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.live-notification-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-avatar-wrapper {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.toast-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-subtle);
  background: #f5f4ef;
  display: block;
}

.toast-flag-badge {
  position: absolute;
  bottom: -2px;
  right: -3px;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.toast-content {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.toast-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.toast-biz-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.toast-meta-row {
  font-size: 0.69rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-action-row {
  font-size: 0.71rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.1rem;
  margin-left: 0.15rem;
  align-self: flex-start;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.toast-close-btn:hover {
  opacity: 1;
  color: var(--text-dark);
}

/* ==========================================================================
   WARM EDITORIAL FOOTER (#f5f4ef)
   ========================================================================== */
.site-footer {
  background: #f5f4ef;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  color: var(--text-secondary);
}

.site-footer.bg-white {
  background: #ffffff;
}

.site-footer.bg-linen {
  background: #f5f4ef;
}

.footer-cta-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-card);
}

.footer-cta-card h2, .footer-cta-card h3 {
  color: #000000;
}

.footer-cta-card p {
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-grid .logo {
  color: #000000;
}

.footer-grid p {
  color: var(--text-secondary);
}

.footer-col-title {
  font-size: 0.875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-link.text-green, .footer-link.text-orange {
  color: var(--color-primary) !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links .footer-link {
  color: var(--text-muted);
}

.footer-legal-links .footer-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   PORTFOLIO PAGE STYLING
   ========================================================================== */
.portfolio-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.section.bg-linen .portfolio-item-card {
  background: #ffffff;
}

.section.bg-white .portfolio-item-card {
  background: #f5f4ef;
}

.portfolio-item-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-border);
}

.portfolio-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .contact-interactive-layout {
    grid-template-columns: 1fr;
  }
  .brief-sidebar {
    position: static;
  }
  .industry-demo-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calc-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-grid-layout {
    grid-template-columns: 1fr !important;
    padding: 1.75rem !important;
    gap: 1.75rem !important;
  }
}

@media (max-width: 768px) {
  .top-bar-markets {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .transformation-comparison {
    grid-template-columns: 1fr;
  }
  .maintenance-grid {
    grid-template-columns: 1fr;
  }
  .meeting-type-selector {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}



/* ==========================================================================
   3-COLUMN TOOLS ECOSYSTEM - CLEAN, ELEGANT & PERFECTLY ALIGNED (8 EACH)
   ========================================================================== */
.tools-three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
  margin-bottom: 2rem;
  align-items: center;
}

.tool-square-box {
  background: #ffffff;
  border: 1px solid #e7e5dc;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  height: 100%;
}

.section.bg-white .tool-square-box {
  background: #f5f4ef;
  border-color: #e5e3d8;
}

.tool-square-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.08);
  border-color: #d1cfc5;
}

.tool-box-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edebe4;
}

.tool-box-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f5f4ef;
  border: 1px solid #e2dfd5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  flex-shrink: 0;
}

.tool-box-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f5f4ef;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.tool-box-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 0.4rem 0;
  line-height: 1.25;
}

.tool-box-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  min-height: 2.6rem;
}

.tool-box-list {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  border-top: 1px solid #edebe4;
}

.tool-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.68rem 0.25rem;
  border-bottom: 1px solid #f0eee7;
  transition: background 0.15s ease, padding-left 0.15s ease;
  min-height: 46px;
}

.tool-list-row:last-child {
  border-bottom: none;
}

.tool-list-row:hover {
  background: #faf9f6;
  padding-left: 0.5rem;
  padding-right: 0.25rem;
  border-radius: 6px;
}

.tool-item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.tool-item-main .tech-tool-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.tool-name-primary {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  white-space: normal;
  line-height: 1.25;
}

.tool-spec-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
  white-space: normal;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.tools-custom-integration-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e7e5dc;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-card);
  margin-top: 2.25rem;
}

.section.bg-white .tools-custom-integration-banner {
  background: #f5f4ef;
  border-color: #e5e3d8;
}

.tools-custom-integration-banner .banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f4ef;
  border: 1px solid #e2dfd5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.tools-custom-integration-banner .banner-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.25rem;
}

.tools-custom-integration-banner .banner-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1024px) {
  .tools-three-col-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   STREAMLINED BEFORE VS AFTER INDUSTRY SELECTOR
   ========================================================================== */
.clean-before-after-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  margin-top: 1.75rem;
}

.section.bg-white .clean-before-after-box {
  background: #f5f4ef;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.ba-col {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.ba-col.before {
  background: #fff5f5;
  border: 1px solid #fee2e2;
}

.ba-col.after {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
}

.ba-col-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ba-col.before .ba-col-header {
  color: #b91c1c;
}

.ba-col.after .ba-col-header {
  color: #15803d;
}

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ba-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ba-col.before .ba-list-item {
  color: #7f1d1d;
}

.ba-col.after .ba-list-item {
  color: #14532d;
  font-weight: 500;
}

.ba-list-item .item-icon {
  flex-shrink: 0;
  font-weight: 700;
}

.ba-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.ba-metrics-pill-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ba-metric-pill {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: #f5f4ef;
  border: 1px solid #e7e5dc;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  color: var(--text-dark);
}

.section.bg-white .ba-metric-pill {
  background: #ffffff;
}

/* ==========================================================================
   PRE-FOOTER TEAM / ENGINE SHOWCASE SECTION
   ========================================================================== */
.team-engine-section {
  text-align: center;
  padding: 5rem 0;
}

.team-avatar-cluster-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.team-avatar-group {
  display: flex;
  align-items: center;
}

.cluster-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  margin-left: -14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  object-fit: cover;
  transition: transform 0.2s ease, z-index 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.cluster-avatar:first-child {
  margin-left: 0;
}

.cluster-avatar:hover {
  transform: scale(1.18) translateY(-4px);
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-cluster-divider {
  width: 1px;
  height: 36px;
  background: #dcd9cf;
  margin: 0 0.5rem;
}

.btn-pill-team {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.85rem;
  border-radius: 9999px;
  border: 1px solid #d5d2c7;
  background: #ffffff;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.btn-pill-team:hover {
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #000000;
}

/* ==========================================================================
   TEAM PAGE SPECIFIC STYLES (team.html)
   ========================================================================== */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.team-member-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.section.bg-white .team-member-card {
  background: #f5f4ef;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-border);
}

.team-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed #d5d2c7;
  background: #faf9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.team-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-role-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-primary-border);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.team-member-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.team-member-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.team-member-specs {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .team-cards-grid {
    grid-template-columns: 1fr;
  }
}
/* Native Live Architecture Flow */
.native-architecture-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  flex-wrap: wrap;
  gap: 1rem;
}

.arch-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 100px;
}

.arch-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.arch-step:hover .arch-icon-box {
  border-color: var(--color-success);
  color: var(--color-success);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.2);
}

.arch-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
}

.arch-connector {
  flex: 2;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 40px;
}

.arch-connector-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  transform: translateY(-50%);
  z-index: 1;
}

.arch-lightening {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-success), var(--color-success), transparent);
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 0 10px var(--color-success), 0 0 20px var(--color-success);
  animation: lighteningFlow 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0.8;
  border-radius: 2px;
}

@keyframes lighteningFlow {
  0% { left: -100%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (max-width: 768px) {
  .native-architecture-flow {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
  
  .arch-step {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
  }
  
  .arch-icon-box {
    width: 50px;
    height: 50px;
  }
  
  .arch-connector {
    width: 100%;
    height: 40px;
    flex: unset;
  }
  
  .arch-connector-line {
    width: 2px;
    height: 100%;
    top: 0;
    left: 24px; /* Align with icon center */
    transform: none;
  }
  
  .arch-lightening {
    width: 4px;
    height: 100%;
    top: -100%;
    left: 23px;
    background: linear-gradient(180deg, transparent, var(--color-success), var(--color-success), transparent);
    transform: none;
    animation: lighteningFlowVertical 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
}

@keyframes lighteningFlowVertical {
  0% { top: -100%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* TRUST BAR */
.trust-bar-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.trust-col {
  display: flex;
  flex-direction: column;
}
.trust-stars {
  display: flex;
  gap: 2px;
}
.trust-star-box {
  width: 26px;
  height: 26px;
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
@media (max-width: 992px) {
  .trust-bar-grid {
    justify-content: center;
  }
}


.founder-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f7f4eb;
}
.founder-img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.5s ease;
  object-fit: cover;
}
.founder-img-wrapper:hover .founder-img {
  filter: grayscale(100%);
}
.experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(245, 74, 0, 0.3);
  text-align: center;
  z-index: 10;
  border: 4px solid #fff;
}
.experience-badge .years {
  font-size: 2.25rem;
  line-height: 1;
  display: block;
}
.experience-badge .text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}
@media (max-width: 992px) {
  .experience-badge {
    right: 1rem;
  }
}


/* CUSTOM TEAM ROW */
.team-row-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  margin: 3.5rem auto;
  perspective: 1200px;
  max-width: 1100px; /* Reduce overall span */
}

.team-member-skewed {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 220px; /* Reduces the team images a bit to look much more professional */
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.team-member-skewed:hover {
  transform: translateY(-15px) scale(1.05);
  z-index: 10;
}

.team-skew-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  transform: rotateY(-18deg) skew(-4deg);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  background: var(--bg-linen);
  position: relative;
  box-shadow: -10px 15px 25px rgba(0,0,0,0.1);
  margin-bottom: 1.25rem;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* A creative glowing pseudo-element behind the image on hover */
.team-member-skewed::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 30%;
  background: var(--color-primary);
  filter: blur(25px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  pointer-events: none;
}
.team-member-skewed:hover::before {
  opacity: 0.4;
}

.team-member-skewed:hover .team-skew-img-wrap {
  transform: rotateY(0deg) skew(0deg);
  box-shadow: 0 25px 40px rgba(245, 74, 0, 0.25);
  border-left-width: 8px;
}

.team-skew-img-wrap img {
  width: 130%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: rotateY(18deg) skew(4deg) translateX(-10%);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  filter: grayscale(40%) contrast(1.1);
}

.team-member-skewed:hover .team-skew-img-wrap img {
  filter: grayscale(0%) contrast(1);
  transform: rotateY(0deg) skew(0deg) translateX(0) scale(1.02);
}

.team-skew-info {
  width: 100%;
  text-align: center; /* Center the text for better aesthetics with narrower cards */
  padding-bottom: 0.5rem;
  opacity: 0.8;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.team-member-skewed:hover .team-skew-info {
  opacity: 1;
  transform: translateY(0);
}

.team-skew-name {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.team-skew-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .team-row-4 {
    flex-wrap: wrap;
    gap: 2.5rem;
    perspective: none;
  }
  .team-member-skewed {
    flex: 0 0 calc(50% - 1.25rem);
    max-width: none;
  }
  .team-skew-img-wrap {
    transform: none;
    border-left: none;
    border-bottom: 4px solid var(--color-primary);
  }
  .team-skew-img-wrap img {
    transform: none;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .team-member-skewed {
    flex: 0 0 100%;
  }
}

.team-skew-img-wrap img.anjola-fix {
  object-position: center 15%;
}


/* ==========================================================================
   REVIEWS CAROUSEL
   ========================================================================== */
.reviews-slider-wrapper {
  position: relative;
  margin-right: -20vw; /* let it overflow to the right */
  padding-bottom: 2rem;
}
.reviews-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-right: 20vw; /* buffer for last item */
  padding-bottom: 1rem;
}
.reviews-slider::-webkit-scrollbar {
  display: none;
}
.review-card {
  flex: 0 0 calc(25% - 1.125rem); /* show 4 cards */
  min-width: 320px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: #FFC107;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  letter-spacing: 3px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.review-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.review-author-info h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.review-author-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}
.slider-arrow:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}
.slider-arrow-left {
  left: -24px;
}
.slider-arrow-right {
  right: 18vw;
}
@media (max-width: 1200px) {
  .review-card { flex: 0 0 calc(33.333% - 1rem); }
}
@media (max-width: 900px) {
  .review-card { flex: 0 0 calc(50% - 0.75rem); }
  .reviews-slider-wrapper { margin-right: -1rem; padding-right: 1rem; }
  .slider-arrow-right { right: 10px; }
  .slider-arrow-left { left: 10px; }
}
@media (max-width: 576px) {
  .review-card { flex: 0 0 100%; min-width: 280px; }
}



/* ==========================================================================
   ANIMATED NODE MAP
   ========================================================================== */
.animated-node-map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.5rem;
  background: #f8fafc;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  gap: 0;
}
.a-node {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  z-index: 2;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.a-line {
  flex-grow: 1;
  height: 2px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
  min-width: 12px;
}
.a-line-glow {
  position: absolute;
  top: 0;
  left: -30px;
  height: 100%;
  width: 30px;
  background: #10B981;
  box-shadow: 0 0 10px 2px rgba(16, 185, 129, 0.8);
  animation: dataFlowPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.8s; }
.delay-3 { animation-delay: 1.2s; }
.delay-4 { animation-delay: 1.6s; }

@keyframes dataFlowPulse {
  0% { left: -30px; opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}


/* ==========================================================================
   FULL TEAM PAGE (BLACK & WHITE DESIGN)
   ========================================================================== */
.team-page-section {
  background-color: #ffffff;
  padding: 5rem 0 7rem 0;
}
.founder-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}
.founder-card {
  width: 100%;
  max-width: 400px;
}
.founder-card img {
  filter: none !important;
  transition: filter 0.4s ease;
}
.founder-card:hover img {
  filter: grayscale(100%) !important;
}
.team-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}
.team-card-bw {
  position: relative;
  background: #f1f1f1;
}
.team-card-bw img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}
.team-info-bw {
  background: #ffffff;
  padding: 1.25rem 1rem;
  margin: -1.5rem 1rem 0 1rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  z-index: 2;
}
.team-info-bw h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem 0;
  color: #111111;
  font-weight: 700;
}
.team-info-bw p {
  font-size: 0.75rem;
  color: #555555;
  margin: 0;
}
.team-icon-share {
  position: absolute;
  top: -12px;
  right: 15px;
  width: 26px;
  height: 26px;
  background-color: #cb9b7d; /* Matches the tan circle in reference */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.6rem;
}
@media (max-width: 1024px) { .team-grid-8 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team-grid-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid-8 { grid-template-columns: 1fr; } }


/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 576px) {
  /* Fix layout spacing & paddings on mobile */
  .section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .hero {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  /* Prevent horizontal overflow on rigid grids */
  .pain-grid,
  .services-grid,
  .case-study-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Make animated node map scroll horizontally if it's too wide */
  .animated-node-map {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 1rem !important;
    justify-content: flex-start !important;
  }
  
  /* Adjust typography to prevent wrapping errors */
  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
  }
  
  .hero-banner-strip {
    margin-top: 2.5rem !important;
  }
  
  .hero-value-pills {
    gap: 0.5rem !important;
  }
  
  .hero-value-pill {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.6rem !important;
  }
  
  .team-member-skewed {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .animated-node-map {
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .animated-node-map::-webkit-scrollbar {
    height: 6px;
  }
  .animated-node-map::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
  }
  .animated-node-map::-webkit-scrollbar-track {
    background: #f1f5f9;
  }
}


/* ==========================================================================
   SYSTEM SHIFT CARDS (BEFORE & AFTER)
   ========================================================================== */
.system-shift-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
.shift-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid var(--border-subtle);
  
}

/* Replicate the chamfer/border cut from the sample image using border-radius trick */
.shift-img-left {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 60px;
}
.shift-img-right {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 60px;
}

.shift-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  color: #111;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}
.shift-content {
  flex: 1;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shift-content h3 {
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.shift-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 95%;
}
.shift-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.shift-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.shift-icon-circle {
  width: 20px;
  height: 20px;
  background: rgba(245, 74, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shift-icon-circle svg {
  width: 12px;
  height: 12px;
  color: var(--color-primary);
}
.shift-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s ease;
  margin-top: auto;
}
.shift-link:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .shift-card {
    flex-direction: column;
  }
  .shift-img-wrap {
    width: 100%;
    height: 250px;
    flex: unset;
  }
  .shift-content {
    width: 100%;
    padding: 2.5rem 2rem;
  }
  .shift-after {
    flex-direction: column-reverse;
  }
  .shift-img-left, .shift-img-right {
    border-radius: 0;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
  .shift-after .shift-img-right {
    border-radius: 0;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }
}


/* ==========================================================================
   STUNNING CONTACT FORM SECTION
   ========================================================================== */
.form-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cm-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 74, 0, 0.08);
  border: 1px solid rgba(245, 74, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform 0.3s ease, background 0.3s ease;
}
.contact-method-item:hover .cm-icon {
  background: rgba(245, 74, 0, 0.15);
  transform: translateY(-2px);
}

.cm-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cm-text strong {
  font-size: 1.05rem;
  color: #f8fafc;
}

.cm-text span {
  font-size: 0.95rem;
  color: #94a3b8;
}

/* Form Card Styling */
.form-card-side {
  background: #1e293b;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}
/* Ambient Orange glow effect behind the form */
.form-card-side::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: var(--color-primary);
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}
.form-card-side::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: #3b82f6; /* slight blue hue for depth */
  filter: blur(120px);
  opacity: 0.1;
  z-index: -1;
  border-radius: 50%;
}

.stunning-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.stunning-form input,
.stunning-form select {
  background: #0f172a;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.stunning-form input:focus,
.stunning-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 74, 0, 0.15);
  background: #131c31;
}

.stunning-form input::placeholder {
  color: #475569;
}

/* Custom styling for select to look premium in dark mode */
.stunning-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 3rem;
}

.form-secure-text {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

@media (max-width: 992px) {
  .form-split-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .form-card-side {
    padding: 2.5rem;
  }
}
@media (max-width: 576px) {
  .form-row.split {
    grid-template-columns: 1fr;
  }
}


.stunning-form textarea {
  background: #0f172a;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  resize: vertical;
}
.stunning-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 74, 0, 0.15);
  background: #131c31;
}
.stunning-form textarea::placeholder {
  color: #475569;
}


.shift-img-wrap {
  flex: 0 0 45%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #f5f4ef; /* Match linen background so any tiny gaps are invisible */
}

.shift-img-wrap img.shift-img {
  width: 100%;
  height: auto; /* Lets the image show fully without cropping */
  display: block;
  transition: transform 0.4s ease;
}

/* Hover colour overlay for portfolio fitting */
.shift-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-primary); /* Brand Orange */
  opacity: 0;
  mix-blend-mode: color; /* Blends the color nicely with the image */
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.shift-card:hover .shift-img-wrap::after {
  opacity: 0.35; /* Orange tint appears on hover */
}

.shift-card:hover .shift-img-wrap img.shift-img {
  transform: scale(1.03); /* Slight zoom effect to make it feel premium */
}


/* ==========================================================================
   WHATSAPP FLOATING BOT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}
.whatsapp-float svg {
  width: 34px;
  height: 34px;
}
@media (max-width: 576px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}


.service-card {
  overflow: hidden; /* Important for the margin trick to work without spilling out */
  position: relative;
}
.service-img-header img {
  transition: transform 0.4s ease;
}
.service-card:hover .service-img-header img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .calc-container {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   SERVICE CARDS PREMIUM ANIMATIONS & BRAND TINTING
   ========================================================================== */
.service-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 45px rgba(245, 74, 0, 0.15);
  border-color: rgba(245, 74, 0, 0.4);
  z-index: 2;
}

.service-img-header {
  position: relative;
}

/* Primary Brand Color Tint (Forces objects to become orange) */
.service-img-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  opacity: 0.8;
  mix-blend-mode: color; 
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

/* Secondary Multiply (Darkens and enriches the contrast) */
.service-img-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  opacity: 0.25;
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 3;
}

/* Hover State: Make it slightly brighter and reveal a tiny bit more natural color */
.service-card:hover .service-img-header::after {
  opacity: 0.5;
}
.service-card:hover .service-img-header::before {
  opacity: 0.15;
}

/* Add a glowing bottom border to the image header on hover */
.service-img-header {
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover .service-img-header {
  border-color: var(--color-primary);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(245,74,0,0.2);
}
