/* ===========================================================
   RUIXIANG AUTOMOTIVE PRODUCTS - Global Site
   Design reference: clean, decision-led B2B (TORVA-style)
   =========================================================== */

/* Self-hosted typefaces — work offline, no external requests */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #757575;
  --line: #e6e6e6;
  --paper: #ffffff;
  --sand: #f6f5f2;
  --accent: #b4472f;
  --accent-dark: #8f3522;
  --navy: #16283d;
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Utility ---------- */
.eyebrow { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.display { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -1.5px; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 2px;
  font-size: 14px; font-weight: 600; letter-spacing: .3px; cursor: pointer; transition: .2s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--sand); }
.section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.8px; font-weight: 600; margin-top: 14px; }
.sec-desc { color: var(--muted); margin-top: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 58px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: 2px; line-height: 1.1; }
.brand-sub { font-size: 9px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav > a, .nav-group > a { font-size: 14px; font-weight: 500; letter-spacing: .3px; position: relative; padding: 6px 0; display: inline-block; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.nav-group { position: relative; display: flex; align-items: center; height: 84px; }
.drop-arrow { font-size: 9px; margin-left: 5px; }
.dropdown { display: none; position: absolute; top: 100%; left: -20px; z-index: 200; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.1); border-radius: 3px; padding: 16px 0; min-width: 520px; grid-template-columns: repeat(2, 1fr); gap: 2px 16px; }
.nav-group:hover .dropdown, .nav-group.open .dropdown { display: grid; }
.dropdown a { display: block; padding: 9px 20px; font-size: 13.5px; }
.dropdown a:hover { background: var(--sand); color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch { font-size: 12px; letter-spacing: 1px; border: 1px solid var(--line); padding: 8px 12px; border-radius: 2px; }
.lang-switch:hover { border-color: var(--ink); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { background: var(--sand); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; align-items: center; gap: 40px; }
.hero-copy { padding: 80px 0; }
.hero-copy .eyebrow { margin-bottom: 26px; display: block; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lead { max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; height: 100%; min-height: 620px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sand) 0%, rgba(246,245,242,0) 22%); }

/* ---------- Decision paths ---------- */
.path-intro { max-width: 760px; margin-bottom: 46px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card { border: 1px solid var(--line); border-radius: 3px; padding: 34px 30px 30px; display: flex; flex-direction: column; min-height: 250px; transition: .2s; background: #fff; }
.path-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.path-num { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.path-card h3 { font-size: 22px; font-weight: 600; margin: 18px 0 12px; letter-spacing: -.3px; }
.path-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.path-link { margin-top: auto; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 3px; align-self: flex-start; }
.path-card:hover .path-link { border-color: var(--accent); color: var(--accent); }

/* ---------- Product system cards ---------- */
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sys-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: .25s; }
.sys-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-3px); }
.sys-img { height: 250px; overflow: hidden; background: var(--sand); }
.sys-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s; }
.sys-card:hover .sys-img img { transform: scale(1.04); }
.sys-body { padding: 24px 24px 28px; }
.sys-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.sys-body p { font-size: 14px; color: var(--muted); }

/* ---------- Why / numbered ---------- */
.why-grid { display: grid; grid-template-columns: 340px 1fr; gap: 60px; }
.why-list { border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.why-num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 1px; padding-top: 4px; }
.why-item h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: none; }
.stat-num { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -1px; }
.stat-label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .72; margin-top: 8px; }
.band-dark { background: var(--navy); color: #fff; }

/* ---------- Gallery / product detail ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; object-position: center top; background: var(--sand); }
.gallery-item figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--muted); }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-copy h2 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.6px; margin-bottom: 20px; font-weight: 600; }
.detail-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.check-list { margin: 26px 0 32px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Page hero (inner pages) */
.page-hero { background: var(--sand); padding: 66px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -1px; font-weight: 600; margin: 12px 0 12px; }
.page-hero p { color: var(--muted); }
.crumb { font-size: 12px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.crumb a:hover { color: var(--accent); }
.series-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* CTA */
.cta-band { background: var(--accent); color: #fff; padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.5px; margin-bottom: 8px; }
.cta-inner p { opacity: .9; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 56px; }
.contact-info { background: var(--sand); padding: 36px; border-radius: 3px; }
.contact-info h2 { font-size: 24px; font-weight: 600; margin-bottom: 22px; }
.contact-info dl dt { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.contact-info dl dd { font-size: 15px; margin-top: 5px; }
.form-card { border: 1px solid var(--line); padding: 36px; border-radius: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; font-size: 15px; font-family: inherit; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; background: #edf5ee; color: #27653a; font-size: 14px; border-radius: 2px; }
.form-msg.show { display: block; }

/* Footer */
.site-footer { background: #14181d; color: #b9c0c8; padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-logo { height: 76px; background: #fff; border-radius: 4px; padding: 6px 10px; }
.footer-brand p { margin-top: 20px; line-height: 1.8; color: #8f98a2; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0; text-align: center; color: #7d858e; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .main-nav { gap: 20px; }
  .why-grid, .detail-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 420px; }
  .hero-media::after { display: none; }
  .path-grid, .sys-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
}
/* Tablet + mobile: collapse the nav early enough to fit logo + tools */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header-inner { gap: 14px; }
  .main-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-group { padding: 12px 0; border-bottom: 1px solid var(--line); height: auto; }
  .nav-group { display: block; }
  .dropdown { position: static; display: grid !important; box-shadow: none; border: none; padding: 8px 0 0; min-width: 0; }
  .header-tools .btn { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .header-inner { gap: 10px; }
  .header-tools { gap: 8px; }
  .menu-toggle { padding: 6px; }
  .section { padding: 64px 0; }
  .path-grid, .sys-grid, .gallery-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Refinement layer — quiet polish across the whole site
   =========================================================== */

/* Typography finesse */
html { -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; }
.display, .sec-title, .hero-copy h1, .page-hero h1, .detail-copy h2,
.cta-inner h2, .stat-num, .sys-body h3, .path-card h3, .why-item h3 {
  letter-spacing: -.025em;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); flex: none; }
.sec-head.center .eyebrow { justify-content: center; }

/* Header: subtle elevation on scroll, animated active state */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(22,40,61,.08); background: rgba(255,255,255,.99); }
.main-nav > a::after, .nav-group > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-group > a:hover::after { transform: scaleX(1); }

/* Buttons: softer radius, arrow micro-interaction */
.btn { border-radius: 5px; overflow: hidden; }
.btn-dark::after, .btn-light::after { content: "→"; font-size: 16px; line-height: 1; transition: transform .22s ease; }
.btn-dark:hover::after, .btn-light:hover::after { transform: translateX(4px); }
.btn-dark { box-shadow: 0 6px 16px rgba(22,40,61,.14); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(22,40,61,.2); }

/* Cards: rounded, layered, gentle lift */
.path-card, .sys-card, .gallery-item, .form-card, .contact-info { border-radius: 9px; }
.path-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.path-card:hover { box-shadow: 0 18px 40px rgba(22,40,61,.09); }
.sys-card, .gallery-item { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.sys-card:hover, .gallery-item:hover { box-shadow: 0 20px 44px rgba(22,40,61,.12); border-color: transparent; }
.sys-img { position: relative; }
.sys-img::after {
  content: "VIEW PRODUCT  →"; position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 16px; background: linear-gradient(180deg, rgba(22,40,61,0), rgba(22,40,61,.78));
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  opacity: 0; transform: translateY(8px); transition: opacity .28s ease, transform .28s ease;
}
.sys-card:hover .sys-img::after { opacity: 1; transform: none; }
.sys-img img, .gallery-item img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.05); }

/* Hero: floating credibility card and refined media edge */
.hero-media img { border-radius: 10px 0 0 10px; }
.hero-badge {
  position: absolute; left: -26px; bottom: 48px; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 20px; box-shadow: 0 16px 40px rgba(22,40,61,.14);
  display: flex; align-items: center; gap: 14px;
}
.hero-badge .hb-num { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.hero-badge .hb-txt { font-size: 12px; color: var(--muted); letter-spacing: .4px; line-height: 1.4; }
.hero-badge .hb-txt strong { display: block; font-size: 13px; color: var(--ink); }

/* Section heads: little rule under the title */
.sec-head.center .sec-title::after, .path-intro .sec-title::after, .why-grid .sec-title::after {
  content: ""; display: block; width: 46px; height: 2px; background: var(--accent);
  margin: 18px auto 0; border-radius: 2px;
}
.path-intro .sec-title::after, .why-grid .sec-title::after { margin-left: 0; }

/* Numbered lists: soft tick chips */
.check-list li::before {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(180,71,47,.1);
  display: inline-flex; align-items: center; justify-content: center;
  top: 2px; font-size: 11px;
}
.why-item { transition: padding-left .25s ease; }
.why-item:hover { padding-left: 8px; }

/* Stats: tabular numerals and brighter emphasis */
.stat-num { font-variant-numeric: tabular-nums; }

/* Dark/CTA bands: gentle texture and top hairline */
.band-dark { position: relative; overflow: hidden; }
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.05), transparent 42%);
}
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 30%, rgba(255,255,255,.12), transparent 45%);
}
.cta-inner, .band-dark .container { position: relative; z-index: 1; }

