/* BeiYan Seals Technology — working-supplier stylesheet.
   Flat, dense, table-driven. No gloss: substance over decoration. */

:root {
  --ink: #20262d;
  --ink-soft: #46505a;
  --steel: #26313b;
  --steel-dark: #1a232d;
  --accent: #d9541e;
  --accent-dark: #b54314;
  --line: #d7dde3;
  --line-soft: #e6eaee;
  --bg-alt: #f2f4f6;
  --bg-stripe: #f5f7f9;
  --chip-bg: #eef1f4;
  --wa: #1faa55;
  --radius: 4px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { text-decoration-thickness: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; }

/* ---------- Topbar ---------- */
.topbar { background: var(--steel-dark); color: #c8d2da; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-sep { margin: 0 8px; color: #5f7182; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 2px solid var(--steel);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 20px; font-weight: 500; letter-spacing: 0.05em; white-space: nowrap; }
.logo-name strong { font-weight: 900; }
.logo-tagline { font-size: 9.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-top: 3px; white-space: nowrap; }
.site-footer .logo-tagline { color: #e07a4d; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.main-nav a:hover { color: var(--accent-dark); }
.main-nav a.nav-cta {
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: var(--radius);
}
.main-nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); font-size: 20px; padding: 4px 12px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--steel); }
.btn-ghost:hover { background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; padding-top: 36px; padding-bottom: 36px; align-items: start; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.hero h1 { margin: 0 0 14px; font-size: 33px; line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
.hero-sub { margin: 0 0 20px; font-size: 17px; color: var(--ink-soft); max-width: 56ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

/* ---------- Facts / spec tables ---------- */
.facts-table { border-collapse: collapse; width: 100%; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.facts-table th, .facts-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }
.facts-table th { width: 34%; background: var(--bg-stripe); font-weight: 700; color: var(--steel); white-space: nowrap; }

/* ---------- Photos ---------- */
.stock-photo { margin: 0; border: 1px solid var(--line); background: #fff; }
.stock-photo img { width: 100%; height: 100%; object-fit: cover; }
.stock-photo figcaption { background: var(--steel); color: #eef2f5; font-size: 13.5px; padding: 8px 12px; }
.hero-media .stock-photo img { aspect-ratio: 4 / 4.6; }

/* ---------- Brand strip ---------- */
.brand-strip { border-bottom: 1px solid var(--line); background: #fff; }
.brand-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 13px; padding-bottom: 13px; font-weight: 700; font-size: 14.5px; letter-spacing: 0.02em; color: var(--steel); }
.brand-strip-label { color: var(--ink-soft); font-weight: 600; letter-spacing: 0; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 24px; }
.kicker { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); }
.section-head h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; padding-bottom: 10px; border-bottom: 2px solid var(--steel); }
.section-sub { margin: 10px 0 0; color: var(--ink-soft); max-width: 78ch; }
.fine-print { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Product tools & cards ---------- */
.product-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 20px; }
.search-wrap { display: flex; align-items: center; gap: 8px; border: 1px solid var(--steel); border-radius: var(--radius); padding: 0 12px; background: #fff; flex: 1 1 280px; max-width: 460px; color: var(--ink-soft); }
.search-wrap input { border: none; outline: none; font-size: 16px; padding: 11px 0; width: 100%; background: transparent; color: var(--ink); }
.brand-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius); padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.filter-btn:hover { border-color: var(--steel); }
.filter-btn.active { background: var(--steel); color: #fff; border-color: var(--steel); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { border: 1px solid var(--line); border-top: 3px solid var(--steel); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.product-card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
.card-meta { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); }
.model-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--chip-bg); border: 1px solid var(--line); border-radius: 3px; padding: 3px 8px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; }
.card-cta { margin: 14px 0 0; font-size: 14.5px; font-weight: 700; }
.no-results { border: 1px dashed var(--line); padding: 14px 16px; color: var(--ink-soft); }

/* ---------- Kit section ---------- */
.kit-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: start; }
.kit-text p { color: var(--ink-soft); margin-top: 0; }
.kit-inner .stock-photo img { aspect-ratio: 4 / 4.4; }

/* ---------- Data tables ---------- */
.table-title { margin: 30px 0 10px; font-size: 18px; font-weight: 800; }
.table-title:first-of-type { margin-top: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.data-table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 560px; }
.data-table th, .data-table td { text-align: left; padding: 7px 12px; border-bottom: 1px solid var(--line-soft); }
.data-table thead th { background: var(--steel); color: #fff; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.data-table tbody tr:nth-child(even) { background: var(--bg-stripe); }
.grid-table { min-width: 480px; }
.grid-table td { text-align: center; border-right: 1px solid var(--line-soft); }
.grid-table td:last-child { border-right: none; }

/* ---------- Hero photo strip (real photos, first screen) ---------- */
.hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 36px; }
.hero-strip .stock-photo img { aspect-ratio: 4 / 3; }

