/* ==========================================================================
   TruckLink — design system
   Zero dependencies. System fonts. Works offline.
   ========================================================================== */

:root {
  --navy-950: #071320;
  --navy-900: #0b1b2b;
  --navy-800: #102a3f;
  --navy-700: #1a3a52;
  --accent: #f26b2c;
  --accent-600: #d95a20;
  --accent-soft: #fdece2;
  --ink: #0f1a24;
  --muted: #5a6b7b;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 26, 36, 0.06), 0 2px 6px rgba(15, 26, 36, 0.04);
  --shadow-md: 0 10px 24px rgba(15, 26, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 26, 36, 0.14);

  --container: 1200px;
  --header-h: 72px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid rgba(242, 107, 44, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #eaf1f7;
}
.section--dark h2 { color: #fff; }
.section--dark .lead { color: #b7c6d4; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: 1.075rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 107, 44, 0.28);
}
.btn--primary:hover { background: var(--accent-600); }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn--outline {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--navy-900); }

.btn--block { width: 100%; }

.btn--lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 36px;
  text-align: center;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce .dot { opacity: 0.55; }

/* ---------- Full-bleed hero ---------- */
.hero-full {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-full > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 16, 27, 0.93) 0%, rgba(6, 16, 27, 0.72) 42%, rgba(6, 16, 27, 0.22) 100%);
}
.hero-full .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero-full .hero-inner { max-width: 640px; }
.hero-full h1 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.7rem); }
.hero-full .hero-trust { max-width: 560px; }

/* ---------- Section header variant ---------- */
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  margin-bottom: 40px;
}
.section-head--split .lead { max-width: 420px; margin: 0; }

/* ---------- Box truck feature ---------- */
.box-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.box-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.box-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.box-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--bg-soft); }
.box-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.box-media img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.box-card .model-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.box-card .model-card-body .btn { margin-top: auto; }
.box-media--two { grid-template-columns: 1fr; }
@media (max-width: 860px) { .box-grid { grid-template-columns: 1fr; } }

