/* ============================================================
   CXPromise - Main Stylesheet
   Dark/Light mode, responsive, modern consultancy aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand */
  --green: #2d5016;
  --green-light: #3d6b1e;
  --green-dark: #1e3a0e;
  --orange: #d4740a;
  --orange-light: #e8922e;
  --orange-dark: #b5620a;
  --gold: #e8a84c;
  --cream: #f8f7f4;

  /* Dark theme (default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --bg-elevated: #1e1e1e;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: #2a2a2a;
  --border-light: #333333;
  --shadow-color: rgba(0,0,0,0.4);
  --glow-orange: rgba(212,116,10,0.15);
  --glow-green: rgba(45,80,22,0.15);
  --overlay: rgba(0,0,0,0.7);
  --nav-bg: rgba(10,10,10,0.92);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

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

/* ===== LIGHT THEME ===== */
/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition-slow), color var(--transition-slow);
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--orange-light); }

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

::selection {
  background: var(--orange);
  color: white;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: var(--orange);
}
.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--text-muted);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--transition-base);
}

.nav.scrolled {
  height: 56px;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

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

.nav-tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  display: none;
}

@media (min-width: 900px) {
  .nav-tagline { display: block; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

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

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

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

.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: var(--border-radius-sm);
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  transition: all var(--transition-fast) !important;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,116,10,0.3);
}

.nav-cta::after { display: none !important; }

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: rotate(15deg);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: var(--text-xl); }
  .nav-logo-text { font-size: 1.1rem; }
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-full {
  padding: var(--space-4xl) var(--space-2xl);
}

/* ===== TYPOGRAPHY ===== */
.label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.headline {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.headline-lg {
  font-size: var(--text-6xl);
}

.headline-sm {
  font-size: var(--text-4xl);
}

.subheadline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.highlight {
  color: var(--orange);
}

.highlight-green {
  color: var(--green-light);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: var(--space-4xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home .hero-bg {
  background: url('../assets/hero-bg.jpg') center center / cover no-repeat;
}

.hero-home .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.75) 40%,
    rgba(10,10,10,0.85) 100%
  );
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, var(--glow-green) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, var(--glow-orange) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-content .headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
}

.hero-content .subheadline {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
  justify-content: center;
  text-align: center;
}

.hero-stat .number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--orange);
  font-family: var(--font-mono);
}

.hero-stat .label-sm {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-primary:hover {
  background: var(--orange-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,116,10,0.35);
}

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

.btn-outline:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 0;
}

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

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

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

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.card-featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 4px 24px rgba(212,116,10,0.12);
}

.card-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: var(--space-xl);
  background: var(--orange);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 700;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--glow-green);
  border: 1px solid var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-lg);
  color: var(--green-light);
}

.card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

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

/* ===== GRID LAYOUTS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

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

/* ===== LOGO STRIP ===== */
.logo-strip {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}

.logo-strip-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}

.logo-marquee {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  animation: marquee 40s linear infinite;
  width: max-content;
}

.logo-marquee:hover {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PROCESS STEPS ===== */
.process-section {
  background: var(--green-dark);
  padding: var(--space-4xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.process-section * {
  color: white;
}

.process-section .label {
  color: var(--gold);
}

.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.step-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.step-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: var(--text-sm);
  opacity: 0.85;
  line-height: 1.7;
}

/* ===== TESTIMONIAL ===== */
.testimonial-section {
  background: var(--green-dark);
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
  margin-top: 0;
}

/* When testimonial follows process section, merge them visually */
.process-section + .testimonial-section {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-section blockquote {
  font-size: var(--text-2xl);
  font-weight: 400;
  color: white;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-section cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.testimonial-section cite strong {
  color: rgba(255,255,255,0.95);
}

/* ===== SERVICES PAGE ===== */
.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  transition: all var(--transition-base);
}

.service-content {
  display: flex;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.service-main {
  flex: 2;
}

.service-sidebar {
  flex: 1;
  min-width: 200px;
}

.service-block:hover {
  border-color: var(--border-light);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.service-block.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 4px 24px rgba(212,116,10,0.12);
  position: relative;
}

.service-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.service-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.service-accent-bar {
  width: 4px;
  height: 24px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.service-tagline {
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.service-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: var(--space-xl);
}

.service-deliverables {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.service-deliverables h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.deliverable-item {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.deliverable-item::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.service-audience {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.service-price {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
}

.service-price span {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
}

/* ===== CASE STUDIES ===== */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.case-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-color);
  color: inherit;
}

.case-category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-sm);
}

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

.case-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.case-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange);
}

/* Case study detail (expanded) */
.case-detail {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  margin-top: var(--space-md);
  overflow: hidden;
  animation: slideDown 0.4s ease;
}

.case-detail.active {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 2000px; }
}

.case-detail-header {
  background: var(--green);
  padding: var(--space-2xl);
  color: white;
}

.case-detail-body {
  padding: var(--space-2xl);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

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

.metric-card {
  background: var(--glow-green);
  border: 1px solid var(--green);
  border-radius: var(--border-radius-sm);
  padding: var(--space-lg);
  text-align: center;
}

.metric-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--green-light);
  font-family: var(--font-mono);
}

