/* =============================================================
   Sofer Healthcare Pvt. Ltd. — Core Stylesheet
   A pharmaceutical healthcare distribution & marketing company.
   Bento-grid design system: tokens → base → layout → components.
   ============================================================= */

/* ---------------------------------------------------------------
   0. Reset
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; margin: 0; }
img, svg, picture { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; padding: 0; }
fieldset { border: none; padding: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  /* Color: pharmaceutical blue + medical teal, light neutral base */
  --navy-900: #0B1E3B;
  --navy-700: #2B3B5C;
  --text-muted: #5C6B84;
  --text-faint: #8896AC;

  --blue-700: #0B3D8F;
  --blue-600: #0F4FB0;
  --blue-500: #3D7BE0;
  --blue-100: #D3E3FC;
  --blue-50:  #EAF1FE;

  --teal-700: #0A6B62;
  --teal-600: #0F8C82;
  --teal-500: #14B8AC;
  --teal-100: #CDF1EC;
  --teal-50:  #E6F8F5;

  --green-600: #1E9E6B;
  --green-50:  #E9F8F1;
  --red-600: #C6373D;
  --red-50:  #FCEAEA;

  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --border: #E3E9F2;
  --border-strong: #C9D5E6;

  /* Type */
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radius (scaled by role, not identical everywhere) */
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 2px 8px rgba(11, 30, 59, 0.05), 0 8px 24px rgba(11, 30, 59, 0.05);
  --shadow-hover: 0 18px 40px rgba(11, 30, 59, 0.13);

  --container-max: 1280px;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

/* ---------------------------------------------------------------
   2. Base + type scale
   --------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 3.4vw + 1.2rem, 3.75rem); }
h2 { font-size: clamp(1.85rem, 1.6vw + 1.2rem, 2.5rem); }
h3 { font-size: clamp(1.15rem, .4vw + 1rem, 1.3rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { color: var(--text-muted); max-width: 62ch; }
p.lede { font-size: 1.1rem; color: var(--navy-700); }

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

main { display: block; }

section { padding-block: clamp(64px, 7vw, 108px); }
section.section--tight { padding-block: clamp(44px, 5vw, 72px); }
section.section--alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; }
.section-head--wide { max-width: 720px; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none;
}
@media (max-width: 720px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

.eyebrow-note {
  font-size: .92rem;
  color: var(--teal-700);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Accessibility helpers */
