/* ==========================================================================
   BBDHOME — Self Storage Locks & Door Hardware
   Design system per 1. 视觉规则.md
   Font: Open Sans · Brand: #C2410C (AA) / #F26222 (logo) · Radius: 6px · Grid: 1200 / 1280px
   ========================================================================== */

:root {
  --color-brand: #C2410C;
  --color-brand-hover: #9A3A0E;
  --color-brand-active: #85320C;
  --color-brand-light: #FDF1EA;
  --color-brand-soft: #F7D9C7;
  /* Public Storage 同款鲜橙。只用于 logo 图形与装饰色块 ——
     白字放在它上面只有 3.21:1，达不到 WCAG AA，不能用于正文或按钮。 */
  --color-brand-vivid: #F26222;
  --color-ink: #202020;
  --color-body: #3f4650;
  --color-muted: #6b7078;
  --color-page: #ffffff;
  --color-surface: #F8F6F4;
  --color-surface-brand: #FFF9F5;
  --color-border: #E6DCD4;
  --color-border-strong: #D3C4B8;
  --color-footer: #2B211B;
  --color-success: #19734a;
  --color-warning: #9a5b00;
  --color-danger: #b42318;

  --maxw: 1200px;
  --maxw-wide: 1280px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow-overlay: 0 12px 32px rgba(30, 37, 43, .14);

  --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Roboto Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--color-body);
  background: var(--color-page);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--color-brand); text-decoration: none; }
a:hover { color: var(--color-brand-hover); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  color: var(--color-ink);
  letter-spacing: 0;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: 48px; line-height: 1.18; }
h2 { font-size: 32px; line-height: 1.25; }
h3 { font-size: 22px; line-height: 1.35; font-weight: 600; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 600; }
p { margin: 0 0 16px; max-width: 720px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

.inner h1 { font-size: 40px; line-height: 1.2; }

.lead { font-size: 18px; line-height: 1.65; color: var(--color-body); }
.muted { color: var(--color-muted); }
.small { font-size: 14px; line-height: 1.45; }
.tiny { font-size: 13px; line-height: 1.45; }
.mono { font-family: var(--mono); font-size: .95em; }
.strong { font-weight: 600; color: var(--color-ink); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 32px; }
section.screen { padding: 80px 0; border-top: 1px solid var(--color-border); }
section.screen:first-of-type { border-top: 0; }
section.alt { background: var(--color-surface); }
section.brandbg { background: var(--color-surface-brand); }
section.dark { background: var(--color-footer); color: #E4D5C9; }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark a { color: #F7B183; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--color-brand); margin-bottom: 12px;
}
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--color-brand);
  color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--color-footer); color: #E4D5C9; font-size: 13px; }
