/* =============================================================
   Homepage sections — ported from the Astro "Clinical Datasheet" build.
   Loaded only on the front page.
   ============================================================= */
.sbk-wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

.sbk-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sbk-blue);
}
.sbk-kicker::before { content: "+"; font-weight: 700; font-size: 15px; color: var(--sbk-navy); }
.sbk-kicker-light { color: #3E8FD8; }
.sbk-kicker-light::before { color: #fff; }

.sbk-h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600; line-height: 1.28; letter-spacing: 0;
  color: #0E1E33; margin: 18px 0 16px;
}
.sbk-h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 600; line-height: 1.3; color: #0E1E33; margin: 10px 0 12px; }
.sbk-h2-light { color: #fff; }
.sbk-muted { color: var(--sbk-muted); margin: 0; }

.sbk-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .14s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.sbk-btn:hover { transform: translateY(-1px); }
.sbk-btn-primary { background: var(--sbk-navy); color: #fff !important; }
.sbk-btn-primary:hover { background: #0C2444; }
.sbk-btn-ghost { border-color: #C3D0DE; color: #0E1E33 !important; background: #fff; }
.sbk-btn-ghost:hover { border-color: var(--sbk-blue); color: var(--sbk-blue) !important; }
.sbk-btn-light { background: #fff; color: #0C2444 !important; }

/* ---- Hero ---- */
.sbk-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(32px, 4vw, 56px); }
.sbk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sbk-hero-grid > * { min-width: 0; }
.sbk-hero-body { max-width: 46ch; font-size: 17px; color: var(--sbk-muted); line-height: 1.72; }
.sbk-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.sbk-ruler {
  height: 22px; background-repeat: no-repeat; background-position: left bottom;
  background-image:
    repeating-linear-gradient(90deg, #B7C6D6 0 1px, transparent 1px, transparent 9px),
    repeating-linear-gradient(90deg, var(--sbk-navy) 0 1.5px, transparent 1.5px, transparent 45px);
  background-size: 100% 8px, 100% 15px;
}
.sbk-hero-rule { margin: 34px 0 22px; max-width: 460px; }
.sbk-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.sbk-num { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 600; color: var(--sbk-navy); }
.sbk-lbl { font-size: 13px; color: var(--sbk-muted); margin-top: 2px; }

/* ---- Hero spec card ---- */
.sbk-spec-card {
  margin: 0; background: #fff; border: 1px solid var(--sbk-line);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(14,30,51,.45);
}
.sbk-spec-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px; border-bottom: 1px solid var(--sbk-line);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: .06em; color: var(--sbk-muted);
}
.sbk-dot { display: inline-flex; align-items: center; gap: 7px; }
.sbk-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1E9E8A; }
.sbk-spec-media { display: flex; }
.sbk-ruler-v {
  width: 26px; flex: none; border-right: 1px solid var(--sbk-line);
  background-repeat: no-repeat; background-position: left center;
  background-image:
    repeating-linear-gradient(0deg, #B7C6D6 0 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(0deg, var(--sbk-navy) 0 1.5px, transparent 1.5px, transparent 50px);
  background-size: 9px 100%, 16px 100%;
}
.sbk-spec-img { flex: 1; min-width: 0; aspect-ratio: 4/3; display: grid; place-items: center; background: #fff; }
.sbk-spec-img img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.sbk-spec-foot { padding: 16px 20px 20px; border-top: 1px solid var(--sbk-line); }
.sbk-spec-code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--sbk-blue); }
.sbk-spec-name { font-size: 18px; font-weight: 600; margin: 4px 0 3px; }
.sbk-spec-name a { color: #0E1E33; text-decoration: none; }
.sbk-spec-meta { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--sbk-muted); }

/* ---- Trust ribbon ---- */
.sbk-trustbar { background: #fff; border-block: 1px solid var(--sbk-line); }
.sbk-trust-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 18px; }
.sbk-tb-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--sbk-muted); }
.sbk-tb-items { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.sbk-tb-item { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: #0E1E33; }
.sbk-seal { width: 30px; height: 30px; border-radius: 7px; background: #fff; border: 1px solid var(--sbk-line); object-fit: contain; padding: 2px; }

/* ---- Sections ---- */
.sbk-section { padding-block: clamp(48px, 6.5vw, 92px); }
.sbk-section-flush { padding-bottom: 0; }
.sbk-head { max-width: 620px; margin-bottom: 34px; }

/* ---- Credentials ---- */
.sbk-cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sbk-cred {
  background: #fff; border: 1px solid var(--sbk-line); border-radius: 12px;
  padding: 22px 22px 24px; transition: border-color .18s ease, box-shadow .18s ease;
}
.sbk-cred:hover { border-color: #C3D0DE; box-shadow: 0 16px 40px -30px rgba(14,30,51,.4); }
.sbk-badge {
  width: 60px; height: 60px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 15px; background: #EAF0F6; border: 1px solid var(--sbk-line);
}
.sbk-badge.is-logo { background: #fff; padding: 7px; }
.sbk-badge img { width: 100%; height: 100%; object-fit: contain; }
.sbk-badge-txt { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 600; color: var(--sbk-navy); }
.sbk-cred-name { font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-weight: 600; color: #0E1E33; }
.sbk-cred-desc { color: var(--sbk-muted); font-size: 13.5px; margin-top: 8px; }

/* ---- Products (shortcode output sits between sections) ---- */
.home .woocommerce.columns-4 { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.sbk-viewall { margin-top: 30px; padding-bottom: 8px; }

/* ---- About ---- */
.sbk-about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.sbk-about-grid > * { min-width: 0; }
.sbk-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.sbk-points li { display: flex; gap: 13px; align-items: flex-start; }
.sbk-check {
  flex: none; margin-top: 3px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--sbk-navy); color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.sbk-pt { font-weight: 600; color: #0E1E33; }
.sbk-pd { color: var(--sbk-muted); font-size: 14.5px; }
.sbk-logo-card {
  background: #fff; border: 1px solid var(--sbk-line); border-radius: 20px;
  padding: clamp(28px, 5vw, 52px); box-shadow: 0 20px 50px -34px rgba(14,30,51,.4);
}
.sbk-logo-card img { width: 100%; max-width: 380px; margin-inline: auto; display: block; }

/* ---- Contact ---- */
.sbk-contact {
  background: #0C2444; color: #fff; border-radius: 20px;
  padding: clamp(34px, 5vw, 60px); position: relative; overflow: hidden;
}
.sbk-contact-body { color: #C6D3E2; max-width: 620px; margin: 0 0 20px; }
.sbk-contact-docs { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8FA6C0; margin-top: 16px; }
.sbk-contact-ruler {
  position: absolute; inset: auto 0 0 0; height: 14px; opacity: .35;
  background-repeat: no-repeat; background-position: left bottom;
  background-image: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px, transparent 12px);
  background-size: 100% 10px;
}

@media (max-width: 880px) {
  .sbk-hero-grid, .sbk-about-grid { grid-template-columns: 1fr; }
  .sbk-logo-card { order: -1; }
  .sbk-tb-items { margin-left: 0; }
}

/* Front page runs edge-to-edge; sections own their gutters via .sbk-wrap */
.home .sbk-main,
.home .sbk-main > .entry-content,
.home .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  padding-inline: 0 !important;
  margin-block: 0 !important;
}
.home .sbk-main > * { max-width: none; }
/* Product shortcode grid keeps the site gutter */
.home .woocommerce { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
