/* ==========================================================================
   RUONANFENG TRADING — B2B export website main stylesheet
   Light, professional, industrial. Supports RTL (Arabic).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand:        #0E4C6B;
  --brand-700:    #0A3A52;
  --brand-600:    #0C4460;
  --brand-100:    #D6E5EE;
  --brand-050:    #EEF4F8;

  --accent:       #C08829;
  --accent-700:   #9C6C1B;
  --accent-050:   #FBF5E9;

  --ink:          #15202B;
  --ink-2:        #3E4C5B;
  --ink-3:        #6E7C8C;
  --ink-4:        #9AA6B2;

  --line:         #E4E9EF;
  --line-2:       #EFF3F7;
  --bg:           #FFFFFF;
  --soft:         #F6F8FB;
  --soft-2:       #FAFBFD;

  --ok:           #12795A;
  --ok-bg:        #E8F6F1;
  --err:          #B3261E;
  --err-bg:       #FDECEA;

  --radius:       14px;
  --radius-sm:    9px;
  --radius-lg:    22px;

  --shadow-sm:    0 1px 2px rgba(16, 32, 48, .06);
  --shadow:       0 2px 4px rgba(16, 32, 48, .04), 0 10px 28px rgba(16, 32, 48, .07);
  --shadow-lg:    0 18px 50px rgba(16, 32, 48, .13);

  --container:    1200px;
  --header-h:     72px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Noto Sans Arabic", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(1.95rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.35rem); }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--soft  { background: var(--soft); }
.section--tint  { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.section--dark  { background: var(--brand-700); color: #C8DCE8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 12px 18px; z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

/* ---------- 4. Section heading ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-700);
  margin-bottom: 12px;
}
.sec-head .eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.sec-head--center .eyebrow::before { display: none; }
.sec-head p { font-size: 1.05rem; color: var(--ink-3); margin: 0; }
.section--dark .sec-head p { color: #A9C6D6; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  text-align: center; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-050); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: #fff; color: var(--brand-700); }
.btn--wa { background: #25D366; color: #08331b; }
.btn--wa:hover { background: #1FB855; color: #04220f; }
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }

/* ---------- 6. Top bar ---------- */
.topbar {
  background: var(--brand-700); color: #B9D2E0;
  font-size: .82rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar__tag { display: flex; align-items: center; gap: 8px; }
.topbar__tag svg { width: 15px; height: 15px; color: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #D6E5EE; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar a svg { width: 15px; height: 15px; }
.topbar__hide-sm { display: inline-flex; }

/* ---------- 7. Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: 0 4px 18px rgba(16,32,48,.07); }
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-weight: 800; font-size: 1.02rem; letter-spacing: .04em; color: var(--ink);
}
.logo__sub { font-size: .7rem; letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; }
.logo:hover .logo__name { color: var(--brand); }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 10px 15px; border-radius: 8px;
  color: var(--ink-2); font-size: .94rem; font-weight: 600;
}
.nav__link:hover { background: var(--soft); color: var(--brand); }
.nav__link.is-active { color: var(--brand); background: var(--brand-050); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink-2); font-size: .88rem; font-weight: 600;
}
.lang__btn:hover { border-color: var(--brand); color: var(--brand); }
.lang__btn svg { width: 15px; height: 15px; }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  min-width: 190px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 120;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 10px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--ink-2); font-size: .9rem; text-align: start;
}
.lang__item:hover { background: var(--soft); color: var(--brand); }
.lang__item.is-active { background: var(--brand-050); color: var(--brand); font-weight: 700; }
.lang__code { font-size: .74rem; letter-spacing: .06em; color: var(--ink-4); text-transform: uppercase; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  align-items: center; justify-content: center;
}
.burger svg { width: 21px; height: 21px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: #fff; padding: 20px 22px 40px;
  transform: translateY(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer__close {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.drawer__close svg { width: 20px; height: 20px; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; border-bottom: 1px solid var(--line-2);
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
}
.drawer__nav a svg { width: 18px; height: 18px; color: var(--ink-4); }
[dir="rtl"] .drawer__nav a svg { transform: scaleX(-1); }
.drawer__cta { margin-top: 26px; display: grid; gap: 12px; }
.drawer__langs { margin-top: 30px; }
.drawer__langs p { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-4); margin-bottom: 10px; }
.drawer__langs .lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lang-chip {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); text-align: center;
}
.lang-chip.is-active { border-color: var(--brand); background: var(--brand-050); color: var(--brand); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-700); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,44,63,.94) 0%, rgba(10,44,63,.80) 42%, rgba(10,44,63,.42) 100%);
}
[dir="rtl"] .hero__media::after {
  background: linear-gradient(260deg, rgba(10,44,63,.94) 0%, rgba(10,44,63,.80) 42%, rgba(10,44,63,.42) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(64px, 9vw, 118px);
  max-width: 760px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #E4F0F7; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero__badge svg { width: 15px; height: 15px; color: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__lead { color: #C6DCE9; font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 640px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 40px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__trust li {
  display: flex; align-items: center; gap: 9px;
  color: #CFE2EC; font-size: .9rem; font-weight: 600;
}
.hero__trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- 9. Stats strip ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
}
.stats__item { background: #fff; padding: 30px 22px; text-align: center; }
.stats__num {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800;
  color: var(--brand); line-height: 1.1; letter-spacing: -.02em;
}
.stats__label { font-size: .86rem; color: var(--ink-3); margin-top: 6px; }

/* ---------- 10. Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--brand-100); transform: translateY(-3px); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-050); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--ink-3); margin: 0; }
.card--accent .card__icon { background: var(--accent-050); color: var(--accent-700); }

/* ---------- 11. Product cards ---------- */
.prod-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .28s, transform .28s, border-color .28s;
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--brand-100); }
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__tags { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 7px; }
.tag {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(255,255,255,.94); color: var(--brand);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.tag--accent { background: var(--accent); color: #fff; }
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__model {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-700); margin-bottom: 8px;
}
.pcard__body h3 { font-size: 1.06rem; margin-bottom: 9px; }
.pcard__body h3 a { color: var(--ink); }
.pcard__body h3 a:hover { color: var(--brand); }
.pcard__desc { font-size: .9rem; color: var(--ink-3); margin-bottom: 16px; }
.pcard__specs {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line-2);
  font-size: .81rem; color: var(--ink-3); margin-bottom: 16px;
}
.pcard__specs li { display: flex; align-items: center; gap: 6px; }
.pcard__specs svg { width: 14px; height: 14px; color: var(--brand); flex: none; }
.pcard__actions { display: flex; gap: 10px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 600;
  transition: all .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-3); }

