/* ==========================================================
   MIXU Forklifts — shared stylesheet
   ========================================================== */
:root {
  --red: #d7262e;
  --red-dark: #a81b22;
  --ink: #16191f;
  --ink-2: #2a2f38;
  --steel: #5b6472;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 25, 31, .08);
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 24px; font-weight: 700; }
.lead { font-size: 18px; color: var(--steel); max-width: 640px; }
.section--dark .lead { color: #b8bfca; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: .2s ease; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #c9ced6; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar span + span { margin-left: 18px; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 32px; letter-spacing: .04em; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--red); display: grid; place-items: center; color: #fff; }
.logo-mark svg { width: 24px; height: 24px; }
.logo small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: .22em; color: var(--steel); font-weight: 600; margin-top: -4px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red); transition: width .2s; }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 20px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #f6f7f9 0%, #eceef1 55%, #e2e5e9 100%); }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: var(--red); transform: skewX(-12deg); opacity: .07; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero h1 span { color: var(--red); }
.hero .lead { margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid #d3d7dd; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 36px; line-height: 1; }
.hero-stats small { color: var(--steel); font-size: 13px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); }
.hero-badge { position: absolute; left: 0; bottom: 8%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center; }
.hero-badge b { font-family: var(--font-head); font-size: 26px; color: var(--red); }
.hero-badge small { display: block; color: var(--steel); font-size: 12px; line-height: 1.3; }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 40%; background: var(--red); transform: skewX(-14deg); opacity: .9; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: #b8bfca; margin-top: 12px; }
.crumbs { font-size: 13px; color: #9aa3b0; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; transition: .25s; position: relative; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-icon { width: 64px; height: 64px; border-radius: 14px; background: #fdecec; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.cat-icon svg { width: 38px; height: 38px; }
.cat-card h3 { font-size: 22px; margin-bottom: 6px; }
.cat-card p { color: var(--steel); font-size: 14px; flex: 1; }
.cat-range { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 14px 0 12px; }
.cat-link { font-weight: 700; color: var(--red); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.cat-link:hover { gap: 10px; }
.tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; }
.tag--muted { background: var(--bg-soft); color: var(--steel); }

/* ---------- Featured product ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-media { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.spec-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
.spec-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.spec-chip b { font-family: var(--font-head); font-size: 30px; display: block; line-height: 1.1; }
.spec-chip small { color: var(--steel); font-size: 13px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item h3 { margin: 16px 0 8px; font-size: 22px; }
.why-item p { color: #b8bfca; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; border-radius: 22px; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band p { opacity: .9; margin-top: 6px; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 12px; background: #fdecec; color: var(--red); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--steel); font-size: 13px; }
.contact-list b, .contact-list a { font-size: 16px; font-weight: 700; }
.contact-list a:hover { color: var(--red); }
.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; background: var(--bg-soft); transition: .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 14px; color: var(--steel); }
.form-note.ok { color: #1a7f37; font-weight: 600; }

/* ---------- Products page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; position: relative; }
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.prod-card[hidden] { display: none; }
.prod-img { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f7f8fa, #e9ecef); display: grid; place-items: center; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.prod-img svg { width: 46%; height: auto; color: #b9c0ca; }
.prod-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.prod-body h3 { margin: 6px 0 10px; }
.prod-body p { color: var(--steel); font-size: 14px; flex: 1; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.prod-specs span { font-size: 12px; font-weight: 600; background: var(--bg-soft); padding: 5px 10px; border-radius: 6px; }
.prod-actions { display: flex; gap: 10px; }
.prod-actions .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery-main { background: linear-gradient(160deg, #f7f8fa, #e9ecef); border-radius: 20px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; mix-blend-mode: multiply; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; background: var(--bg-soft); aspect-ratio: 1 / 1; overflow: hidden; padding: 6px; transition: .2s; }
.thumbs button.active, .thumbs button:hover { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-info h1 { font-size: clamp(40px, 5vw, 64px); }
.pd-sub { color: var(--steel); font-size: 17px; margin: 10px 0 24px; }
.pd-key { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.pd-key div { background: #fff; padding: 16px 18px; }
.pd-key b { font-family: var(--font-head); font-size: 30px; display: block; line-height: 1.1; }
.pd-key small { color: var(--steel); font-size: 13px; }
.pd-list { list-style: none; margin: 0 0 28px; display: grid; gap: 10px; }
.pd-list li { display: flex; gap: 10px; font-size: 15px; }
.pd-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.tab { background: none; border: 0; padding: 14px 20px; font-weight: 700; font-size: 15px; color: var(--steel); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab.active { color: var(--ink); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table thead th { background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.spec-table td:first-child { color: var(--steel); width: 45%; }
.spec-table td:last-child { font-weight: 600; }
.spec-table .group td { background: var(--bg-soft); font-weight: 800; color: var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .n { font-family: var(--font-head); font-size: 40px; color: var(--red); line-height: 1; }
.step h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 6px; }
.step p { font-size: 14px; color: var(--steel); }

.rules { list-style: none; display: grid; gap: 12px; counter-reset: r; }
.rules li { counter-increment: r; display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--red); flex: none; width: 28px; }
.box-title { font-family: var(--font-head); text-transform: uppercase; font-size: 22px; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.footer { background: #0f1115; color: #a7afbb; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #252a33; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Single-page additions ---------- */
:root { color-scheme: light; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.why-ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(215, 38, 46, .16); color: #ff6b70; display: grid; place-items: center; }
.why-ic svg { width: 26px; height: 26px; }
.crumbs--light { color: var(--steel); margin-bottom: 20px; }
.crumbs--light a:hover { color: var(--red); }
.pd-top { padding-top: 40px; }
.prose { display: grid; gap: 14px; min-width: 0; }
.prose p:not(.lead) { color: var(--steel); }
.steps-lead { margin-bottom: 28px; }
.two-col > * { min-width: 0; }
.two-col .spec-chips { margin: 18px 0 0; }
.table-wrap { overflow-x: auto; border-radius: 14px; }
.request-out { display: grid; gap: 10px; }
.request-out label { margin: 0; }
.request-out textarea { min-height: 150px; background: #fff; font-size: 14px; }
.request-out .btn { justify-self: start; }
.form-note.err { color: var(--red-dark); font-weight: 600; }
.soon { color: var(--steel); font-weight: 600; font-style: italic; }
html { scroll-padding-top: 90px; }
.filter-block { display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.filter-block .filters { margin-bottom: 0; }
.filter-label { flex: none; width: 76px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.chip--sm { padding: 7px 14px; font-size: 13px; }
.result-count { margin: 22px 0 22px; color: var(--steel); font-size: 14px; }
.prod-icon { width: 42%; color: #b9c0ca; display: grid; }
.prod-icon svg { width: 100%; height: auto; }
.prod-price { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: -4px 0 16px; }
.pd-title { font-size: clamp(34px, 4.2vw, 52px); }
.nowrap { white-space: nowrap; }
.logo { font-size: 24px; line-height: 1.05; }
.logo small { margin-top: 2px; }
.footer-company { color: #fff; font-size: 13px; letter-spacing: .02em; }
@media (max-width: 400px) { .logo { font-size: 20px; } .logo-mark { width: 34px; height: 34px; } }
.maker { display: grid; gap: 10px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 14px 18px; margin: -6px 0 24px; background: var(--bg-soft); }
.maker small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.maker b, .maker span { font-size: 15px; }
.maker span { color: var(--ink-2); }
.pd-banner { margin: 0 0 40px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #111; }
.pd-banner img { width: 100%; height: auto; display: block; }
.thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.variants { margin-top: 56px; }
.variants h2 { margin-bottom: 20px; }
.spec-table--multi td:first-child { width: auto; color: var(--ink); font-weight: 600; }
.spec-table--multi td { font-weight: 500; }
.variants .prod-note { margin-top: 14px; }
.prod-note { margin-top: 32px; color: var(--steel); font-size: 14px; max-width: 70ch; }
@media (max-width: 640px) {
  .filter-block { flex-direction: column; gap: 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero .container, .feature, .contact-grid, .pd, .two-col { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin: 0 auto; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .cta-band { padding: 36px 28px; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .cat-grid, .prod-grid, .why-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats b { font-size: 28px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .spec-table th, .spec-table td { padding: 12px 14px; font-size: 14px; }
}
