/* ===== Mullan Pharmaceutical — Design System ===== */

:root {
  --brand-blue: #2e3191;
  --brand-blue-dark: #23256e;
  --brand-blue-light: #eef0fb;
  --text-dark: #1a1a2e;
  --text-body: #444857;
  --text-muted: #767a87;
  --bg-page: #ffffff;
  --bg-alt: #f6f7fb;
  --border-color: #e4e6ee;
  --shadow-md: 0 12px 32px rgba(26, 26, 46, 0.12);
  --shadow-sm: 0 2px 10px rgba(26, 26, 46, 0.06);
  --shadow-dropdown: 0 2px 4px rgba(17, 18, 56, 0.06), 0 8px 16px rgba(17, 18, 56, 0.10), 0 28px 56px rgba(17, 18, 56, 0.20);
  --radius: 10px;
  --max-width: 1160px;
  --header-height: 76px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: var(--text-dark); line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--alt { background: linear-gradient(180deg, #F8FAFF 0%, #F1F4FB 100%); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
  display: block;
}
.section-intro { max-width: 720px; color: var(--text-muted); font-size: 1.05rem; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand-blue); color: #fff; }
.btn--primary:hover { background: var(--brand-blue-dark); }
.btn--outline { background: transparent; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn--outline:hover { background: var(--brand-blue); color: #fff; }
.btn--light { background: #fff; color: var(--brand-blue); }
.btn--light:hover { background: var(--brand-blue-light); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}
.site-header__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  height: 100%;
}
.main-nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.main-nav__link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.main-nav__link:hover, .main-nav__item.is-open .main-nav__link { color: var(--brand-blue); text-decoration: none; background: var(--brand-blue-light); }
.main-nav__caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.15s ease; }
.main-nav__item.is-open .main-nav__caret { transform: rotate(-135deg); margin-top: 3px; }

.header-utility { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-utility__icon { color: var(--text-dark); display: flex; }
.nav-toggle { display: none; }

/* Dropdown panels */
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  60% { opacity: 1; }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(17, 18, 56, 0.05);
  border-radius: 16px;
  box-shadow:
    0 0 1px rgba(16, 24, 40, 0.06),
    0 0 24px rgba(16, 24, 40, 0.10),
    0 16px 32px rgba(16, 24, 40, 0.14),
    0 32px 64px rgba(16, 24, 40, 0.18),
    0 48px 96px rgba(46, 49, 145, 0.18);
  padding: 22px;
  min-width: 260px;
  display: none;
  margin-top: 0;
  transform-origin: top center;
}
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-left: 1px solid rgba(17, 18, 56, 0.05);
  border-top: 1px solid rgba(17, 18, 56, 0.05);
  border-radius: 4px 0 0 0;
  transform: rotate(45deg);
}
.main-nav__item.is-open .dropdown-panel,
.main-nav__item.is-open .dropdown-panel--wide {
  display: block;
  animation: dropdownIn 0.22s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
.dropdown-panel--wide { min-width: 460px; grid-template-columns: 1fr 1fr; gap: 28px; }
.dropdown-panel--wide.dropdown-panel--triple { grid-template-columns: 1fr 1fr 1fr; min-width: 620px; }
.main-nav__item.is-open .dropdown-panel--wide { display: grid; }

@media (min-width: 901px) {
  .main-nav__item:hover > .dropdown-panel {
    display: block;
    animation: dropdownIn 0.22s cubic-bezier(0.2, 0.8, 0.3, 1.2);
  }
  .main-nav__item:hover > .dropdown-panel--wide { display: grid; }
  .main-nav__item:hover .main-nav__caret { transform: rotate(-135deg); margin-top: 3px; }
}
.dropdown-col__title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); font-weight: 700; margin-bottom: 10px; }
.dropdown-col ul { list-style: none; margin: 0; padding: 0; }
.dropdown-col a {
  display: block;
  padding: 7px 0;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.94rem;
}
.dropdown-col a:hover { color: var(--brand-blue); text-decoration: none; }
.dropdown-col a .ext-mark { color: var(--text-muted); font-size: 0.78rem; margin-left: 4px; font-weight: 400; }

/* ===== Mobile nav ===== */
.nav-toggle {
  width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--border-color);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text-dark); position: relative; transition: 0.2s;
}
.nav-toggle__bar::before { position: absolute; top: -6px; }
.nav-toggle__bar::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    transform: translateX(100%); transition: transform 0.2s ease; overflow-y: auto;
    padding: 8px 0 40px;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; height: auto; gap: 0; }
  .main-nav__item { height: auto; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--border-color); }
  .main-nav__link { padding: 16px 24px; justify-content: space-between; }
  .dropdown-panel {
    position: static; box-shadow: none; border: none; border-radius: 0;
    background: var(--bg-alt); margin: 0; display: none; grid-template-columns: 1fr !important;
  }
  .dropdown-panel::before { content: none; }
  .main-nav__item.is-open .dropdown-panel { display: grid; padding: 8px 24px 18px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(19,20,58,0.82) 0%, rgba(19,20,58,0.55) 55%, rgba(19,20,58,0.25) 100%);
}
.bio-layout { display: flex; align-items: flex-start; gap: 40px; }
.bio-layout__photo { flex: 0 0 240px; }
.bio-layout__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-md); display: block; }
.bio-layout__content { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .bio-layout { flex-direction: column; }
  .bio-layout__photo { flex-basis: auto; width: 160px; }
}

