/* ============================================
   SYLQO SOLUTIONS — Master Stylesheet
   Version: 1.0
   Built: June 2026
   
   Structure:
   1. CSS Custom Properties (Design Tokens)
   2. Reset & Base Styles
   3. Typography
   4. Layout Utilities
   5. Navigation
   6. Buttons
   7. Cards
   8. Sections & Heroes
   9. Stats Bar
   10. Testimonials
   11. FAQ Accordion
   12. Process Steps
   13. Team
   14. Forms
   15. Blog Components
   16. Case Studies
   17. Footer
   18. Breadcrumb
   19. 404 Page
   20. Scroll Animations
   21. Utilities
   22. Media Queries
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES
   ============================================ */

:root {
  /* ---- Backgrounds (Warm Dark) ---- */
  --color-bg-950: #08080c;
  --color-bg-900: #0c0c12;
  --color-bg-800: #141420;
  --color-bg-700: #1c1c2a;
  --color-bg-600: #252536;
  --color-bg-500: #2e2e42;

  /* ---- Teal (Primary Brand) ---- */
  --color-teal-950: #041414;
  --color-teal-900: #073b3a;
  --color-teal-800: #0a5c5a;
  --color-teal-700: #0d7d7a;
  --color-teal-600: #0e918d;
  --color-teal-500: #14b8a6;
  --color-teal-400: #2dd4bf;
  --color-teal-300: #5eead4;
  --color-teal-200: #99f6e4;
  --color-teal-100: #ccfbf1;

  /* ---- Gold (Premium Accent) ---- */
  --color-gold-900: #6b4f0a;
  --color-gold-800: #8a6914;
  --color-gold-700: #a8831e;
  --color-gold-600: #c49d28;
  --color-gold-500: #D4AF37;
  --color-gold-400: #f2c14e;
  --color-gold-300: #f5d78e;
  --color-gold-200: #fae8b8;

  /* ---- Orange (Action/CTA) ---- */
  --color-orange-900: #7c2d12;
  --color-orange-800: #9a3412;
  --color-orange-700: #c2410c;
  --color-orange-600: #ea580c;
  --color-orange-500: #f97316;
  --color-orange-400: #fb923c;
  --color-orange-300: #fdba74;

  /* ---- Text ---- */
  --color-text-primary: #f0f0f5;
  --color-text-secondary: #c8c8d8;
  --color-text-muted: #6b6b80;
  --color-text-inverse: #08080c;

  /* ---- Borders ---- */
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-default: rgba(255, 255, 255, 0.10);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-border-teal: rgba(20, 184, 166, 0.25);
  --color-border-gold: rgba(212, 175, 55, 0.25);

  /* ---- Status ---- */
  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-error: #ef4444;

  /* ---- Semantic Tokens ---- */
  --bg-page: var(--color-bg-900);
  --bg-surface: var(--color-bg-800);
  --bg-elevated: var(--color-bg-700);
  --bg-hover: var(--color-bg-600);
  --bg-active: var(--color-bg-500);
  --bg-footer: var(--color-teal-950);
  --bg-nav: rgba(12, 12, 18, 0.88);

  --text-heading: var(--color-text-primary);
  --text-body: var(--color-text-secondary);
  --text-caption: var(--color-text-muted);
  --text-link: var(--color-teal-400);
  --text-link-hover: var(--color-teal-300);

  --accent-primary: var(--color-teal-500);
  --accent-primary-hover: var(--color-teal-400);
  --accent-premium: var(--color-gold-500);
  --accent-premium-hover: var(--color-gold-400);
  --accent-action: var(--color-orange-500);
  --accent-action-hover: var(--color-orange-400);

  --border: var(--color-border-default);
  --border-subtle: var(--color-border-subtle);
  --border-strong: var(--color-border-strong);

  /* ---- Gradients ---- */
  --gradient-hero: linear-gradient(160deg, var(--color-teal-900) 0%, var(--color-bg-900) 40%, var(--color-bg-950) 100%);
  --gradient-surface-teal: linear-gradient(180deg, rgba(20, 184, 166, 0.06) 0%, rgba(20, 184, 166, 0) 100%);
  --gradient-cta-gold: linear-gradient(135deg, var(--color-gold-500) 0%, var(--color-gold-400) 100%);
  --gradient-cta-orange: linear-gradient(135deg, var(--color-orange-500) 0%, var(--color-orange-400) 100%);
  --gradient-glass-border: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-section-glow: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.1) 0%, transparent 70%);

  /* ---- Typography ---- */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-heading: "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-h1: clamp(2.441rem, 2rem + 2.5vw, 3.815rem);
  --text-h2: clamp(1.953rem, 1.6rem + 1.75vw, 3.052rem);
  --text-h3: clamp(1.563rem, 1.3rem + 1.25vw, 2.441rem);
  --text-h4: clamp(1.25rem, 1.1rem + 0.75vw, 1.953rem);
  --text-h5: clamp(1.125rem, 1rem + 0.5vw, 1.563rem);
  --text-h6: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  --text-sm: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --text-xs: clamp(0.64rem, 0.62rem + 0.1vw, 0.75rem);
  --text-display: clamp(3rem, 2.5rem + 3vw, 5rem);

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tighter: -0.03em;
  --tracking-tight: -0.015em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  --measure: 68ch;

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

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Z-Index ---- */
  --z-behind: -1;
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-toast: 1500;

  /* ---- Border Radius ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}


/* ============================================
   2. RESET & BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  font-weight: var(--font-normal);
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-link-hover);
}

ul, ol {
  list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-950);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-600);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-bg-500);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--accent-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: var(--z-toast);
  font-weight: var(--font-semibold);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  color: var(--color-text-inverse);
}

/* Selection */
::selection {
  background: rgba(20, 184, 166, 0.3);
  color: var(--color-text-primary);
}