.skip-link {
  position: absolute; left: 14px; top: -70px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 12px 20px;
  border-radius: 10px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .96rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--secondary { background: transparent; color: var(--navy-900); border: 1.5px solid var(--border-strong); }
.btn--secondary:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn--sm { padding: 12px 22px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn:disabled:hover, .btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-600); font-weight: 700; font-size: .95rem;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------
   4. Header / navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(245, 248, 252, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header--scrolled { border-bottom-color: var(--border); background: rgba(245, 248, 252, 0.95); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 20px;
  transition: padding .3s var(--ease);
}
.site-header--scrolled .site-header__inner { padding-block: 13px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark svg { width: 38px; height: 38px; }
.brand--footer .brand__mark svg { width: 34px; height: 34px; }
.brand__text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: .02em; color: var(--navy-900); line-height: 1;
}
.brand__text span { color: var(--teal-600); }

.nav { flex: 1; }
.nav__list { display: flex; align-items: center; justify-content: center; gap: 30px; }
.nav__link {
  font-weight: 600; font-size: .95rem; color: var(--navy-700);
  padding-block: 6px; border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav__link:hover { color: var(--blue-600); }
.nav__link.is-active { color: var(--navy-900); border-bottom-color: var(--teal-500); }

.site-header__actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin-inline: auto;
  background: var(--navy-900); transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-nav.is-open { max-height: 480px; }
.mobile-nav ul { padding: 10px 28px 26px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav a.btn { border-bottom: none; margin-top: 12px; text-align: center; }

@media (max-width: 900px) {
  .nav, .site-header__actions .btn--primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
}

/* ---------------------------------------------------------------
   5. Bento grid + card system
   --------------------------------------------------------------- */
.bento-grid { display: grid; gap: 22px; grid-auto-flow: dense; }
.bento-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bento-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bento-grid--4 { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.row-2 { grid-row: span 2; }

@media (max-width: 1000px) {
  .bento-grid--3, .bento-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .span-3 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-grid--2, .bento-grid--3, .bento-grid--4 { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: span 1; }
  .row-2 { grid-row: auto; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--interactive:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.card--flush { padding: 0; overflow: hidden; }
.card--tight { padding: 26px; border-radius: var(--radius-md); }
.card--dark { background: var(--navy-900); border-color: var(--navy-900); }
.card--dark h3, .card--dark h2 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.72); }

.card__icon {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--teal { background: var(--teal-50); color: var(--teal-700); }
.card__title { margin-bottom: 10px; }
.card__text { font-size: .96rem; }

/* Scroll reveal (quiet, used across sections) */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.bento-grid [data-reveal]:nth-child(2) { transition-delay: .06s; }
.bento-grid [data-reveal]:nth-child(3) { transition-delay: .12s; }
.bento-grid [data-reveal]:nth-child(4) { transition-delay: .18s; }
.bento-grid [data-reveal]:nth-child(5) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------- */
.hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero__title { margin-bottom: 20px; }
.hero__subtitle { font-size: 1.12rem; color: var(--navy-700); max-width: 46ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  position: relative; aspect-ratio: 1 / 0.92; border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--blue-50) 0%, var(--teal-50) 100%);
  border: 1px solid var(--border); overflow: visible;
  display: flex; align-items: center; justify-content: center;
}
.hero-molecule { width: 78%; height: 78%; }

.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 11px 18px 11px 11px; box-shadow: var(--shadow-hover); font-weight: 700; font-size: .86rem;
}
.floating-chip .icon-dot {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.floating-chip .icon-dot svg { width: 16px; height: 16px; }
.floating-chip--1 { top: 6%; left: -6%; }
.floating-chip--1 .icon-dot { background: var(--blue-50); color: var(--blue-600); }
.floating-chip--2 { bottom: 20%; right: -9%; }
.floating-chip--2 .icon-dot { background: var(--teal-50); color: var(--teal-700); }
.floating-chip--3 { bottom: -4%; left: 12%; }
.floating-chip--3 .icon-dot { background: var(--green-50); color: var(--green-600); }

@media (prefers-reduced-motion: no-preference) {
  .floating-chip { animation: floaty 6s ease-in-out infinite; }
  .floating-chip--2 { animation-delay: .6s; }
  .floating-chip--3 { animation-delay: 1.2s; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Hero's one orchestrated load-in moment */
.hero__content > * , .hero__visual { opacity: 0; transform: translateY(16px); animation: heroIn .8s var(--ease) forwards; }
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .16s; }
.hero__content > *:nth-child(3) { animation-delay: .27s; }
.hero__visual { animation-delay: .22s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__content > *, .hero__visual { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; margin-inline: auto; }
  .floating-chip--1 { left: 2%; }
  .floating-chip--2 { right: 0; }
}
@media (max-width: 480px) {
  .floating-chip { font-size: .76rem; padding: 8px 14px 8px 8px; }
  .floating-chip .icon-dot { width: 24px; height: 24px; }
}

/* ---------------------------------------------------------------
   7. Badges / tags / placeholder notices
   --------------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; padding: 5px 13px;
  border-radius: var(--radius-pill); background: var(--blue-50); color: var(--blue-700);
}
.tag--teal { background: var(--teal-50); color: var(--teal-700); }
.tag--outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700);
  border-radius: var(--radius-md); padding: 18px 22px; font-size: .92rem; font-weight: 500;
  margin-bottom: 36px;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.notice strong { font-weight: 700; }

.placeholder-text { color: var(--text-faint); font-style: italic; }

/* ---------------------------------------------------------------
   8. Media placeholders (used instead of stock photography)
   --------------------------------------------------------------- */
.media-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(145deg, var(--blue-50), var(--teal-50));
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 220px; text-align: center; padding: 20px;
}
.media-placeholder svg { width: 46px; height: 46px; color: var(--blue-600); opacity: .55; }
.media-placeholder__label { font-size: .82rem; color: var(--text-faint); font-weight: 600; max-width: 220px; }
.media-placeholder--sm { min-height: 140px; }
.media-placeholder--tint-teal { background: linear-gradient(145deg, var(--teal-50), var(--blue-50)); }
.media-placeholder--tint-teal svg { color: var(--teal-700); }

/* ---------------------------------------------------------------
   9. Page banner (used on interior pages)
   --------------------------------------------------------------- */
.page-banner { padding-block: clamp(52px, 6vw, 84px) clamp(32px, 4vw, 52px); }
.page-banner__crumb { font-size: .9rem; color: var(--text-faint); margin-bottom: 16px; }
.page-banner__crumb a { color: var(--blue-600); font-weight: 600; }
.page-banner h1 { max-width: 16ch; }
.page-banner p { margin-top: 16px; font-size: 1.05rem; }

/* ---------------------------------------------------------------
   10. Footer
   --------------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.82); padding-top: 72px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer .brand__text { color: #fff; }
.footer .brand__text span { color: var(--teal-500); }
.footer__col--brand p { color: rgba(255,255,255,.6); margin-block: 18px; max-width: 40ch; }
.footer__col h3 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: rgba(255,255,255,.68); font-size: .93rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__contact li { color: rgba(255,255,255,.68); font-size: .93rem; }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.footer__social a svg { width: 17px; height: 17px; }
.footer__social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 24px; font-size: .84rem; color: rgba(255,255,255,.55); flex-wrap: wrap;
}

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   11. CTA banner
   --------------------------------------------------------------- */
.cta-banner {
  border-radius: var(--radius-xl); background: var(--navy-900);
  padding: clamp(40px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 260px at 85% 20%, rgba(20,184,172,.28), transparent 70%);
}
.cta-banner__content { position: relative; max-width: 46ch; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.68); margin-top: 12px; }
.cta-banner__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner .btn--secondary { border-color: rgba(255,255,255,.35); color: #fff; }
.cta-banner .btn--secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------------------------------------------------------------
   12. Process steps (genuine sequence — Our Approach)
   --------------------------------------------------------------- */
.process-steps { display: flex; gap: 20px; position: relative; }
.process-steps::before {
  content: ""; position: absolute; top: 26px; left: 5%; right: 5%; height: 2px;
  background: var(--border-strong);
}
.process-step { flex: 1; position: relative; text-align: left; }
.process-step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--blue-100); color: var(--blue-600); font-family: var(--font-display);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-bottom: 20px; position: relative; z-index: 2;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: .93rem; }

@media (max-width: 860px) {
  .process-steps { flex-direction: column; gap: 30px; }
  .process-steps::before { top: 5%; bottom: 5%; left: 26px; right: auto; width: 2px; height: auto; }
}

/* ---------------------------------------------------------------
   13. Timeline (About — journey, placeholder milestones)
   --------------------------------------------------------------- */
.timeline { position: relative; max-width: 800px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border-strong); transform: translateX(-50%); }
.timeline__item { position: relative; width: 50%; padding: 0 44px 52px; }
.timeline__item:nth-child(odd) { left: 0; text-align: right; }
.timeline__item:nth-child(even) { left: 50%; text-align: left; }
.timeline__dot {
  position: absolute; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal-500); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--teal-500);
}
.timeline__item:nth-child(odd) .timeline__dot { right: -8px; }
.timeline__item:nth-child(even) .timeline__dot { left: -8px; }
.timeline__year { font-family: var(--font-display); font-weight: 800; color: var(--blue-600); margin-bottom: 6px; display: block; }
.timeline__item p { margin-left: auto; }
.timeline__item:nth-child(even) p { margin-left: 0; }

