/*
  OneEKO Technologies - Premium Design System v2
  Dark modern professional aesthetic
*/

/* =================================================================
   1. DESIGN TOKENS
   ================================================================= */

:root {
  /* Color - Premium Dark, Deeply Layered */
  --bg: #070B14;
  --bg-2: #0D1320;
  --surface: #131A2B;
  --surface-2: #1A2237;
  --surface-3: #212B42;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Text - Refined Hierarchy */
  --text: #F4F6F9;
  --text-2: rgba(255, 255, 255, 0.88);
  --muted: #8A94A8;
  --muted-2: #5C6678;

  /* Brand - Warm Orange CTA */
  --accent: #FF7A1A;
  --accent-hover: #FF8F40;
  --accent-active: #E86A10;
  --accent-glow: rgba(255, 122, 26, 0.20);

  /* Secondary Palette */
  --blue: #5BA3F5;
  --blue-muted: rgba(91, 163, 245, 0.12);
  --teal: #2DD4BF;
  --teal-muted: rgba(45, 212, 191, 0.12);
  --green: #22C55E;
  --green-muted: rgba(34, 197, 94, 0.12);

  /* Links & Focus */
  --link: #5BA3F5;
  --link-hover: #8AC0FB;
  --focus: rgba(91, 163, 245, 0.45);

  /* Typography Scale - Tighter, Premium */
  --h1: clamp(2.75rem, 5.5vw, 3.75rem);
  --h2: clamp(2rem, 4vw, 2.75rem);
  --h3: clamp(1.375rem, 2.5vw, 1.625rem);
  --h4: clamp(1.0625rem, 2vw, 1.1875rem);
  --body: 1rem;
  --small: 0.875rem;
  --xs: 0.75rem;

  /* Line Heights */
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.6;

  /* Spacing Scale (8pt based) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii - Premium, Softer */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Shadows - Premium Depth */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(255, 122, 26, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1120px;
  --container-narrow: 700px;
  --header-h: 80px;
}

@media (max-width: 767px) {
  :root {
    --header-h: 72px;
  }
}

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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -30%, rgba(91, 163, 245, 0.06), transparent 70%),
    radial-gradient(ellipse 50% 50% at 100% 10%, rgba(45, 212, 191, 0.04), transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(255, 122, 26, 0.02), transparent 50%);
  min-height: 100vh;
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p {
  max-width: 70ch;
  color: var(--muted);
}

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

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

strong {
  font-weight: 600;
  color: var(--text);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* =================================================================
   3. LAYOUT PRIMITIVES
   ================================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}

@media (max-width: 767px) {
  .container {
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Section - Consistent Rhythm */
.section {
  padding: var(--s-9) 0; /* 96px */
}

.section-sm {
  padding: var(--s-8) 0; /* 64px */
}

.section-lg {
  padding: var(--s-10) 0; /* 128px */
}

@media (max-width: 767px) {
  .section {
    padding: var(--s-8) 0;
  }
  .section-sm {
    padding: var(--s-7) 0;
  }
  .section-lg {
    padding: var(--s-9) 0;
  }
}

/* Section Header */
.section__head {
  text-align: center;
  margin-bottom: var(--s-7);
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: var(--s-3);
}

.section__title {
  font-size: var(--h2);
  margin-bottom: var(--s-3);
}

.section__subtitle {
  font-size: var(--body);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: var(--s-6);
}

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

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

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

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

@media (max-width: 767px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Stack Utility */
.stack > * + * {
  margin-top: var(--s-4);
}

.stack--lg > * + * {
  margin-top: var(--s-6);
}

/* =================================================================
   4. BUTTONS
   ================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  min-height: 48px;
  font-family: inherit;
  font-size: var(--body);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Primary Button - Brand Orange */
.btn-primary,
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #E86A10 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow);
}

.btn-primary:hover,
.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 8px 24px var(--accent-glow);
  color: #fff;
}

.btn-primary:active,
.btn--primary:active {
  background: var(--accent-active);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary Button - Outline */
.btn-secondary,
.btn--secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover,
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-secondary:active,
.btn--secondary:active {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(0);
}

/* Ghost Button */
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: var(--s-2) var(--s-4);
  min-height: 40px;
}

.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Button Sizes */
.btn--sm {
  padding: var(--s-2) var(--s-4);
  min-height: 36px;
  font-size: var(--small);
}

.btn--lg {
  padding: var(--s-4) var(--s-6);
  min-height: 56px;
  font-size: 1.125rem;
}

/* =================================================================
   5. CARDS
   ================================================================= */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--transition-slow);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

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

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

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-4);
  background: var(--blue-muted);
  border-radius: var(--r-md);
  color: var(--blue);
}

.card__title {
  font-size: var(--h3);
  margin-bottom: var(--s-3);
}

.card__text {
  color: var(--muted);
  font-size: var(--body);
  line-height: var(--lh-body);
}

.card__meta {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  font-size: var(--small);
  color: var(--muted-2);
}