.topbar .wrap-wide { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; min-height: 34px; }
.topbar a { color: #F7D9C7; }
.topbar ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar li { margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.site-header .bar {
  max-width: var(--maxw-wide); margin: 0 auto; padding: 0 32px;
  min-height: 76px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--color-ink); font-size: 19px; line-height: 1.15; }
.brand:hover { text-decoration: none; color: var(--color-ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--color-muted); letter-spacing: .02em; }
.brand-text { white-space: nowrap; }

nav.main { margin-left: auto; }
nav.main > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav.main > ul > li { position: relative; margin: 0; }
nav.main > ul > li > a {
  display: block; padding: 10px 12px; font-size: 15px; font-weight: 600;
  color: var(--color-body); border-bottom: 2px solid transparent;
}
nav.main > ul > li > a:hover { color: var(--color-brand); text-decoration: none; }
nav.main > ul > li > a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-brand); }
nav.main ul.sub {
  position: absolute; left: 0; top: 100%; min-width: 264px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-overlay); padding: 8px; margin: 0; list-style: none;
  display: none; z-index: 120;
}
nav.main li:hover > ul.sub, nav.main li:focus-within > ul.sub { display: block; }
nav.main ul.sub li { margin: 0; }
nav.main ul.sub a { display: block; padding: 9px 12px; font-size: 14px; color: var(--color-body); border-radius: 4px; }
nav.main ul.sub a:hover { background: var(--color-brand-light); color: var(--color-brand-active); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-tel { font-size: 14px; font-weight: 600; color: var(--color-ink); }
.header-tel:hover { color: var(--color-brand); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 8px 10px; cursor: pointer; color: var(--color-ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 600; line-height: 1; padding: 14px 22px;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  text-align: center; font-family: inherit; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-hover); color: #fff; text-decoration: none; }
.btn-primary:active { background: var(--color-brand-active); }
.btn-secondary { background: #fff; color: var(--color-ink); border-color: var(--color-border-strong); }
.btn-secondary:hover { border-color: var(--color-brand); color: var(--color-brand); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-brand); border-color: var(--color-brand-soft); }
.btn-ghost:hover { background: var(--color-brand-light); text-decoration: none; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--color-brand); outline-offset: 2px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link-arrow { font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.crumbs { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; font-size: 13px; color: var(--color-muted); }
.crumbs li { margin: 0; display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--color-border-strong); }
.crumbs a { color: var(--color-muted); }
.crumbs [aria-current="page"] { color: var(--color-body); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { background: var(--color-footer); color: #EDE0D5; position: relative; overflow: hidden; }
.hero .inner { padding: 72px 0 80px; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 48px; max-width: 680px; }
.hero .lead { color: #E8DCD2; max-width: 700px; }
.hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-mesh {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px);
}
.trustline {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #D9CCC0; font-weight: 600;
}
.trustline span { display: inline-flex; align-items: center; gap: 8px; }
.trustline span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-soft); flex: none; }

.page-hero { background: var(--color-surface-brand); border-bottom: 1px solid var(--color-border); }
.page-hero .inner { padding: 56px 0 64px; }
.page-hero h1 { font-size: 40px; max-width: 760px; }
.page-hero .lead { max-width: 760px; margin-bottom: 0; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: var(--color-brand); }
.card-link:hover h3 { color: var(--color-brand-active); }

.stat { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.stat .num { font-size: 34px; font-weight: 700; color: var(--color-ink); line-height: 1.15; }
.stat .num small { font-size: 18px; font-weight: 600; }
.stat h3 { font-size: 16px; margin: 8px 0 6px; }
.stat p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--color-body); }

.icon-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.icon-card .ic {
  width: 40px; height: 40px; border-radius: var(--radius); background: var(--color-brand-light);
  color: var(--color-brand-active); display: grid; place-items: center; margin-bottom: 16px;
}
.icon-card h3 { font-size: 18px; margin-bottom: 8px; }
.icon-card p { font-size: 15px; margin: 0; }

.imgph {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center;
  color: var(--color-muted); font-size: 13px; padding: 16px;
}
.imgph.wide { aspect-ratio: 16 / 9; }
.imgph.tall { aspect-ratio: 3 / 4; }
.imgph svg { width: 42px; height: 42px; opacity: .4; margin: 0 auto 8px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.badges li {
  margin: 0; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--color-brand-light); color: var(--color-brand-active); border: 1px solid var(--color-brand-soft);
}
.badges.plain li { background: #fff; color: var(--color-body); border-color: var(--color-border); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.chips li { margin: 0; }
.chips a {
  display: inline-block; font-size: 14px; font-weight: 600; padding: 7px 14px;
  border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-body); background: #fff;
}
.chips a:hover { border-color: var(--color-brand); color: var(--color-brand); text-decoration: none; }

/* ---------- Feature list ---------- */
.feature { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; border-top: 1px solid var(--color-border); padding: 16px 0; }
.feature:last-child { border-bottom: 1px solid var(--color-border); }
.feature dt { font-weight: 600; color: var(--color-ink); font-size: 15px; }
.feature dd { margin: 0; font-size: 15px; }
dl.features { margin: 0; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
table.data caption { text-align: left; font-size: 13px; color: var(--color-muted); padding-bottom: 8px; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
table.data thead th { background: var(--color-surface); font-size: 13px; font-weight: 600; color: var(--color-ink); text-transform: uppercase; letter-spacing: .03em; }
table.data tbody th { font-weight: 600; color: var(--color-ink); width: 240px; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--color-surface-brand); }

/* ---------- Steps / timeline ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 0 0 28px 56px; margin: 0;
  border-left: 2px solid var(--color-border); margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: -16px; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--color-brand); color: #fff;
  font-size: 14px; font-weight: 700; display: grid; place-items: center;
}
.steps h3 { font-size: 18px; margin: 2px 0 6px; }
.steps p { margin: 0; font-size: 15px; }
.steps.dark li { border-left-color: rgba(255,255,255,.2); }
.steps.dark li::before { background: var(--color-brand-soft); color: var(--color-brand-active); }

/* ---------- FAQ accordion ---------- */
.faq { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 600; color: var(--color-ink);
  font-size: 16px; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 400; color: var(--color-brand); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { background: var(--color-surface-brand); }
.faq .answer { padding: 4px 20px 20px; font-size: 15px; background: var(--color-surface); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--color-ink); }
.field .hint { font-size: 13px; color: var(--color-muted); line-height: 1.45; }
.field .req { color: var(--color-danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], select, textarea {
  font-family: inherit; font-size: 15px; color: var(--color-ink);
  padding: 11px 12px; border: 1px solid var(--color-border-strong); border-radius: var(--radius);
  background: #fff; width: 100%;
}
input[type="file"] { font-size: 14px; padding: 9px 0; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--color-muted); margin-top: 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; }
legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-brand); padding: 0 0 12px; }