/* Footer: accent hairline and warmer links */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(180,71,47,0) 62%);
}
.footer-col li { transition: transform .2s ease; }
.footer-col a:hover { transform: translateX(2px); display: inline-block; }

/* Scroll reveal — enabled only when JS is active */
html.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Reading progress + back to top */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 300; transition: width .08s linear; }
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 250;
  width: 46px; height: 46px; border: none; border-radius: 50%; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 18px; line-height: 1;
  box-shadow: 0 10px 26px rgba(22,40,61,.28);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top:hover { background: var(--accent); }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1000px) {
  .hero-media img { border-radius: 9px; }
  .hero-badge { left: 16px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===========================================================
   Premium layer — editorial restraint, quiet confidence
   =========================================================== */

/* Type: Manrope everywhere, tighter tracking, lighter display weight */
body { font-family: "Manrope", "Helvetica Neue", Arial, sans-serif; font-size: 15.5px; line-height: 1.65; }
.display {
  font-size: clamp(42px, 4.9vw, 66px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08;
}
.display em, .serif-accent {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-style: italic;
  letter-spacing: -.01em; color: var(--accent-dark);
}
.sec-title { font-weight: 600; letter-spacing: -.035em; }
.lead { font-weight: 400; }
h1, h2, h3, h4 { font-family: "Manrope", "Helvetica Neue", Arial, sans-serif; }

/* Eyebrow: smaller, wider, refined */
.eyebrow { font-size: 11px; letter-spacing: 3.2px; font-weight: 700; }
.eyebrow::before { width: 22px; height: 1px; background: var(--accent); }

/* Calmer palette: mute the terracotta, deepen the neutrals */
:root {
  --accent: #a4462f;
  --accent-dark: #7d3223;
  --line: #e8e8e6;
  --sand: #f7f6f3;
  --ink: #15181c;
}

/* Airier rhythm */
.section { padding: 116px 0; }
.sec-head, .path-intro { margin-bottom: 62px; }
.hero-grid, .hero-media { min-height: 660px; }

/* Refined buttons: pill-free, precise */
.btn { height: 52px; padding: 0 30px; font-size: 13.5px; letter-spacing: .5px; border-radius: 4px; }

/* Path cards: remove heavy border, use hairline + space */
.path-card { border-color: var(--line); min-height: 262px; }
.path-num { font-size: 12px; letter-spacing: 2px; }
.path-card h3 { font-size: 23px; letter-spacing: -.03em; font-weight: 600; }
.path-link { border-bottom-width: 1px; padding-bottom: 2px; font-size: 13px; letter-spacing: .3px; }

/* Product system: consistent image ratio, captions with room */
.sys-img { height: 268px; }
.sys-body { padding: 22px 24px 30px; }
.sys-body h3 { font-size: 18px; letter-spacing: -.02em; }
.sys-body p { font-size: 13.5px; line-height: 1.6; }

/* Why list: hairline dividers, restrained numbers */
.why-item { padding: 34px 0; }
.why-num { font-size: 12px; letter-spacing: 2px; }

/* Stats: large, light-weight numerals */
.stat-num { font-weight: 500; letter-spacing: -.04em; }
.stat-label { letter-spacing: 2px; font-size: 11.5px; }

/* Page heroes: more editorial */
.page-hero { padding: 82px 0 70px; }
.page-hero h1 { font-weight: 600; letter-spacing: -.04em; font-size: clamp(40px, 4.4vw, 60px); }
.detail-copy h2 { font-weight: 600; letter-spacing: -.035em; }

/* Footer: quieter, better hierarchy */
.site-footer { font-size: 13.5px; }
.footer-col h4 { font-size: 11.5px; letter-spacing: 2.2px; }

/* Hero badge: lighter, more premium */
.hero-badge { border-radius: 6px; padding: 14px 18px; }
.hero-badge .hb-num { font-weight: 600; letter-spacing: -.03em; }

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .display { font-size: clamp(38px, 10vw, 52px); }
}

/* ===========================================================
   Lightbox — inline image preview for gallery links
   =========================================================== */
.lb-overlay {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 40px;
  background: rgba(12,16,20,.88); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.lb-overlay.open { display: flex; }
.lb-overlay.visible { opacity: 1; }
.lb-overlay img {
  max-width: 94vw; max-height: 86vh; width: auto; height: auto;
  object-fit: contain; background: #fff; border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  transform: scale(.96); transition: transform .25s ease;
}
.lb-overlay.visible img { transform: scale(1); }
.lb-close {
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s ease;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 24px;
  cursor: pointer; transition: background .2s ease;
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-cap {
  position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  color: #e9edf1; font-size: 13px; letter-spacing: .5px; padding: 0 20px;
}
@media (max-width: 720px) {
  .lb-overlay { padding: 16px; }
  .lb-nav { width: 38px; height: 38px; font-size: 20px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}

/* Deep SEO content blocks */
.faq-list { display:grid; gap:14px; }
.faq-item { background:#fff; border:1px solid var(--line); border-radius:9px; padding:20px 22px; }
.faq-item h3 { font-size:17px; line-height:1.4; margin-bottom:8px; color:var(--ink); }
.faq-item p { color:var(--muted); font-size:15px; }
.deep-note { margin-top:22px; padding:18px 22px; background:#fff; border-left:3px solid var(--accent); color:var(--ink-soft); font-size:15px; }

/* Buying guides: editorial content */
.guide-hero{background:var(--sand,#f4f1ea);padding:70px 0 46px;}
.guide-hero .eyebrow{margin-bottom:10px;}
.guide-hero h1{max-width:820px;font-size:clamp(34px,4vw,52px);line-height:1.14;margin:0 0 16px;}
.guide-hero .lede{max-width:720px;font-size:18px;color:var(--muted);margin:0;}
.guide-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;font-size:13px;color:var(--muted);}
.guide-body{max-width:760px;}
.guide-body h2{font-size:26px;line-height:1.3;margin:38px 0 12px;color:var(--ink);}
.guide-body h3{font-size:19px;margin:26px 0 8px;}
.guide-body p{font-size:16px;line-height:1.85;color:var(--ink-soft);margin:12px 0;}
.guide-body ul,.guide-body ol{font-size:16px;line-height:1.8;color:var(--ink-soft);margin:14 0;}
.guide-body a{text-decoration:underline;text-underline-offset:3px;}
.guide-callout{background:#fff;border:1px solid var(--line);border-left:3px solid var(--accent);
  border-radius:0 10px 10px 0;padding:18px 22px;margin:22px 0;font-size:15.5px;}
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:44px;align-items:start;}
.guide-aside{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;}
.guide-aside h4{font-size:15px;margin:0 0 12px;}
.guide-aside ul{list-style:none;padding:0;margin:0;}
.guide-aside li{margin:0 0 10px;font-size:14px;}
.guide-aside li a{display:block;color:var(--ink-soft);}
.guide-aside .aside-cta{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);font-size:14px;}
@media(max-width:900px){.guide-layout{grid-template-columns:1fr;gap:28px}.guide-aside{position:static}}
