/* Honmi Logistics — light, airy company site */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-footer: #eef1f4;
  --ink: #1b2430;
  --ink-soft: #4a5560;
  --muted: #6b7580;
  --line: #e4e8ec;
  --accent: #0d7d86;
  --accent-hover: #0a666e;
  --accent-soft: #e7f5f6;
  --white: #ffffff;
  --error: #b42318;
  --error-bg: #fdecea;
  --ok: #0f6b4c;
  --ok-bg: #e7f5ef;
  --shadow: 0 10px 30px rgba(27, 36, 48, 0.06);
  --shadow-soft: 0 6px 20px rgba(27, 36, 48, 0.05);
  --header-h: 72px;
  --font: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Archivo Narrow", "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--accent);
  color: var(--white);
  padding: 8px 12px;
  font-weight: 600;
}
.skip:focus { top: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: calc(var(--wrap) + 64px);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo img.mark {
  width: 36px;
  height: 36px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.16em;
}
.logo-text .tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover,
.nav a:focus-visible { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  min-width: 44px;
  min-height: 36px;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--white);
}
.lang-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 12px 20px;
  min-height: 44px;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-gold,
.btn-navy {
  background: var(--accent);
  color: var(--white);
}
.btn-gold:hover, .btn-gold:focus-visible,
.btn-navy:hover, .btn-navy:focus-visible { background: var(--accent-hover); }
.btn-outline,
.btn-outline-dark {
  background: var(--white);
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover, .btn-outline:focus-visible,
.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn-login {
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.menu-btn:focus-visible { outline: 2px solid var(--accent); }

.mobile-panel {
  display: none;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 8px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.mobile-panel a:hover { color: var(--accent); }
.mobile-panel .btn { width: 100%; margin-top: 14px; color: var(--white); }

/* Layout */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.kicker,
.kicker.light {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; font-weight: 600; }
.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 40em;
  font-weight: 400;
}
.muted { color: var(--muted); }
hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Hero — light split */
.hero {
  background: var(--bg);
  padding: 56px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  max-width: 14em;
  margin: 0 0 20px;
  text-wrap: balance;
  font-weight: 600;
}
.hero .lead { max-width: 36em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 28px;
}
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 60% 50%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  border: 1px solid #cce3e5;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-copy p { margin: 0 0 16px; color: var(--ink-soft); }
.about-copy p:last-child { margin-bottom: 0; }
.policy {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 400;
}
.photo-frame { position: relative; margin: 0; }
.photo-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.photo-frame figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.photo-frame .caption-bar {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

/* Services */
#services { background: var(--bg-alt); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}
.service-card .num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 13px;
}
.service-card h3 { margin-top: 4px; }
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  flex: 1;
}
.service-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

/* Area */
.area { background: var(--bg); }
.ramp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 40px;
}
.ramp-card {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 24px;
  border-radius: 12px;
}
.ramp-card .code {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 6px;
}
.ramp-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 15.5px; }
.placeholder-note {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 4px;
}
.area-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}
.map-panel {
  background: var(--bg-alt);
  color: var(--ink);
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.map-canvas {
  flex: 1;
  min-height: 360px;
  background: #eef3f6;
  position: relative;
}
.map-canvas svg { width: 100%; height: 100%; display: block; }
.map-caption {
  padding: 12px 16px 14px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.cover-card { background: var(--bg-alt); }

/* Quote */
.quote { background: var(--bg-alt); }
.quote .kicker { color: var(--accent); }
.quote h2, .quote .lead { color: var(--ink); }
.quote .lead { color: var(--ink-soft); }
.quote a { color: var(--accent); }
.form {
  margin-top: 36px;
  background: var(--white);
  color: var(--ink);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.req { color: var(--accent); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 6px;
  padding: 12px 12px;
  font-size: 16px;
  min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
  background: var(--white);
}
.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--error);
  background: var(--error-bg);
}
.field-error {
  font-size: 13px;
  color: var(--error);
  min-height: 0;
  display: none;
}
.field.error .field-error { display: block; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none;
  grid-column: 1 / -1;
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid #9ad0b8;
  padding: 14px 16px;
  font-weight: 500;
  border-radius: 8px;
}
.form-success.show { display: block; }
.form-summary {
  display: none;
  grid-column: 1 / -1;
  background: var(--error-bg);
  color: var(--error);
  padding: 12px 14px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
}
.form-summary.show { display: block; }

/* Careers */
#careers { background: var(--bg); }
.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 8px;
}
.role-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.role-card p { color: var(--ink-soft); margin: 10px 0 0; }
.careers-form-wrap { margin-top: 40px; }
.careers .form { background: var(--white); }

/* Contact */
#contact, .area#contact { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
.contact-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li span.lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.contact-list a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.placeholder {
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 4px;
}
.login-callout {
  margin-top: 28px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.login-callout p { margin: 0 0 14px; }
.contact-map {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.contact-map img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 50% 40%;
}
.contact-map figcaption,
.contact-map .map-links {
  padding: 12px 16px 0;
  font-size: 13px;
  color: var(--muted);
  background: var(--white);
}
.contact-map .map-links { padding: 8px 16px 16px; }
.contact-map .map-links a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  background: var(--bg-footer);
  color: var(--ink-soft);
  padding: 56px 0 28px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer .name {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.site-footer .tag {
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  margin: 8px 0 12px;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-col h3 {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 8px; }
.site-footer .placeholder {
  color: var(--ink);
  background: var(--accent-soft);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

:lang(zh) body,
html[lang="zh"] body { line-height: 1.7; }
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3 { letter-spacing: 0.04em; }
html[lang="zh"] .hero h1 { max-width: 14em; }

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .area-split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .photo-frame img,
  .hero-photo img { height: 320px; }
  .nav { display: none; }
  .header-actions .btn-login { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { padding: 32px 0 48px; }
  .hero-grid { gap: 28px; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .header-inner, .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 32px; max-width: none; }
  .service-grid,
  .ramp-grid,
  .careers-grid,
  .form-grid { grid-template-columns: 1fr; }
  .form { padding: 20px 16px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .photo-frame img,
  .hero-photo img { height: 240px; }
  .chips li { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