.split-section { display: flex; align-items: center; gap: 56px; }
.split-section__text { flex: 1 1 55%; }
.split-section__text .prose { max-width: none; }
.split-section__image { flex: 1 1 45%; }
.split-section__image img {
  width: 100%; height: 100%; min-height: 320px; object-fit: cover;
  border-radius: 16px; box-shadow: var(--shadow-md); display: block;
}
@media (max-width: 860px) {
  .split-section { flex-direction: column; }
  .split-section__image { width: 100%; order: -1; }
  .split-section__image img { min-height: 220px; }
}
.hero__content { position: relative; max-width: 620px; }
.hero__content h1 { color: #fff; }
.hero__content p { color: rgba(255,255,255,0.88); font-size: 1.1rem; }
.page-hero {
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff; padding: 64px 0 48px;
}
.page-hero--photo {
  position: relative; background-size: cover; background-position: center; overflow: hidden;
}
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(19,20,58,0.85) 0%, rgba(19,20,58,0.6) 55%, rgba(19,20,58,0.35) 100%);
}
.page-hero--photo .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 100%; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* ===== Cards / grids ===== */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid rgba(46, 49, 145, 0.12); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 12px rgba(46, 49, 145, 0.07); transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: 0 12px 32px rgba(46, 49, 145, 0.14); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card .btn { margin-top: 16px; }

.card--media { padding: 0; overflow: hidden; }
.card--media__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.card--media__body { padding: 24px 28px 28px; }
.card--media__body h3 { margin-bottom: 10px; }
.card--media__body p { color: var(--text-muted); margin-bottom: 0; }
.card--media__body .btn { margin-top: 16px; }

.tile-link {
  display: block; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow 0.15s ease, transform 0.15s ease;
  color: var(--text-dark);
}
.tile-link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--brand-blue); }
.tile-link__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-blue); font-weight: 700; }

/* ===== Product list (Genetics) ===== */
.az-filter {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 2px;
  margin: 0 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border-color);
}
.az-filter button {
  border: none; background: none; color: var(--text-body); flex-shrink: 0;
  padding: 4px 9px; font-weight: 500; font-size: 0.95rem; cursor: pointer;
}
.az-filter button.is-active { color: var(--brand-blue); font-weight: 700; }
.az-filter button:hover:not(:disabled) { color: var(--brand-blue); }
.product-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .product-list { grid-template-columns: 1fr; } }
.product-list li a {
  display: block; padding: 16px 18px; border: 1px solid var(--border-color); border-radius: 8px;
  color: var(--text-dark); font-weight: 500; background: #fff;
}
.product-list li a:hover { border-color: var(--brand-blue); color: var(--brand-blue); text-decoration: none; background: var(--brand-blue-light); }
.product-list li[hidden] { display: none; }

