/* ============================================================
   Yako Machinery - Export Website Stylesheet
   ============================================================ */
:root {
  --navy: #0f2a43;
  --navy-dark: #0a1e31;
  --accent: #e87722;
  --accent-dark: #c95f10;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --text: #24303c;
  --text-muted: #5b6b7b;
  --line: #e3e8ee;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(15, 42, 67, .10);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cfd8e3;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #ffffff; }
.topbar span.seo-slogan { color: #9fb3c8; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: #fff;
  flex-shrink: 0;
}
.logo-img {
  height: 46px;
  width: auto;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-name { font-size: 20px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; }
.logo-sub { font-size: 11px; color: #9fb3c8; letter-spacing: 1.5px; text-transform: uppercase; }
.logo:hover { text-decoration: none; }

.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  color: #e8eef5;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  display: block;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

/* Mobile nav toggle (no JS) */
#nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  color: #fff;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
}
@media (max-width: 860px) {
  .nav-toggle-label { display: block; }
  .nav { width: 100%; display: none; }
  #nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; padding-bottom: 12px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 10px 0;
}
.breadcrumb a { color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(105deg, rgba(10,30,49,.92) 0%, rgba(15,42,67,.86) 45%, rgba(18,52,84,.62) 100%),
              url('../images/hero-wheel-loader.jpg') center / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232,119,34,.22) 0%, transparent 68%);
  border-radius: 50%;
}
.hero-inner {
  padding: 76px 0 84px;
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 18px; }
.hero p { font-size: 18px; color: #c8d6e4; margin-bottom: 30px; max-width: 620px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } .hero-inner { padding: 54px 0 60px; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,42,67,.16); }
.card-img {
  aspect-ratio: 4 / 3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f93a8;
  font-size: 13px;
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-img.is-placeholder { background: linear-gradient(135deg, #dfe6ee 0%, #c9d4e0 100%); padding: 16px; }
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 18.5px; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.card-body p { color: var(--text-muted); font-size: 14.5px; flex: 1; }
.card-body .more { margin-top: 14px; font-weight: 700; }

/* Feature blocks (why us) */
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.feature .ico { font-size: 34px; margin-bottom: 12px; }
.feature h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.spec-table th { background: var(--navy); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: var(--bg-soft); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dfe6ee 0%, #c9d4e0 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #7f93a8; font-size: 13px; text-align: center; padding: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Check list ---------- */
.checklist { list-style: none; margin: 16px 0 24px; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--text); }
.checklist li::before {
  content: "✔";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--accent) 0%, #f2913a 100%);
  color: #fff;
  padding: 54px 0;
  text-align: center;
}
.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { opacity: .92; margin-bottom: 24px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn { background: #fff; color: var(--accent-dark); }
.cta-band .btn:hover { background: #f4f6f8; color: var(--accent-dark); text-decoration: none; }

/* ---------- Markets ---------- */
.market-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.market-tags span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 14px;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num { font-size: 38px; font-weight: 800; color: var(--navy); }
.stat .num em { color: var(--accent); font-style: normal; }
.stat .lbl { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ---------- Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 22px; }
.info-block h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.info-block p { color: var(--text-muted); font-size: 15px; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cdd6df;
  border-radius: 7px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 16px 22px;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 16px; }
.faq p { margin-top: 10px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #aebcc9; padding: 54px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #aebcc9; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  text-align: center;
  color: #7e8fa0;
  font-size: 13px;
}

/* ---------- Floating contact bar ---------- */
.float-bar {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 26px; height: 26px; fill: #fff; }
.float-wa  { background: #25d366; }
.float-mail { background: #1a73e8; }
.float-inq { background: var(--accent); }
.float-top { background: var(--navy); }
@media (max-width: 640px) {
  .float-bar { right: 14px; bottom: 14px; gap: 8px; }
  .float-btn { width: 46px; height: 46px; }
}
