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

:root {
  --primary: #0a0a0a;
  --ink-deep: #121212;
  --on-primary: #f5f5f5;
  --accent-crimson: #8b1a1a;
  --accent-crimson-light: #a52a2a;
  --accent-ember: #cc5500;
  --accent-ember-glow: #e67300;
  --accent-amber: #d4841a;
  --surface-canvas-dark: #0a0a0a;
  --surface-canvas-mid: #121212;
  --surface-card-dark: #1a1a1a;
  --surface-card-elevated: #222222;
  --surface-press: #2a2a2a;
  --hairline-dark: #2a2a2a;
  --hairline-subtle: #333333;
  --hairline-ember: rgba(204, 85, 0, 0.25);
  --ink: #f5f5f5;
  --ink-muted: #a0a0a0;
  --ink-faint: #666666;
  --on-dark-muted: rgba(245, 245, 245, 0.65);
  --on-dark-faint: rgba(245, 245, 245, 0.12);
  --ring-focus: rgba(204, 85, 0, 0.5);
  --danger: #cc3333;
  --success: #2d8a4e;

  --rounded-xs: 2px;
  --rounded-sm: 4px;
  --rounded-md: 6px;
  --rounded-lg: 8px;
  --rounded-xl: 12px;
  --rounded-xxl: 16px;
  --rounded-full: 9999px;

  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
  --spacing-3xl: 48px;
  --spacing-section: 96px;
  --spacing-section-lg: 128px;

  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--on-primary);
  background-color: var(--surface-canvas-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-ember);
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  color: var(--accent-ember-glow);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
}

/* ===== TYPOGRAPHY ===== */

.display-hero {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-large {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-xl {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.heading-lg {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.heading-md {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.heading-sm {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ember);
}

.text-muted {
  color: var(--ink-muted);
}

.text-faint {
  color: var(--ink-faint);
}

/* ===== NAVBAR ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--spacing-lg) 0;
  transition: background 300ms ease;
}

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

.navbar-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--on-primary);
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xxl);
  list-style: none;
}

.navbar-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 200ms ease;
}

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

.navbar-cta {
  display: inline-flex;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-primary);
  transition: transform 300ms ease, opacity 300ms ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--surface-canvas-mid);
  padding: 80px var(--spacing-xxl) var(--spacing-xxl);
  transition: right 300ms ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.mobile-menu nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.mobile-menu nav a:hover {
  color: var(--on-primary);
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
}

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

.btn-primary {
  background: var(--accent-crimson);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-crimson-light);
  color: var(--on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--on-primary);
  border: 1px solid var(--hairline-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-ember);
  background: var(--on-dark-faint);
  color: var(--on-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-ember);
  padding: 14px 0;
}

.btn-ghost:hover {
  text-decoration: underline;
  color: var(--accent-ember-glow);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-section-lg) 0 var(--spacing-section);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.85)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(204, 85, 0, 0.03) 2px,
      rgba(204, 85, 0, 0.03) 4px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero .eyebrow {
  margin-bottom: var(--spacing-xl);
}

.hero h1 {
  margin-bottom: var(--spacing-xl);
}

.hero .body-lg {
  color: var(--ink-muted);
  margin-bottom: var(--spacing-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--spacing-xxl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  color: var(--ink-faint);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ===== STATS STRIP ===== */

.stats {
  background: var(--surface-canvas-mid);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  padding: var(--spacing-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xxl);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-xl);
}

.stat-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--on-primary);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* ===== SECTIONS ===== */

.section {
  padding: var(--spacing-section) 0;
}

.section-header {
  margin-bottom: var(--spacing-3xl);
}

.section-header .eyebrow {
  margin-bottom: var(--spacing-md);
}

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

/* ===== SERVICES GRID ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.service-card {
  background: var(--surface-card-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--rounded-xl);
  padding: var(--spacing-xxl);
  transition: border-color 300ms ease;
}

.service-card:hover {
  border-color: var(--accent-ember);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-xl);
  color: var(--accent-ember);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.service-card h3 {
  margin-bottom: var(--spacing-md);
}

.service-card p {
  color: var(--ink-muted);
}

/* ===== ABOUT / MISSION ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-text .eyebrow {
  margin-bottom: var(--spacing-md);
}

.about-text h2 {
  margin-bottom: var(--spacing-xl);
}

.about-text p {
  color: var(--ink-muted);
  margin-bottom: var(--spacing-lg);
}

.about-text ul {
  list-style: none;
  margin-top: var(--spacing-xl);
}

.about-text ul li {
  padding: var(--spacing-sm) 0;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.about-text ul li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent-ember);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.terminal-block {
  background: var(--surface-card-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--rounded-lg);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--surface-press);
  border-bottom: 1px solid var(--hairline-dark);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28c840; }

.terminal-body {
  padding: 20px 24px;
  font-family: 'JetBrains Mono', 'Fira Code', Monaco, monospace;
  font-size: 14px;
  line-height: 1.6;
  color: var(--accent-ember-glow);
  overflow-x: auto;
}

.terminal-body .prompt {
  color: var(--accent-crimson-light);
}

.terminal-body .comment {
  color: var(--ink-faint);
}

.terminal-body .output {
  color: var(--ink-muted);
}

/* ===== TEAM GRID ===== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.team-card {
  background: var(--surface-card-dark);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
  transition: border-color 300ms ease;
}

.team-card:hover {
  border-color: var(--accent-ember);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 500ms ease;
}

.team-card:hover .team-card-img {
  filter: grayscale(0%);
}

.team-card-info {
  padding: var(--spacing-xl);
}

.team-card-info h3 {
  margin-bottom: var(--spacing-xs);
}

.team-card-info p {
  color: var(--ink-muted);
  font-size: 14px;
}

/* ===== TESTIMONIALS ===== */

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  max-width: 720px;
  margin: 0 auto;
}

.testimonial {
  position: relative;
  padding-left: var(--spacing-xxl);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-crimson);
  line-height: 1;
}

