/* Meridian Consulting - Shared Styles */

:root {
  --bg: #0a0f14;
  --bg-elevated: #111920;
  --bg-subtle: #0d1318;
  --text: #e8eaed;
  --text-muted: #8b939c;
  --text-dim: #5a6370;
  --accent: #d4a84b;
  --accent-hover: #e0b55a;
  --accent-dim: rgba(212, 168, 75, 0.15);
  --accent-glow: rgba(212, 168, 75, 0.08);
  --blue: #4a9eff;
  --blue-dim: rgba(74, 158, 255, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --font-display: 'DM Sans', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1140px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 15, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Diamond logo */
.logo-mark.diamond {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark.diamond svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(212, 168, 75, 0.25));
}

/* Fallback M logo */
.logo-mark:not(.diamond) {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--bg);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a0f14;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.hero-image-wrap {
  display: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px; /* 20–40px target; you liked 24px */
}

.hero-content {
  flex: 0 0 520px;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  flex: 1 1 auto;
  position: relative;
  align-self: stretch;

  /* Full-bleed to the right edge of the viewport */
  margin-right: calc(50% - 50vw);

  /* Crop (don't scale down) */
  overflow: hidden;
  min-height: 480px;
  z-index: 1;
}

.hero-visual img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  /* Fixed visual size: browser shrink crops it instead of scaling */
  width: 1500px;
  max-width: none;
  height: auto;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;

  opacity: 0.95;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.35));
}

@media (min-width: 1280px) {
  .hero-visual { min-height: 520px; }
  .hero-visual img { width: 1650px; }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

/* --- Page Header --- */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.page-header .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Section shared styles --- */
section { padding: var(--space-xl) 0; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(212, 168, 75, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

/* --- Cards --- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-md);
}

/* --- Infographic --- */
.infographic {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* --- Problems Grid --- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.problem-item {
  padding: var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.problem-item:hover {
  border-color: rgba(212, 168, 75, 0.3);
  transform: translateY(-4px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.problem-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.problem-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.problem-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Services List --- */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: start;
}

.service-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
}

.service-meta {
  text-align: right;
  padding-top: 4px;
}

.service-type {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-type.highlight {
  color: var(--accent);
}
/* Meridian Consulting - Shared Styles */

:root {
  --bg: #0a0f14;
  --bg-elevated: #111920;
  --bg-subtle: #0d1318;
  --text: #e8eaed;
  --text-muted: #8b939c;
  --text-dim: #5a6370;
  --accent: #d4a84b;
  --accent-hover: #e0b55a;
  --accent-dim: rgba(212, 168, 75, 0.15);
  --accent-glow: rgba(212, 168, 75, 0.08);
  --blue: #4a9eff;
  --blue-dim: rgba(74, 158, 255, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --font-display: 'DM Sans', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1140px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 15, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Diamond logo */
.logo-mark.diamond {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark.diamond svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(212, 168, 75, 0.25));
}

/* Fallback M logo */
.logo-mark:not(.diamond) {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--bg);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a0f14;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.hero-image-wrap {
  display: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px; /* 20–40px target; you liked 24px */
}

.hero-content {
  flex: 0 0 520px;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  flex: 1 1 auto;
  position: relative;
  align-self: stretch;

  /* Full-bleed to the right edge of the viewport */
  margin-right: calc(50% - 50vw);

  /* Crop (don't scale down) */
  overflow: hidden;
  min-height: 480px;
  z-index: 1;
}

.hero-visual img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  /* Fixed visual size: browser shrink crops it instead of scaling */
  width: 1500px;
  max-width: none;
  height: auto;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;

  opacity: 0.95;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.35));
}

@media (min-width: 1280px) {
  .hero-visual { min-height: 520px; }
  .hero-visual img { width: 1650px; }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

/* ... (rest of your existing styles remain unchanged until Services List) */

/* --- Services List --- */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: start;
}

.service-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
}

.service-meta {
  text-align: right;
  padding-top: 4px;
}

.service-type {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Added: journey steps (homepage) */
.journey-steps {
  margin: var(--space-md) 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.journey-step {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.journey-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 168, 75, 0.25);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.journey-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.journey-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

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

/* --- CTA Section --- */
.cta-section {
  padding: var(--space-xl) 0;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cta-box p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-lg);
}

.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: var(--space-sm); }

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--space-sm);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--accent-dim);
  border-color: rgba(212, 168, 75, 0.3);
  color: var(--accent);
}

.footer-links { display: flex; gap: var(--space-lg); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-md) auto 0;
  padding: var(--space-sm) var(--space-md) 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-md);
  position: relative;
}

.testimonial-card::before {
  content: """;
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 34px;
  line-height: 1;
  color: rgba(212, 168, 75, 0.25);
  font-weight: 700;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-top: 18px;
}

.testimonial-meta {
  margin-top: var(--space-sm);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

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

/* --- Certifications list --- */
.cert-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  padding: 0;
  margin: 0;
}

.cert-list li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  
  .hero {
    padding-top: 120px;
    padding-bottom: var(--space-lg);
    min-height: auto;
  }
  
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 24px;
  }
  
  .hero-visual {
    order: -1;
    width: 100%;
    margin-right: 0;
    max-width: none;
    margin-left: 0;
    overflow: visible;
    min-height: auto;
  }

  .hero-visual img {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    margin: 0;
  }

  
  .hero-content {
    width: 100%;
    max-width: 680px;
  }
  
  .hero-cta {
    display: flex;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root { --space-lg: 48px; --space-xl: 80px; }
  
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  
  .footer-inner { flex-direction: column; gap: var(--space-md); }
  .footer-links { flex-wrap: wrap; gap: var(--space-md); }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cert-list { grid-template-columns: 1fr; }
  
  .service-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .service-content {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
  
  .service-meta {
    text-align: left;
  }
}

/* --- About page spacing --- */
.about-page section { padding-top: 48px; padding-bottom: 48px; }
.about-page .about-hero { padding-top: 200px; }
.about-page .page-header { padding-bottom: 24px; }