/* =================================================================
   6. BADGES & CHIPS
   ================================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--s-1) var(--s-3);
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--r-full);
  background: var(--blue-muted);
  color: var(--blue);
}

.badge--accent {
  background: var(--accent-glow);
  color: var(--accent);
}

.badge--teal {
  background: var(--teal-muted);
  color: var(--teal);
}

.badge--green {
  background: var(--green-muted);
  color: var(--green);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--s-1) var(--s-3);
  font-size: var(--xs);
  font-weight: 500;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.chip--blue {
  background: var(--blue-muted);
  color: var(--blue);
  border-color: rgba(96, 165, 250, 0.2);
}

/* =================================================================
   7. NAVBAR
   ================================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--container-max) + var(--s-8));
  margin: 0 auto;
  padding: 0 var(--s-6);
}

@media (max-width: 767px) {
  .nav-content {
    padding: 0 var(--s-4);
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .logo-img {
    height: 40px;
  }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.nav-links a:not(.btn) {
  font-size: var(--small);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: var(--s-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  padding: var(--s-2) var(--s-5) !important;
  min-height: 40px !important;
  font-size: var(--small) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Nav */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: var(--s-4);
    right: var(--s-4);
    display: none;
    flex-direction: column;
    gap: var(--s-3);
    padding: var(--s-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
  }

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

  .nav-links a:not(.btn) {
    padding: var(--s-3);
    text-align: center;
    border-radius: var(--r-sm);
  }

  .nav-links a:not(.btn):hover {
    background: var(--surface-2);
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links .btn {
    width: 100%;
  }
}

/* =================================================================
   8. HERO SECTION
   ================================================================= */

.hero-section {
  padding: var(--s-8) 0 var(--s-9);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--s-8);
  }
}

.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: var(--s-4);
}

.hero-title {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--s-5);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--muted);
  margin-bottom: var(--s-6);
  line-height: var(--lh-body);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

.hero-trust {
  font-size: var(--small);
  color: var(--muted-2);
}

.hero-trust strong {
  color: var(--muted);
}

/* Hero Proof Panel */
.hero-proof {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}

.hero-proof__title {
  font-size: var(--small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--s-5);
}

.hero-proof__list {
  list-style: none;
}

.hero-proof__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border);
}

.hero-proof__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-proof__item:first-child {
  padding-top: 0;
}

.hero-proof__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.hero-proof__text {
  font-size: var(--body);
  color: var(--text-2);
}

.hero-proof__text strong {
  color: var(--text);
}

.hero-proof__text a {
  color: var(--blue);
}

/* =================================================================
   9. SERVICES SECTION
   ================================================================= */

.services-section {
  padding: var(--s-9) 0;
  background: var(--bg-2);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}

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

/* Service Card */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--s-5);
  background: var(--surface-2);
  border-radius: var(--r-md);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: var(--h3);
  margin-bottom: var(--s-3);
}

.service-description {
  color: var(--muted);
  margin-bottom: var(--s-5);
  line-height: var(--lh-body);
}

.service-deliverables {
  margin-bottom: var(--s-5);
  flex-grow: 1;
}

.service-deliverables strong {
  display: block;
  font-size: var(--small);
  color: var(--muted);
  margin-bottom: var(--s-3);
}

.service-deliverables ul {
  list-style: none;
}

.service-deliverables li {
  position: relative;
  padding-left: var(--s-5);
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  color: var(--text-2);
  font-size: var(--small);
}

.service-deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.service-fit {
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
  font-size: var(--small);
  color: var(--muted-2);
}

.service-fit strong {
  color: var(--muted);
}

/* =================================================================
   10. PORTFOLIO SECTION
   ================================================================= */

.portfolio-section {
  padding: var(--s-9) 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}

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

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

