/* bbdbuyhub.com -- "Product Map + Parcel Lab + Reference Desk" visual system.
   Single Inter type family (per design system doc); differentiation between
   Product Map (white, image-led cards) and Parcel Lab (denser table/chip
   modules) comes from section background + component choice, not a second
   typeface. Distinct from the sibling network sites' spreadsheet-styled look. */

:root {
  --ink: #111827;
  --ink-soft: #667085;
  --paper: #F7F8FA;
  --paper-alt: #FFFFFF;
  --card: #FFFFFF;
  --line: #E7E9EE;
  --line-soft: #EFF1F5;
  --brand-dark: #172033;
  --accent: #FF6A35;
  --accent-ink: #ffffff;
  --accent-dark: #E0501F;
  --accent-2: #3276F5;
  --accent-2-dark: #1E5FDB;
  --good: #1F7A4D;
  --good-bg: #EAF7EF;
  --qc-bg: #0F2A1D;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 12px 28px -16px rgba(17, 24, 39, 0.18);
  --radius: 16px;
  --maxw: 1280px;
  --maxw-wide: 1560px;
  --maxw-read: 800px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.2rem); margin-top: 0.2em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.notranslate { unicode-bidi: isolate; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 0; top: 0; transform: translateY(-100%); background: var(--brand-dark); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2-dark);
  margin: 0 0 0.7em;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--paper-alt) 94%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
