/* ============================================================
   PRIMEVA LABS — HOMEPAGE (front-page.php)
   Scoped to #primeva-home-v5. Loaded only on the front page.
   v1.4.1 — compact one-screen sections, clean hero, circular quality hub.
   ============================================================ */

#primeva-home-v5,
#primeva-home-v5 * { box-sizing: border-box; }

#primeva-home-v5 {
  --pv-navy: #061a44;
  --pv-navy-2: #0a245a;
  --pv-blue: #1377ff;
  --pv-blue-2: #19bdf2;
  --pv-ice: #f4faff;
  --pv-line: #d8e7f8;
  --pv-muted: #607391;
  --pv-text: #10213f;
  --pv-shadow: 0 22px 64px rgba(6, 26, 68, 0.10);
  --pv-soft-shadow: 0 12px 34px rgba(6, 26, 68, 0.07);
  --pv-max: 1320px;

  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 6%, rgba(19, 119, 255, 0.07), transparent 24%),
    radial-gradient(circle at 88% 2%, rgba(25, 189, 242, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #ffffff 100%);
  color: var(--pv-navy);
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#primeva-home-v5 img { max-width: 100%; display: block; }
#primeva-home-v5 a { text-decoration: none; }
#primeva-home-v5 button { font-family: inherit; }

.pv-shell { width: min(var(--pv-max), calc(100% - 64px)); margin: 0 auto; }

.pv-eyebrow {
  margin: 0 0 12px; color: var(--pv-blue);
  font-weight: 800; font-size: 12px; line-height: 1;
  letter-spacing: 0.28em; text-transform: uppercase;
}

.pv-btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--pv-line); font-weight: 800; font-size: 14.5px; line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; cursor: pointer;
}
.pv-btn:hover { transform: translateY(-2px); box-shadow: var(--pv-soft-shadow); }
.pv-btn-primary { background: var(--pv-navy); color: #fff; border-color: var(--pv-navy); box-shadow: 0 14px 28px rgba(6, 26, 68, 0.16); }
.pv-btn-primary:hover { background: var(--pv-blue); border-color: var(--pv-blue); }
.pv-btn-secondary { background: rgba(255,255,255,0.9); color: var(--pv-navy); }

/* shared section scaffolding (kept compact) */
.pv-section { padding: clamp(44px, 4.5vw, 68px) 0; }
.pv-section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.pv-section-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 800; color: var(--pv-navy); }
.pv-section-head p { margin: 12px auto 0; color: var(--pv-muted); font-size: 16px; line-height: 1.5; font-weight: 500; }

/* ================================ HERO ================================ */
.pv-hero {
  position: relative; padding: clamp(44px, 4.5vw, 72px) 0 52px;
  background:
    radial-gradient(circle at 6% 22%, rgba(19, 119, 255, 0.06), transparent 30%),
    radial-gradient(circle at 96% 18%, rgba(25, 189, 242, 0.07), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(239,248,255,0.7));
  border-bottom: 1px solid rgba(216, 231, 248, 0.8);
}
.pv-hero-grid {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  align-items: center; gap: clamp(36px, 3.5vw, 60px);
}
.pv-hero-copy { min-width: 0; max-width: 660px; }
.pv-hero-title { margin: 0; color: var(--pv-navy); font-size: clamp(42px, 3.4vw, 60px); line-height: 0.98; letter-spacing: -0.06em; font-weight: 800; }
.pv-hero-title .pv-title-line { display: block; }
.pv-hero-title .pv-title-accent { color: var(--pv-blue); }
.pv-hero-sub { max-width: 560px; margin: 20px 0 24px; color: var(--pv-muted); font-size: clamp(15px, 1vw, 17px); line-height: 1.58; font-weight: 500; }

.pv-hero-search { margin-top: 22px; max-width: 560px; position: relative; }
.pv-hero-search input {
  width: 100%; height: 54px; border: 1px solid var(--pv-line); border-radius: 999px;
  padding: 0 22px 0 52px; outline: none; color: var(--pv-navy);
  background: rgba(255,255,255,0.95); box-shadow: 0 14px 38px rgba(6,26,68,.06);
  font-size: 15px; font-weight: 500; font-family: inherit;
}
.pv-hero-search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 17px; color: var(--pv-navy); opacity: 0.7; }