.products-layout { display: flex; align-items: flex-start; gap: 40px; }
.products-sidebar { flex: 0 0 220px; }
.products-sidebar h3 { margin-top: 0; font-size: 1rem; }
.products-sidebar label {
  display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--text-body);
  margin-bottom: 12px; cursor: pointer;
}
.products-main { flex: 1; min-width: 0; }
@media (max-width: 800px) {
  .products-layout { flex-direction: column; }
  .products-sidebar { flex-basis: auto; width: 100%; }
}

.az-filter button:disabled { color: #c7c9d6; cursor: default; }

.product-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  display: block; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius);
  overflow: hidden; text-align: center; color: var(--text-dark); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--brand-blue); }
.product-card__image { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--bg-alt); display: block; padding: 16px; }
.product-card__name { padding: 14px 16px 18px; font-weight: 600; font-size: 0.95rem; }

/* ===== Product detail ===== */
.product-variant { display: flex; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--border-color); }
.product-variant:last-child { border-bottom: none; }
.product-variant__photo { flex: 0 0 300px; }
.product-variant__photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-color); }
.product-variant__info { flex: 1; min-width: 0; }
.product-variant__info h2 { margin-top: 0; }
@media (max-width: 800px) {
  .product-variant { flex-direction: column; }
  .product-variant__photo { flex-basis: auto; max-width: 300px; }
}

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border-color); font-size: 0.92rem; }
.spec-table th { width: 200px; color: var(--text-muted); font-weight: 600; }

.info-bullets { margin: 0 0 28px; padding-left: 20px; }
.info-bullets li { margin-bottom: 6px; }

.spec-table__links { display: flex; flex-direction: column; gap: 4px; }

.wholesaler-table { width: 100%; border-collapse: collapse; }
.wholesaler-table th, .wholesaler-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--border-color); font-size: 0.9rem; }
.wholesaler-table th { background: var(--bg-alt); }

/* ===== Document cards (Resources) ===== */
.doc-card { display: flex; align-items: center; gap: 16px; }
.doc-card__icon {
  width: 44px; height: 44px; border-radius: 8px; background: var(--brand-blue-light); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; font-size: 0.75rem;
}

/* ===== Contact list (icon rows) ===== */
.contact-list {
  background: var(--bg-alt); border-radius: 16px; padding: 24px; display: grid; gap: 16px;
}
.contact-row {
  display: flex; align-items: center; gap: 24px; padding: 24px 28px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.contact-row__icon {
  width: 52px; height: 52px; flex-shrink: 0; color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-row__icon svg, .contact-row__icon img { width: 100%; height: 100%; object-fit: contain; }
.contact-row__label { font-weight: 700; color: var(--text-dark); min-width: 260px; flex: 1 1 260px; }
.contact-row__email { font-size: 1.05rem; }
@media (max-width: 640px) {
  .contact-row { gap: 16px; padding: 20px; }
  .contact-row__label { min-width: 100%; }
}

/* ===== News ===== */
.news-list { display: flex; flex-direction: column; }
.news-post { padding: 32px 0; border-bottom: 1px solid var(--border-color); }
.news-post:first-child { padding-top: 0; }
.news-post:last-child { border-bottom: none; }
.news-post h3 { color: var(--brand-blue); font-size: 1.35rem; line-height: 1.3; margin: 0 0 10px; }
.news-post__date { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 18px; }
.news-post__body { margin: 0; }
.news-post__read-more {
  display: block; width: fit-content; margin: 16px 0 0 auto;
  color: #1a7a3d; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  text-decoration: none;
}
.news-post__read-more:hover { text-decoration: underline; }

/* ===== News article detail page ===== */
.news-article { max-width: 760px; margin: 0 auto; }
.news-article__date { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 28px; }
.news-article__body img { max-width: 100%; border-radius: var(--radius); }
.news-article__body p { margin: 0 0 20px; }
.news-article__back { display: inline-block; margin-top: 40px; font-weight: 600; }

.news-teaser-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .news-teaser-grid { grid-template-columns: 1fr; } }
.news-teaser {
  border: 1px solid rgba(46, 49, 145, 0.12); border-radius: var(--radius); padding: 26px 28px;
  background: #fff; box-shadow: 0 2px 12px rgba(46, 49, 145, 0.07);
}
.news-teaser__date { font-size: 0.78rem; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 10px; }
.news-teaser h3 { font-size: 1.05rem; margin-bottom: 12px; }
.news-teaser h3 a { color: var(--text-dark); }
.news-teaser h3 a:hover { color: var(--brand-blue); }
.news-teaser__link { font-weight: 600; font-size: 0.92rem; }

/* ===== Empty state ===== */
.empty-state { text-align: center; padding: 64px 24px; color: var(--text-muted); }
.empty-state h3 { color: var(--text-dark); }

/* ===== Footer ===== */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,0.72); padding: 48px 0 28px; margin-top: 64px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 0.92rem; }
.site-footer__logo img { height: 34px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; font-size: 0.82rem; }

