/* ============================================================
   RUISHENG — US EDITION THEME
   American B2B / industrial visual language:
   navy + vivid orange, generous whitespace, tight geometric
   type scale, flat surfaces, uppercase eyebrows, action-first CTAs.
   Loaded AFTER style.css (base structure + components).
   ============================================================ */

:root {
  --primary: #0B2545;
  --primary-dark: #06162C;
  --primary-light: #1B3A63;
  --accent: #FF6B2C;
  --accent-hover: #E85519;
  --bg: #ffffff;
  --bg-light: #F6F8FB;
  --bg-dark: #06162C;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E3E8EF;
  --radius: 4px;
  --radius-lg: 8px;
  --max-width: 1240px;
  --header-height: 76px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
}

p { line-height: 1.7; }

.container {
  width: 92%;
  max-width: var(--max-width);
}

/* ---------- Sections & headings ---------- */
.section { padding: 104px 0; }
.section-light { background: var(--bg-light); }

.section-header { margin-bottom: 58px; }
.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}
.section-header .subtitle {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 34px;
}
.btn-primary { background: var(--accent); box-shadow: none; }
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 44, 0.3);
}
.btn-outline { border: 2px solid rgba(255, 255, 255, 0.8); }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-secondary { background: var(--primary); }
.btn-secondary:hover { background: var(--primary-light); transform: translateY(-1px); }

/* ---------- Header / navigation ---------- */
.header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.08);
}
.header.scrolled { box-shadow: 0 2px 14px rgba(11, 37, 69, 0.12); }

.logo img { height: 38px; }
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.logo-text span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav { gap: 30px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* nav language switch */
.nav-lang {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 5px 9px;
  transition: all var(--transition);
}
.nav-lang::after { display: none; }
.nav-lang:hover { color: var(--primary); border-color: var(--primary); }

/* language switch group */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
}
.nav-lang.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
}
.nav-lang.active:hover { color: #fff; border-color: var(--primary); }

/* nav quote CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 3px;
  transition: all var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 107, 44, 0.28);
}

/* ---------- Hero ---------- */
.hero-content { max-width: 760px; }
.hero-content h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.05rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.04;
  margin-bottom: 18px;
}
.hero-content p {
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 580px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(6, 22, 44, 0.88) 0%, rgba(6, 22, 44, 0.55) 55%, rgba(6, 22, 44, 0.15) 100%);
}
.hero-dots button { border-radius: 2px; width: 26px; height: 3px; border: none; background: rgba(255, 255, 255, 0.35); }
.hero-dots button.active { background: var(--accent); transform: none; }

/* ---------- Page banner ---------- */
.page-banner {
  height: 300px;
  background: var(--primary);
}
.page-banner::before { opacity: 0; }
.page-banner::after {
  background: var(--accent);
  height: 3px;
}
.page-banner h1 {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  letter-spacing: -0.032em;
  font-weight: 800;
}
.page-banner p { font-size: 1rem; opacity: 0.85; }
.breadcrumb { font-size: 0.82rem; letter-spacing: 0.04em; opacity: 0.75; }

/* ---------- Home V2 blocks ---------- */
.hm-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  gap: 12px;
}
.hm-kicker::after {
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.hm-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--primary);
}
.hm-title .gold,
.gold {
  background: none;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}
.hm-about-lead, .ab-lead p { font-size: 1.02rem; line-height: 1.8; }
.hm-btn-more, .ab-cta-gold, .nw-cta-btn { border-radius: 3px; }
.hm-link-all { font-weight: 700; letter-spacing: 0.02em; }

/* stats band: bigger numbers */
.hm-stat b, .ab-stat b {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hm-stat b i, .ab-stat b i { font-size: 0.42em; font-style: normal; letter-spacing: 0; }
.hm-stat span, .ab-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* advantage cards — flatter */
.hm-adv-card {
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid var(--border);
}
.hm-adv-card:hover {
  border-color: rgba(255, 107, 44, 0.55);
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.09);
  transform: translateY(-3px);
}
.hm-adv-num {
  font-size: 2.4rem;
  letter-spacing: -0.05em;
  opacity: 0.16;
  font-weight: 800;
}

/* product showcase panel */
.hm-panel { border-radius: 8px; }
.hm-tab { border-radius: 4px; }
.hm-spec b { letter-spacing: -0.02em; }

/* ---------- Cards (products / generic) ---------- */
.card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  border-color: rgba(255, 107, 44, 0.5);
  box-shadow: 0 14px 34px rgba(11, 37, 69, 0.1);
  transform: translateY(-4px);
}
.card-title { letter-spacing: -0.02em; font-size: 1.12rem; }
.card-text { font-size: 0.92rem; line-height: 1.7; color: var(--text-light); }
.card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-tag {
  border-radius: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255, 107, 44, 0.1);
  color: var(--accent);
}
.filter-btn {
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 22px;
}

/* ---------- About page ---------- */
.ab-chip { border-radius: 4px; }
.ab-quote { border-radius: 6px; }
.ab-vcard, .ab-tcard, .ab-hcard {
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid var(--border);
}
.ab-vcard:hover, .ab-tcard:hover, .ab-hcard:hover {
  border-color: rgba(255, 107, 44, 0.5);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
}
.ab-vtag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}
.ab-year b { letter-spacing: -0.04em; }
.ab-tname { letter-spacing: -0.02em; }
.ab-trole {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- News ---------- */
.nw-item {
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: none;
}
.nw-item:hover {
  border-color: rgba(255, 107, 44, 0.5);
  box-shadow: 0 14px 32px rgba(11, 37, 69, 0.09);
}
.nw-cat {
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nw-cat-chip {
  border-radius: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.nw-item h3 { letter-spacing: -0.02em; line-height: 1.35; }
.nw-more {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.nw-article {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: none;
}
.nw-atitle { letter-spacing: -0.03em; line-height: 1.2; }
.nw-body-copy { font-size: 1.02rem; line-height: 1.85; }
.nw-body-copy h3 { letter-spacing: -0.02em; margin-top: 34px; }
.nw-side { border: 1px solid var(--border); border-radius: 8px; box-shadow: none; }

/* ---------- Cases ---------- */
.cs-cat {
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cs-item { border-radius: 6px; }
.cs-mats span {
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-info-card, .contact-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: none;
}
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.12);
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.contact-form button[type="submit"] { border-radius: 3px; }

/* ---------- CTA band ---------- */
.cta-section {
  background: var(--primary);
  padding: 92px 0;
}
.cta-section h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.cta-section p { font-size: 1.02rem; opacity: 0.85; max-width: 680px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  padding: 76px 0 24px;
}
.footer-title {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
}
.footer-links a, .footer-contact li { font-size: 0.9rem; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); font-size: 0.82rem; }

/* ---------- Spec table (product detail) ---------- */
.product-specs th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--bg-light);
}
.product-specs td { font-size: 0.95rem; }
.product-features li { font-size: 0.96rem; line-height: 1.75; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.85rem; }
  .nav-cta { padding: 10px 15px; font-size: 0.7rem; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  /* keep the language switch reachable on mobile (inside the collapsed menu) */
  .nav-cta { display: none; }
  .lang-switch { margin-top: 6px; }
  .hero-content h1 { font-size: 2.2rem; }
  .page-banner { height: 240px; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero-content p { font-size: 1rem; }
  .btn { padding: 13px 26px; font-size: 0.75rem; }
}
