/* ============================================================
   北京禧芯科技有限公司 官网样式
   科技蓝 · 现代简约
   ============================================================ */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #0b3f99;
  --ink-900: #0b1b33;
  --ink-700: #233754;
  --ink-500: #5b6b80;
  --ink-300: #94a3b8;
  --line: #e4eaf3;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --cyan: #22d3ee;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 18px rgba(15, 49, 102, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 49, 102, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 63, 153, 0.16);
  --container: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--blue-600); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: var(--blue-700);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 60%, #3b9bf6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(37, 99, 235, .36); }
.btn-outline {
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  background: rgba(255, 255, 255, .8);
}
.btn-outline:hover { border-color: var(--blue-500); background: var(--blue-50); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn-light {
  background: #fff;
  color: var(--blue-900);
  box-shadow: 0 10px 26px rgba(2, 20, 55, .18);
}
.btn-light:hover { box-shadow: 0 16px 34px rgba(2, 20, 55, .26); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(15, 49, 102, .08);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 11px;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; letter-spacing: .04em; color: var(--ink-900); }
.brand-text small { font-size: 9px; letter-spacing: .16em; color: var(--ink-500); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative;
  font-size: 15px;
  color: var(--ink-700);
  padding: 8px 0;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--blue-700); }
.nav-link.active::after, .nav-link:hover::after { width: 22px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-700);
  margin: 4px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 88px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37, 99, 235, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 82%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}
.hero-glow-a {
  width: 520px; height: 520px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 68%);
}
.hero-glow-b {
  width: 420px; height: 420px;
  left: -160px; bottom: -80px;
  background: radial-gradient(circle, rgba(34, 211, 238, .13), transparent 68%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  min-height: 560px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, .55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,.55); }
  70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}
.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
}
.gradient-text {
  background: linear-gradient(100deg, var(--blue-700), var(--blue-500) 55%, #22b8e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 560px;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.95;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 600;
}
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.point-icon { color: var(--blue-500); font-style: normal; font-size: 16px; }

.hero-visual { display: grid; place-items: center; }
.chip-scene {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.chip-core {
  width: 88%;
  position: relative;
  z-index: 2;
  animation: chipFloat 6s ease-in-out infinite;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.orbit {
  position: absolute;
  border: 1px dashed rgba(37, 99, 235, .24);
  border-radius: 50%;
  z-index: 1;
}
.orbit-a { width: 78%; height: 78%; animation: spin 42s linear infinite; }
.orbit-b { width: 98%; height: 98%; border-style: solid; border-color: rgba(37, 99, 235, .1); animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  animation: chipFloat 5s ease-in-out infinite;
}
.float-icon {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.float-card-a { left: 0; top: 20%; animation-delay: -.8s; }
.float-card-b { right: -4px; top: 38%; animation-delay: -2.2s; }
.float-card-c { left: 12%; bottom: 8%; animation-delay: -3.6s; }

.hero-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0 26px;
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: .1em;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--blue-500), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.5); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- 能力速览 ---------- */
.strip {
  background: var(--blue-900);
  color: #fff;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 30px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: none; padding-right: 0; }
.strip-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: .06em;
}
.strip-item div { display: flex; flex-direction: column; line-height: 1.45; }
.strip-item strong { font-size: 15px; font-weight: 650; }
.strip-item small { font-size: 12px; color: rgba(255, 255, 255, .6); }

/* ---------- 通用区块 ---------- */
.section { padding: 108px 0; }
.section-light { background: var(--bg-soft); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-kicker {
  display: block;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  margin-bottom: 12px;
}
.section-kicker-light { color: var(--cyan); }
.section-head h2, .about-copy h2, .contact-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.section-head p { color: var(--ink-500); font-size: 16px; margin: 0; }

/* ---------- 服务卡片 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-index {
  position: absolute;
  top: 30px;
  right: 28px;
  font-size: 28px;
  font-weight: 800;
  color: #eef3fa;
  letter-spacing: -.04em;
}
.service-card h3 { font-size: 20px; margin: 0 0 12px; }
.service-card p { color: var(--ink-500); font-size: 14px; line-height: 1.9; margin: 0 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- 关于我们 ---------- */
.about-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 86px;
  align-items: center;
}
.about-visual { position: relative; padding: 20px 30px 40px 0; }
.about-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 46px 42px 40px;
  color: #fff;
  background: linear-gradient(145deg, #123f8f, #2563eb 62%, #38a6e8);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; top: -90px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.05), 0 0 0 84px rgba(255,255,255,.035);
}
.about-card-label { font-size: 11px; font-weight: 800; letter-spacing: .22em; color: rgba(255,255,255,.7); }
.about-year { font-size: 76px; line-height: 1.1; font-weight: 800; letter-spacing: -.04em; margin: 14px 0 6px; }
.about-card p { margin: 0; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.9); }
.about-lines { display: flex; gap: 6px; margin-top: 34px; }
.about-lines span { height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); flex: 1; }
.about-lines span:nth-child(2) { background: rgba(255,255,255,.8); }
.about-lines span:nth-child(4) { background: rgba(255,255,255,.55); }
.about-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-badge strong { font-size: 15px; color: var(--ink-900); }
.about-badge span { font-size: 12px; color: var(--ink-500); }