/* ===== Data table ===== */
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.92rem; }
.data-table th, .data-table td { border: 1px solid var(--border-color); padding: 12px 16px; text-align: left; }
.data-table th { background: var(--bg-alt); font-weight: 700; color: var(--text-dark); }
.data-table td:last-child, .data-table th:last-child { text-align: right; }
.placeholder-value { color: #b3261e; font-weight: 700; }
.steps-list { counter-reset: step; list-style: none; margin: 20px 0 0; padding: 0; }
.steps-list li { position: relative; padding-left: 54px; margin-bottom: 22px; }
.steps-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-blue); color: #fff; font-weight: 700; text-align: center; line-height: 36px;
}

.benefit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.benefit-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--text-dark); }
.benefit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-blue); color: #fff; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Badge grid (accreditation/membership logos) ===== */
/* Grid rather than flex: a flex row with flex:1 items stretches a short last
   row to fill the full width, which throws off column alignment (and divider
   position) against the rows above it. Grid holds every row to the same
   column tracks regardless of how many items land in the last row. */
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-color); padding-top: 40px; }
.badge-grid__item { display: flex; align-items: center; gap: 18px; padding: 0 32px 24px 32px; }
.badge-grid__item:nth-child(3n+1) { padding-left: 0; border-left: none; }
.badge-grid__item:not(:nth-child(3n+1)) { border-left: 1px solid var(--border-color); }
@media (max-width: 900px) {
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-grid__item:nth-child(3n+1) { padding-left: 32px; border-left: 1px solid var(--border-color); }
  .badge-grid__item:nth-child(2n+1) { padding-left: 0; border-left: none; }
}
@media (max-width: 560px) {
  .badge-grid { grid-template-columns: 1fr; }
  .badge-grid__item { padding-left: 0 !important; border-left: none !important; padding-bottom: 24px; }
}

/* Compact homepage trust band: same live data as the Accreditation page, shown
   as a short pale strip (same tone as the Products section) instead of a full
   section, so it reads as a visual break between "About" and "Products". */
