/* bsanimalhealth.com — BS Animal Health Ltd
   Distinct look from made4animals/sbmoll: red accent from the cow logo,
   serif display headings, warm paper background. System fonts only. */

:root {
  --bsah-navy: #1f3d6b;
  --bsah-red: #c42033;
  --bsah-red-dark: #9c1826;
  --bsah-ink: #26292e;
  --bsah-muted: #6b7078;
  --bsah-line: #e6e3dc;
  --bsah-paper: #fbfaf7;
  --bsah-white: #ffffff;
  --bsah-maxw: 880px;
  --bsah-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--bsah-ink);
  background: var(--bsah-paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--bsah-red); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--bsah-red-dark); }

.bsah-container { width: 100%; max-width: var(--bsah-maxw); margin: 0 auto; padding: 0 20px; }

/* Skip link */
.bsah-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bsah-navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.bsah-skip:focus { left: 0; }

/* Header */
.bsah-header {
  background: var(--bsah-white);
  border-bottom: 3px solid var(--bsah-red);
}
.bsah-header .bsah-container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem 1.5rem; padding-top: 12px; padding-bottom: 12px;
}
.bsah-brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--bsah-navy);
}
.bsah-brand img { flex: none; }
.bsah-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: 1.15rem; line-height: 1.2; display: inline-block;
}
.bsah-brand em {
  display: block; font-style: normal; font-family: system-ui, sans-serif;
  font-weight: 500; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--bsah-muted);
}
.bsah-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; }
.bsah-nav a {
  text-decoration: none; color: var(--bsah-ink); font-weight: 600; font-size: .95rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.bsah-nav a:hover { color: var(--bsah-red); border-bottom-color: var(--bsah-red); }

/* Hero */
.bsah-hero {
  background: var(--bsah-white);
  text-align: center;
  padding: 3.2rem 0 3rem;
  border-bottom: 1px solid var(--bsah-line);
}
.bsah-hero__logo { width: 180px; height: auto; margin-bottom: 1.2rem; }
.bsah-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15;
  color: var(--bsah-navy); margin: 0 0 .6rem; letter-spacing: -.01em;
}
.bsah-hero__lead {
  font-size: 1.15rem; color: var(--bsah-muted); margin: 0 auto 1.6rem; max-width: 46ch;
}

/* Buttons */
.bsah-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--bsah-red); color: #fff; text-decoration: none;
  font-weight: 600; padding: .65rem 1.3rem; border-radius: var(--bsah-radius);
  border: 2px solid var(--bsah-red);
}
.bsah-btn:hover { background: var(--bsah-red-dark); border-color: var(--bsah-red-dark); color: #fff; }

/* Sections */
.bsah-section { padding: 2.6rem 0; }
.bsah-section--alt { background: var(--bsah-white); border-top: 1px solid var(--bsah-line); border-bottom: 1px solid var(--bsah-line); }
.bsah-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem; color: var(--bsah-navy); margin: 0 0 1rem;
}
.bsah-section h2::after {
  content: ""; display: block; width: 54px; height: 4px;
  background: var(--bsah-red); border-radius: 3px; margin-top: .5rem;
}
.bsah-section p { margin: 0 0 1rem; }

/* Company facts */
.bsah-facts { margin: 1.2rem 0 0; }
.bsah-facts div {
  display: flex; flex-wrap: wrap; gap: .3rem 1.5rem;
  padding: .8rem 0; border-top: 1px solid var(--bsah-line);
}
.bsah-facts div:first-child { border-top: none; }
.bsah-facts dt { flex: 0 0 200px; font-weight: 700; color: var(--bsah-navy); }
.bsah-facts dd { flex: 1 1 300px; margin: 0; }

.bsah-actions { margin-top: 1.2rem; }

/* Images */
.bsah-about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.bsah-about-photo { border-radius: 12px; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.bsah-inline-img { display: block; border-radius: 12px; margin-top: .8rem; max-width: 340px; background: var(--bsah-white); border: 1px solid var(--bsah-line); }
.bsah-inline-img--logo { max-width: 280px; height: auto; padding: 1rem 1.2rem; }
.bsah-band { margin-top: 1.8rem; }
.bsah-band img { display: block; width: 100%; height: 280px; object-fit: cover; }

@media (max-width: 640px) {
  .bsah-about-grid { grid-template-columns: 1fr; }
  .bsah-band img { height: 190px; }
}

/* Footer */
.bsah-footer {
  background: var(--bsah-navy); color: #cfd8e8; margin-top: 1.5rem;
  padding: 2rem 0 1.2rem; font-size: .92rem;
}
.bsah-footer a { color: #fff; }
.bsah-footer .bsah-container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.bsah-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.bsah-footer nav a { text-decoration: none; font-weight: 600; }
.bsah-footer nav a:hover { text-decoration: underline; }
.bsah-footer p { margin: 0 0 .6rem; }
.bsah-footer__meta { border-top: 1px solid rgba(255,255,255,.18); margin-top: 1.2rem; padding-top: 1rem; }
.bsah-footer__meta p { color: #9fb0cc; font-size: .85rem; }

/* Subpages (page.php: .page-content > .container-narrow) */
.page-content { padding: 2.4rem 0 1rem; }
.container-narrow { width: 100%; max-width: var(--bsah-maxw); margin: 0 auto; padding: 0 20px; }
.page-content h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--bsah-navy); margin-bottom: 1.2rem;
}
.page-content h2 { font-size: 1.25rem; color: var(--bsah-navy); margin-top: 2rem; }
.page-content address { font-style: normal; margin: 0 0 1rem; }
.page-content ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* Responsive */
@media (max-width: 640px) {
  .bsah-header .bsah-container { justify-content: center; text-align: center; }
  .bsah-facts dt { flex-basis: 100%; }
  .bsah-hero { padding-top: 2.4rem; }
  .bsah-hero__logo { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