.about-copy p { color: var(--ink-500); font-size: 16px; line-height: 1.95; margin: 0 0 18px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.value-item { display: flex; flex-direction: column; gap: 6px; }
.value-item strong { font-size: 18px; color: var(--blue-700); }
.value-item span { font-size: 13px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .2);
}
.team-avatar-a { background: linear-gradient(140deg, #1d4ed8, #60a5fa); }
.team-avatar-b { background: linear-gradient(140deg, #0e7490, #22d3ee); }
.team-avatar-c { background: linear-gradient(140deg, #3730a3, #818cf8); }
.team-card h3 { font-size: 20px; margin: 0 0 2px; }
.team-role { display: block; font-size: 11px; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 16px; font-weight: 700; }
.team-card p { color: var(--ink-500); font-size: 14px; line-height: 1.9; margin: 0 0 20px; }
.team-card .tags { justify-content: center; }
.team-quote {
  margin-top: 48px;
  text-align: center;
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-quote > span { display: block; font-size: 46px; line-height: .6; color: var(--blue-200); font-family: Georgia, serif; }
.team-quote p { font-size: 22px; font-weight: 650; margin: 10px 0 6px; }
.team-quote small { color: var(--ink-300); font-size: 13px; }

/* ---------- 联系我们 ---------- */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: #fff;
  background: linear-gradient(135deg, #082e70 0%, #0b3f99 48%, #1457bd 100%);
}
.contact-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.7));
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.7));
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 80px;
  align-items: center;
}
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy p { color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.95; max-width: 480px; margin: 0 0 30px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: background .25s, transform .25s;
}
.contact-card:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: #b9dcff;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card > div { display: flex; flex-direction: column; line-height: 1.5; }
.contact-label { font-size: 12px; color: rgba(255,255,255,.65); }
.contact-value { font-size: 16px; font-weight: 650; }
.contact-value.placeholder { color: rgba(255,255,255,.85); font-weight: 550; }
.contact-note { margin: 6px 0 0; font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------- 页脚 ---------- */
.site-footer { background: #061b3d; color: rgba(255,255,255,.66); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.brand-footer .brand-mark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #93c5fd; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: rgba(255,255,255,.45); }
.footer-brand p { font-size: 14px; margin: 16px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; align-content: start; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
  font-size: 12px;
  color: rgba(255,255,255,.42);
  letter-spacing: .03em;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-700);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-50); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 滚动进场动画 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .service-card.reveal:nth-child(2), .js .team-card.reveal:nth-child(2) { transition-delay: .08s; }
.js .service-card.reveal:nth-child(3), .js .team-card.reveal:nth-child(3) { transition-delay: .16s; }
.js .service-card.reveal:nth-child(4) { transition-delay: .24s; }
.js .service-card.reveal:nth-child(5) { transition-delay: .32s; }
.js .service-card.reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1050px) {
  .hero-inner { gap: 30px; }
  .about-inner { gap: 48px; }
  .contact-inner { gap: 44px; }
  .strip-item { padding: 22px 18px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid #f0f4fa; }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { display: none; }

  .hero { padding-top: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: 0; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .chip-scene { width: min(100%, 400px); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .strip-item:nth-child(3) { padding-left: 0; }
  .service-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; }
  .contact-inner { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 15px; }
  .hero-points { gap: 14px; }
  .hero-foot { padding: 24px 0 20px; }
  .hero-since { display: none; }
  .float-card { padding: 7px 10px; font-size: 11px; }
  .float-icon { min-width: 28px; height: 22px; font-size: 10px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .service-grid, .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card, .team-card { padding: 28px 24px; }
  .value-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-card { padding: 34px 28px; }
  .about-year { font-size: 60px; }
  .about-badge { position: static; margin: -18px 16px 0 auto; width: fit-content; }
  .contact-section { padding: 76px 0; }
  .contact-card { padding: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { gap: 16px 22px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
