/* ============================================
   LEMUR AI — Brand Stylesheet
   Charte graphique v1.0
   Navy #003760 / Sky #0092CB / Green #08B400
   Montserrat (display) + Inter (body)
   ============================================ */

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

:root {
  /* Primary palette */
  --navy: #003760;
  --sky: #0092CB;
  --green: #08B400;

  /* Secondary & neutrals */
  --midnight: #001E3C;
  --forest: #00804F;
  --sky-light: #7FD3F2;
  --cloud: #F5F7FA;
  --line: #E5E9F0;
  --ink: #0F172A;

  /* Functional */
  --white: #FFFFFF;
  --bg: var(--cloud);
  --text: var(--ink);
  --text-dim: #475569;
  --text-mute: #94A3B8;

  /* Typography */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* UI tokens per charte */
  --radius-btn: 100px;
  --radius-input: 10px;
  --radius-card: 16px;
  --height-btn: 44px;
  --border-w: 1.5px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 55, 96, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(0, 55, 96, 0.12);
  --shadow-float: 0 20px 48px rgba(0, 30, 60, 0.15);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --maxw: 1280px;
  --gutter: 32px;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ========== TYPOGRAPHY — per charte hierarchy ========== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1rem; max-width: 68ch; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--text-dim); }
.small { font-size: 0.8125rem; line-height: 1.5; color: var(--text-mute); }

/* Dark section text overrides */
.dark h1, .dark h2, .dark h3, .dark h4, .dark p, .dark .lead { color: var(--white); }
.dark p, .dark .lead { color: rgba(255, 255, 255, 0.8); }
.dark .small { color: rgba(255, 255, 255, 0.5); }

/* ========== LAYOUT ========== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 100px 0; }
.section-head { margin-bottom: 64px; }
.section-head p { max-width: 56ch; }

/* ========== EYEBROW / LABEL ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}
.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--green);
}
.dark .eyebrow { color: var(--sky-light); }

/* ========== BUTTONS — per charte ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--height-btn);
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  border: var(--border-w) solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--spring); }
.btn:hover svg { transform: translateX(2px); }

/* Primary — Navy bg + white text */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--midnight); box-shadow: 0 8px 24px rgba(0, 55, 96, 0.25); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* Secondary — White bg + navy border */
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--cloud); }

/* Accent — Green bg + white text (positive actions) */
.btn-accent {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-accent:hover { background: #079E00; box-shadow: 0 8px 24px rgba(8, 180, 0, 0.2); }

/* Ghost (for dark bgs) */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--sky-light); }

.btn-lg { min-height: 52px; padding: 0 36px; font-size: 1rem; }

/* ========== NAVIGATION ========== */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  flex-shrink: 0;
}
.brand img { height: 32px; width: auto; }
.brand .dot { color: var(--green); }
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch {
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  display: flex;
  gap: 4px;
  align-items: center;
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--sky); color: var(--navy); }
.lang-switch .sep { color: var(--text-mute); }
.lang-switch [data-lang].active { color: var(--sky); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 1px; transition: all 0.2s; }