.testimonial blockquote {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  font-style: italic;
  color: var(--on-primary);
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
}

.testimonial-author .name {
  font-size: 16px;
  font-weight: 600;
  color: var(--on-primary);
}

.testimonial-author .role {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ===== BLOG GRID ===== */

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--spacing-3xl);
}

.blog-header .section-header {
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.blog-card {
  background: var(--surface-card-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  transition: border-color 300ms ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--accent-ember);
  color: inherit;
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface-press);
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.blog-card-date {
  font-size: 13px;
  color: var(--ink-faint);
}

.blog-card-tag {
  background: rgba(204, 85, 0, 0.15);
  color: var(--accent-ember);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: var(--rounded-full);
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--on-primary);
}

.blog-card p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.blog-card-link {
  margin-top: var(--spacing-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ember);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* ===== CTA SECTION ===== */

.cta-section {
  background: var(--surface-canvas-mid);
  border-top: 1px solid var(--hairline-dark);
  padding: var(--spacing-section) 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--spacing-lg);
}

.cta-section p {
  color: var(--ink-muted);
  max-width: 500px;
  margin: 0 auto var(--spacing-xxl);
}

/* ===== FOOTER ===== */

.footer {
  background: var(--surface-canvas-mid);
  border-top: 1px solid var(--hairline-dark);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-brand .navbar-logo {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.footer-brand p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-primary);
  margin-bottom: var(--spacing-lg);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-col ul a {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-col ul a:hover {
  color: var(--accent-ember);
}

.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
}

.footer-social {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-social a {
  color: var(--ink-muted);
  transition: color 200ms ease;
}

.footer-social a:hover {
  color: var(--accent-ember);
}

/* ===== CONTACT FORM ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-info h3 {
  margin-bottom: var(--spacing-lg);
}

.contact-info p {
  color: var(--ink-muted);
  margin-bottom: var(--spacing-xxl);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-ember);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-text {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-detail-text a {
  color: var(--ink-muted);
}

.contact-detail-text a:hover {
  color: var(--accent-ember);
}

.contact-form {
  background: var(--surface-card-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--rounded-xl);
  padding: var(--spacing-xxl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-primary);
  margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface-canvas-dark);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--rounded-md);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--on-primary);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  transition: border-color 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-ember);
}

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

/* ===== BLOG LIST PAGE ===== */

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  background: var(--surface-card-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  transition: border-color 300ms ease;
  text-decoration: none;
  color: inherit;
}

.blog-featured:hover {
  border-color: var(--accent-ember);
  color: inherit;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  background: var(--surface-press);
}

.blog-featured-body {
  padding: var(--spacing-xxl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body h2 {
  margin-bottom: var(--spacing-lg);
}

.blog-featured-body p {
  color: var(--ink-muted);
  margin-bottom: var(--spacing-xl);
}

/* ===== PAGE HERO (non-home) ===== */

.page-hero {
  padding: var(--spacing-section-lg) 0 var(--spacing-3xl);
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: var(--spacing-lg);
}

.page-hero h1 {
  margin-bottom: var(--spacing-lg);
}

.page-hero p {
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1199px) {
  .display-hero {
    font-size: 56px;
  }

  .display-large {
    font-size: 40px;
  }
}

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xxl);
  }

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

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

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

  .blog-featured {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 767px) {
  :root {
    --spacing-section: 64px;
    --spacing-section-lg: 96px;
  }

  .display-hero {
    font-size: 42px;
  }

  .display-large {
    font-size: 32px;
  }

  .heading-xl {
    font-size: 26px;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

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

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

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

  .blog-list-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-value {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xxl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 575px) {
  :root {
    --spacing-section: 48px;
    --spacing-section-lg: 72px;
  }

  .display-hero {
    font-size: 36px;
  }

  .container {
    padding: 0 var(--spacing-lg);
  }

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