/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: var(--font-bold);
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tighter);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--font-semibold);
}

h4 {
  font-size: var(--text-h4);
  line-height: var(--leading-snug);
}

h5 {
  font-size: var(--text-h5);
  line-height: var(--leading-snug);
}

h6 {
  font-size: var(--text-h6);
  line-height: var(--leading-snug);
}

p {
  max-width: var(--measure);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: var(--font-semibold);
  color: var(--text-heading);
}

/* Eyebrow / Label text */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-3);
  display: block;
}

.eyebrow--gold {
  color: var(--accent-premium);
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--color-teal-400) 0%, var(--color-gold-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section {
  padding-block: var(--space-20);
  position: relative;
}

.section--lg {
  padding-block: var(--space-24);
}

.section--alt {
  background: var(--bg-surface);
}

.section--glow {
  background-image: var(--gradient-section-glow);
  background-repeat: no-repeat;
  background-position: center top;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 720px;
  margin-inline: auto;
}

.section__header p {
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--gap {
  gap: var(--space-4);
}

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

.mx-auto {
  margin-inline: auto;
}


/* ============================================
   5. NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: rgba(12, 12, 18, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

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

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: var(--font-bold);
  color: var(--text-heading);
  letter-spacing: var(--tracking-tight);
}

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

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--text-body);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--text-heading);
  background: var(--bg-hover);
}

.nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
}

/* Nav Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
}

.nav__dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav__dropdown[aria-expanded="true"] .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.nav__dropdown[aria-expanded="true"] .nav__dropdown-menu,
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown:hover .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
}

.nav__dropdown-link:hover {
  color: var(--text-heading);
  background: var(--bg-hover);
}

/* Nav CTA */
.nav__cta {
  display: none;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav__toggle:hover {
  background: var(--bg-hover);
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

.nav__toggle .icon-close {
  display: none;
}

.nav__toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-900);
  padding: var(--space-6) var(--space-4);
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-h5);
  font-weight: var(--font-medium);
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover,
.nav__mobile-link[aria-current="page"] {
  color: var(--accent-primary);
}

.nav__mobile-sub {
  padding-left: var(--space-6);
}

.nav__mobile-sub .nav__mobile-link {
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  border-bottom-color: var(--border-subtle);
}

.nav__mobile-cta {
  margin-top: var(--space-8);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   6. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--gradient-cta-orange);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
  color: var(--color-text-inverse);
}

.btn--gold {
  background: var(--gradient-cta-gold);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  color: var(--color-text-inverse);
}

.btn--secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--color-teal-400);
}

.btn--secondary:hover {
  background: rgba(20, 184, 166, 0.1);
  color: var(--color-teal-300);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-body);
  padding: var(--space-2) var(--space-4);
}

.btn--ghost:hover {
  color: var(--text-heading);
}

.btn--ghost svg {
  transition: transform var(--transition-fast);
}

.btn--ghost:hover svg {
  transform: translateX(4px);
}

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

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  border-radius: var(--radius-lg);
}

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}


/* ============================================
   7. CARDS
   ============================================ */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-surface-teal);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  border-color: var(--color-border-teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

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

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--color-border-teal);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
  margin-bottom: var(--space-5);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card__title {
  font-family: var(--font-body);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--text-body);
  margin-bottom: var(--space-5);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-semibold);
  color: var(--accent-primary);
  font-size: var(--text-sm);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-3);
  color: var(--accent-primary-hover);
}

