/* ==========================================================================
   MightyCargo — electricforklift.omio.top
   Shared stylesheet: industrial-tech premium
   ========================================================================== */

:root {
  /* palette */
  --ink: #0a0f1a;
  --ink-2: #111a28;
  --ink-3: #1b2635;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --surface-3: #eaeef5;
  --line: #e3e8f0;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #101827;
  --muted: #5a6b84;
  --muted-inverse: rgba(255, 255, 255, .68);
  --accent: #f5a524;
  --accent-dark: #d98a0b;
  --accent-soft: rgba(245, 165, 36, .14);
  --teal: #16c79a;

  /* typography */
  --font: "Noto Sans Thai", "IBM Plex Sans Thai", "Sarabun", system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-hero: clamp(2rem, 5vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.3rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.5rem);
  --lh-tight: 1.25;
  --lh-body: 1.75;

  /* metrics */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --space-section: clamp(56px, 8vw, 104px);
  --shadow-sm: 0 1px 2px rgba(16, 24, 39, .06), 0 8px 24px -12px rgba(16, 24, 39, .12);
  --shadow-md: 0 18px 48px -22px rgba(10, 15, 26, .34);
  --header-h: 72px;
}

*,
*::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: var(--lh-body);
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #1a1204;
  padding: 10px 18px;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.section { padding: var(--space-section) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--alt { background: var(--surface-2); }
.section--dark {
  background: var(--ink);
  color: #fff;
}
.section--dark .section-lead,
.section--dark .muted { color: var(--muted-inverse); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.section--dark .section-eyebrow { color: var(--accent); }
.section-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  min-height: 46px;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #1a1204; box-shadow: 0 12px 28px -16px rgba(245, 165, 36, .9); }
.btn-primary:hover { background: #ffb63d; }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(16, 24, 39, .06); }
.section--dark .btn-outline:hover,
.hero .btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .9rem; min-height: 38px; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; min-height: 54px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 168px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-block;
  padding: 8px 2px;
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.site-nav a:hover { color: var(--ink); border-color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px 11px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 0 4px;
}
.nav-toggle-bar:last-child { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(10, 15, 26, .96) 0%, rgba(10, 15, 26, .84) 42%, rgba(10, 15, 26, .42) 100%);
}
.hero-inner { padding: clamp(64px, 10vw, 132px) 0 clamp(56px, 8vw, 104px); max-width: 820px; }
.hero .section-eyebrow { color: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.hero-tags li {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .05);
}
.hero--compact .hero-inner { padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: .87rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a:hover { color: var(--accent-dark); }
.hero .breadcrumb { color: rgba(255, 255, 255, .6); }
.hero .breadcrumb a:hover { color: var(--accent); }
.hero .breadcrumb li + li::before { color: rgba(255, 255, 255, .35); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 26px 24px; }
.stat-value {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-value span { color: var(--accent-dark); }
.stat-label { font-size: .92rem; color: var(--muted); }
.section--dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .stat { background: var(--ink-2); }
.section--dark .stat-value { color: #fff; }
.section--dark .stat-value span { color: var(--accent); }
.section--dark .stat-label { color: var(--muted-inverse); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #d5dde9; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.card-num { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }

.category-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.category-card .card-media { border-radius: 0; margin: 0; aspect-ratio: 16 / 10; }
.category-card .card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.category-card .card-body p { color: var(--muted); }
.category-card .card-link { margin-top: auto; font-weight: 700; color: var(--accent-dark); }
.category-card .card-link::after { content: " →"; }

/* media + text split */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.section--dark .feature-list li::before { border-color: var(--accent); }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip-list li {
  margin: 0;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .88rem;
  background: var(--surface);
  color: var(--ink-3);
}
.section--dark .chip-list li { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: rgba(255, 255, 255, .85); }

/* ---------- product cards ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5dde9; }
.product-card-media {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  display: grid;
  place-items: center;
}
.product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .model {
  display: inline-block;
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 12px;
}
.product-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.product-card .spec-inline { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.product-card .card-link { margin-top: auto; font-weight: 700; color: var(--accent-dark); }
.product-card .card-link::after { content: " →"; }

/* ---------- product detail ---------- */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.product-gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 36px);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.product-gallery img { width: 100%; max-width: 560px; height: auto; }
.product-summary { padding-top: 6px; }
.product-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 14px;
}
.product-summary h2 { font-size: var(--fs-h3); margin-bottom: 14px; }
.product-summary p { color: var(--muted); }
.product-facts {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 10px;
}
.product-facts li {
  margin: 0;
  display: flex;
  gap: 10px;
  font-size: .96rem;
  color: var(--ink-3);
}
.product-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 8px;
  margin-top: .55em;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.product-facts strong { color: var(--ink); }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; }
}

/* ---------- spec table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.spec-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.spec-table caption {
  text-align: left;
  padding: 20px 24px 6px;
  font-weight: 700;
  color: var(--ink);
}
.spec-table th,
.spec-table td { padding: 14px 24px; text-align: left; border-top: 1px solid var(--line); }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.spec-table td { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- case cards ---------- */
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-card .card-media { border-radius: 0; margin: 0; aspect-ratio: 16 / 10; }
.case-card .case-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.case-metrics { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.case-metrics li {
  margin: 0;
  padding-left: 18px;
  position: relative;
  font-size: .93rem;
  color: var(--ink-3);
}
.case-metrics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(44px, 6vw, 72px) 0;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: var(--muted-inverse); margin-bottom: 0; max-width: 620px; }

/* ---------- forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: #d64545; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { background: #fff; border-color: var(--accent); outline: none; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; background: #fff6f6; }
.field .error-msg { font-size: .82rem; color: #b63333; display: none; }
.field.has-error .error-msg { display: block; }
.checkbox-row { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-weight: 400; font-size: .92rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; font-size: .95rem; }
.form-status--error { background: #fff2f2; border: 1px solid #f3c9c9; color: #a33232; }
.form-status--info { background: var(--accent-soft); border: 1px solid #f2dcae; color: #7a5205; }

/* result page */
.result-card { max-width: 720px; margin: 0 auto; text-align: center; }
.result-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-size: 1.6rem;
  font-weight: 700;
}
.result-icon--ok { background: #e8f8f1; color: #0e9b74; }
.result-icon--err { background: #fdecec; color: #c0392b; }

/* ---------- contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-aside > h2 { margin-bottom: 12px; }
.contact-steps { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-steps li { position: relative; padding-left: 48px; margin-bottom: 24px; }
.contact-steps li:last-child { margin-bottom: 0; }
.contact-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
}
.contact-steps strong { display: block; margin-bottom: 4px; }
.contact-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-meta dl { margin: 0; display: grid; gap: 14px; }
.contact-meta dt { font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.contact-meta dd { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-form-note { margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .74);
  padding: clamp(48px, 6vw, 72px) 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 40px;
}
.footer-brand .brand-logo { width: 168px; margin-bottom: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom p { margin: 0; }

/* ---------- utilities ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.nowrap { white-space: nowrap; }
.lead-lg { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* reveal animation (only when JS is available) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .product-card:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 14px 24px 22px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--surface-3); width: 100%; }
  .site-nav .btn { margin-top: 14px; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 768px) {
  :root { --space-section: 56px; }
  .container { padding: 0 18px; }
  .hero-inner { padding: 56px 0 64px; }
  .hero-bg { opacity: .42; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .spec-table th, .spec-table td { padding: 12px 16px; }
  .card { padding: 22px 20px; }
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .brand-logo { width: 142px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero-tags li { font-size: .8rem; }
  .stat { padding: 20px 18px; }
}