/* Portfolio Card */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.portfolio-card__image {
  position: relative;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card__image svg {
  opacity: 0.7;
}

.portfolio-card__content {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-card__title {
  font-size: var(--h3);
  color: var(--text);
  margin-bottom: var(--s-4);
}

.portfolio-card__proof {
  margin-bottom: var(--s-4);
  flex-grow: 1;
}

/* Proof Row Component */
.proof-row {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  font-size: var(--small);
  line-height: 1.5;
}

.proof-row__label {
  color: var(--muted);
  min-width: 70px;
  flex-shrink: 0;
  font-weight: 500;
}

.proof-row__value {
  color: var(--text);
}

.proof-row__value a {
  color: var(--accent);
  text-decoration: none;
}

.proof-row__value a:hover {
  text-decoration: underline;
}

/* Portfolio Card Link */
.portfolio-card__link {
  font-size: var(--small);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.portfolio-card__link:hover {
  gap: var(--s-3);
}

/* Portfolio CTA Card */
.portfolio-card--cta {
  background: var(--surface);
  border: 2px dashed var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.portfolio-card--cta:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: none;
  box-shadow: none;
}

.portfolio-card--cta__inner {
  text-align: center;
  padding: var(--s-6);
}

.portfolio-card--cta__inner h3 {
  margin: var(--s-4) 0 var(--s-2);
  color: var(--text);
}

.portfolio-card--cta__inner p {
  color: var(--muted);
  margin-bottom: var(--s-5);
}

/* Legacy class names (for compatibility) */
.portfolio-image { position: relative; background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%); min-height: 180px; display: flex; align-items: center; justify-content: center; }
.portfolio-badge { position: absolute; top: var(--s-3); left: var(--s-3); padding: var(--s-1) var(--s-3); font-size: var(--xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--r-full); background: var(--teal-muted); color: var(--teal); }
.portfolio-content { padding: var(--s-5); display: flex; flex-direction: column; flex-grow: 1; }
.portfolio-title { font-size: var(--h3); margin-bottom: var(--s-4); }
.portfolio-link { font-size: var(--small); font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; }
.portfolio-link:hover { color: var(--link-hover); }
.tech-stack { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.tech-badge { padding: var(--s-1) var(--s-3); font-size: var(--xs); font-weight: 500; border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }

/* =================================================================
   11. AUDIT SECTION
   ================================================================= */

.audit-section {
  padding: var(--s-9) 0;
  background: var(--bg-2);
}

.audit-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 1024px) {
  .audit-content {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.audit-text h2 {
  font-size: var(--h2);
  margin-bottom: var(--s-4);
}

.audit-description {
  font-size: var(--body);
  color: var(--muted);
  margin-bottom: var(--s-6);
  max-width: 480px;
}

.audit-benefits {
  list-style: none;
  margin-bottom: var(--s-6);
}

.audit-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  color: var(--text-2);
  font-size: var(--body);
}

.audit-benefits svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Audit Visual Card */
.audit-visual {
  display: flex;
  justify-content: center;
}

.audit-card-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  width: 100%;
  max-width: 380px;
}

.audit-card-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-md);
  transition: background var(--transition-fast);
}

.audit-card-item:hover {
  background: var(--surface-2);
}

.audit-card-item svg {
  flex-shrink: 0;
  color: var(--blue);
}

.audit-card-item strong {
  display: block;
  font-size: var(--small);
  color: var(--text);
  margin-bottom: var(--s-1);
}

.audit-card-item p {
  font-size: var(--xs);
  color: var(--muted);
  margin: 0;
}

/* =================================================================
   12. PRICING SECTION
   ================================================================= */

.pricing-section {
  padding: var(--s-9) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}

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

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

/* Pricing Card */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-slow);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
  pointer-events: none;
}

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

/* Featured Pricing Card */
.pricing-featured {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing-featured:hover {
  border-color: var(--accent);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--s-1) var(--s-4);
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--h3);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-2);
}

.pricing-range {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: var(--s-2);
}

.pricing-timeline {
  font-size: var(--small);
  color: var(--muted);
  margin-bottom: var(--s-5);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--s-6);
  flex-grow: 1;
}

.pricing-features li {
  position: relative;
  padding-left: var(--s-5);
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  color: var(--text-2);
  font-size: var(--small);
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  margin-top: var(--s-7);
  font-size: var(--small);
  color: var(--muted);
}

.pricing-note a {
  color: var(--blue);
}

.pricing-starter {
  text-align: center;
  margin-top: var(--s-4);
  font-size: var(--small);
  color: var(--muted);
  background: var(--surface);
  padding: var(--s-4) var(--s-6);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.pricing-starter strong {
  color: var(--teal);
}

/* Pricing Card BEM structure */
.pricing-card--featured {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.06) 0%, var(--surface) 100%);
}

.pricing-card--featured::before {
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.03) 0%, transparent 50%);
}

.pricing-card--featured:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover), 0 0 30px rgba(255, 122, 26, 0.1);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-card__header {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}

.pricing-card__name {
  font-size: var(--h3);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-2);
}

.pricing-card__price {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--s-2);
}

.pricing-card__timeline {
  font-size: var(--small);
  color: var(--muted);
  margin: 0;
}

.pricing-card__body {
  flex-grow: 1;
}

.pricing-card__body h4 {
  font-size: var(--small);
  color: var(--text);
  margin-bottom: var(--s-3);
}

.pricing-card__list {
  list-style: none;
  margin-bottom: var(--s-5);
}

.pricing-card__list li {
  position: relative;
  padding-left: var(--s-5);
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  color: var(--text-2);
  font-size: var(--small);
}

.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.pricing-card__includes {
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

.pricing-card__includes p {
  font-size: var(--small);
  color: var(--muted);
  margin: 0;
}

.pricing-card__footer {
  margin-top: var(--s-5);
}

/* Cost Drivers Grid */
.cost-drivers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  max-width: 900px;
  margin: var(--s-7) auto 0;
}

@media (max-width: 768px) {
  .cost-drivers-grid {
    grid-template-columns: 1fr;
  }
}

.cost-driver h3 {
  font-size: var(--body);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}

.cost-driver--up h3 {
  color: var(--accent);
}

.cost-driver--down h3 {
  color: var(--teal);
}

.cost-driver ul {
  list-style: none;
}

.cost-driver li {
  color: var(--muted);
  font-size: var(--small);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  padding-left: var(--s-5);
  position: relative;
}