/* ---------- Factory & stock photos ---------- */
.scene-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.scene-row .stock-photo img { aspect-ratio: 3 / 2; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-grid .stock-photo img { aspect-ratio: 3 / 3.4; }
.stock-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.stock-point { border: 1px solid var(--line); background: #fff; padding: 16px 18px; }
.stock-point h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; }
.stock-point p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { border: 1px solid var(--line); padding: 16px 18px; background: #fff; }
.step-num { display: inline-block; background: var(--steel); color: #fff; font-weight: 800; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: var(--radius); margin-bottom: 10px; }
.steps h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-list details { border: 1px solid var(--line); background: #fff; margin-bottom: 10px; }
.faq-list summary { padding: 13px 16px; font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 0; padding: 0 16px 14px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-text h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--steel); }
.contact-text p { color: var(--ink-soft); }
.contact-details { list-style: none; margin: 18px 0; padding: 0; }
.contact-details li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.contact-note { font-size: 14.5px; }
.inquiry-form { border: 1px solid var(--line); padding: 20px; background: var(--bg-stripe); display: grid; gap: 14px; }
.inquiry-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.inquiry-form input, .inquiry-form textarea {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--ink); width: 100%;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-note { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-dark); color: #b9c4cd; padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer .logo { color: #fff; }
.footer-blurb { margin: 8px 0 0; font-size: 14px; }
.site-footer a { color: #dbe3e9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-col h4 { margin: 0 0 10px; color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.footer-bottom { border-top: 1px solid #35424e; margin-top: 28px; padding-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .fine-print { color: #8296a5; margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.whatsapp-float:hover { background: #178f45; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .kit-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-media .stock-photo, .kit-inner .stock-photo { max-width: 440px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .stock-points, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 27px; }
  .product-grid, .photo-grid, .hero-strip, .scene-row, .stock-points, .steps, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--steel); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 14px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav a.nav-cta { text-align: center; border-bottom: none; margin-top: 8px; }
  .facts-table th { white-space: normal; }
  .section { padding: 36px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Additions 2026-10-24: reply note, model-page links, product pages ---------- */
.hero-note { margin: -6px 0 20px; font-size: 14.5px; font-weight: 700; color: var(--steel); }
.model-pages { margin: 0 0 2px; font-size: 14.5px; color: var(--ink-soft); }
.breadcrumb { font-size: 13.5px; color: var(--ink-soft); padding-top: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.product-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: start; padding-top: 12px; padding-bottom: 6px; }
.product-layout h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.product-intro { color: var(--ink-soft); margin: 0 0 18px; max-width: 60ch; }
.product-layout .stock-photo img { aspect-ratio: 4 / 3.6; }
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.related-models { margin-top: 24px; font-size: 14.5px; color: var(--ink-soft); }
.current-row td { font-weight: 700; background: var(--chip-bg); }
@media (max-width: 960px) { .product-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .product-layout h1 { font-size: 25px; } }

/* ---------- Per-model order actions (cards) ---------- */
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.order-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 6px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.order-btn svg { flex: none; }
.order-btn-wa { background: var(--wa); color: #fff; }
.order-btn-wa:hover { background: #178f45; }
.order-btn-mail { background: #fff; color: var(--steel); border-color: var(--steel); }
.order-btn-mail:hover { background: var(--bg-alt); }

/* ---------- Per-model order links (tables) ---------- */
.row-order { display: inline-flex; gap: 2px; vertical-align: middle; }
.order-cell { text-align: center; white-space: nowrap; }
.grid-table .row-order { margin-left: 6px; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 3px; text-decoration: none;
}
.icon-link.wa { color: var(--wa); }
.icon-link.mail { color: var(--steel); }
.icon-link:hover { background: var(--chip-bg); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  border: 1px solid var(--line); background: var(--bg-stripe);
  padding: 12px 16px; margin-bottom: 28px;
  font-size: 14.5px; font-weight: 700; color: var(--steel);
}
.trust-strip span::before { content: "\2713"; color: var(--accent); font-weight: 800; margin-right: 7px; }

/* ---------- Mobile sticky contact bar ---------- */
.mobile-contact-bar { display: none; }
@media (max-width: 640px) {
  .mobile-contact-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 2px solid var(--steel);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mcb-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 8px; font-size: 15.5px; font-weight: 700; text-decoration: none; color: #fff;
  }
  .mcb-wa { background: var(--wa); }
  .mcb-mail { background: var(--steel); }
  .whatsapp-float { display: none; }
  body { padding-bottom: 52px; }
}