.metric-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: var(--space-xl) 0;
}

.comparison-table th {
  background: var(--green);
  color: white;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: left;
}

.comparison-table th.highlight-col {
  background: var(--orange);
}

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--bg-card);
}

.comparison-table td.highlight-col {
  background: var(--glow-orange);
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-color);
  border-color: var(--border-light);
  color: inherit;
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

.blog-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--orange);
  background: var(--glow-orange);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
  margin-right: var(--space-xs);
}

.blog-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  line-height: 1.3;
}

.blog-card .excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.blog-card .read-more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange);
}

/* Blog tag filter */
.blog-filters {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* ===== BLOG ARTICLE ===== */
.article-hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  padding-left: 0;
  padding-right: 0;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

@media (max-width: 768px) {
  .article-hero {
    padding-bottom: var(--space-2xl);
  }
  .article-body {
    padding: 0 var(--space-lg);
  }
  .article-body h2 {
    font-size: var(--text-xl);
    margin-top: var(--space-lg);
  }
  .article-body p {
    font-size: 15px;
  }
  .article-cta {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .article-body {
    padding: 0 var(--space-md);
  }
  .article-body h2 {
    font-size: 1.25rem;
  }
  .article-body p {
    font-size: 14px;
    line-height: 1.7;
  }
  .article-body ul, .article-body ol {
    padding-left: var(--space-lg);
  }
}

.article-body h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.article-body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

.article-body strong {
  color: var(--text-primary);
}

.article-body ul, .article-body ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.article-body li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.article-cta {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
  text-align: center;
}

.article-cta h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.article-related {
  margin: var(--space-2xl) 0 0;
  padding: var(--space-2xl) var(--space-xl);
  border-top: 1px solid var(--border);
  background: rgba(45,80,22,0.08);
  border-radius: var(--border-radius);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

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

.related-card {
  display: block;
  padding: 24px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

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

.related-card h4 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 8px 0;
}

.related-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.related-card:nth-child(odd) {
  background: rgba(45,80,22,0.12);
  border-color: rgba(76,175,80,0.2);
}

.related-card:nth-child(odd) h4 {
  color: var(--green-light);
}

.related-card:nth-child(even) {
  background: rgba(212,116,10,0.08);
  border-color: rgba(212,116,10,0.2);
}

.related-card:nth-child(even) h4 {
  color: var(--orange-light);
}

.related-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

/* Stay in the Loop (blog articles) */
.article-subscribe {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(45,80,22,0.2) 0%, rgba(45,80,22,0.1) 100%);
  border-top: 1px solid rgba(76,175,80,0.15);
}

.article-subscribe .subscribe-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.article-subscribe .subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .article-subscribe .subscribe-form { flex-direction: column; }
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast);
  margin-bottom: var(--space-md);
}

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

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

.calendly-placeholder {
  background: var(--bg-tertiary);
  border: 2px dashed var(--border);
  border-radius: var(--border-radius);
  padding: var(--space-3xl);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* ===== INTERACTIVE TOOLS ===== */
.tool-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-3xl);
  margin: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  .tool-container {
    padding: var(--space-xl);
  }
  .roi-inputs {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.slider-group {
  margin-bottom: var(--space-xl);
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.slider-value {
  font-family: var(--font-mono);
  color: var(--orange);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--bg-primary);
}

.result-bar {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.result-bar-fill {
  height: 12px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 6px;
  transition: width 0.6s ease;
  margin-top: var(--space-sm);
}

.result-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--orange);
}