.cost-driver li:last-child {
  border-bottom: none;
}

.cost-driver--up li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.cost-driver--down li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* Maintenance Grid */
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s-5);
  max-width: 900px;
  margin: var(--s-7) auto 0;
}

.maintenance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.maintenance-card h4 {
  color: var(--text);
  font-size: var(--h4);
  margin-bottom: var(--s-2);
}

.maintenance-card__price {
  color: var(--accent);
  font-size: var(--h3);
  font-weight: 700;
  margin-bottom: var(--s-4);
}

.maintenance-card ul {
  list-style: none;
}

.maintenance-card li {
  color: var(--muted);
  font-size: var(--small);
  padding: var(--s-2) 0;
}

/* Payment Steps */
.payment-steps {
  display: flex;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.payment-step {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.payment-step__percent {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 600;
}

.payment-step__label {
  color: var(--muted);
  font-size: var(--small);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--s-5);
  max-width: 900px;
  margin: var(--s-7) auto 0;
}

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

.faq-item {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.faq-item h4 {
  color: var(--text);
  font-size: var(--body);
  margin-bottom: var(--s-3);
}

.faq-item p {
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--lh-body);
  margin: 0;
}

/* =================================================================
   13. ABOUT SECTION
   ================================================================= */

.about-section {
  padding: var(--s-9) 0;
  background: var(--bg-2);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  margin-top: var(--s-7);
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.about-text p {
  line-height: var(--lh-body);
  margin-bottom: var(--s-4);
}

.about-text p:first-child {
  font-size: 1.125rem;
  color: var(--text);
}

.about-lead {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: var(--s-5);
  font-weight: 500;
}

.about-tagline {
  font-size: 1.0625rem;
  color: var(--text);
  font-weight: 600;
  margin-top: var(--s-5);
}

/* Value Cards */
.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: all var(--transition-fast);
}

.value-card:hover {
  border-color: var(--border-hover);
}

.value-card h4 {
  font-size: var(--body);
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.value-card p {
  font-size: var(--small);
  color: var(--muted);
  margin: 0;
}

.value-card--blue h4 { color: var(--blue); }
.value-card--teal h4 { color: var(--teal); }
.value-card--green h4 { color: var(--green); }

/* =================================================================
   14. FINAL CTA SECTION
   ================================================================= */

.final-cta-section {
  padding: var(--s-9) 0;
  text-align: center;
}

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

.final-cta-section p {
  margin: 0 auto var(--s-6);
  max-width: 520px;
}

.final-cta-section .hero-cta {
  justify-content: center;
}

/* =================================================================
   15. FOOTER
   ================================================================= */

.footer {
  padding: var(--s-9) 0 var(--s-7);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* Footer Columns */
.footer-col--brand {
  grid-column: span 1;
}

@media (max-width: 767px) {
  .footer-col--brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-col--brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--s-4);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: var(--small);
  color: var(--muted);
  max-width: 240px;
  margin: 0;
}

.footer-col__title {
  font-size: var(--small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: var(--s-3);
}

.footer-nav a {
  font-size: var(--small);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-nav a svg {
  opacity: 0.6;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: var(--xs);
  color: var(--muted-2);
  margin: 0;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--xs);
}

.legal-links a {
  color: var(--muted-2);
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--text);
}

.legal-links .dot {
  color: var(--muted-2);
  opacity: 0.5;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--s-4);
    text-align: center;
  }
}

/* Footer BEM Aliases (for alternate pages) */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}

@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  grid-column: span 1;
}

@media (max-width: 767px) {
  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer__brand {
    grid-column: span 1;
  }
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--s-4);
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__tagline {
  font-size: var(--small);
  color: var(--muted);
  max-width: 240px;
  margin: 0;
}

.footer__nav h4 {
  font-size: var(--small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: var(--s-3);
}

.footer__nav a {
  font-size: var(--small);
  color: var(--muted);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  justify-content: center;
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: var(--xs);
  color: var(--muted-2);
  margin: 0;
}

/* =================================================================
   16. STICKY CTA
   ================================================================= */

.sticky-cta {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 100;
  padding: var(--s-3) var(--s-5);
  min-height: 44px;
  box-shadow: var(--shadow-lg), 0 4px 20px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta:hover {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .sticky-cta {
    bottom: var(--s-4);
    right: var(--s-4);
    left: var(--s-4);
    width: calc(100% - var(--s-8));
    text-align: center;
  }
}

/* =================================================================
   17. CONTACT SECTION
   ================================================================= */

.contact-section {
  padding: var(--s-9) 0;
  background: var(--surface);
}

.contact-form {
  max-width: 600px;
  margin: var(--s-6) auto 0;
}

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

.form-group label {
  display: block;
  font-size: var(--small);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--s-4);
  font-family: inherit;
  font-size: var(--body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--transition-base);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--border-hover);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-muted);
  background: var(--bg-2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-2);
  transition: opacity var(--transition-fast);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
  opacity: 0.5;
}

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

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b95a8'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-message {
  text-align: center;
  margin-top: var(--s-4);
  font-weight: 500;
}