.pv-hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin-top: 16px; }
.pv-hero-badge {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px;
  padding: 12px 14px; background: rgba(255,255,255,0.9); border: 1px solid var(--pv-line);
  border-radius: 14px; box-shadow: 0 10px 26px rgba(6,26,68,.05);
}
.pv-hero-badge-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(180deg, #f6fbff, #eaf4ff); color: var(--pv-blue); font-weight: 800; }
.pv-hero-badge strong { display: block; color: var(--pv-navy); font-size: 13px; font-weight: 800; line-height: 1.05; }
.pv-hero-badge span { display: block; margin-top: 2px; color: var(--pv-muted); font-size: 11.5px; font-weight: 600; line-height: 1.2; }

/* --- hero showcase: clean two-zone layout (vials | feature card), no overlap --- */
.pv-showcase {
  position: relative; min-height: 560px; border-radius: 30px; border: 1px solid #c2dcff;
  background:
    radial-gradient(circle at 32% 52%, rgba(255,255,255,0.95), rgba(232,246,255,0.82) 46%, rgba(221,240,255,0.55) 74%),
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(226,242,255,0.74));
  box-shadow: var(--pv-shadow); overflow: hidden; isolation: isolate;
}
/* concentric rings centered on the vial zone (left 60%) */
.pv-showcase:before {
  content: ""; position: absolute; left: 30%; top: 50%;
  width: 420px; height: 420px; transform: translate(-50%, -46%);
  border-radius: 50%; border: 1.5px solid rgba(19,119,255,.16);
  box-shadow: 0 0 0 26px rgba(19,119,255,.04), inset 0 0 70px rgba(19,119,255,.07);
  pointer-events: none; z-index: 0;
}
.pv-showcase:after {
  content: ""; position: absolute; left: 30%; top: 50%;
  width: 300px; height: 300px; transform: translate(-50%, -48%);
  border-radius: 50%; border: 1px solid rgba(25,189,242,.22);
  pointer-events: none; z-index: 0;
}
.pv-stage-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle, rgba(19,119,255,.16) 0 1px, transparent 2px) 8% 16%/34px 34px,
    radial-gradient(circle, rgba(25,189,242,.12) 0 1px, transparent 2px) 50% 12%/42px 42px;
  opacity: 0.22;
}

/* vial zone occupies the LEFT 60%; card occupies the RIGHT — they do not overlap */
.pv-vial-field { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; z-index: 3; }

.pv-pedestal {
  position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%);
  width: min(380px, 84%); height: 76px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.97) 0%, rgba(178,218,255,.92) 42%, rgba(30,107,255,.36) 68%, rgba(30,107,255,0) 78%);
  box-shadow: 0 26px 54px rgba(19,119,255,.2), inset 0 0 30px rgba(255,255,255,.95);
  z-index: 2;
}
.pv-pedestal:before {
  content: ""; position: absolute; left: 9%; right: 9%; top: 18px; height: 26px;
  border-radius: 50%; border: 2px solid rgba(19,119,255,.28); background: rgba(255,255,255,.4);
}

.pv-vial-img {
  position: absolute; height: auto; object-fit: contain; user-select: none; pointer-events: none;
  filter: drop-shadow(0 22px 24px rgba(6,26,68,.2));
}
/* bottom-anchored so the base of the vial meets the platform */
.pv-vial-main {
  z-index: 5; left: 50%; bottom: 15%; transform: translateX(-50%);
  height: clamp(330px, 32vw, 460px); width: auto;
  opacity: 1; transition: opacity .45s ease;
}
.pv-vial-main.pv-fade { opacity: 0; }
.pv-vial-side {
  z-index: 2; bottom: 20%; height: clamp(168px, 16vw, 232px); width: auto;
  opacity: 0.44; filter: blur(1.1px) drop-shadow(0 16px 16px rgba(6,26,68,.1));
  transition: opacity .45s ease;
}
.pv-vial-prev { left: 1%; transform: scale(.84); }
.pv-vial-next { right: 1%; transform: scale(.84); }

