/* ============================================================
   亚星游戏 · 企业官网 样式表
   ============================================================ */

:root {
  --bg: #080d1a;
  --bg-2: #0b1222;
  --surface: #101a2e;
  --surface-2: #16213a;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef3ff;
  --muted: #93a1bf;
  --accent: #5b8cff;
  --accent-2: #9a7bff;
  --accent-soft: rgba(91, 140, 255, .13);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
  --container: 1200px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(91, 140, 255, .14), transparent 70%),
    radial-gradient(700px 500px at 0% 40%, rgba(154, 123, 255, .08), transparent 70%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: rgba(91, 140, 255, .38); color: #fff; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 76px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), #080d1a); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #8fb3ff; font-size: 13px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.25; letter-spacing: -.02em;
  margin: 18px 0 16px; font-weight: 750;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.text-grad {
  background: linear-gradient(100deg, #ffffff 10%, #9fc0ff 55%, #bca8ff 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 650; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; transition: .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #7c6cff);
  color: #fff; box-shadow: 0 12px 30px rgba(91, 140, 255, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(91, 140, 255, .4); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.btn-link { display: inline-flex; align-items: center; gap: 8px; color: #9fbcff; font-weight: 650; }
.btn-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 13, 26, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-size: 21px; letter-spacing: .12em; font-weight: 800; }
.brand-name span { font-size: 9px; letter-spacing: .24em; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15px; color: #b6c2db; position: relative; padding: 8px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); }
.nav-toggle.open span::after { transform: rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px; overflow: hidden;
}
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; }
.hero-orb {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  right: -120px; top: 8%;
  background: radial-gradient(circle, rgba(91, 140, 255, .2), rgba(154, 123, 255, .07) 45%, transparent 70%);
  filter: blur(12px); pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(44px, 5.8vw, 76px); line-height: 1.14; letter-spacing: -.035em;
  margin: 24px 0 26px; font-weight: 800;
}
.hero-copy p.lead { font-size: 18px; color: #adbcd9; max-width: 540px; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 44px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
.hero-note .line { width: 52px; height: 1px; background: var(--line-strong); }
.hero-visual { position: relative; padding: 20px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: 32px;
  background: linear-gradient(140deg, rgba(91, 140, 255, .35), rgba(154, 123, 255, .08) 55%, transparent);
  filter: blur(1px);
}
.hero-image {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow);
  aspect-ratio: 3 / 3.1; object-fit: cover;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 13, 26, .72));
}
.float-card {
  position: absolute; z-index: 2; background: rgba(16, 26, 46, .88);
  backdrop-filter: blur(14px); border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
}
.float-card.one { left: -34px; top: 18%; }
.float-card.two { right: -24px; bottom: 14%; }
.float-card strong { display: block; font-size: 22px; line-height: 1.2; }
.float-card span { font-size: 12px; color: var(--muted); }
.float-card .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #4fe3b0; margin-right: 8px; box-shadow: 0 0 12px #4fe3b0;
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 11px; letter-spacing: .2em;
}
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); }

/* ---------- 数据条 ---------- */
.stats { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(30px, 3.6vw, 46px); font-weight: 780; letter-spacing: -.03em; }
.stat strong em { font-style: normal; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.product-card:hover {
  transform: translateY(-8px); border-color: rgba(91, 140, 255, .45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .4);
}
.product-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 16px; left: 16px; padding: 5px 13px; border-radius: 999px;
  background: rgba(8, 13, 26, .7); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); font-size: 12px; letter-spacing: .04em;
}
.product-body { padding: 26px 26px 30px; }
.product-body h3 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; }
.product-body h3 small { display: block; font-size: 11px; letter-spacing: .18em; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.product-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; min-height: 50px; }

/* ---------- 关于我们预览 ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-visual img {
  border-radius: 26px; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  aspect-ratio: 1 / 1; object-fit: cover;
}
.about-visual::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 1px solid rgba(91, 140, 255, .28); border-radius: 26px;
}
.about-copy .lead { font-size: 21px; line-height: 1.6; margin: 20px 0 22px; }
.about-copy p { color: var(--muted); }
.check-list { margin: 28px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); }

/* ---------- 特色 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(91, 140, 255, .4); }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: var(--accent-soft); color: #9fbcff; margin-bottom: 24px;
}
.feature-icon svg { width: 25px; height: 25px; }
.feature-card h3 { font-size: 19px; margin: 0 0 10px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border: 1px solid rgba(91, 140, 255, .28);
  border-radius: 28px; padding: 76px 48px; text-align: center;
  background: linear-gradient(120deg, #162552, #251c56 55%, #141d3c);
}
.cta-band::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: rgba(91, 140, 255, .18); filter: blur(70px); right: -120px; top: -180px;
}
.cta-band h2 { position: relative; font-size: clamp(28px, 4vw, 44px); margin: 0 0 16px; }
.cta-band p { position: relative; color: #b5c3e6; margin: 0 auto 32px; max-width: 520px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 74px 0 30px; background: #060a14; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 280px; margin: 22px 0 0; }
.footer-col h4 { font-size: 14px; letter-spacing: .1em; margin: 6px 0 20px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 26px; display: flex;
  justify-content: space-between; gap: 20px; color: #6f7c99; font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- 内页页头 ---------- */
