/* Whale Autos design tokens ------------------------------------------- */
:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --ink: #1e2b3a;
  --muted: #5b6b7c;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-tint: #f4f7fa;
  --accent: #2e9edc;        /* whale blue */
  --accent-dark: #1f7fb5;
  --amber: #f0a93b;          /* price highlight */
  --amber-deep: #b07514;     /* 白底上可读的琥珀（AA 对比度） */
  --radius: 12px;
  --shadow: 0 2px 16px rgba(10, 37, 64, .08);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  /* RTL 预留：阶段二阿语版切换 direction 即可 */
  --dir: ltr;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  direction: var(--dir);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: .8em; }
.section > .container > h2:first-child::after,
.section-head h2::after {  /* 品牌琥珀短线，统一章节记忆点 */
  content: ""; display: block; width: 44px; height: 4px; border-radius: 2px;
  background: var(--amber); margin-top: 10px;
}
h3 { font-size: 1.1rem; font-weight: 700; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.section { padding: 64px 0; }
.section-tint { background: var(--bg-tint); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.brand em, .footer-brand em { font-style: normal; color: var(--accent); }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--accent-dark); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 8px 18px; border-radius: 999px; }
.nav-toggle { display: none; font-size: 1.4rem; background: none; border: 0; color: var(--navy); }