.accred-band { background: linear-gradient(180deg, #F8FAFF 0%, #F1F4FB 100%); padding: 24px 0; }
.accred-band__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.accred-band .section-eyebrow { margin-bottom: 0; }
.accred-band__link { font-weight: 600; font-size: 0.88rem; white-space: nowrap; }
/* Fixed at exactly two badges (QAS + EDSA) — two equal columns span the full
   row width so the pair sits spread across the band instead of clustered at
   the left edge. Grid + nth-child (not flex-wrap + :first-child) so a divider
   never ends up hanging next to a lone wrapped item — see the mobile stack
   below, where nth-child(2n+1) still correctly means "first in its row". */
.accred-band__row { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 18px; margin-top: 14px; }
.accred-band__item { display: flex; align-items: center; gap: 16px; padding: 0 30px; text-align: left; }
.accred-band__item:nth-child(2n+1) { padding-left: 0; border-left: none; }
.accred-band__item:not(:nth-child(2n+1)) { border-left: 1px solid var(--border-color); }
.accred-band__logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.accred-band__logo img { height: 50px; width: auto; max-width: 140px; object-fit: contain; display: block; }
.accred-band__item h3 { margin: 0; font-size: 1.1rem; color: var(--text-dark); }
.accred-band__item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
@media (max-width: 600px) {
  .accred-band__row { grid-template-columns: 1fr; }
  .accred-band__item { padding-left: 0 !important; border-left: none !important; }
}

/* ===== Utility content blocks ===== */
.prose { max-width: 760px; }
.prose p { color: var(--text-body); }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin: 32px 0; }
.stat { min-width: 140px; }
.stat__num { font-size: 2.1rem; font-weight: 800; color: var(--brand-blue); }
.stat__label { color: var(--text-muted); font-size: 0.9rem; }

/* ===== Product gallery cards (e.g. compatible vaporizers) ===== */
.gallery-card { text-align: center; }
.gallery-card__img-wrap {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: 8px; margin-bottom: 16px; padding: 16px;
}
.gallery-card__img-wrap img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gallery-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.gallery-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== Featured products carousel ===== */
.featured-carousel { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 64px; }
.featured-carousel__stage {
  position: relative; background: var(--bg-alt); border-radius: 20px;
  min-height: 480px; display: flex; align-items: center; justify-content: center; gap: 0;
  overflow: hidden;
}
.featured-carousel__peek {
  flex: 0 0 170px; display: flex; align-items: center; justify-content: center;
  height: 300px; opacity: 0.55; transition: opacity 0.2s ease;
}
.featured-carousel__peek:hover { opacity: 0.8; }
.featured-carousel__peek img { max-width: 100%; max-height: 100%; object-fit: contain; }
.featured-carousel__active {
  position: relative; flex: 0 0 auto; width: 460px; background: #fff; border-radius: 24px;
  box-shadow: 0 20px 48px rgba(46, 49, 145, 0.18), 0 4px 16px rgba(46, 49, 145, 0.10);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: 32px; margin: 0 12px; z-index: 2;
  color: inherit; text-decoration: none;
}
.featured-carousel__active:hover { text-decoration: none; }
.featured-carousel__active::before, .featured-carousel__active::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--brand-blue);
}
.featured-carousel__active::before { top: -8px; left: -8px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.featured-carousel__active::after { bottom: -8px; right: -8px; border-left: none; border-top: none; border-color: #7dd3fc; border-radius: 0 0 6px 0; }
.featured-carousel__active-image { width: 100%; height: 340px; display: flex; align-items: center; justify-content: center; }
.featured-carousel__active-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.featured-carousel__active-name { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); line-height: 1.35; }
.featured-carousel__active-name img { max-height: 36px; width: auto; }
.featured-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-color); background: #fff; box-shadow: var(--shadow-sm); font-size: 1.3rem;
  color: var(--text-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3;
}
.featured-carousel__arrow:hover { background: var(--brand-blue-light); color: var(--brand-blue); }
.featured-carousel__arrow--prev { left: 0; }
.featured-carousel__arrow--next { right: 0; }
@media (max-width: 700px) {
  .featured-carousel { padding: 0 44px; }
  .featured-carousel__peek { flex-basis: 50px; height: 190px; }
  .featured-carousel__stage { min-height: 380px; }
  .featured-carousel__active { width: 100%; padding: 24px; gap: 14px; }
  .featured-carousel__active-image { height: 220px; }
}

/* ===== Vaporizer carousel ===== */
.carousel { max-width: 520px; margin: 0 auto; }
.carousel__viewport {
  position: relative; height: 340px; background: var(--bg-alt); border-radius: 14px; overflow: hidden;
}
.carousel__slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 36px; opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.carousel__slide.is-active { opacity: 1; pointer-events: auto; }
.carousel__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-color); background: #fff; box-shadow: var(--shadow-sm);
  font-size: 1.3rem; line-height: 1; color: var(--text-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.carousel__arrow:hover { background: var(--brand-blue-light); color: var(--brand-blue); }
.carousel__arrow--prev { left: 14px; }
.carousel__arrow--next { right: 14px; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); border: none; padding: 0;
  cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active { background: var(--brand-blue); transform: scale(1.3); }
@media (max-width: 600px) {
  .carousel__viewport { height: 260px; }
  .carousel__arrow { width: 38px; height: 38px; }
}

/* ===== Contact form ===== */
.contact-form { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; text-align: left; }
.contact-form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .contact-form__row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-field input, .form-field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid #b7bbcb; border-radius: 8px;
  background: #fff; color: var(--text-dark);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-light);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { justify-self: start; border: none; }