.page-hero {
  padding: calc(var(--header-h) + 96px) 0 86px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 400px at 80% 0%, rgba(91, 140, 255, .16), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6vw, 66px); letter-spacing: -.03em; margin: 18px 0 18px; line-height: 1.2; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .45; }
.page-hero .eyebrow { margin-top: 26px; }

/* ---------- 关于页 ---------- */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.story-quote {
  font-size: clamp(24px, 3vw, 34px); line-height: 1.5; font-weight: 700; letter-spacing: -.01em;
  margin: 0; padding-left: 26px; border-left: 3px solid var(--accent);
}
.quote-author { color: var(--muted); margin: 26px 0 0; }
.story-body h2, .about-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; margin: 0 0 20px;
}
.story-body p { color: var(--muted); margin: 0 0 18px; }
.story-body p:last-child { margin-bottom: 0; }
.timeline-wrap { max-width: 820px; margin-inline: auto; }
.timeline { position: relative; margin-top: 64px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(var(--accent), rgba(154, 123, 255, .1));
}
.timeline-item { position: relative; padding: 0 0 38px 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -29px; top: 8px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(91, 140, 255, .16);
}
.timeline-item .year { color: #9fbcff; font-weight: 750; font-size: 15px; letter-spacing: .08em; }
.timeline-item h3 { margin: 6px 0 8px; font-size: 19px; }
.timeline-item p { color: var(--muted); margin: 0; font-size: 14.5px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  padding: 36px 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
}
.value-card .num { font-size: 38px; font-weight: 800; color: rgba(91, 140, 255, .35); line-height: 1; }
.value-card h3 { margin: 20px 0 10px; font-size: 20px; }
.value-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 产品服务页 ---------- */
.product-grid.four { grid-template-columns: repeat(2, 1fr); }
.product-grid.four .product-media { aspect-ratio: 16 / 8.5; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  display: flex; gap: 22px; padding: 32px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); transition: .3s ease;
}
.service-card:hover { border-color: rgba(91, 140, 255, .4); transform: translateY(-4px); }
.service-card .feature-icon { margin: 0; flex: none; }
.service-card h3 { margin: 0 0 8px; font-size: 20px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; }
.process-step {
  text-align: center; padding: 28px 10px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025); position: relative;
}
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 13px; font-weight: 750; color: #8fb3ff; margin-bottom: 12px; letter-spacing: .1em;
}
.process-step strong { font-size: 15px; font-weight: 650; }
.process-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: rgba(91, 140, 255, .65); z-index: 2; font-size: 13px;
}

/* ---------- 联系我们页 ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-grid .section-head { margin-bottom: 32px; }
.contact-info { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface);
}
.info-card .feature-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.info-card h3 { font-size: 15px; margin: 0 0 5px; }
.info-card p, .info-card a { color: var(--muted); font-size: 14px; margin: 0; display: block; }
.info-card a:hover { color: #9fbcff; }
.form-card {
  padding: 42px; border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(160deg, rgba(22, 33, 58, .95), rgba(12, 19, 35, .95));
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 26px; margin: 0 0 8px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin: 0 0 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; color: #c7d3ee; }
.field label i { color: #ff8a8a; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 11px;
  background: rgba(255, 255, 255, .035); color: var(--text);
  padding: 13px 16px; outline: none; transition: .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: rgba(91, 140, 255, .07);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #5f6d8b; }
.field select option { background: var(--surface); color: var(--text); }
.form-status {
  display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  background: rgba(79, 227, 176, .1); border: 1px solid rgba(79, 227, 176, .35);
  color: #8ff0cd; font-size: 14px;
}
.form-status.show { display: block; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 22px 40px 22px 0; cursor: pointer; list-style: none; position: relative;
  font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 22px; font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); margin: 0 0 22px; font-size: 14.5px; max-width: 780px; }

/* ---------- 出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(16, 26, 46, .9);
  backdrop-filter: blur(10px); color: var(--text); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); background: var(--accent-soft); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 36px; }
  .float-card.one { left: -10px; }
  .float-card.two { right: -8px; }
  .feature-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .process-step:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 22px;
    background: rgba(8, 13, 26, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px); transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: .25s ease;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .about-split, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .about-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .story-quote { margin-top: 10px; }
  .timeline { margin-top: 44px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid .product-card:last-child { grid-column: 1 / -1; }
  .cta-band { padding: 60px 28px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 36px, var(--container)); }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid, .product-grid.four, .service-grid, .feature-grid, .value-grid { grid-template-columns: 1fr; }
  .product-grid .product-card:last-child { grid-column: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(3)::after { display: block; }
  .process-step:nth-child(2n)::after { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-image { aspect-ratio: 1 / 1; }
  .float-card.one { left: -6px; top: 8%; padding: 12px 14px; }
  .float-card.two { right: -6px; bottom: 8%; padding: 12px 14px; }
  .float-card strong { font-size: 18px; }
  .page-hero { padding: calc(var(--header-h) + 70px) 0 62px; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
