﻿/* ============================================================
   SoftFlex — Shared Stylesheet v2.0
   Design system: Gamma — #1a1a1a bg · Barlow · #FF4B2E accent
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Core palette */
  --color-white:    #ffffff;
  --color-bg:       #1a1a1a;
  --color-accent:   #FF4B2E;
  --color-muted:    #949a9a;
  --color-surface:  #2e2f2f;
  --color-border:   #3a3b3b;

  /* Semantic aliases (keeps HTML backward-compatible) */
  --bg-primary:    #1a1a1a;
  --bg-secondary:  #2e2f2f;
  --bg-elevated:   #2e2f2f;
  --bg-glass:      rgba(26, 26, 26, 0.85);

  --accent:        #FF4B2E;
  --accent-glow:   #ff6b52;
  --accent-cyan:   #FF4B2E;

  --text-primary:  #ffffff;
  --text-secondary:#ffffff;
  --text-tertiary: #6a6a6a;

  --border:        #2e2f2f;
  --border-soft:   rgba(58, 59, 59, 0.5);

  /* Font — Barlow only */
  --font-sans:  'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-w: 1184px;
  --pad-x: 48px;
  --nav-h: 68px;
}

/* ── 2. RESET + BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* ── 3. AMBIENT BACKGROUND ──────────────────────────────────── */
.page-glow::before,
.page-glow::after { display: none; }

.grid-overlay { display: none; }

/* ── 4. NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: transparent;
  border-bottom: none;
}
.site-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.3s var(--ease-smooth);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  gap: 32px;
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 500;
  color: #949a9a;
  border-radius: 8px;
  transition: color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}
.nav-link svg { transition: transform 0.25s var(--ease-smooth); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 8px 0 8px;
  margin-top: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease-smooth) 0.5s,
              transform 0.22s var(--ease-smooth) 0.5s,
              pointer-events 0s 0.5s;
  z-index: 999;
}
.mega-menu-inner {
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.22s var(--ease-smooth),
              transform 0.22s var(--ease-smooth);
}

.mega-menu a {
  display: block;
  width: 100%;
  padding: 11px 16px;
  margin: 2px 6px;
  width: calc(100% - 12px);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s, background 0.15s;
}

.mega-menu a:hover,
.mega-menu a.active {
  color: var(--color-accent);
}

/* Right CTA */
.nav-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn { height: 36px; padding: 0 18px; font-size: 15px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 150;
  padding: 32px var(--pad-x) 40px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }

.mobile-nav-links { flex: 1; }
.mobile-nav-link {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--text-primary); }

.mobile-accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  width: 100%;
  background: none;
  transition: color 0.2s;
}
.mobile-accordion-toggle:hover { color: var(--text-primary); }
.mobile-accordion-toggle svg { transition: transform 0.25s var(--ease-smooth); }
.mobile-accordion-toggle.open svg { transform: rotate(180deg); }

.mobile-accordion-body {
  display: none;
  flex-direction: column;
  padding: 8px 0 8px 16px;
  gap: 4px;
}
.mobile-accordion-body.open { display: flex; }

.mobile-service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}
.mobile-service-link svg { display: none; }
.mobile-service-link:hover,
.mobile-service-link:active {
  background: var(--bg-elevated);
  color: #FF4B2E;
}

.mobile-nav-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  margin-top: 16px;
}

/* ── 5. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 22px;
  font-size: 17px;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.15s, color 0.2s, transform 0.2s var(--ease-smooth);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Primary: orange fill, white text */
.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}
.btn-primary:hover,
.btn-primary:active {
  background: #c93820;
  border-color: #c93820;
}

/* Secondary: orange border, white text */
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: var(--color-accent);
  font-size: 15px;
}
.btn-secondary:hover,
.btn-secondary:active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