/* Quiz / Matcher */
.quiz-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-option {
  display: block;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: var(--space-sm);
}

.quiz-option:hover {
  border-color: var(--orange);
  background: var(--glow-orange);
}

.quiz-option.selected {
  border-color: var(--orange);
  background: var(--glow-orange);
  font-weight: 600;
}

.quiz-progress {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.quiz-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background var(--transition-fast);
}

.quiz-dot.active {
  background: var(--orange);
}

.quiz-dot.completed {
  background: var(--green-light);
}

/* Teardown checklist */
.teardown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.teardown-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.teardown-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.teardown-item h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.teardown-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Teardown preview section */
#teardown-preview {
  padding-bottom: var(--space-2xl);
}

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.page-hero .headline {
  margin-bottom: var(--space-md);
}

.page-hero .subheadline {
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

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

.about-photo {
  width: 280px;
  height: 340px;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 2px solid var(--border);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.about-text p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0a0a;
  padding: var(--space-4xl) var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center !important; }
}

.footer * { color: white; }
.footer a { color: var(--gold); }
.footer a:hover { color: var(--orange-light); }

.footer-left h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.footer-left p {
  font-size: var(--text-sm);
  opacity: 0.8;
  margin-bottom: 4px;
}

.footer-right {
  text-align: right;
}

.footer-right p {
  font-size: var(--text-xs);
  opacity: 0.6;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .footer-links { justify-content: center; }
}

.footer-links a {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ===== ENTRANCE ANIMATIONS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .animate-in:nth-child(1) { transition-delay: 0ms; }
.stagger-children .animate-in:nth-child(2) { transition-delay: 100ms; }
.stagger-children .animate-in:nth-child(3) { transition-delay: 200ms; }
.stagger-children .animate-in:nth-child(4) { transition-delay: 300ms; }
.stagger-children .animate-in:nth-child(5) { transition-delay: 400ms; }
.stagger-children .animate-in:nth-child(6) { transition-delay: 500ms; }

/* ===== COUNTER ANIMATION ===== */
.count-up {
  font-family: var(--font-mono);
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: var(--space-4xl) var(--space-2xl);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== MISC ===== */
.divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: var(--space-lg) 0;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge-green {
  background: var(--glow-green);
  color: var(--green-light);
  border: 1px solid var(--green);
}

.badge-orange {
  background: var(--glow-orange);
  color: var(--orange);
  border: 1px solid var(--orange);
}

/* ===== SERVICE TIER STYLING ===== */
.service-tier-1 {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.service-tier-2 {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(232, 146, 46, 0.04) 100%);
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 4px 24px rgba(212,116,10,0.12);
}

.service-tier-3 {
  background: linear-gradient(135deg, rgba(30, 58, 14, 0.3) 0%, rgba(15, 15, 20, 0.9) 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 32px rgba(232, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}

.service-tier-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, transparent 25%, rgba(232, 168, 76, 0.02) 25%, rgba(232, 168, 76, 0.02) 50%, transparent 50%, transparent 75%, rgba(232, 168, 76, 0.02) 75%, rgba(232, 168, 76, 0.02)),
    linear-gradient(45deg, transparent 25%, rgba(232, 168, 76, 0.02) 25%, rgba(232, 168, 76, 0.02) 50%, transparent 50%, transparent 75%, rgba(232, 168, 76, 0.02) 75%, rgba(232, 168, 76, 0.02));
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}

.service-tier-3 .service-header,
.service-tier-3 .service-content,
.service-tier-3 .service-badge {
  position: relative;
  z-index: 1;
}

.service-tier-3 .headline-md {
  font-size: var(--text-3xl);
}

.service-tier-3 .service-price {
  color: var(--gold);
  font-size: var(--text-lg);
}

/* Gold border pulse animation */
@keyframes border-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px var(--gold), 0 0 12px rgba(232, 168, 76, 0.2), 0 4px 32px rgba(232, 168, 76, 0.15);
  }
  50% {
    box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(232, 168, 76, 0.4), 0 4px 32px rgba(232, 168, 76, 0.2);
  }
}

.service-tier-3:hover {
  animation: border-pulse 2s ease-in-out infinite;
}

/* Service badge premium styling */
.service-badge-premium {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a574 100%);
  color: #0a0a0a;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Comparison table wrapper and styling */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border);
}