.pv-feature-card {
  position: absolute; z-index: 6; right: 22px; top: 50%; transform: translateY(-50%);
  width: 36%; max-width: 330px; min-height: 0;
  padding: 24px 22px; border-radius: 22px;
  background: rgba(255,255,255,.94); border: 1px solid rgba(216,231,248,.95);
  box-shadow: 0 20px 56px rgba(6,26,68,.12); backdrop-filter: blur(8px);
}
.pv-slide-count { color: var(--pv-muted); font-weight: 800; font-size: 14px; letter-spacing: .08em; margin-bottom: 12px; }
.pv-feature-card h3 { margin: 0; color: var(--pv-navy); font-size: clamp(24px, 1.8vw, 32px); line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.pv-feature-card h4 { margin: 8px 0 16px; color: var(--pv-navy-2); font-size: 14px; line-height: 1.3; font-weight: 800; }
.pv-feature-points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pv-feature-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--pv-muted); font-size: 13px; line-height: 1.38; font-weight: 600; }
.pv-feature-points i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(180deg, #f7fbff, #eaf4ff); border: 1px solid #d7e9ff; color: var(--pv-blue); font-style: normal; font-weight: 800; font-size: 12px; }

.pv-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.pv-carousel-dots { display: flex; align-items: center; gap: 7px; }
.pv-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #b9d8ff; padding: 0; cursor: pointer; transition: width .2s ease; }
.pv-dot.is-active { width: 24px; background: var(--pv-blue); }

/* prev/next arrows live at the edges of the vial zone (never over the card) */
.pv-stage-arrow {
  position: absolute; z-index: 12; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px; background: var(--pv-navy); color: #fff;
  border: 0; cursor: pointer; display: grid; place-items: center; font-size: 26px; line-height: 1;
  box-shadow: 0 14px 28px rgba(6,26,68,.2); transition: background 180ms ease, transform 180ms ease;
}
.pv-stage-arrow:hover { background: var(--pv-blue); transform: translateY(-50%) scale(1.06); }
.pv-stage-arrow-left { left: 14px; }
.pv-stage-arrow-right { left: calc(60% - 58px); }

/* ================================ RESEARCH AREAS (compact) ================================ */
.pv-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.pv-tab-btn {
  min-height: 52px; border-radius: 13px; border: 1px solid var(--pv-line); background: rgba(255,255,255,.9);
  color: var(--pv-navy); font-weight: 800; font-size: 14px; line-height: 1.12; padding: 10px; cursor: pointer; transition: 160ms ease;
}
.pv-tab-btn.is-active, .pv-tab-btn:hover { background: var(--pv-blue); border-color: var(--pv-blue); color: #fff; box-shadow: 0 12px 26px rgba(19,119,255,.18); }

.pv-research-panel {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 26px;
  border: 1px solid var(--pv-line); border-radius: 24px;
  background: radial-gradient(circle at 0% 0%, rgba(19,119,255,.07), transparent 30%), linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,248,255,.78));
  box-shadow: var(--pv-soft-shadow); padding: clamp(20px, 2.4vw, 32px);
}
.pv-research-info .pv-eyebrow { margin-bottom: 8px; }
.pv-research-info h3 { margin: 4px 0 12px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.pv-research-info p { max-width: 540px; color: var(--pv-muted); font-size: 15px; line-height: 1.52; font-weight: 500; }
.pv-check-list { display: grid; gap: 7px; margin: 16px 0 14px; padding: 0; list-style: none; }
.pv-check-list li { color: var(--pv-muted); font-size: 14px; line-height: 1.35; font-weight: 600; }
.pv-check-list li:before { content: "✓"; color: var(--pv-blue); font-weight: 800; margin-right: 8px; }
.pv-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pv-chip { border: 1px solid #c8ddf7; background: rgba(255,255,255,.8); color: var(--pv-blue); border-radius: 999px; padding: 6px 11px; font-weight: 800; font-size: 12px; }

.pv-spotlight-wrap { display: flex; flex-direction: column; min-width: 0; }
.pv-spotlight-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.pv-spotlight-title { color: var(--pv-blue); font-size: 12px; letter-spacing: .24em; font-weight: 800; text-transform: uppercase; }
.pv-spotlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }

.pv-product-mini { position: relative; overflow: hidden; border: 1px solid var(--pv-line); border-radius: 16px; background: rgba(255,255,255,.9); display: flex; flex-direction: column; transition: transform 180ms ease, box-shadow 180ms ease; }
.pv-product-mini:hover { transform: translateY(-3px); box-shadow: var(--pv-soft-shadow); }
.pv-product-mini-badge { position: absolute; z-index: 4; top: 10px; left: 10px; background: var(--pv-navy); color: #fff; border-radius: 999px; padding: 5px 9px; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pv-product-mini-img { aspect-ratio: 1 / 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 54%, rgba(255,255,255,.8), rgba(218,238,255,.7)), linear-gradient(180deg, rgba(235,247,255,.88), rgba(255,255,255,.86)); overflow: hidden; }
.pv-product-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-product-mini-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.pv-product-mini-body h4 { margin: 0; color: var(--pv-navy); font-size: 18px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-product-mini-body p { margin: 6px 0 10px; color: var(--pv-muted); font-size: 12.5px; line-height: 1.38; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pv-product-mini-price { margin: auto 0 8px; color: var(--pv-navy); font-weight: 800; font-size: 15px; }
.pv-product-mini-body a.pv-mini-link { color: var(--pv-blue); font-weight: 800; font-size: 13px; }

/* ================================ QUALITY — CIRCULAR HUB ================================ */
.pv-quality { background: radial-gradient(circle at 80% 0%, rgba(19,119,255,.07), transparent 26%), linear-gradient(180deg, #fff, #f4faff); }

.pv-quality-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 14px 26px; align-items: center; max-width: 1100px; margin: 0 auto;
}
.pv-test {
  border: 1px solid var(--pv-line); border-radius: 16px; background: #fff;
  padding: 15px 17px; box-shadow: var(--pv-soft-shadow);
}
.pv-test h4 { margin: 0 0 5px; display: flex; align-items: center; gap: 8px; color: var(--pv-navy); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.pv-test h4 .pv-test-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--pv-blue); flex: none; }
.pv-test h4 .pv-test-method { margin-left: auto; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pv-blue); background: #eaf4ff; border: 1px solid #d7e9ff; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.pv-test .pv-what { margin: 0 0 7px; color: var(--pv-muted); font-size: 12.5px; line-height: 1.42; font-weight: 500; }
.pv-test .pv-why { margin: 0; color: var(--pv-navy-2); font-size: 12px; line-height: 1.4; font-weight: 600; }
.pv-test .pv-why b { color: var(--pv-blue); font-weight: 800; }

.pv-test:nth-child(1) { grid-column: 1; grid-row: 1; }
.pv-test:nth-child(2) { grid-column: 1; grid-row: 2; }
.pv-test:nth-child(3) { grid-column: 1; grid-row: 3; }
.pv-hub-center { grid-column: 2; grid-row: 1 / span 3; }
.pv-test:nth-child(5) { grid-column: 3; grid-row: 1; }
.pv-test:nth-child(6) { grid-column: 3; grid-row: 2; }
.pv-test:nth-child(7) { grid-column: 3; grid-row: 3; }

.pv-hub-center {
  position: relative; width: 268px; height: 268px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 28px; color: #fff;
  background: radial-gradient(circle at 50% 36%, #14418f, var(--pv-navy) 70%);
  box-shadow: 0 26px 60px rgba(6,26,68,.28), inset 0 0 0 1px rgba(255,255,255,.06);
}
.pv-hub-center:before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px solid rgba(19,119,255,.35); box-shadow: 0 0 0 10px rgba(19,119,255,.06);
}
.pv-hub-center:after {
  content: ""; position: absolute; inset: -30px; border-radius: 50%;
  border: 1px dashed rgba(19,119,255,.25);
}
.pv-hub-inner { position: relative; z-index: 2; display: grid; gap: 10px; justify-items: center; }
.pv-hub-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--pv-blue-2); font-weight: 800; }
.pv-hub-stat { font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.pv-hub-stat small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #c8dcff; margin-top: 4px; }
.pv-hub-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--pv-blue); color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 12px 24px rgba(19,119,255,.4); }
.pv-hub-btn:hover { background: #fff; color: var(--pv-navy); }

/* ================================ FEATURED PRODUCTS (compact) ================================ */
.pv-featured-products { padding: clamp(44px, 4.5vw, 68px) 0; }
.pv-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.pv-shop-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--pv-line); background: #fff; box-shadow: 0 12px 32px rgba(6,26,68,.06); transition: transform 180ms ease, box-shadow 180ms ease; }
.pv-shop-card:hover { transform: translateY(-3px); box-shadow: var(--pv-shadow); }
.pv-shop-img { aspect-ratio: 1 / 1; background: #edf7ff; overflow: hidden; }
.pv-shop-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-shop-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pv-shop-body small { display: block; color: var(--pv-blue); font-size: 11px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.pv-shop-body h3 { margin: 0; font-size: 19px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-shop-body p { color: var(--pv-muted); font-size: 13px; line-height: 1.45; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.pv-price { color: var(--pv-navy); font-weight: 800; font-size: 17px; margin: 14px 0; margin-top: auto; }
.pv-card-btn { display: flex; justify-content: center; align-items: center; min-height: 44px; border-radius: 999px; background: var(--pv-navy); color: #fff; font-weight: 800; font-size: 14px; }
.pv-card-btn:hover { background: var(--pv-blue); }

/* ================================ FAQ ================================ */
.pv-faq { padding: 56px 0 76px; background: linear-gradient(180deg, #f4faff, #fff); }
.pv-faq-list { max-width: 820px; margin: 26px auto 0; display: grid; gap: 12px; }
.pv-faq details { border: 1px solid var(--pv-line); border-radius: 16px; background: rgba(255,255,255,.92); overflow: hidden; }
.pv-faq summary { cursor: pointer; padding: 18px 22px; color: var(--pv-navy); font-size: 16px; font-weight: 800; list-style: none; }
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq details p { margin: 0; padding: 0 22px 20px; color: var(--pv-muted); font-size: 15px; line-height: 1.55; }

/* ================================ RESPONSIVE ================================ */
@media (max-width: 1180px) {
  .pv-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .pv-hero-copy { max-width: 760px; text-align: center; margin: 0 auto; }
  .pv-hero-title, .pv-hero-sub, .pv-hero-search, .pv-hero-badges { margin-left: auto; margin-right: auto; }
  .pv-btn-row { justify-content: center; }
  .pv-showcase { max-width: 760px; width: 100%; margin: 0 auto; }
  .pv-stage-arrow-right { left: calc(60% - 56px); }
  .pv-research-panel { grid-template-columns: 1fr; }
  .pv-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* quality hub -> 2 columns of tests, hub on top spanning full width */
  .pv-quality-hub { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 12px; }
  .pv-quality-hub .pv-test, .pv-quality-hub .pv-hub-center { grid-column: auto; grid-row: auto; }
  .pv-hub-center { order: -1; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: auto; border-radius: 20px; padding: 22px; }
  .pv-hub-center:before, .pv-hub-center:after { display: none; }
  .pv-hub-inner { grid-auto-flow: column; align-items: center; gap: 18px; }
  .pv-hub-stat { font-size: 32px; }
}

@media (max-width: 860px) {
  .pv-shell { width: min(100% - 28px, var(--pv-max)); }
  .pv-section, .pv-featured-products { padding: 38px 0; }
  .pv-section-head { margin-bottom: 20px; }
  .pv-hero { padding-top: 32px; padding-bottom: 36px; }
  .pv-hero-title { font-size: clamp(36px, 9vw, 48px); letter-spacing: -0.05em; }
  .pv-hero-sub { font-size: 15px; }
  .pv-hero-badges { grid-template-columns: 1fr 1fr 1fr; }
  .pv-hero-badge { grid-template-columns: 1fr; text-align: center; gap: 6px; padding: 10px; }
  .pv-hero-badge-icon { display: none; }

  /* hero: stacked, bigger seated vial */
  .pv-showcase { min-height: 0; border-radius: 22px; display: flex; flex-direction: column; }
  .pv-vial-field { position: relative; width: 100%; height: 380px; flex: none; }
  .pv-showcase:before { left: 50%; transform: translate(-50%, -52%); width: 250px; height: 250px; }
  .pv-showcase:after { left: 50%; transform: translate(-50%, -54%); width: 176px; height: 176px; }
  .pv-vial-main { height: 330px; width: auto; bottom: 8%; top: auto; }
  .pv-vial-side { height: 184px; width: auto; opacity: .3; bottom: 14%; }
  .pv-vial-prev { left: 4%; }
  .pv-vial-next { right: 4%; }
  .pv-pedestal { bottom: 9%; top: auto; width: 60%; height: 52px; }
  .pv-feature-card { position: static; transform: none; width: auto; max-width: none; margin: 0 16px 18px; box-shadow: 0 14px 36px rgba(6,26,68,.1); }
  .pv-stage-arrow { top: 130px; width: 40px; height: 40px; font-size: 22px; }
  .pv-stage-arrow-left { left: 12px; }
  .pv-stage-arrow-right { left: auto; right: 12px; }

  .pv-tabs { display: flex; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; gap: 8px; }
  .pv-tab-btn { min-width: 150px; min-height: 44px; scroll-snap-align: start; }
  .pv-research-panel { padding: 16px; border-radius: 20px; }

  /* spotlight + featured become swipeable carousels (smaller cards that peek) */
  .pv-spotlight-grid, .pv-product-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding: 2px 2px 8px; margin: 0 -2px;
  }
  .pv-spotlight-grid > *, .pv-product-grid > * { flex: 0 0 47%; max-width: 47%; scroll-snap-align: start; }
  .pv-product-mini-img, .pv-shop-img { aspect-ratio: 1 / 1; height: auto; }
  .pv-product-mini-body { padding: 11px; }
  .pv-product-mini-body h4 { font-size: 15px; }
  .pv-product-mini-body p, .pv-shop-body p { display: none; }
  .pv-shop-body { padding: 12px 13px 14px; }
  .pv-shop-body h3 { font-size: 16px; }
  .pv-price { font-size: 15px; margin: 10px 0; margin-top: auto; }

  /* quality: single column with the navy hub centered in the middle, 3 cards above & 3 below */
  .pv-quality-hub { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; max-width: 460px; }
  .pv-quality-hub .pv-test, .pv-quality-hub .pv-hub-center { grid-column: 1 / -1; grid-row: auto; order: 0; }
  .pv-test { padding: 14px 16px; }
  .pv-test h4 { font-size: 14px; }
  .pv-test h4 .pv-test-method { display: inline-block; }
  .pv-test .pv-what { display: block; }
  .pv-test .pv-why { font-size: 12px; }
  .pv-hub-center { order: 0; width: 230px; height: 230px; aspect-ratio: 1 / 1; border-radius: 50%; margin: 10px auto; padding: 26px; }
  .pv-hub-center:before, .pv-hub-center:after { display: block; }
  .pv-hub-inner { grid-auto-flow: row; gap: 8px; }
  .pv-hub-stat { font-size: 32px; }
}

@media (max-width: 520px) {
  .pv-hero-badges { grid-template-columns: 1fr 1fr 1fr; }
  .pv-btn { width: 100%; }
  .pv-section-head h2 { font-size: 28px; }
  .pv-spotlight-grid > *, .pv-product-grid > * { flex: 0 0 76%; max-width: 76%; }
  .pv-quality-hub { grid-template-columns: 1fr; }
}
