/* ============================================================
   东港汽车维修有限公司 · 客户网站样式
   ============================================================ */

:root {
  --c-bg: #0b0f1a;
  --c-bg-2: #101729;
  --c-panel: #141c30;
  --c-text: #1b2233;
  --c-text-light: #eef2fb;
  --c-muted: #5a6478;
  --c-muted-light: #aab3c6;
  --c-accent: #0e74b3;
  --c-accent-2: #2e8fd0;
  --c-accent-dark: #0b5e92;
  --c-line: rgba(255, 255, 255, 0.1);
  --c-line-dark: #e6e9f0;
  --shadow: 0 18px 40px rgba(11, 15, 26, 0.14);
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1160px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--c-text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 116, 179, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(14, 116, 179, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-light);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--c-accent);
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 116, 179, 0.4);
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(14, 116, 179, 0.3);
}

.footer-brand .brand-logo {
  height: 26px;
  border-radius: 5px;
  box-shadow: none;
}

@media (max-width: 760px) {
  .brand-logo {
    height: 30px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: 1px;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--c-muted-light);
  font-weight: 500;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #e9edf6;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--c-accent-2);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-accent);
}

.nav-cta {
  margin-left: 8px;
  padding: 11px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--c-text-light);
  background: var(--c-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(60% 80% at 82% 15%, rgba(14, 116, 179, 0.22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(40, 70, 150, 0.42), transparent 60%),
    linear-gradient(rgba(8, 12, 22, 0.58), rgba(8, 12, 22, 0.84)),
    url("../images/exterior.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--c-accent-2), #6cb9e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  white-space: nowrap;
  max-width: 900px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: #bfc9dc;
}

@media (max-width: 760px) {
  .hero-sub {
    white-space: normal;
    font-size: 14px;
    max-width: 92%;
  }
}

.hero-sub strong {
  color: var(--c-accent-2);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
  text-align: center;
}

.stat dt {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 900;
  color: var(--c-accent-2);
  line-height: 1;
}

.stat dd {
  margin-top: 8px;
  font-size: 13px;
  color: var(--c-muted-light);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  z-index: 1;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--c-accent-2);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 40px 0 64px;
  min-height: calc(100vh - 40px);
}

.section-alt {
  background: #f6f8fc;
}

.section-dark {
  background: var(--c-bg);
  color: var(--c-text-light);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
}

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

.section-dark .section-head p {
  color: var(--c-muted-light);
}

/* ---------- 服务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(11, 15, 26, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 22px 44px rgba(14, 116, 179, 0.16);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--c-accent-dark);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46, 143, 208, 0.18), rgba(14, 116, 179, 0.12));
  transition: transform 0.3s ease;
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about-media {
  position: relative;
  margin-top: 25px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.about-brands {
  margin-top: auto;
  padding-top: 24px;
  width: 100%;
}

.about-brands img {
  width: 100%;
  height: auto;
  display: block;
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  display: block;
  background: #fff;
}

.media-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.media-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  color: #fff;
  box-shadow: 0 16px 30px rgba(14, 116, 179, 0.4);
  text-align: center;
}

.media-badge strong {
  font-size: 30px;
  line-height: 1;
}

.media-badge span {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.95;
}

.about-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 4px 0 18px;
}

.about-content > p {
  color: var(--c-muted);
  margin-bottom: 28px;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(14, 116, 179, 0.32);
}

.about-list strong {
  font-size: 16px;
}

.about-list p {
  font-size: 14px;
  color: var(--c-muted);
}

/* ---------- 品牌授权 ---------- */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  box-shadow: 0 6px 16px rgba(11, 15, 26, 0.05);
}

.brand-chip svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
}

/* ---------- 服务优势流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  padding: 34px 24px;
  background: #fff;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(11, 15, 26, 0.1);
}

.step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: rgba(14, 116, 179, 0.14);
}

.step-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  color: var(--c-accent-dark);
  background: linear-gradient(135deg, rgba(46, 143, 208, 0.18), rgba(14, 116, 179, 0.12));
}

.step-icon svg {
  width: 36px;
  height: 36px;
}

.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.step-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 220px;
  margin-top: 22px;
  padding: 30px 24px;
  background-image: url("../images/color-block.png?v=2");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(14, 116, 179, 0.28);
}

.step-full-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
}

.step-full-icon svg {
  width: 36px;
  height: 36px;
}

.step-full h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* ---------- 门店实拍 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#galleryGrid {
  margin-top: -35px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(11, 15, 26, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 15, 26, 0.16);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 21px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(to top, rgba(8, 12, 22, 0.85), rgba(8, 12, 22, 0));
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line);
}

.info-item-link {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.info-item-link:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--c-accent);
}

.nav-arrow {
  display: inline-block;
  margin-left: 4px;
  color: var(--c-accent-2);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.info-item-link:hover .nav-arrow {
  transform: translate(2px, -2px);
}

.info-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-item strong {
  font-size: 16px;
}

.info-item p {
  font-size: 14px;
  color: var(--c-muted-light);
}

.info-item a {
  color: var(--c-text-light);
  transition: color 0.2s ease;
}

.info-item a:hover {
  color: var(--c-accent-2);
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-text);
  box-shadow: var(--shadow);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  border: 1px solid #d7dce6;
  border-radius: 10px;
  background: #fafbfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
  height: 46px;
}

.time-row {
  display: flex;
  gap: 8px;
}

.time-row input,
.time-row select {
  flex: 1;
  min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(14, 116, 179, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.form-tip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-muted);
  text-align: center;
}

.form-tip.success {
  color: #1a9a5a;
  font-weight: 700;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #080b13;
  color: var(--c-muted-light);
  padding: 40px 0;
  border-top: 1px solid var(--c-line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-brand p {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--c-accent-2);
}

.footer-copy {
  font-size: 13px;
  width: 100%;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

/* ---------- 微信弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 360px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 34px 28px 28px;
  border-radius: 18px;
  background: #fff;
  color: var(--c-text);
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f1f3f8;
  color: var(--c-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--c-line-dark);
}

.modal-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.modal h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.wechat-qr {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 16px;
  border: 1px solid var(--c-line-dark);
  border-radius: 12px;
  background: #fff;
}

.wechat-id {
  display: inline-block;
  padding: 12px 22px;
  margin-bottom: 16px;
  border: 1px dashed var(--c-accent);
  border-radius: 10px;
  background: rgba(14, 116, 179, 0.12);
  color: var(--c-accent-dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.modal-tip {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 0;
}

/* ---------- 滚动进场动画 ---------- */
/* 仅在启用 JS 时隐藏进场元素，避免无 JS 环境下内容不可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .media-badge {
    right: 14px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .media-badge {
    width: 104px;
    height: 104px;
    right: 16px;
    bottom: 20px;
  }

  .media-badge strong {
    font-size: 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: rgba(11, 15, 26, 0.98);
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 16px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .hero-title {
    letter-spacing: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cards,
  .steps,
  .gallery {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