.hidden {
  display: none !important;
}

/* =================================================================
   18. LEGAL PAGES
   ================================================================= */

.legal-page {
  padding: var(--s-8) 0;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: var(--h2);
  margin-bottom: var(--s-4);
}

.legal-updated {
  font-size: var(--small);
  color: var(--muted);
  margin-bottom: var(--s-6);
}

.legal-section {
  margin-bottom: var(--s-7);
}

.legal-section h2 {
  font-size: var(--h3);
  margin-bottom: var(--s-4);
}

.legal-page p {
  margin-bottom: var(--s-4);
}

.legal-page ul {
  margin: 0 0 var(--s-4) var(--s-5);
  list-style: disc;
  color: var(--muted);
}

.legal-page li {
  margin-bottom: var(--s-2);
}

/* =================================================================
   19. SECTION TITLES (Legacy Support)
   ================================================================= */

.section-title {
  font-size: var(--h2);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: var(--s-4);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: var(--body);
  max-width: 600px;
  margin: 0 auto;
}

/* =================================================================
   20. CASE STUDY PAGES
   ================================================================= */

.case-study-hero {
  padding: var(--s-7) 0;
  text-align: center;
}

.case-study-hero img {
  width: 100%;
  max-width: 900px;
  margin: var(--s-6) auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.case-study-section {
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--border);
}

.case-study-section:last-of-type {
  border-bottom: none;
}

.case-study-section h2 {
  font-size: var(--h3);
  margin-bottom: var(--s-4);
}

.case-study-section p,
.case-study-section li {
  color: var(--muted);
  line-height: var(--lh-body);
}

/* What I'd Improve Next */
.improve-next-section {
  background: var(--surface);
  border-left: 3px solid var(--blue);
  padding: var(--s-6);
  margin: var(--s-6) 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.improve-next-section h3 {
  color: var(--blue);
  font-size: var(--h3);
  margin-bottom: var(--s-4);
}

.improve-next-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.improve-next-section li {
  position: relative;
  padding-left: var(--s-5);
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  color: var(--muted);
}

.improve-next-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

/* =================================================================
   21. AUDIT PAGE
   ================================================================= */

.audit-hero {
  padding: var(--s-8) 0;
  text-align: center;
}

.audit-hero h1 {
  font-size: var(--h1);
  margin-bottom: var(--s-4);
}

.audit-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
  margin: var(--s-7) 0;
}

.audit-feature {
  text-align: center;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.audit-feature h3 {
  font-size: var(--body);
  color: var(--blue);
  margin-bottom: var(--s-2);
}

.audit-feature p {
  font-size: var(--small);
  color: var(--muted);
  margin: 0;
}

.audit-form,
.contact-form-enhanced {
  max-width: 560px;
  margin: var(--s-7) auto 0;
  background: var(--surface);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

/* =================================================================
   22. SERVICE DETAIL PAGES
   ================================================================= */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.service-detail:first-child {
  border-top: none;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .service-detail--reverse {
    direction: ltr;
  }
}

.service-detail__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
}

.service-detail__title {
  font-size: var(--h2);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s-3);
}

.service-detail__desc {
  font-size: var(--body);
  color: var(--muted);
  line-height: var(--lh-body);
  margin-bottom: var(--s-5);
}

.service-detail__deliverables {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin-bottom: var(--s-5);
}

.service-detail__deliverables h4 {
  font-size: var(--small);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-4);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: var(--s-5);
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  color: var(--muted);
  font-size: var(--small);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpolyline points='3,8 6,11 13,4' fill='none' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.check-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 600px) {
  .check-list--grid {
    grid-template-columns: 1fr;
  }
}

.service-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.meta-item__label {
  font-size: var(--xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-item__value {
  font-size: var(--body);
  color: var(--text);
  font-weight: 600;
}

.service-detail__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* Tech Stack Grid */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-6);
  max-width: 800px;
  margin: var(--s-7) auto 0;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: var(--muted);
  font-size: var(--small);
}

/* =================================================================
   23. ABOUT PAGE
   ================================================================= */

/* About Grid - Story + Founder Card */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-8);
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

.about-story h2 {
  font-size: var(--h3);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s-5);
}

.about-story p {
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: var(--lh-body);
  margin-bottom: var(--s-4);
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-story strong {
  color: var(--text);
  font-weight: 600;
}

.about-story a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-story a:hover {
  color: var(--link-hover);
}

/* Founder Card */
.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  text-align: center;
}

.founder-card__avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: 50%;
  margin: 0 auto var(--s-5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card__avatar svg {
  width: 48px;
  height: 48px;
  color: var(--bg);
}

.founder-card__name {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s-1);
}

.founder-card__role {
  color: var(--blue);
  font-size: var(--small);
  font-weight: 500;
  margin-bottom: var(--s-4);
}

.founder-card__tagline {
  color: var(--muted);
  font-size: var(--body);
  font-style: italic;
  line-height: var(--lh-body);
}

/* Differentiators Grid */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  max-width: 1000px;
  margin: 0 auto;
}

.diff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.diff-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.diff-card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal-muted);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  color: var(--teal);
}