/* ---------- Guide cards ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.guide-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.guide-card-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.guide-card-body .guide-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.guide-article { max-width: 780px; }
.guide-article h2 { margin-top: 44px; }
.guide-article h3 { margin-top: 28px; }
.guide-article ul { padding-left: 20px; color: #33475a; }
.guide-article li { margin-bottom: 10px; }

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy-950); color: #c7d5e1; font-size: 0.8rem; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar-note { letter-spacing: 0.04em; color: #8fa4b6; }
.topbar-contact { display: flex; align-items: center; gap: 20px; }
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dbe6ef;
  font-weight: 600;
}
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact svg { width: 15px; height: 15px; }

/* ---------- Hero: text panel + 4-photo collage ---------- */
.hero--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 620px;
  background:
    radial-gradient(760px 480px at 12% 6%, rgba(242, 107, 44, 0.12), transparent 62%),
    linear-gradient(155deg, var(--navy-950), #0f2c42);
}
.hero--split > .container {
  order: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero--split .hero-inner { max-width: 620px; padding-right: 32px; }
.hero--split h1 { font-size: clamp(2rem, 2.2vw + 1rem, 3.1rem); }
.hero--split .hero-trust { margin-top: 40px; }
.hero-collage {
  order: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  min-height: 620px;
}
.hero-collage img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 4px 14px rgba(11, 27, 43, 0.22); }
.brand-text { line-height: 1.05; }
.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  margin-top: 3px;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: #33475a;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy-900); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
  content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 18% 8%, rgba(242, 107, 44, 0.12), transparent 62%),
    linear-gradient(155deg, var(--navy-950), #0f2c42);
  color: #eaf1f7;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 96px;
}
.hero-inner { position: relative; z-index: 1; max-width: none; padding: 0; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}
.hero-media figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #8ea3b5;
}
.hero-media figcaption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 1.1rem;
  color: #b9c9d7;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
  padding-left: 0;
  font-size: 0.85rem;
  color: #9fb2c3;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(transparent, rgba(5, 14, 24, 0.55) 32%, rgba(5, 14, 24, 0.95) 68%);
  color: #fff;
}
.cat-card-body h3 { margin: 0 0 4px; font-size: 1.08rem; }
.cat-card-body p { margin: 0; font-size: 0.82rem; color: #b3c4d3; }
.cat-card-body span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 48px;
}
.stat-number {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat-number small { font-size: 1.1rem; color: var(--accent); }
.stat-label { font-size: 0.86rem; color: #9db0c1; }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: #cfd8e2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-600);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  font-size: 0.96rem;
  color: #33475a;
}
.checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* ---------- RFQ / contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-methods { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-methods li { display: flex; gap: 14px; }
.contact-methods .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}
.contact-methods svg { width: 18px; height: 18px; }
.contact-methods strong { display: block; font-size: 0.8rem; font-weight: 600; color: #9db0c1; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-methods a, .contact-methods span { font-size: 0.98rem; color: #eaf1f7; }
.contact-methods a:hover { color: var(--accent); }

.form-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #33475a;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7dee6;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 107, 44, 0.16);
}
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
.form-status { margin-top: 14px; font-size: 0.86rem; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { color: #c0392b; }
.form-status.is-success { color: #1e8449; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 76px 0 64px;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(242, 107, 44, 0.18), transparent 45%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #b7c6d4; max-width: 640px; margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  list-style: none;
  padding: 0;
  font-size: 0.82rem;
  color: #8fa4b6;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5b7488; }

/* ---------- Product listing ---------- */
.product-cat { padding: 72px 0; border-bottom: 1px solid var(--line); }
.product-cat:last-child { border-bottom: 0; }
.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.cat-head p { margin: 0; color: var(--muted); max-width: 540px; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.model-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfd8e2; }
.model-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.model-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.model-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.card-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.card-actions .btn { margin-top: 0; }
.model-card-body p { font-size: 0.86rem; color: var(--muted); margin: 0 0 16px; }
.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
}
.model-specs li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.74rem;
  color: #41566a;
}
.model-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.spec-table th,
.spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 38%;
  font-weight: 600;
  color: #33475a;
  background: var(--bg-soft);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Product detail ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumbs img {
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.is-active { border-color: var(--accent); }

.detail-price {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-600);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 20px 0 24px;
}
.detail-price span { color: var(--muted); font-weight: 500; font-size: 0.82rem; display: block; margin-top: 2px; }

.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.quick-facts {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: #33475a;
}
.quick-facts li { display: flex; gap: 10px; }
.quick-facts svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-700));
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 107, 44, 0.28), transparent 68%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 { margin: 0 0 8px; }
.cta-inner p { margin: 0; color: #b7c6d4; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 32px;
  background: var(--navy-950);
  color: #93a6b7;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #7c91a3; }
.footer p { color: #93a6b7; max-width: 300px; }
.footer h4 {
  margin: 0 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: #74889a;
}

/* ---------- Floating contact dock ---------- */
.contact-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.contact-dock a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 10px 26px rgba(15, 26, 36, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-dock a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 26, 36, 0.24); }
.contact-dock svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-dock .dock-wa {
  background: #25d366;
  color: #06301a;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
}
.contact-dock .dock-call { background: var(--navy-900); color: #fff; }
.contact-dock .dock-mail { background: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav dropdown ---------- */
.has-menu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 232px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #33475a;
}
.submenu a:hover { background: var(--bg-soft); color: var(--navy-900); }

@media (max-width: 860px) {
  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .submenu a { padding: 10px 0; }
}

/* ---------- Grid modifiers ---------- */
@media (min-width: 1025px) {
  .model-grid--four { grid-template-columns: repeat(4, 1fr); }
  .cat-grid--three { grid-template-columns: repeat(3, 1fr); }
}
.model-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) {
  .model-grid--two { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
  .contact-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }
  .nav { gap: 12px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.05rem; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-actions .btn { display: none; }
  .lang-toggle button { padding: 6px 10px; font-size: 0.76rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 76px; }
  .hero-media { order: 2; }
  .hero-inner { padding: 0; }
  .hero--split { grid-template-columns: 1fr; min-height: 0; }
  .hero--split > .container { padding-top: 56px; padding-bottom: 48px; }
  .hero--split .hero-inner { padding-right: 0; }
  .hero-collage { min-height: 0; height: 340px; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .cat-head { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .guide-grid { grid-template-columns: 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-full { min-height: 560px; }
  .hero-full .container { padding-top: 48px; padding-bottom: 48px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-dock { right: 14px; bottom: 14px; gap: 8px; }
  .contact-dock a { padding: 11px; }
  .contact-dock a span { display: none; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contact { gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