/* Sizes */
.btn-sm {
  height: 36px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-lg {
  height: 52px;
  padding: 0 32px;
  font-size: 17px;
}

/* ── 6. LAYOUT HELPERS ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
}
.section + .section { border-top: none; }

/* ── Section band utilities ─────────────────────────────────── */
.bg-surface { background: var(--bg-secondary); }
.bg-accent  { background: var(--color-accent); }

.stats-bg-img {
  background-image: url('6-assets/img/1.jpg');
  background-size: cover;
  background-position: center center;
  padding: 160px 0;
}

.bg-surface .cs-card {
  background: var(--bg-primary);
  border-color: var(--color-border);
}
.bg-surface .tech-pill {
  background: var(--bg-primary);
  border-color: var(--color-border);
}

/* Stats on orange accent section */
.bg-accent .stats-grid {
  background: transparent;
  border: none;
  border-radius: 0;
  gap: 16px;
  overflow: visible;
}
.bg-accent .stat-item {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
.bg-accent .stat-item:last-child { border-right: 1px solid rgba(255, 255, 255, 0.28); }
.bg-accent .stat-value { color: #2e2f2f; }
.bg-accent .stat-plus  { color: #2e2f2f; }
.bg-accent .stat-label { color: #2e2f2f; }

.section-eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-eyebrow::before { display: none; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-wrap: balance;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 80px;
}

.section-header .section-eyebrow,
.section-header .section-title {
  margin-bottom: 0;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

/* ── 7. HERO ────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 200px;
  min-height: 720px;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(100, 60, 220, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 55% at 80% 30%, rgba(30, 100, 220, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(255, 75, 46, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
}
.hero-cards {
  margin-top: 120px;
  text-align: left;
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  max-width: none;
  text-wrap: balance;
}
.hero-title .serif {
  color: var(--color-accent);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-subtitle {
  font-size: 20px;
  color: #ffffff;
  max-width: none;
  text-wrap: balance;
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── 8. TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  padding: 120px 0;
  border-top: 1px solid var(--color-surface);
}
.trust-label {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  text-align: center;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-logo:hover { color: var(--text-secondary); }

/* ── 9. SERVICE CARDS ───────────────────────────────────────── */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Image-led service card (Gamma style) */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--color-surface);
  border-radius: 12px;
  transition:
    border-color 0.32s var(--ease-smooth),
    transform 0.32s var(--ease-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
}

/* Image area (used when .service-card__media is present) */
.service-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  position: relative;
  flex-shrink: 0;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-smooth);
}
.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Card content — works with both old (h3/h4/p) and new (__title/__desc) markup */
.service-card h3,
.service-card h4,
.service-card__title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin: 0;
}

.service-card p,
.service-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

/* Old-style card link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #FF4B2E;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  transition:
    background 0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth);
  align-self: flex-start;
  margin-top: auto;
}
.service-card:hover .card-link,
.card-link:hover,
.card-link:active {
  background: #FF4B2E;
  border-color: #FF4B2E;
  color: #ffffff;
}

/* New-style CTA */
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 28px;
  border: 1px solid var(--color-surface);
  border-radius: 100px;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.32s var(--ease-smooth),
    border-color 0.32s var(--ease-smooth);
  margin-top: auto;
}
.service-card:hover .service-card__cta {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ── 10. DIFFERENTIATORS / WHY GRID ─────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
}
.diff-item {
  background: var(--bg-secondary);
  padding: 36px 28px;
  transition: background 0.2s;
}
.diff-item:hover { background: var(--bg-elevated); }
.diff-item .diff-icon {
  color: var(--color-accent);
  margin-bottom: 16px;
}
.diff-item h4 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.diff-item p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* ── 11. WHO WE ARE ─────────────────────────────────────────── */
.who-section { position: relative; }

.who-header {
  text-align: center;
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.who-heading {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0;
}

.who-sub {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.65;
  margin: 0;
}

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

.who-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.who-card-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.who-card-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.who-card-desc {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.65;
  margin: 0;
}

/* Logo scroll */
.who-logos {
  margin-top: 120px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.who-logos__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}
.who-logos__track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.who-logo {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.who-logo:hover { color: rgba(255, 255, 255, 0.8); }

/* ── 11b. CUSTOMER TESTIMONIALS ─────────────────────────────── */
.testi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.testi-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 6;
  align-self: start;
}
.testi-img { display: none; }
.testi-img.active { display: block; }

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

.testi-content { padding-top: 20px; position: relative; }

.testi-heading {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 72px;
}

.testi-slide { display: none; }
.testi-slide.active { display: block; }

.testi-quote {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.testi-author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.testi-author-role {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.testi-nav {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.testi-arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ── 11c. INDUSTRIES SECTION (homepage) ─────────────────────── */
.ind-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.ind-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ind-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ind-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
}

.ind-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

.ind-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ind-heading {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ind-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 12px;
  padding: 28px;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s var(--ease-smooth), background 0.2s;
}
.ind-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.ind-card__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.ind-card__title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  flex: 1;
}

.ind-card__desc {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* ── 12. INDUSTRY CARDS ─────────────────────────────────────── */
.industry-card {
  background: var(--bg-secondary);
  border: 1px solid var(--color-surface);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
  text-decoration: none;
}
.industry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,75,46,0.3);
}
.industry-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,75,46,0.1);
  border: 1px solid rgba(255,75,46,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.industry-card-body h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}
.industry-card-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── 12b. CASE STUDY CARDS ──────────────────────────────────── */
.cs-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s var(--ease-smooth);
}
.cs-card:hover { transform: translateY(-4px); }

