/* ============================================
   CloudComp.nl — style.css
   Dark Tech · Syne + DM Mono · Electric Blue
   ============================================ */

:root {
  --bg:         #0a0c10;
  --bg2:        #0f1117;
  --bg3:        #141820;
  --surface:    #161b25;
  --surface2:   #1c2232;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.12);
  --accent:     #3d8ef5;
  --accent2:    #5ba4ff;
  --accent-glow:rgba(61,142,245,0.25);
  --green:      #22c55e;
  --orange:     #f59e0b;
  --text:       #e8edf5;
  --text2:      #8b95a8;
  --text3:      #5a6478;
  --font-head:  'Syne', sans-serif;
  --font-mono:  'DM Mono', monospace;
  --font-body:  'Instrument Sans', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- NOISE OVERLAY ---- */
.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ---- CONTAINER ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- SECTION ---- */
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  opacity: 0.85;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title .accent { color: var(--accent); }
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.16,1,.3,1), transform 0.65s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(10,12,16,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--accent); }
.logo-bracket { color: var(--accent); }
.logo-dot { color: var(--accent); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }
.cta-nav {
  color: var(--accent) !important;
  border: 1px solid rgba(61,142,245,0.3);
  background: rgba(61,142,245,0.07) !important;
}
.cta-nav:hover { background: rgba(61,142,245,0.18) !important; border-color: var(--accent) !important; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mob-link {
  font-size: 16px; font-weight: 500;
  color: var(--text2); padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--accent); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
  max-width: 1160px; margin: 0 auto;
}

.hero-bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(61,142,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,142,245,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: fixed; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: -1;
}
.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(61,142,245,0.15) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  bottom: 0; right: -50px;
}

.hero-content { flex: 1; max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 8px var(--green); }
  50% { box-shadow: 0 0 16px var(--green), 0 0 24px var(--green); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
}
.title-line { display: block; }
.accent-line { color: var(--accent); }

.hero-role {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 16px;
}
.role-tag {
  background: var(--surface2);
  border: 1px solid var(--border2);
  padding: 5px 14px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text2);
}
.role-sep { color: var(--accent); font-weight: 700; }

.hero-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text3);
  letter-spacing: 0.07em;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(61,142,245,0.3);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(61,142,245,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text2);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: var(--radius);
  border: 1px solid var(--border2); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-ghost:hover {
  color: var(--text); border-color: rgba(255,255,255,0.25);
  background: var(--surface); transform: translateY(-2px);
}

.btn-large { padding: 16px 36px; font-size: 16px; }

/* HERO STATS */
.hero-stats {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 800;
  color: var(--accent);
  display: inline;
}
.stat-plus { font-family: var(--font-head); font-size: 24px; color: var(--accent); font-weight: 800; }
.stat-label {
  display: block;
  font-size: 12px; color: var(--text3); font-family: var(--font-mono);
  letter-spacing: 0.06em; margin-top: 2px;
}
.stat-divider { width: 1px; height: 40px; background: var(--border2); }

/* HERO TERMINAL */
.hero-terminal {
  flex-shrink: 0; width: 340px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(61,142,245,0.08);
  margin-left: 40px;
  align-self: center;
}
.terminal-bar {
  background: var(--surface2);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text3); margin-left: auto;
}
.terminal-body { padding: 20px; }
.t-line {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text2); line-height: 1.9;
}
.t-prompt { color: var(--accent); margin-right: 8px; }
.t-out { padding-left: 20px; color: var(--text3); }
.t-green { color: var(--green) !important; padding-left: 20px; }
.cursor-blink {
  display: inline-block;
  animation: blink 1.1s step-end infinite;
  color: var(--accent);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start;
}
.about-text p {
  color: var(--text2); margin-bottom: 16px; font-size: 16px; line-height: 1.8;
}
.about-text p strong { color: var(--text); }
.about-text { padding-top: 8px; }

.about-tech {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.tech-pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 12px; border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tech-pill:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(61,142,245,0.08);
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky; top: 84px;
}
.card-avatar {
  display: flex; justify-content: center; margin-bottom: 20px;
}
.avatar-placeholder {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1e3a5f);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  color: #fff;
  border: 3px solid rgba(61,142,245,0.3);
}
.card-info { text-align: center; }
.card-info h3 {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.card-role {
  font-size: 13px; color: var(--accent); font-family: var(--font-mono);
  margin-bottom: 16px; line-height: 1.5;
}
.card-detail {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text2);
  padding: 8px 0; border-bottom: 1px solid var(--border);
  text-align: left;
}
.card-detail:last-of-type { border-bottom: none; }
.detail-icon { font-size: 15px; }
.card-status {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--green); font-family: var(--font-mono);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse-green 2s infinite;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 48px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(61,142,245,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(61,142,245,0.08);
}
.service-card:hover::before { opacity: 1; }

.featured-card {
  border-color: rgba(61,142,245,0.35) !important;
  background: linear-gradient(160deg, var(--surface2) 0%, var(--surface) 100%);
  box-shadow: 0 8px 32px rgba(61,142,245,0.1);
}
.featured-card::before { opacity: 1 !important; }

