* { box-sizing: border-box; }
:root {
  --ink: #18211f;
  --muted: #63706b;
  --deep: #0d332b;
  --green: #1d6b58;
  --teal: #2f7f8f;
  --gold: #bd8b2d;
  --paper: #f7f6f1;
  --mist: #e9f0ec;
  --line: #d8ded9;
  --white: #fff;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background: var(--paper);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.notice { background: var(--deep); color: rgba(255,255,255,.82); font-size: 13px; }
.notice .wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.notice a { color: #f2d99a; overflow-wrap: anywhere; }
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(247,246,241,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.logo strong { display: block; color: var(--deep); font-size: 22px; line-height: 1.25; }
.logo span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 25px 14px; font-size: 15px; color: #283531; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); color: var(--deep); font-size: 21px; cursor: pointer; }
.hero { position: relative; min-height: 650px; display: flex; align-items: center; color: var(--ink); overflow: hidden; background: radial-gradient(circle at 82% 26%, #d8ebe4 0, rgba(216,235,228,.68) 28%, transparent 52%), linear-gradient(135deg, #fbfaf5 0%, #ecf3ee 100%); }
.hero-media {
  position: absolute;
  right: 0;
  top: 112px;
  width: clamp(520px, 50vw, 760px);
  height: 470px;
  border-radius: 0 0 0 72px;
  background: url("../images/risheng-commerce-hero.png") center / cover no-repeat;
  box-shadow: -28px 36px 80px rgba(20,65,58,.18);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 300px; justify-content: space-between; gap: 42px; align-items: center; padding: 88px 0; min-width: 0; }
.hero-copy { max-width: 560px; padding: 36px 0; min-width: 0; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1, .sub-hero h1 { margin: 18px 0 18px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.15; letter-spacing: 0; word-break: break-all; overflow-wrap: anywhere; }
.hero h1 span { display: inline; }
.hero p span { display: inline; }
.hero p { max-width: 680px; margin: 0 0 30px; color: #53625d; font-size: 18px; word-break: break-all; overflow-wrap: anywhere; line-break: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; font-weight: 700; cursor: pointer; }
.btn-solid { background: var(--gold); color: #fff; }
.btn-solid:hover { background: #a77924; }
.btn-ghost { border-color: rgba(13,51,43,.32); color: var(--deep); background: rgba(255,255,255,.42); }
.fact-panel { display: grid; background: rgba(255,255,255,.92); color: var(--ink); border-top: 5px solid var(--gold); box-shadow: 0 18px 46px rgba(20,65,58,.14); }
.fact-panel div { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.fact-panel div:last-child { border-bottom: 0; }
.fact-panel b { display: block; color: var(--green); font-size: 28px; line-height: 1.2; }
.fact-panel span { display: block; color: var(--muted); font-size: 14px; }
.section { padding: 78px 0; }
.intro-band { background: var(--white); border-bottom: 1px solid var(--line); }
.intro-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; }
.intro-layout h2, .section-head h2, .story-copy h2, .two-column h2, .license-grid h2, .contact-row h2, .contact-info h2 { margin: 10px 0 0; color: var(--deep); font-size: 34px; line-height: 1.25; }
.intro-layout p { margin: 0; color: #46534f; font-size: 18px; }
.section-head { margin-bottom: 30px; }
.service-map { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.service-map article { min-height: 230px; padding: 26px; border-right: 1px solid var(--line); }
.service-map article:last-child { border-right: 0; }
.service-map span { color: var(--gold); font-weight: 800; }
.service-map h3, .category-grid h3, .timeline h3, .inquiry-form h3 { margin: 10px 0 9px; color: var(--deep); font-size: 21px; }
.service-map p, .category-grid p, .story-copy p, .license-grid p, .contact-info p, .article p, .two-column p { margin: 0 0 12px; color: var(--muted); }
.image-story { background: var(--mist); }
.story-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 42px; align-items: center; }
.story-grid img, .license-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 22px; margin-bottom: 10px; color: #35423e; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--gold); }
.contact-strip { background: var(--deep); color: #fff; }
.contact-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.contact-row h2 { color: #fff; }
.sub-hero {
  padding: 96px 0;
  color: #fff;
  background: linear-gradient(90deg, rgba(10,33,28,.92), rgba(10,33,28,.54)), url("../images/risheng-commerce-hero.png") center / cover no-repeat;
}
.business-hero { background-image: linear-gradient(90deg, rgba(10,33,28,.92), rgba(10,33,28,.5)), url("../images/risheng-supply-hub.png"); }
.contact-hero { background-image: linear-gradient(90deg, rgba(10,33,28,.92), rgba(10,33,28,.5)), url("../images/risheng-compliance-network.png"); }
.sub-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.86); font-size: 18px; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 52px; align-items: start; }
.article-side { position: sticky; top: 110px; display: grid; gap: 4px; padding: 24px; background: var(--white); border-left: 5px solid var(--gold); }
.article-side b { color: var(--green); font-size: 28px; line-height: 1.15; }
.article-side span { margin-bottom: 14px; color: var(--muted); }
.article { max-width: 850px; }
.article h2 { margin: 0 0 14px; color: var(--deep); font-size: 30px; }
.article h2:not(:first-child) { margin-top: 38px; }
.timeline { display: grid; gap: 16px; margin: 18px 0 0; }
.timeline section { padding: 22px 0 20px 24px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.55); }
.timeline span { color: var(--green); font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-grid article { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.muted-band { background: var(--white); border-block: 1px solid var(--line); }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.capability-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.capability-list p { margin: 0; padding: 18px; color: var(--deep); background: var(--mist); border-left: 3px solid var(--gold); }
.license-section { background: var(--paper); }
.license-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 46px; align-items: center; }
.contact-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 34px; align-items: start; }
.contact-info, .inquiry-form { background: var(--white); border: 1px solid var(--line); padding: 30px; border-radius: 4px; }
.contact-info a { color: var(--green); font-weight: 700; overflow-wrap: anywhere; }
.inquiry-form { display: grid; gap: 13px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
  background: #fff;
}
.inquiry-form textarea { min-height: 126px; resize: vertical; }
.footer { background: #0a211c; color: rgba(255,255,255,.74); padding: 28px 0; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .notice { display: none; }
  .nav { min-height: 68px; }
  .logo strong { font-size: 18px; }
  .logo span { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .hero { min-height: auto; }
  .hero-media { display: none; }
  .hero-grid, .intro-layout, .story-grid, .article-layout, .two-column, .license-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid, .hero-copy, .hero p, .hero h1 { width: 100%; max-width: 100%; }
  .hero-grid { padding: 58px 0 44px; gap: 24px; }
  .hero-copy { max-width: 100%; padding: 0; }
  .hero h1 span { display: block; }
  .hero p span { display: block; }
  .fact-panel { grid-template-columns: repeat(2, 1fr); }
  .service-map, .category-grid, .capability-list { grid-template-columns: repeat(2, 1fr); }
  .service-map article { border-right: 0; border-bottom: 1px solid var(--line); }
  .article-side { position: static; grid-template-columns: repeat(3, 1fr); }
  .article-side span { margin-bottom: 0; }
  .contact-row { display: grid; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .hero-grid, .hero-copy, .hero p, .hero h1 { width: calc(100vw - 28px); max-width: calc(100vw - 28px); }
  .hero h1, .sub-hero h1 { max-width: 100%; font-size: 28px; line-break: anywhere; white-space: normal; }
  .hero p, .sub-hero p, .intro-layout p { font-size: 16px; }
  .section { padding: 58px 0; }
  .fact-panel, .service-map, .category-grid, .capability-list, .article-side { grid-template-columns: 1fr; }
  .intro-layout h2, .section-head h2, .story-copy h2, .two-column h2, .license-grid h2, .contact-row h2, .contact-info h2 { font-size: 28px; }
}
