/* ── TOKENS ── */
:root {
  --bg:        #050a0f;
  --bg2:       #080f17;
  --bg3:       #0a1520;
  --glass:     rgba(0, 240, 255, 0.04);
  --glass-b:   rgba(0, 240, 255, 0.10);
  --cyan:      #00f0ff;
  --cyan-dim:  #009db0;
  --cyan-glow: rgba(0, 240, 255, 0.18);
  --green:     #00ff88;
  --red:       #ff3366;
  --text:      #d4e8f0;
  --muted:     #5a7a8a;
  --border:    rgba(0, 240, 255, 0.12);
  --radius:    14px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Courier New', Courier, monospace;
  --font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 99px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.1rem; }
strong { color: var(--cyan); }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}
.center { text-align: center; }

/* ── GLASS ── */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--cyan);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
}
.btn.full { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(5, 10, 15, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
}
.logo-bracket { opacity: 0.5; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--cyan); background: var(--glass); }
.nav-links a.nav-cta {
  background: var(--cyan);
  color: #000;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.section-label span { opacity: 0.5; }
.section-title { margin-bottom: 2.5rem; }
.section-title.center { margin-left: auto; margin-right: auto; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--green);
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(0,255,136,0); }
}
.hero-name {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 0.6rem;
  letter-spacing: -1px;
}
.accent {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(0,240,255,0.4);
}
.hero-title {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
}
.hero-title strong { color: var(--cyan); }
.hero-tagline {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  border-left: 2px solid var(--cyan);
  padding-left: 1rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-n {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.stat-l { font-size: 0.75rem; color: var(--muted); }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* ── HERO IMAGE ── */
.hero-image-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.image-frame {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 60px rgba(0,240,255,0.2), inset 0 0 40px rgba(0,0,0,0.5);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.05) contrast(1.05);
}
.hex-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin-ring linear infinite;
}
.hex-ring-1 { width: 340px; height: 340px; animation-duration: 18s; border-style: dashed; }
.hex-ring-2 { width: 380px; height: 380px; animation-duration: 28s; animation-direction: reverse; border-color: rgba(0,240,255,0.06); }
.hex-ring-3 { width: 415px; height: 415px; animation-duration: 40s; border-color: rgba(0,240,255,0.04); }
@keyframes spin-ring { to { transform: rotate(360deg); } }
.scan-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 310px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  z-index: 3;
  animation: scan 3s ease-in-out infinite;
  top: 10%;
  border-radius: 2px;
  opacity: 0.6;
}
@keyframes scan {
  0%   { top: 10%; opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { top: 90%; opacity: 0; }
}
.corner {
  position: absolute;
  width: 16px; height: 16px;
  z-index: 4;
}
.corner.tl { top: 10%; left: 10%; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.corner.tr { top: 10%; right: 10%; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.corner.bl { bottom: 10%; left: 10%; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.corner.br { bottom: 10%; right: 10%; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.4; }
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-text p:last-of-type { margin-bottom: 1.5rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.8rem;
  color: var(--cyan);
  background: var(--glass);
  transition: var(--transition);
}
.tag:hover { background: var(--cyan-glow); border-color: var(--cyan); }
.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.badge-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.badge-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.badge-card i {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: block;
}
.badge-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.badge-card p { font-size: 0.78rem; color: var(--muted); }

/* ── TIMELINE ── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cyan-dim), transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.tl-item .tl-year {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.5;
}
.tl-item .tl-card { grid-column: 3; }
.tl-item.right .tl-year { order: 3; text-align: left; }
.tl-item.right .tl-card { grid-column: 1; order: 1; }
.tl-item.right .tl-dot { order: 2; }
.tl-dot {
  width: 14px; height: 14px;
  background: var(--cyan);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 16px var(--cyan);
  justify-self: center;
  position: relative;
  z-index: 1;
}
.tl-card {
  padding: 1.5rem;
}
.tl-icon {
  font-size: 1.4rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: block;
}
.tl-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.tl-card p { font-size: 0.88rem; color: var(--muted); }

/* ── CYVEXA ── */
.cyvexa-header {
  text-align: center;
  margin-bottom: 3rem;
}
.cyvexa-logo-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: 8px;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: 0 0 60px rgba(0,240,255,0.15);
  margin-bottom: 0.5rem;
}
.cyvexa-sub {
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}
.cyvexa-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.82rem; color: var(--muted); }

/* ── WHY ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
  text-align: center;
}
.why-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.why-num {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--border);
  letter-spacing: 1px;
}
.why-icon {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}
.why-card h3 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.82rem; color: var(--muted); }

/* ── SKILLS ── */
.skills-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.skill-bar-wrap { }
.skill-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.skill-pct { color: var(--cyan); font-family: var(--font-display); }
.skill-track {
  height: 6px;
  background: var(--bg3);
  border-radius: 99px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  box-shadow: 0 0 10px rgba(0,240,255,0.5);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-fill.animated { width: var(--pct); }

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.proj-card {
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.proj-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.proj-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--cyan);
  opacity: 0.4;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.proj-card h3 { margin-bottom: 0.6rem; font-size: 1rem; }
.proj-card p { font-size: 0.82rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.proj-tags span {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-display);
}
.proj-footer { display: flex; align-items: center; justify-content: space-between; }
.proj-status {
  font-size: 0.75rem;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.proj-status i { font-size: 0.55rem; }
.proj-status.live { color: var(--green); }
.proj-status.wip { color: #f0c040; }

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testi-card {
  padding: 2rem 1.5rem;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.testi-quote {
  font-size: 1.5rem;
  color: var(--cyan);
  opacity: 0.4;
  margin-bottom: 1rem;
}
.testi-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.88rem; }
.testi-author span { font-size: 0.75rem; color: var(--muted); }

/* ── CONTACT ── */
.contact-sub { color: var(--muted); margin-bottom: 3rem; font-size: 0.95rem; }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-info {
  padding: 2rem 1.5rem;
}
.contact-info h3 { color: var(--cyan); margin-bottom: 1.5rem; }
.cinfo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.cinfo-item i { color: var(--cyan); width: 18px; }
.cinfo-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.cinfo-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.cinfo-socials a:hover { border-color: var(--cyan); color: var(--cyan); background: var(--glass); }
.contact-form {
  padding: 2rem 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--bg2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cyan); }
.form-group textarea { resize: vertical; }

/* ── FOOTER ── */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}
.footer-inner > p { font-size: 0.85rem; color: var(--muted); }
.footer-email { color: var(--cyan) !important; margin: 0.25rem 0; }
.footer-tagline {
  color: var(--muted);
  font-style: italic;
  margin: 0.75rem 0 1.5rem !important;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-copy { font-size: 0.75rem; color: var(--muted); opacity: 0.5; }

/* ── FLOATING WA ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* ── REVEAL ANIMATION ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrap { margin: 0 auto; order: -1; width: 320px; height: 320px; }
  .image-frame { width: 240px; height: 240px; }
  .hex-ring-1 { width: 260px; height: 260px; }
  .hex-ring-2 { width: 295px; height: 295px; }
  .hex-ring-3 { width: 318px; height: 318px; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .tag-cloud { justify-content: center; }
  .about-badges { margin-top: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .tl-item { grid-template-columns: 24px 1fr; }
  .tl-item .tl-year { display: none; }
  .tl-item .tl-card { grid-column: 2; }
  .tl-item.right .tl-card { grid-column: 2; order: 2; }
  .tl-item.right .tl-dot { order: 1; }
  .tl-item.right .tl-year { display: none; }
  .tl-dot { justify-self: start; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(5,10,15,0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 1rem; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