.service-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  padding: 3px 10px; border-radius: 100px; letter-spacing: 0.07em;
}
.service-icon {
  width: 44px; height: 44px;
  background: rgba(61,142,245,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.service-card h3 {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  margin-bottom: 10px; color: var(--text);
}
.service-card > p {
  font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 16px;
}
.service-list { margin: 0; }
.service-list li {
  font-size: 13px; color: var(--text3); font-family: var(--font-mono);
  padding: 5px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.service-list li::before { content: '→'; color: var(--accent); font-size: 12px; flex-shrink: 0; }
.service-list li:last-child { border-bottom: none; }

.services-cta {
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(61,142,245,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.services-cta p { color: var(--text2); font-size: 17px; margin-bottom: 20px; }

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.experience { background: var(--bg2); }
.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: '';
  position: absolute; left: 140px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border2) 10%, var(--border2) 90%, transparent);
}

.tl-item {
  display: grid; grid-template-columns: 130px 20px 1fr; gap: 0 20px;
  align-items: start; margin-bottom: 40px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--border2);
  margin-top: 22px; flex-shrink: 0; position: relative; z-index: 1;
  transition: border-color 0.3s;
}
.tl-dot.current {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(61,142,245,0.2);
}
.tl-item:hover .tl-dot { border-color: var(--accent); }

.tl-date {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text3); padding-top: 20px;
  text-align: right; line-height: 1.4;
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color 0.3s;
}
.tl-card:hover { border-color: rgba(61,142,245,0.25); }

.tl-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px; gap: 12px;
}
.tl-header h3 {
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
  color: var(--text); margin-bottom: 3px;
}
.tl-company { font-size: 13px; color: var(--accent); font-family: var(--font-mono); }
.tl-badge { font-family: var(--font-mono); font-size: 10px; }
.current-badge {
  background: rgba(34,197,94,0.12); color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
}

.tl-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.tl-tags span {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text3); font-family: var(--font-mono); font-size: 11px;
  padding: 3px 10px; border-radius: 6px;
}

.tl-bullets { padding-left: 0; }
.tl-bullets li {
  font-size: 13px; color: var(--text2); padding: 4px 0;
  padding-left: 16px; position: relative; line-height: 1.6;
}
.tl-bullets li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--accent); font-size: 18px; line-height: 1;
}

/* ============================================
   CERTIFICATES
   ============================================ */
.cert-categories {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.cert-cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color 0.3s;
}
.cert-cat:hover { border-color: rgba(61,142,245,0.25); }
.cert-cat-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.cert-cat-icon { font-size: 22px; }
.cert-cat-header h3 {
  font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text);
}
.cert-list { display: flex; flex-direction: column; gap: 0; }
.cert-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text2); font-family: var(--font-mono);
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.cert-item:last-child { border-bottom: none; }
.cert-check { color: var(--green); font-size: 14px; flex-shrink: 0; }
.cert-item > span:nth-child(2) { flex: 1; }
.cert-date { color: var(--text3); font-size: 11px; margin-left: auto; flex-shrink: 0; }
.cert-soon { color: var(--orange); flex-shrink: 0; }
.cert-item.upcoming span:nth-child(2) { color: var(--text3); }
.cert-badge-up {
  margin-left: auto; flex-shrink: 0;
  background: rgba(245,158,11,0.1); color: var(--orange);
  border: 1px solid rgba(245,158,11,0.25);
  font-size: 10px; padding: 2px 8px; border-radius: 100px;
}

/* ============================================
   HOME LAB
   ============================================ */
.homelab {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lab-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.lab-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  font-size: 12px; color: var(--text2); font-family: var(--font-mono);
  line-height: 1.5;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  cursor: default;
}
.lab-item:hover {
  border-color: rgba(61,142,245,0.35); background: var(--surface2);
  transform: translateY(-2px);
}
.lab-icon { font-size: 22px; margin-bottom: 8px; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--bg2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(61,142,245,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--accent); }
.contact-label { font-size: 12px; color: var(--text3); font-family: var(--font-mono); margin-bottom: 3px; }
.contact-val { font-size: 15px; color: var(--text); font-weight: 500; }
a.contact-val:hover { color: var(--accent); }
.status-green { color: var(--green) !important; font-family: var(--font-mono); font-size: 14px !important; }

.contact-cta-box {
  background: var(--surface);
  border: 1px solid rgba(61,142,245,0.2);
  border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
}
.contact-cta-box h3 {
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
.contact-cta-box p {
  color: var(--text2); font-size: 14px; line-height: 1.7; margin-bottom: 24px;
}
.contact-small { font-size: 12px; color: var(--text3); font-family: var(--font-mono); margin-top: 16px; }
.contact-small strong { color: var(--text2); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner { text-align: center; }
.footer-logo {
  font-family: var(--font-mono); font-size: 18px; font-weight: 500;
  margin-bottom: 8px; color: var(--text);
}
.footer-tagline {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text3); letter-spacing: 0.08em; margin-bottom: 16px;
}
.footer-copy { font-size: 13px; color: var(--text3); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1040px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-card-wrap { order: -1; }
  .about-card { position: static; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 800px) {
  .hero { flex-direction: column; gap: 40px; align-items: flex-start; padding-top: 100px; }
  .hero-terminal { width: 100%; max-width: 400px; margin: 0; }
  .timeline::before { left: 0; }
  .tl-item { grid-template-columns: 16px 1fr; gap: 0 16px; }
  .tl-date { display: none; }
  .cert-categories { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 16px; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 40px; }
  .section { padding: 64px 0; }
}