/* Hero --------------------------------------------------------------------*/
.hero {
  background:
    linear-gradient(100deg, rgba(6,26,48,.97) 0%, rgba(6,26,48,.93) 48%, rgba(6,26,48,.58) 100%),
    radial-gradient(1100px 480px at 80% -10%, rgba(46,158,220,.22), transparent 60%),
    url("/static/scene/hero-port.webp") center 35%/cover no-repeat,
    var(--navy-deep);
  color: #d8e4ee; padding: 92px 0 84px;
  position: relative;
}
.hero::after {  /* 鲸波浪过渡到正文 */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 38px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 64" preserveAspectRatio="none"><path d="M0 36 C240 64 480 8 720 32 C960 56 1200 8 1440 36 L1440 64 L0 64 Z" fill="%23ffffff"/></svg>') bottom/100% 100% no-repeat;
}
.hero h1 { color: #fff; margin: 12px 0 16px; }
.hero-kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--accent); font-weight: 600; }
.hero-sub { max-width: 620px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 36px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 40px; list-style: none; padding: 0; flex-wrap: wrap; }
.hero-facts li { display: grid; }
.hero-facts strong { color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.hero-facts span { font-size: .85rem; color: #9fb3c4; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-family: var(--font-head); transition: .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 1.5px solid currentColor; color: inherit; }
.btn-block { display: block; text-align: center; margin-top: 12px; }

/* Cards -------------------------------------------------------------------*/
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.link-more { font-weight: 600; }
.card-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 24px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: inherit; transition: .15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: rgba(6,26,48,.78); color: #fff; font-size: .72rem;
  padding: 3px 9px; border-radius: 6px; letter-spacing: .04em;
}
.card-body { padding: 16px 18px 18px; }
.card-body h3 { font-size: 1.05rem; }
.card-version { font-size: .85rem; color: var(--muted); margin: 2px 0 10px; min-height: 2.6em; }
.card-specs { display: flex; gap: 10px; list-style: none; padding: 0; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.card-specs li { background: var(--bg-tint); padding: 2px 8px; border-radius: 5px; }
.card-price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; }
.card-price span { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.card-price span, .card-price em { white-space: nowrap; }
.card-price em { font-style: normal; font-size: .75rem; color: var(--muted); text-align: end; }

/* Steps / checklist ---------------------------------------------------------*/
.steps { list-style: none; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps-vertical { grid-template-columns: 1fr; }
.steps li { background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--accent); border-radius: var(--radius); padding: 22px; transition: .15s; }
.steps li:hover { box-shadow: var(--shadow); }
.steps strong { font-family: var(--font-head); color: var(--navy); display: block; margin-bottom: 8px; }
.steps p { font-size: .92rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; display: grid; gap: 14px; }
.checklist li { padding-inline-start: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700; }

/* Trust / CTA ----------------------------------------------------------------*/
.trust-grid { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr; align-items: start; }
.cta-panel {
  background: var(--navy); color: #c9d8e4; border-radius: var(--radius);
  padding: 28px; position: sticky; top: 90px;
}
.cta-panel h3 { color: #fff; margin-bottom: 8px; }
.cta-panel .btn { margin-top: 16px; }
.cta-wide { position: static; margin-top: 40px; }

/* Page head -------------------------------------------------------------------*/
.page-head { background: var(--bg-tint); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); margin-top: 6px; }
.page-head-slim { padding: 32px 0 24px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.vehicle-version { color: var(--muted); }

/* Vehicle page ------------------------------------------------------------------*/
.vehicle-layout { display: grid; gap: 36px; grid-template-columns: 1.5fr 1fr; align-items: start; }
.gallery img#mainPhoto { border-radius: var(--radius); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs img { border-radius: 6px; cursor: pointer; aspect-ratio: 4/3; object-fit: cover; border: 2px solid transparent; }
.thumbs img:hover { border-color: var(--accent); }
.price-tag {
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--amber-deep);
  display: grid; margin-bottom: 16px; font-variant-numeric: tabular-nums;
}
.price-tag span { font-size: .8rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: start; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; }
.condition { margin: 18px 0; background: var(--bg-tint); border-radius: var(--radius); padding: 16px 18px; }
.condition p { font-size: .92rem; }
.fine-print { font-size: .76rem; color: var(--muted); margin-top: 14px; }

/* How to buy / FAQ -----------------------------------------------------------------*/
.terms-table { margin-bottom: 40px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; font-family: var(--font-head); color: var(--navy); cursor: pointer; }
.faq p { margin-top: 10px; color: var(--muted); font-size: .94rem; }
.prose p { margin-bottom: 1em; }
.prose h2 { margin-top: 1.6em; }

/* Contact ----------------------------------------------------------------------------*/
.contact-layout { display: grid; gap: 48px; grid-template-columns: 1fr 1.2fr; align-items: start; }
.contact-alt { margin-top: 18px; color: var(--muted); }
.inquiry-form { background: var(--bg-tint); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.inquiry-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--navy); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.inquiry-form button { border: 0; cursor: pointer; font-size: 1rem; }

/* Footer ------------------------------------------------------------------------------*/
.site-footer { background: var(--navy-deep); color: #9fb3c4; margin-top: 72px; padding: 56px 0 24px; font-size: .9rem; position: relative; }
.site-footer::before {  /* 顶部反向波浪 */
  content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 64" preserveAspectRatio="none"><path d="M0 28 C240 0 480 56 720 32 C960 8 1200 56 1440 28 L1440 64 L0 64 Z" fill="%23061a30"/></svg>') bottom/100% 100% no-repeat;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1.4fr; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 8px; }
.site-footer a { display: block; color: #9fb3c4; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: .78rem; }

/* WhatsApp float -----------------------------------------------------------------------*/
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.25); transition: .15s;
}
.wa-float:hover { transform: scale(1.06); }

/* Guides -----------------------------------------------------------------------------*/
.guide-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-bottom: 40px; }
.guide-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; color: inherit; transition: .15s;
}
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-card h3 { margin: 6px 0 10px; }
.guide-card p { color: var(--muted); font-size: .94rem; }
.guide-card .link-more { display: inline-block; margin-top: 14px; }
.guide-tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dark); background: var(--bg-tint);
  padding: 3px 10px; border-radius: 999px;
}
.guide-search-wrap { margin-top: 16px; max-width: 400px; }
/* Search input — consistent styling on every page (kills native search-field look) */
.f-search {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff;
  appearance: none; -webkit-appearance: none;
}
.f-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,158,220,.15); }
.guide-card.g-hidden { display: none; }
/* Compact browse list (scan many titles at once) */
.guide-list { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.guide-row { display: flex; align-items: center; gap: 18px; padding: 14px 22px; border-top: 1px solid var(--line); color: inherit; transition: background .12s; }
.guide-row:first-child { border-top: 0; }
.guide-row:hover { background: var(--bg-tint); }
.gr-tag {
  flex: 0 0 138px; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-dark); line-height: 1.3;
}
.gr-main { flex: 1 1 auto; min-width: 0; }
.gr-title { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.35; }
.gr-desc { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-arrow { flex: 0 0 auto; color: var(--accent-dark); font-size: 1.05rem; opacity: 0; transform: translateX(-4px); transition: opacity .12s, transform .12s; }
.guide-row:hover .gr-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 640px) {
  .guide-row { flex-wrap: wrap; gap: 3px 14px; padding: 13px 16px; }
  .gr-tag { flex-basis: 100%; font-size: .64rem; }
  .gr-desc { white-space: normal; }
  .gr-arrow { display: none; }
}
/* Intent filter chips */
.guide-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.g-chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  transition: .15s;
}
.g-chip span { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-chip:hover { border-color: var(--accent); }
.g-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.g-chip.is-active span { color: #b9cad8; }
.guide-featured-wrap[hidden] { display: none; }
.guide-article h2 { margin-top: 1.8em; }
.guide-steps { padding-inline-start: 0; list-style: none; counter-reset: gstep; display: grid; gap: 14px; margin: 1em 0; }
.guide-steps li { background: var(--bg-tint); border-radius: 10px; padding: 16px 18px; font-size: .96rem; }
.guide-article .checklist { margin: 1em 0; }
.guide-article .faq { margin-top: 1em; }
.guide-article .cta-panel { margin-top: 48px; }
.guide-article > .fine-print { margin-top: 28px; }

/* Interactive guide tools ---------------------------------------------------------------*/
.cost-tool {
  margin: 28px 0 36px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.cost-tool-head {
  display: flex; justify-content: space-between; gap: 18px; align-items: start;
  padding: 22px 24px; background: var(--bg-tint); border-bottom: 1px solid var(--line);
}
.cost-tool-head h3 { margin: 0 0 6px; }
.cost-tool-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.cost-tool-badge {
  white-space: nowrap; color: var(--accent-dark); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.cost-tool-grid { display: grid; gap: 0; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); }
.cost-tool-inputs { padding: 24px; display: grid; gap: 18px; }
.cost-tool-group { display: grid; gap: 10px; }
.cost-tool-group h4 {
  margin: 0; color: var(--navy); font-family: var(--font-head); font-size: .95rem;
}
.cost-tool-row { display: grid; gap: 6px; }
.cost-tool-row label { color: var(--ink); font-size: .92rem; font-weight: 600; }
.cost-tool-row span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; font-weight: 400; margin-top: 2px; }
.cost-tool-row input, .cost-tool-row select, .cost-tool-row textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); font-variant-numeric: tabular-nums; background: #fff;
}
.cost-tool-row select { cursor: pointer; appearance: none; -webkit-appearance: none;
  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='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.cost-tool-row input:focus, .cost-tool-row select:focus, .cost-tool-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,158,220,.15);
}
.cost-tool-check {
  display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .84rem;
}
.cost-tool-check input { margin-top: 4px; }
.cost-tool-results {
  padding: 24px; background: var(--navy); color: #d7e5ef; display: grid; align-content: start; gap: 16px;
}
.cost-tool-total span { display: block; color: #9fb3c4; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.cost-tool-total strong {
  display: block; color: #fff; font-family: var(--font-head); font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 4px; overflow-wrap: anywhere;
}
.cost-tool-lines { display: grid; gap: 9px; padding: 0; list-style: none; }
.cost-tool-lines li {
  display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 8px; font-size: .9rem;
}
.cost-tool-lines strong { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-tool-note {
  background: rgba(255,255,255,.08); border-radius: 8px; padding: 12px; color: #c5d4df; font-size: .84rem;
}
.cost-tool-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cost-tool-actions .btn { border: 0; cursor: pointer; }
.cost-tool-actions .btn-ghost { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.42); }
.cost-tool-status { color: #9fb3c4; font-size: .82rem; min-height: 1.3em; }

/* Cross-reference (market <-> model) --------------------------------------------------*/
.guide-xref { margin: 30px 0; padding: 20px 22px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-xref h2 { margin: 0 0 6px; font-size: 1.05rem; }
.guide-xref > p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.xref-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.xref-list a {
  display: inline-block; padding: 7px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--accent-dark);
  text-decoration: none; transition: .15s;
}
.xref-list a:hover { border-color: var(--accent); box-shadow: var(--shadow); }

/* Related guides ----------------------------------------------------------------------*/
.related-guides { margin: 36px 0 8px; border-top: 1px solid var(--line); padding-top: 22px; }
.related-guides h2 { margin: 0 0 14px; font-size: 1.05rem; }
.related-guides ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.related-guides a {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.related-guides a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.related-guides .rg-cat {
  display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-dark); font-weight: 700; margin-bottom: 3px;
}
.related-guides .rg-title { display: block; color: var(--ink); font-size: .92rem; line-height: 1.35; }
@media (max-width: 640px) { .related-guides ul { grid-template-columns: 1fr; } }

/* Gallery counter ---------------------------------------------------------------------*/
.gallery-main { position: relative; }
.gallery-main img { border-radius: var(--radius); cursor: pointer; }
.gallery-count {
  position: absolute; bottom: 12px; inset-inline-end: 12px;
  background: rgba(6,26,48,.72); color: #fff; font-size: .78rem;
  padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums;
}

/* Footer languages ----------------------------------------------------------------------*/
.footer-langs { margin-top: 14px; }
.footer-langs a { display: inline !important; padding: 0 2px !important; }
.footer-langs .lang-current { padding: 0 2px; opacity: .55; font-weight: 600; }

/* 语言软提示条 -------------------------------------------------------------*/
.lang-suggest {
  display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap;
  background: var(--navy); color: #fff; padding: 10px 16px; font-size: .92rem;
}
.lang-suggest .ls-yes {
  background: var(--accent); color: #fff; padding: 5px 16px; border-radius: 999px;
  font-weight: 600; font-family: var(--font-head);
}
.lang-suggest .ls-no {
  background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff;
  padding: 5px 14px; border-radius: 999px; cursor: pointer; font: inherit;
}

/* RTL (Arabic) ----------------------------------------------------------------------------*/
[dir="rtl"] .hero-kicker { letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.45; }
[dir="rtl"] body, [dir="rtl"] .hero-sub, [dir="rtl"] .steps p { line-height: 1.85; }
[dir="rtl"] .card-version { min-height: auto; }

/* Stock 搜索 / 筛选 / 排序工具条 ------------------------------------------*/
.stock-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.stock-tools .f-search { flex: 1 1 240px; }
.stock-tools input, .stock-tools select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff; min-width: 0;
}
.stock-tools select { cursor: pointer; }
.stock-tools input:focus, .stock-tools select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,158,220,.15);
}
.stock-count { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.stock-note { color: var(--muted); font-size: .82rem; margin: 0 0 20px; max-width: 640px; line-height: 1.5; }
.stock-empty { color: var(--muted); padding: 28px 0; text-align: center; }
@media (max-width: 600px) { .stock-tools .f-search { flex-basis: 100%; } }

/* Scene band（中国港口实景图）-------------------------------------*/
.section-intro { color: var(--muted); max-width: 660px; margin: 4px 0 22px; }
.scene-band { display: grid; gap: 14px; grid-template-columns: 1.2fr 1fr 1fr; }
.scene-band img { border-radius: var(--radius); width: 100%; height: 240px; object-fit: cover; }
.about-figure { margin: 8px 0 24px; }
.about-figure img { border-radius: var(--radius); display: block; width: 100%; }
.about-figure figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; text-align: center; }