.card__link svg {
  width: 16px;
  height: 16px;
}

/* Card with image */
.card--image {
  padding: 0;
  overflow: hidden;
}

.card--image .card__image {
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

.card--image:hover .card__image img {
  transform: scale(1.04);
}

.card--image .card__body {
  padding: var(--space-6);
}

/* Industry tag on cards */
.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-primary);
  border: 1px solid var(--color-border-teal);
  margin-bottom: var(--space-3);
}

.tag--gold {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-premium);
  border-color: var(--color-border-gold);
}


/* ============================================
   8. SECTIONS & HEROES
   ============================================ */

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(64px + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero--sm {
  min-height: auto;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-12);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__content--center {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.hero h1 {
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.25rem);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero__content--center .hero__subtitle {
  margin-inline: auto;
}

/* Trust strip */
.trust-strip {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.trust-strip__text {
  font-size: var(--text-sm);
  color: var(--text-caption);
  letter-spacing: var(--tracking-wide);
}

.trust-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.trust-strip__item strong {
  font-size: var(--text-h5);
  font-family: var(--font-mono);
  color: var(--accent-premium);
}

/* Hero decorative background */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.hero__bg-glow--teal {
  background: var(--color-teal-500);
  top: -200px;
  right: -100px;
}

.hero__bg-glow--gold {
  background: var(--color-gold-500);
  bottom: -300px;
  left: -200px;
  opacity: 0.08;
}

/* CTA Section (full-width) */
.cta-section {
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  margin-bottom: var(--space-4);
}

.cta-section p {
  margin-inline: auto;
  margin-bottom: var(--space-8);
  color: var(--text-body);
}

/* Blockquote / CEO Quote */
.quote-section {
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-style: italic;
  color: var(--text-heading);
  line-height: var(--leading-snug);
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  position: relative;
  padding-inline: var(--space-4);
}

.quote-section blockquote::before {
  content: '\201C';
  font-size: clamp(3rem, 2.5rem + 3vw, 6rem);
  color: var(--accent-premium);
  font-family: var(--font-heading);
  position: absolute;
  top: -0.5em;
  left: -0.1em;
  opacity: 0.3;
  line-height: 1;
}

.quote-section cite {
  display: block;
  font-style: normal;
  color: var(--text-body);
  font-size: var(--text-base);
}

.quote-section cite strong {
  display: block;
  color: var(--text-heading);
  font-size: var(--text-h5);
  margin-bottom: var(--space-1);
}


/* ============================================
   9. STATS BAR
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat {
  padding: var(--space-6);
}

.stat__number {
  font-family: var(--font-mono);
  font-size: var(--text-display);
  font-weight: var(--font-extrabold);
  color: var(--accent-premium);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--text-caption);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}


/* ============================================
   10. TESTIMONIALS
   ============================================ */

.testimonial {
  background: var(--bg-surface);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.testimonial__quote-mark {
  color: var(--accent-premium);
  opacity: 0.2;
  font-size: 4rem;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.testimonial__text {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: var(--text-heading);
  line-height: var(--leading-relaxed);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  color: var(--accent-premium);
  font-size: var(--text-h5);
  flex-shrink: 0;
}

.testimonial__info {
  display: flex;
  flex-direction: column;
}

.testimonial__name {
  font-weight: var(--font-semibold);
  color: var(--text-heading);
  font-size: var(--text-base);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--text-caption);
}


/* ============================================
   11. FAQ ACCORDION
   ============================================ */

.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: var(--font-semibold);
}

.faq-question h3 {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  line-height: var(--leading-snug);
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-caption);
  transition: transform var(--transition-base), color var(--transition-fast);
}

.faq-item[open] .faq-question svg {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq-answer {
  padding-bottom: var(--space-6);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  max-width: var(--measure);
}


/* ============================================
   12. PROCESS STEPS
   ============================================ */

.process-grid {
  display: grid;
  gap: var(--space-8);
  counter-reset: process-step;
}

.process-step {
  display: flex;
  gap: var(--space-6);
  counter-increment: process-step;
}

.process-step__number {
  font-family: var(--font-mono);
  font-size: var(--text-display);
  font-weight: var(--font-extrabold);
  color: var(--color-border-strong);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.process-step__content h3 {
  font-family: var(--font-body);
  margin-bottom: var(--space-3);
  font-size: var(--text-h4);
}

.process-step__content p {
  color: var(--text-body);
}


/* ============================================
   13. TEAM
   ============================================ */

.team-grid {
  display: grid;
  gap: var(--space-8);
  max-width: 900px;
  margin-inline: auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-5);
  border: 3px solid var(--color-border-teal);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--accent-primary);
  font-weight: var(--font-bold);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: var(--text-h4);
  margin-bottom: var(--space-1);
}

.team-card__title {
  color: var(--accent-primary);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.team-card__bio {
  color: var(--text-body);
  max-width: 480px;
}


/* ============================================
   14. FORMS
   ============================================ */

.form {
  max-width: 600px;
}

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

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-caption);
}

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

.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='%236b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-10);
}