/* ---------- Contact cards ---------- */
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 15px; }

/* ---------- Testimonials / callout ---------- */
.callout {
  border: 1px solid var(--color-border); border-left: 4px solid var(--color-brand);
  background: var(--color-surface-brand); border-radius: var(--radius); padding: 24px;
}
.callout p:last-child { margin-bottom: 0; }
.quote { font-size: 18px; line-height: 1.6; color: var(--color-ink); font-style: italic; margin: 0 0 12px; }
.warnbox {
  border: 1px solid #e8d5b0; background: #fdf8ef; border-radius: var(--radius); padding: 20px;
}
.warnbox p:last-child { margin-bottom: 0; }
.warnbox .tiny { color: var(--color-warning); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-footer); color: #BDB1A6; padding: 64px 0 32px; }
.site-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.site-footer a { color: #E4D8CE; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
.site-footer .legal ul { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .legal li { margin: 0; }
.foot-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.foot-certs span { font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 4px 10px; color: #EADDD3; }

/* ---------- MOCK marker (internal preview only) ---------- */
.mock {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: #fdf3e3; color: var(--color-warning); border: 1px dashed #e0b96a;
  border-radius: 4px; padding: 1px 6px; vertical-align: middle;
}
.mock-row { background: #fffdf7; }

/* ---------- Utilities ---------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; } .mb24 { margin-bottom: 24px; } .mb32 { margin-bottom: 32px; } .mb40 { margin-bottom: 40px; }
.center { text-align: center; } .center p, .center .section-head { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .wrap, .wrap-wide { padding: 0 24px; }
  .site-header .bar { padding: 0 24px; }
  h1 { font-size: 34px; }
  .inner h1, .page-hero h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .hero h1 { font-size: 34px; }
  .hero .inner { padding: 52px 0 56px; }
  .page-hero .inner { padding: 40px 0 44px; }
  section.screen { padding: 56px 0; }
  .g3, .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .fgrid { grid-template-columns: 1fr 1fr; gap: 32px; }

  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-overlay); padding: 16px 24px 24px; max-height: 78vh; overflow-y: auto; }
  nav.main.open { display: block; }
  nav.main > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main > ul > li > a { padding: 12px 0; border-bottom: 1px solid var(--color-border); font-size: 16px; }
  nav.main > ul > li > a[aria-current="page"] { border-bottom-color: var(--color-border); color: var(--color-brand); }
  nav.main ul.sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  nav.main ul.sub a { padding: 8px 0; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .header-tel { display: none; }
  .topbar .topbar-nav { display: none; }
}
@media (max-width: 620px) {
  .wrap, .wrap-wide { padding: 0 18px; }
  .site-header .bar { padding: 0 18px; min-height: 64px; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 4px; }
  table.data tbody th { width: auto; }
  .site-footer .fgrid { grid-template-columns: 1fr; gap: 28px; }
  .stat .num { font-size: 28px; }
  .cta-row .btn { width: 100%; }
  .brand { font-size: 17px; }
}
@media print {
  .site-header, .topbar, .site-footer, .cta-row { display: none; }
}

/* ---------- Honeypot (spam trap — never visible to humans) ---------- */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}


/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(30,37,43,.28); transition: transform .15s, background-color .15s;
}
.wa-float:hover { background: #1eb457; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 620px) { .wa-float { right: 14px; bottom: 14px; width: 48px; height: 48px; } }

/* ---------- Form status message ---------- */
.form-status {
  grid-column: 1 / -1; margin: 12px 0 0; padding: 14px 16px; border-radius: 6px;
  background: #FDF1EA; border: 1px solid #F7D9C7; color: #9A3A0E;
  font-size: 15px; font-weight: 600;
}
.form-status.error { background: #fdf3f2; border-color: #f0cfcb; color: #b42318; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 404 search ---------- */
.notfound-search { display: flex; gap: 10px; max-width: 460px; margin-top: 20px; }
.notfound-search input { flex: 1; }
@media (max-width: 620px) { .notfound-search { flex-direction: column; } }


/* ---------- Content counts ---------- */
.nav-count {
  font-size: 11px; font-weight: 700; color: var(--color-muted);
  margin-left: 2px; letter-spacing: 0;
}
nav.main ul.sub a:hover .nav-count { color: var(--color-brand-active); }
.h2-count {
  font-size: 14px; font-weight: 600; color: var(--color-muted);
  margin-left: 10px; white-space: nowrap; letter-spacing: 0;
}
@media (max-width: 620px) { .h2-count { display: block; margin: 4px 0 0; } }


/* ---------- Internal build reminder (remove before launch) ---------- */
.dev-note {
  background: #fdf3f2;
  border: 2px dashed #b42318;
  border-left: 6px solid #b42318;
  border-radius: 6px;
  color: #b42318;
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}
.dev-note strong {
  display: block; font-size: 17px; margin-bottom: 8px; color: #b42318;
}
.dev-note ul { margin: 8px 0 0; padding-left: 20px; }
.dev-note li { margin-bottom: 4px; font-weight: 600; }
.dev-note .en { display:block; margin-top:8px; font-weight:400; font-size:13px; color:#8a5a55; }


/* ---------- Figures (diagrams) ---------- */
figure.fig { margin: 0; }
figure.fig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: #fff;
}
figure.fig figcaption {
  font-size: 12.5px; color: var(--color-muted); margin-top: 8px; line-height: 1.5;
}
.fig-inline { margin: 28px 0 8px; }

/* ---------- Video ---------- */
figure.vid { margin: 0; }
figure.vid video {
  display: block; width: 100%; height: auto; background: #202020;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
}
figure.vid figcaption { font-size: 12.5px; color: var(--color-muted); margin-top: 8px; line-height: 1.5; }

/* ---------- Enquiry form fallback panel ----------
   Shown when the form has no endpoint configured, or the endpoint request
   failed: the visitor can copy the composed enquiry and send it directly. */
.form-status p { margin: 0 0 10px; font-weight: 400; line-height: 1.55; }
.form-status p:last-child { margin-bottom: 0; }
.form-copy {
  display: block; width: 100%; box-sizing: border-box; margin: 6px 0 12px;
  padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.5; color: #202020; background: #fff;
  border: 1px solid #E6DCD4; border-radius: 6px; resize: vertical;
}
.form-copy-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-copy-actions .btn { text-decoration: none; }

/* ---------- Closing CTA band ----------
   Nested inside the last screen so that the buyer questions, the related
   families and the RFQ action read as one closing beat rather than three
   separate screens. Visually identical to the previous standalone dark band. */
section.endcta { padding-bottom: 0; }
.cta-band {
  margin-top: 64px; padding: 60px 0;
  background: var(--color-footer); color: #E4D5C9;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #E4D5C9; max-width: 720px; }
.cta-band .btn-secondary { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; text-decoration: none; }
@media (max-width: 620px) { .cta-band { margin-top: 40px; padding: 44px 0; } }