/* ========== HERO — dark, dual-pillar ========== */
.hero {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--navy) 60%, #004A7F 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 85dvh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 146, 203, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 180, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero .eyebrow { color: var(--sky-light); }
.hero h1 { color: var(--white); margin-bottom: 24px; max-width: 18ch; }
.hero h1 .accent { color: var(--sky-light); font-weight: 700; }
.hero .lead { color: rgba(255, 255, 255, 0.8); max-width: 52ch; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num .unit { font-size: 1rem; font-weight: 600; color: var(--sky-light); }
.hero-stat-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* ========== TWO-PILLAR SECTION ========== */
.pillars { background: var(--white); }
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.pillar-card {
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--green);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
}
.pillar-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pillar-icon.d365 { background: rgba(0, 146, 203, 0.1); color: var(--sky); }
.pillar-icon.ia { background: rgba(8, 180, 0, 0.1); color: var(--green); }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-card h3 { color: var(--navy); margin-bottom: 12px; }
.pillar-card p { color: var(--text-dim); font-size: 0.9375rem; margin-bottom: 20px; }
.pillar-list { display: flex; flex-direction: column; gap: 10px; }
.pillar-list li {
  font-size: 0.9375rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ========== CLIENT LOGOS ========== */
.logos-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cloud);
}
.logos-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 32px;
}
.logos-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.logos-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scrollX 50s linear infinite;
  align-items: center;
}
.logos-track span {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-mute);
  white-space: nowrap;
  transition: color 0.3s;
}
@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SERVICES OVERVIEW ========== */
.services-overview { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.svc-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--sky);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.svc-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.svc-card.accent-green { border-top-color: var(--green); }
.svc-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.svc-card.accent-green .svc-num { color: var(--green); }
.svc-card h3 { color: var(--navy); margin-bottom: 10px; }
.svc-card p { color: var(--text-dim); font-size: 0.9375rem; flex: 1; }
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.svc-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  color: var(--text-dim);
}

/* ========== REFERENCES / CLIENTS ========== */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ref-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
}
.ref-card:hover { box-shadow: var(--shadow-card-hover); }
.ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}
.ref-badge.d365 { background: rgba(0, 146, 203, 0.1); color: var(--sky); }
.ref-badge.ia { background: rgba(8, 180, 0, 0.1); color: var(--green); }
.ref-badge.arch { background: rgba(0, 55, 96, 0.08); color: var(--navy); }
.ref-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.25rem; }
.ref-card p { color: var(--text-dim); font-size: 0.9375rem; }
.ref-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-mute);
}
.ref-meta strong { color: var(--navy); font-weight: 600; }

/* ========== ABOUT / TIMELINE ========== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline-card {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  text-align: center;
  transition: all 0.3s var(--ease);
}
.timeline-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.timeline-period {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.timeline-card h4 { color: var(--navy); margin-bottom: 8px; }
.timeline-card p { color: var(--text-dim); font-size: 0.875rem; text-align: left; }

/* ========== CERTIFICATIONS ========== */
.cert-row {
  display: flex;
  gap: 24px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  flex: 1;
}
.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 146, 203, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  flex-shrink: 0;
}
.cert-icon svg { width: 24px; height: 24px; }
.cert-badge h4 { margin-bottom: 2px; font-size: 1rem; }
.cert-badge p { margin: 0; font-size: 0.8125rem; color: var(--text-mute); }

/* ========== BLOG PREVIEW ========== */
.blog-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 3rem;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.blog-tag.d365 { color: var(--sky); }
.blog-tag.ia { color: var(--green); }
.blog-card h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 8px; }
.blog-card p { font-size: 0.875rem; color: var(--text-dim); flex: 1; }
.blog-date { font-size: 0.75rem; color: var(--text-mute); margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.contact-val { font-size: 1rem; }
.contact-val a { color: var(--sky); transition: color 0.2s; }
.contact-val a:hover { color: var(--navy); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.field input, .field textarea, .field select {
  min-height: var(--height-btn);
  padding: 10px 16px;
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: all 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0, 146, 203, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 146, 203, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin: 0 auto 16px; max-width: 20ch; }
.cta-banner p { color: rgba(255, 255, 255, 0.7); margin: 0 auto 32px; max-width: 50ch; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; position: relative; }

/* ========== FOOTER ========== */
.footer {
  background: var(--midnight);
  padding: 80px 0 32px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand { color: var(--white); }
.footer-logo-img { filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; margin-top: 16px; max-width: 30ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--sky-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ========== LINK ARROW ========== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sky);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
}
.link-arrow:hover { color: var(--navy); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--spring); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--navy) 100%);
  padding: 120px 0 60px;
}
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255, 255, 255, 0.7); max-width: 56ch; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .pillars-grid, .services-grid, .ref-grid, .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .hero { padding: 72px 0 56px; min-height: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cert-row { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