/* ============================================
   15. BLOG COMPONENTS
   ============================================ */

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-surface);
}

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

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-caption);
  margin-bottom: var(--space-3);
}

.blog-card__meta svg {
  width: 14px;
  height: 14px;
}

.blog-card__title {
  font-size: var(--text-h4);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--accent-primary);
}

.blog-card__excerpt {
  color: var(--text-body);
  margin-bottom: var(--space-4);
  flex: 1;
}

/* Blog Post Page */
.article {
  max-width: 760px;
  margin-inline: auto;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--text-caption);
}

.article__content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article__content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article__content p {
  margin-bottom: var(--space-4);
}

.article__content ul,
.article__content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.article__content li {
  margin-bottom: var(--space-2);
  list-style: disc;
  color: var(--text-body);
}

.article__content ol li {
  list-style: decimal;
}

.article__content a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__content blockquote {
  border-left: 3px solid var(--accent-primary);
  padding-left: var(--space-6);
  margin-block: var(--space-6);
  color: var(--text-heading);
  font-style: italic;
}

/* Author card */
.author-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: var(--space-12);
}

.author-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  color: var(--accent-primary);
  font-size: var(--text-h4);
}

.author-card__name {
  font-weight: var(--font-semibold);
  color: var(--text-heading);
}

.author-card__role {
  font-size: var(--text-sm);
  color: var(--text-caption);
}

/* Related posts */
.related-posts {
  margin-top: var(--space-16);
}


/* ============================================
   16. CASE STUDIES
   ============================================ */

.case-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.case-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
}

.case-metric__value {
  font-family: var(--font-mono);
  font-size: var(--text-h3);
  font-weight: var(--font-bold);
  color: var(--accent-premium);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.case-metric__label {
  font-size: var(--text-xs);
  color: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.case-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.case-info__item {
  font-size: var(--text-sm);
}

.case-info__label {
  color: var(--text-caption);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: var(--text-xs);
  margin-bottom: var(--space-1);
}

.case-info__value {
  color: var(--text-heading);
  font-weight: var(--font-semibold);
}

/* Case study body */
.case-body {
  max-width: 760px;
  margin-inline: auto;
}

.case-body h2 {
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.case-body ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.case-body li {
  list-style: disc;
  margin-bottom: var(--space-2);
  color: var(--text-body);
}

.case-body p {
  margin-bottom: var(--space-4);
}

/* Results list with checkmarks */
.results-list {
  padding-left: 0;
}

.results-list li {
  list-style: none;
  padding-left: var(--space-8);
  position: relative;
  margin-bottom: var(--space-3);
}

.results-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 20px;
  height: 20px;
  background: rgba(20, 184, 166, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}


/* ============================================
   17. FOOTER
   ============================================ */

.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-4);
}

.footer__brand {
  max-width: 280px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  color: var(--text-heading);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.footer__brand-name span {
  color: var(--accent-primary);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-caption);
  margin-bottom: var(--space-6);
}

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

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-caption);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--accent-primary);
  border-color: var(--color-border-teal);
  background: rgba(20, 184, 166, 0.1);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--accent-primary);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-caption);
}


/* ============================================
   18. BREADCRUMB
   ============================================ */

.breadcrumb {
  padding: var(--space-3) 0;
  margin-top: 64px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-caption);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb li::after {
  content: '/';
  color: var(--text-caption);
  opacity: 0.5;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--text-caption);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-heading);
  font-weight: var(--font-medium);
}


/* ============================================
   19. 404 PAGE
   ============================================ */

.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
}

.page-404 h1 {
  font-size: var(--text-display);
  margin-bottom: var(--space-4);
}

.page-404 p {
  margin-inline: auto;
  margin-bottom: var(--space-8);
}


/* ============================================
   20. SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* Values section check */
.values-grid {
  display: grid;
  gap: var(--space-6);
}

.value-item h3 {
  color: var(--text-heading);
  margin-bottom: var(--space-2);
  font-size: var(--text-h4);
}

