/*
Theme Name: Heyu Parts
Theme URI: https://www.heyuparts.com
Author: Heyu Parts
Description: Custom B2B export theme for Heyu Parts — hardware, auto parts and household goods. Lightweight, no page builder required.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: heyuparts
*/

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #0e1b2a;
  --ink-2: #16283d;
  --ink-3: #24384f;
  --body: #51616f;
  --muted: #7c8b98;
  --line: #e3e8ee;
  --line-2: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-warm: #fbf7f2;
  --accent: #ff6a13;
  --accent-dark: #e35a06;
  --accent-soft: #fff1e8;
  --green: #0f7b4f;
  --green-soft: #e9f7f0;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 42, .06), 0 4px 14px rgba(14, 27, 42, .05);
  --shadow-md: 0 10px 30px rgba(14, 27, 42, .09);
  --shadow-lg: 0 24px 60px rgba(14, 27, 42, .14);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
strong { color: var(--ink-2); font-weight: 600; }
small { font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--ink); color: #b9c6d2; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .eyebrow { color: #ffa06a; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; display: block;
}
.eyebrow.no-rule::before { display: none; }
.lead { font-size: 1.08rem; color: var(--body); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-bottom: 0; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 46px; flex-wrap: wrap;
}
.section-head-row .section-head { margin-bottom: 0; }
.text-accent { color: var(--accent); }
.text-ink { color: var(--ink); }
.mono { font-family: var(--mono); font-size: .86rem; letter-spacing: .02em; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 19, .24); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: #ccd6df; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn-sm { padding: 10px 16px; font-size: .84rem; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: color .18s, border-color .18s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow svg { transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Top bar + header ---------- */
.topbar {
  background: var(--ink); color: #9fb0bf; font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 7px; }
.topbar .iso {
  color: #dbe5ee; letter-spacing: .08em; font-size: .72rem; font-weight: 600;
  text-transform: uppercase;
}

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(14,27,42,.08); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -.03em; }
.brand-tag { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; font-size: .9rem; font-weight: 500; color: var(--ink-3);
  border-radius: var(--radius); transition: color .16s, background .16s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav-link .chev { transition: transform .18s; }
.nav-item:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .18s; z-index: 20;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-size: .88rem; color: var(--ink-2);
}
.dropdown a:hover { background: var(--bg-soft); color: var(--accent); }
.dropdown a span { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.header-phone span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.header-phone strong { font-size: .92rem; color: var(--ink); font-weight: 700; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); align-items: center; justify-content: center;
  cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* mobile drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0; background: #fff;
  z-index: 99; overflow-y: auto; padding: 108px 24px 40px;
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-2);
  font-size: 1rem; font-weight: 500; color: var(--ink); 
}
.mobile-nav .sub a { padding-left: 18px; font-size: .9rem; color: var(--body); }
.mobile-nav .btn { margin-top: 20px; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,27,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,27,42,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 56px; align-items: center; padding: 76px 0 92px;
}
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.05rem, 3.25vw, 3.1rem); margin-bottom: 20px; }
.hero h1 .accent-line { display: block; color: var(--accent); }
.hero .lead { font-size: 1.1rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px; border-top: 1px solid #dde5ec; }
.hero-proof div { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.hero-proof svg { color: var(--green); flex: none; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.35; background: #dfe7ee;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -26px; bottom: 34px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; gap: 14px; align-items: center;
  max-width: 250px;
}
.hero-badge .num { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.04em; }
.hero-badge .lbl { font-size: .74rem; line-height: 1.35; color: var(--muted); }
.hero-badge .bar { width: 3px; align-self: stretch; background: var(--accent); border-radius: 2px; }
.hero-note {
  position: absolute; right: 18px; top: 18px; background: rgba(14,27,42,.86);
  color: #fff; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 3px; backdrop-filter: blur(4px);
}

/* ---------- 7. Stat strip ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: 2.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ---------- 8. Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5dee7; }
.product-media {
  position: relative; background: #fff; aspect-ratio: 4 / 3.2; overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-tag {
  position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94);
  border: 1px solid var(--line); border-radius: 3px; padding: 4px 9px;
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-body h3 a:hover { color: var(--accent); }
.product-spec { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-2); }
.product-foot .cap { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.product-foot .go { color: var(--ink); display: inline-flex; }
.product-card:hover .go { color: var(--accent); }

.icon-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: border-color .2s, box-shadow .2s;
}
.icon-card:hover { border-color: #cfd9e2; box-shadow: var(--shadow-sm); }
.icon-box {
  width: 46px; height: 46px; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.icon-card p { font-size: .9rem; margin-bottom: 0; }

/* proof / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split-media .caption {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.95);
  border-radius: var(--radius); padding: 10px 14px; font-size: .76rem; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: .94rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(15,123,79,.25);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 10px; width: 5px; height: 9px;
  border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mini-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.mini-stats .n { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.mini-stats .l { font-size: .76rem; color: var(--muted); }

/* ---------- 9. Process ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 18px 0 0; }
.step::before {
  content: ""; position: absolute; top: 17px; left: 36px; right: 0; height: 1px; background: #d7e0e8;
}
.step:last-child::before { display: none; }
.step-num {
  width: 35px; height: 35px; border-radius: 50%; background: #fff; border: 1px solid #cfd9e2;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono);
  font-size: .76rem; font-weight: 600; color: var(--ink-2); position: relative; z-index: 1;
  margin-bottom: 16px;
}
.step:first-child .step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.step h4 { font-size: .94rem; margin-bottom: 5px; }
.step p { font-size: .8rem; line-height: 1.55; margin: 0; color: var(--muted); }

/* ---------- 10. Materials / chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 8px 14px; border: 1px solid #d8e0e8; border-radius: 40px;
  font-size: .8rem; font-weight: 500; color: var(--ink-2); background: #fff;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 11. Testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.quote-mark { color: var(--accent); font-size: 2.4rem; line-height: 1; font-family: Georgia, serif; margin-bottom: 8px; }
.quote-card blockquote { margin: 0 0 22px; font-size: .95rem; color: var(--ink-3); line-height: 1.7; }
.quote-person { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink);
  color: #fff; font-size: .8rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
  flex: none;
}
.quote-person b { display: block; font-size: .86rem; color: var(--ink); }
.quote-person span { font-size: .76rem; color: var(--muted); }

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .98rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; background: var(--ink-2); top: 50%; left: 0; right: 0; height: 1.5px; transition: transform .2s;
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq details[open] summary { color: var(--accent); }
.faq .answer { padding: 0 44px 22px 0; font-size: .92rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- 13. CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: #b9c6d2; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.25), transparent 68%);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 68px 0; }
.cta-inner h2 { color: #fff; margin-bottom: 14px; }
.cta-inner p { margin-bottom: 0; max-width: 48ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- 14. Footer ---------- */
.site-footer { background: #0a1521; color: #93a3b1; font-size: .88rem; }
.footer-main { padding: 64px 0 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .86rem; line-height: 1.7; margin: 16px 0 20px; max-width: 32ch; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.5; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .78rem;
}
.footer-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.16); border-radius: 5px;
  display: flex; align-items: center; justify-content: center; color: #b9c6d2;
}
.socials a:hover { border-color: var(--accent); color: #fff; background: var(--accent); }

/* ---------- 15. Page hero / breadcrumb ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,106,19,.09), transparent 65%);
}
.page-hero .inner { position: relative; max-width: 780px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.page-hero p { margin-bottom: 0; max-width: 62ch; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: #c3ced8; }
.breadcrumb .current { color: var(--ink-2); }

/* ---------- 16. Products listing ---------- */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 16px; border: 1px solid var(--line); background: #fff; border-radius: 40px;
  font-family: inherit; font-size: .83rem; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: all .16s;
}
.filter-btn:hover { border-color: var(--ink-2); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.result-count { font-size: .8rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card.is-hidden { display: none; }

/* ---------- 17. Product detail ---------- */
.pd-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; mix-blend-mode: multiply; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumbs button {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0;
  overflow: hidden; cursor: pointer;
}
.gallery-thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }

.pd-info .sku { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.pd-info h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); margin: 10px 0 12px; }
.pd-info .summary { font-size: .98rem; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.pd-badges span {
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px; color: var(--ink-2);
}
.spec-list { border-top: 1px solid var(--line); margin-bottom: 26px; }
.spec-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .88rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; color: var(--ink-2); font-weight: 500; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-assurance { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: .78rem; color: var(--muted); }
.pd-assurance span { display: flex; align-items: center; gap: 6px; }

.sidebar-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px;
}
.sidebar-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.sidebar-card p { font-size: .84rem; }
.sidebar-card.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 18px;
  font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.tab-btn.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.detail-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: 52px; align-items: start; }