.cs-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}
.cs-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.cs-card:hover .cs-card-img img { transform: scale(1.04); }

.cs-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.cs-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.cs-card-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cs-card .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  height: 44px;
  font-size: 16px;
  margin-top: auto;
}
.cs-card .btn-secondary:hover,
.cs-card .btn-secondary:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.cs-card__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cs-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid #FF4B2E;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  transition: background 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth);
  align-self: flex-start;
  margin-top: auto;
}
.cs-card:hover .cs-card__read,
.cs-card__read:hover {
  background: #FF4B2E;
  border-color: #FF4B2E;
  color: #ffffff;
}

/* ── 13. BADGES / TAGS ──────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-blue {
  background: rgba(255,75,46,0.1);
  color: var(--color-accent);
  border: 1px solid rgba(255,75,46,0.25);
}
.tag-cyan {
  background: rgba(255,75,46,0.08);
  color: var(--color-accent);
  border: 1px solid rgba(255,75,46,0.2);
}
.tag-neutral {
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  border: 1px solid var(--color-surface);
}

/* ── 14. STATS ──────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
}
.stat-item {
  background: var(--bg-secondary);
  padding: 40px 32px;
  text-align: center;
  transition: background 0.2s;
}
.stat-item:hover { background: #2e2f2f; }
.stat-item:hover .stat-value,
.stat-item:hover .stat-plus,
.stat-item:hover .stat-label { color: #ffffff; }
.bg-accent .stat-item:hover { background: rgba(255, 255, 255, 0.32); }
.stat-value {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.stat-value em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 500;
}
.stat-plus {
  font-size: 40px;
  font-weight: 500;
  color: var(--color-accent);
  font-style: italic;
}
.stat-label {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

/* ── 15. PROCESS STEPS ──────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(255,75,46,0.2) 100%);
  opacity: 0.4;
}
.process-step {
  padding: 0 24px 32px;
  text-align: center;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}
.process-step:hover .step-number {
  background: var(--bg-elevated);
  border-color: rgba(255,75,46,0.4);
}
.process-step h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* ── PROCESS SNAKE FLOW ─────────────────────────────────────── */
.flow {
  position: relative;
}
.flow-row {
  display: flex;
  position: relative;
  align-items: flex-start;
  padding-bottom: 32px;
}
.flow-row--rtl {
  flex-direction: row-reverse;
  padding-top: 32px;
}
.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  position: relative;
  z-index: 1;
}
.flow-connector {
  flex-shrink: 0;
  width: 140px;
  padding-top: 29px;
  position: relative;
}
.flow-connector::before {
  content: '';
  display: block;
  height: 2px;
  margin-right: 14px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.28) 0,
    rgba(255, 255, 255, 0.28) 10px,
    transparent 10px,
    transparent 18px
  );
}
.flow-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.38);
  border-right: 2px solid rgba(255, 255, 255, 0.38);
  transform: rotate(45deg);
}
.flow-row--rtl .flow-connector::before {
  margin-right: 0;
  margin-left: 14px;
  background: repeating-linear-gradient(
    to left,
    rgba(255, 255, 255, 0.28) 0,
    rgba(255, 255, 255, 0.28) 10px,
    transparent 10px,
    transparent 18px
  );
}
.flow-row--rtl .flow-connector::after {
  right: auto;
  left: 0;
  border-right: none;
  border-left: 2px solid rgba(255, 255, 255, 0.38);
  transform: rotate(-45deg);
}
.flow-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: var(--font-mono, monospace);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.flow-label h4 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.flow-label p {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.5;
  white-space: nowrap;
}
.flow-curve {
  position: relative;
  height: 60px;
  flex-shrink: 0;
}
.flow-curve--right::before {
  content: '';
  position: absolute;
  right: calc(100% / 6 - 48px);
  top: 0;
  bottom: 14px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.28) 0,
    rgba(255, 255, 255, 0.28) 10px,
    transparent 10px,
    transparent 18px
  );
}
.flow-curve--right::after {
  content: '';
  position: absolute;
  right: calc(100% / 6 - 54px);
  bottom: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.38);
  border-bottom: 2px solid rgba(255, 255, 255, 0.38);
  transform: rotate(45deg);
}