.value-item p {
  color: var(--text-body);
}

/* Industries grid */
.industries-grid {
  display: grid;
  gap: var(--space-6);
}

.industry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.industry-card:hover {
  border-color: var(--color-border-teal);
  transform: translateY(-2px);
}

.industry-card h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-3);
}

/* Service list items */
.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-list li {
  padding-left: var(--space-6);
  position: relative;
  color: var(--text-body);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
}

/* Contact grid */
.contact-grid {
  display: grid;
  gap: var(--space-8);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-info__icon {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

/* Next steps */
.next-steps {
  counter-reset: steps;
}

.next-steps li {
  counter-increment: steps;
  padding-left: var(--space-8);
  position: relative;
  margin-bottom: var(--space-4);
  color: var(--text-body);
}

.next-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

/* Privacy policy */
.legal-content {
  max-width: 760px;
  margin-inline: auto;
}

.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content p {
  margin-bottom: var(--space-4);
}

.legal-content ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content li {
  list-style: disc;
  margin-bottom: var(--space-2);
}


/* ============================================
   21. UTILITIES
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}


/* ============================================
   22. MEDIA QUERIES
   ============================================ */

/* Small phones (max 479px) — extra tight layouts */
@media (max-width: 479px) {
  .hero {
    min-height: 80vh;
    padding-top: calc(64px + var(--space-10));
    padding-bottom: var(--space-10);
  }

  .hero h1 {
    font-size: clamp(1.8rem, 1.5rem + 2vw, 2.4rem);
  }

  .section {
    padding-block: var(--space-12);
  }

  .section--lg {
    padding-block: var(--space-16);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .stat__number {
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
  }

  .case-hero__metrics {
    grid-template-columns: 1fr;
  }

  .case-info {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: var(--space-5);
  }

  .testimonial__text {
    font-size: 0.95rem;
  }

  .trust-strip__items {
    flex-direction: column;
    gap: var(--space-3);
  }

  .page-404__code {
    font-size: 5rem;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-consent__actions {
    justify-content: center;
  }

  .quote-section blockquote {
    font-size: var(--text-h5);
    padding-inline: 0;
  }

  .section__header {
    margin-bottom: var(--space-8);
  }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-6);
  }

  .nav__inner {
    height: 72px;
    padding-inline: var(--space-6);
  }

  .hero {
    padding-top: calc(72px + var(--space-16));
  }

  .hero--sm {
    padding-top: calc(72px + var(--space-12));
  }

  .breadcrumb {
    margin-top: 72px;
    padding: var(--space-4) 0;
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-hero__metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-info {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-8);
  }

  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Wide Desktop (1280px+) */
@media (min-width: 1280px) {
  .hero {
    min-height: 92vh;
  }

  .container {
    padding-inline: var(--space-10);
  }
}

/* Large Desktop (1440px+) — prevent content from stretching too wide */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .hero__content {
    max-width: 800px;
  }

  .hero__content--center {
    max-width: 900px;
  }

  .section__header {
    max-width: 800px;
  }
}

/* Ultra-wide (1920px+) — extra safety */
@media (min-width: 1920px) {
  :root {
    --text-base: 1.125rem;
  }

  .container {
    max-width: 1400px;
  }
}

/* Touch device — disable hover dropdowns on touch, use click instead */
@media (hover: none) {
  .nav__dropdown:hover .nav__dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
  }

  .nav__dropdown[aria-expanded="true"] .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ============================================
   23. COOKIE CONSENT
   ============================================ */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-toast);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1;
  min-width: 280px;
  font-size: var(--text-sm);
  color: var(--text-body);
  margin-bottom: 0;
}

.cookie-consent__text a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cookie-consent__btn--accept {
  background: var(--gradient-cta-orange);
  color: var(--color-text-inverse);
}

.cookie-consent__btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
}

.cookie-consent__btn--essential {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-body);
}

.cookie-consent__btn--essential:hover {
  background: var(--bg-hover);
  color: var(--text-heading);
}


/* ============================================
   24. LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding-block: var(--space-8);
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: var(--text-h5);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.legal-content ul, .legal-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content strong {
  color: var(--text-heading);
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--text-caption);
  margin-bottom: var(--space-8);
}


/* ============================================
   25. 404 PAGE
   ============================================ */

.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.page-404__code {
  font-family: var(--font-mono);
  font-size: clamp(6rem, 5rem + 8vw, 12rem);
  font-weight: var(--font-extrabold);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-teal-400) 0%, var(--color-gold-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
}

.page-404 h1 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-4);
}

.page-404 p {
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-inline: auto;
}

.page-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
