/* =============================================
   SQA FOXCONN — MAIN STYLESHEET
   Industrial Tech / FII-inspired Design
   ============================================= */

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

:root {
  --primary: #0057a8;
  --primary-light: #1a6fc4;
  --accent: #00b8d9;
  --bg-dark: #050d1a;
  --bg-dark2: #081426;
  --bg-mid: #0d1f3c;
  --text-on-dark: #c8d8f0;
  --text-muted: #6b8aaa;
  --text-light: #e8f0f8;
  --border-dark: rgba(0, 100, 200, 0.2);
  --border-accent: rgba(0, 184, 217, 0.4);
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Noto Sans TC', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: #f4f7fc;
  color: #1a2744;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 6rem 0; }

.dark-section {
  background: var(--bg-dark2);
  color: var(--text-on-dark);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0d1f3c;
}

.section-header.light h2 { color: var(--text-light); }
.section-header.light .section-tag { color: var(--accent); }

.header-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 1rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  color: var(--accent);
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--border-accent);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(0, 184, 217, 0.1);
  border-color: var(--accent);
}

/* =============================================
   HEADER / NAV
   ============================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(5, 13, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 70px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.logo-sqa {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}

.logo-divider {
  width: 1px;
  height: 24px;
  background: var(--border-accent);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 120px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.2rem;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(200, 216, 240, 0.8);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; }

.nav-links .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nav-links .nav-cta:hover { background: var(--primary-light); }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

#grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 87, 168, 0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0, 184, 217, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, transparent 60%, var(--bg-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(0, 184, 217, 0.3);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.title-line {
  display: block;
}

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

.hero-desc {
  font-size: 1rem;
  color: var(--text-on-dark);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1280px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 1rem 1.5rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
}

.stat-unit {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-dark);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scrollAnim 1.5s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: #f4f7fc; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.lead-text {
  font-size: 1.15rem;
  color: #0d1f3c;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

.about-text p {
  color: #3a4a6a;
  margin-bottom: 2rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hi-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(0, 87, 168, 0.08);
  border: 1px solid rgba(0, 87, 168, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hi-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

.highlight-item strong {
  display: block;
  color: #0d1f3c;
  font-weight: 600;
  font-size: 0.9rem;
}

.highlight-item span {
  font-size: 0.82rem;
  color: #5a6a8a;
}

/* Visual Card */
.visual-card {
  background: var(--bg-mid);
  border: 1px solid var(--border-dark);
  padding: 1.5rem;
  position: relative;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.vc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.vc-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.vc-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(0, 184, 217, 0.4);
  color: var(--accent);
}

.vc-badge.live { animation: livePulse 2s infinite; }

@keyframes livePulse {
  0%, 100% { border-color: rgba(0, 184, 217, 0.4); }
  50% { border-color: rgba(0, 184, 217, 0.9); }
}

.chart-bar-group {
  display: grid;
  grid-template-columns: 90px 1fr 44px;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1rem;
}

.cb-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.cb-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.cb-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cb-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-align: right;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
}

.service-card {
  background: var(--bg-dark);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  background: var(--bg-mid);
}

.sc-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(0, 184, 217, 0.4);
  margin-bottom: 1rem;
}

.sc-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
}

.sc-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.sc-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sc-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
}

.sc-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.2rem;
  color: var(--border-accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}

.service-card:hover .sc-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

/* =============================================
   PROCESS
   ============================================= */
.process { background: #fff; }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 3px repeat(1, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  position: relative;
  padding: 0 1.5rem;
}

.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }

.ps-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(0, 87, 168, 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ps-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #0d1f3c;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 0.8rem;
}

.ps-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--accent);
}

.ps-content p {
  font-size: 0.85rem;
  color: #5a6a8a;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ps-content ul {
  list-style: none;
  padding: 0;
}

.ps-content ul li {
  font-size: 0.8rem;
  color: #7a8aa8;
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.ps-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

.process-connector {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2.8rem;
  justify-content: center;
}

.process-connector::after {
  content: '→';
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.5;
}

/* =============================================
   METRICS
   ============================================= */
.metrics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.sub-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-dark);
}

.tool-items { display: flex; flex-direction: column; gap: 0.6rem; }

.tool-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-dark);
  transition: var(--transition);
}

.tool-item:hover {
  border-color: var(--border-accent);
  background: rgba(0, 184, 217, 0.04);
}

.tool-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 52px;
  opacity: 0.7;
}

.tool-name {
  font-size: 0.85rem;
  color: var(--text-on-dark);
}

.kpi-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kpi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.kpi-card:hover::after { transform: scaleX(1); }
.kpi-card:hover { border-color: var(--border-accent); }

.kpi-value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.kpi-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.kpi-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

/* =============================================
   TEAM
   ============================================= */
.team { background: #f4f7fc; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border: 1px solid rgba(0, 87, 168, 0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-card:hover::before { transform: scaleX(1); }

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 87, 168, 0.12);
}

.tc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.2rem;
  opacity: 0.9;
}

.tc-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1f3c;
  margin-bottom: 0.3rem;
}

.tc-info span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}

.tc-info p {
  font-size: 0.82rem;
  color: #5a6a8a;
  line-height: 1.6;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-lead {
  font-size: 1rem;
  color: var(--text-on-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cd-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cd-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(0, 184, 217, 0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107, 138, 170, 0.5);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand .logo-sqa {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fl-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fl-col strong {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.fl-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark2);
    padding: 1rem 2rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border-dark);
  }
  .nav-links.open a { padding: 0.8rem 0; border-bottom: 1px solid var(--border-dark); color: var(--text-on-dark); }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .process-timeline { flex-direction: column; gap: 2rem; }
  .process-connector { display: none; }
  .process-step { padding: 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .kpi-cards { grid-template-columns: 1fr 1fr; }
}