/* Scroll reveal ------------------------------------------------------------------------*/
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-photo img, .card, .btn { transition: none; }
}

/* Responsive ------------------------------------------------------------------------------*/
@media (max-width: 860px) {
  .trust-grid, .vehicle-layout, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .cost-tool-grid { grid-template-columns: 1fr; }
  .cost-tool-results { border-top: 1px solid var(--line); }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 16px 20px; gap: 14px;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .cta-panel { position: static; }
  .scene-band { grid-template-columns: 1fr 1fr; }
  .scene-band img { height: 180px; }
}
@media (max-width: 520px) {
  .card-price { justify-content: flex-start; gap: clamp(12px, 4vw, 18px); }
  .card-price em { text-align: start; }
  .stock-tools select { flex: 0 0 calc(50% - 6px); width: calc(50% - 6px); max-width: calc(50% - 6px); }
  .stock-tools #f-dest, .stock-tools #f-sort { flex-basis: 100%; width: 100%; max-width: 100%; }
  .cost-tool-head { display: grid; padding: 18px; }
  .cost-tool-inputs, .cost-tool-results { padding: 18px; }
  .cost-tool-row { grid-template-columns: 1fr; gap: 6px; }
  .scene-band { grid-template-columns: 1fr; }
  .scene-band img { height: 200px; }
  .lang-suggest { flex-direction: column; gap: 8px; }
}