.flow-nav { display: none; }

@media (max-width: 768px) {
  .flow {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding-inline: 36px;
    mask-image: linear-gradient(to right, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 96%, transparent 100%);
  }
  .flow::-webkit-scrollbar { display: none; }
  .flow-row,
  .flow-row--rtl { display: contents; }
  .flow-curve { display: none; }
  .flow-connector { display: none; }
  .flow-step {
    flex: 0 0 100%;
    padding: 0;
    scroll-snap-align: center;
    transition: opacity 0.25s, filter 0.25s;
  }
  .flow-step.blur { opacity: 0.55; filter: blur(1px); }
  .flow-carousel-wrapper { position: relative; }
  .flow-nav {
    display: flex;
    position: absolute;
    top: 14px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: opacity 0.2s;
  }
  .flow-nav--prev { left: -4px; }
  .flow-nav--next { right: -4px; }
  .flow-nav.hidden { opacity: 0; pointer-events: none; }
}

/* ── 16. TECH STACK GRID ────────────────────────────────────── */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-surface);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tech-pill:hover {
  border-color: rgba(255,75,46,0.3);
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.tech-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── 17. FINAL CTA BANNER ───────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 130% 90% at 50% 100%, rgba(120, 28, 8, 0.90) 0%, rgba(70, 15, 5, 0.60) 35%, rgba(20, 5, 2, 0.30) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-wrap: balance;
}
.cta-banner h2 .serif {
  font-style: italic;
  color: var(--color-accent);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.cta-banner p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}
.cta-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner-img {
  max-width: 680px;
  margin: 0 auto 36px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.cta-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 18. FAQ ACCORDION ──────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.2s, color 0.2s;
  width: 100%;
  text-align: left;
  background: none;
  gap: 16px;
}
.faq-question:hover { background: var(--bg-elevated); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, transform 0.3s var(--ease-smooth);
  color: var(--text-tertiary);
}
.faq-item.open .faq-icon {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}
.faq-answer-inner {
  padding: 0 32px 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── 19. CONTACT FORM ───────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-error {
  display: none;
  font-size: 15px;
  color: #e53535;
}
.input-error {
  border-color: #e53535 !important;
}
.form-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--color-surface);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-tertiary); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,75,46,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a6a6a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-select option { background: var(--bg-secondary); }

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

/* ── 20. INDUSTRIES PAGE ANCHOR NAV ─────────────────────────── */
.anchor-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-surface);
}
.anchor-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.anchor-link:hover { color: var(--text-primary); }
.anchor-link.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Industry vertical sections */
.industry-section {
  padding: 88px 0;
  scroll-margin-top: calc(var(--nav-h) + 48px);
}
.industry-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 0;
  align-items: stretch;
}
.industry-hero-row > .section-eyebrow,
.industry-hero-row > .section-title,
.industry-hero-row > .section-subtitle,
.industry-hero-row > .industry-pain-list { grid-column: 1; }
.industry-hero-row > .industry-img-col { grid-column: 2; grid-row: 1 / span 4; }
.industry-pain-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 16px;
  color: #ffffff;
}
.pain-icon {
  width: 22px; height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.pain-item strong {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}
.industry-img-col {
  display: flex;
  align-self: stretch;
}
.industry-img-col img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  filter: saturate(0.6);
}

