/* YUYAN homepage — single stylesheet for / and /zh/ (rebuilt 2026-10).
   Inner pages keep styles.css + editorial-refresh.css + theme-dark.css. */

:root {
  --g-900: #121b20;
  --g-800: #1a262c;
  --g-700: #22313a;
  --g-600: #2d3d46;
  --line-d: rgba(236, 232, 224, .13);
  --line-d2: rgba(236, 232, 224, .28);
  --txt-d: #f2eee7;
  --mut-d: #b6c0bf;
  --paper: #f3efe8;
  --paper-2: #e8e3da;
  --white: #fbfaf6;
  --ink: #1c252a;
  --mut: #566169;
  --line: #d6d0c5;
  --copper: #d99560;
  --copper-hi: #e8ad7c;
  --copper-ink: #8c5130;
  --serif: "DM Serif Display", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: Manrope, "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 8.5vw, 120px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body.home-v2 {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:where(.home-v2) :where(img) { display: block; max-width: 100%; height: auto; }
:where(.home-v2) :where(a) { color: inherit; text-decoration: none; }
:where(.home-v2) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.home-v2) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.home-v2) :where(ul, ol) { padding: 0; list-style: none; }
.home-v2 :focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 300; padding: 10px 16px; background: var(--copper); color: #14191c; font-weight: 800; }
.skip-link:focus { top: 12px; }

