/* ==========================================================================
   GUOFUCANG INVESTMENT GROUP — Mining Equipment Website
   Design reference: industrial / heavy-machinery corporate template
   Palette: deep graphite + construction amber
   ========================================================================== */

:root {
  --c-dark: #0b0f14;
  --c-ink: #161b22;
  --c-panel: #1c232c;
  --c-amber: #f5a623;
  --c-amber-2: #ffb63d;
  --c-text: #e7eaee;
  --c-muted: #98a2b3;
  --c-line: #2a323d;
  --c-bg: #f6f7f9;
  --c-white: #ffffff;
  --c-border: #e4e8ed;
  --c-muted-dark: #667085;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 32, 0.08);
  --font: "Inter", "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.bg-white { background: var(--c-white); }
.bg-soft { background: var(--c-bg); }
.text-center { text-align: center; }

/* ---------- Shared typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--c-amber); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-amber); }
.sec-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; }
.sec-sub { color: var(--c-muted-dark); font-size: 16px; max-width: 640px; margin-top: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.link-arrow { color: var(--c-ink); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--c-amber); padding-bottom: 2px; }
.link-arrow:hover { color: #b97a00; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--c-amber); color: #14181d; }
.btn-primary:hover { background: var(--c-amber-2); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245, 166, 35, .28); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--c-amber); color: var(--c-amber); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #232b36; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-dark); color: #b8c0cb; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar a { color: #b8c0cb; }
.topbar a:hover { color: var(--c-amber); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .dot { color: var(--c-amber); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--c-white); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--c-border); transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,23,32,.09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand .brand-logo { width: 42px; height: 42px; flex: 0 0 42px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .4px; line-height: 1.1; }
.brand-name small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; color: var(--c-muted-dark); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 6px;
  font-size: 14.5px; font-weight: 600; color: #333c47;
}
.nav-item > a:hover, .nav-item.active > a { color: var(--c-amber); background: #fdf6e9; }
.nav-item { position: relative; }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--c-border); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(15,23,32,.14); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.nav-item:hover .nav-drop, .nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: #333c47; }
.nav-drop a:hover { background: #fdf6e9; color: var(--c-amber); }
.nav-drop .cnt { color: var(--c-muted-dark); font-size: 12.5px; font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--c-ink); margin: 5px 0; transition: .25s; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: 0 0 auto 0; top: 0; background: #0f141a; color: #fff; z-index: 200;
  transform: translateY(-102%); transition: transform .3s ease; padding: 22px 6% 34px;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid #222b36; font-size: 16px; font-weight: 600; }
.mobile-nav a:hover { color: var(--c-amber); }
.mobile-nav .close { background: none; border: 0; color: #fff; font-size: 26px; float: right; line-height: 1; }
.mobile-nav .m-sub { padding-left: 16px; }
.mobile-nav .m-sub a { font-size: 14px; color: #9aa5b3; border-bottom: 1px dashed #202833; }
.mobile-nav .m-cta { margin-top: 20px; display: flex; }
.mobile-nav .m-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(245,166,35,.16), transparent 60%),
    linear-gradient(118deg, #0a0e13 0%, #121820 48%, #1a222c 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--c-amber), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 92px 0 84px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--c-amber); margin-bottom: 20px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--c-amber); }
.hero h1 { font-size: clamp(36px, 4.8vw, 62px); font-weight: 800; line-height: 1.08; letter-spacing: -1.4px; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--c-amber); }
.hero p.lead { color: #b9c2cd; font-size: 17px; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 34px; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-badges b { display: block; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-badges span { font-size: 12.5px; color: #8f9aa8; letter-spacing: .4px; }
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: -8% -6%;
  background: radial-gradient(closest-side, rgba(245,166,35,.16), transparent 72%);
}
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--c-ink); color: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-right: 1px solid #252d38; }
.stat:last-child { border-right: 0; }
.stat b { font-size: 34px; font-weight: 800; color: var(--c-amber); line-height: 1.05; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: #93a0af; letter-spacing: .4px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; position: relative; overflow: hidden; transition: all .25s ease;
}
.cat-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c-amber); opacity: 0; transition: opacity .25s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-card:hover::after { opacity: 1; }
.cat-card .art { height: 120px; margin-bottom: 16px; border-radius: 8px; background: #10161d; overflow: hidden; }
.cat-card .art img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--c-muted-dark); margin-bottom: 14px; }
.cat-card .link-arrow { font-size: 13px; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #10161d; }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-tag {
  position: absolute; left: 12px; top: 12px; background: rgba(11, 15, 20, .78); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; backdrop-filter: blur(3px);
}
.p-tag.amber { background: var(--c-amber); color: #14181d; }
.p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.p-body h3 a:hover { color: #b97a00; }
.p-specs { margin: 12px 0 16px; flex: 1; }
.p-specs li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px dashed #edf0f3; font-size: 12.5px; }
.p-specs li:last-child { border-bottom: 0; }
.p-specs span { color: var(--c-muted-dark); }
.p-specs b { font-weight: 700; color: #2b333d; text-align: right; }
.p-link { font-size: 13px; font-weight: 700; color: var(--c-ink); display: inline-flex; align-items: center; gap: 6px; }
.p-link:hover { color: #b97a00; }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-tabs button {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--c-border);
  background: #fff; font-size: 13.5px; font-weight: 600; color: #3d4550; transition: all .2s;
}
.filter-tabs button:hover { border-color: var(--c-amber); color: #b97a00; }
.filter-tabs button.active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.result-line { font-size: 13.5px; color: var(--c-muted-dark); margin-bottom: 8px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--c-muted-dark); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 24px; transition: all .25s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-ico { width: 50px; height: 50px; border-radius: 10px; background: #fdf3e0; display: grid; place-items: center; margin-bottom: 18px; }
.svc-ico svg { width: 26px; height: 26px; stroke: #c27d00; fill: none; stroke-width: 1.8; }
.svc-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.svc-card p { font-size: 13.5px; color: var(--c-muted-dark); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--c-muted-dark); font-size: 15px; margin-bottom: 14px; }
.about-points { margin-top: 22px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: #2b333d; }
.about-points li::before {
  content: ""; width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; border-radius: 4px;
  background: var(--c-amber);
  background-image: linear-gradient(45deg, transparent 44%, #14181d 44% 56%, transparent 56%),
                    linear-gradient(-45deg, transparent 62%, #14181d 62% 74%, transparent 74%);
}
.about-visual { position: relative; border-radius: 14px; overflow: hidden; background: #10161d; min-height: 340px; display: grid; place-items: center; }
.about-visual img { width: 82%; opacity: .95; }
.about-visual .frame { position: absolute; inset: 14px; border: 1px solid rgba(245,166,35,.35); border-radius: 10px; pointer-events: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, #10161d, #1c242e 55%, #232d39); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,166,35,.28), transparent 70%); }
.cta-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta-inner h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 8px; }
.cta-inner p { color: #aab5c2; font-size: 15px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(118deg, #0a0e13 0%, #141b23 60%, #1a222c 100%); color: #fff; padding: 64px 0 52px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--c-amber), transparent 72%); }
.page-hero .container { position: relative; z-index: 2; }
.crumbs { font-size: 12.5px; color: #8f9aa8; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #8f9aa8; }
.crumbs a:hover { color: var(--c-amber); }
.crumbs .sep { color: #4b5563; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.8px; }
.page-hero p { color: #aab5c2; margin-top: 10px; max-width: 640px; font-size: 15px; }

/* ---------- Product detail ---------- */
.detail-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.detail-media { background: #10161d; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-head h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.6px; line-height: 1.1; }
.detail-head .type { color: var(--c-amber); font-weight: 700; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; margin: 6px 0 18px; }
.key-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 26px; }
.key-spec { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 16px 18px; }
.key-spec span { display: block; font-size: 12px; color: var(--c-muted-dark); margin-bottom: 4px; }
.key-spec b { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.detail-intro { font-size: 15px; color: #3d4550; margin-bottom: 28px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.spec-block { margin-top: 46px; }
.spec-block h2, .related-block h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.spec-block h2::before, .related-block h2::before { content: ""; width: 6px; height: 22px; background: var(--c-amber); border-radius: 2px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; font-size: 14px; }
.spec-table th { background: var(--c-ink); color: #fff; text-align: left; padding: 13px 18px; font-size: 13px; letter-spacing: .6px; font-weight: 700; }
.spec-table td { padding: 12px 18px; border-top: 1px solid #eef1f4; }
.spec-table tr:nth-child(even) td { background: #fafbfc; }
.spec-table td:first-child { font-weight: 600; color: #3d4550; }
.spec-note { font-size: 12.5px; color: var(--c-muted-dark); margin-top: 12px; }
.related-block { margin-top: 56px; }
.related-block .prod-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; margin-bottom: 16px; }
.info-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; background: #fdf3e0; display: grid; place-items: center; }
.info-ico svg { width: 22px; height: 22px; stroke: #c27d00; fill: none; stroke-width: 1.8; }
.info-card h4 { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-muted-dark); margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 15px; font-weight: 600; color: #2b333d; }
.info-card a:hover { color: #b97a00; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: #eef1f4; min-height: 180px; display: grid; place-items: center; color: var(--c-muted-dark); font-size: 13px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 34px; }
.form-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.form-sub { font-size: 13.5px; color: var(--c-muted-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: #3d4550; margin-bottom: 7px; letter-spacing: .3px; }
.field label .req { color: #d92d20; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d7dce2; border-radius: 8px;
  font-size: 14px; background: #fbfcfd; color: var(--c-ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-amber); box-shadow: 0 0 0 3px rgba(245,166,35,.18); background: #fff; }
.form-note { font-size: 12px; color: var(--c-muted-dark); margin-top: 10px; }
.form-ok { display: none; margin-top: 14px; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; }
.form-ok.show { display: block; }
.form-err { display: none; margin-top: 12px; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; }
.form-err.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: #9aa5b3; font-size: 13.5px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand b { display: block; color: #fff; font-size: 16px; letter-spacing: .3px; }
.footer-brand small { font-size: 11px; letter-spacing: 1.4px; color: #6b7684; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--c-amber); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact svg { width: 16px; height: 16px; flex: 0 0 16px; stroke: var(--c-amber); fill: none; stroke-width: 1.8; margin-top: 2px; }
.footer-bottom { border-top: 1px solid #1d242d; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: #6b7684; flex-wrap: wrap; }
.footer-bottom a { color: #8a95a3; }
.footer-bottom a:hover { color: var(--c-amber); }
.disclaimer-line { font-size: 11.5px; color: #4f5865; margin-top: 18px; line-height: 1.7; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); z-index: 500;
  background: #10161d; color: #fff; padding: 14px 22px; border-radius: 10px; font-size: 14px;
  border-left: 4px solid var(--c-amber); box-shadow: 0 20px 40px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: all .3s ease; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Back-to-top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-ink); color: #fff; border: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: all .25s; z-index: 90; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--c-amber); color: #14181d; }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding: 70px 0 64px; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .prod-grid, .cat-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-media { max-width: 520px; }
  .related-block .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .burger { display: block; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .split { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prod-grid, .cat-grid, .svc-grid, .related-block .prod-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .key-specs { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid #252d38; }
  .topbar-left span:not(.dot) { display: none; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ---------- Detail modal (single-file / quick view) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(8, 11, 15, .72); padding: 40px 16px;
  overflow-y: auto; backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 14px; width: min(980px, 100%);
  padding: 34px; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.modal-close {
  position: absolute; right: 16px; top: 12px; border: 0; background: none;
  font-size: 28px; line-height: 1; color: #667085; cursor: pointer;
}
.modal-close:hover { color: #14181d; }
.modal-grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; }
.modal-media { background: #10161d; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-box h3 { font-size: 30px; font-weight: 800; letter-spacing: -.4px; }
.modal-box .type { color: var(--c-amber); font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin: 4px 0 16px; }
.modal-box .key-specs { grid-template-columns: repeat(3, 1fr); }
.modal-box .detail-intro { font-size: 14px; margin-bottom: 20px; }
.modal-box .spec-block { margin-top: 28px; }
@media (max-width: 860px) {
  .modal { padding: 16px; }
  .modal-box { padding: 22px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-box .key-specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .modal-box .key-specs { grid-template-columns: 1fr; }
}


/* ---------- language switch ---------- */
.topbar a[data-lang] { cursor: pointer; }
.topbar a[data-lang].active-lang { color: var(--c-amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