.diff-card__title {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-2);
}

.diff-card__desc {
  color: var(--muted);
  font-size: var(--body);
  line-height: var(--lh-body);
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-4);
  max-width: 900px;
  margin: 0 auto;
}

.expertise-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.expertise-card__label {
  font-size: var(--xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: var(--s-3);
}

.expertise-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-card__list li {
  color: var(--text-2);
  font-size: var(--small);
  padding: var(--s-1) 0;
}

/* Product Showcase */
.product-showcase {
  max-width: 520px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  text-align: center;
}

.product-card__icon {
  margin-bottom: var(--s-5);
}

.product-card__title {
  font-size: var(--h3);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s-3);
}

.product-card__desc {
  color: var(--muted);
  font-size: var(--body);
  line-height: var(--lh-body);
  margin-bottom: var(--s-5);
}

.product-card .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

/* =================================================================
   24. CONTACT PAGE
   ================================================================= */

/* Contact Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* Contact Form Card */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}

.contact-form-card__title {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-5);
}

/* Contact Form Styles */
.contact-form .form-group {
  margin-bottom: var(--s-4);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

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

.contact-form label {
  display: block;
  color: var(--text);
  font-size: var(--small);
  font-weight: 500;
  margin-bottom: var(--s-2);
}

.contact-form label .required {
  color: var(--accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--body);
  font-family: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--focus);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-2);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b95a8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  padding-right: calc(var(--s-4) + 20px);
}

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

/* Form Message */
.form-message {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-sm);
  text-align: center;
  display: none;
}

.form-message.success {
  background: var(--green-muted);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

/* Contact Info Card */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.contact-info-card__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-muted);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: var(--s-3);
}

.contact-info-card__title {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-3);
}

.contact-info-card__text {
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--lh-body);
  margin-bottom: var(--s-2);
}

.contact-info-card__link {
  color: var(--link);
  font-size: var(--body);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-card__link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Process Steps */
.process-steps {
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--lh-snug);
}

.process-steps li::before {
  content: counter(step);
  width: 24px;
  height: 24px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--xs);
  font-weight: 600;
  color: var(--bg);
  flex-shrink: 0;
}

/* Trust List */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  color: var(--muted);
  font-size: var(--small);
}

.trust-list li svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* =================================================================
   25. AUDIT LANDING PAGE
   ================================================================= */

/* Audit Navigation - Minimal for Landing Page */
.audit-nav {
  padding: var(--s-4) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.audit-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audit-nav__back {
  color: var(--muted);
  text-decoration: none;
  font-size: var(--small);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  transition: color var(--transition-base);
}

.audit-nav__back:hover {
  color: var(--text);
}

/* Audit Grid Layout */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}

@media (max-width: 900px) {
  .audit-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* Audit Info Column */
.audit-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

/* Audit Benefits */
.audit-benefits__title {
  font-size: var(--h3);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s-4);
}

.audit-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audit-benefits__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  color: var(--text-2);
  line-height: var(--lh-body);
}

.audit-benefits__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}

.audit-benefits__list li strong {
  color: var(--text);
}

/* Audit Who Section */
.audit-who__title {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-3);
}

.audit-who__text {
  color: var(--text-2);
  line-height: var(--lh-body);
  margin-bottom: var(--s-2);
}

.audit-who__note {
  color: var(--muted);
  font-size: var(--small);
}

.audit-who__note a {
  color: var(--link);
}

/* Audit Issues Section */
.audit-issues {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.audit-issues__title {
  font-size: var(--body);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: var(--s-4);
}

.audit-issues__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2) var(--s-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 600px) {
  .audit-issues__list {
    grid-template-columns: 1fr;
  }
}

.audit-issues__list li {
  color: var(--muted);
  font-size: var(--small);
  padding: var(--s-1) 0;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.audit-issues__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Audit Form Card */
.audit-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}

.audit-form-card__title {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-2);
}

.audit-form-card__subtitle {
  color: var(--muted);
  font-size: var(--small);
  margin-bottom: var(--s-5);
}

/* Audit Form */
.audit-form .form-group {
  margin-bottom: var(--s-4);
}

.audit-form label {
  display: block;
  color: var(--text);
  font-size: var(--small);
  font-weight: 500;
  margin-bottom: var(--s-2);
}

.audit-form label .required {
  color: var(--accent);
}

.audit-form input,
.audit-form select,
.audit-form textarea {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--body);
  font-family: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--focus);
}

.audit-form input::placeholder,
.audit-form textarea::placeholder {
  color: var(--muted-2);
}

.audit-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b95a8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  padding-right: calc(var(--s-4) + 20px);
}

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

/* Audit Next Steps */
.audit-next-steps {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
}

.audit-next-steps__title {
  font-size: var(--small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-3);
}

/* Audit Trust Signals */
.audit-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

.audit-trust__item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--muted);
  font-size: var(--xs);
}

.audit-trust__item svg {
  color: var(--teal);
}

/* Audit Footer - Minimal */
.audit-footer {
  padding: var(--s-6) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: var(--s-8);
}