.detail-grid > *, .contact-grid > *, .split > *, .article-layout > * { min-width: 0; }
.prose h2 { font-size: 1.55rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p, .prose li { font-size: .95rem; max-width: 74ch; }
.prose ul { padding-left: 1.2em; }
.prose ul li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .88rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--bg-soft); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-top: 1px solid var(--line); }
.prose tbody tr:hover { background: #fafcfd; }
.prose .note {
  background: var(--bg-warm); border-left: 3px solid var(--accent); padding: 16px 18px;
  font-size: .9rem; margin: 24px 0;
}
.prose img { border-radius: var(--radius); }

/* ---------- 18. About / timeline ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 30px; margin: 0; list-style: none; }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -38px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent);
}
.timeline .year { font-family: var(--mono); font-size: .8rem; color: var(--accent); font-weight: 600; }
.timeline h4 { margin: 3px 0 4px; }
.timeline p { font-size: .88rem; margin: 0; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  background: #fff; text-align: center;
}
.cert .seal {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%;
  border: 1px dashed #c8d3dd; display: flex; align-items: center; justify-content: center; color: var(--green);
}
.cert b { display: block; font-size: .86rem; color: var(--ink); }
.cert span { font-size: .72rem; color: var(--muted); }

.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-top: 2px solid var(--ink); padding-top: 18px; }
.value .no { font-family: var(--mono); font-size: .74rem; color: var(--accent); }
.value h3 { font-size: 1rem; margin: 6px 0 6px; }
.value p { font-size: .88rem; margin: 0; }

/* ---------- 19. Blog ---------- */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-meta .cat { color: var(--accent); font-weight: 700; }
.post-body h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; }
.post-body h3 a:hover { color: var(--accent); }
.post-body p { font-size: .87rem; margin-bottom: 18px; }
.post-body .link-arrow { margin-top: auto; align-self: flex-start; }
.featured-post { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.featured-post .post-cover { aspect-ratio: auto; height: 100%; min-height: 320px; }
.featured-post .post-body { padding: 40px 42px; justify-content: center; }
.featured-post h2 { font-size: 1.7rem; }

.article-head { max-width: 760px; margin: 0 auto; }
.article-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .8rem; color: var(--muted); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 2px solid var(--line); padding-left: 18px; }
.toc h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; font-size: .84rem; color: var(--body); padding: 5px 0; line-height: 1.45; }
.toc a:hover { color: var(--accent); }
.article-body { max-width: 760px; }
.article-body h2 { scroll-margin-top: 100px; }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 20px 22px; margin-top: 40px; }
.author-box .avatar { width: 46px; height: 46px; }

