/* 上海空放贷款首页样式 - 响应式与多端兼容 */

:root {
  --ink: #132033;
  --ink-soft: #3a4a5f;
  --muted: #667789;
  --paper: #f3f6f8;
  --surface: #ffffff;
  --line: #d7e0e8;
  --brand: #0b6e6a;
  --brand-deep: #085652;
  --accent: #c9852c;
  --hero-a: #0a1f4d;
  --hero-b: #0d3d7a;
  --hero-c: #0047ff;
  --shadow: 0 18px 40px rgba(19, 32, 51, 0.08);
  --radius: 18px;
  --container: 1120px;
  --header-h: 72px;
  --page-pad: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at top left, rgba(20, 107, 106, 0.08), transparent 32%),
    linear-gradient(180deg, #eef3f5 0%, #f3f6f8 28%, #e9eef2 100%);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(11, 110, 106, 0.12);
}

img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

/* 长词/中文换行兼容 */
h1,
h2,
h3,
p,
li,
summary {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.container {
  width: 92%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

/* Header / Nav */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background-color: rgba(243, 246, 248, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 224, 232, 0.9);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.brand {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 70%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.7rem;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--hero-c) 55%, var(--accent) 100%);
  -webkit-box-shadow: 0 0 0 4px rgba(11, 110, 106, 0.12);
  box-shadow: 0 0 0 4px rgba(11, 110, 106, 0.12);
}

.site-nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.site-nav li + li {
  margin-left: 0.2rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  -webkit-transition: color 0.25s ease, background-color 0.25s ease;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--brand-deep);
  background: rgba(11, 110, 106, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2.5px 0;
  background: var(--ink);
  -webkit-transition: -webkit-transform 0.25s ease, opacity 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero banner */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--safe-top));
  min-height: calc(100dvh - var(--header-h) - var(--safe-top));
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  color: #f7fbfb;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--hero-a);
  background-image:
    linear-gradient(115deg, rgba(8, 18, 48, 0.88) 0%, rgba(10, 31, 77, 0.72) 38%, rgba(0, 71, 255, 0.28) 100%),
    radial-gradient(ellipse at 82% 30%, rgba(0, 71, 255, 0.45), transparent 42%),
    linear-gradient(160deg, #0a1f4d, #0d3d7a 52%, #123a9a);
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
  -webkit-animation: heroDrift 12s ease-in-out infinite alternate;
  animation: heroDrift 12s ease-in-out infinite alternate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(to bottom, transparent 0%, transparent 62%, rgba(8, 18, 48, 0.35) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 72px
    );
  opacity: 0.7;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.05fr 2rem 0.95fr;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.hero-content {
  max-width: 36rem;
  min-width: 0;
  -webkit-animation: riseIn 0.9s ease both;
  animation: riseIn 0.9s ease both;
}

.hero-media {
  margin: 0;
  position: relative;
  -ms-grid-column: 3;
  justify-self: end;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  -webkit-animation: floatShape 9s ease-in-out infinite alternate;
  animation: floatShape 9s ease-in-out infinite alternate;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -8%;
  bottom: -8%;
  left: 12%;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(201, 133, 44, 0.35), rgba(0, 71, 255, 0.25));
  -webkit-filter: blur(18px);
  filter: blur(18px);
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-box-shadow: 0 24px 50px rgba(5, 16, 48, 0.35);
  box-shadow: 0 24px 50px rgba(5, 16, 48, 0.35);
  -o-object-fit: cover;
  object-fit: cover;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 16em;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 34em;
  color: rgba(247, 251, 251, 0.88);
  font-size: 1.02rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -0.4rem;
}

.hero-actions .btn {
  margin: 0.4rem;
}

.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  -webkit-transition: -webkit-transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover,
.btn:focus {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #1b1205;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #d8973d;
}

.btn-ghost {
  background: transparent;
  color: #f7fbfb;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.7rem;
}