/* ---------- 12. Split feature (factory) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 62px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__badge {
  position: absolute; inset-inline-end: -14px; bottom: -18px;
  background: var(--brand); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center;
}
.split__badge strong { display: block; font-size: 1.55rem; line-height: 1.1; }
.split__badge span { font-size: .78rem; color: #B9D2E0; }
.split__content .checklist { margin: 22px 0 28px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.checklist svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.mini-stats .num { font-size: 1.5rem; font-weight: 800; color: var(--brand); line-height: 1.15; }
.mini-stats .lbl { font-size: .82rem; color: var(--ink-3); }

/* ---------- 13. Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: .82rem; font-weight: 800; letter-spacing: .1em;
  color: var(--accent-700); margin-bottom: 10px;
}
.step::after {
  content: ""; position: absolute; top: 30px; inset-inline-start: 0;
  width: 34px; height: 2px; background: var(--accent); border-radius: 2px;
}
.step h3 { font-size: 1rem; margin: 22px 0 7px; }
.step p { font-size: .87rem; color: var(--ink-3); margin: 0; }
.section--dark .step p { color: #A9C6D6; }
.section--dark .step::before { color: var(--accent); }

/* ---------- 14. Market chips ---------- */
.market-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.market-chips span {
  padding: 9px 17px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #D6E5EE;
}
.market-chips span:nth-child(1),
.market-chips span:nth-child(2) { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 15. FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 0; border: 0; background: none;
  text-align: start; font-size: 1.02rem; font-weight: 650; color: var(--ink);
}
.faq__q:hover { color: var(--brand); }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--brand); transition: transform .25s; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 0 22px; margin: 0; color: var(--ink-3); font-size: .95rem; max-width: 900px; }