.comparison-table th {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child {
  text-align: left;
  background: var(--bg-secondary);
}

.comparison-table th div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.tier-header-featured {
  position: relative;
}

.tier-header-premium {
  position: relative;
}

.comparison-table tbody tr:nth-child(odd) td {
  background: var(--bg-card);
}

.comparison-table tbody tr:nth-child(even) td {
  background: var(--bg-secondary);
}

.comparison-table td {
  padding: var(--space-md);
  border-right: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-right: 2px solid var(--border);
}

.comparison-table td.featured {
  background: linear-gradient(135deg, rgba(232, 146, 46, 0.08) 0%, rgba(232, 146, 46, 0.04) 100%);
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table td.premium {
  background: linear-gradient(135deg, rgba(232, 168, 76, 0.12) 0%, rgba(232, 168, 76, 0.06) 100%);
  color: var(--gold);
  font-weight: 600;
}

.tier-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--orange);
  color: white;
}

.tier-badge-gold {
  background: var(--gold);
  color: #0a0a0a;
}

.tier-badge-start {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.comparison-cta-row td {
  padding-top: 20px !important;
  border-bottom: none !important;
}

.comparison-cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(26, 77, 46, 0.15);
  border: 1px solid rgba(26, 77, 46, 0.4);
  border-radius: 8px;
  color: #4CAF50;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.comparison-cta-btn:hover {
  background: #1a4d2e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 77, 46, 0.4);
}

.comparison-cta-featured {
  background: rgba(212, 116, 10, 0.15);
  border-color: rgba(212, 116, 10, 0.4);
  color: #e8a84c;
}

.comparison-cta-featured:hover {
  background: #d4740a;
  color: white;
  box-shadow: 0 4px 12px rgba(212, 116, 10, 0.4);
}

.comparison-cta-premium {
  background: rgba(232, 168, 76, 0.15);
  border-color: rgba(232, 168, 76, 0.4);
  color: #e8a84c;
}

.comparison-cta-premium:hover {
  background: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 4px 12px rgba(232, 168, 76, 0.4);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-indicator svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.nav.scrolled ~ .hero .scroll-indicator,
.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .headline { font-size: var(--text-4xl); }
  .headline-lg { font-size: var(--text-5xl); }
  .section { padding: var(--space-3xl) 0; }
  .hero-stats { flex-direction: column; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 24px;
  }
  .headline { font-size: var(--text-3xl); letter-spacing: -0.5px; }
  .headline-lg { font-size: var(--text-4xl); }
  .headline-sm { font-size: var(--text-2xl); }
  .subheadline { font-size: var(--text-base); }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + var(--space-2xl)); padding-bottom: var(--space-3xl); }
  .hero-content .headline { font-size: clamp(2rem, 6vw, 2.5rem); }
  .hero-content .subheadline { font-size: 15px; margin-bottom: var(--space-lg); }
  .hero-stats { flex-direction: column; gap: var(--space-md); }
  .case-metrics { grid-template-columns: repeat(2, 1fr); }
  .comparison-table { font-size: var(--text-xs); overflow-x: auto; display: block; }
  .comparison-table th, .comparison-table td { padding: var(--space-sm); }
  .comparison-table th div { gap: var(--space-xs); }
  .tier-badge { font-size: 0.55rem; padding: 2px 6px; }
  .service-tier-3 .headline-md { font-size: var(--text-2xl); }
  .service-block { padding: var(--space-lg); }
  .service-content { flex-direction: column; }
  .service-main { width: 100%; }
  .service-sidebar { width: 100%; margin-top: var(--space-lg); }
  .blog-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-photo { width: 200px; height: 240px; margin: 0 auto; }
  .btn { width: 100%; justify-content: center; min-height: 44px; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    min-height: 44px;
  }
  svg { max-width: 100%; height: auto; }
}

@media (max-width: 480px) {
  .headline { font-size: var(--text-2xl); }
  .headline-sm { font-size: 1.5rem; }
  .headline-lg { font-size: var(--text-4xl); }
  .nav-inner { padding: 0 var(--space-md); }
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
  .label { font-size: 0.7rem; }
  .btn { padding: 12px 16px; font-size: 14px; }
  .card { padding: var(--space-lg); }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 12px 14px;
    min-height: 44px;
    font-size: 16px;
  }
}