.audit-footer p {
  color: var(--muted);
  font-size: var(--small);
}

.audit-footer a {
  color: var(--link);
  text-decoration: none;
}

.audit-footer a:hover {
  text-decoration: underline;
}

/* =================================================================
   26. CASE STUDY PAGES
   ================================================================= */

/* Case Study Layout */
.case-study-page {
  min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--s-4) 0;
  color: var(--muted);
  font-size: var(--small);
  margin-top: var(--header-h);
}

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

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

.breadcrumb__sep {
  margin: 0 var(--s-2);
  opacity: 0.5;
}

/* Case Study Hero */
.cs-hero {
  padding: var(--s-5) 0 var(--s-8);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.cs-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

@media (max-width: 900px) {
  .cs-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cs-hero__ctas {
    justify-content: center;
  }
}

.cs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  font-size: var(--small);
  font-weight: 500;
  margin-bottom: var(--s-4);
}

.cs-hero__badge--live {
  background: var(--green-muted);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.cs-hero__badge--live::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.cs-hero__badge--demo {
  background: var(--blue-muted);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue);
}

.cs-hero__title {
  font-size: var(--h1);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s-2);
  line-height: var(--lh-tight);
}

.cs-hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-bottom: var(--s-5);
  line-height: var(--lh-snug);
}

.cs-hero__ctas {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.cs-hero__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.cs-hero__visual svg {
  opacity: 0.7;
}

/* Case Study Sections */
.cs-section {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
}

.cs-section:first-of-type {
  border-top: none;
}

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

.cs-section--highlight {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.06) 0%, rgba(45, 212, 191, 0.06) 100%);
  border-color: rgba(96, 165, 250, 0.15);
}

.cs-section__header {
  margin-bottom: var(--s-6);
}

.cs-section__title {
  font-size: var(--h2);
  color: var(--text);
  margin-bottom: var(--s-2);
}

.cs-section--highlight .cs-section__title {
  color: var(--blue);
}

.cs-section__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Context Section */
.cs-context {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-8);
}

@media (max-width: 768px) {
  .cs-context {
    grid-template-columns: 1fr;
  }
}

.cs-context__text p {
  color: var(--text-2);
  line-height: var(--lh-body);
  margin-bottom: var(--s-4);
}

.cs-context__text p:last-child {
  margin-bottom: 0;
}

.cs-context__sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.cs-context__sidebar h4 {
  color: var(--text);
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-4);
}

.cs-context__sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-context__sidebar li {
  color: var(--muted);
  font-size: var(--small);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--border);
}

.cs-context__sidebar li:last-child {
  border-bottom: none;
}

.cs-context__sidebar li strong {
  color: var(--text);
}

/* Constraints Grid */
.cs-constraints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}

.cs-constraint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.cs-section--alt .cs-constraint {
  background: var(--surface-2);
}

.cs-constraint__title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.cs-constraint__title svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cs-constraint__text {
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--lh-body);
}

/* Solution Section */
.cs-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
}

@media (max-width: 900px) {
  .cs-solution {
    grid-template-columns: 1fr;
  }
}

.cs-solution__features h3 {
  color: var(--text);
  font-size: var(--h3);
  margin-bottom: var(--s-5);
}

.cs-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  line-height: var(--lh-body);
}

.cs-features li:last-child {
  border-bottom: none;
}

.cs-features svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.cs-features strong {
  color: var(--text);
}

.cs-solution__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* Tech Stack Section */
.cs-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-6);
}

.cs-tech-category h4 {
  color: var(--blue);
  font-size: var(--xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-4);
}

.cs-tech-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-tech-category li {
  color: var(--muted);
  padding: var(--s-2) 0;
  font-size: var(--small);
}

/* Improvement Items */
.cs-improve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
}

.cs-improve-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.cs-improve-item h4 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.cs-improve-item p {
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--lh-body);
}

/* Outcome Section */
.cs-outcome {
  text-align: center;
}

.cs-outcome__stats {
  display: flex;
  justify-content: center;
  gap: var(--s-8);
  flex-wrap: wrap;
  margin-top: var(--s-6);
}

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

.cs-outcome__stat-value {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--teal);
  display: block;
}

.cs-outcome__stat-label {
  color: var(--muted);
  font-size: var(--small);
}

.cs-outcome__text {
  color: var(--muted);
  max-width: 600px;
  margin: var(--s-6) auto 0;
  line-height: var(--lh-body);
}

.cs-outcome__text a {
  color: var(--link);
}

/* Final CTA Section */
.cs-cta {
  text-align: center;
  padding: var(--s-9) 0;
  border-top: 1px solid var(--border);
}

.cs-cta__title {
  font-size: var(--h2);
  color: var(--text);
  margin-bottom: var(--s-3);
}

