/* Ruipengkeji official site */
:root {
  --bg: #f3f6f5;
  --surface: #ffffff;
  --ink: #10201f;
  --muted: #5c6b69;
  --line: #d9e2df;
  --primary: #0e5c55;
  --primary-dark: #0a3d3a;
  --primary-soft: #e2f1ee;
  --accent: #df6a32;
  --accent-dark: #b94e1d;
  --accent-soft: #fceee5;
  --success: #2e906b;
  --warning: #c98b24;
  --dark: #16201f;
  --max-width: 1180px;
  --radius: 8px;
  --shadow: 0 10px 28px rgba(16, 32, 31, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  min-width: 320px;
}

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

a {
  color: inherit;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg {
  width: 26px;
  height: 26px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 15px;
}

.logo-name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.logo-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

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

.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 80px 0;
  background:
    linear-gradient(100deg, rgba(7, 36, 34, 0.92) 0%, rgba(10, 61, 58, 0.72) 55%, rgba(10, 61, 58, 0.28) 100%),
    url("../images/hero-bg.jpg") center 38% / cover no-repeat;
  color: #fff;
}

.hero-inner {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e9fbf7;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
}

.metric-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.metric-item:first-child {
  border-left: 0;
}

.metric-value {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
}

.metric-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.business-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.business-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.business-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius);
}

.business-card h3 {
  font-size: 20px;
  font-weight: 800;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

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

.feature-item {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-item .icon {
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

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

.industry-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}

.industry-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.table-wrap a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.table-wrap a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

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

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

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
}

.check-list .icon {
  color: var(--success);
  margin-top: 3px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.case-card:hover .case-image img {
  transform: scale(1.03);
}

.case-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.tag-accent {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.case-body h3 {
  font-size: 18px;
  font-weight: 800;
}

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

.cta-band {
  background:
    linear-gradient(105deg, rgba(9, 47, 44, 0.96) 0%, rgba(14, 92, 85, 0.92) 100%),
    url("../images/company-facility.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: 68px 0;
}

.cta-inner {
  max-width: 760px;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  margin-bottom: 28px;
}

.page-hero {
  position: relative;
  padding: 64px 0;
  background:
    linear-gradient(105deg, rgba(8, 45, 42, 0.94) 0%, rgba(10, 61, 58, 0.78) 100%),
    url("../images/hero-bg.jpg") center 42% / cover no-repeat;
  color: #fff;
}

.page-hero h1 {
  max-width: 900px;
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.content-image {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.prose {
  display: grid;
  gap: 16px;
}

.prose p {
  color: var(--muted);
  font-size: 15px;
}

.prose h2 {
  font-size: 24px;
  font-weight: 800;
  margin-top: 10px;
}

.prose h3 {
  font-size: 17px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  flex: none;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--primary-soft);
  border-color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-info-card h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line .icon {
  color: var(--primary);
  margin-top: 2px;
}

.contact-line strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.calc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.calc-result .metric-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-left-color: var(--primary);
  background: var(--bg);
}

.notice {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  margin-top: 18px;
}

.notice .icon {
  flex: none;
  margin-top: 2px;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 0;
}

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

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.8;
}

.footer-heading {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .feature-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .metric-item:nth-child(3) {
    border-left: 0;
  }

  .metric-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-cta {
    justify-content: center;
    margin: 8px 0 0;
  }

  .nav-toggle {
    display: flex;
  }

  .business-grid,
  .process-grid,
  .proof-grid,
  .case-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 540px;
    padding: 56px 0;
  }

  .hero-title {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

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

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .logo-sub {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .section-title,
  .cta-title {
    font-size: 26px;
  }

  .hero-title {
    font-size: 30px;
  }

  .metric-grid,
  .feature-grid,
  .industry-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric-item:first-child {
    border-top: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .calc-result {
    grid-template-columns: 1fr;
  }
}
