﻿/* ===== QiChip Electronics — dark B2B theme (Expertonic-style) v5 ===== */
:root {
  --bg: #0b1220;
  --bg-soft: #0f1729;
  --panel: #111c30;
  --panel-2: #14203a;
  --line: #22314d;
  --text: #e7eef8;
  --muted: #9fb1c9;
  --dim: #6d809c;
  --accent: #38bdf8;
  --accent-2: #22d3ee;
  --green: #25d366;
  --navy: #0b1220;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", "PingFang SC", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-fluid { max-width: none; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.3px; }
h2 { font-size: 32px; color: var(--text); }

/* topbar */
.topbar { background: #060b14; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--accent); text-decoration: none; }

/* nav */
.nav { background: rgba(11,18,32,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; padding: 14px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04121f; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover, .nav-links a.on { color: #fff; }

/* buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: all .15s; }
.btn-primary { background: var(--accent); color: #04121f; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-green { background: var(--green); color: #052e12; }
.btn-green:hover { filter: brightness(1.1); }
.btn-block { width: 100%; }

/* hero */
.hero {
  background:
    linear-gradient(100deg, rgba(6,11,20,.94) 0%, rgba(8,16,30,.82) 42%, rgba(10,22,44,.30) 100%),
    url("/img/hero-bg2.jpg") center right / cover no-repeat,
    linear-gradient(135deg, var(--navy) 0%, #0d1830 55%, #0e2242 100%);
  color: #fff;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--line);
}
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.4); color: var(--accent); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; }
.hero .kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.hero h1 { font-size: 52px; line-height: 1.12; margin: 22px 0 18px; max-width: 720px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 17.5px; max-width: 640px; }
.hero-search { display: flex; gap: 0; max-width: 560px; margin-top: 30px; background: #fff; border-radius: 10px; padding: 5px; }
.hero-search input { flex: 1; border: 0; outline: none; padding: 13px 16px; font-size: 15px; border-radius: 7px; color: #122; background: transparent; }
.hero-search .btn { border-radius: 7px; }
.hero-note { color: var(--dim); font-size: 13px; margin-top: 10px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* metric strip */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 44px; background: rgba(15,23,41,.75); }
.metric-strip .info-box { padding: 22px 24px; border-right: 1px solid var(--line); }
.metric-strip .info-box:last-child { border-right: 0; }
.metric-strip strong { display: block; font-size: 16.5px; color: #fff; margin-bottom: 4px; }
.metric-strip span { color: var(--dim); font-size: 13px; }
.hero-stats { display: flex; gap: 56px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats b { font-size: 34px; color: var(--accent); display: block; line-height: 1.1; }
.hero-stats span { color: var(--dim); font-size: 13.5px; }

/* section head */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head .sub { color: var(--muted); margin-top: 8px; max-width: 620px; }
.sec-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }

/* about + company box */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.company-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.company-box h3 { color: #fff; margin-bottom: 14px; font-size: 17px; }
.company-box p { color: var(--muted); font-size: 14px; margin: 6px 0; }
.company-box b { color: var(--text); }

/* service grid */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service-grid .svc { padding: 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.service-grid .svc:nth-child(2n) { border-right: 0; }
.service-grid .svc:nth-child(n+3) { border-bottom: 0; }
.svc h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 14.5px; }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-decoration: none; transition: all .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(56,189,248,.12); }
.card strong { color: #fff; font-size: 16.5px; }
.card .muted { font-size: 14px; }
.card .icon { color: var(--accent); margin-bottom: 4px; }
.chip { display: inline-block; background: rgba(56,189,248,.12); color: var(--accent); border-radius: 14px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; }
.chip-green { background: rgba(52,211,153,.12); color: #34d399; }

/* category cloud & brand row */
.category-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-chip { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.cat-chip:hover { border-color: var(--accent); color: var(--accent); }
.brand-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.brand-cell { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 10px; text-align: center; color: var(--muted); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.brand-cell:hover { color: var(--accent); border-color: var(--accent); }

/* keyword grid (brand RFQ entrances) */
.keyword-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kw-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.kw-card:hover { border-color: var(--accent); }
.kw-card b { color: #fff; font-size: 15px; }
.kw-card span { color: var(--dim); font-size: 13px; }

/* inventory / image stack */
.inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.inv-grid img { border-radius: 12px; border: 1px solid var(--line); }
.inv-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.inv-list .item { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; }
.inv-list .item::before { content: "✓"; color: #34d399; font-weight: 800; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: rgba(56,189,248,.15); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 17px; }
.step h3 { color: #fff; margin-bottom: 8px; font-size: 17px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ind-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.ind-item:hover { border-color: var(--accent); color: var(--text); }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.faq-item h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 14.5px; }

/* contact band */
.contact-band { background: linear-gradient(100deg, rgba(56,189,248,.14), rgba(34,211,238,.07)), var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 44px; text-align: center; }
.contact-band h2 { margin-bottom: 10px; }
.contact-band p { color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.contact-band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tbl caption { text-align: left; padding: 12px 4px; color: var(--muted); font-size: 13px; }
.tbl th { background: var(--panel-2); color: var(--muted); text-align: left; padding: 11px 14px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.tbl td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text); font-size: 14.5px; }
.tbl-tight th, .tbl-tight td { padding: 8px 12px; }
.tbl a { color: var(--accent); text-decoration: none; font-weight: 600; }
.parts-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.parts-wrap table { border: 0; }

/* product page */
.crumbs { padding: 20px 0 0; color: var(--dim); font-size: 13.5px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.product-head { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 30px 0 48px; align-items: start; }
.product-info h1 { font-size: 36px; margin: 12px 0; }
.product-info .muted { font-size: 15px; }
.product-buy { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.rfq-form { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rfq-form h3 { color: #fff; margin-bottom: 4px; }
.rfq-form input, .rfq-form textarea { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--text); font-size: 14.5px; font-family: inherit; outline: none; }
.rfq-form input:focus, .rfq-form textarea:focus { border-color: var(--accent); }
.rfq-form ::placeholder { color: var(--dim); }
.rfq-status { color: #34d399; font-size: 14px; font-weight: 600; }

/* brand & scenario pages */
.page-hero { background: linear-gradient(100deg, rgba(6,11,20,.95) 0%, rgba(8,16,30,.88) 50%, rgba(10,22,44,.58) 100%), url("/img/page-hero-bg2.jpg") center right / cover no-repeat, linear-gradient(135deg, #0b1220 0%, #0e2242 100%); color: #fff; padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 40px; margin: 10px 0; }
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.crumbs-light { font-size: 13px; color: var(--dim); }
.crumbs-light a { color: var(--dim); text-decoration: none; }
.crumbs-light a:hover { color: #fff; }
.crumbs-light span { color: var(--text); }
.hero-actions { margin-top: 22px; }
.brand-body { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 48px 0; align-items: start; }
.brand-info p { line-height: 1.75; margin: 0 0 14px; color: var(--muted); }
.brand-info em { color: var(--accent); font-style: normal; }
.trust-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sc-block { margin-bottom: 26px; }
.sc-block h3 { font-size: 18px; margin: 0 0 8px; color: #fff; }
.sc-block p { line-height: 1.75; margin: 0; color: var(--muted); }
.brand-parts, .related { padding: 8px 0 48px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 48px; }
.chip-link { text-decoration: none; color: var(--accent); border: 1px solid var(--line); background: var(--panel); padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; transition: all .15s; display: inline-block; }
.chip-link:hover { background: var(--accent); color: #04121f; border-color: var(--accent); }
.badge { display: inline-block; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3); color: var(--accent); border-radius: 6px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.notfound { padding: 80px 0; }
.notfound h1 { font-size: 30px; margin-bottom: 14px; }
.notfound .btn { margin-top: 20px; }

/* footer */
.footer { background: #060b14; border-top: 1px solid var(--line); padding: 52px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.footer p, .footer a { color: var(--muted); font-size: 14px; }
.footer a { text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: var(--accent); }
.footer h4 { color: #fff; margin-bottom: 10px; font-size: 15px; }
.footer .logo { margin-bottom: 12px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-note { font-size: 12px; color: var(--dim); line-height: 1.6; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 12px; }
.footer-bottom { color: var(--dim); font-size: 13px; padding: 16px 20px 24px; }

/* WhatsApp pill (Expertonic style) */
.wa-float { position: fixed; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #052e12; font-weight: 800; font-size: 15px; padding: 13px 22px; border-radius: 999px; box-shadow: 0 8px 26px rgba(37,211,102,.4); z-index: 999; text-decoration: none; transition: transform .15s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { flex: none; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* catalog page */
.catalog-hero { background: linear-gradient(100deg, rgba(6,11,20,.95) 0%, rgba(8,16,30,.88) 50%, rgba(10,22,44,.6) 100%), url("/img/page-hero-bg2.jpg") center / cover no-repeat; color: #fff; padding: 56px 0; border-bottom: 1px solid var(--line); }
.catalog-hero h1 { font-size: 38px; margin-bottom: 8px; }
.catalog-hero p { color: var(--muted); }
.catalog-search { display: flex; gap: 10px; margin-top: 22px; max-width: 520px; }
.catalog-search input { flex: 1; background: #fff; border: 0; border-radius: 8px; padding: 12px 16px; font-size: 15px; outline: none; }
.stock-badge { color: #34d399; font-weight: 700; }

/* responsive */
@media (max-width: 960px) {
  .grid, .grid3, .grid4, .steps, .ind-grid, .keyword-grid { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: repeat(3, 1fr); }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip .info-box:nth-child(2n) { border-right: 0; }
  .metric-strip .info-box:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .inv-grid, .product-head, .brand-body { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid .svc { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* mobile (<=640px) */
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  h2 { font-size: 25px; }

  /* topbar: compact single line */
  .topbar { font-size: 11.5px; padding: 6px 0; }
  .topbar-inner { justify-content: center; text-align: center; }

  /* nav: centered wrap, tighter */
  .nav { padding: 10px 0; }
  .nav-inner { flex-direction: column; gap: 8px; }
  .logo { font-size: 18px; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-links { justify-content: center; gap: 8px 16px; }
  .nav-links a { font-size: 13.5px; }

  /* hero */
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 28px; line-height: 1.2; margin: 16px 0 12px; }
  .hero p.lead { font-size: 15px; }
  .hero-search { margin-top: 22px; }
  .hero-search input { min-width: 0; padding: 12px 12px; font-size: 14px; }
  .hero-search .btn { white-space: nowrap; padding: 12px 16px; font-size: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 22px; margin-top: 28px; }
  .hero-stats b { font-size: 26px; }
  .metric-strip { margin-top: 32px; }
  .metric-strip .info-box { padding: 16px 16px; }

  /* cards & grids spacing */
  .svc { padding: 22px 18px; }
  .svc h3 { font-size: 17px; }
  .step { padding: 20px 18px; }
  .card { padding: 18px; }
  .kw-card { padding: 14px 16px; }
  .faq-item { padding: 16px 18px; }
  .contact-band { padding: 30px 20px; border-radius: 12px; }
  .sec-head { margin-bottom: 20px; }

  /* page hero & product */
  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 25px; }
  .catalog-hero h1 { font-size: 26px; }
  .catalog-hero { padding: 42px 0; }
  .product-info h1 { font-size: 25px; word-break: break-all; }
  .product-buy { position: static; }
  .brand-body { padding: 32px 0; }
  .contact-grid { padding: 32px 16px; }
  .page-narrow { padding: 32px 16px; }
  .page-narrow h1 { font-size: 26px; }

  /* tables: allow horizontal swipe, smaller font */
  .tbl th, .tbl td { padding: 9px 10px; font-size: 13px; }

  /* footer */
  .footer { padding: 36px 0 0; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { text-align: center; }

  /* whatsapp pill: bottom-left (Tawk bubble occupies bottom-right), smaller */
  .wa-float { left: 12px; right: auto; bottom: 12px; padding: 11px 16px; font-size: 13.5px; }

  /* reveal fallback: if JS/observer misses, content still visible */
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== shared page utilities (v5) ===== */
.page-narrow { max-width: 780px; margin: 0 auto; padding: 48px 20px; }
/* About content section: front-desk photo fills the whole background with dark overlay v10 */
.about-bg {
  background:
    linear-gradient(180deg, rgba(7,12,22,.72) 0%, rgba(7,12,22,.88) 420px, rgba(7,12,22,.97) 760px, rgba(7,12,22,.99) 100%),
    url("/img/front-desk.jpg") top center / 100% auto no-repeat,
    #0b1220;
}
.page-narrow h1 { font-size: 34px; margin-bottom: 18px; color: #fff; }
.page-narrow p { color: var(--muted); margin-bottom: 14px; }
.page-narrow h3 { color: #fff; margin: 22px 0 8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 960px; margin: 0 auto; padding: 48px 20px; }
.contact-grid h1 { color: #fff; margin-bottom: 14px; }
.contact-grid .box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; color: var(--muted); }
.form-wide { display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.form-wide input, .form-wide textarea { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--text); font-size: 14.5px; font-family: inherit; outline: none; }
.form-wide input:focus, .form-wide textarea:focus { border-color: var(--accent); }
.form-wide label { color: var(--muted); font-size: 13px; font-weight: 600; }
.chip-btn { display: inline-block; background: var(--panel); border: 1px solid var(--line); color: var(--muted); padding: 8px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; user-select: none; }
.chip-btn:hover { color: var(--accent); border-color: var(--accent); }
.chip-btn.on { background: var(--accent); color: #04121f; border-color: var(--accent); }
.stock-ok, .stock-badge { color: #34d399; font-weight: 700; }
.form-ok { color: #34d399; font-size: 14px; font-weight: 600; padding: 6px 0; }
/* RFQ delivery fallback: shown when the Worker has no mail binding configured. */
.rfq-msg { padding: 16px 18px; margin-top: 14px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.rfq-warn { background: rgba(251, 191, 36, .10); border: 1px solid rgba(251, 191, 36, .45); color: var(--text); }
.rfq-head { font-weight: 700; font-size: 15px; color: #fbbf24; margin: 0 0 6px; }
.rfq-msg p { margin: 0 0 10px; }
.rfq-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0; }
.catalog-toolbar { margin: 22px 0 4px; }
.catalog-toolbar input { width: 100%; max-width: 520px; background: #fff; border: 0; border-radius: 8px; padding: 12px 16px; font-size: 15px; outline: none; }
.nav-links a.btn-primary { color: #04121f; }
.nav-links a.btn-primary:hover { color: #04121f; }
.catalog-count { color: var(--dim); font-size: 13.5px; }
.catalog-wrap { padding-bottom: 56px; }

/* ===== Market Pulse / hot parts (v9) ===== */
.pulse-section { padding: 8px 20px 40px; }
.pulse-section h2 { color: #fff; margin-bottom: 14px; }
.pulse-card { position: relative; }
.pulse-rank { position: absolute; top: 12px; right: 14px; font-size: 12px; font-weight: 800; color: var(--dim); }
.chg { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .2px; }
.chg.up { background: rgba(248,113,113,.14); color: #f87171; }
.chg.down { background: rgba(148,163,184,.16); color: #94a3b8; }
.chip-hot { display: inline-flex; align-items: center; gap: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pulse-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pulse-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--dim); padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.pulse-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text); font-size: 14.5px; }
.pulse-table tr:last-child td { border-bottom: 0; }
.pulse-table .rank { color: var(--dim); font-weight: 800; width: 42px; }
.pulse-table .pn a { color: var(--accent); font-weight: 700; text-decoration: none; }
.pulse-table .pn a:hover { text-decoration: underline; }
.pulse-table .num { text-align: right; }
.pulse-table .act { text-align: right; width: 90px; }
.pulse-cta { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.pulse-cta h3 { color: #fff; margin-bottom: 8px; }
.pulse-cta p { color: var(--muted); margin-bottom: 16px; }
@media (max-width: 640px) {
  .pulse-table { min-width: 560px; }
  .pulse-table th, .pulse-table td { padding: 11px 12px; font-size: 13.5px; }
}

/* Photo gallery (About page) v10 */
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
.photo-grid figure{margin:0;background:#fff;border:1px solid var(--border,#e5e7eb);border-radius:10px;overflow:hidden}
.photo-grid img{display:block;width:100%;height:220px;object-fit:cover;transition:transform .25s ease}
.photo-grid figure:hover img{transform:scale(1.04)}
.photo-grid figcaption{font-size:13px;color:#6b7280;padding:8px 10px;text-align:center}
@media(max-width:640px){.photo-grid{grid-template-columns:repeat(2,1fr);gap:10px}.photo-grid img{height:150px}}

/* Logo image + hero emphasis v12 */
.logo-img { width: 38px; height: 38px; display: block; border-radius: 9px; filter: drop-shadow(0 0 6px rgba(56,189,248,.45)); }
.logo { font-size: 17px; align-items: center; }

/* Wordmark in navbar/footer v14 */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-word { height: 20px; width: auto; display: block; }

/* Hero video background v15 */
.hero-video { position: relative; overflow: hidden; background: #0b1220; }
.hero-video > .container { position: relative; z-index: 2; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(6,11,20,.80) 0%, rgba(8,16,30,.62) 42%, rgba(10,22,44,.10) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
  .hero-video { background: linear-gradient(100deg, rgba(6,11,20,.94) 0%, rgba(8,16,30,.82) 42%, rgba(10,22,44,.30) 100%), url("/img/hero-bg2.jpg") center right / cover no-repeat, #0b1220; }
}

/* Hero quote card (Expertonic style) v16 */
.quote-card {
  max-width: 640px; margin-top: 30px;
  background: rgba(10,20,40,.55);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 20px 22px 18px;
  backdrop-filter: blur(5px);
}
.quote-card-label { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.quote-card .hero-search { max-width: none; margin-top: 0; }
.quote-card .hero-note { margin-top: 12px; }

/* GEO: quotable procurement tables and FAQ (added 2026-12-02) */
.sc-table-wrap { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 10px; }
.sc-table-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; }
.sc-table-wrap th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; background: rgba(255,255,255,.03); }
.sc-table-wrap td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--muted); font-size: 13.5px; line-height: 1.55; vertical-align: top; }
.sc-table-wrap tr:last-child td { border-bottom: 0; }
.sc-faq { margin: 12px 0 20px; }
.sc-faq h4 { font-size: 15px; margin: 18px 0 6px; color: #fff; }
.sc-faq p { line-height: 1.7; margin: 0; color: var(--muted); }
.geo-block { padding: 0 0 40px; }
.geo-block h2 { font-size: 22px; margin: 0 0 14px; color: #fff; }
.geo-block h3 { font-size: 17px; margin: 24px 0 8px; color: #fff; }
.geo-block p { line-height: 1.75; color: var(--muted); }
@media (max-width: 640px) { .sc-table-wrap table { min-width: 460px; } }