/* ---------- 20. Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item .ico {
  width: 38px; height: 38px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-item b { display: block; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: .94rem; color: var(--ink-2); }
.contact-item a:hover { color: var(--accent); }
.contact-item small { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .hint { font-size: .84rem; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #d6dee6; border-radius: var(--radius);
  font-family: inherit; font-size: .9rem; color: var(--ink); background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a3b0bc; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,19,.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d92d20; }
.field .error-msg { display: none; font-size: .75rem; color: #d92d20; margin-top: 4px; }
.field.has-error .error-msg { display: block; }
.file-drop {
  border: 1px dashed #c9d4de; border-radius: var(--radius); padding: 16px; text-align: center;
  font-size: .8rem; color: var(--muted); background: var(--bg-soft); cursor: pointer;
}
.file-drop:hover { border-color: var(--accent); color: var(--accent); }
.form-note { font-size: .74rem; color: var(--muted); margin: 14px 0 0; }
.form-note a { text-decoration: underline; }
.form-success {
  display: none; background: var(--green-soft); border: 1px solid rgba(15,123,79,.25);
  color: #0b5c3c; border-radius: var(--radius); padding: 14px 16px; font-size: .88rem; margin-bottom: 18px;
}
.contact-map { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.map-placeholder {
  aspect-ratio: 16 / 7; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--muted); font-size: .84rem;
  background-image: linear-gradient(rgba(14,27,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,27,42,.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- 21. Floating contact ---------- */