.cs-cta__text {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: var(--s-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cs-cta__buttons {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* =================================================================
   27. BLOG
   ================================================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--s-6);
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card__link {
  display: block;
  padding: var(--s-6);
  text-decoration: none;
  color: inherit;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.blog-card__category {
  background: var(--blue-muted);
  color: var(--blue);
  font-size: var(--xs);
  font-weight: 600;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__date {
  font-size: var(--xs);
  color: var(--muted);
}

.blog-card__title {
  font-size: var(--h4);
  font-weight: 600;
  line-height: var(--lh-snug);
  margin-bottom: var(--s-3);
  color: var(--text);
}

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

.blog-card__excerpt {
  font-size: var(--small);
  color: var(--muted);
  line-height: var(--lh-body);
  margin-bottom: var(--s-4);
}

.blog-card__read {
  font-size: var(--small);
  font-weight: 500;
  color: var(--blue);
}

/* Blog Post Single */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
}

.blog-post__header {
  margin-bottom: var(--s-8);
  text-align: center;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.blog-post__category {
  background: var(--blue-muted);
  color: var(--blue);
  font-size: var(--xs);
  font-weight: 600;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-post__date {
  font-size: var(--small);
  color: var(--muted);
}

.blog-post__title {
  font-size: var(--h1);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: var(--s-4);
}

.blog-post__subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: var(--lh-body);
}

.blog-post__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-2);
}

.blog-post__content h2 {
  font-size: var(--h3);
  font-weight: 600;
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
  color: var(--text);
}

.blog-post__content h3 {
  font-size: var(--h4);
  font-weight: 600;
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  color: var(--text);
}

.blog-post__content p {
  margin-bottom: var(--s-5);
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: var(--s-5);
  padding-left: var(--s-6);
}

.blog-post__content li {
  margin-bottom: var(--s-2);
}

.blog-post__content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--s-5);
  margin: var(--s-6) 0;
  font-style: italic;
  color: var(--muted);
}

.blog-post__content code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
}

.blog-post__content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  overflow-x: auto;
  margin: var(--s-6) 0;
}

.blog-post__content a {
  color: var(--blue);
  text-decoration: underline;
}

.blog-post__content a:hover {
  color: var(--link-hover);
}

.blog-post__author {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-6);
  background: var(--surface);
  border-radius: var(--r-lg);
  margin-top: var(--s-8);
}

.blog-post__author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--h4);
}

.blog-post__author-info h4 {
  font-weight: 600;
  margin-bottom: var(--s-1);
}

.blog-post__author-info p {
  font-size: var(--small);
  color: var(--muted);
  margin: 0;
}

/* Blog CTA Box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  margin: var(--s-8) 0;
  text-align: center;
}

.blog-cta-box h3 {
  font-size: var(--h3);
  margin-bottom: var(--s-3);
}

.blog-cta-box p {
  color: var(--muted);
  margin-bottom: var(--s-5);
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post__title {
    font-size: var(--h2);
  }
}

/* =================================================================
   28. MOBILE OPTIMIZATION
   ================================================================= */

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Better touch targets - minimum 44px */
@media (max-width: 767px) {
  .btn {
    min-height: 48px;
    padding: var(--s-3) var(--s-4);
  }

  .btn--lg {
    min-height: 52px;
    font-size: var(--body);
  }

  /* Larger tap areas for nav links */
  .nav-links a:not(.btn) {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Better hero spacing */
  .hero-section {
    padding-top: var(--s-6);
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Services cards touch-friendly */
  .service-card {
    padding: var(--s-5);
  }

  /* Better section spacing mobile */
  .section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section__subtitle {
    font-size: 0.9375rem;
  }

  /* Card hover states - show on touch */
  .service-card:active,
  .blog-card:active,
  .portfolio-card:active {
    transform: scale(0.98);
  }

  /* Full-width CTAs on mobile */
  .section .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Better form inputs on mobile */
  input, textarea, select {
    font-size: 16px !important; /* Prevents iOS zoom */
  }

  /* Footer mobile adjustments */
  .footer__grid {
    gap: var(--s-6);
  }

  .footer__nav {
    text-align: center;
  }

  .footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-3);
  }

  .footer__nav li {
    margin: 0;
  }
}

/* Extra small screens */
@media (max-width: 374px) {
  :root {
    --body: 0.875rem;
    --small: 0.8125rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .container {
    padding-left: var(--s-3);
    padding-right: var(--s-3);
  }

  .btn {
    padding: var(--s-3);
    font-size: var(--small);
  }
}

/* Landscape phone fixes */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    padding: var(--s-5) 0;
  }

  .hero-grid {
    gap: var(--s-5);
  }
}

/* iOS safe area support */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(var(--s-4), env(safe-area-inset-left));
    padding-right: max(var(--s-4), env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(var(--s-6), env(safe-area-inset-bottom));
  }
}

/* Smooth scrolling for touch */
@media (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Disable hover effects on touch devices */
  .btn:hover {
    transform: none;
  }

  .btn:active {
    transform: scale(0.97);
  }
}

/* =================================================================
   29. UTILITIES
   ================================================================= */

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.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;
}

/* Placeholder Image */
.placeholder-image {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =================================================================
   28. PRINT STYLES
   ================================================================= */

@media print {
  .navbar,
  .sticky-cta,
  .footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    padding-top: 0;
  }
}