.section-head p,
.product-item p,
.advantage-grid p,
.process-list p,
.faq-list p,
.conditions-columns p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

/* Products */
.product-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1.25rem 1fr 1.25rem 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-item {
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-box-shadow: var(--shadow);
  box-shadow: var(--shadow);
  -webkit-transition: -webkit-transform 0.25s ease, border-color 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-item:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  border-color: rgba(11, 110, 106, 0.35);
}

.product-item h3,
.advantage-grid h3,
.process-list h3,
.conditions-columns h3,
.contact-copy h2 {
  font-family: var(--font-display);
  margin-bottom: 0.7rem;
}

.product-item ul,
.conditions-columns ul {
  margin-top: 1.1rem;
}

.product-item li + li,
.conditions-columns li + li,
.contact-meta li + li {
  margin-top: 0.45rem;
}

.product-item li,
.conditions-columns li,
.contact-meta li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.product-item li::before,
.conditions-columns li::before,
.contact-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
}

/* Process */
.process {
  background-color: rgba(255, 255, 255, 0.35);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2)),
    linear-gradient(120deg, rgba(11, 110, 106, 0.05), transparent 40%);
}

.process-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr 1rem 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  padding: 1.4rem 1.2rem 1.5rem;
  border-top: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.72);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand);
  letter-spacing: 0.04em;
}

/* Advantages */
.advantage-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr 1rem 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.advantage-grid article {
  padding: 1.4rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
}

/* Conditions */
.conditions-layout .section-head {
  margin-bottom: 1.8rem;
}

.conditions-columns {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1.5rem 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* FAQ */
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
}

.faq-list details + details {
  margin-top: 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: "";
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "\2013";
}

.faq-list details p {
  margin-top: 0.75rem;
}

/* Contact */
.contact {
  padding-bottom: 4rem;
}

.contact-panel {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.05fr 2rem 0.95fr;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  padding: 1.8rem;
  border-radius: 22px;
  background-color: #0d3b4c;
  background-image: linear-gradient(145deg, rgba(13, 59, 76, 0.96), rgba(11, 110, 106, 0.92));
  color: #f4fafa;
  -webkit-box-shadow: var(--shadow);
  box-shadow: var(--shadow);
}

.contact-copy p,
.contact-meta li {
  color: rgba(244, 250, 250, 0.82);
}

.contact-meta {
  margin-top: 1.4rem;
}

.contact-form {
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

.contact-form span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(244, 250, 250, 0.9);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  font-size: 16px; /* 防止 iOS 聚焦自动放大 */
  line-height: 1.4;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233a4a5f' d='M1.1 1.2L6 6.1l4.9-4.9 1.1 1.1L6 8.3 0 2.3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.2rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(201, 133, 44, 0.65);
  outline-offset: 1px;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 0.2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 2rem 0 calc(2.4rem + var(--safe-bottom));
}

.footer-inner > * + * {
  margin-top: 0.7rem;
}

.footer-brand {
  font-family: var(--font-display);
  color: var(--ink) !important;
  font-size: 1.05rem;
}