@media (max-width: 700px) {
  .timeline::before { left: 14px; }
  .timeline__item, .timeline__item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 40px 44px; }
  .timeline__item p { margin-left: 0; }
  .timeline__item:nth-child(odd) .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 6px; right: auto; }
}

/* ---------------------------------------------------------------
   14. Values / feature grids with left icon rail
   --------------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: left; }
.stat-card__label { font-size: .82rem; color: var(--text-faint); font-weight: 600; margin-bottom: 6px; }
.stat-card__value { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------
   15. Product grid + filters
   --------------------------------------------------------------- */
.filter-bar {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; margin-bottom: 36px;
}
.filter-bar__search { position: relative; flex: 1; min-width: 220px; }
.filter-bar__search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-faint);
}
.filter-bar input[type="search"] {
  width: 100%; padding: 12px 14px 12px 42px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--bg);
}
.filter-bar select {
  padding: 12px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg);
  min-width: 170px;
}
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--blue-500); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

.product-card { display: flex; flex-direction: column; }
.product-card.is-hidden { display: none; }
.product-card .media-placeholder { min-height: 160px; margin-bottom: 20px; }
.product-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { font-size: .93rem; margin-bottom: 20px; }
.product-card .btn { margin-top: auto; align-self: flex-start; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state[hidden] { display: none; }

/* ---------------------------------------------------------------
   16. Product detail page
   --------------------------------------------------------------- */
.product-detail__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.product-detail__media .media-placeholder { min-height: 380px; }
.product-detail__tags { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.product-detail__desc { margin-bottom: 28px; }
.product-detail__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; margin-bottom: 28px;
}
.fact dt { font-size: .8rem; color: var(--text-faint); font-weight: 600; margin-bottom: 4px; }
.fact dd { font-weight: 600; margin: 0; }
.product-detail__section { margin-bottom: 26px; }
.product-detail__section h3 { margin-bottom: 10px; }
.product-detail__section ul { display: flex; flex-direction: column; gap: 8px; }
.product-detail__section li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--text-muted); }
.product-detail__section li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500);
}
.download-note { font-size: .82rem; color: var(--text-faint); margin-top: 10px; }