/* ── 21. CASE STUDIES FILTER ─────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-label {
  font-size: 16px;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  background: var(--bg-secondary);
  border: 1px solid var(--color-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--bg-elevated);
  border-color: rgba(255,75,46,0.35);
  color: var(--text-primary);
}

/* ── 22. CAPABILITIES GRID ───────────────────────────────────── */
.capabilities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.capability-item {
  flex: 0 0 calc(33.333% - 11px);
}
.capability-item {
  background: transparent;
  border: 1px solid var(--color-surface);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.cap-icon,
.card-icon {
  color: var(--color-accent);
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.cap-icon svg,
.card-icon svg { width: 48px; height: 48px; }
.capability-item h4 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.capability-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── 23. FOOTER ─────────────────────────────────────────────── */

/* Logo */
.sf-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.sf-logo img { display: block; }

/* ── BOTTOM CTA SECTION ─────────────────────────────────────── */
.bottom-cta-section {
  background: var(--bg-primary);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.bottom-cta-section::before {
  content: '';
  position: absolute;
  width: 2400px;
  height: 1600px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(255, 75, 46, 0.28) 0%,
    rgba(255, 75, 46, 0.10) 45%,
    transparent 70%
  );
  bottom: -1000px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}

.bottom-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.bottom-cta-inner .btn {
  margin-top: 8px;
}

.bottom-cta-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.bottom-cta-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}

.bottom-cta-image {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.bottom-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% top;
  display: block;
  filter: grayscale(100%);
}

/* Footer */
.sf-footer {
  background: #111111;
  padding: 96px 0 20px;
}
.sf-footer__top {
  display: grid;
  grid-template-columns: 450px auto auto;
  gap: 48px 100px;
  padding-bottom: 64px;
}
.sf-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sf-footer__tagline {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  max-width: 100%;
  margin: 0;
}
.sf-footer__address {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.6;
}
.sf-footer__address strong {
  color: var(--text-primary);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}
.sf-footer__col-title {
  font-size: 13px;
  font-weight: 800;
  color: #aaaaaa;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sf-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sf-footer__link {
  font-size: 16px;
  font-weight: 400;
  color: #aaaaaa;
  transition: color 280ms cubic-bezier(.22,.61,.36,1);
}
.sf-footer__link:hover { color: #ffffff; }
.sf-footer__social-icons {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.sf-footer__icon {
  color: #aaaaaa;
  transition: color 220ms ease;
  display: flex;
  align-items: center;
}
.sf-footer__icon:hover { color: #ffffff; }
.sf-footer__copy-center {
  text-align: center;
  width: 100%;
  font-size: 14px;
  color: #555555;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sf-footer__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sf-footer__copy {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}
.sf-footer__certs {
  display: flex;
  gap: 8px;
}
.sf-footer__cert {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--color-surface);
  background: var(--bg-elevated);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

/* ── 24. PAGE-SPECIFIC CONTACT ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  padding: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-surface);
  border-radius: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.contact-info-item p { font-size: 16px; color: var(--text-secondary); }
.contact-info-item a { color: var(--text-secondary); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--color-accent); }

.response-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,75,46,0.06);
  border: 1px solid rgba(255,75,46,0.18);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.response-note svg { color: var(--color-accent); flex-shrink: 0; }

/* ── CONTACT CENTERED ── */
.contact-centered {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.contact-heading {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 auto 16px;
}
.contact-subheading {
  font-size: 16px;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.65;
}
.contact-form-center {
  max-width: 680px;
  margin: 0 auto;
}

/* ── CONTACT SPLIT LAYOUT ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-split-left {
  padding: 48px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.contact-split-right {
  padding: 48px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}
.contact-panel-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.contact-panel-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-panel-desc {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.65;
  margin-bottom: 36px;
}
.contact-panel-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-panel-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-panel-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 75, 46, 0.1);
  border: 1px solid rgba(255, 75, 46, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.contact-panel-item-icon svg {
  width: 22px;
  height: 22px;
}
.contact-panel-item-label {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: 0;
  text-transform: none;
}
.contact-panel-item-val {
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
}

/* ── OFFICES GRID ── */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.office-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}
.office-card-thumb {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.office-card-city {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  padding: 28px 28px 0;
}
.office-card-address {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  padding: 0 28px 20px;
}
.office-card-contacts {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.office-card-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #ffffff;
}
.office-card-contact-item svg {
  flex-shrink: 0;
}
.office-card-contact-item a {
  color: #ffffff;
  text-decoration: none;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.testimonial-author {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── TESTIMONIALS TICKER ── */
.reviews-ticker-section {
  padding: 0 0 96px;
  background: var(--bg-primary);
  overflow: hidden;
}
.reviews-ticker-wrap {
  overflow: hidden;
  position: relative;
}
.reviews-ticker-wrap::before,
.reviews-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}
.reviews-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-scroll 55s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }
.reviews-track .testimonial-card {
  width: 360px;
  flex-shrink: 0;
}
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 25. DETAIL PAGE ────────────────────────────────────────── */
.detail-header {
  padding: 60px 0 56px;
  border-bottom: 1px solid var(--border-soft);
}
.detail-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.detail-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
  font-weight: 400;
}

.detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
}
.detail-body section {
  margin-bottom: 56px;
}
.detail-body h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.detail-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  font-weight: 400;
}
.detail-sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--color-surface);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.detail-sidebar-card h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  font-weight: 500;
}
.result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 16px;
}
.result-item:last-child { border-bottom: none; }
.result-value {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

/* ── SERVICE CARDS ───────────────────────────────────────────── */
.benefits-header {
  text-align: center;
  margin-bottom: 56px;
}
.benefits-eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.benefits-heading {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.svc-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s, box-shadow 0.3s;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.6);
}
.svc-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-card__title {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.svc-card__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}
.cs-case .svc-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: none;
}
.svc-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin-top: 20px;
  padding: 0;
  flex: 1;
}
.svc-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}
.svc-card__list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.svc-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid #FF4B2E;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  align-self: flex-start;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.svc-card__btn:hover,
.svc-card__btn:active {
  background: #FF4B2E;
  border-color: #FF4B2E;
  color: #ffffff;
}