.footer-flinks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.flinks-label {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin-right: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.flinks-list {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  word-break: break-all;
}

.flinks-list a {
  color: var(--ink-soft);
  margin-right: 0.85rem;
  white-space: nowrap;
}

.flinks-list a:hover,
.flinks-list a:focus {
  color: var(--brand-deep);
  text-decoration: underline;
}

.copyright {
  font-size: 0.92rem;
}

/* Animations */
@-webkit-keyframes heroDrift {
  from {
    -webkit-transform: scale(1.04) translate3d(0, 0, 0);
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: scale(1.08) translate3d(-1.5%, -1%, 0);
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes heroDrift {
  from {
    -webkit-transform: scale(1.04) translate3d(0, 0, 0);
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: scale(1.08) translate3d(-1.5%, -1%, 0);
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@-webkit-keyframes floatShape {
  from {
    -webkit-transform: translate3d(0, 0, 0) rotate(0deg);
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    -webkit-transform: translate3d(-3%, -4%, 0) rotate(6deg);
    transform: translate3d(-3%, -4%, 0) rotate(6deg);
  }
}

@keyframes floatShape {
  from {
    -webkit-transform: translate3d(0, 0, 0) rotate(0deg);
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    -webkit-transform: translate3d(-3%, -4%, 0) rotate(6deg);
    transform: translate3d(-3%, -4%, 0) rotate(6deg);
  }
}

@-webkit-keyframes riseIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(24px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(24px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-visual,
  .hero-media,
  .hero-content,
  .product-item,
  .btn {
    -webkit-animation: none !important;
    animation: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }
}

/* ========== 大屏增强 ========== */
@media (min-width: 981px) {
  .hero-layout {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
    gap: 3rem;
  }

  .hero-brand {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-head h2 {
    font-size: 2.1rem;
  }

  .contact {
    padding-bottom: 5.5rem;
  }

  .contact-panel {
    padding: 2.4rem;
  }
}

/* ========== 平板横屏 / 中等屏 ========== */
@media (max-width: 1100px) {
  .process-list,
  .advantage-grid {
    -ms-grid-columns: 1fr 1rem 1fr;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    -ms-grid-columns: 1fr 1.25rem 0.9fr;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
    gap: 1.25rem;
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
  }

  .hero-brand {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .product-grid {
    -ms-grid-columns: 1fr 1.25rem 1fr;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    -ms-grid-columns: 1fr;
    grid-template-columns: minmax(0, 1fr);
  }

  .site-nav a {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
}

/* ========== 手机 / 小平板 ========== */
@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(247, 250, 251, 0.98);
    border-bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transition: opacity 0.22s ease, visibility 0.22s ease, max-height 0.22s ease;
    transition: opacity 0.22s ease, visibility 0.22s ease, max-height 0.22s ease;
  }

  .site-nav.is-open {
    max-height: 360px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    display: block;
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav li + li {
    margin-left: 0;
    margin-top: 0.2rem;
  }

  .site-nav a {
    display: block;
    border-radius: 12px;
    padding: 0.85rem 1rem;
  }

  .hero-layout {
    -ms-grid-columns: 1fr;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.4rem;
    padding-bottom: 2.6rem;
  }

  .hero-content {
    max-width: none;
  }

  .hero-media {
    -ms-grid-column: 1;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .hero-media::before {
    display: none;
  }

  .product-grid,
  .process-list,
  .advantage-grid,
  .conditions-columns {
    -ms-grid-columns: 1fr;
    grid-template-columns: minmax(0, 1fr);
  }

  .conditions-columns {
    padding: 1.25rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

  .product-item,
  .process-list li,
  .advantage-grid article {
    padding: 1.25rem 1.1rem;
  }

  .contact-panel {
    padding: 1.35rem;
    border-radius: 18px;
  }
}

/* ========== 小屏手机 ========== */
@media (max-width: 480px) {
  .container {
    width: 90%;
  }

  .brand {
    font-size: 1.05rem;
  }

  .hero-brand {
    font-size: 1.75rem;
    letter-spacing: 0.05em;
  }

  .hero h1 {
    font-size: 1.28rem;
    max-width: none;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: block;
    margin: 0;
  }

  .hero-actions .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 0 0 0.75rem;
  }

  .hero-actions .btn:last-child {
    margin-bottom: 0;
  }

  .section-head h2 {
    font-size: 1.55rem;
  }

  .btn {
    min-height: 46px;
  }
}

/* 超宽屏限制阅读宽度体验 */
@media (min-width: 1400px) {
  .hero-layout {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* 打印友好 */
@media print {
  .site-header,
  .nav-toggle,
  .hero-visual,
  .hero-actions,
  .contact-form {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .contact-panel {
    color: #000;
    background: #fff !important;
    min-height: 0;
  }

  a {
    text-decoration: underline;
  }
}