@media (max-width: 900px) {
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-detail__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .product-detail__facts { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   17. Therapeutic area cards (icon, arrow affordance)
   --------------------------------------------------------------- */
.area-card { display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.area-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.area-card__arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.area-card__arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.area-card:hover .area-card__arrow { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.area-card:hover .area-card__arrow svg { transform: translate(2px, -2px); }
.area-card p { margin-top: auto; padding-top: 14px; }

/* ---------------------------------------------------------------
   18. Quality page specific
   --------------------------------------------------------------- */
.cert-slot {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md);
  padding: 28px; text-align: center; color: var(--text-faint); font-size: .9rem; font-weight: 600;
}

/* ---------------------------------------------------------------
   19. Careers page
   --------------------------------------------------------------- */
.dept-card { text-align: left; }
.dept-card__count { font-size: .82rem; color: var(--teal-700); font-weight: 700; margin-top: 4px; display: block; }

.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 28px;
}
.job-card.is-hidden { display: none; }
.job-card__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.job-card__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .87rem; color: var(--text-muted); }
.job-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta svg { width: 15px; height: 15px; color: var(--text-faint); }

.dept-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong);
  font-size: .87rem; font-weight: 600; color: var(--navy-700); transition: all .2s var(--ease);
}
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip:hover:not(.is-active) { border-color: var(--blue-500); color: var(--blue-600); }

/* ---------------------------------------------------------------
   20. Forms
   --------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: .88rem; font-weight: 700; }
.form-group .req { color: var(--red-600); }
.form-group input, .form-group textarea, .form-group select {
  padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue-500); }
.form-group input.is-invalid, .form-group textarea.is-invalid, .form-group select.is-invalid { border-color: var(--red-600); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: .82rem; color: var(--red-600); min-height: 1em; }
.form-note { font-size: .84rem; color: var(--text-faint); }

.form-success {
  display: flex; gap: 14px; align-items: flex-start; background: var(--green-50);
  border: 1px solid #BFE7D5; color: var(--green-600); border-radius: var(--radius-md);
  padding: 22px 24px; font-weight: 600;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success[hidden] { display: none; }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-group--full { grid-column: 1; } }

/* ---------------------------------------------------------------
   21. Contact page layout
   --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 32px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.contact-card h4 { margin-bottom: 4px; }
.map-slot {
  margin-top: 20px; border-radius: var(--radius-md); border: 1.5px dashed var(--border-strong);
  min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--text-faint); font-weight: 600; font-size: .9rem; background: var(--surface);
}
.map-slot svg { width: 30px; height: 30px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   22. Simple accordion (used on legal pages / FAQ-style lists)
   --------------------------------------------------------------- */
.legal-block { max-width: 74ch; margin-inline: auto; }
.legal-block h2 { margin-top: 44px; margin-bottom: 12px; font-size: 1.35rem; }
.legal-block h2:first-child { margin-top: 0; }
.legal-block p { max-width: none; margin-bottom: 14px; }
.legal-block ul { margin-bottom: 14px; }
.legal-block li { position: relative; padding-left: 20px; color: var(--text-muted); margin-bottom: 8px; }
.legal-block li::before { content: "–"; position: absolute; left: 0; color: var(--text-faint); }

/* ---------------------------------------------------------------
   23. Utility
   --------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.max-none { max-width: none; }