/* ---------- Utility + header ---------- */
.utility-bar { background: var(--g-900); color: #c9d1ce; font-size: 12px; letter-spacing: .03em; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.utility-inner p { display: flex; align-items: center; gap: 8px; }
.utility-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.utility-divider { opacity: .45; }
.utility-inner a:hover { color: var(--copper-hi); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(26, 38, 44, .97); color: var(--txt-d); border-bottom: 1px solid var(--line-d); backdrop-filter: saturate(1.2) blur(8px); }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: var(--header); }
.brand { display: flex; align-items: center; flex: none; }
.home-v2 .brand-logo { width: auto; max-width: none; height: 40px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.site-nav a { position: relative; padding: 8px 0; color: #dfe5e2; font-size: 14px; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.site-nav .nav-mobile-contact { display: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 18px; border-radius: 2px; background: var(--copper); color: #141a1d; font-size: 14px; font-weight: 800; transition: background .2s ease; }
.nav-cta:hover { background: var(--copper-hi); }
.language-switch { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line-d2); border-radius: 2px; color: var(--txt-d); font-size: 13px; font-weight: 700; white-space: nowrap; }
.language-switch:hover { border-color: var(--copper); color: var(--copper-hi); }
.menu-toggle { display: none; }

/* ---------- Shared type ---------- */
.h-kicker { display: flex; align-items: center; gap: 0; color: var(--copper-ink); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.h-kicker b { display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.h-kicker b::after { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 14px; background: currentColor; }
.h-section-dark .h-kicker { color: var(--copper-hi); }
.home-v2 h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; overflow-wrap: break-word; }
html[lang="zh-CN"] .home-v2 h1, html[lang="zh-CN"] .home-v2 h2, html[lang="zh-CN"] .home-v2 .h-range-info h3, html[lang="zh-CN"] .home-v2 .h-step-num { font-weight: 600; letter-spacing: 0; }
.home-v2 h2 em, .home-v2 h1 em { font-style: normal; }
.home-v2 h2 em { display: block; color: var(--copper-ink); }
.h-section-dark h2 em { color: var(--copper-hi); }
.h-section { padding-block: var(--section); }
.h-section-dark { background: var(--g-800); color: var(--txt-d); }
.h-section-paper { background: var(--paper); }
.h-section-stone { background: var(--paper-2); }
.h-section-white { background: var(--white); }
.h-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 28px 72px; margin-bottom: clamp(40px, 5vw, 64px); }
.h-head h2 { margin-top: 20px; max-width: 760px; }
.h-head > *, .h-range > *, .h-company > *, .h-visits > *, .h-faq > *, .h-contact > *, .route-dashboard > * { min-width: 0; }
.h-head > p { max-width: 470px; color: var(--mut); font-size: 17px; line-height: 1.7; }
.h-section-dark .h-head > p { color: var(--mut-d); }
.h-text-link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--copper-ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
.h-section-dark .h-text-link { color: var(--copper-hi); }
.h-head > p .h-text-link { margin-left: 6px; }
.h-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid var(--copper); border-radius: 2px; background: var(--copper); color: #141a1d; font-size: 15px; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.h-button:hover { background: var(--copper-hi); border-color: var(--copper-hi); }
.h-button-ghost { background: transparent; color: var(--txt-d); border-color: var(--line-d2); }
.h-button-ghost:hover { background: transparent; color: var(--copper-hi); border-color: var(--copper-hi); }

/* ---------- Carousel (one photo at a time) ---------- */
.yc-track { position: relative; display: grid; }
.yc-slide { position: relative; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.yc-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.yc-controls { display: flex; align-items: center; gap: 10px; }
.yc:not(.is-ready) .yc-controls { display: none; }
.yc-count { min-width: 64px; font-size: 13px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.yc-count b { font-size: 16px; }
.yc-total { opacity: .7; }
.yc-progress { position: relative; flex: 1 1 auto; min-width: 48px; height: 2px; overflow: hidden; background: rgba(28, 37, 42, .16); }
.yc-progress i { position: absolute; inset: 0; background: var(--copper); transform: scaleX(0); transform-origin: left; }
.yc-progress.is-run i { animation: yc-fill var(--yc-interval, 6s) linear forwards; }
@keyframes yc-fill { to { transform: scaleX(1); } }
.yc-controls button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(28, 37, 42, .26); border-radius: 50%; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.yc-controls button:hover { border-color: var(--copper); background: var(--copper); color: #141a1d; }
.yc-toggle-icon { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.yc.is-paused .yc-toggle-icon { width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.h-section-dark .yc-progress, .h-hero .yc-progress { background: rgba(242, 238, 231, .22); }
.h-section-dark .yc-controls button, .h-hero .yc-controls button { border-color: var(--line-d2); color: var(--txt-d); }
.h-section-dark .yc-controls button:hover, .h-hero .yc-controls button:hover { color: #141a1d; }
.yc-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--g-700); }
.yc-frame img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.yc-frame-contain { background: #1d272c; }
.yc-frame-contain::before { content: ""; position: absolute; inset: -40px; background: var(--photo) center / cover no-repeat; filter: blur(30px) brightness(.5) saturate(.85); transform: scale(1.1); }
.yc-frame-contain img { object-fit: contain; }
.yc-caption { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; font-size: 15px; font-weight: 600; }
.yc-caption > span { color: var(--copper-ink); font-size: 12px; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.h-section-dark .yc-caption > span { color: var(--copper-hi); }

/* ---------- Hero ---------- */
.h-hero { background: var(--g-800); color: var(--txt-d); }
.h-hero-stage { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(580px, calc(100svh - 110px), 800px); overflow: hidden; }
.h-hero-media { position: absolute; inset: 0; z-index: -1; --edge: max(var(--gutter), calc((100% - var(--shell)) / 2)); }
.h-hero-media .yc-track, .h-hero-media .yc-slide { height: 100%; }
.h-hero-media .yc-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.h-hero-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(18, 27, 32, .94) 0%, rgba(18, 27, 32, .84) 30%, rgba(18, 27, 32, .38) 56%, rgba(18, 27, 32, .04) 80%), linear-gradient(0deg, rgba(18, 27, 32, .78) 0%, rgba(18, 27, 32, 0) 34%); }
.h-hero .yc-caption { position: absolute; right: var(--edge); bottom: 104px; z-index: 3; display: grid; justify-items: end; gap: 4px; max-width: 380px; padding: 0; text-align: right; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.h-hero .yc-caption > span { color: var(--copper-hi); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.h-hero .yc-caption strong { font-size: 18px; font-weight: 700; }
.h-hero .yc-caption a { font-size: 13px; font-weight: 700; color: #e9e4dc; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.h-hero .yc-caption a:hover { color: var(--copper-hi); border-color: var(--copper-hi); }
.h-hero .yc-controls { position: absolute; right: var(--edge); bottom: 40px; z-index: 3; width: min(380px, 42vw); }
.h-hero-inner { position: relative; padding-block: 88px 132px; pointer-events: none; }
.h-hero-copy { max-width: 720px; pointer-events: auto; }
.h-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--copper-hi); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.h-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-hero h1 { margin-top: 22px; color: #fff; font-family: var(--serif); font-size: clamp(38px, 4.1vw, 60px); font-weight: 400; line-height: 1.06; overflow-wrap: break-word; letter-spacing: -.01em; }
.h-hero h1 em { display: block; color: #ecc8a4; }
.h-hero-lead { max-width: 560px; margin-top: 24px; color: #d3dbd8; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; }
.h-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.h-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .42); color: #fff; font-size: 15px; font-weight: 700; }
.h-link:hover { color: var(--copper-hi); border-color: var(--copper-hi); }
.h-facts { border-top: 1px solid var(--line-d); background: var(--g-800); }
.h-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-fact { padding: 28px 28px 30px; border-right: 1px solid var(--line-d); }
.h-fact:first-child { padding-left: 0; }
.h-fact:last-child { padding-right: 0; border-right: 0; }
.h-fact strong { display: block; color: #fff; font-size: 17px; font-weight: 800; }
.h-fact span { display: block; margin-top: 6px; color: var(--mut-d); font-size: 14px; line-height: 1.5; }

/* ---------- 01 Equipment ---------- */
.h-range { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4.5vw, 64px); padding-block: 52px; border-top: 1px solid var(--line); }
.h-range:last-child { padding-bottom: 0; }
.h-range-label { color: var(--copper-ink); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.h-range-info h3 { margin-top: 12px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; line-height: 1.1; }
.h-range-info > p:not(.h-range-label) { margin-top: 14px; color: var(--mut); font-size: 15px; line-height: 1.7; }
.h-cats { display: block; margin-top: 26px; border-top: 1px solid var(--line); }
.h-cat { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 18px; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 15px; transition: color .2s ease, background .2s ease; }
.h-cat .eq-number { color: var(--mut); font-size: 12px; font-variant-numeric: tabular-nums; }
.h-cat strong { font-weight: 700; }
.h-cat small { color: var(--mut); font-size: 13px; }
.h-cat .eq-arrow { color: var(--copper-ink); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.h-cat:hover { color: var(--copper-ink); }
.h-cat:hover .eq-arrow, .h-cat:focus-visible .eq-arrow { opacity: 1; transform: translate(2px, -2px); }
.h-range-all { display: inline-flex; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--copper-ink); font-size: 14px; font-weight: 800; }
.h-machines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 24px; }
.h-machine { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); transition: border-color .25s ease, box-shadow .25s ease; }
.h-machine:hover { border-color: #bdb4a6; box-shadow: 0 22px 44px -28px rgba(28, 37, 42, .42); }
.h-machine-main { display: block; }
.h-machine-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.h-machine-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.h-machine:hover .h-machine-photo img { transform: scale(1.03); }
.h-machine-badge { position: absolute; left: 14px; top: 14px; max-width: calc(100% - 28px); padding: 6px 10px; background: rgba(18, 27, 32, .86); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.h-machine-badge.is-own { background: var(--copper); color: #141a1d; }
.h-machine-body { padding: 22px 22px 20px; }
.h-machine-type { color: var(--mut); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.h-machine h4 { margin-top: 8px; font-size: 20px; font-weight: 800; line-height: 1.3; }
.h-machine-spec { margin-top: 10px; color: var(--mut); font-size: 14px; }
.h-machine-spec span { margin-right: 4px; color: var(--ink); font-weight: 700; }
.h-machine-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.h-machine-price { display: grid; gap: 2px; }
.h-machine-price small { color: var(--mut); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.h-machine-price b { font-size: 22px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.h-machine-price em { color: var(--mut); font-size: 12px; font-style: normal; }
.h-machine .machine-inquire { flex: none; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--copper-ink); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* ---------- 02 Company + yard ---------- */
.h-company { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.h-company-copy h2 { margin-top: 20px; }
.h-roles { margin-top: 34px; border-top: 1px solid var(--line-d); }
.h-role { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line-d); }
.h-role dt { color: var(--copper-hi); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.h-role dd { color: #dbe2df; font-size: 15px; line-height: 1.6; }
.h-identity { display: grid; gap: 4px; margin-top: 26px; color: var(--mut-d); font-size: 14px; }
.h-identity strong { color: #fff; font-size: 15px; }
.h-identity a { width: fit-content; color: var(--copper-hi); }
.h-inline-links { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 24px; }
.h-inline-links a { padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--copper-hi); font-size: 15px; font-weight: 800; }
.h-stage .yc-caption { color: #e3e8e5; }
.h-stage .yc-controls { margin-top: 18px; }

/* ---------- 03 Visits ---------- */
.h-visits { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "copy stage" "ctrl stage"; grid-template-rows: 1fr auto; column-gap: clamp(40px, 5vw, 72px); }
.h-visits-copy { grid-area: copy; align-self: end; }
.h-visits-copy h2 { margin-top: 20px; }
.h-visits-copy p:not(.h-kicker) { margin-top: 18px; color: var(--mut); font-size: 16px; line-height: 1.7; }
.h-note { padding-left: 14px; border-left: 2px solid var(--copper); font-size: 14px !important; }
.h-visits-stage { grid-area: stage; }
.h-visits-stage .yc-frame { aspect-ratio: 4 / 3; }
.h-visits-controls { grid-area: ctrl; display: grid; gap: 22px; align-self: start; margin-top: 36px; }
.h-visits-controls .h-text-link { width: fit-content; }

/* ---------- 04 Process ---------- */
.h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.h-step { padding: 34px 34px 6px; border-right: 1px solid var(--line); }
.h-step:first-child { padding-left: 0; }
.h-step:last-child { padding-right: 0; border-right: 0; }
.h-step-num { display: block; color: var(--copper-ink); font-family: var(--serif); font-size: 56px; line-height: 1; }
.h-step h3 { margin-top: 22px; font-size: 20px; font-weight: 800; }
.h-step p { margin-top: 10px; color: var(--mut); font-size: 15px; line-height: 1.7; }
.h-process-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 52px; }

/* ---------- 05 Markets map ---------- */
.route-dashboard { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); border: 1px solid var(--line-d); }
.route-figure { display: flex; flex-direction: column; min-width: 0; background: #0f2523; }
.trade-map-canvas { position: relative; width: 100%; aspect-ratio: 1200 / 640; overflow: hidden; }
.trade-map-base, .trade-routes-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.trade-routes-svg { overflow: visible; }
.trade-route { fill: none; stroke: #e2a273; stroke-width: 1.6; stroke-linecap: round; opacity: .32; transition: opacity .25s ease, stroke-width .25s ease; }
.trade-route.is-active { stroke: #f2b483; stroke-width: 3.2; opacity: 1; }
.trade-port { fill: #e8dcc4; stroke: #133230; stroke-width: 3; opacity: .82; }
.trade-port.is-active { fill: #f2b483; stroke: #fff; opacity: 1; }
.trade-origin-halo { fill: rgba(217, 149, 96, .2); stroke: rgba(217, 149, 96, .55); stroke-width: 2; }
.trade-origin { fill: #f2b483; stroke: #fff; stroke-width: 2; }
.trade-origin-label { fill: #fff3e6; font: 700 16px Manrope, Arial, sans-serif; letter-spacing: 1px; paint-order: stroke; stroke: #0f2523; stroke-width: 4; }
.route-figure-caption { flex: 1; display: grid; align-content: center; gap: 8px; padding: 22px 28px; border-top: 1px solid var(--line-d); }
.route-selected-label { color: var(--copper-hi); font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.3; }
html[lang="zh-CN"] .route-selected-label { font-weight: 600; }
.route-figure-caption > span:last-child { color: var(--mut-d); font-size: 13px; line-height: 1.6; }
.route-directory { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line-d); background: var(--g-700); }
.route-directory-heading { padding: 22px 24px 12px; }
.route-directory-heading > span { color: var(--copper-hi); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.route-directory-heading p { margin-top: 6px; color: var(--mut-d); font-size: 13px; }
.route-directory-list { flex: 1; padding: 0 14px 8px; }
.route-entry { display: grid; grid-template-columns: minmax(0, 1fr) 40px; border-top: 1px solid var(--line-d); transition: background .2s ease; }
.route-entry.is-active, .route-entry:hover, .route-entry:focus-within { background: rgba(217, 149, 96, .1); }
.route-choice { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 6px; min-width: 0; min-height: 38px; padding: 6px 10px; border: 0; background: transparent; color: var(--txt-d); font-size: 13px; text-align: left; cursor: pointer; }
.route-country { font-weight: 700; white-space: nowrap; }
.route-country i { margin-right: 8px; color: var(--copper-hi); font-size: 11px; font-style: normal; font-variant-numeric: tabular-nums; }
.route-choice strong { overflow: hidden; color: var(--mut-d); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.route-choice[aria-pressed="true"] strong { color: var(--copper-hi); font-weight: 700; }
.route-entry > a { display: grid; place-items: center; color: var(--copper-hi); font-size: 16px; }
.route-entry > a:hover, .route-entry > a:focus-visible { background: var(--copper); color: #141a1d; }
.route-directory-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding: 14px 24px; border-top: 1px solid var(--line-d); color: var(--mut-d); font-size: 12px; }
.route-directory-footer a { color: var(--copper-hi); font-weight: 800; }

/* ---------- 06 Guides ---------- */

/* ---------- 07 FAQ ---------- */
.h-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); }
.h-faq-title h2 { margin-top: 20px; }
.h-faq-title > p:not(.h-kicker) { margin-top: 18px; color: var(--mut); font-size: 16px; line-height: 1.7; }
.h-faq-title .h-text-link { margin-top: 22px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; color: var(--copper-ink); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--mut); font-size: 16px; line-height: 1.75; }

/* ---------- 08 Contact ---------- */
.h-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(40px, 6vw, 88px); }
.h-contact-copy h2 { margin-top: 20px; }
.h-contact-copy > p:not(.h-kicker) { margin-top: 20px; color: var(--mut-d); font-size: 16px; line-height: 1.7; }
.h-contact-lines { margin-top: 32px; border-top: 1px solid var(--line-d); }
.h-contact-lines li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.h-contact-lines span { color: var(--copper-hi); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.h-contact-lines a, .h-contact-lines b { overflow-wrap: anywhere; color: #fff; font-size: 16px; font-weight: 700; }
.h-contact-lines a:hover { color: var(--copper-hi); }
.quote-form { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-d); background: var(--g-700); color-scheme: dark; }
.form-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.quote-form label { display: grid; gap: 8px; margin-bottom: 18px; color: #dbe2df; font-size: 13px; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #4a5b63; border-radius: 2px; background: var(--g-800); color: #fff; font-size: 15px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; }
.quote-form textarea { min-height: 112px; resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #8f9b9d; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px rgba(217, 149, 96, .22); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-note { margin-top: 16px; color: var(--mut-d); font-size: 13px; line-height: 1.6; }
.form-status { margin-top: 6px; color: var(--copper-hi); font-size: 14px; }

/* ---------- Footer + floating CTA ---------- */
.site-footer { background: var(--g-900); color: var(--txt-d); }
.footer-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; padding-block: 44px; border-bottom: 1px solid var(--line-d); }
.home-v2 .footer-brand .brand-logo { height: 44px; }
.footer-top p { color: var(--mut-d); font-size: 14px; line-height: 1.8; }
.footer-up { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-d2); border-radius: 50%; }
.footer-up:hover { border-color: var(--copper); color: var(--copper-hi); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 36px; border-bottom: 1px solid var(--line-d); }
.footer-links strong { display: block; margin-bottom: 12px; color: var(--copper-hi); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { display: block; width: fit-content; padding: 5px 0; color: #d3dad7; font-size: 14px; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--copper-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; color: #95a1a3; font-size: 13px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--copper-hi); }
.floating-cta { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 2px; background: var(--copper); color: #141a1d; font-size: 14px; font-weight: 800; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); transition: opacity .25s ease, transform .25s ease; }
.floating-cta i { font-style: normal; }
body.hero-in-view .floating-cta, body.inline-inquiry-in-view .floating-cta { opacity: 0; transform: translateY(12px); pointer-events: none; }
/* The sticky header already carries the inquiry action on desktop. */
@media (min-width: 981px) { .floating-cta { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --header: 66px; }
  .nav-wrap { gap: 12px; }
  .home-v2 .brand-logo { height: 34px; }
  .nav-cta { display: none; }
  .language-switch { order: 2; margin-left: auto; }
  .menu-toggle { order: 3; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-d2); border-radius: 2px; background: transparent; color: var(--txt-d); cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100svh - var(--header)); overflow: auto; margin: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-d); background: var(--g-800); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line-d); font-size: 16px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-mobile-contact { display: flex; justify-content: space-between; margin-top: 16px; padding: 14px 18px; border: 0; background: var(--copper); color: #141a1d; font-weight: 800; }
  .h-machines { gap: 18px; }
}

@media (max-width: 980px) {
  .h-head, .h-range, .h-company, .h-faq, .h-contact { grid-template-columns: 1fr; }
  .h-head { align-items: start; }
  .h-visits { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "ctrl"; grid-template-rows: auto; }
  .h-visits-copy { margin-bottom: 32px; }
  .h-visits-controls { margin-top: 18px; }
  .h-range-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .h-range-info > .h-range-label, .h-range-info > h3, .h-range-info > p { grid-column: 1; }
  .h-range-info > .h-cats { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .h-range-info > .h-range-all { grid-column: 1; align-self: start; width: fit-content; }
  .h-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-fact { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line-d); }
  .h-fact:nth-child(2n) { padding: 24px 0 24px 24px; border-right: 0; }
  .h-fact:nth-child(n + 3) { border-bottom: 0; }
  .h-steps { grid-template-columns: 1fr; }
  .h-step, .h-step:first-child, .h-step:last-child { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .h-step { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 18px; }
  .h-step-num { grid-row: 1 / span 2; font-size: 44px; }
  .h-step h3 { margin-top: 0; }
  .route-dashboard { grid-template-columns: 1fr; }
  .route-directory { border-left: 0; border-top: 1px solid var(--line-d); }
  .route-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}

@media (max-width: 760px) {
  .utility-inner { justify-content: center; }
  .utility-inner a { display: none; }
  .h-hero-stage { display: block; min-height: 0; }
  .h-hero-media { position: relative; inset: auto; z-index: auto; aspect-ratio: 4 / 3; }
  .h-hero-media::after { background: linear-gradient(0deg, rgba(18, 27, 32, .86) 0%, rgba(18, 27, 32, .2) 46%, rgba(18, 27, 32, 0) 70%); }
  .h-hero .yc-caption { left: var(--gutter); right: var(--gutter); bottom: 66px; justify-items: start; max-width: none; text-align: left; }
  .h-hero .yc-caption > span { display: none; }
  .h-hero .yc-caption strong { font-size: 15px; }
  .h-hero .yc-caption a { display: none; }
  .h-hero .yc-controls { left: var(--gutter); right: var(--gutter); bottom: 12px; width: auto; }
  .h-hero-inner { padding-block: 34px 42px; pointer-events: auto; }
  .h-hero h1 { margin-top: 16px; font-size: clamp(32px, 8.6vw, 46px); }
  .h-hero-lead { margin-top: 18px; font-size: 16px; }
  .h-hero-actions { margin-top: 26px; }
  .h-head > p { font-size: 16px; }
  .h-range-info { display: block; }
  .h-range-info > .h-cats { margin-top: 24px; }
  .h-machines { grid-template-columns: 1fr; }
  .h-machine-main { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
  .h-machine-photo { aspect-ratio: auto; min-height: 100%; }
  .h-machine-body { padding: 16px; }
  .h-machine h4 { margin-top: 6px; font-size: 17px; }
  .h-machine-type { font-size: 11px; }
  .h-machine-spec { margin-top: 6px; font-size: 13px; }
  .h-machine-badge { left: 0; top: 0; max-width: 100%; padding: 5px 8px; font-size: 9.5px; letter-spacing: .04em; line-height: 1.35; }
  .h-machine-foot { padding: 14px 16px 16px; }
  .h-machine-price b { font-size: 19px; }
  .h-visits-stage .yc-frame { aspect-ratio: 1 / 1; }
  .route-figure-caption { padding: 18px; }
  .route-directory-list { grid-template-columns: 1fr; }
  .form-split { grid-template-columns: 1fr; }
  .h-contact-lines li { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-top p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .floating-cta { right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
  .home-v2 .brand-logo { height: 30px; }
  .language-switch { padding: 0 9px; font-size: 12px; }
  .h-facts-grid { grid-template-columns: 1fr; }
  .h-fact, .h-fact:nth-child(2n) { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .h-fact:last-child { border-bottom: 0; }
  .h-fact:nth-child(n + 3) { border-bottom: 1px solid var(--line-d); }
  .h-fact:last-child { border-bottom: 0; }
  .yc-controls { gap: 8px; }
  .yc-controls button { width: 40px; height: 40px; }
  .yc-count { min-width: 54px; }
  .h-machine-main { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .h-machine-body { padding: 12px 12px 12px 14px; }
  .h-machine h4 { font-size: 16px; }
  .h-machine-foot { flex-wrap: wrap; }
  .h-role { grid-template-columns: 1fr; gap: 4px; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { padding-right: 0; }
  .h-button { width: 100%; }
  .h-text-link { white-space: normal; }
  .h-hero-actions .h-link { width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-v2 *, .home-v2 *::before, .home-v2 *::after { animation: none !important; transition: none !important; }
}

/* Blog module (homepage): newest guide featured on the left, the others as compact rows. */
.h-section-compact { padding-block: clamp(60px, 6.5vw, 96px); }
.h-blog-head { margin-bottom: clamp(30px, 3.6vw, 44px); }
.h-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.h-post > a { display: flex; flex-direction: column; height: 100%; }
.h-post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.h-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.h-post > a:hover .h-post-media img { transform: scale(1.035); }
.h-post-meta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 18px; color: var(--mut); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.h-post-meta span:first-child { color: var(--copper-ink); }
.h-post-meta span + span::before { content: "·"; margin: 0 10px; }
.h-post h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 23px); font-weight: 400; line-height: 1.25; transition: color .25s ease; }
.h-post > a:hover h3 { color: var(--copper-ink); }
.h-post-summary { display: -webkit-box; margin: 10px 0 18px; overflow: hidden; color: var(--mut); font-size: 14.5px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.h-post-link { align-self: flex-start; margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--copper-ink); font-size: 14px; }
@media (min-width: 981px) {
  .h-posts { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); grid-auto-rows: auto; column-gap: clamp(32px, 3.8vw, 60px); row-gap: 0; }
  .h-post:first-child { grid-row: 1 / span 3; }
  .h-post:first-child h3 { margin-top: 12px; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.18; }
  .h-post:first-child .h-post-summary { -webkit-line-clamp: 3; font-size: 15px; }
  .h-post:not(:first-child) > a { display: grid; grid-template-columns: clamp(150px, 13vw, 184px) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; align-content: start; column-gap: 22px; height: auto; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .h-post:nth-child(2) > a { padding-top: 0; }
  .h-post:last-child > a { padding-bottom: 0; border-bottom: 0; }
  .h-post:not(:first-child) .h-post-media { grid-row: 1 / span 4; align-self: start; aspect-ratio: 4 / 3; }
  .h-post:not(:first-child) .h-post-meta { margin-top: 0; font-size: 11px; }
  .h-post:not(:first-child) h3 { margin-top: 7px; font-size: 19px; }
  .h-post:not(:first-child) .h-post-summary { margin: 7px 0 10px; font-size: 13.5px; }
  .h-post:not(:first-child) .h-post-link { justify-self: start; font-size: 13px; }
}
@media (max-width: 980px) {
  .h-posts { gap: 30px 18px; }
  .h-post-meta { gap: 2px 12px; }
  .h-post-meta span + span { color: var(--mut); }
  .h-post-meta span + span::before { content: none; }
  .h-post h3 { font-size: 19px; }
  .h-post-summary { -webkit-line-clamp: 3; }
}
@media (max-width: 760px) {
  .h-posts { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .h-post > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-content: start; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .h-post-media { grid-row: 1 / span 3; aspect-ratio: 4 / 3; }
  .h-post-meta { margin-top: 0; font-size: 11px; }
  .h-post h3 { margin-top: 6px; font-size: 18px; }
  .h-post-summary { display: none; }
  .h-post-link { justify-self: start; margin-top: 8px; font-size: 13px; }
}
@media (max-width: 420px) {
  .h-post > a { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .h-post h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-post-media img { transition: none; }
  .h-post > a:hover .h-post-media img { transform: none; }
}

/* Language switches: ES / EN for buyers; the dashed Chinese link exists only in the review Preview. */
.language-switch + .language-switch { margin-left: 6px; }
.language-switch-review { border-style: dashed; opacity: .78; }

/* Office address + Google map in the footer (homepage). */
.home-v2 .footer-top { grid-template-columns: auto minmax(0, 1fr) minmax(300px, 420px) auto; }
.home-v2 .footer-address { color: var(--txt-d); }
.home-v2 .footer-top p a.footer-map-link { color: var(--copper-hi); font-weight: 600; }
.home-v2 .footer-top p a.footer-map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-v2 .footer-map { margin: 0; height: 168px; overflow: hidden; border: 1px solid var(--line-d2); border-radius: 4px; background: var(--g-900); }
.home-v2 .footer-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.82); }
@media (max-width: 980px) {
  .home-v2 .footer-top { grid-template-columns: minmax(0, 1fr) auto; }
  .home-v2 .footer-top p { grid-column: 1 / -1; grid-row: 2; }
  .home-v2 .footer-top > .footer-map { grid-column: 1 / -1; grid-row: 3; height: 210px; }
}
