/* ============================================
   北京薇馨科技官网 — 对齐 2026 案例集视觉
   蓝青政务科技风 · 品牌优先 · 一屏一叙事
   ============================================ */

:root {
  --blue-900: #061428;
  --blue-800: #0a2342;
  --blue-700: #0e3a66;
  --blue-600: #155a9a;
  --cyan-400: #2ec4ff;
  --cyan-300: #5ed4ff;
  --accent: #1a8fd6;
  --ink: #0f1c2e;
  --muted: #5a6b7d;
  --line: #d8e2ec;
  --surface: #f4f8fb;
  --white: #ffffff;
  --radius: 14px;
  --max: 1140px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Noto Sans SC", serif;
  --font-en: "Syne", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

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

/* ---------- Nav ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-container {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue-700), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  transition: color 0.3s;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.navbar.scrolled .logo-text {
  color: var(--ink);
}

.navbar.scrolled .logo-en {
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  transition: color 0.25s;
}

.navbar.scrolled .nav-link {
  color: var(--muted);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--blue-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan-400);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46, 196, 255, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--cyan-400);
  color: var(--blue-900);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 196, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  background: var(--blue-700);
  color: var(--white);
  margin-top: 8px;
}

.btn-secondary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 48px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 20, 40, 0.88) 0%, rgba(10, 35, 66, 0.72) 48%, rgba(6, 20, 40, 0.55) 100%),
    linear-gradient(to top, rgba(6, 20, 40, 0.9) 0%, transparent 40%);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--cyan-300);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: riseIn 1.1s 0.15s var(--ease) both;
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metrics strong {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.hero-metrics span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.light {
  color: var(--white);
}

.section-head.light p {
  color: rgba(255, 255, 255, 0.65);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head.light .eyebrow {
  color: var(--cyan-400);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-head.light h2 {
  color: var(--white);
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Business ---------- */
.business {
  background: var(--surface);
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.biz-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.biz-item:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 143, 214, 0.45);
  box-shadow: 0 16px 32px rgba(10, 35, 66, 0.08);
}

.biz-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan-400);
  letter-spacing: 0.06em;
}

.biz-item h3 {
  font-size: 16px;
  margin: 10px 0 6px;
  color: var(--ink);
}

.biz-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Cases ---------- */
.cases {
  background: var(--white);
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.case-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.case-tab:hover {
  border-color: var(--accent);
  color: var(--blue-700);
}

.case-tab.active {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: var(--white);
}

.case-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  animation: riseIn 0.45s var(--ease) both;
}

.case-panel.active {
  display: block;
}

.case-panel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}

.case-panel-visual {
  grid-template-columns: 1fr 1.05fr;
}

.case-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.case-copy h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 8px 0 6px;
}

.case-lead {
  color: var(--muted);
  margin-bottom: 22px;
}

.case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.case-cols h4,
.case-modules h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--blue-700);
}

.case-cols ul li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.case-cols ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-400);
}

.case-effects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 8px;
}

.case-effects div {
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--line);
}

.case-effects strong {
  display: block;
  font-size: 16px;
  color: var(--blue-700);
  margin-bottom: 4px;
}

.case-effects span {
  font-size: 12px;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-cloud span {
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}

.screen-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.screen-pillars div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.screen-pillars h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--blue-700);
}

.screen-pillars p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.value-list {
  margin: 16px 0 20px;
}

.value-list li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.value-list strong {
  color: var(--ink);
}

.case-shots {
  display: grid;
  gap: 14px;
}

.case-shots figure {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blue-900);
}

.case-shots img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.case-shots figure:hover img {
  transform: scale(1.03);
}

.case-shots figcaption {
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--blue-800);
}

/* ---------- Capabilities ---------- */
.capabilities {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(46, 196, 255, 0.12), transparent 50%),
    linear-gradient(160deg, var(--blue-900), var(--blue-800) 55%, #0c2f52);
  color: var(--white);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.cap-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.cap-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.cap-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--cyan-300);
}

.cap-card li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  padding-left: 12px;
  position: relative;
}

.cap-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
}

.tech-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-bar span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.15);
}

/* ---------- Delivery ---------- */
.delivery {
  background: var(--white);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: none;
}

.flow-steps li {
  position: relative;
  padding: 24px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -10px;
  width: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), transparent);
  z-index: 1;
}

.flow-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan-400);
  display: block;
  margin-bottom: 10px;
}

.flow-steps h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.flow-steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- About ---------- */
.about {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.why-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.why-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 35, 66, 0.06);
}

.why-grid h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--blue-700);
}

.why-grid p {
  font-size: 14px;
  color: var(--muted);
}

.about-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: var(--white);
}

.about-band h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
}

.about-band-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-stats div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
}

.about-stats dt {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan-300);
}

.about-stats dd {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 196, 255, 0.1), transparent 40%),
    linear-gradient(165deg, var(--blue-900), #0a2748);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 28px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s;
}

a.contact-row:hover {
  background: rgba(255, 255, 255, 0.09);
}

.contact-k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.contact-v {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.contact-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--cyan-400);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

.contact-form h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%), linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-group select option {
  color: var(--ink);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(46, 196, 255, 0.2);
}

.form-note {
  margin-top: 14px;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Footer ---------- */
.footer {
  background: #040e1c;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer .logo-text {
  color: var(--white);
}

.footer .logo-en {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-contact a:hover {
  color: var(--cyan-300);
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer li {
  margin-bottom: 10px;
}

.footer li a {
  font-size: 14px;
  transition: color 0.25s, padding-left 0.25s;
}

.footer li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Utilities ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 900;
  box-shadow: 0 8px 20px rgba(10, 35, 66, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translate(-50%, -12px);
  background: #0f9f6e;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast.error {
  background: #dc2626;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .biz-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cap-grid,
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps li:not(:last-child)::after {
    display: none;
  }

  .case-panel-grid,
  .case-panel-visual,
  .about-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(10, 35, 66, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s var(--ease);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu .nav-link {
    color: var(--ink);
    padding: 12px 14px;
    border-radius: 8px;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: var(--surface);
    color: var(--blue-700);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .biz-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-panel {
    padding: 22px;
  }

  .case-cols,
  .case-effects,
  .screen-pillars,
  .cap-grid,
  .flow-steps,
  .why-grid,
  .about-stats,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .biz-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    animation: none;
  }
}
