/* =====================================================
   Qingdao Chonghang International Logistics — site styles
   Palette from logo: blue #2060a8, orange #f09850
   ===================================================== */

:root {
  --blue: #2060a8;
  --blue-dark: #174b86;
  --blue-deep: #0d2b4f;
  --blue-soft: #e8f0fa;
  --orange: #f09850;
  --orange-dark: #e0812e;
  --text: #1e2a3a;
  --muted: #5e6c7d;
  --line: #dfe6ef;
  --bg: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 43, 79, .08);
  --shadow-lg: 0 20px 50px rgba(13, 43, 79, .14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: calc(var(--header-h) - 82px); }
section#home { scroll-margin-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { width: min(1440px, 100% - 32px); margin-inline: auto; }
@media (max-width: 1100px) { .container { width: min(1440px, 100% - 32px); } }

/* ---------- language switching ---------- */
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }
html[data-lang="en"] body { font-size: 15.5px; }
html[data-lang="en"] .hero-title { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(240, 152, 80, .35); }
.btn-accent:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn.full { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1200; background: #fff; box-shadow: 0 2px 14px rgba(13,43,79,.06); }
.topbar { background: var(--blue-deep); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar-right { display: flex; gap: 20px; }
.topbar-link { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.topbar-link:hover { color: #fff; }

.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-zh { font-size: 18px; font-weight: 700; color: var(--blue-deep); letter-spacing: .02em; white-space: nowrap; }
.brand-en { font-size: 11px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }

.nav { display: flex; gap: 4px; }
.nav-link { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 8px; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; background: var(--blue-soft); border: 1px solid transparent; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.lang-switch .lang-opt { padding: 0 2px; transition: color .2s; }
.lang-switch .lang-opt.on { color: var(--blue); }
.lang-sep { opacity: .4; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-deep); transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--blue-deep); }
.hero-photos { position: absolute; inset: 0; }
.hero-photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.04); }
.hero-photo.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,43,79,.92) 0%, rgba(13,43,79,.78) 45%, rgba(13,43,79,.35) 100%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,43,79,.2) 0%, rgba(13,43,79,0) 40%, rgba(13,43,79,.55) 100%); }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - var(--header-h) - 131px), 1000px); padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 9vw, 120px); max-width: 1200px; }
.hero-slides { position: relative; min-height: 300px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.hero-slide.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.hero-kicker { display: inline-block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--orange); line-height: 1.2; }
.hero-title { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: .04em; margin-bottom: 20px; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.hero-desc { max-width: 640px; font-size: 17px; color: rgba(255,255,255,.86); margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-dots { display: flex; gap: 8px; margin-top: 40px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hero-dots button.active { background: var(--orange); width: 52px; }

/* ---------- stats: full-width band ---------- */
.stats { background: #fff; position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.stats .container { width: 100%; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; overflow: hidden; }
.stat { background: #fff; padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat-unit { font-size: 22px; margin-left: 2px; }
.stat-label { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.section-kicker.light { color: var(--orange); }
.section-title { font-size: clamp(26px, 3.4vw, 38px); color: var(--blue-deep); margin-bottom: 14px; }
.section-title::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 0 60%, var(--orange) 60% 100%); margin: 14px auto 0; }
.section-sub { color: var(--muted); font-size: 17px; margin: 0; }
.section-head.light .section-title { color: #fff; }

/* ---------- services ---------- */
.services { background: var(--bg); padding-top: clamp(56px, 6vw, 80px); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 24px 24px 20px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 19px; color: var(--blue-deep); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.service-tags li { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }

/* ---------- advantages ---------- */
.advantages { background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark)); color: #fff; position: relative; overflow: hidden; }
.advantages::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); right: -200px; bottom: -300px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }
.adv-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px; backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.adv-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.adv-num { font-size: 42px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 18px; opacity: .95; }
.adv-card h3 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { color: rgba(255,255,255,.8); font-size: 15px; margin: 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-visual { position: relative; padding-bottom: 70px; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-logo-card { position: absolute; left: 24px; right: 24px; bottom: 0; background: #fff; border-radius: 18px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; text-align: left; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.about-logo-card img { width: 64px; margin: 0; flex-shrink: 0; }
.about-logo-name strong { display: block; font-size: 16px; color: var(--blue-deep); }
.about-logo-name span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.about-badge { display: none; position: absolute; right: -14px; bottom: -14px; background: var(--orange); color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 999px; box-shadow: 0 10px 24px rgba(240,152,80,.4); }
.about-content .section-title { text-align: left; }
.about-content .section-title::after { margin-left: 0; }
.about-content p { color: var(--muted); font-size: 16px; }
.about-points { margin: 18px 0 28px; }
.about-points li { position: relative; padding-left: 30px; margin-bottom: 10px; font-weight: 500; }
.about-points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft); }
.about-points li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 5px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- network ---------- */
.network { background: var(--bg); }
.network-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(320px, 1fr); gap: 18px; align-items: stretch; }
.network-map-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 14px 14px 8px; box-shadow: var(--shadow); margin-bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.route-map-holder { position: relative; }
.world-map { width: 100%; height: auto; display: block; }
.wm-sea { fill: #eef4fb; }
.wm-land { fill: #d6e1ee; stroke: #fff; stroke-width: .6; }
.wm-route { fill: none; stroke: var(--blue); stroke-width: 1.3; opacity: .45; transition: opacity .2s, stroke-width .2s; }
.wm-route.wm-rail { stroke: var(--orange); stroke-dasharray: 5 4; opacity: .8; animation: dash 20s linear infinite; }
.wm-route.hot { opacity: 1; stroke-width: 2.4; }
.wm-node { cursor: pointer; outline: none; }
.wm-node circle { fill: var(--blue); stroke: #fff; stroke-width: 1.8; transition: r .2s; }
.wm-node.wm-rail circle { fill: var(--orange); }
.wm-node.hot circle, .wm-node:hover circle { r: 6; }
.wm-node text { font-size: 10.5px; font-weight: 600; fill: #2b3a4d; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.wm-hub-dot { fill: var(--orange); stroke: #fff; stroke-width: 2.5; }
.wm-hub-label { font-size: 13px; font-weight: 800; fill: var(--blue-deep); letter-spacing: .05em; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.wm-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 14px)); background: var(--blue-deep); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 1.4; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; box-shadow: var(--shadow-lg); }
.wm-tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--blue-deep); }
.wm-tip.show { opacity: 1; }
.wm-tip strong { display: block; font-size: 14px; }
.wm-tip span { color: rgba(255,255,255,.75); font-size: 12px; }
.wm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 10px 6px 2px; font-size: 12.5px; color: var(--muted); }
.wm-key { display: inline-flex; align-items: center; gap: 7px; }
.wm-key i { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--blue); }
.wm-key-rail { border-top-style: dashed !important; border-color: var(--orange) !important; }
.wm-key-hub { width: 10px !important; height: 10px !important; border: 2px solid #fff !important; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1.5px var(--orange); }
.wm-hint { margin-left: auto; font-size: 12.5px; }
.lane-list { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 10px; }
.lane { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.lane h4 { font-size: 14.5px; color: var(--blue-deep); margin-bottom: 2px; }
.lane p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue); font-size: 24px; font-weight: 800; position: relative; z-index: 1; transition: all .25s; }
.step:hover .step-num { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(32,96,168,.3); }
.step h3 { font-size: 18px; color: var(--blue-deep); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- inquiry ---------- */
.inquiry { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.inquiry::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(240,152,80,.25), transparent 65%); left: -150px; top: -150px; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.inquiry-intro .section-title { color: #fff; text-align: left; }
.inquiry-intro .section-title::after { margin-left: 0; background: var(--orange); }
.inquiry-intro p { color: rgba(255,255,255,.85); font-size: 16px; }
.inquiry-contacts { display: grid; gap: 12px; margin-top: 28px; }
.inquiry-contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 18px; font-weight: 600; }
.inquiry-contacts svg { background: rgba(255,255,255,.15); border-radius: 50%; padding: 8px; width: 38px; height: 38px; }
.inquiry-form { background: #fff; color: var(--text); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--blue-deep); }
.inquiry-form label.full { margin-bottom: 18px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { font-family: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe; color: var(--text); transition: border-color .2s, box-shadow .2s; width: 100%; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,96,168,.12); background: #fff; }
.inquiry-form input.invalid { border-color: #e05d5d; }
.inquiry-form textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-card:first-child { grid-column: 1 / -1; }
.contact-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.contact-card h4 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 15.5px; font-weight: 500; }
.contact-card a { color: var(--blue-deep); font-weight: 600; }
.contact-map { border-radius: var(--radius); border: 1px solid var(--line); min-height: 380px; position: relative; overflow: hidden; box-shadow: var(--shadow); background: var(--blue-soft); }
.map-canvas { position: absolute; inset: 0; z-index: 1; }
.map-canvas.map-failed::after { content: "Map unavailable"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.ch-pin { background: none; border: 0; }
.leaflet-popup-content { font-family: var(--font); font-size: 13.5px; line-height: 1.5; margin: 12px 16px; }
.leaflet-popup-content strong { color: var(--blue-deep); }
.map-card { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; box-shadow: var(--shadow); }
.map-card strong { font-size: 14px; color: var(--blue-deep); }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-outline-dark { background: #fff; color: var(--blue-deep); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.78); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 44px; }
.footer-logo-wrap { width: 72px; height: 72px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 16px; }
.footer-name { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.4; }
.footer-name span { display: block; font-weight: 400; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }
.footer-tagline { color: var(--orange); font-weight: 600; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col a { display: block; color: rgba(255,255,255,.75); margin-bottom: 9px; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--orange); transform: translateX(3px); }
.footer-col p { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.credits { width: 100%; font-size: 11.5px; color: rgba(255,255,255,.35); margin-top: 4px !important; }
.credits a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: #fff; }

/* ---------- floating bar ---------- */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 1100; display: flex; flex-direction: column; gap: 8px; }
.float-item { position: relative; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; border: 0; box-shadow: 0 8px 20px rgba(13,43,79,.25); transition: background .2s, transform .2s; }
.float-item:hover { background: var(--orange); color: #fff; transform: translateX(-3px); }
.float-top { background: #fff; color: var(--blue); border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.float-top.show { opacity: 1; pointer-events: auto; }
.float-tip { position: absolute; right: 58px; top: 50%; transform: translateY(-50%) translateX(8px); background: var(--blue-deep); color: #fff; padding: 8px 14px; border-radius: 8px; white-space: nowrap; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.float-item:hover .float-tip { opacity: 1; transform: translateY(-50%); }
.float-qr { display: grid; justify-items: center; gap: 8px; padding: 14px; font-size: 12px; font-weight: 500; }
.qr-box { width: 120px; height: 120px; background: #fff; color: var(--muted); border-radius: 8px; display: grid; place-items: center; font-size: 12px; border: 2px dashed var(--line); }

/* ---------- quick quote bar in hero ---------- */
.quick-quote { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr auto; gap: 10px; align-items: end; background: rgba(255,255,255,.96); border-radius: 14px; padding: 14px; margin-top: 30px; max-width: 980px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.quick-quote label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qq-label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.quick-quote input, .quick-quote select { font-family: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.quick-quote input:focus, .quick-quote select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,96,168,.12); }
.quick-quote .btn { padding: 12px 22px; border-radius: 10px; }

/* ---------- merged contact + quote ---------- */
.contact-dl { display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; margin: 22px 0 18px; font-size: 15px; }
.contact-dl dt { color: rgba(255,255,255,.55); font-size: 13px; padding-top: 2px; }
.contact-dl dd { margin: 0; color: #fff; }
.contact-dl a { color: #fff; font-weight: 600; }
.contact-dl a:hover { color: var(--orange); }
.contact-media { display: grid; grid-template-columns: 1fr 190px; gap: 14px; align-items: stretch; }
.mini-map-wrap { position: relative; z-index: 0; isolation: isolate; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #dfe7f1; }
.mini-map { height: 230px; }
.mini-map-links { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 8px; z-index: 500; }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--orange); color: #fff; }
.wechat-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.wechat-card .qr-box { width: 120px; height: 120px; background: #fff; color: var(--muted); border-radius: 10px; display: grid; place-items: center; font-size: 12px; border: 2px dashed var(--line); }
.wechat-card img { width: 120px; height: 120px; border-radius: 10px; }
.wechat-card p { margin: 0; font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.45; }
.wechat-card strong { color: #fff; }
.form-status { margin: 12px 0 0; text-align: center; font-weight: 600; font-size: 14px; color: #1d7a46; }
.form-status.error { color: #c0392b; }
.inquiry-grid { align-items: stretch; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .brand-en { display: none; }
  .nav-link { padding: 10px 10px; font-size: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .network-grid { grid-template-columns: 1fr; }
  .lane-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 10px 16px 18px; box-shadow: 0 16px 30px rgba(13,43,79,.12); display: none; }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link::after { display: none; }
  .navbar-inner { height: 68px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-zh { font-size: 16px; }
  .hero-shade { background: linear-gradient(180deg, rgba(13,43,79,.85) 0%, rgba(13,43,79,.7) 100%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(3) { border-left: 0; }
  .stat-num { font-size: 32px; }
  .about-grid, .inquiry-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .quick-quote { grid-template-columns: 1fr 1fr; }
  .quick-quote .btn { grid-column: 1 / -1; }
  .wm-node text { display: none; }
  .wm-hint { margin-left: 0; }
  .about-badge { right: 8px; bottom: -14px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .steps::before { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card:first-child { grid-column: auto; }
}
@media (max-width: 600px) {
  .services-grid, .adv-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .lane-list { grid-template-columns: 1fr; }
  .network-map-wrap { padding: 8px 8px 6px; }
  .hero-actions .btn { width: 100%; }
  .quick-quote { grid-template-columns: 1fr; padding: 12px; }
  .contact-media { grid-template-columns: 1fr; }
  .wechat-card { flex-direction: row; text-align: left; }
  .inquiry-form { padding: 24px 18px; }
  .brand-zh { font-size: 15px; white-space: normal; }
  .float-bar { right: 12px; bottom: 24px; }
  .float-item { width: 44px; height: 44px; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ---------- boxed layout (optional): add class "boxed" to <body> ---------- */
html:has(body.boxed) { background: #e6ebf2; }
body.boxed { max-width: 1320px; margin: 0 auto; position: relative; box-shadow: 0 0 60px rgba(13,43,79,.12); }
body.boxed .float-bar { right: max(18px, calc((100vw - 1320px) / 2 + 18px)); }

/* ---------- inset hero (optional): class "hero-inset" on <body> keeps the photo inside the content column ---------- */
body.hero-inset .hero { width: min(1200px, 100% - 32px); margin: 20px auto 0; border-radius: 24px; }
body.hero-inset .hero-inner { width: min(1120px, 100% - 32px); }
body.hero-inset .hero-inner { min-height: min(calc(100vh - var(--header-h) - 100px), 940px); }
body.hero-inset .stats-grid { width: min(1120px, 100%); margin-inline: auto; }
@media (max-width: 900px) {
  body.hero-inset .hero { width: 100%; margin-top: 0; border-radius: 0; }
  body.hero-inset .hero-inner { width: min(1200px, 100% - 32px); }
}

/* ---------- short desktop screens (e.g. 1366x768): tighten the hero so the stats band stays above the fold ---------- */
@media (min-width: 901px) and (max-height: 820px) {
  .hero-inner { padding: 36px 0 44px; }
  .hero-slides { min-height: 240px; }
  .hero-kicker { margin-bottom: 10px; }
  .hero-title { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 14px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-dots { margin-top: 22px; }
}

/* ---------- every section fills the screen after a nav jump (desktop) ---------- */
@media (min-width: 901px) {
  .section { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - var(--header-h) + 82px), 1000px); }
  .section > .container { width: min(1440px, 100% - 32px); }
}