/* ---------- 16. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--soft-2); color: var(--ink);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px var(--brand-050);
}
.field textarea { resize: vertical; min-height: 132px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); background: var(--err-bg); }
.field__err { font-size: .8rem; color: var(--err); }
.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 16px; }
.form-msg {
  display: none; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: .92rem; margin-bottom: 20px;
}
.form-msg.is-ok { display: block; background: var(--ok-bg); color: var(--ok); border: 1px solid #BFE6D8; }
.form-msg.is-err { display: block; background: var(--err-bg); color: var(--err); border: 1px solid #F3CBC7; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- 17. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand-700); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.cta-band__text h2 { color: #fff; }
.cta-band__text p { color: #B9D2E0; font-size: 1.02rem; }
.cta-band__points { margin-top: 24px; display: grid; gap: 12px; }
.cta-band__points li { display: flex; gap: 10px; align-items: center; color: #D6E5EE; font-size: .93rem; }
.cta-band__points svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.cta-band .form-card { box-shadow: var(--shadow-lg); }

/* ---------- 18. Footer ---------- */
.footer { background: #0C1B26; color: #8FA5B4; font-size: .9rem; }
.footer__top { padding-block: clamp(48px, 6vw, 66px); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: clamp(26px, 4vw, 48px); }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer p { color: #8FA5B4; font-size: .88rem; }
.footer p.footer__legal { color: #6C8296; font-size: .8rem; margin-top: 10px; letter-spacing: .01em; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #6C8296; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { color: #8FA5B4; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.footer__contact a { color: #C2D4DF; }
.footer__contact a:hover { color: #fff; }
.footer__seo { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; color: #5F7385; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .83rem;
}
.footer__bottom a { color: #7C93A5; }
.footer__bottom a:hover { color: #fff; }

/* floating action buttons */
.fab { position: fixed; inset-inline-end: 20px; bottom: 22px; z-index: 80; display: grid; gap: 11px; }
.fab a, .fab button {
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .18s;
}
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
.fab svg { width: 25px; height: 25px; }
.fab__wa { background: #25D366; color: #fff; }
.fab__top { background: #fff; color: var(--brand); border: 1px solid var(--line) !important; }

/* ---------- 19. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--brand-700); color: #B9D2E0;
  padding-block: clamp(48px, 6vw, 76px); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,44,63,.85), rgba(10,44,63,.94));
}
.page-hero__inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #C0D6E3; font-size: 1.05rem; margin: 0; max-width: 660px; }
/* 正文另有真实 H1 时（如产品详情页），版头标题改用 <p> 承载：
   选择器权重需高于 .page-hero p，视觉与 h1 完全一致 */
.page-hero p.page-hero__title {
  color: #fff;
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
  margin: 0 0 14px;
  max-width: none;
}
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .83rem; margin-bottom: 16px; color: #86A6BB; }
.breadcrumb a { color: #A8C4D5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; }
[dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }

/* ---------- 20. Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4.5vw, 56px); align-items: start; }
.pd__main {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft);
}
.pd__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pd__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd__thumb {
  width: 92px; height: 70px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--soft); padding: 0;
}
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb.is-active { border-color: var(--brand); }
.pd__model {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  background: var(--accent-050); color: var(--accent-700);
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; margin-bottom: 14px;
}
.pd h1 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
.pd__summary { font-size: 1.04rem; color: var(--ink-3); margin-bottom: 24px; }
.pd__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px;
}
.pd__fact { background: #fff; padding: 15px 17px; }
.pd__fact dt { font-size: .78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.pd__fact dd { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tabs { margin-top: clamp(44px, 6vw, 72px); }
.tabs__nav {
  display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto;
  scrollbar-width: none; margin-bottom: 30px;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  padding: 13px 20px; border: 0; background: none; white-space: nowrap;
  font-size: .95rem; font-weight: 650; color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs__btn:hover { color: var(--brand); }
.tabs__btn.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.spec-table th { width: 42%; font-weight: 650; color: var(--ink-2); background: var(--soft-2); }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--brand-050); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody { border: 1px solid var(--line); border-radius: var(--radius); }
.prose { font-size: 1rem; color: var(--ink-2); max-width: 860px; }
.prose p { margin-bottom: 1.1em; }
.feat-list { display: grid; gap: 13px; max-width: 760px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.feat-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.pack-list { display: grid; gap: 14px; max-width: 820px; }
.pack-list li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; background: var(--soft); border-radius: var(--radius-sm); font-size: .94rem;
}
.pack-list svg { width: 19px; height: 19px; color: var(--accent-700); flex: none; margin-top: 2px; }

/* ---------- 21. Timeline ---------- */
.timeline { position: relative; padding-inline-start: 26px; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 5px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; inset-inline-start: -26px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-size: .84rem; font-weight: 800; letter-spacing: .07em; color: var(--accent-700); }
.tl-item h3 { font-size: 1.02rem; margin: 4px 0 5px; }
.tl-item p { font-size: .9rem; color: var(--ink-3); margin: 0; }

/* ---------- 22. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4.5vw, 52px); align-items: start; }
.info-list { display: grid; gap: 6px; }
.info-item {
  display: flex; gap: 15px; padding: 18px; border-radius: var(--radius-sm);
  transition: background .2s;
}
.info-item:hover { background: var(--soft); }
.info-item__icon {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: var(--brand-050); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item h3 { font-size: .95rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .92rem; color: var(--ink-3); margin: 0; word-break: break-word; }
.info-item a:hover { color: var(--brand); }

/* ---------- 23. Reveal animation (JS-gated: content always visible without JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .pd, .contact-grid, .cta-band__inner { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__badge { inset-inline-end: 14px; bottom: -16px; }
  .cta-band__text { margin-bottom: 6px; }
}
@media (max-width: 700px) {
  .container { padding-inline: 18px; }
  .topbar__hide-sm { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3, .grid--4, .prod-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pd__facts { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .hero__trust { gap: 10px 18px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .fab { inset-inline-end: 14px; bottom: 16px; }
  .fab a, .fab button { width: 46px; height: 46px; }
  .fab svg { width: 22px; height: 22px; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
  .spec-table th { width: 50%; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .pcard__actions { flex-direction: column; }
  .pcard__actions .btn { width: 100%; }
}

/* ---------- 25. Print ---------- */
@media print {
  .header, .topbar, .fab, .drawer, .cta-band, .footer__bottom { display: none; }
  body { color: #000; }
}