/* ── 26. SERVICES SHOWCASE ──────────────────────────────────── */
.svc-showcase {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.svc-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-showcase__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -240px;
}
.svc-showcase__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 800px;
  gap: 0;
  align-items: center;
  width: 100%;
}
.svc-showcase__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.svc-showcase__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.svc-showcase__heading {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* Card: 750×482, padding 16/10/16/40, radius 14 */
.svc-showcase__card {
  width: 750px;
  height: 482px;
  margin: 16px 10px 16px 40px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

/* Each slide: 2-col grid when active */
.svc-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.svc-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 16px 0 16px 40px;
}

/* Column A — counter · body (centered) · nav at bottom */
.svc-slide__col-a {
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
}
.svc-slide__counter {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.06em;
}
.svc-slide__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-slide__body h3 {
  font-size: 28px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.svc-slide__body p {
  font-size: 16px;
  color: #aaaaaa;
  line-height: 1.65;
}

/* Column B — image fills full column edge-to-edge */
.svc-slide__col-b {
  border-radius: 14px;
  overflow: hidden;
}
.svc-slide__col-b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Nav: pinned bottom of col A */
.svc-showcase__nav {
  position: absolute;
  bottom: 28px;
  left: 40px;
  display: flex;
  gap: 8px;
  z-index: 1;
}
.svc-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: transparent;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.svc-nav-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

/* ── 27. CASE STUDY DETAIL — New Layout ─────────────────────── */
.cd-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.cd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cd-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: blur(12px);
  transform: scale(1.12);
}
.cd-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.45);
}
.cd-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 100%);
}
.cd-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.cd-hero__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.cd-hero__title {
  font-size: 54px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin-bottom: 20px;
}
.cd-hero__subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  line-height: 1.65;
}

/* Stats strip */
.cd-stats {
  background: var(--bg-secondary);
}
.cd-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--color-surface);
}
.cd-stats__item {
  padding: 44px 48px;
  border-right: 1px solid var(--color-surface);
  border-top: 1px solid var(--color-surface);
  border-bottom: 1px solid var(--color-surface);
}
.cd-stats__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.4;
}
.cd-stats__value {
  font-size: 52px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Body */
.cd-body {
  padding: 80px 0 60px;
}
.cd-body__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: start;
}
.cd-body__title {
  font-size: 34px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.cd-body__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-soft);
}
.cd-body__meta strong {
  color: var(--text-primary);
  font-weight: 500;
}
.cd-body__content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 36px 0 12px;
}
.cd-body__content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.cd-body__photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.cd-body__photos img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 4/3;
}

/* Results */
.cd-results {
  padding: 0 0 80px;
}
.cd-results h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cd-results ul {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 760px;
}
.cd-results li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.cd-results li strong { color: var(--text-primary); }
.cd-results > .container > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
}

