/* Home design variants A / B / C (SITE_HOME_VARIANT, src/components/HomeVariants.tsx). Linked by those pages only, so a default
   build (today's home) does not carry it. Prefix hv-; the design tokens and the page background are the site's own (globals.css).
   The rotating part is CSS only: four slides stacked in one grid cell (no layout shift, the first visible without any script), a
   24 s keyframe loop (6 s a slide), paused on hover and focus, off under prefers-reduced-motion; a tab (radio + label) stops the
   loop on its slide. Strict CSP: no inline style anywhere. */

/* ---- shared ---- */
.hv { overflow-x: clip; }
.hv-wrap { max-width: calc(1320px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hv h1 { margin: 0 0 20px; font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.hv-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 24px; padding: 0; color: #64748b; font-size: 14px; font-weight: 500; line-height: 21px; }
.hv-facts li { display: flex; align-items: center; gap: 6px; }
.hv-facts li::before { content: "\2713"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(16, 185, 129, 0.1); color: #10b981; font-size: 10px; font-weight: 800; }
.hv-facts b { color: var(--ink); font-weight: 700; }
.hv-label { margin: 0 0 12px; color: #64748b; font-weight: 700; }
.hv-note { margin: 24px 0 0; font-size: 13px; line-height: 1.5; color: var(--body); white-space: pre-line; }

.hv-search { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px; height: 60px; padding: 0 7px 0 18px; background: #fff; border: 2px solid var(--brand); border-radius: 14px; box-shadow: 0 8px 25px rgba(0, 86, 179, 0.12); color: #64748b; }
.hv-search:focus-within { box-shadow: 0 0 0 4px rgba(0, 102, 180, 0.18); }
.hv-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.hv-search input::placeholder { font-style: italic; color: #8a8f98; }
.hv-search input:focus { outline: none; }
.hv-draw { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-left: 1px solid var(--line); color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hv-draw:hover { color: var(--brand-deep); }
.hv-go { flex: none; height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.hv-go:hover { background: var(--brand-deep); }
@media (max-width: 575px) {
  .hv-search { height: 54px; padding-left: 14px; }
  .hv-dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hv-draw { padding: 0 10px; }
  .hv-go { padding: 0 16px; height: 40px; }
}
/* the header search stays on the home page as on every page, beside the banner's own search (owner 1 Nov) */

.hv-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.hv-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04); color: var(--brand); font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s; }
.hv-pills a:hover { background: #fff; box-shadow: 0 8px 20px rgba(0, 86, 179, 0.1); transform: translateY(-2px); }
.hv-pills .hv-pill-o { border-color: var(--brand); }
/* phones: one scrolling row, not four rows of pills */
@media (max-width: 767px) {
  .hv-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .hv-pills::-webkit-scrollbar { display: none; }
}

/* ---- the rotating part ---- */
.hv-rot { position: relative; }
.hv-r { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.hv-slides { display: grid; }
.hv-slide { grid-area: 1 / 1; position: relative; z-index: 1; min-width: 0; opacity: 0; visibility: hidden; animation: hv-on 24s ease-in-out infinite both; }
.hv-slide:nth-child(1) { animation-name: hv-on-1; }
.hv-slide:nth-child(2) { animation-delay: 6s; }
.hv-slide:nth-child(3) { animation-delay: 12s; }
.hv-slide:nth-child(4) { animation-delay: 18s; }
@keyframes hv-on { 0% { opacity: 0; visibility: hidden; } 2%, 23% { opacity: 1; visibility: visible; } 25%, 100% { opacity: 0; visibility: hidden; } }
@keyframes hv-on-1 { 0%, 23% { opacity: 1; visibility: visible; } 25%, 97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
/* the tab of the slide on show: a mark (::before) that fades in with it; a design may add a progress line (::after) */
.hv-tab { position: relative; cursor: pointer; }
.hv-tab::before { content: ""; opacity: 0; animation: hv-mark 24s linear infinite both; }
.hv-tab:nth-child(1)::before { animation-name: hv-mark-1; }
.hv-tab:nth-child(2)::before, .hv-tab:nth-child(2)::after { animation-delay: 6s; }
.hv-tab:nth-child(3)::before, .hv-tab:nth-child(3)::after { animation-delay: 12s; }
.hv-tab:nth-child(4)::before, .hv-tab:nth-child(4)::after { animation-delay: 18s; }
@keyframes hv-mark { 0% { opacity: 0; } 1%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes hv-mark-1 { 0%, 24% { opacity: 1; } 25%, 99% { opacity: 0; } 100% { opacity: 1; } }
/* paused while the pointer or focus is inside */
.hv-rot:hover .hv-slide, .hv-rot:focus-within .hv-slide,
.hv-rot:hover .hv-tab::before, .hv-rot:focus-within .hv-tab::before,
.hv-rot:hover .hv-tab::after, .hv-rot:focus-within .hv-tab::after { animation-play-state: paused; }
/* a chosen tab stops the loop and shows its slide */
.hv-rot:has(.hv-r:checked) .hv-slide { animation: none; opacity: 0; visibility: hidden; }
.hv-rot:has(.hv-r:checked) .hv-tab::before, .hv-rot:has(.hv-r:checked) .hv-tab::after { animation: none; opacity: 0; }
.hv-r:nth-of-type(1):checked ~ .hv-slides > :nth-child(1), .hv-r:nth-of-type(2):checked ~ .hv-slides > :nth-child(2),
.hv-r:nth-of-type(3):checked ~ .hv-slides > :nth-child(3), .hv-r:nth-of-type(4):checked ~ .hv-slides > :nth-child(4), .hv-r:nth-of-type(5):checked ~ .hv-slides > :nth-child(5) { opacity: 1; visibility: visible; }
.hv-r:nth-of-type(1):checked ~ .hv-tabs > :nth-child(1)::before, .hv-r:nth-of-type(2):checked ~ .hv-tabs > :nth-child(2)::before,
.hv-r:nth-of-type(3):checked ~ .hv-tabs > :nth-child(3)::before, .hv-r:nth-of-type(4):checked ~ .hv-tabs > :nth-child(4)::before, .hv-r:nth-of-type(5):checked ~ .hv-tabs > :nth-child(5)::before { opacity: 1; }
.hv-r:nth-of-type(1):focus-visible ~ .hv-tabs > :nth-child(1), .hv-r:nth-of-type(2):focus-visible ~ .hv-tabs > :nth-child(2),
.hv-r:nth-of-type(3):focus-visible ~ .hv-tabs > :nth-child(3), .hv-r:nth-of-type(4):focus-visible ~ .hv-tabs > :nth-child(4), .hv-r:nth-of-type(5):focus-visible ~ .hv-tabs > :nth-child(5) { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .hv-slide, .hv-tab::before, .hv-tab::after { animation: none; }
  .hv-slide:nth-child(1) { opacity: 1; visibility: visible; }
  .hv-tab:nth-child(1)::before { opacity: 1; }
}

/* ---- sections shared by the three designs (cards in A and B, an index in C) ---- */
.hv-sec { margin: 80px 0; }
.hv-sh { margin: 0 0 32px; text-align: center; }
.hv-kick { display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 20px; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.hv-kick a { color: inherit; text-decoration: none; }
.hv-kick a:hover { text-decoration: underline; }
.hv-sh h2 { margin: 0; font-size: calc(1.2875rem + 0.45vw); font-weight: 600; line-height: 1.2; color: var(--ink); }
@media (min-width: 1200px) { .hv-sh h2 { font-size: 1.625rem; } }
.hv-fam, .hv-svc, .hv-drugs { list-style: none; margin: 0; padding: 0; }
.hv-card, .hv-fam-a, .hv-svc-a, .hv-drugs a { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.05); color: var(--ink); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.hv-fam-a:hover, .hv-svc-a:hover, .hv-drugs a:hover { transform: translateY(-3px); border-color: var(--brand); }

.hv-fam { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hv-fam-a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; height: 100%; padding: 16px 20px; }
.hv-fam-i { grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(0, 86, 179, 0.07); color: var(--brand); }
.hv-fam-t { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink); hyphens: auto; overflow-wrap: break-word; } /* German compounds ("Verunreinigungsstandards") break instead of running under the count */
.hv-fam-n { color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; }
.hv-fam-x { grid-column: 2 / -1; color: #64748b; font-size: 13px; line-height: 1.4; }
.hv-fam-solo .hv-fam-t, .hv-fam-solo .hv-fam-n { grid-row: 1 / span 2; align-self: center; }
@media (min-width: 640px) { .hv-fam { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .hv-fam li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 992px) { .hv-fam { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hv-fam li:last-child:nth-child(odd) { grid-column: auto; } .hv-fam li:last-child:nth-child(3n + 1) { grid-column: 1 / -1; } }

.hv-svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hv-svc-a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 22px; }
.hv-svc-t { font-size: 16px; font-weight: 700; line-height: 1.3; }
.hv-pts { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; color: #64748b; font-size: 13px; font-weight: 500; line-height: 1.4; }
.hv-pts li { position: relative; padding-left: 24px; }
.hv-pts li::before { content: "\2713"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(16, 185, 129, 0.1); color: #10b981; font-size: 9px; font-weight: 800; }
@media (min-width: 640px) { .hv-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .hv-svc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hv-sec > .hv-more { display: flex; width: fit-content; margin: 32px auto 0; }

/* all sixteen parent drugs stay (no hidden links); chips on phones */
.hv-drugs { display: flex; flex-wrap: wrap; gap: 8px; }
.hv-drugs a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.hv-drugs small { color: #64748b; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .hv-drugs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .hv-drugs a { justify-content: space-between; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
}

.hv-imp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 24px; margin: 80px 0; }
.hv-imp h2, .hv-news h2 { margin: 0 0 20px; font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.hv .imp-cards { gap: 12px; }
.hv .imp-card .thumb { width: 148px; height: 108px; }
@media (min-width: 992px) { .hv-imp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hv-news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin: 80px 0 48px; }
.hv-news h2 a { color: inherit; text-decoration: none; }
.hv-news h2 a:hover { text-decoration: underline; }
.hv-articles .post-cards { grid-template-columns: minmax(0, 1fr); }
.hv-all { display: inline-block; margin-top: 8px; color: var(--brand); font-weight: 600; text-decoration: none; }
.hv-all:hover { text-decoration: underline; }
.hv-ann ul { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.hv-ann a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 14px; color: var(--ink); font-weight: 600; line-height: 1.4; text-decoration: none; transition: border-color 0.2s; }
.hv-ann a:hover { border-color: var(--brand); }
.hv-ann a span:last-child { flex: none; }
@media (min-width: 992px) { .hv-news { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; } }

/* today's drawn banner structure with its caption */
.hv-fig { margin: 0; padding: 12px; background: #fff; border-radius: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1); }
.hv-fig-s { padding: 6px; }
.hv-fig figcaption { display: grid; gap: 4px; margin: 10px 4px 0; }
.hv-fig a { padding: 2px 0; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.hv-fig a:hover { color: var(--brand); text-decoration: underline; }
.hv-fig-d { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: #64748b; font-variant-numeric: tabular-nums; }
.hv-fig i { font-style: normal; }

/* ================= A: search first ================= */
.hv-a .hv-hero { margin-top: 24px; padding: 56px 0 44px; text-align: center; background: rgba(255, 255, 255, 0.82); border: 1px solid #fff; border-width: 1px 0; box-shadow: 0 20px 40px -10px rgba(0, 86, 179, 0.1); }
.hv-a h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); text-transform: uppercase; background: linear-gradient(135deg, #0066b4 0, #0f172a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hv-a .hv-facts { justify-content: center; }
.hv-a .hv-label { margin-bottom: 14px; }
.hv-a .hv-search { max-width: 780px; height: 66px; margin: 0 auto; border-radius: 16px; }
.hv-a .hv-pills { justify-content: center; max-width: 900px; margin: 22px auto 0; }
.hv-a .hv-fig { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 10px 16px 10px 10px; border-radius: 20px; }
.hv-a .hv-fig figcaption { margin: 0; }
.hv-a .hv-note { max-width: 1200px; margin: 28px auto 0; text-align: left; }
.hv-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 1200px; margin: 36px auto 0; text-align: left; }
@media (min-width: 992px) { .hv-row { grid-template-columns: minmax(0, 1fr) 390px; } }
.hv-strip { border-radius: 20px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; text-align: left; overflow: hidden; box-shadow: 0 16px 32px -14px rgba(4, 74, 128, 0.55); }
.hv-strip::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.hv-sa { display: flex; align-items: center; gap: 16px; min-height: 112px; padding: 20px 24px 34px; color: #fff; text-decoration: none; }
.hv-sa:hover { color: #fff; }
.hv-sa-i { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, 0.14); }
.hv-sa-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hv-sa-k { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #bfdbfe; }
.hv-sa-h { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.hv-sa-l { font-size: 14px; line-height: 1.4; color: #dbeafe; }
.hv-sa-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand-deep); font-size: 20px; transition: transform 0.2s; }
.hv-sa:hover .hv-sa-go { transform: translateX(4px); }
.hv-strip .hv-tabs { position: absolute; left: 24px; bottom: 6px; z-index: 2; display: flex; gap: 4px; }
.hv-strip .hv-tab { width: 32px; height: 24px; padding: 10px 0; background: rgba(255, 255, 255, 0.32); background-clip: content-box; }
.hv-strip .hv-tab::before { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: #fff; }
@media (max-width: 767px) { .hv-a .hv-pills { justify-content: flex-start; max-width: none; margin: 22px calc(-1 * var(--gutter)) 0; } }
@media (max-width: 575px) {
  .hv-a .hv-hero { padding: 36px 0 32px; }
  .hv-sa { gap: 12px; padding: 16px 16px 34px; }
  .hv-sa-i { width: 44px; height: 44px; border-radius: 12px; }
  .hv-sa-go { width: 36px; height: 36px; }
  .hv-strip .hv-tabs { left: 16px; }
}

/* ================= B: split hero, product-family panel ================= */
.hv-b .hv-hero { margin-top: 24px; padding: 48px 0; background: rgba(255, 255, 255, 0.82); border: 1px solid #fff; border-width: 1px 0; box-shadow: 0 20px 40px -10px rgba(0, 86, 179, 0.1); }
.hv-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hv-b h1 { font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; background: linear-gradient(135deg, #0066b4 0, #0f172a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hv-b .hv-search { height: 62px; }
@media (min-width: 992px) { .hv-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; } }
.hv-panel { max-width: 520px; width: 100%; justify-self: center; padding: 16px; background: #fff; border-radius: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14); }
.hv-ps { display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.hv-pv { display: grid; place-items: center; height: 200px; padding: 10px; color: var(--brand); }
.hv-pv .mol { width: auto; max-width: 100%; height: 176px; }
.hv-pv { align-content: center; justify-items: center; gap: 4px; }
.hv-pbig { color: var(--ink); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hv-pi { list-style: none; display: grid; gap: 4px; width: 100%; max-width: 360px; margin: 0; padding: 0; }
.hv-pi a, .hv-pi li > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.hv-pi a:hover { border-color: var(--brand); color: var(--brand); }
.hv-pi small { color: #64748b; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hv-pt { display: grid; align-content: start; gap: 6px; padding: 0 6px; min-height: 108px; }
.hv-pcap { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; font-size: 12px; color: #64748b; }
.hv-pcap i { font-style: normal; }
.hv-pcap a { flex: 1 0 100%; padding: 2px 0; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.hv-pcap a:hover { color: var(--brand); text-decoration: underline; }
.hv-ph { margin: 0; font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.hv-ph a { color: var(--ink); text-decoration: none; }
.hv-ph a::after { content: " \2192"; color: var(--brand); }
.hv-ph a:hover { color: var(--brand); }
.hv-pl { margin: 0; font-size: 14px; line-height: 1.45; color: #475569; }
.hv-panel .hv-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.hv-panel .hv-tab { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.2; overflow: hidden; }
.hv-panel .hv-tab::before { position: absolute; inset: 0; background: var(--tint); box-shadow: inset 3px 0 0 var(--brand); }
.hv-panel .hv-tab > * { position: relative; flex: none; }
.hv-panel .hv-tab > span { flex: 0 1 auto; min-width: 0; }
.hv-panel .hv-ico { color: var(--brand); }
@media (max-width: 575px) { .hv-b .hv-hero { padding: 32px 0; } .hv-pv { height: 150px; padding: 6px; } .hv-pv .mol { height: 128px; } .hv-pbig { font-size: 2rem; } .hv-pi a, .hv-pi li > span { padding: 4px 10px; font-size: 12.5px; } .hv-pt { min-height: 116px; } }

/* ================= C: editorial, nitrosamine banner ================= */
.hv-c { counter-reset: hvs; }
.hv-mast { padding: 48px 0 36px; }
.hv-mast-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; }
.hv-c h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); letter-spacing: -0.04em; color: var(--ink); }
.hv-c .hv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 16px 40px; margin: 0; }
.hv-c .hv-facts li { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; line-height: 1.3; }
.hv-c .hv-facts li::before { display: none; }
.hv-c .hv-facts b { font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; }
.hv-c .hv-facts li:last-child { align-self: end; max-width: 14em; }
.hv-c .hv-search { max-width: none; height: 58px; }
.hv-c .hv-pills { margin-top: 16px; }
.hv-c .hv-pills { gap: 6px; }
.hv-c .hv-pills a { padding: 9px 11px; }
@media (max-width: 767px) { .hv-c .hv-pills { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; } }
@media (min-width: 992px) { .hv-mast-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; } }
@media (max-width: 575px) { .hv-mast { padding: 28px 0 24px; } .hv-c .hv-facts { gap: 12px 24px; } .hv-c .hv-facts b { font-size: 1.5rem; } .hv-c .hv-facts li:last-child { grid-column: 1 / -1; max-width: none; } }

.hv-banner { overflow: hidden; background: linear-gradient(120deg, #0b1b3a 0, var(--brand-deep) 100%); color: #fff; }
.hv-motif { position: absolute; right: -90px; top: 8px; width: 460px; max-width: 56%; height: auto; stroke: currentColor; color: rgba(255, 255, 255, 0.09); pointer-events: none; }
.hv-banner .hv-slide { display: grid; }
.hv-bs { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; min-height: 300px; padding-top: 40px; padding-bottom: 96px; }
.hv-bk { margin: 0 0 14px; color: #93c5fd; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hv-bh { margin: 0; font-size: clamp(1.75rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.hv-bh a { color: #fff; text-decoration: none; }
.hv-bh a:hover { color: #bfdbfe; }
.hv-bh span { color: #7dd3fc; }
.hv-c .hv-br .hv-pts { grid-template-columns: minmax(0, 1fr); gap: 12px; color: #e2e8f0; font-size: 16px; font-weight: 500; line-height: 1.45; }
.hv-br .hv-pts li { padding-left: 30px; }
.hv-br .hv-pts li::before { top: 2px; width: 20px; height: 20px; background: rgba(125, 211, 252, 0.18); color: #7dd3fc; font-size: 11px; }
.hv-bn { max-width: 24em; margin: 18px 0 0; color: #dbeafe; font-size: 16px; line-height: 1.45; }
.hv-nw { display: grid; gap: 8px; }
.hv-bg { margin: 8px 0 0; color: #93c5fd; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hv-bg:first-child { margin-top: 0; }
.hv-pl5 { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.hv-pl5 a { display: block; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 12px; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; transition: background-color 0.2s, border-color 0.2s; }
.hv-pl5 a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }
.hv-bq { display: inline-flex; align-items: center; min-height: 40px; margin-top: 18px; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.hv-bq:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }
.hv-banner .hv-fig { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 4px 14px; max-width: 460px; padding: 10px 16px 10px 10px; }
.hv-banner .hv-fig figcaption { margin: 0; }
@media (max-width: 575px) { .hv-banner .hv-fig { grid-template-columns: 132px minmax(0, 1fr); max-width: none; } }
.hv-banner .hv-tabs { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: calc(1320px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); gap: 0 20px; }
.hv-banner .hv-tab { display: flex; align-items: baseline; gap: 10px; min-width: 0; padding: 16px 0 22px; border-top: 2px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.78); font-size: 13px; font-weight: 600; line-height: 1.3; }
.hv-banner .hv-tab:hover { color: #fff; }
.hv-banner .hv-tab::before { display: none; }
.hv-banner .hv-tab:nth-child(2)::after { animation-delay: 8s; }
.hv-banner .hv-tab:nth-child(3)::after { animation-delay: 16s; }
.hv-banner .hv-tab:nth-child(4)::after { animation-delay: 24s; }
.hv-banner .hv-tab:nth-child(5)::after { animation-delay: 32s; }
.hv-banner .hv-tab::after { content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; animation: hv-fill 32s linear infinite both; }
.hv-tn { flex: none; font-variant-numeric: tabular-nums; color: #7dd3fc; }
.hv-tt { display: none; min-width: 0; }
@media (min-width: 700px) { .hv-tt { display: block; } }
/* design C: four slides, 8 s each, a 32 s loop (not under reduced motion: slide 1 stays); owner 1 Nov: News slide off for now */
@media (prefers-reduced-motion: no-preference) {
  .hv-banner .hv-slide { animation-name: hv-on5; animation-duration: 32s; }
  .hv-banner .hv-slide:nth-child(1) { animation-name: hv-on5-1; }
  .hv-banner .hv-slide:nth-child(2) { animation-delay: 8s; }
  .hv-banner .hv-slide:nth-child(3) { animation-delay: 16s; }
  .hv-banner .hv-slide:nth-child(4) { animation-delay: 24s; }
  .hv-banner .hv-slide:nth-child(5) { animation-delay: 32s; }
}
@keyframes hv-on5 { 0% { opacity: 0; visibility: hidden; } 1.9%, 22.5% { opacity: 1; visibility: visible; } 25%, 100% { opacity: 0; visibility: hidden; } }
@keyframes hv-on5-1 { 0%, 22.5% { opacity: 1; visibility: visible; } 25%, 97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
/* the progress line only scales (compositor), nothing else animates in the tabs */
@keyframes hv-fill { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }
.hv-banner .hv-r:nth-of-type(1):checked ~ .hv-tabs > :nth-child(1)::after, .hv-banner .hv-r:nth-of-type(2):checked ~ .hv-tabs > :nth-child(2)::after,
.hv-banner .hv-r:nth-of-type(3):checked ~ .hv-tabs > :nth-child(3)::after, .hv-banner .hv-r:nth-of-type(4):checked ~ .hv-tabs > :nth-child(4)::after, .hv-banner .hv-r:nth-of-type(5):checked ~ .hv-tabs > :nth-child(5)::after { transform: scaleX(1); opacity: 1; }
.hv-banner .hv-r:nth-of-type(1):checked ~ .hv-tabs > :nth-child(1), .hv-banner .hv-r:nth-of-type(2):checked ~ .hv-tabs > :nth-child(2),
.hv-banner .hv-r:nth-of-type(3):checked ~ .hv-tabs > :nth-child(3), .hv-banner .hv-r:nth-of-type(4):checked ~ .hv-tabs > :nth-child(4), .hv-banner .hv-r:nth-of-type(5):checked ~ .hv-tabs > :nth-child(5) { color: #fff; }
@media (min-width: 992px) { .hv-bs { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; } }
@media (prefers-reduced-motion: reduce) {
  .hv-banner .hv-tab::after { animation: none; }
  .hv-banner .hv-tab:nth-child(1) { color: #fff; }
  .hv-banner .hv-tab:nth-child(1)::after { transform: scaleX(1); }
}
@media (max-width: 575px) { .hv-bs { min-height: 300px; padding-top: 32px; padding-bottom: 88px; } .hv-banner .hv-tabs { gap: 0 10px; } .hv-motif { opacity: 0.6; top: 8px; } }

/* numbered sections as an index: rules, no cards */
.hv-c .hv-sec { margin: 48px 0; padding: 22px 24px 28px; border-top: 2px solid var(--ink); border-radius: 0 0 16px 16px; background: rgba(255, 255, 255, 0.8); box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04); counter-increment: hvs; } /* a faint panel per section (owner 1 Nov) */
@media (max-width: 767px) { .hv-c .hv-sec { margin: 28px 0; padding: 18px 16px 22px; } }
.hv-c .hv-sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 20px; text-align: left; }
.hv-c .hv-sh::before { content: counter(hvs, decimal-leading-zero); color: var(--brand); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hv-c .hv-kick { order: 3; margin: 0 0 0 auto; padding: 0; background: none; box-shadow: none; color: #64748b; }
.hv-c .hv-sh h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; }
.hv-c .hv-fam-a, .hv-c .hv-svc-a, .hv-c .hv-drugs a { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.hv-c .hv-fam-a:hover, .hv-c .hv-svc-a:hover, .hv-c .hv-drugs a:hover { transform: none; border-color: var(--brand); }
.hv-c .hv-fam { gap: 0 56px; }
.hv-c .hv-fam-a { padding: 16px 0; }
.hv-c .hv-fam-i { width: 44px; height: 44px; border-radius: 50%; }
.hv-c .hv-fam-t { font-size: 17px; }
.hv-c .hv-fam-n { font-size: 17px; }
.hv-c .hv-fam li:last-child:nth-child(odd), .hv-c .hv-fam li:last-child:nth-child(3n + 1) { grid-column: auto; }
@media (min-width: 640px) { .hv-c .hv-fam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .hv-c .hv-fam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hv-c .hv-svc { gap: 0 56px; }
@media (min-width: 640px) { .hv-c .hv-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hv-c .hv-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hv-c .hv-svc-a { padding: 18px 0; }
.hv-c .hv-pts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 20px; }
.hv-c .hv-svc-t { font-size: 18px; min-height: 0; }
.hv-c .hv-drugs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.hv-c .hv-drugs a { justify-content: space-between; padding: 12px 0; border-radius: 0; font-size: 15px; }
@media (min-width: 768px) { .hv-c .hv-drugs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; } .hv-c .hv-drugs a { padding: 12px 0; border-radius: 0; } }
.hv-c .hv-sec > .hv-more { margin: 24px 0 0; padding: 0; background: none; box-shadow: none; color: var(--brand); font-size: 15px; font-weight: 700; }
.hv-c .hv-sec > .hv-more:hover { background: none; color: var(--brand-deep); text-decoration: underline; }
.hv-c .hv-imp { padding-top: 18px; border-top: 2px solid var(--ink); }
.hv-c .hv-imp .imp-card { min-height: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.hv-c .hv-imp .imp-card:hover { transform: none; border-color: var(--brand); }
.hv-c .hv-imp .imp-cards { gap: 0; }
.hv-c .hv-imp .imp-card .thumb { width: 148px; height: 108px; }
.hv-c .hv-imp h2, .hv-c .hv-news h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.hv-c .hv-news { padding-top: 18px; border-top: 2px solid var(--ink); }
.hv-c .hv-ann a { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.hv-c .hv-ann ul { gap: 0; }