[id] { scroll-margin-top: 84px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: 4px; }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-dark); color: var(--accent); font-weight: 800; font-size: 0.92rem; }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.logo-accent { color: var(--accent); }
.primary-nav { display: none; flex: 1; align-items: center; gap: 20px; }
.nav-link { text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.quick-nav { display: flex; gap: 8px; }
.quick-link { font-size: 0.85rem; font-weight: 600; text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.quick-link[aria-current="page"] { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.header-spreadsheet-cta { font-size: 0.85rem; font-weight: 700; text-decoration: none; padding: 9px 17px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.header-spreadsheet-cta:hover { background: var(--accent-dark); }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.desktop-only { display: none; }
.lang-switch { position: relative; }
.lang-btn { font-size: 0.78rem; font-weight: 700; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 0 10px; height: 38px; cursor: pointer; }
.lang-menu { position: absolute; right: 0; top: 46px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; display: none; flex-direction: column; min-width: 150px; z-index: 60; }
.lang-menu.is-open { display: flex; }
.lang-menu button { text-align: left; background: none; border: none; padding: 8px 10px; border-radius: 7px; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
.lang-menu button:hover { background: var(--paper); }

.drawer, .search-panel { position: fixed; inset: 0; z-index: 150; display: none; }
.drawer.is-open, .search-panel.is-open { display: block; }
.drawer-backdrop, .search-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, 0.5); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86vw); background: var(--paper-alt); padding: 18px; overflow-y: auto; box-shadow: var(--shadow); }
.search-box { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); width: min(560px, 90vw); max-height: min(70vh, 560px); background: var(--paper-alt); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a, .drawer-search-btn { padding: 12px 8px; text-decoration: none; color: var(--ink); font-size: 1rem; border-bottom: 1px solid var(--line-soft); background: none; border-left: none; border-right: none; border-top: none; text-align: left; font-family: inherit; cursor: pointer; }

.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 0.98rem; background: var(--card); color: var(--ink); }
.search-form input:focus { border-color: var(--accent); }
.search-results { margin-top: 12px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.search-result { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 8px; border-radius: 10px; border: 1px solid transparent; }
.search-result:hover { background: var(--paper); border-color: var(--line); }
.search-result img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: var(--paper); flex: none; }
.search-result-body { display: flex; flex-direction: column; min-width: 0; }
.search-result-body strong { font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-body span { font-size: 0.76rem; color: var(--ink-soft); }
.search-empty { padding: 14px 4px 4px; font-size: 0.88rem; color: var(--ink-soft); }
.search-empty-cta { margin: 0 4px 8px; }
.search-product-note { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 0; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 22px; border-radius: 11px; text-decoration: none; font-weight: 700; font-size: 0.95rem; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: var(--brand-dark); color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.ext-mark { opacity: 0.65; font-size: 0.85em; }

@media (min-width: 1120px) {
  .primary-nav { display: flex; }
  .desktop-only { display: inline-flex; }
  .quick-nav { display: none; }
  .menu-toggle { display: none; }
}

@media (max-width: 899px) {
  .wrap.header-row { padding-left: 12px; padding-right: 12px; }
  .header-row { height: 60px; gap: 8px; }
  .logo { gap: 5px; margin-right: 0; min-width: 0; flex: 0 1 auto; }
  .logo-text { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { min-width: 0; gap: 5px; flex-shrink: 1; }
  .quick-nav { min-width: 0; gap: 4px; }
  .quick-link { padding: 6px 7px; font-size: 0.76rem; }
  .lang-btn { height: 34px; padding: 0 7px; font-size: 0.72rem; }
  .icon-btn { width: 34px; height: 34px; flex: 0 0 34px; }
}
@media (max-width: 430px) {
  .logo-text { display: none; }
  .logo { flex: 0 0 auto; }
  .quick-nav .quick-link:not(:first-child) { display: none; }
}

html, body { overflow-x: clip; }

/* ---------- Layout sections ---------- */
.section { padding: 60px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-lab { background: var(--brand-dark); color: #E7EAF2; }
.section-lab h2, .section-lab h3 { color: #fff; }
.section-lab .lead { color: #AEB6C9; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 68ch; }
.prose, .prose-block { max-width: 100%; }
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table-scroll { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: 12px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.prose thead th { background: var(--paper); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.prose code, .field-value { overflow-wrap: anywhere; word-break: break-word; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 52px 0 48px; overflow: hidden; background: var(--brand-dark); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 18% 15%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 55%), radial-gradient(circle at 85% 85%, color-mix(in oklab, var(--accent-2) 28%, transparent), transparent 50%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-col-text { max-width: 620px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #FFB59A; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--brand-dark); }
.hero .btn-ghost:focus-visible { outline-color: #fff; }
.hero-copy { color: #C7CEDE; }
.hero-copy .lead, .hero-copy p { color: #C7CEDE; max-width: 62ch; }
.hero-copy strong { color: #fff; }
.product-finder { margin-top: 22px; padding: 16px 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); max-width: 620px; }
.product-finder .mini-label { color: #FFB59A; margin: 0 0 6px; }
.product-finder-copy { color: #C7CEDE; margin: 0 0 12px; font-size: 0.94rem; }
.product-finder .search-form input { height: 52px; border-radius: 999px; padding: 0 20px; }
.product-finder .search-form .btn-primary { border-radius: 999px; padding: 13px 28px; }

.hero-col-visual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hero-visual-card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-visual-card:nth-child(2), .hero-visual-card:nth-child(4) { margin-top: 30px; }
.hero-visual-media { display: block; overflow: hidden; line-height: 0; }
.hero-visual-media img { width: 100%; height: auto; display: block; }
.hero-visual-body { padding: 8px 10px 10px; display: block; }
.hero-visual-body strong { display: block; font-size: 0.76rem; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-visual-price { display: block; font-weight: 700; color: var(--accent-2); font-size: 0.8rem; margin-top: 2px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-col-text { max-width: none; }
  .hero-col-visual { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 480px; }
  .hero-visual-card:nth-child(2), .hero-visual-card:nth-child(4) { margin-top: 0; }
  .hero-visual-body strong { font-size: 0.7rem; }
}
@media (max-width: 560px) {
  .hero-col-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 360px; }
  .hero-visual-card:nth-child(3), .hero-visual-card:nth-child(4) { display: none; }
}

/* ---------- Route cards (Choose Your Route) ---------- */
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
@media (max-width: 980px) { .route-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .route-grid { grid-template-columns: 1fr; } }
.route-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.route-card .route-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--paper); color: var(--accent-2-dark); font-weight: 800; font-size: 0.86rem; margin-bottom: 12px; }
.route-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.route-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 12px; flex: 1; }
.route-card .route-action { font-weight: 700; font-size: 0.86rem; color: var(--accent-2-dark); }
.route-card:hover { border-color: var(--accent-2); transform: translateY(-2px); }


/* ---------- Category icon grid (w2cspreadsheet.net-style quick jump) ---------- */
.cat-icon-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.cat-icon-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px 12px; }
.cat-icon-card:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.cat-icon-media { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.cat-icon-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-icon-label { font-size: 0.82rem; font-weight: 600; text-align: center; line-height: 1.25; }
@media (max-width: 900px) { .cat-icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) { .cat-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .cat-icon-label { font-size: 0.74rem; } }

.cat-w2c-jump { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cat-w2c-jump .mini-label { margin: 0; }

/* ---------- Product cards ---------- */
/* minmax(.., 1fr) stretches each column to fill 100% of whatever container
   it's given -- that's what made cards balloon to ~366px in the 1560px-wide
   .wrap-wide (vs. a normal ~220-280px product-card size). Capping the track
   max keeps card size a constant, container-independent ~260px regardless
   of how wide the surrounding section is; justify-content: start stops grid
   from re-stretching the capped tracks to fill leftover container width. */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 260px)); gap: 16px; justify-content: center; }
@media (max-width: 1000px) and (min-width: 701px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 260px)); } }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-card:hover { border-color: var(--accent); }
.product-media { aspect-ratio: 1/1; background: var(--paper); display: block; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.product-body strong { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.product-meta { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.price { font-weight: 700; color: var(--accent-2-dark); margin-top: 2px; }
.price .muted { font-weight: 400; font-size: 0.72rem; color: var(--ink-soft); }
.view-link { font-size: 0.8rem; font-weight: 700; margin-top: 4px; color: var(--accent-2-dark); }
.qc-flag { display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--good-bg); color: var(--good); padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; align-self: flex-start; }

@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 9px 10px 11px; }
  .product-body strong { font-size: 0.82rem; }
  .product-meta { font-size: 0.66rem; }
  .price { font-size: 0.86rem; }
  .view-link { font-size: 0.74rem; }
}

/* ---------- GEO answer-first callout + field lines ---------- */
.quick-answer { background: var(--paper); border-radius: 12px; padding: 18px 20px; margin: 4px 0 20px; border-left: 3px solid var(--accent); }
.quick-answer .callout-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); margin-bottom: 6px; }
.quick-answer p { margin: 0; font-size: 1.02rem; }

.callout { border-left: 3px solid var(--accent-2); background: var(--paper); border-radius: 0 10px 10px 0; margin: 20px 0; padding: 14px 18px; font-weight: 600; font-size: 1rem; }
.callout .callout-label { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-2-dark); margin-right: 6px; }

.field-line-plain { margin: 0 0 1em; }
.field-line-plain strong { font-weight: 700; font-size: 0.88rem; color: var(--ink); margin-right: 4px; }

.tag-solo { font-weight: 700; font-size: 1.05rem; margin: 10px 0; }
.mini-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 22px 0 8px; }

.cta-arrow { margin: 12px 0; }
.arrow-link { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; color: var(--accent-2-dark); }

.check-list { list-style: none; margin: 1em 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-box { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--line); flex: none; margin-top: 2px; }

.link-chips { list-style: none; margin: 1em 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.link-chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 0.88rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.link-chip:hover { border-color: var(--accent-2); color: var(--accent-2-dark); }

.pull-quote { border-left: 3px solid var(--accent); margin: 20px 0; padding: 4px 0 4px 18px; font-size: 1.1rem; font-weight: 600; color: var(--ink); }

/* ---------- Stage / decision-lab / guide-link grids ---------- */
.stage-grid { display: grid; gap: 14px; margin: 20px 0; }
.stage-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .stage-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stage-grid-4 { grid-template-columns: 1fr; } }
.stage-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; position: relative; }
.stage-card .stage-num { font-size: 0.74rem; font-weight: 800; color: var(--accent-dark); display: block; margin-bottom: 6px; }
.stage-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.stage-copy p:last-child { margin-bottom: 0; }
.stage-copy { font-size: 0.9rem; color: var(--ink-soft); }

.decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
@media (max-width: 700px) { .decision-grid { grid-template-columns: 1fr; } }
.qc-spotlight-media { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--qc-bg); }
.qc-spotlight-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.decision-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.decision-card strong { display: block; font-size: 1rem; margin-bottom: 6px; font-weight: 700; }
.decision-card p:last-child { margin-bottom: 0; }
.decision-card div { font-size: 0.92rem; color: var(--ink-soft); }
.decision-card a { color: var(--accent-2-dark); font-weight: 700; text-decoration: none; }
.decision-card a:hover { text-decoration: underline; }

/* ---------- Parcel metric chips (Parcel Lab visual language) ---------- */
.metric-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.metric-chip { display: flex; flex-direction: column; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; min-width: 120px; }
.metric-chip .metric-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.metric-chip .metric-value { font-size: 1.1rem; font-weight: 800; color: var(--brand-dark); }
.section-lab .metric-chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section-lab .metric-chip .metric-value { color: #fff; }
.section-lab .metric-chip .metric-label { color: #9AA4BC; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; text-align: left; background: none; border: none; padding: 16px 4px; font-size: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq-item button::after { content: "+"; color: var(--accent); flex: none; font-weight: 800; }
.faq-item button[aria-expanded="true"]::after { content: "\2013"; }
.faq-body { padding: 0 4px 16px; color: var(--ink-soft); }
.faq-body p { margin: 0; }
.faq-group { margin: 0 0 28px; }
.faq-group h2 { font-size: 1.1rem; margin-bottom: 4px; }
.faq-group .faq-list { border-top: 1px solid var(--line); }

/* ---------- Article / guide layout ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 14px 24px 0; font-size: 0.82rem; color: var(--ink-soft); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.article-layout { padding: 20px 0 60px; }
.prose-wrap { max-width: var(--maxw-read); margin: 0 auto; padding: 0 24px; }
.page-hero { padding: 30px 0 10px; }
.toc { background: var(--paper); border-radius: 12px; padding: 14px 18px; margin: 20px 0; font-size: 0.9rem; border: 1px solid var(--line); }
.toc strong { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; color: var(--accent-2-dark); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.guide-card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.guide-card:hover { border-color: var(--accent-2); }
.guide-card strong { display: block; margin-bottom: 6px; font-size: 0.98rem; font-weight: 700; }
.guide-card span:not(.guide-action) { font-size: 0.84rem; color: var(--ink-soft); }
.guide-action { display: block; font-size: 0.82rem; font-weight: 700; margin-top: 8px; color: var(--accent-2-dark); }

.related-guides { margin: 34px 0; }
.related-guides h2 { font-size: 1.1rem; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 0; }
.prev-next a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.prev-next a:hover { border-color: var(--accent-2); }
.prev-next a:only-child { grid-column: 1 / -1; }
.prev-next a:last-child:not(:only-child) { text-align: right; align-items: flex-end; }
.prev-next span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
@media (max-width: 560px) { .prev-next { grid-template-columns: 1fr; } .prev-next a:last-child { text-align: left; align-items: flex-start; } }

.article-faq { margin: 34px 0; }
.contact-card { background: var(--paper); border-radius: 12px; padding: 18px 20px; margin: 20px 0; border: 1px solid var(--line); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--brand-dark); color: #fff; padding: 56px 0; text-align: center; }
.final-cta h2, .final-cta h3 { color: #fff; }
.final-cta-lead { color: #B6BECF; max-width: 60ch; margin: 0 auto; }
.final-cta-lead p { margin: 0 0 8px; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-ghost { border-color: #fff; color: #fff; }
.final-cta .btn-ghost:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 20px; background: var(--paper-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand-col { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { font-size: 0.88rem; color: var(--ink-soft); max-width: 32ch; }
.footer-whatsapp { display: inline-flex; margin-top: 4px; font-size: 0.86rem; font-weight: 700; color: var(--good); text-decoration: none; }
.footer-whatsapp:hover { text-decoration: underline; }
.footer-col h2 { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 10px; }
.footer-col nav, .footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--ink-soft); }

.back-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-dark); color: #fff; border: none; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); z-index: 90; }
.back-top.is-visible { display: flex; }
.back-top:hover { background: var(--accent-dark); }

/* ---------- 404 ---------- */
.error-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
@media (max-width: 700px) { .error-actions { grid-template-columns: 1fr; } }
.error-action { display: block; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: var(--ink); font: inherit; cursor: pointer; }
.error-action:hover { border-color: var(--accent-2); }
.error-action strong { display: block; margin-bottom: 4px; }
.error-action span { font-size: 0.86rem; color: var(--ink-soft); }

#google_translate_element { display: none; }
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}
html.translated-ltr, html.translated-rtl { margin-top: 0 !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover, .goog-text-highlight {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}