/* ── 28. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .svc-showcase__inner { grid-template-columns: 1fr; }
  .svc-showcase__card { width: 100%; margin: 0; }
  .svc-showcase__heading { font-size: 32px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .sf-footer__brand { grid-column: 1 / -1; margin-bottom: 16px; }
  .sf-footer__bottom { flex-direction: column; align-items: flex-start; }
  .sf-footer__meta { justify-content: flex-start; }
  .industry-hero-row { display: block; }
  .detail-content { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .who-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .testi-image { display: none; }

  .hero { padding: 80px 0 !important; min-height: 0; }
  .hero-subtitle { margin-bottom: 24px; }
  .section { padding: 72px 0; }

  /* Hero service cards */
  .svc-card__body { padding: 16px; }
  .benefits-grid { gap: 16px; }

  /* Section title sizing — a little bigger on mobile */
  .section-title,
  .who-heading,
  .ind-heading,
  .testi-heading,
  .benefits-heading,
  .bottom-cta-title,
  .cta-banner h2 { font-size: 32px; }

  /* Who we are logo scroll */
  .who-logo { height: 46px; }

  /* Service showcase card */
  .svc-showcase__heading { font-size: 26px; }
  .svc-showcase__card { height: auto; }
  .svc-slide.active { grid-template-columns: 1fr; gap: 0; padding: 24px; }
  .svc-slide__col-b { aspect-ratio: 16 / 9; }
  .svc-slide__body { grid-template-columns: 1fr; }
  .svc-slide__img { aspect-ratio: 16/9; }

  /* Card grids → single column */
  .cards-grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .who-cards { grid-template-columns: 1fr; gap: 16px; }
  .who-card { padding: 16px; }
  .who-card-title br { display: none; }
  .capabilities-grid { flex-direction: column; }
  .capabilities-grid .capability-item { flex: 0 0 100%; }
  .diff-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bg-accent .stats-grid { gap: 16px; }
  .stats-bg-img { background-position: calc(50% - 30px) 50%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }

  /* Industries homepage section */
  .ind-inner { grid-template-columns: 1fr; gap: 40px; }
  .ind-grid { grid-template-columns: 1fr; gap: 16px; }
  .ind-bg img { object-position: calc(50% + 420px) 50%; }

  /* Testimonials 2-col layout */
  .testi-layout { grid-template-columns: 1fr; gap: 40px; }
  .testi-image { aspect-ratio: 16 / 9; }

  /* Contact page */
  .contact-split { grid-template-columns: 1fr; }
  .contact-split-left,
  .contact-split-right { padding: 32px 24px; }
  .contact-split-right { display: flex; }

  /* Case study detail */
  .cd-stats__grid { grid-template-columns: 1fr; border-left: none; }
  .cd-stats__item { padding: 28px 20px; }
  .cd-body__grid { grid-template-columns: 1fr; gap: 40px; }
  .cd-body__photos { position: static; }
  .cd-hero { min-height: 320px; padding-bottom: 48px; }
  .cd-hero__title { font-size: 32px; }
  .cd-hero__subtitle { font-size: 16px; }
  .cd-stats__value { font-size: 36px; }
  .cd-body__title { font-size: 24px; }

  /* Layout */
  .sf-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .sf-footer__tagline { display: none; }
  .section-header-row { flex-direction: column; align-items: stretch; }
  .section-header { margin-bottom: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .form-group { margin-bottom: 0; }
  form > .form-group { margin-bottom: 24px; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner { padding: 72px 0; }
  .trust-logos { gap: 28px; }
  .detail-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Typography scaling */
  .stat-value { font-size: 48px; }
  .stat-plus { font-size: 28px; }
  .flow-label h4 { font-size: 20px; }
  .flow-label p { white-space: normal; }
  .svc-card__title { font-size: 22px; }
  .ind-card__title { font-size: 20px; }
  .ind-card { padding: 16px; }
  .capability-item h4 { font-size: 20px; }
  .contact-heading { font-size: 28px; }
  .contact-panel-title { font-size: 22px; }
  .office-card-city { font-size: 22px; }

  /* Industry page */
  .industry-section { padding: 56px 0; }
  .industry-img-col {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    margin: 24px 0;
  }
  .industry-img-col img { min-height: 0; width: 100%; height: 100%; border-radius: 12px; border: none; }
  .industry-section .section-eyebrow,
  .industry-section .section-title,
  .industry-section .section-subtitle { text-align: center; }
  .industry-pain-list { gap: 16px; }
  .pain-item { padding: 16px; }

  /* Misc spacing */
  .hero-cards { margin-top: 64px; }
  .who-logos { margin-top: 64px; }
  .bottom-cta-section { padding: 72px 20px; }
  .testi-heading { margin-bottom: 40px; }
  .testi-nav { position: static; margin-top: 32px; }
  .testi-content { padding-top: 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 40px; }
  .stat-plus { font-size: 24px; }
  .hero-title { font-size: 36px; }
  .cd-hero__title { font-size: 26px; }
}