.float-contact { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: #fff; transition: transform .18s;
}
.float-btn:hover { transform: translateY(-2px); }
.float-btn.wa { background: #25d366; }
.float-btn.mail { background: var(--ink); }

/* ---------- 22. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600;
  color: var(--green); background: var(--green-soft); border-radius: 40px; padding: 5px 11px;
}
.notice-bar {
  background: var(--accent-soft); border: 1px solid #ffd9c2; color: #8a3b06;
  border-radius: var(--radius); padding: 12px 16px; font-size: .84rem; margin-bottom: 24px;
}
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: .85rem; color: var(--ink-2);
}
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a:hover { border-color: var(--ink); }
.err-code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; color: var(--ink); letter-spacing: -.06em; line-height: 1; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .hero-inner { gap: 36px; }
  .hero-badge { left: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar-card.sticky { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; display: none; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 52px 0 64px; }
  .hero-copy { max-width: none; }
  .hero-media { order: -1; }
  .hero-media .frame { aspect-ratio: 16 / 10; }
  .hero-badge { left: auto; right: 14px; bottom: -20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px; border-left: 1px solid var(--line); }
  .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .step:nth-child(3n)::before { display: none; }
  .step { padding-right: 22px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .cta-inner { grid-template-columns: 1fr; gap: 26px; padding: 54px 0; }
  .cta-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .pd-top { grid-template-columns: 1fr; gap: 32px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .post-cover { min-height: 240px; }
  .featured-post .post-body { padding: 28px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .value-row { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 64px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-main > div:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .prose { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose table { min-width: 560px; }
  .prose table th, .prose table td { padding: 10px 12px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; padding: 12px 14px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .topbar { font-size: .7rem; }
  .topbar .container { min-height: 34px; }
  .topbar .topbar-left { gap: 10px; }
  .topbar .topbar-left > span:not(.iso) { display: none; }
  .topbar .topbar-left .iso { display: inline; letter-spacing: .06em; }
  .topbar-right { gap: 10px; }
  .topbar a, .topbar .iso { white-space: nowrap; }
  .topbar .topbar-right .email { display: none; }
  .brand-tag { display: none; }
  .hero h1 { font-size: 2.05rem; }
  .hero .lead { font-size: 1rem; }
  .hero-proof { gap: 8px 18px; }
  .hero-badge { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 1.7rem; }
  .grid-2, .grid-3, .grid-4, .product-grid, .form-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3n)::before { display: block; }
  .step:nth-child(2n)::before { display: none; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .section { padding: 52px 0; }
  .section-head-row { margin-bottom: 30px; }
  .faq summary { font-size: .92rem; }
  .spec-list div { grid-template-columns: 110px 1fr; }
  .form-card { padding: 24px 20px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .float-contact { right: 14px; bottom: 14px; }
  .float-btn { width: 44px; height: 44px; }
}

/* ==========================================================
   Heyu Parts — theme additions
   (WordPress specifics + components added on top of the base)
   ========================================================== */

/* ---------- 21. Stats band ---------- */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats-band .stats { padding-top: 0; padding-bottom: 0; }
.stats-band .stat { padding: 34px 28px; }
.stats-band .stat:first-child { padding-left: 0; }

/* ---------- 22. Category cards ---------- */
.cat-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5dee7; }
.cat-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f2f5f8; border-bottom: 1px solid var(--line-2); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 20px; }
.cat-body h3 { font-size: .99rem; margin: 0 0 3px; color: var(--ink); }
.cat-body .count { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cat-body .go { color: var(--ink); display: inline-flex; flex: none; transition: color .2s, transform .2s; }
.cat-card:hover .cat-body .go { color: var(--accent); transform: translateX(3px); }

/* ---------- 23. Page body width ---------- */
.page-content { max-width: 860px; }
.article-body { max-width: 860px; }
.article-cover img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.author-box .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.author-box b { display: block; font-size: .95rem; }

/* ---------- 24. Form alert ---------- */
.rfq-alert {
  background: #fdecec; border: 1px solid #f5c2c0; color: #8f1f1a;
  border-radius: var(--radius); padding: 12px 14px; font-size: .88rem; margin-bottom: 18px;
}

/* ---------- 25. Menu lists produced by WordPress ---------- */
.mobile-menu, .footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: #a9b8c6; font-size: .9rem; }
.footer-menu a:hover { color: #fff; }
.mobile-menu .sub-menu { list-style: none; padding-left: 16px; margin: 0; }

/* ---------- 26. WordPress core classes ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.alignleft { float: left; margin: 0 24px 18px 0; }
.alignright { float: right; margin: 0 0 18px 24px; }
.aligncenter { display: block; margin: 0 auto 18px; }
.alignwide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .wp-block-image figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.prose .wp-block-table table { width: 100%; }
.prose blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--accent);
  background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2);
}
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .dots { border: 0; }

/* Admin bar offset on the sticky header */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ---------- 27. Responsive patches for the additions ---------- */
@media (max-width: 1024px) {
  .stats-band .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .stats-band .stat { padding: 22px 16px; }
  .stat-num { font-size: 1.7rem; }
  .page-content, .article-body { max-width: 100%; }
}

/* ---------- 28. Nav list reset (WordPress outputs ul/li) ---------- */
.nav { list-style: none; padding: 0; }
.nav li { margin: 0; }
.nav .sub-menu { list-style: none; }

/* ---------- 29. Footer / contact refinements ---------- */
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; font-size: .9rem; }
.contact-item b, .contact-item b a { text-transform: none; letter-spacing: 0; }
.cat-media { aspect-ratio: 4 / 3.2; }

/* ---------- 30. Mobile topbar: stop the announcement forcing horizontal scroll ---------- */
@media (max-width: 1024px) {
  .topbar .container { gap: 14px; }
  .topbar-left { min-width: 0; flex: 1 1 auto; }
  .topbar .iso {
    display: block; max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
}
@media (max-width: 820px) {
  .topbar .container { justify-content: center; min-height: 34px; }
  .topbar-right { display: none; }
  .topbar .iso { font-size: .68rem; letter-spacing: .08em; }
}

/* ---------- 31. Mobile drawer CTA button ---------- */
.mobile-nav .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-bottom: 0; color: #fff;
}
